Remove stddef.h configure test.
[glibc.git] / ChangeLog
blobbcf53f9b7fcbd756ded8b4443e9ca093091bf7ba
1 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
3         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
4         * configure: Regenerated.
6 2015-10-15  Florian Weimer  <fweimer@redhat.com>
8         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
9         (struct char_buffer): New type.
10         (char_buffer_start, char_buffer_size, char_buffer_error)
11         (char_buffer_rewind, char_buffer_add): New functions.
12         (ADDW): Remove macro, replaced by the char_buffer_add function.
13         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
14         of extend_alloca.  Make control flow more explicit.
16 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
18         [BZ #19137]
19         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
20         Add -fomit-frame-pointer.
21         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
23 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
25         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
26         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
27         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
28         only if !__GNUC_PREREQ (5,0).
29         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
30         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
31         (INTERNAL_SYSCALL_NCS): Likewise.
32         (LOADREGS_0): New macro for GCC 5.
33         (ASMARGS_0): Likewise.
34         (LOADREGS_1): Likewise.
35         (ASMARGS_1): Likewise.
36         (LOADREGS_2): Likewise.
37         (ASMARGS_2): Likewise.
38         (LOADREGS_3): Likewise.
39         (ASMARGS_3): Likewise.
40         (LOADREGS_4): Likewise.
41         (ASMARGS_4): Likewise.
42         (LOADREGS_5): Likewise.
43         (ASMARGS_5): Likewise.
44         (LOADREGS_6): Likewise.
45         (ASMARGS_6): Likewise.
47 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
49         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
50         -fomit-frame-pointer.
51         (CFLAGS-mmap64.c): Likewise.
52         (CFLAGS-semtimedop.c): Likewise.
53         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
54         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
55         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
56         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
58 2015-10-15  Florian Weimer  <fweimer@redhat.com>
60         [BZ #18928]
61         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
62         _dl_pointer_guard member.
63         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
64         initializer.
65         (security_init): Always set up pointer guard.
66         (process_envvars): Do not process LD_POINTER_GUARD.
68 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
70         [BZ #19134]
71         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
72         (.LC2): Likewise.
73         (.LC3): Likewise.
74         (__lround): Do not add 0.5 to integer or out-of-range arguments.
76 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
78         [BZ #19129]
79         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
80         r0 and r1.
82 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
84         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
86 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
88         * include/stap-probe.h: Fix macro definition formatting.
90 2015-10-14  Florian Weimer  <fweimer@redhat.com>
92         [BZ #19074]
93         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
94         load and store num_ifs.
96 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
98         [BZ #18822]
99         * sysdeps/unix/sysv/linux/sched_getaffinity.c
100         (__sched_getaffinity_new): Add libc_hidden_proto and
101         libc_hidden_def.
103 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
105         [BZ #19007]
106         * scripts/localplt.awk: Also allow GOT references.
107         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
108         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
109         with "+ REL R_386_GLOB_DAT".
110         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
111         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
113 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
115         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
116         INLINE_SYSCALL_ERROR_RETURN_VALUE.
117         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
118         Likewise.
119         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
120         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
121         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
122         INTERNAL_SYSCALLINTERNAL_SYSCALL and
123         INLINE_SYSCALL_ERROR_RETURN_VALUE.
124         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
125         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
126         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
127         Likewise.
128         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
130 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
132         [BZ #19125]
133         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
134         <math_private.h> and <stdint.h>.
135         (__llround): Avoid conversions to and from long long int, and
136         subtractions, where those might raise spurious exceptions.
137         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
138         <math_private.h> and <stdint.h>.
139         (__llroundf): Avoid conversions to and from long long int, and
140         subtractions, where those might raise spurious exceptions.
142 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
144         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
145         INLINE_SYSCALL_ERROR_RETURN_VALUE.
146         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
147         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
148         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
149         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
150         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
151         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
152         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
153         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
154         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
155         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
156         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
157         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
158         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
159         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
160         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
161         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
162         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
163         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
164         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
165         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
166         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
167         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
168         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
169         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
170         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
171         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
172         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
173         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
174         (__xstat64_conv): Likewise.
175         (__xstat32_conv): Likewise.
177 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
179         * sysdeps/unix/sysv/linux/sysdep.h: New file.
180         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
181         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
182         <sysdeps/unix/sysv/linux/sysdep.h>.
183         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
184         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
185         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
186         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
187         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
188         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
189         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
190         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
191         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
194         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
195         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
196         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
197         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
198         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
199         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
200         (sysdep-dl-routines): Add sysdep.
201         [$(subdir) == nptl] (libpthread-routines): Likewise.
202         [$(subdir) == rt] (librt-routines): Likewise.
203         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
204         PIC when branching to SYSCALL_ERROR_LABEL.
205         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
206         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
207         <sysdeps/unix/sysv/linux/sysdep.h>.
208         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
209         (SYSCALL_ERROR_ERRNO): Removed.
210         (SYSCALL_ERROR_HANDLER): Changed to empty.
211         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
212         (__syscall_error): New prototype.
213         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
214         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
216 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
218         [BZ #19124]
219         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
220         (_dl_runtime_resolve_avx512): Make it a hidden alias of
221         _dl_runtime_resolve_avx.
222         (_dl_runtime_profile_avx512): Make it a hidden alias of
223         _dl_runtime_profile_avx.
225 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
227         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
228         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
229         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
230         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
232         [BZ #16422]
233         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
234         New configure test.
235         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
236         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
237         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
238         <math_private.h> and <stdint.h>.
239         (__llrint): Avoid conversions to long long int where those might
240         raise spurious exceptions.
241         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
242         <math_private.h> and <stdint.h>.
243         (__llrintf): Avoid conversions to long long int where those might
244         raise spurious exceptions.
246 2015-10-12  Andreas Schwab  <schwab@suse.de>
248         [BZ #18969]
249         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
250         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
251         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
252         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
253         $(gen-locales).
254         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
255         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
256         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
257         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
258         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
259         $(gen-locales).
260         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
261         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
262         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
263         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
264         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
265         ($(objpfx)tst-ftell-active-handler.out)
266         ($(objpfx)tst-ftell-append.out)
267         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
268         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
269         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
270         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
271         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
272         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
273         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
274         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
275         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
276         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
277         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
278         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
279         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
280         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
281         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
282         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
283         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
284         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
285         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
286         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
287         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
288         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
289         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
290         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
291         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
292         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
293         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
294         $(gen-locales).
295         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
296         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
297         $(gen-locales).
298         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
299         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
300         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
301         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
302         $(gen-locales).
303         * libio/tst_wprintf2.c (main): Use explicit locale.
304         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
306 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
308         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
309         __msg_sig_post.
310         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
312 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
314         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
315         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
317         * sysdeps/arm/libm-test-ulps: Regenerated.
319         [BZ #15470]
320         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
322         [BZ #16399]
323         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
324         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
325         and <fix-fp-int-convert-overflow.h>.
326         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
327         FIX_DBL_LLONG_CONVERT_OVERFLOW.
328         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
329         and <fix-fp-int-convert-overflow.h>.
330         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
331         FIX_DBL_LLONG_CONVERT_OVERFLOW.
332         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
333         <fix-fp-int-convert-overflow.h>.
334         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
335         FIX_DBL_LLONG_CONVERT_OVERFLOW.
336         * sysdeps/ieee754/dbl-64/s_lround.c: Include
337         <fix-fp-int-convert-overflow.h>.
338         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
339         FIX_DBL_LLONG_CONVERT_OVERFLOW.
340         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
341         and <fix-fp-int-convert-overflow.h>.
342         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
343         FIX_DBL_LLONG_CONVERT_OVERFLOW.
344         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
345         <limits.h> and <fix-fp-int-convert-overflow.h>.
346         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
347         FIX_DBL_LLONG_CONVERT_OVERFLOW.
348         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
349         and <fix-fp-int-convert-overflow.h>.
350         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
351         FIX_DBL_LLONG_CONVERT_OVERFLOW.
352         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
353         and <fix-fp-int-convert-overflow.h>.
354         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
355         FIX_DBL_LLONG_CONVERT_OVERFLOW.
356         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
358 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
360         [BZ #18589]
361         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
362         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
363         $(gen-locales).
365 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
366             Phil Blundell <pb@pbcl.net>
368         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
369         * nptl/tst-cancel26.c: New file.
370         * nptl/tst-cancel27.c: Likewise.
372 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
374         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
375         __ILP32__ isn't defined.
376         (lrint): Likewise.
377         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
378         (lrintf): Likewise.
379         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
380         (lrintl): Likewise.
381         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
382         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
383         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
385 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
387         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
388         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
390         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
391         file.
392         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
393         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
395 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
397         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
398         configure test.
399         * sysdeps/i386/configure: Regenerated.
400         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
401         configure test.
402         * sysdeps/x86_64/configure: Regenerated.
403         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
404         Make code unconditional.
406         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
407         test.
408         * sysdeps/i386/configure: Regenerated.
409         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
410         test.
411         * sysdeps/x86_64/configure: Regenerated.
412         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
413         Make code unconditional.
414         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
415         Likewise.
416         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
417         Likewise.
418         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
419         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
420         code unconditional.
421         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
422         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
423         code unconditional.
424         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
425         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
426         code unconditional.
427         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
428         code unconditional.
429         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
430         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
431         code unconditional.
432         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
433         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
434         code unconditional.
435         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
436         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
437         code unconditional.
438         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
439         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
440         code unconditional.
441         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
442         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
444         [BZ #19095]
445         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
446         mantissa to long int before shifting left.
448 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
450         [BZ #19094]
451         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
452         <limits.h>.
453         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
454         when result overflows but exception would not result from cast.
455         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
456         <limits.h>.
457         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
458         when result overflows but exception would not result from cast.
459         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
460         <limits.h>.
461         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
462         when result overflows but exception would not result from cast.
463         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
464         <limits.h>.
465         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
466         when result overflows but exception would not result from cast.
467         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
468         <limits.h>.
469         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
470         when result overflows but exception would not result from cast.
471         * math/libm-test.inc (lrint_test_data): Add more tests.
472         (llrint_test_data): Likewise.
474 2015-10-08  Roland McGrath  <roland@hack.frob.com>
476         [BZ #18872]
477         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
478         Move out from under [$(run-built-tests) = yes] conditional.
479         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
480         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
482 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
484         [BZ #18589]
485         * string/Makefile (tests): Add bug-strcoll2.
486         (LOCALES): Add cs_CZ.UTF-8.
487         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
489         [BZ #18589]
490         * string/bug-strcoll2.c: New file.
491         * locale/categories.def: Revert commit
492         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
493         * locale/langinfo.h: Likewise.
494         * locale/localeinfo.h: Likewise.
495         * locale/C-collate.c: Likewise.
496         * locale/programs/ld-collate.c (collate_output): Likewise.
497         * string/strcoll_l.c (STRDIFF): Likewise.
498         (STRCOLL): Likewise.
499         * wcsmbs/wcscoll_l.c: Likewise.
501 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
503         * math/libm-test.inc (lround_test_data): Do not expect the absence
504         of "inexact" for some tests with non-integer arguments.
505         (llround_test_data): Likewise.
507         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
508         test.
509         (libc_cv_cc_sse2avx): Likewise.
510         * sysdeps/i386/configure: Regenerated.
511         * sysdeps/i386/i686/multiarch/Makefile
512         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
513         [$(subdir) = math].
514         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
515         code unconditional.
516         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
517         Likewise.
518         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
519         Likewise.
520         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
521         Likewise.
522         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
523         test.
524         (libc_cv_cc_sse2avx): Likewise.
525         * sysdeps/x86_64/configure: Regenerated.
526         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
527         unconditional.
528         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
529         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
530         unconditional.
531         (_dl_runtime_profile)
532         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
533         conditional code.
534         * sysdeps/x86_64/fpu/multiarch/Makefile
535         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
536         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
537         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
538         * sysdeps/x86_64/fpu/multiarch/e_exp.c
539         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
540         * sysdeps/x86_64/fpu/multiarch/e_log.c
541         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
542         * sysdeps/x86_64/fpu/multiarch/s_atan.c
543         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
544         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
545         Likewise.
546         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
547         Likewise.
548         * sysdeps/x86_64/fpu/multiarch/s_sin.c
549         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
550         * sysdeps/x86_64/fpu/multiarch/s_tan.c
551         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
552         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
553         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
554         (HAVE_SSE2AVX_SUPPORT): Likewise.
556 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
558         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
559         instead of #pragma optimize.
561 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
563         [BZ #17195]
564         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
565         as is similarly done in systrim and _int_free already.
567 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
569         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
571 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
573         [BZ #19088]
574         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
575         <limits.h>.
576         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
577         overflows but exception would not result from cast.
578         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
579         and <limits.h>.
580         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
581         overflows but exception would not result from cast.
582         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
583         <limits.h>.
584         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
585         overflows but exception would not result from cast.
586         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
587         <limits.h>.
588         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
589         overflows but exception would not result from cast.
590         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
591         <limits.h>.
592         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
593         overflows but exception would not result from cast.
594         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
595         <limits.h>.
596         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
597         overflows but exception would not result from cast.
598         * math/libm-test.inc (lround_test_data): Add more tests.
599         (llround_test_data): Likewise.
601 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
603         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
604         (CFLAGS-ialloc.c): Ditto.
605         (CFLAGS-scheck.c): Ditto.
607 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
609         [BZ #19086]
610         * manual/filesys.texi (Storage Allocation): Fix argument order for
611         posix_fallocate64.
613 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
615         [BZ #19085]
616         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
617         exponent below 48 inside case for non-overflowing exponent.
618         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
620 2015-10-07  Florian Weimer  <fweimer@redhat.com>
622         * iconvdata/cp737.h (from_idx): Add const.
623         * iconvdata/cp775.h (from_idx): Likewise.
625 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
627         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
628         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
629         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
631         [BZ #19079]
632         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
633         file, conditioned on [!_LP64].
634         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
635         [!_LP64] (__lround): Do not define as function or alias.
636         [!_LP64] (lround): Likewise.
637         [!_LP64] (__lroundl): Likewise.
638         [!_LP64] (lroundl): Likewise.
639         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
640         macro.
641         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
642         Likewise.
644 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
646         * math/libm-test.inc (lrint_test_data): Add more tests.
647         (llrint_test_data): Likewise.
648         (lround_test_data): Likewise.
649         (llround_test_data): Likewise.
651         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
652         (llrint_test_data): Add tests used for lrint.
654         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
655         test.
656         * sysdeps/i386/configure: Regenerated.
657         * sysdeps/i386/i686/multiarch/Makefile
658         [$(config-cflags-sse4) = yes]: Make code unconditional.
659         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
660         Likewise.
661         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
662         Likewise.
663         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
664         test.
665         * sysdeps/x86_64/configure: Regenerated.
666         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
667         Make code unconditional.
668         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
669         Likewise.
670         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
671         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
673         * scripts/rpm2dynsym.sh: Remove file.
675 2015-10-06  Florian Weimer  <fweimer@redhat.com>
677         * configure.ac (libc_cv_cxx_thread_local): Define.
678         * configure: Regenerate.
679         * config.make.in (have-cxx-thread_local): Define.
680         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
681         (LDLIBS-tst-thread_local1): Define.
682         (tests): Add tst-thread_local1.
683         [have-cxx-thread_local != yes] (tests-unsupported): Add
684         tst-thread_local1.
685         * nptl/tst-thread_local1.cc: New file.
687 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
689         [BZ #19078]
690         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
691         (u_thres): Likewise.
692         (__expl): Determine whether to call __kernel_standard_l based on
693         value of result, not argument.
695         * math/libm-test.inc (scalb_test_data): Add more expectations for
696         the "inexact" exception.
698         [BZ #19077]
699         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
700         0.0L for argument 1.0L.
702         [BZ #19076]
703         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
704         constant 0.0L when computing infinite result.
706 2015-10-06  Florian Weimer  <fweimer@redhat.com>
708         [BZ #10432]
709         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
710         malloc_usable_size.
712 2015-10-06  Florian Weimer  <fweimer@redhat.com>
714         [BZ #19018]
715         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
716         Mangle function pointer before storing it.
717         (__call_tls_dtors): Demangle function pointer before calling it.
719 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
721         [BZ #19012]
722         * iconv/gconv_db.c (gen_steps): Check for additional errors.
723         Clean up on failure.
725 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
727         [BZ #19071]
728         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
729         long int variable to store possibly incremented high part of
730         mantissa.
731         * math/libm-test.inc (lround_test_data): Add tests used for
732         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
733         for tests requiring 64-bit long.  Do not condition tests on
734         [TEST_FLOAT] unnecessarily.
735         (llround_test_data): Add tests used for lround.  Add another
736         expectation for the "inexact" exception.  Do not condition tests
737         on [TEST_FLOAT] unnecessarily.
739         [BZ #887]
740         [BZ #19049]
741         [BZ #19050]
742         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
743         * sysdeps/ieee754/dbl-64/e_log10.c: Include
744         <fix-int-fp-convert-zero.h>.
745         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
746         * sysdeps/ieee754/dbl-64/e_log2.c: Include
747         <fix-int-fp-convert-zero.h>.
748         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
749         * sysdeps/ieee754/dbl-64/s_erf.c: Include
750         <fix-int-fp-convert-zero.h>.
751         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
752         * sysdeps/ieee754/dbl-64/s_logb.c: Include
753         <fix-int-fp-convert-zero.h>.
754         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
755         * sysdeps/ieee754/flt-32/e_log10f.c: Include
756         <fix-int-fp-convert-zero.h>.
757         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
758         * sysdeps/ieee754/flt-32/e_log2f.c: Include
759         <fix-int-fp-convert-zero.h>.
760         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
761         * sysdeps/ieee754/flt-32/s_erff.c: Include
762         <fix-int-fp-convert-zero.h>.
763         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
764         * sysdeps/ieee754/flt-32/s_logbf.c: Include
765         <fix-int-fp-convert-zero.h>.
766         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
767         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
768         <fix-int-fp-convert-zero.h>.
769         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
770         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
771         <fix-int-fp-convert-zero.h>.
772         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
773         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
774         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
775         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
776         file.
777         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
779 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
781         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
783 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
785         [BZ #19059]
786         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
787         overflowing computation.
788         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
789         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
790         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
791         Likewise.
792         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
793         Likewise.
794         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
795         Likewise.
796         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
797         Likewise.
798         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
799         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
800         Likewise.
801         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
802         Likewise.
803         * math/libm-test.inc (nexttoward_test_data): Add more tests.
805         * nss/rewrite_field.c (__nss_rewrite_field): Use
806         internal_function.
807         * nss/valid_field.c (__nss_valid_field): Likewise.
808         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
810 2015-10-02  Florian Weimer  <fweimer@redhat.com>
812         [BZ #18724]
813         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
814         (__nss_invalid_field_characters, __nss_valid_field)
815         (__nss_valid_list_field, __nss_rewrite_field): Declare.
816         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
817         tst-field.c: New file.
818         * nss/Makefile (routines): Add valid_field, rewrite_field.
819         (tests-static): Define unconditionally.
820         (tests): Include tests-static.
821         [build-static-nss] (tests-static): Use append.
822         [build-static-nss] (tests): Remove modification.
823         * nss/getent.c (print_group): Call putgrent.  Report error.
824         (print_gshadow): Call putsgent.  Report error.
825         (print_passwd): Call putpwent.  Report error.
826         (print_shadow): Call putspent.  Report error.
827         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
828         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
829         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
830         name, password, directory, shell fields for valid syntax.  Rewrite
831         GECOS field to match syntax.
832         * pwd/Makefile (tests): Add tst-putpwent.
833         * pwd/tst-putpwent.c: New file.
834         * grp/putgrent.c (putgrent): Convert to ISO function definition.
835         Check grName, grpasswd, gr_mem fields for valid syntax.
836         Change loop variable i to size_t.
837         * grp/Makefile (tests): Add tst-putgrent.
838         * grp/tst-putgrent.c: New file.
839         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
840         valid syntax.
841         * shadow/Makefile (tests): Add tst-putspent.
842         * shadow/tst-putspent.c: New file.
843         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
844         sg_mem fields for valid syntax.
845         * gshadow/Makefile (tests): Add tst-putsgent.
846         * gshadow/tst-putsgent.c: New file.
848 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
850         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
851         assembly instructions.
853 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
855         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
856         prefix from operands.
858 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
860         [BZ #16347]
861         [BZ #19046]
862         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
863         <libc-internal.h>.
864         (MAXLGM): Do not use diagnostic control macros.
865         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
866         threshold for ldbl-128ibm.
867         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
868         instead of multiplying by log then subtracting.
869         * math/auto-libm-test-in: Add more tests of lgamma.
870         * math/auto-libm-test-out: Regenerated.
872         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
873         (TYPE_HEX_DIG): Likewise.
874         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
875         precisions when printing floating-point numbers.
876         (check_float_internal): Likewise.
878 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
880         [BZ #16620]
881         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
882         of log (10) rounded downward to 48 bits.
883         (log10_low): Use corresponding low part of log (10).
885         [BZ #19032]
886         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
887         compute result as (x - x) / (x - x) not as 0 / 0.
888         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
889         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
891         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
892         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
893         and expm1.
894         * math/auto-libm-test-out: Regenerated.
895         * math/libm-test.inc (acos_test_data): Add more tests.
896         (asin_test_data): Likewise.
897         (asinh_test_data): Likewise.
898         (atan_test_data): Likewise.
899         (atanh_test_data): Likewise.
900         (atan2_test_data): Likewise.
901         (cbrt_test_data): Likewise.
902         (ceil_test_data): Likewise.
903         (copysign_test_data): Likewise.
904         (cos_test_data): Likewise.
905         (cosh_test_data): Likewise.
906         (erf_test_data): Likewise.
907         (erfc_test_data): Likewise.
908         (exp_test_data): Likewise.
909         (exp10_test_data): Likewise.
910         (exp2_test_data): Likewise.
911         (expm1_test_data): Likewise.
912         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
914 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
916         [BZ #19006]
917         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
918         to ...
919         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
920         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
921         to ...
922         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
923         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
924         to ...
925         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
926         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
927         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
928         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
929         to ...
930         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
931         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
932         Moved to ...
933         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
934         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
935         Moved to ...
936         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
937         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
938         to ...
939         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
940         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
941         Moved to ...
942         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
943         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
944         to ...
945         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
946         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
947         Removed.
948         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
949         Likewise.
950         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
951         Likewise.
952         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
953         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
954         Likewise.
955         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
956         Likewise.
957         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
958         Likewise.
959         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
960         Likewise.
961         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
962         Likewise.
963         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
964         Likewise.
965         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
966         Likewise.
967         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
968         Likewise.
969         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
970         Likewise.
971         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
972         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
973         Likewise.
974         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
975         Likewise.
976         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
977         Likewise.
978         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
979         Likewise.
980         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
981         Likewise.
982         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
983         Replace ../i486/pthread_cond_timedwait.S with
984         ../pthread_cond_timedwait.S.
986 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
988         * math/libm-test.inc (acos_test_data): Refine expectations for
989         errno and "inexact" exceptions.
990         (acosh_test_data): Likewise.
991         (asin_test_data): Likewise.
992         (asinh_test_data): Likewise.
993         (atan_test_data): Likewise.
994         (atanh_test_data): Likewise.
995         (atan2_test_data): Likewise.
996         (cbrt_test_data): Likewise.
997         (ceil_test_data): Likewise.
998         (copysign_test_data): Likewise.
999         (cosh_test_data): Likewise.
1000         (erf_test_data): Likewise.
1001         (erfc_test_data): Likewise.
1002         (exp_test_data): Likewise.
1003         (exp10_test_data): Likewise.
1004         (exp2_test_data): Likewise.
1005         (expm1_test_data): Likewise.
1006         (fabs_test_data): Likewise.
1007         (floor_test_data): Likewise.
1008         (fma_test_data): Likewise.
1009         (fmax_test_data): Likewise.
1010         (fmin_test_data): Likewise.
1011         (fmod_test_data): Likewise.
1012         (fpclassify_test_data): Likewise.
1013         (frexp_test_data): Likewise.
1014         (hypot_test_data): Likewise.
1015         (ilogb_test_data): Likewise.
1016         (isgreater_test_data): Likewise.
1017         (isgreaterequal_test_data): Likewise.
1018         (isinf_test_data): Likewise.
1019         (isless_test_data): Likewise.
1020         (islessequal_test_data): Likewise.
1021         (islessgreater_test_data): Likewise.
1022         (isnan_test_data): Likewise.
1023         (isnormal_test_data): Likewise.
1024         (issignaling_test_data): Likewise.
1025         (isunordered_test_data): Likewise.
1026         (j0_test_data): Likewise.
1027         (j1_test_data): Likewise.
1028         (jn_test_data): Likewise.
1029         (lgamma_test_data): Likewise.
1030         (lrint_test_data): Likewise.
1031         (llrint_test_data): Likewise.
1032         (log_test_data): Likewise.
1033         (log10_test_data): Likewise.
1034         (log1p_test_data): Likewise.
1035         (log2_test_data): Likewise.
1036         (logb_test_data): Likewise.
1037         (lround_test_data): Likewise.
1038         (llround_test_data): Likewise.
1039         (modf_test_data): Likewise.
1040         (nearbyint_test_data): Likewise.
1041         (nextafter_test_data): Likewise.
1042         (nexttoward_test_data): Likewise.
1043         (pow_test_data): Likewise.
1044         (remainder_test_data): Likewise.
1045         (remquo_test_data): Likewise.
1046         (rint_test_data): Likewise.
1047         (round_test_data): Likewise.
1048         (signbit_test_data): Likewise.
1049         (sinh_test_data): Likewise.
1050         (sqrt_test_data): Likewise.
1051         (tanh_test_data): Likewise.
1052         (tgamma_test_data): Likewise.
1053         (trunc_test_data): Likewise.
1054         (y0_test_data): Likewise.
1055         (y1_test_data): Likewise.
1056         (yn_test_data): Likewise.
1057         (significand_test_data): Likewise.
1059 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
1061         * manual/filesys.texi (Storage Allocation): Document that
1062         posix_fallocate emulation fails when fd is open with O_WRONLY.
1064 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
1066         [BZ #19016]
1067         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
1068         allow more cases with X^2 + Y^2 >= 0.5.
1069         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
1070         normal element in sum instead of special-casing based on values of
1071         arguments.
1072         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
1073         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
1074         -1 as normal element in sum instead of special-casing based on
1075         values of arguments.
1076         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
1077         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
1078         (__x2y2m1): Update comment.
1079         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
1080         as normal element in sum instead of special-casing based on values
1081         of arguments.
1082         * math/s_clog.c (__clog): Handle more cases using log1p without
1083         hypot.
1084         * math/s_clog10.c (__clog10): Likewise.
1085         * math/s_clog10f.c (__clog10f): Likewise.
1086         * math/s_clog10l.c (__clog10l): Likewise.
1087         * math/s_clogf.c (__clogf): Likewise.
1088         * math/s_clogl.c (__clogl): Likewise.
1089         * math/auto-libm-test-in: Add more tests of clog and clog10.
1090         * math/auto-libm-test-out: Regenerated.
1091         * sysdeps/i386/fpu/libm-test-ulps: Update.
1092         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1094 2015-09-28  Martin Sebor  <msebor@redhat.com>
1096         [BZ #18969]
1097         * string/Makefile (LOCALES): Define.
1098         (gen-locales.mk): Include.
1099         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
1100         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
1101         * string/tst-strxfrm2.c (do_test): Print the name of the locale
1102         on setlocale failure.
1104 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
1106         [BZ #18985]
1107         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
1108         (__strftime_internal): Likewise.
1109         * time/tst-strftime.c (do_bz18985): New test.
1110         (do_test): Call it.
1112 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
1114         [BZ #18956]
1115         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
1116         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
1117         extracting high part.
1118         * math/auto-libm-test-in: Add another test of pow.
1119         * math/auto-libm-test-out: Regenerated.
1120         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1122 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
1124         [BZ #18825]
1125         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
1126         New macro.
1127         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
1128         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
1129         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
1130         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
1131         DBL_NARROW_EVAL, reloading the PIC register as needed.
1132         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
1133         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
1134         FLT_NARROW_EVAL.  Use separate return path for case when first
1135         argument is NaN.
1136         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
1137         DEFINE_LDBL_MIN.
1138         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
1139         PIC register.
1140         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
1141         math_check_force_underflow_nonneg.
1142         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
1143         underflow for subnormal result.
1144         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
1145         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
1146         math_check_force_underflow_nonneg.
1147         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
1148         math_check_force_underflow.
1149         * sysdeps/x86_64/fpu/x86_64-math-asm.h
1150         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
1151         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
1152         DEFINE_LDBL_MIN.
1153         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
1154         * math/auto-libm-test-in: Add more tests of pow.
1155         * math/auto-libm-test-out: Regenerated.
1157 2015-09-25  Florian Weimer  <fweimer@redhat.com>
1159         * nss/bug17079.c (init_test_items): Add diagnostic for
1160         inconsistent entries.
1161         (test_buffer_size): Skip inconsistent entries.
1163 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
1165         [BZ #13304]
1166         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
1167         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
1168         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
1170         [BZ #13304]
1171         * sysdeps/microblaze/s_fma.c: New file.
1172         * sysdeps/microblaze/s_fmaf.c: Likewise.
1173         * sysdeps/microblaze/sfp-machine.h: Likewise.
1175 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
1177         [BZ #17250]
1178         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
1179         member.
1181 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
1183         [BZ #18803]
1184         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
1185         (MO): New macro.
1186         (__ieee754_hypot) [PIC]: Load PIC register.
1187         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
1188         DBL_NARROW_EVAL.
1189         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
1190         math_check_force_underflow_nonneg in case where result might be
1191         tiny.
1192         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
1193         Likewise.
1194         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
1195         Likewise.
1196         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
1197         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
1198         * math/auto-libm-test-in: Add more tests of hypot.
1199         * math/auto-libm-test-out: Regenerated.
1201 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
1203         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
1205 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
1207         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
1208         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
1209         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
1210         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
1211         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
1212         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
1213         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
1215         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
1216         LOAD_PIC_REG.
1218         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
1219         (FLT_CHECK_FORCE_UFLOW): Likewise.
1220         (DBL_CHECK_FORCE_UFLOW): Likewise.
1221         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
1222         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
1223         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
1224         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
1225         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
1226         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
1227         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
1228         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
1229         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
1230         (dbl_min): Replace with use of DEFINE_DBL_MIN.
1231         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
1232         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
1233         (flt_min): Replace with use of DEFINE_FLT_MIN.
1234         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
1235         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
1236         (dbl_min): Replace with use of DEFINE_DBL_MIN.
1237         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
1238         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
1239         (flt_min): Replace with use of DEFINE_FLT_MIN.
1240         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
1241         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
1242         (dbl_min): Replace with use of DEFINE_DBL_MIN.
1243         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
1244         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
1245         (flt_min): Replace with use of DEFINE_FLT_MIN.
1246         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
1247         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
1248         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
1249         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
1250         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
1251         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
1252         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
1253         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
1254         (dbl_min): Replace with use of DEFINE_DBL_MIN.
1255         (__atan): Use DBL_CHECK_FORCE_UFLOW.
1256         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
1257         (flt_min): Replace with use of DEFINE_FLT_MIN.
1258         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
1259         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
1260         (dbl_min): Replace with use of DEFINE_DBL_MIN.
1261         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
1262         main computation.
1263         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
1264         (flt_min): Replace with use of DEFINE_FLT_MIN.
1265         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
1266         main computation.
1267         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
1268         (dbl_min): Replace with use of DEFINE_DBL_MIN.
1269         (MO): New macro.
1270         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
1271         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
1272         (flt_min): Replace with use of DEFINE_FLT_MIN.
1273         (MO): New macro.
1274         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
1275         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
1276         (__log1pl): Use MO.
1278         [BZ #19003]
1279         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
1280         $(config-cflags-nofma).
1282 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1284         * sysdeps/aarch64/libm-test-ulps: Regenerated.
1286 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
1288         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
1289         (TWO127): Likewise.
1291         * sysdeps/generic/math_private.h (fabs_tg): New macro.
1292         (min_of_type): Likewise.
1293         (math_check_force_underflow): Likewise.
1294         (math_check_force_underflow_nonneg): Likewise.
1295         (math_check_force_underflow_complex): Likewise.
1296         * math/e_exp2l.c (__ieee754_exp2l): Use
1297         math_check_force_underflow_nonneg.
1298         * math/k_casinh.c (__kernel_casinh): Likewise.
1299         * math/k_casinhf.c (__kernel_casinhf): Likewise.
1300         * math/k_casinhl.c (__kernel_casinhl): Likewise.
1301         * math/s_catan.c (__catan): Use
1302         math_check_force_underflow_complex.
1303         * math/s_catanf.c (__catanf): Likewise.
1304         * math/s_catanh.c (__catanh): Likewise.
1305         * math/s_catanhf.c (__catanhf): Likewise.
1306         * math/s_catanhl.c (__catanhl): Likewise.
1307         * math/s_catanl.c (__catanl): Likewise.
1308         * math/s_ccosh.c (__ccosh): Likewise.
1309         * math/s_ccoshf.c (__ccoshf): Likewise.
1310         * math/s_ccoshl.c (__ccoshl): Likewise.
1311         * math/s_cexp.c (__cexp): Likewise.
1312         * math/s_cexpf.c (__cexpf): Likewise.
1313         * math/s_cexpl.c (__cexpl): Likewise.
1314         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
1315         * math/s_clog10.c (__clog10): Likewise.
1316         * math/s_clog10f.c (__clog10f): Likewise.
1317         * math/s_clog10l.c (__clog10l): Likewise.
1318         * math/s_clogf.c (__clogf): Likewise.
1319         * math/s_clogl.c (__clogl): Likewise.
1320         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
1321         * math/s_csinf.c (__csinf): Likewise.
1322         * math/s_csinh.c (__csinh): Likewise.
1323         * math/s_csinhf.c (__csinhf): Likewise.
1324         * math/s_csinhl.c (__csinhl): Likewise.
1325         * math/s_csinl.c (__csinl): Likewise.
1326         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
1327         * math/s_csqrtf.c (__csqrtf): Likewise.
1328         * math/s_csqrtl.c (__csqrtl): Likewise.
1329         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
1330         * math/s_ctanf.c (__ctanf): Likewise.
1331         * math/s_ctanh.c (__ctanh): Likewise.
1332         * math/s_ctanhf.c (__ctanhf): Likewise.
1333         * math/s_ctanhl.c (__ctanhl): Likewise.
1334         * math/s_ctanl.c (__ctanl): Likewise.
1335         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
1336         instead of volatile.
1337         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
1338         math_check_force_underflow.
1339         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
1340         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
1341         volatile when forcing underflow.
1342         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
1343         math_check_force_underflow_nonneg.
1344         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
1345         Likewise.
1346         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
1347         math_check_force_underflow.
1348         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
1349         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
1350         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
1351         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
1352         math_check_force_underflow_nonneg.
1353         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
1354         math_check_force_underflow.
1355         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
1356         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
1357         instead of volatile.
1358         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
1359         math_check_force_underflow.
1360         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
1361         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
1362         math_check_force_underflow_nonneg.
1363         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
1364         math_check_force_underflow.
1365         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
1366         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
1367         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
1368         math_check_force_underflow_nonneg.
1369         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
1370         Likewise.
1371         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
1372         math_check_force_underflow.
1373         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
1374         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
1375         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
1376         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
1377         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
1378         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
1379         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
1380         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
1381         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
1382         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
1383         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
1384         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
1385         Likewise.
1386         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
1387         math_check_force_underflow_nonneg.
1388         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
1389         Likewise.
1390         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
1391         math_check_force_underflow.
1392         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1393         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
1394         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
1395         Likewise.
1396         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
1397         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
1398         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
1399         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
1400         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
1401         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
1402         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
1403         instead of volatile.
1404         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
1405         math_check_force_underflow.
1406         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
1407         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
1408         math_check_force_underflow.
1409         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
1410         Likewise.
1411         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
1412         Use math_check_force_underflow_nonneg.
1413         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
1414         math_check_force_underflow.
1415         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
1416         Likewise.
1417         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
1418         Likewise.
1419         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1420         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
1421         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
1422         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
1423         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
1424         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
1425         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
1426         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
1427         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
1428         math_check_force_underflow_nonneg.
1429         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
1430         math_check_force_underflow.
1431         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
1432         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
1433         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
1434         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
1435         math_check_force_underflow_nonneg.
1436         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
1437         math_check_force_underflow.
1438         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
1439         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
1440         instead of volatile.
1441         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
1442         math_check_force_underflow.
1444         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
1445         * stdlib/strtod_l.c: Include <math_private.h>.
1446         (overflow_value): Use math_narrow_eval.
1447         (underflow_value): Likewise.
1448         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
1449         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
1450         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
1451         (__ieee754_gamma_r): Likewise.
1452         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
1453         Likewise.
1454         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
1455         Likewise.
1456         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
1457         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
1458         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
1459         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
1460         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
1461         (__ieee754_gammaf_r): Likewise.
1462         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
1463         Likewise.
1464         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
1465         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
1466         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
1467         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
1468         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
1469         volatile.
1470         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
1471         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
1472         math_narrow_eval.
1473         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
1474         Likewise.
1475         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1476         Likewise.
1477         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
1478         Likewise.
1479         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
1480         volatile.
1481         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
1482         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
1483         math_narrow_eval.
1484         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1485         Likewise.
1486         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1487         Likewise.
1489 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
1491         * nptl/Versions: Remove ignored symbols.
1493 2015-09-22  Florian Weimer  <fweimer@redhat.com>
1495         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
1496         * nss/Makefile (tests): Update.
1498 2015-09-22  Florian Weimer  <fweimer@redhat.com>
1500         * nss/bug18287.c: New file.
1501         * nss/Makefile (tests): Add bug18287.
1503 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1505         * mach/Versions (__mach_host_self_): Add symbol.
1507 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1509         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
1510         vm_page_size.
1512 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1514         Really fix sysdeps/i386/fpu/s_scalbn.S build
1516         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
1517         (libc: GLIBC_2_22): Remove unused version set.
1519 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
1521         * config.make.in (enable-timezone-tools): New variable.
1522         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
1523         (enable_timezone_tools): Export to generated files.
1524         * configure: Regenerate.
1525         * INSTALL: Regenerate.
1526         * manual/install.texi (--disable-timezone-tools): Document new flag.
1527         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
1528         ifeq ($(enable-timezone-tools),yes) check.
1530 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
1532         * timezone/Makefile: Revert previous change.
1534         [BZ #18980]
1535         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
1536         (DEFINE_DBL_MIN): Likewise.
1537         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
1538         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
1539         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
1540         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
1541         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
1542         (dbl_min): Replace with use of DEFINE_DBL_MIN.
1543         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
1544         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
1545         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
1546         (dbl_min): Replace with use of DEFINE_DBL_MIN.
1547         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
1548         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
1549         (flt_min): Replace with use of DEFINE_FLT_MIN.
1550         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
1551         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
1552         (dbl_min): Replace with use of DEFINE_DBL_MIN.
1553         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
1554         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
1555         (flt_min): Replace with use of DEFINE_FLT_MIN.
1556         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
1557         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
1558         (flt_min): Replace with use of DEFINE_FLT_MIN.
1559         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
1560         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
1561         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
1562         (__ieee754_hypot): Use DBL_NARROW_EVAL.
1563         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
1564         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
1565         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
1566         (__ieee754_pow): Use DBL_NARROW_EVAL.
1567         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
1568         (__ieee754_powf): Use FLT_NARROW_EVAL.
1569         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
1570         (__ieee754_expf_sse2): Convert double-precision result to single
1571         precision.
1572         * sysdeps/i386/fpu/libm-test-ulps: Update.
1574 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
1576         * timezone/Makefile: Ignore unused variable errors due to private.h
1577         (time_t_min) and (time_t_max).
1578         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
1579         Likewise.
1581 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
1583         [BZ #18981]
1584         * sysdeps/i386/fpu/i386-math-asm.h: New file.
1585         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
1586         (__ieee754_scalb): Use DBL_NARROW_EVAL.
1587         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
1588         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
1589         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
1590         (__scalbn): Use DBL_NARROW_EVAL.
1591         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
1592         (__scalbnf): Use FLT_NARROW_EVAL.
1594 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
1596         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
1597         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
1598         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
1599         * stdio-common/printf_fp.c (___printf_fp):
1600         Use signbit to get the sign. Use isinf macro to allow inlining.
1601         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
1602         * stdio-common/printf_size.c (__printf_size): Likewise.
1604 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
1606         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
1608 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
1610         [BZ #18980]
1611         * sysdeps/generic/math_private.h: Include <float.h>.
1612         (math_narrow_eval): New macro.
1613         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
1614         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
1615         math_narrow_eval on overflowing return value.
1616         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
1617         Likewise.
1618         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
1619         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
1620         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
1621         Likewise.
1622         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
1624 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
1626         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
1627         * math/Makefile: Remove isinf_ns.c.
1628         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
1629         * math/multc3.c (__multc3): Likewise.
1630         * math/s_casin.c (__casin): Likewise.
1631         * math/s_casinf.c (__casinf): Likewise.
1632         * math/s_casinl.c (__casinl): Likewise.
1633         * math/s_cproj.c (__cproj): Likewise.
1634         * math/s_cprojf.c (__cprojf): Likewise.
1635         * math/s_cprojl.c (__cprofl): Likewise.
1636         * math/s_ctan.c (__ctan): Likewise.
1637         * math/s_ctanf.c (__ctanf): Likewise.
1638         * math/s_ctanh.c (__ctanh): Likewise.
1639         * math/s_ctanhf.c (__ctanhf): Likewise.
1640         * math/s_ctanhl.c (__ctanhl): Likewise.
1641         * math/s_ctanl.c (__ctanl): Likewise.
1642         * math/w_fmod.c (__fmod): Likewise.
1643         * math/w_fmodf.c (__fmodf): Likewise.
1644         * math/w_fmodl.c (_fmodl): Likewise.
1645         * math/w_remainder.c (__remainder): Likewise.
1646         * math/w_remainderf.c (__remainderf): Likewise.
1647         * math/w_remainderl.c (__remainderl): Likewise.
1648         * math/w_scalb.c (__scalb): Likewise.
1649         * math/w_scalbf.c (__scalbf): Likewise.
1650         * math/w_scalbl.c (__scalbl): Likewise.
1651         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
1652         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
1653         with isinf.
1654         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
1655         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
1656         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
1657         __isinf_nsf with isinf.
1658         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
1659         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
1660         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
1661         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
1662         with isinf.
1663         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
1664         __isinf_nsl with isinf.
1665         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
1666         with isinf.
1667         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
1668         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
1669         __isinf_nsl with isinf.
1670         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
1671         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
1672         with isinf.
1674 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
1676         * resolv/base64.c (rcsid): Remove unused static.
1677         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
1678         static.  (tqpi1): Likewise.
1679         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
1680         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
1681         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
1682         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
1683         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
1684         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
1685         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
1686         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
1687         Likewise.
1689 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
1691         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
1692         <nptl/pthreadP.h>.
1693         (_longjmp_unwind): Use __libc_ptf_call.
1694         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
1696 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
1698         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
1699         * sysdeps/arm/__longjmp.S: Likewise
1701 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
1703         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
1704         Use __builtin_signbit.
1705         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
1706         Use __builtin_signbitf.
1707         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
1708         Use __builtin_signbitl.
1709         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
1710         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
1712 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
1714         [BZ #15367]
1715         [BZ #17441]
1717         * math/Makefile: Build test-snan.c with -fsignaling-nans.
1718         * math/math.h (fpclassify): Use __builtin_fpclassify when
1719         available.  (signbit): Use __builtin_signbit(f/l).
1720         (isfinite): Use__builtin_isfinite.  (isnormal): Use
1721         __builtin_isnormal.  (isnan): Use __builtin_isnan.
1722         (isinf): Use __builtin_isinf_sign.
1724 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
1726         * benchtests/Makefile: Add bench-math-inlines, link with libm.
1727         * benchtests/bench-math-inlines.c: New benchmark.
1728         * benchtests/bench-util.h: New file.
1729         * benchtests/bench-util.c: New file.
1730         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
1732 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
1734         * elf/tst-dlmopen1.c: Define TEST_SO.
1735         (do_test): Use TEST_SO.
1737         * elf/dl-load.c: Include libc-internal.h.
1738         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
1740 2015-09-18  Vincent Bernat  <vincent@bernat.im>
1742         [BZ #17887]
1743         * time/strptime_l.c (__strptime_internal): Make %z accept
1744         [+-]HH:MM time zones.
1746 2015-09-18  Vincent Bernat  <vincent@bernat.im>
1748         [BZ #17886]
1749         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
1750         valid time zone.
1752 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
1754         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
1755         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
1756         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1757         (__ASSUME_FDATASYNC): Delete.
1759 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
1761         * conform/linknamespace.pl: Require weak undefined symbols to be
1762         in the standard namespace.
1763         (%strong_syms): Rename to %seen_syms.
1764         (%strong_seen): Rename to %seen_where.
1766 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
1768         [BZ #18970]
1769         * misc/error.c (error): Replace pthread_setcancelstate with
1770         __pthread_setcancelstate.
1771         (error_at_line): Likewise.
1772         * posix/wordexp.c (parse_comm): Likewise.
1773         * stdlib/fmtmsg.c (fmtmsg): Likewise.
1774         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
1775         (__pthread_setcancelstate): This.
1776         (pthread_setcancelstate): Add an alias.
1777         * nptl/nptl-init.c (pthread_functions): Replace
1778         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
1779         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
1780         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
1781         hidden_proto.
1782         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
1783         it with hidden_def.
1784         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
1785         (pthread_setcancelstate): Renamed to ...
1786         (__pthread_setcancelstate): This.
1787         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
1788         __libc_ptf_call with __pthread_setcancelstate.
1790 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
1791             Andreas Schwab  <schwab@suse.de>
1793         [BZ #17118]
1794         * math/s_ctan.c (__ctan): Determine sign of zero real part of
1795         result when imaginary part of argument is infinite using sine and
1796         cosine.
1797         * math/s_ctanf.c (__ctanf): Likewise.
1798         * math/s_ctanl.c (__ctanl): Likewise.
1799         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
1800         of result when real part of argument is infinite using sine and
1801         cosine.
1802         * math/s_ctanhf.c (__ctanhf): Likewise.
1803         * math/s_ctanhl.c (__ctanhl): Likewise.
1804         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
1805         (ctanh_test_data): Add more tests of ctanh.
1807 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
1809         [BZ #15384]
1810         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
1811         bit-mask as in subtraction.
1812         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
1813         Likewise.
1814         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
1815         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
1816         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
1818         [BZ #18951]
1819         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
1820         underflow exception for small results.
1821         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
1822         Likewise.
1823         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
1824         Likewise.
1825         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
1826         Likewise.
1827         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
1828         Likewise.
1829         * math/auto-libm-test-in: Add more tests of tgamma.
1830         * math/auto-libm-test-out: Regenerated.
1832 2015-09-17  Andreas Schwab  <schwab@suse.de>
1834         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
1836 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
1838         [BZ #18977]
1839         * math/bits/mathcalls.h
1840         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
1841         not declare.
1842         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
1843         Likewise.
1844         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
1845         Likewise.
1846         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
1847         Likewise.
1848         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
1849         Likewise.
1850         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
1851         Likewise.
1852         * conform/data/math.h-data
1853         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
1854         function.
1855         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
1856         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
1857         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
1858         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
1859         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
1860         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
1861         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
1862         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
1863         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
1864         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
1865         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
1867         [BZ #6803]
1868         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
1869         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
1870         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
1871         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
1872         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
1873         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
1874         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
1875         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
1876         [NO_LONG_DOUBLE] (scalbnl): Likewise.
1877         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
1878         Likewise.
1879         [NO_LONG_DOUBLE] (scalbnl): Likewise.
1880         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
1881         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
1882         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
1883         long_double_symbol calls.
1884         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
1885         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
1886         strong alias of __ldexpl.
1887         (scalbnl): Define using long_double_symbol.
1888         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
1889         Remove alias.
1890         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
1891         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
1892         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
1893         (scalbln_test_data): Add more errno expectations.
1895 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
1897         Cache the host port like we cache the task port.  This way we do not
1898         need to call the kernel just to get the port.  Furthermore, we no
1899         longer increase the reference count on every invocation of
1900         `mach_host_self'.
1902         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
1903         Protect declarations against the macro expansion.
1904         * mach/mach_init.c (__mach_host_self_): New variable.
1905         (mach_init): Initialize `__mach_host_self_'.
1906         * mach/mach_init.h (__mach_host_self_): New declaration.
1907         (__mach_host_self, mach_host_self): New macros.
1908         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
1909         Release reference.
1911 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
1913         [BZ #4404]
1914         * po/de.po: Update from Translation Project.
1916         [BZ #16415]
1917         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
1918         (__expm1l): Remove code to handle positive infinity and overflow.
1919         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
1920         variable.
1921         (__expm1l): Remove code to handle positive infinity and overflow.
1923 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
1924             Paul Pluzhnikov  <ppluzhnikov@google.com>
1926         [BZ #18872]
1927         * stdio-common/Makefile (tst-printf-bz18872): New test.
1928         (tst-printf-bz18872-mem.out): Likewise.
1929         * stdio-common/tst-printf-bz18872.sh: Generate new test.
1930         * stdio-common/vfprintf.c: Fix memory leaks.
1932 2015-09-16  Andreas Schwab  <schwab@suse.de>
1934         [BZ #17244]
1935         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
1936         Remove extra va_start/va_end calls.
1938         [BZ #17243]
1939         * posix/execl.c (execl): Add missing va_end.
1940         * posix/execle.c (execle): Likewise.
1941         * posix/execlp.c (execlp): Likewise.
1943 2015-09-15  Roland McGrath  <roland@hack.frob.com>
1945         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
1946         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
1948 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
1950         [BZ #18967]
1951         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
1952         undefine around includes of <bits/mathcalls.h>.
1953         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
1954         not declare function.
1955         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
1956         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
1957         (scalb): Likewise.
1958         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
1959         not define macro.
1960         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
1961         variable.
1962         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
1963         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
1964         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
1966         [BZ #18857]
1967         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
1968         return non-finite argument without doing ordered comparisons on
1969         it.
1971         [BZ #16296]
1972         * math/fenv.h (fegetround): Use __attribute_pure__.
1973         * include/fenv.h (__fegetround): Likewise.
1975         [BZ #18595]
1976         * math/s_ctan.c (__ctan): Force underflow exception for results
1977         whose real or imaginary part has small absolute value.
1978         * math/s_ctanf.c (__ctanf): Likewise.
1979         * math/s_ctanh.c (__ctanh): Likewise.
1980         * math/s_ctanhf.c (__ctanhf): Likewise.
1981         * math/s_ctanhl.c (__ctanhl): Likewise.
1982         * math/s_ctanl.c (__ctanl): Likewise.
1983         * math/auto-libm-test-in: Do not allow missing underflow for ctan
1984         and ctanh.  Add more tests of ctan and ctanh.
1986         [BZ #15918]
1987         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
1988         handling of cases where one argument is an infinity.
1990         [BZ #18875]
1991         [BZ #18966]
1992         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
1993         (MO): New macro.
1994         (__ieee754_exp10): For small results, force underflow exception
1995         and remove excess range and precision from return value.
1996         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
1997         (MO): New macro.
1998         (__ieee754_exp10f): For small results, force underflow exception
1999         and remove excess range and precision from return value.
2000         * math/auto-libm-test-in: Add more tests of exp10.
2001         * math/auto-libm-test-out: Regenerated.
2003 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
2005         [BZ #18875]
2006         [BZ #18961]
2007         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
2008         (MO): New macro.
2009         (__ieee754_exp): For small results, force underflow exception and
2010         remove excess range and precision from return value.
2011         (__exp_finite): Likewise.
2012         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
2013         (MO): New macro.
2014         (__ieee754_expf): For small results, force underflow exception and
2015         remove excess range and precision from return value.
2016         (__expf_finite): Likewise.
2017         * math/auto-libm-test-in: Add more tests of exp.
2018         * math/auto-libm-test-out: Regenerated.
2020         [BZ #16521]
2021         [BZ #18875]
2022         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
2023         small results.
2024         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
2025         (MO): New macro.
2026         (__ieee754_exp2): For small results, force underflow exception and
2027         remove excess range and precision from return value.
2028         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
2029         (MO): New macro.
2030         (__ieee754_exp2f): For small results, force underflow exception
2031         and remove excess range and precision from return value.
2032         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
2033         (MO): New macro.
2034         (__ieee754_exp2l): Force underflow exception for small results.
2035         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
2036         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
2037         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
2038         (MO): New macro.
2039         (__ieee754_exp2l): Force underflow exception for small results.
2040         * math/auto-libm-test-in: Add more tests or exp2.
2041         * math/auto-libm-test-out: Regenerated.
2043 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
2045         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
2047         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
2048         /dev/null.
2050 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2052         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
2053         io fs process)): Drop spurious backslash.
2055 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2057         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
2058         Use sysinfo system call instead of parsing /proc/meminfo.
2059         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
2060         Likewise.
2062 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
2064         [BZ #16985]
2065         * programs/localedef.c (main): Display argv[remaining] when
2066         output_path is NULL.
2068 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
2070         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
2071         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
2072         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
2073         tanh.
2074         * math/auto-libm-test-out: Regenerated.
2075         * sysdeps/i386/fpu/libm-test-ulps: Update.
2076         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2077         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2078         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2080 2015-09-11  Roland McGrath  <roland@hack.frob.com>
2082         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
2083         Use 'override' keyword to freeze the value here, preventing
2084         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
2086 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
2088         [BZ #14912]
2089         * sysdeps/aarch64/bits/atomic.h: Move to ...
2090         * sysdeps/aarch64/atomic-machine.h: ...here.
2091         (_AARCH64_BITS_ATOMIC_H): Rename macro to
2092         _AARCH64_ATOMIC_MACHINE_H.
2093         * sysdeps/alpha/bits/atomic.h: Move to ...
2094         * sysdeps/alpha/atomic-machine.h: ...here.
2095         * sysdeps/arm/bits/atomic.h: Move to ...
2096         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
2097         * bits/atomic.h: Move to ...
2098         * sysdeps/generic/atomic-machine.h: ...here.
2099         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
2100         * sysdeps/i386/bits/atomic.h: Move to ...
2101         * sysdeps/i386/atomic-machine.h: ...here.
2102         * sysdeps/ia64/bits/atomic.h: Move to ...
2103         * sysdeps/ia64/atomic-machine.h: ...here.
2104         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
2105         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
2106         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
2107         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
2108         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
2109         * sysdeps/microblaze/bits/atomic.h: Move to ...
2110         * sysdeps/microblaze/atomic-machine.h: ...here.
2111         * sysdeps/mips/bits/atomic.h: Move to ...
2112         * sysdeps/mips/atomic-machine.h: ...here.
2113         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
2114         * sysdeps/powerpc/bits/atomic.h: Move to ...
2115         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
2116         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
2117         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
2118         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
2119         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
2120         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
2121         <atomic-machine.h> instead of <bits/atomic.h>.
2122         * sysdeps/s390/bits/atomic.h: Move to ...
2123         * sysdeps/s390/atomic-machine.h: ...here.
2124         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
2125         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
2126         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
2127         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
2128         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
2129         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
2130         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
2131         * sysdeps/tile/bits/atomic.h: Move to ...
2132         * sysdeps/tile/atomic-machine.h: ...here.
2133         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
2134         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
2135         <sysdeps/tile/atomic-machine.h> instead of
2136         <sysdeps/tile/bits/atomic.h>.
2137         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
2138         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
2139         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
2140         <sysdeps/tile/atomic-machine.h> instead of
2141         <sysdeps/tile/bits/atomic.h>.
2142         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
2143         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
2144         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
2145         <sysdeps/arm/atomic-machine.h> instead of
2146         <sysdeps/arm/bits/atomic.h>.
2147         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
2148         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
2149         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
2150         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
2151         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
2152         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
2153         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
2154         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
2155         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
2156         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
2157         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
2158         * sysdeps/x86_64/bits/atomic.h: Move to ...
2159         * sysdeps/x86_64/atomic-machine.h: ...here.
2160         * include/atomic.h: Include <atomic-machine.h> instead of
2161         <bits/atomic.h>.
2163         * sysdeps/mips/mips32/libm-test-ulps: Update.
2164         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2166         [BZ #18952]
2167         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
2168         not convert non-integer negative arguments to int to determine the
2169         value of signgam.
2170         * math/auto-libm-test-in: Add more tests of lgamma.
2171         * math/auto-libm-test-out: Regenerated.
2173         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
2174         cosh, csqrt, erfc, expm1 and lgamma.
2175         * math/auto-libm-test-out: Regenerated.
2176         * sysdeps/i386/fpu/libm-test-ulps: Update.
2177         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2179 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
2181         [BZ #2542]
2182         [BZ #2543]
2183         [BZ #2558]
2184         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
2185         __lgamma_neg for arguments from -28.0 to -2.0.
2186         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
2187         __lgamma_negf for arguments from -15.0 to -2.0.
2188         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
2189         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
2190         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
2191         Call __lgamma_negl for arguments from -33.0 to -2.0.
2192         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
2193         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
2194         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
2195         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
2196         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
2197         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
2198         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
2199         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
2200         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
2201         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
2202         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
2203         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
2204         (__lgamma_neg): Likewise.
2205         (__lgamma_negl): Likewise.
2206         (__lgamma_product): Likewise.
2207         (__lgamma_productl): Likewise.
2208         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
2209         * math/auto-libm-test-in: Add more tests of lgamma.
2210         * math/auto-libm-test-out: Regenerated.
2211         * sysdeps/i386/fpu/libm-test-ulps: Update.
2212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2214 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
2216         [BZ #18675]
2217         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
2219 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
2221         [BZ #14912]
2222         * bits/libc-lock.h: Move to ...
2223         * sysdeps/generic/libc-lock.h: ...here.
2224         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
2225         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
2226         * sysdeps/mach/hurd/libc-lock.h: ...here.
2227         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
2228         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
2229         * sysdeps/mach/bits/libc-lock.h: Move to ...
2230         * sysdeps/mach/libc-lock.h: ...here.
2231         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
2232         * sysdeps/nptl/bits/libc-lock.h: Move to ...
2233         * sysdeps/nptl/libc-lock.h: ...here.
2234         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
2235         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
2236         * sysdeps/nptl/libc-lockP.h: ...here.
2237         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
2238         * crypt/crypt_util.c: Include <libc-lock.h> instead of
2239         <bits/libc-lock.h>.
2240         * dirent/scandir-tail.c: Likewise.
2241         * dlfcn/dlerror.c: Likewise.
2242         * elf/dl-close.c: Likewise.
2243         * elf/dl-iteratephdr.c: Likewise.
2244         * elf/dl-lookup.c: Likewise.
2245         * elf/dl-open.c: Likewise.
2246         * elf/dl-support.c: Likewise.
2247         * elf/dl-writev.h: Likewise.
2248         * elf/rtld.c: Likewise.
2249         * grp/fgetgrent.c: Likewise.
2250         * gshadow/fgetsgent.c: Likewise.
2251         * gshadow/sgetsgent.c: Likewise.
2252         * iconv/gconv_conf.c: Likewise.
2253         * iconv/gconv_db.c: Likewise.
2254         * iconv/gconv_dl.c: Likewise.
2255         * iconv/gconv_int.h: Likewise.
2256         * iconv/gconv_trans.c: Likewise.
2257         * include/link.h: Likewise.
2258         * inet/getnameinfo.c: Likewise.
2259         * inet/getnetgrent.c: Likewise.
2260         * inet/getnetgrent_r.c: Likewise.
2261         * intl/bindtextdom.c: Likewise.
2262         * intl/dcigettext.c: Likewise.
2263         * intl/finddomain.c: Likewise.
2264         * intl/gettextP.h: Likewise.
2265         * intl/loadmsgcat.c: Likewise.
2266         * intl/localealias.c: Likewise.
2267         * intl/textdomain.c: Likewise.
2268         * libidn/idn-stub.c: Likewise.
2269         * libio/libioP.h: Likewise.
2270         * locale/duplocale.c: Likewise.
2271         * locale/freelocale.c: Likewise.
2272         * locale/newlocale.c: Likewise.
2273         * locale/setlocale.c: Likewise.
2274         * login/getutent_r.c: Likewise.
2275         * login/getutid_r.c: Likewise.
2276         * login/getutline_r.c: Likewise.
2277         * login/utmp-private.h: Likewise.
2278         * login/utmpname.c: Likewise.
2279         * malloc/mtrace.c: Likewise.
2280         * misc/efgcvt.c: Likewise.
2281         * misc/error.c: Likewise.
2282         * misc/fstab.c: Likewise.
2283         * misc/getpass.c: Likewise.
2284         * misc/mntent.c: Likewise.
2285         * misc/syslog.c: Likewise.
2286         * nis/nis_call.c: Likewise.
2287         * nis/nis_callback.c: Likewise.
2288         * nis/nss-default.c: Likewise.
2289         * nis/nss_compat/compat-grp.c: Likewise.
2290         * nis/nss_compat/compat-initgroups.c: Likewise.
2291         * nis/nss_compat/compat-pwd.c: Likewise.
2292         * nis/nss_compat/compat-spwd.c: Likewise.
2293         * nis/nss_nis/nis-alias.c: Likewise.
2294         * nis/nss_nis/nis-ethers.c: Likewise.
2295         * nis/nss_nis/nis-grp.c: Likewise.
2296         * nis/nss_nis/nis-hosts.c: Likewise.
2297         * nis/nss_nis/nis-network.c: Likewise.
2298         * nis/nss_nis/nis-proto.c: Likewise.
2299         * nis/nss_nis/nis-pwd.c: Likewise.
2300         * nis/nss_nis/nis-rpc.c: Likewise.
2301         * nis/nss_nis/nis-service.c: Likewise.
2302         * nis/nss_nis/nis-spwd.c: Likewise.
2303         * nis/nss_nisplus/nisplus-alias.c: Likewise.
2304         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
2305         * nis/nss_nisplus/nisplus-grp.c: Likewise.
2306         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
2307         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
2308         * nis/nss_nisplus/nisplus-network.c: Likewise.
2309         * nis/nss_nisplus/nisplus-proto.c: Likewise.
2310         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
2311         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
2312         * nis/nss_nisplus/nisplus-service.c: Likewise.
2313         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
2314         * nis/ypclnt.c: Likewise.
2315         * nptl/libc_pthread_init.c: Likewise.
2316         * nss/getXXbyYY.c: Likewise.
2317         * nss/getXXent.c: Likewise.
2318         * nss/getXXent_r.c: Likewise.
2319         * nss/nss_db/db-XXX.c: Likewise.
2320         * nss/nss_db/db-netgrp.c: Likewise.
2321         * nss/nss_db/nss_db.h: Likewise.
2322         * nss/nss_files/files-XXX.c: Likewise.
2323         * nss/nss_files/files-alias.c: Likewise.
2324         * nss/nsswitch.c: Likewise.
2325         * posix/regex_internal.h: Likewise.
2326         * posix/wordexp.c: Likewise.
2327         * pwd/fgetpwent.c: Likewise.
2328         * resolv/res_hconf.c: Likewise.
2329         * resolv/res_libc.c: Likewise.
2330         * shadow/fgetspent.c: Likewise.
2331         * shadow/lckpwdf.c: Likewise.
2332         * shadow/sgetspent.c: Likewise.
2333         * socket/opensock.c: Likewise.
2334         * stdio-common/reg-modifier.c: Likewise.
2335         * stdio-common/reg-printf.c: Likewise.
2336         * stdio-common/reg-type.c: Likewise.
2337         * stdio-common/vfprintf.c: Likewise.
2338         * stdio-common/vfscanf.c: Likewise.
2339         * stdlib/abort.c: Likewise.
2340         * stdlib/cxa_atexit.c: Likewise.
2341         * stdlib/fmtmsg.c: Likewise.
2342         * stdlib/random.c: Likewise.
2343         * stdlib/setenv.c: Likewise.
2344         * string/strsignal.c: Likewise.
2345         * sunrpc/auth_none.c: Likewise.
2346         * sunrpc/bindrsvprt.c: Likewise.
2347         * sunrpc/create_xid.c: Likewise.
2348         * sunrpc/key_call.c: Likewise.
2349         * sunrpc/rpc_thread.c: Likewise.
2350         * sysdeps/arm/backtrace.c: Likewise.
2351         * sysdeps/generic/ldsodefs.h: Likewise.
2352         * sysdeps/generic/stdio-lock.h: Likewise.
2353         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
2354         * sysdeps/i386/backtrace.c: Likewise.
2355         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
2356         * sysdeps/m68k/backtrace.c: Likewise.
2357         * sysdeps/mach/hurd/cthreads.c: Likewise.
2358         * sysdeps/mach/hurd/dirstream.h: Likewise.
2359         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
2360         * sysdeps/nptl/malloc-machine.h: Likewise.
2361         * sysdeps/nptl/stdio-lock.h: Likewise.
2362         * sysdeps/posix/dirstream.h: Likewise.
2363         * sysdeps/posix/getaddrinfo.c: Likewise.
2364         * sysdeps/posix/system.c: Likewise.
2365         * sysdeps/pthread/aio_suspend.c: Likewise.
2366         * sysdeps/s390/s390-32/backtrace.c: Likewise.
2367         * sysdeps/s390/s390-64/backtrace.c: Likewise.
2368         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2369         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2370         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
2371         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
2372         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
2373         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
2374         * sysdeps/unix/sysv/linux/system.c: Likewise.
2375         * sysdeps/x86_64/backtrace.c: Likewise.
2376         * time/alt_digit.c: Likewise.
2377         * time/era.c: Likewise.
2378         * time/tzset.c: Likewise.
2379         * wcsmbs/wcsmbsload.c: Likewise.
2380         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
2381         instead of <bits/libc-lock.h> in comment.
2383 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
2385         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
2386         Only use .set mips2 if the current ISA is below mips2.
2387         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
2388         Likewise.
2389         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
2390         mips32r2 if the current ISA is below mips32r2.
2391         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
2392         (TLS_IE): Updated to use the TLD_RDHWR macro.
2393         (TLS_LE): Likewise.
2394         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
2395         __ASSEMBLER__ condition.
2397 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2399         Fix parallel build of before-compile targets.
2401         * sysdeps/mach/Makefile ($(patsubst
2402         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
2403         mach-before-compile target.
2404         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
2405         io fs process)): Move rule to dedicated hurd-before-compile target.
2407 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2409         Fix rules generating headers in hurd/ and mach/ when initial make call
2410         has subdir= explicitly set.
2412         * sysdeps/mach/Makefile ($(patsubst
2413         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
2414         calling $(MAKE).
2415         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
2416         io fs process)): Force subdir to hurd when calling $(MAKE).
2417         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
2418         subdir to mach when calling $(MAKE).
2420 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
2422         Check sysheaders when looking for Mach and Hurd headers
2424         * sysdeps/mach/configure.ac: Add sysheaders check.
2425         * sysdeps/mach/configure: Regenerate.
2426         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
2427         * sysdeps/mach/hurd/configure: Regenerate.
2429 2015-09-04  Roland McGrath  <roland@hack.frob.com>
2431         [BZ #18921]
2432         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
2433         Fix inverted sense of test of 'o_directory_works' value.
2434         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
2435         Bernhard Voelker <mail@bernhard-voelker.de>.
2437 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
2439         [BZ #14912]
2440         * bits/linkmap.h: Move to ...
2441         * sysdeps/generic/linkmap.h: ...here.
2442         * sysdeps/aarch64/bits/linkmap.h: Move to ...
2443         * sysdeps/aarch64/linkmap.h: ...here.
2444         * sysdeps/arm/bits/linkmap.h: Move to ...
2445         * sysdeps/arm/linkmap.h: ...here.
2446         * sysdeps/hppa/bits/linkmap.h: Move to ...
2447         * sysdeps/hppa/linkmap.h: ...here.
2448         * sysdeps/ia64/bits/linkmap.h: Move to ...
2449         * sysdeps/ia64/linkmap.h: ...here.
2450         * sysdeps/mips/bits/linkmap.h: Move to ...
2451         * sysdeps/mips/linkmap.h: ...here.
2452         * sysdeps/s390/bits/linkmap.h: Move to ...
2453         * sysdeps/s390/linkmap.h: ...here.
2454         * sysdeps/sh/bits/linkmap.h: Move to ...
2455         * sysdeps/sh/linkmap.h: ...here.
2456         * sysdeps/x86/bits/linkmap.h: Move to ...
2457         * sysdeps/x86/linkmap.h: ...here.
2458         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
2460 2015-09-04  Andreas Schwab  <schwab@suse.de>
2462         [BZ #18635]
2463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
2464         (__makecontext): Terminate FDE before return label.
2465         (__novec_makecontext): Likewise.
2467 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2469         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
2470         first member of struct sv in syscall macro.
2472 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
2474         [BZ #14912]
2475         * bits/stdio-lock.h: Move to ...
2476         * sysdeps/generic/stdio-lock.h: ...here.
2477         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
2478         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
2479         * sysdeps/nptl/stdio-lock.h: ...here.
2480         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
2481         * include/libio.h: Include <stdio-lock.h> instead of
2482         <bits/stdio-lock.h>.
2483         * sysdeps/nptl/fork.c: Likewise.
2484         * sysdeps/pthread/flockfile.c: Likewise.
2485         * sysdeps/pthread/ftrylockfile.c: Likewise.
2486         * sysdeps/pthread/funlockfile.c: Likewise.
2488         [BZ #14912]
2489         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
2490         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
2491         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
2492         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
2493         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
2494         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
2495         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
2497 2015-09-03  Roland McGrath  <roland@hack.frob.com>
2499         * elf/Makefile (test-xfail-tst-protected1a): New variable.
2500         (test-xfail-tst-protected1b): New variable.
2502 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
2504         [BZ #14912]
2505         * bits/libc-tsd.h: Move to ...
2506         * sysdeps/generic/libc-tsd.h: ...here.
2507         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
2508         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
2509         * sysdeps/mach/hurd/libc-tsd.h: ...here.
2510         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
2511         * include/ctype.h: Include <libc-tsd.h> instead of
2512         <bits/libc-tsd.h>.
2513         * include/rpc/rpc.h: Likewise.
2514         * locale/localeinfo.h: Likewise.
2515         * sunrpc/rpc_thread.c: Likewise.
2516         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
2517         * sysdeps/nptl/malloc-machine.h: Likewise.
2519         * Makefile (headers): Remove bits/libc-lock.h.
2520         * libio/Makefile (headers): Remove bits/stdio-lock.h.
2522         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
2523         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
2524         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
2525         <bits/stdio-lock.h>.
2526         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
2527         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
2529 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
2531         [BZ #18757]
2532         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
2533         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
2534         BZ #18757.
2536 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
2538         * malloc/mtrace.pl: Filter out NULL entries.
2540 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
2542         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
2543         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
2544         macro.
2546         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
2547         (TCP_CC_INFO): Likewise.
2548         (TCP_SAVE_SYN): Likewise.
2549         (TCP_SAVED_SYN): Likewise.
2551 2015-08-31  Brett Neumeier <brett@neumeier.us>
2553         [BZ #18870]
2554         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
2556 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
2558         [BZ #18873]
2559         Fix broken overflow check in posix_fallocate
2560         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
2561         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
2562         Fix parenthesization typo.
2564 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
2566         [BZ #18887]
2567         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
2568         tst-mntent-blank-passno.
2569         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
2570         * misc/tst-mntent-blank-corrupt.c: New test.
2571         * misc/tst-mntent-blank-passno.c: New test ripped from ...
2572         * misc/tst-mntent.c (do_test): ... here.
2574 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
2576         [BZ #4404]
2577         * po/de.po: Fix SIGALRM typo.
2579 2015-08-28  James Perkins  <james@loowit.net>
2581         * time/tst-strptime2.c (tests): Replace short list of test
2582         strings for strptime %z specifier with code which exhaustively
2583         tests every combination of sign and 0 to 5 digits. Tests for
2584         rejection of invalid strings.
2586 2015-08-28  James Perkins  <james@loowit.net>
2588         [BZ #16141]
2589         * time/strptime_l.c (__strptime_internal): Fix %z minutes
2590         calculation, removing incorrect decimal time rounding, so that
2591         all minute values result in a valid seconds value.
2592         * time/strptime_l.c (__strptime_internal): Extend %z time zone
2593         offset range limits to UTC-99:59 through UTC+99:59 to parse
2594         current and historical use cases.
2595         * time/tst-strptime2.c (tests): Modify and add tests for the
2596         strptime %z input field descriptor, specifically conversion of
2597         minutes to seconds and validating an offset range of -9959 to
2598         +9959.
2600 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2601             Dmitry V. Levin  <ldv@altlinux.org>
2603         [BZ #18877]
2604         * posix/Makefile (tests): Add tst-mmap-offset.
2605         * posix/tst-mmap.c: New file.
2606         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
2607         offset calculation for negative values.
2609 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
2611         * sysdeps/i386/init-arch.h: New file.
2612         * sysdeps/i386/i586/init-arch.h: Likewise.
2613         * sysdeps/i386/i686/init-arch.h: Likewise.
2614         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
2615         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
2616         * sysdeps/x86/cpu-features.h (bit_I586): New.
2617         (bit_I686): Likewise.
2618         (bit_CX8): Likewise.
2619         (bit_CMOV): Likewise.
2620         (index_CX8): Likewise.
2621         (index_CMOV): Likewise.
2622         (index_I586): Likewise.
2623         (index_I686): Likewise.
2624         (reg_CX8): Likewise.
2625         (reg_CMOV): Likewise.
2626         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
2627         available at compile-time.
2628         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
2629         available at compile-time.
2630         * sysdeps/x86/init-arch.h (USE_I586): New macro.
2631         (USE_I686): Likewise.
2633 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
2635         * sysdeps/i386/bcopy.S: New file.
2636         * sysdeps/i386/bzero.S: Likewise.
2637         * sysdeps/i386/memcpy.S: Likewise.
2638         * sysdeps/i386/memmove.S: Likewise.
2639         * sysdeps/i386/mempcpy.S: Likewise.
2640         * sysdeps/i386/memset.S: Likewise.
2641         * sysdeps/i386/bzero.c: Removed.
2642         * sysdeps/i386/memset.c: Likewise.
2643         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
2644         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
2645         * sysdeps/i386/i586/memset_chk.S: Likewise.
2646         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
2647         * sysdeps/i386/memcpy_chk.S: Here.
2648         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
2649         * sysdeps/i386/memmove_chk.S: Here.
2650         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
2651         * sysdeps/i386/mempcpy_chk.S: Likewise.
2652         * sysdeps/i386/i686/memset_chk.S: Moved to ...
2653         * sysdeps/i386/memset_chk.S: Likewise.
2655 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
2657         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
2658         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
2659         file, move DIAG_POP_NEEDS_COMMENT to end of file.
2660         * soft-fp/fmadf4.c: Ditto.
2661         * soft-fp/fmatf4.c: Ditto.
2663 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
2665         * sysdeps/i386/i586/Implies: Removed.
2666         * sysdeps/i386/i686/Implies: Likewise.
2668 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
2670         * sysdeps/i386/i486/strlen.S: Moved to ...
2671         * sysdeps/i386/strlen.S: Here.
2673 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
2675         * sysdeps/i386/i486/strcat.S: Moved to ...
2676         * sysdeps/i386/strcat.S: Here.
2678 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
2680         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
2681         * sysdeps/i386/pthread_spin_trylock.S: Here.
2682         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
2683         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
2685 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
2687         * sysdeps/i386/i486/string-inlines.c: Moved to ...
2688         * sysdeps/i386/string-inlines.c: Here.
2690 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
2692         * sysdeps/i386/i486/htonl.S: Moved ...
2693         * sysdeps/i386/htonl.S: here.
2695 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
2697         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
2698         * sysdeps/i386/bits/atomic.h: Here.
2700 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
2702         * sysdeps/i386/i486/Versions: Removed.
2704 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
2706         [BZ #2898]
2707         * misc/mktemp.c: Add mkdtemp to the link_warning message.
2708         Based on patch by Aurelien Jarno.
2710 2015-08-26  Stan Shebs  <stanshebs@google.com>
2712         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
2713         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
2715 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2717         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
2718         * sysdeps/powerpc/dl-procinfo.c:
2719         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
2720         feature so it shows when LD_SHOW_AUXV=1.
2722 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2724         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
2725         (__arch_compare_and_exchange_val_32_acq): Remove and use common
2726         definition.  ISA 2.07B no longer requires full sync.
2728 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
2730         [BZ #18863]
2731         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
2732         (si_call_addr): Define.
2733         (si_syscall): Define.
2734         (si_arch): Define.
2736 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
2738         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
2739         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
2740         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
2741         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
2742         (__memset_zero_constant_len_parameter): New.
2743         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
2744         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
2745         (__memset_zero_constant_len_parameter): Don't define if
2746         __memset_chk or USE_AS_BZERO are defined.
2748         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
2749         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
2750         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
2752         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
2753         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
2754         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
2755         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
2756         comments.
2757         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
2758         -mno-mmx for $(all-rtld-routines).
2759         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
2760         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
2761         i386.
2763 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
2765         * sysdeps/generic/unwind.h
2766         (_Unwind_Word): Use __mode__(__unwind_word__)
2767         instead of __mode__(__word__).
2768         (_Unwind_Sword): Likewise.
2770         * sysdeps/s390/s390-64/utf8-utf16-z9.c
2771         (MAX_NEEDED_INPUT): New define.
2772         (MAX_NEEDED_OUTPUT): New define.
2774         * NEWS: New item for IBM z13 string optimizations.
2776         * sysdeps/s390/multiarch/memrchr-c.c: New File.
2777         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
2778         * sysdeps/s390/multiarch/memrchr.c: Likewise.
2779         * sysdeps/s390/multiarch/Makefile
2780         (sysdep_routines): Add memrchr functions.
2781         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
2782         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
2784         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
2785         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
2786         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
2787         * sysdeps/s390/multiarch/Makefile
2788         (sysdep_routines): Add wmemcmp functions.
2789         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
2790         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
2791         * benchtests/bench-wmemcmp.c: New File.
2792         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
2794         * sysdeps/s390/multiarch/wmemset-c.c: New File.
2795         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
2796         * sysdeps/s390/multiarch/wmemset.c: Likewise.
2797         * sysdeps/s390/multiarch/Makefile
2798         (sysdep_routines): Add wmemset functions.
2799         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
2800         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
2801         * wcsmbs/wmemset.c: Use WMEMSET if defined.
2802         * string/test-memset.c: Add wmemset support.
2803         * wcsmbs/test-wmemset.c: New File.
2804         * wcsmbs/Makefile (strop-tests): Add wmemset.
2805         * benchtests/bench-memset.c: Add wmemset support.
2806         * benchtests/bench-wmemset.c: New File.
2807         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
2809         * sysdeps/s390/multiarch/memccpy-c.c: New File.
2810         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
2811         * sysdeps/s390/multiarch/memccpy.c: Likewise.
2812         * sysdeps/s390/multiarch/Makefile
2813         (sysdep_routines): Add memccpy functions.
2814         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
2815         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
2816         * string/memccpy.c: Use MEMCCPY if defined.
2818         * sysdeps/s390/multiarch/memchr-vx.S: New File.
2819         * sysdeps/s390/multiarch/memchr.c: Likewise.
2820         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
2821         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
2822         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
2823         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
2824         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
2825         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
2826         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
2827         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
2828         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
2829         and rawmemchr functions.
2830         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
2831         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
2832         and wmemchr.
2833         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
2834         * string/test-memchr.c: Add wmemchr support.
2835         * wcsmbs/test-wmemchr.c: New File.
2836         * wcsmbs/Makefile (strop-tests): Add wmemchr.
2837         * benchtests/bench-memchr.c: Add wmemchr support.
2838         * benchtests/bench-wmemchr.c: New File.
2839         * benchtests/Makefile (wcsmbs-bench): wmemchr.
2841         * sysdeps/s390/multiarch/strcspn-c.c: New File.
2842         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
2843         * sysdeps/s390/multiarch/strcspn.c: Likewise.
2844         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
2845         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
2846         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
2847         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
2848         wcscspn functions.
2849         * sysdeps/s390/multiarch/ifunc-impl-list.c
2850         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
2851         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
2852         * string/test-strcspn.c: Add wcscspn support.
2853         * wcsmbs/test-wcscspn.c: New File.
2854         * wcsmbs/Makefile (strop-tests): Add wcscspn.
2855         * benchtests/bench-strcspn.c: Add wcscspn support.
2856         * benchtests/bench-wcscspn.c: New File.
2857         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
2859         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
2860         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
2861         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
2862         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
2863         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
2864         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
2865         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
2866         wcspbrk functions.
2867         * sysdeps/s390/multiarch/ifunc-impl-list.c
2868         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
2869         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
2870         * string/test-strpbrk.c: Add wcspbrk support.
2871         * wcsmbs/test-wcspbrk.c: New File.
2872         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
2873         * benchtests/bench-strpbrk.c: Add wcspbrk support.
2874         * benchtests/bench-wcspbrk.c: New File.
2875         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
2877         * sysdeps/s390/multiarch/strspn-c.c: New File.
2878         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
2879         * sysdeps/s390/multiarch/strspn.c: Likewise.
2880         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
2881         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
2882         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
2883         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
2884         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
2885         wcsspn functions.
2886         * sysdeps/s390/multiarch/ifunc-impl-list.c
2887         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
2888         * string/test-strspn.c: Add wcsspn support.
2889         * wcsmbs/test-wcsspn.c: New File.
2890         * wcsmbs/Makefile (strop-tests): Add wcsspn.
2891         * benchtests/bench-strspn.c: Add wcsspn support.
2892         * benchtests/bench-wcsspn.c: New File.
2893         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
2895         * sysdeps/s390/multiarch/strrchr-c.c: New File.
2896         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
2897         * sysdeps/s390/multiarch/strrchr.c: Likewise.
2898         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
2899         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
2900         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
2901         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
2902         wcsrchr functions.
2903         * sysdeps/s390/multiarch/ifunc-impl-list.c
2904         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
2905         * benchtests/bench-wcsrchr.c: New File.
2906         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
2908         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
2909         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
2910         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
2911         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
2912         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
2913         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
2914         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
2915         wcschrnul functions.
2916         * sysdeps/s390/multiarch/ifunc-impl-list.c
2917         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
2918         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
2919         * string/test-strchr.c: Add wcschrnul support.
2920         * wcsmbs/test-wcschrnul.c: New File.
2921         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
2922         * benchtests/bench-strchr.c: Add wcschrnul support.
2923         * benchtests/bench-wcschrnul.c: New File.
2924         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
2926         * sysdeps/s390/multiarch/strchr-c.c: New File.
2927         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
2928         * sysdeps/s390/multiarch/strchr.c: Likewise.
2929         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
2930         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
2931         * sysdeps/s390/multiarch/wcschr.c: Likewise.
2932         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
2933         wcschr functions.
2934         * sysdeps/s390/multiarch/ifunc-impl-list.c
2935         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
2936         * string/strchr.c (STRCHR): Define and use macro.
2937         * benchtests/bench-wcschr.c: New File.
2938         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
2940         * sysdeps/s390/multiarch/strncmp-c.c: New File.
2941         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
2942         * sysdeps/s390/multiarch/strncmp.c: Likewise.
2943         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
2944         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
2945         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
2946         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
2947         wcsncmp functions.
2948         * sysdeps/s390/multiarch/ifunc-impl-list.c
2949         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
2950         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
2951         * benchtests/bench-strncmp.c: Add wcsncmp support.
2952         * benchtests/bench-wcsncmp.c: New File.
2953         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
2955         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
2956         * sysdeps/s390/multiarch/strcmp.c: Likewise.
2957         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
2958         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
2959         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
2960         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
2961         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
2962         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
2963         wcscmp functions.
2964         * sysdeps/s390/multiarch/ifunc-impl-list.c
2965         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
2966         * string/strcmp.c (STRCMP): Define and use macro.
2967         * benchtests/bench-wcscmp.c: New File.
2968         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
2969         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
2970         instead of _HAVE_STRING_ARCH_memchr.
2972         * sysdeps/s390/multiarch/strncat-c.c: New File.
2973         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
2974         * sysdeps/s390/multiarch/strncat.c: Likewise.
2975         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
2976         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
2977         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
2978         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
2979         wcsncat functions.
2980         * sysdeps/s390/multiarch/ifunc-impl-list.c
2981         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
2982         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
2983         * string/test-strncat.c: Add wcsncat support.
2984         * wcsmbs/test-wcsncat.c: New File.
2985         * wcsmbs/Makefile (strop-tests): Add wcsncat.
2986         * benchtests/bench-strncat.c: Add wcsncat support.
2987         * benchtests/bench-wcsncat.c: New File.
2988         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
2990         * sysdeps/s390/multiarch/strcat-c.c: New File.
2991         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
2992         * sysdeps/s390/multiarch/strcat.c: Likewise.
2993         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
2994         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
2995         * sysdeps/s390/multiarch/wcscat.c: Likewise.
2996         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
2997         wcscat functions.
2998         * sysdeps/s390/multiarch/ifunc-impl-list.c
2999         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
3000         * string/strcat.c (STRCAT): Define and use macro.
3001         * wcsmbs/wcscat.c: Use WCSCAT if defined.
3002         * string/test-strcat.c: Add wcscat support.
3003         * wcsmbs/test-wcscat.c: New File.
3004         * wcsmbs/Makefile (strop-tests): Add wcscat.
3005         * benchtests/bench-strcat.c: Add wcscat support.
3006         * benchtests/bench-wcscat.c: New File.
3007         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
3009         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
3010         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
3011         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
3012         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
3013         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
3014         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
3015         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
3016         wcpncpy functions.
3017         * sysdeps/s390/multiarch/ifunc-impl-list.c
3018         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
3019         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
3020         * string/test-stpncpy.c: Add wcpncpy support.
3021         * wcsmbs/test-wcpncpy.c: New File.
3022         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
3023         * benchtests/bench-stpncpy.c: Add wcpncpy support.
3024         * benchtests/bench-wcpncpy.c: New File.
3025         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
3027         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
3028         * sysdeps/s390/multiarch/strncpy.c: Likewise.
3029         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
3030         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
3031         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
3032         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
3033         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
3034         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
3035         wcsncpy functions.
3036         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
3037         * sysdeps/s390/multiarch/ifunc-impl-list.c
3038         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
3039         * string/test-strncpy.c: Add wcsncpy support.
3040         * wcsmbs/test-wcsncpy.c: New File.
3041         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
3042         * benchtests/bench-strncpy.c: Add wcsncpy support.
3043         * benchtests/bench-wcsncpy.c: New File.
3044         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
3046         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
3047         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
3048         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
3049         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
3050         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
3051         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
3052         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
3053         wcpcpy functions.
3054         * string/stpcpy.c: Use STPCPY if defined.
3055         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
3056         * sysdeps/s390/multiarch/ifunc-impl-list.c
3057         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
3058         * string/test-stpcpy.c: Add wcpcpy support.
3059         * wcsmbs/test-wcpcpy.c: New File.
3060         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
3061         * benchtests/bench-stpcpy.c: Add wcpcpy support.
3062         * benchtests/bench-wcpcpy.c: New File.
3063         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
3065         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
3066         * sysdeps/s390/multiarch/strcpy.c: Likewise.
3067         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
3068         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
3069         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
3070         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
3071         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
3072         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
3073         wcscpy functions.
3074         * sysdeps/s390/multiarch/ifunc-impl-list.c
3075         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
3076         * benchtests/bench-wcscpy.c: New File.
3077         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
3079         * sysdeps/s390/multiarch/strnlen-c.c: New File.
3080         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
3081         * sysdeps/s390/multiarch/strnlen.c: Likewise.
3082         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
3083         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
3084         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
3085         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
3086         wcsnlen functions.
3087         * sysdeps/s390/multiarch/ifunc-impl-list.c
3088         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
3089         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
3090         * string/test-strnlen.c: Add wcsnlen support.
3091         * wcsmbs/test-wcsnlen.c: New File.
3092         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
3093         * benchtests/bench-strnlen.c: Add wcsnlen support.
3094         * benchtests/bench-wcsnlen.c: New File.
3095         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
3097         * sysdeps/s390/multiarch/Makefile: New File.
3098         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
3099         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
3100         * sysdeps/s390/multiarch/strlen.c: Likewise.
3101         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
3102         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
3103         * sysdeps/s390/multiarch/wcslen.c: Likewise.
3104         * string/strlen.c (STRLEN): Define and use macro.
3105         * sysdeps/s390/multiarch/ifunc-impl-list.c
3106         (IFUNC_VX_IMPL): New macro function.
3107         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
3108         * benchtests/Makefile (wcsmbs-bench): New variable.
3109         (string-bench-all): Added wcsmbs-bench.
3110         * benchtests/bench-wcslen.c: New File.
3112         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
3113         s390_vx_libc_ifunc2): New macro function.
3115         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
3116         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
3117         assembler support.
3118         * sysdeps/s390/configure: Regenerated.
3120         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
3121         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
3123         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
3124         * sysdeps/s390/dl-procinfo.h: Add vector capability.
3125         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
3127         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
3128         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
3129         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
3130         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
3131         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
3132         (memcmp, bcmp): Use __memcmp_default as alias source.
3133         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
3134         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
3135         Rename to __memcmp_default.
3136         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
3137         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
3138         (memcpy): Use __memcpy_default as alias source.
3139         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
3140         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
3141         Rename to __memcpy_default.
3142         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
3143         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
3144         (memset): Use __memset_default as alias source.
3145         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
3146         * sysdeps/s390/s390-32/memset.S (__memset_g5):
3147         Rename to __memset_default.
3148         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
3149         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
3150         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
3151         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
3152         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
3153         (memcmp, bcmp): Use __memcmp_default as alias source.
3154         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
3155         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
3156         Rename to __memcmp_default.
3157         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
3158         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
3159         (memcpy): Use __memcpy_default as alias source.
3160         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
3161         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
3162         Rename to __memcpy_default.
3163         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
3164         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
3165         (memset): Use __memset_default as alias source.
3166         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
3167         * sysdeps/s390/s390-64/memset.S (__memset_z900):
3168         Rename to __memset_default.
3169         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
3170         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
3172         [BZ #18610]
3173         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
3174         __ieee_instruction_pointer to __unused.
3175         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
3176         __ieee_instruction_pointer.
3177         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
3178         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
3179         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
3180         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
3181         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
3182         Mark dxc-field as reserved.
3184 2015-08-25  Roland McGrath  <roland@hack.frob.com>
3186         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
3187         if the weak reference is not null.
3189 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
3191         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
3193         [BZ #11214]
3194         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
3196 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3198         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
3199         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
3200         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
3201         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
3202         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
3203         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
3204         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
3205         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
3206         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
3207         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
3208         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
3209         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
3210         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
3211         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
3212         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
3213         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
3214         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
3215         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
3217 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3219         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
3220         register other than r0 for tabort, it has special meaning.
3221         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
3222         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
3223         transaction before starting syscall.
3225 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3227         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
3229 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
3231         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
3233         * sysdeps/x86_64/rtld-memcmp.c: Removed.
3234         * sysdeps/x86_64/rtld-memset.S: Likewise.
3235         * sysdeps/x86_64/rtld-strchr.S: Likewise.
3236         * sysdeps/x86_64/rtld-strlen.S: Likewise.
3237         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
3238         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
3240         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
3242 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
3244         * debug/strcpy_chk.c: Improve performance.
3245         * debug/stpcpy_chk.c: Likewise.
3246         * sysdeps/x86_64/strcpy_chk.S: Remove.
3247         * sysdeps/x86_64/stpcpy_chk.S: Remove.
3249         [BZ #18240]
3250         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
3252 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
3254         [BZ #15128]
3255         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
3256         ifuncmain8.
3257         (modules-names): Add ifuncmod8.
3258         ($(objpfx)ifuncmain8): New rule.
3259         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
3260         <cpuid.h>.
3261         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
3262         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
3263         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
3264         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
3265         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
3266         * sysdeps/x86_64/dl-trampoline.h: Likewise.
3267         * sysdeps/x86_64/ifuncmain8.c: New file.
3268         * sysdeps/x86_64/ifuncmod8.c: Likewise.
3269         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
3270         Removed.
3271         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
3272         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
3273         Change rtld_savespace_sse to __glibc_unused2.
3274         (RTLD_CHECK_FOREIGN_CALL): Removed.
3275         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
3276         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
3277         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
3279 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
3281         * sysdeps/aarch64/bzero.S (__bzero): Remove.
3283 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
3285         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
3286         Unconditionally set __fpcr to avoid uninialized warning.
3287         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
3289 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3291         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
3292         is corrupt.
3294         * malloc/arena.c (arena_get2): Drop unused argument.
3295         (arena_lock): Adjust.
3296         (arena_get_retry): Likewise.
3298 2015-08-24  Andreas Schwab  <schwab@suse.de>
3300         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
3301         Don't define.
3302         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3303         (__ASSUME_IPC64): Don't undef.
3304         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
3305         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
3306         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
3307         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
3308         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
3309         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
3310         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
3311         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
3312         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
3313         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
3314         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
3315         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
3316         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
3317         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
3318         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
3319         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
3320         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
3321         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
3322         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
3323         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
3324         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
3326 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
3328         * manual/Makefile (install): Only build manual when perl is available.
3330 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3332         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
3333         '#undef memcpy' by '#undef memchr'.
3335 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3337         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
3338         memchr not point to the internal __GI_memchr implementation.
3340 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
3342         * timezone/Makefile (CFLAGS-zdump.c): Remove
3343         -Wno-strict-prototypes.
3344         (CFLAGS-zic.c): Likewise.
3345         (CFLAGS-ialloc.c): Likewise.
3346         (CFLAGS-scheck.c): Likewise.
3348         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
3349         -Wno-error=undef.
3351 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
3353         * i386/i686/multiarch/strcasestr-c.c: Removed.
3354         * x86_64/multiarch/strcasestr.c: Likewise.
3355         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3356         Remove strcasestr.
3358 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
3360         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
3362         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
3363         variables for high and low parts before possibly modifying them.
3365 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
3367         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
3368         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
3369         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
3370         of "multiarch/init-arch.h".
3371         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
3372         * sysdeps/x86/init-arch.h: This.
3374 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
3376         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
3377         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
3379 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
3381         [BZ #17787]
3382         * manual/macros.texi: Add twoexp macro.
3383         * manual/filesys.texi: Fix exponents.
3384         * manual/llio.texi: Likewise.
3385         * manual/stdio.texi: Likewise.
3387 2015-08-20  Florian Weimer  <fweimer@redhat.com>
3389         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
3390         incorrect use.
3392 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
3394         [BZ #18370]
3395         * math/s_csqrt.c (__csqrt): Force underflow exception for results
3396         whose real or imaginary part has small absolute value.
3397         * math/s_csqrtf.c (__csqrtf): Likewise.
3398         * math/s_csqrtl.c (__csqrtl): Likewise.
3399         * math/auto-libm-test-in: Add more tests of csqrt.
3400         * math/auto-libm-test-out: Regenerated.
3401         * sysdeps/i386/fpu/libm-test-ulps: Update.
3403 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3405         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
3406         __ppc_set_ppr_very_low): New functions.
3407         * manual/platform.texi: Add documentation about
3408         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
3410 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
3412         * string/stpncpy.c (stpncpy): Improve performance using
3413         __strnlen/memcpy/memset.
3415 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
3417         [BZ #18796]
3418         * scripts/test-installation.pl: Don't add -lmvec to build options if
3419         libmvec wasn't built.
3421 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
3423         [BZ #14341]
3424         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
3425         case when there is a gap between DT_REL and DT_JMPREL sections.
3426         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
3427         (LDFLAGS-tst-split-dynreloc): New.
3428         (tst-split-dynreloc-ENV): Likewise.
3429         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
3430         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
3432 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
3434         [BZ #18822]
3435         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
3436         attribute_hidden.
3437         (__xstat64_conv): Likewise.
3438         (__xstat32_conv): Likewise.
3440 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
3442         [BZ #18822]
3443         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
3444         Don't load %ebx when calling __setcontext.  Call __setcontext
3445         with HIDDEN_JUMPTARGET.
3446         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
3447         libc_hidden_def.
3449 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
3451         * sysdeps/i386/i686/Makefile
3452         [$(subdir) == string] (sysdep_routines): Moved to ...
3453         * sysdeps/i386/Makefile: Here.
3454         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
3455         * sysdeps/i386/cacheinfo.c: Here.
3456         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
3457         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
3458         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
3459         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
3461 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
3463         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
3464         __i586__ is defined.
3465         (HAS_I686): Defined to 1 if __i686__ is defined.
3467 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
3469         * elf/Makefile [$(have-z-execstack) = yes]
3470         (CPPFLAGS-tst-execstack.c): New variable.
3472         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
3473         conditional to [defined UTMPX || _HAVE_UT_TYPE].
3474         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
3475         UTMPX || _HAVE_UT_TV].
3476         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
3477         UTMPX || _HAVE_UT_TV - 0].
3479 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
3481         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
3482         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
3483         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
3485 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3487         * sysdeps/powerpc/dl-procinfo.c:
3488         (_dl_powerpc_cap_flags): Added missing strings for some
3489         hwcap features.
3490         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
3492 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
3494         Port the 0x7efe...feff pattern to GCC 6.
3495         See Steve Ellcey's bug report in:
3496         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
3497         * string/memrchr.c (MEMRCHR):
3498         * string/rawmemchr.c (RAWMEMCHR):
3499         * string/strchr.c (strchr):
3500         * string/strchrnul.c (STRCHRNUL):
3501         Rewrite code to avoid issues with signed shift overflow.
3503 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
3505         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
3506         whether cpuid is available only if HAS_CPUID is 0.
3507         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
3508         (HAS_I586): Likewise.
3509         (HAS_I686): Likewise.
3511 2015-08-18  Zack Weinberg  <zackw@panix.com>
3513         * misc/Versions (libc): Add GLIBC_2.23.
3515 2015-08-18  Alan Modra  <amodra@gmail.com>
3517         [BZ #18421]
3518         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
3519         .Lp__global.
3520         (_start): Load %dp via .Lp__global.
3521         [!SHARED]: Use .section .rodata.
3523 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
3525         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
3526         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
3528 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
3530         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
3531         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
3533 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
3535         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
3536         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
3538 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
3540         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
3541         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
3543 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
3545         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
3546         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
3548 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
3550         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
3551         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
3553 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
3555         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
3557 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
3559         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
3560         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
3561         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3562         (__ASSUME_LWS_CAS): Delete.
3564 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
3566         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
3567         * sysdeps/hppa/configure: Regenerated.
3568         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
3569         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
3570         * sysdeps/hppa/nptl/tls.h: Likewise.
3572 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
3574         [BZ #18823]
3575         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
3576         for scaling up small arguments.
3577         * math/s_csqrtf.c (__csqrtf): Likewise.
3578         * math/s_csqrtl.c (__csqrtl): Likewise.
3579         * math/auto-libm-test-in: Add more tests of csqrt.
3580         * math/auto-libm-test-out: Regenerated.
3582 2015-08-17  Andreas Schwab  <schwab@suse.de>
3584         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
3585         version set GLIBC_2.19.
3587 2015-08-16  Zack Weinberg  <zackw@panix.com>
3589         [BZ #18681]
3590         * misc/regexp.h: This interface is no longer supported.
3591         Remove all contents, leaving only an #error directive.
3592         * misc/regexp.c (loc1, loc2, locs, step, advance):
3593         Demote to compatibility symbols.
3595 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
3597         [BZ #18084]
3598         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
3599         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
3600         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
3601         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
3602         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
3603         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
3604         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
3605         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
3606         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
3608 2015-08-15  Zack Weinberg  <zackw@panix.com>
3610         [BZ #18795]
3611         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
3612         buffer length is known to be too large, not if it's known to be
3613         small enough.
3614         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
3615         overflow at runtime, involving a length parameter, twice: once
3616         with a compile-time constant length parameter, once without.
3618 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
3620         [BZ #18824]
3621         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
3622         scaling x * y up instead of down.
3623         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3624         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3625         * math/auto-libm-test-in: Add more tests of fma.
3626         * math/auto-libm-test-out: Regenerated.
3628 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
3630         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3632 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
3634         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
3635         unnecessary movq.
3636         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
3637         Likewise.
3639 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
3641         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
3642         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
3643         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
3644         and tgamma.
3645         * math/auto-libm-test-out: Regenerated.
3646         * sysdeps/i386/fpu/libm-test-ulps: Update.
3647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3649         [BZ #16520]
3650         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
3651         (__tanh): Force underflow exception for arguments with small
3652         absolute value.
3653         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
3654         (__tanhf): Force underflow exception for arguments with small
3655         absolute value.
3656         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
3657         (__tanhl): Force underflow exception for arguments with small
3658         absolute value.
3659         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
3660         (__tanhl): Force underflow exception for arguments with small
3661         absolute value.
3662         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
3663         (__tanhl): Force underflow exception for arguments with small
3664         absolute value.
3665         * math/auto-libm-test-in: Add more tests of tanh.
3666         * math/auto-libm-test-out: Regenerated.
3667         * sysdeps/i386/fpu/libm-test-ulps: Update.
3669 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
3671         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
3672         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
3674 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
3676         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
3677         <cpuid.h>.
3679 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
3681         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
3682         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
3684 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
3686         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
3687         Remove $(objpfx)init-arch.o.
3688         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
3689         init-arch.
3690         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
3691         (INIT_ARCH_EXT): Defined as empty.
3692         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
3693         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
3694         __init_cpu_features call.  Replace HAS_XXX with
3695         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
3696         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
3697         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
3698         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
3699         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
3700         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
3701         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
3702         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
3703         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
3704         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
3705         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
3706         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
3707         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
3708         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
3709         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
3710         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
3711         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
3712         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
3713         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
3714         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
3715         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
3716         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
3717         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
3718         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
3719         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
3720         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
3721         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
3722         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
3723         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
3724         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
3725         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
3726         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
3727         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
3728         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
3729         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
3730         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
3732 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
3734         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
3735         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
3736         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
3737         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
3738         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
3739         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
3740         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
3741         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
3742         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
3743         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
3744         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
3745         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
3746         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
3747         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3748         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3749         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3750         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3751         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3752         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3753         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3754         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3755         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3756         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3757         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3758         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3759         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3760         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3761         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3762         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3763         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3764         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3765         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3766         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3767         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3768         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3769         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3770         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3771         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3772         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3773         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3774         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3775         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3776         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3778 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
3780         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
3781         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
3782         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
3783         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3784         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3785         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
3786         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3787         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
3788         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
3789         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3790         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3791         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
3792         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
3793         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
3794         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
3795         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
3796         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
3797         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
3798         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
3799         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
3800         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
3801         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
3802         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
3803         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3804         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3805         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
3806         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
3807         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
3808         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
3809         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3810         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3811         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3812         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3813         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3814         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3815         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3816         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3817         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3818         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3819         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3820         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3821         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3822         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3824 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
3826         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
3827         (dl_platform_init): Call init_cpu_features.
3828         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
3829         * sysdeps/i386/i686/cacheinfo.c
3830         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
3831         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
3832         * sysdeps/i386/i686/multiarch/Versions: Removed.
3833         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
3834         Removed.
3835         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
3836         * sysdeps/unix/sysv/linux/x86/Makefile
3837         (libpthread-sysdep_routines): Remove init-arch.
3838         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
3839         <sysdeps/x86_64/dl-procinfo.c> instead of
3840         sysdeps/generic/dl-procinfo.c>.
3841         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
3842         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
3843         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
3844         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
3845         [$(subdir) == elf] (tests-static): Add
3846         tst-get-cpu-features-static.
3847         * sysdeps/x86/Versions: New file.
3848         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
3849         * sysdeps/x86/cpu-features.c: Likewise.
3850         * sysdeps/x86/cpu-features.h: Likewise.
3851         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
3852         * sysdeps/x86/libc-start.c: Likewise.
3853         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
3854         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
3855         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
3856         * sysdeps/x86_64/dl-procinfo.c: Likewise.
3857         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
3858         Assume USE_MULTIARCH is defined and don't check it.
3859         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
3860         (is_amd): Likewise.
3861         (max_cpuid): Likewise.
3862         (intel_check_word): Likewise.
3863         (__cache_sysconf): Don't call __init_cpu_features.
3864         (__x86_preferred_memory_instruction): Removed.
3865         (init_cacheinfo): Don't call __init_cpu_features. Replace
3866         __cpu_features with GLRO(dl_x86_cpu_features).
3867         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
3868         (dl_platform_init): Call init_cpu_features.
3869         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
3870         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
3871         * sysdeps/x86_64/multiarch/Versions: Removed.
3872         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
3873         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
3874         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
3875         Removed.
3876         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
3878 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
3880         [BZ #18820]
3881         * libio/Makefile (test-fmemopen-mem): New test.
3882         * libio/test-fmemopen.c (do_bz18820): New test.
3883         * libio/fmemopen.c (__fmemopen): Fix memory leak.
3884         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
3886 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
3888         [BZ #16734]
3889         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
3890         (FREE_BUF): Delete.
3891         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
3892         * libio/genops.c (_IO_setb): Use malloc and free directly.
3893         (_IO_default_doallocate, _IO_default_finish): Likewise.
3894         ( _IO_unbuffer_all): Likewise.
3895         ( libc_freeres_fn): Likewise.
3896         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3897         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
3898         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
3899         (_IO_wdefault_doallocate): Likewise.
3901 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
3903         [BZ #18086]
3904         * sysdeps/posix/nice.c (nice): Restore old errno.
3905         * posix/tst-nice.c (do_test): Add test for BZ #18086.
3907 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
3909         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
3911 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3913         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
3914         __bcopy and add a weak_alias to bcopy.
3915         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
3916         for static build.
3918         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
3919         cleanup macro usage.
3920         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
3921         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
3922         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
3923         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
3924         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
3925         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
3926         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
3927         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
3928         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
3929         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
3930         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
3931         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
3932         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
3933         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
3934         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
3935         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
3936         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
3937         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
3938         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
3940         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
3941         libc_hidden_def.
3942         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
3944         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
3945         (sysdep_routines): Add strstr-ppc64.
3946         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
3948 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
3950         [BZ #18778]
3951         * elf/Makefile (tests): Add Add tst-nodelete2.
3952         (modules-names): Add tst-nodelete2mod.
3953         (tst-nodelete2mod.so-no-z-defs): New.
3954         ($(objpfx)tst-nodelete2): Likewise.
3955         ($(objpfx)tst-nodelete2.out): Likewise.
3956         (LDFLAGS-tst-nodelete2): Likewise.
3957         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
3958         out of loop through all loaded libraries.
3959         * elf/tst-nodelete2.c: New file.
3960         * elf/tst-nodelete2mod.c: Likewise.
3961         * elf/tst-znodelete-zlib.cc: Delete.
3963 2015-08-11  Andreas Schwab  <schwab@suse.de>
3965         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
3966         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
3967         (__openat64_nocancel): Likewise.
3969 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
3971         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
3972         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
3973         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
3974         * math/auto-libm-test-out: Regenerated.
3975         * sysdeps/i386/fpu/libm-test-ulps: Update.
3976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3978 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
3980         [BZ #18790]
3981         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
3982         threshold for returning +/- 1.
3983         * math/auto-libm-test-in: Add more tests of tanh.
3984         * math/auto-libm-test-out: Regenerated.
3985         * sysdeps/i386/fpu/libm-test-ulps: Update.
3987 2015-08-10  Andreas Schwab  <schwab@suse.de>
3989         [BZ #18781]
3990         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
3991         MORE_OFLAGS to oflag.
3992         * io/test-lfs.c (do_test): Test openat64.
3994 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
3996         [BZ #18789]
3997         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
3998         smaller threshold for returning the argument.
3999         * math/auto-libm-test-in: Add more tests of sinh.
4000         * math/auto-libm-test-out: Regenerated.
4001         * sysdeps/i386/fpu/libm-test-ulps: Update.
4003 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
4005         [BZ #18674]
4006         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
4007         break.
4009 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
4011         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
4012         (generated): Don't add $(addprefix z.,$(tzfiles)).
4014 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
4016         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
4017         * scripts/sysd-rules.awk: Likewise.
4019 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
4021         * iconvdata/tst-tables.sh: Change echo -n to printf.
4022         * nss/db-Makefile: Likewise.
4023         * posix/tst-getconf.sh: Likewise.
4024         * stdio-common/tst-unbputc.sh: Likewise.
4026 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
4028         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
4029         MADV_*_PAGES defines behind this feature check.
4031 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
4033         [BZ #18480]
4034         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
4035         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
4036         Define.
4037         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
4038         LOAD_REGS_5, LOAD_REGS_6): Update.
4039         (INTERNAL_SYSCALL): Update using new LOAD defines.
4040         (INTERNAL_SYSCALL_NCS): Likewise.
4041         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
4043 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
4045         [BZ #16734]
4046         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
4048 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
4050         [BZ #17905]
4051         * catgets/Makefile (tst-catgets-mem): New test.
4052         * catgets/catgets.c (catopen): Don't use unbounded alloca.
4053         * catgets/open_catalog.c (__open_catalog): Likewise.
4054         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
4056 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
4058         [BZ #18787]
4059         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
4060         clobber registers.
4061         (atomic_compare_and_exchange_val_acq): Use register asms to assign
4062         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
4063         Cast return to __typeof (oldval).
4065 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
4067         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
4068         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
4069         and delete sys/syscall.h include.
4071 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
4073         [BZ #16517]
4074         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
4075         (tan): Force underflow exception for arguments with small absolute
4076         value.
4077         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
4078         (__kernel_tanf): Force underflow exception for arguments with
4079         small absolute value.
4080         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
4081         (__kernel_tanl): Force underflow exception for arguments with
4082         small absolute value.
4083         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
4084         (__kernel_tanl): Force underflow exception for arguments with
4085         small absolute value.
4086         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
4087         (__kernel_tanl): Force underflow exception for arguments with
4088         small absolute value.
4089         * math/auto-libm-test-in: Add more tests of tan.
4090         * math/auto-libm-test-out: Regenerated.
4092 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4094         Fix sysdeps/i386/fpu/s_scalbn.S build
4096         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
4098 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
4100         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
4102 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4104         Fix gcrt0.o compilation
4106         When static-start-installed-name is different from
4107         start-installed-name, we must not use the shared objects.
4109         * csu/Makefile
4110         (extra-objs): Add gmon-start.o when building shared library and
4111         $(static-start-installed-name) is different from
4112         $(start-installed-name).
4113         $(objpfx)g$(static-start-installed-name): When building shared
4114         library and $(static-start-installed-name) is different from
4115         $(static-start-installed-name), revert to non-shared rule,
4116         i.e. using $(objpfx)% and gmon-start.o.
4118 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
4120         [BZ #16519]
4121         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
4122         (__ieee754_sinh): Force underflow exception for arguments with
4123         small absolute value.
4124         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
4125         (__ieee754_sinhf): Force underflow exception for arguments with
4126         small absolute value.
4127         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
4128         (__ieee754_sinhl): Force underflow exception for arguments with
4129         small absolute value.
4130         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
4131         (__ieee754_sinhl): Force underflow exception for arguments with
4132         small absolute value.
4133         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
4134         (__ieee754_sinhl): Force underflow exception for arguments with
4135         small absolute value.
4136         * math/auto-libm-test-in: Add more tests of sinh.
4137         * math/auto-libm-test-out: Regenerated.
4138         * sysdeps/i386/fpu/libm-test-ulps: Update.
4140 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
4142         * libio/oldfileops.c: Include unistd.h.
4144 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
4146         * stdlib/isomac.c: Include ctype.h.
4148 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
4150         * dirent/tst-seekdir.c (main): Converted to ...
4151         (do_test): ... this.
4152         (TEST_FUNCTION): New macro.
4153         Include test-skeleton.c.
4154         * elf/tst-dlmodcount.c (main): Converted to ...
4155         (do_test): ... this.
4156         (TEST_FUNCTION): New macro.
4157         Include test-skeleton.c.
4158         * elf/tst-order-main.c (main): Converted to ...
4159         (do_test): ... this.
4160         (TEST_FUNCTION): New macro.
4161         Include test-skeleton.c.
4162         * elf/tst-pie2.c (main): Converted to ...
4163         (do_test): ... this.
4164         (TEST_FUNCTION): New macro.
4165         Include test-skeleton.c.
4166         * inet/tst-ether_aton.c (main): Converted to ...
4167         (do_test): ... this.
4168         (TEST_FUNCTION): New macro.
4169         Include test-skeleton.c.
4170         * misc/tst-mntent.c (main): Converted to ...
4171         (do_test): ... this.
4172         (TEST_FUNCTION): New macro.
4173         Include test-skeleton.c.
4174         * misc/tst-tsearch.c (main): Converted to ...
4175         (do_test): ... this.
4176         (TEST_FUNCTION): New macro.
4177         Include test-skeleton.c.
4178         * posix/tst-regexloc.c (main): Converted to ...
4179         (do_test): ... this.
4180         (TEST_FUNCTION): New macro.
4181         Include test-skeleton.c.
4182         * resolv/tst-aton.c (main): Converted to ...
4183         (do_test): ... this.
4184         (TEST_FUNCTION): New macro.
4185         Include test-skeleton.c.
4186         * stdio-common/test-fwrite.c (main): Converted to ...
4187         (do_test): ... this.
4188         (TEST_FUNCTION): New macro.
4189         Include test-skeleton.c.
4190         * stdio-common/tst-ferror.c (main): Converted to ...
4191         (do_test): ... this.
4192         (TEST_FUNCTION): New macro.
4193         Include test-skeleton.c.
4194         * stdio-common/tst-printf.c (main): Converted to ...
4195         (do_test): ... this.
4196         (TEST_FUNCTION): New macro.
4197         Include test-skeleton.c.
4198         * stdio-common/tst-printfsz.c (main): Converted to ...
4199         (do_test): ... this.
4200         (TEST_FUNCTION): New macro.
4201         Include test-skeleton.c.
4202         * stdlib/tst-strtod.c (main): Converted to ...
4203         (do_test): ... this.
4204         (TEST_FUNCTION): New macro.
4205         Include test-skeleton.c.
4206         * string/tst-strlen.c (main): Converted to ...
4207         (do_test): ... this.
4208         (TEST_FUNCTION): New macro.
4209         Include test-skeleton.c.
4210         * string/tst-svc.c (main): Converted to ...
4211         (do_test): ... this.
4212         (TEST_FUNCTION): New macro.
4213         Include test-skeleton.c.
4214         * time/tst-strptime.c (main): Converted to ...
4215         (do_test): ... this.
4216         (TEST_FUNCTION): New macro.
4217         Include test-skeleton.c.
4218         * timezone/tst-timezone.c (main): Converted to ...
4219         (do_test): ... this.
4220         (TEST_FUNCTION): New macro.
4221         Include test-skeleton.c.
4223 2015-08-05  Zack Weinberg  <zackw@panix.com>
4225         * misc/regexp.h: Update comments.
4227 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
4229         [BZ #18635]
4230         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
4231         before return label.
4233 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
4235         [BZ #18661]
4236         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
4237         when calling __errno_location.
4238         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
4239         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
4241 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
4243         [BZ #18661]
4244         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
4245         (__lll_timedwait_tid): Align stack to 16 bytes when calling
4246         __gettimeofday.
4248 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
4250         [BZ #18661]
4251         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
4252         (__start_context): Don't use pop to restore %rdi so that stack
4253         is aligned to 16 bytes when calling __setcontext.
4255 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
4257         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
4258         only for libc.
4259         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4261 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
4263         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
4264         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
4265         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
4267 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
4269         * string/memccpy.c (memccpy):
4270         Improve performance by using memchr/memcpy/__mempcpy.
4272 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
4274         * string/strncpy.c (strncpy):
4275         Improve performance by using __strnlen/memcpy.
4277 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
4279         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
4280         Optimize to avoid an unnecessary FPCR read.
4282 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
4284         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
4285         Optimize to reduce FPCR/FPSR accesses.
4287 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
4289         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
4290         dead->data[category] != NULL.
4292 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
4294         [BZ #18647]
4295         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
4296         and |x| close to 1, use absolute value of x when computing log.
4297         * math/auto-libm-test-in: Add more tests of pow.
4298         * math/auto-libm-test-out: Regenerated.
4300 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4302         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
4303         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
4304         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
4306 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
4308         [BZ #18525]
4309         * locales/km_KH: Remove timezone definition.
4310         * locales/lo_LA: Likewise.
4311         * locales/my_MM: Likewise.
4312         * locales/nan_TW@latin: Likewise.
4313         * locales/th_TH: Likewise.
4314         * locales/uk_UA: Likewise.
4316 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
4318         [BZ #18265]
4319         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
4320         (wcsncat): Likewise.
4321         (wcscmp): Likewise.
4322         (wcsncmp): Likewise.
4324 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
4326         * test-skeleton.c (usage): New function.
4327         (main): Call usage when opt is '?'.
4329 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
4331         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
4332         before first use.
4334 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
4336         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
4337         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
4338         in there too.
4340 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
4342         * version.h (RELEASE): Set to "development".
4343         (VERSION): Set to "2.22.90"
4345         * version.h (RELEASE): Set to "stable".
4346         (VERSION): Set to "2.22"
4347         * include/features.h (__GLIBC_MINOR__): Set to 22.
4349 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
4351         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
4352         Restructure macro to avoid "value computed is not used" warning.
4353         (atomic_compare_and_exchange_val_acq): Likewise.
4355 2015-08-04  Andreas Schwab  <schwab@suse.de>
4357         [BZ #18635]
4358         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
4359         ret.
4360         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
4362 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
4364         * po/pl.po: Updated translation.
4365         * po/uk.po: Likewise.
4366         * po/fi.po: Likewise.
4367         * po/ko.po: Likewise.
4368         * po/ru.po: Likewise.
4369         * po/vi.po: Likewise.
4371 2015-07-31  Zack Weinberg  <zackw@panix.com>
4373         [BZ #18681]
4374         * regexp.h: Add unconditional #warning stating that this header
4375         will be removed soon.  Revise banner comment to match.
4376         (compile): Consistently use ERROR instead of RETURN to report
4377         errors (partial fix for bz#18681).
4378         * regexp.c: Don't include regexp.h. Remove some unnecessary
4379         declarations.
4381 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
4383         * po/libc.pot: Regenerated.
4385 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
4387         [BZ #18740]
4388         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
4389         float-vlen4-arch-ext-cflags): Removed.
4390         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
4391         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
4393 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
4395         [BZ #14113]
4396         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
4397         aligned to __aligned__.
4398         (pthread_cond_t, pthread_rwlock_t): Likewise.
4400 2015-07-30  Torvald Riegel  <triegel@redhat.com>
4402         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
4404 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
4406         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
4407         (struct sigaction): Change sa_flags from a long to an int, and add
4408         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
4410 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
4412         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
4413         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
4414         sysdeps/generic/sysdep.h include.
4415         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
4416         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
4417         sysdeps/hppa/sysdep.h.
4418         (ENTRY, PSEUDO): Undefine before defining.
4420 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
4422         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
4423         from scratch to use INTERNAL_SYSCALL.
4425 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
4427         [BZ #18078]
4428         * scripts/check-localplt.awk: Support alternate relocations.
4429         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
4430         sections.
4431         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
4432         malloc entries with + REL R_386_GLOB_DAT.
4433         * sysdeps/x86_64/localplt.data: New file.
4435 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
4437         [BZ #18731]
4438         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
4439         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4440         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4442 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
4444         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
4446 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
4448         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
4449         directly in terms of __sync_fetch_and_add and delete (int) cast.
4451 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
4453         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
4454         the -D_ASM_IA64_CURRENT_H flag.
4456 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
4458         [BZ #18641]
4459         * pwd/pwd.h (putpwent): Delete __nonnull markings.
4461 2015-07-27  Andreas Schwab  <schwab@suse.de>
4463         * conform/conformtest.pl (checknamespace): Filter out string
4464         literals while tokenizing.
4466 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
4468         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
4469         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
4470         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
4472 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
4474         * nptl/tst-join7mod.c: Add #include <string.h>.
4476 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
4478         * sysdeps/nios2/libm-test-ulps: Update.
4480 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
4482         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
4483         Fix order of arguments to the rt_sigprocmask syscall.
4484         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
4485         Likewise.
4487 2015-07-24  Roland McGrath  <roland@hack.frob.com>
4489         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
4491 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4493         [BZ #18457]
4494         * nptl/Makefile (tests): New test case tst-join7.
4495         (modules-names): New test case module tst-join7mod.
4496         * nptl/tst-join7.c: New file.
4497         * nptl/tst-join7mod.c: New file.
4498         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
4499         all translation units in libc.so, libpthread.so and rtld.
4501 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4503         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4505 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
4507         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
4508         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
4509         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
4510         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
4511         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
4512         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
4513         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
4514         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
4515         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
4516         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
4517         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
4518         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
4519         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
4520         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
4521         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
4522         implementation.
4524 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4526         [BZ #17711]
4527         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
4528         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
4529         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
4530         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
4531         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
4532         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
4534 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4536         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
4537         instead of just saying load lock in the comments.
4539 2015-07-23  Roland McGrath  <roland@hack.frob.com>
4541         * sysdeps/unix/Subdirs: Moved ...
4542         * sysdeps/posix/Subdirs: ... here.
4543         * login/pty.h (struct termios, struct winsize): Add forward decls.
4544         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
4545         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
4546         * sysdeps/arm/nacl/libc.abilist: Updated.
4547         * sysdeps/nacl/libutil.abilist: New file.
4549         * bits/signum.h: Update comments to mention 1003.1-2013 too.
4550         (SIGWINCH): New macro.
4552         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
4553         * sysdeps/arm/nacl/libc.abilist: Add it.
4555 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
4557         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
4559 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
4561         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
4562         Swap __glibc_reserved0 and sa_flags order.
4564 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
4566         [BZ #18657]
4567         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
4568         are pending TLS destructor calls.
4569         * include/link.h (struct link_map): Add concurrency note for
4570         L_TLS_DTOR_COUNT.
4571         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
4572         Don't touch the link map flag.  Atomically increment
4573         l_tls_dtor_count.
4574         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
4575         Avoid taking the load lock and don't touch the link map flag.
4576         * stdlib/tst-tls-atexit-nodelete.c: New test case.
4577         * stdlib/Makefile (tests): Use it.
4578         * stdlib/tst-tls-atexit.c (do_test): dlopen
4579         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
4580         to allow tst-tls-atexit-nodelete test case to use it.
4582 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
4584         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
4585         to bits/types.h.
4586         (msgqnum_t): New typedef.
4587         (msglen_t): Likewise.
4588         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
4589         and msg_qbytes type to msglen_t.
4591 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
4593         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
4594         pad0 to __glibc_reserved0.
4595         (struct stat64): Likewise.
4597 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
4599         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
4600         Change sa_flags from a long to an int and add __glibc_reserved0 before
4601         it for padding.
4603 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
4605         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
4606         anonymous by deleting "siginfo" name.
4608 2015-07-21  Roland McGrath  <roland@hack.frob.com>
4610         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
4611         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
4612         rather than __nacl_irt_filename.
4613         * sysdeps/nacl/xstat.c (__xstat): Likewise.
4615         * NEWS: New item for arm-nacl port.
4616         * sysdeps/arm/nacl/libc.abilist: New file.
4617         * sysdeps/nacl/ld.abilist: New file.
4618         * sysdeps/nacl/libBrokenLocale.abilist: New file.
4619         * sysdeps/nacl/libanl.abilist: New file.
4620         * sysdeps/nacl/libcrypt.abilist: New file.
4621         * sysdeps/nacl/libdl.abilist: New file.
4622         * sysdeps/nacl/libm.abilist: New file.
4623         * sysdeps/nacl/libpthread.abilist: New file.
4624         * sysdeps/nacl/libresolv.abilist: New file.
4625         * sysdeps/nacl/librt.abilist: New file.
4627 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
4629         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
4630         __startcontext to initialize the new context.
4631         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
4632         up CFI directive to forbid further backtracing.
4634 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
4636         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
4637         reference.
4638         * charmaps/ANSI_X3.4-1968: Likewise.
4639         * charmaps/BS_4730: Likewise.
4640         * charmaps/BS_VIEWDATA: Likewise.
4641         * charmaps/CP1250: Likewise.
4642         * charmaps/CP1251: Likewise.
4643         * charmaps/CP1252: Likewise.
4644         * charmaps/CP1253: Likewise.
4645         * charmaps/CP1254: Likewise.
4646         * charmaps/CP1255: Likewise.
4647         * charmaps/CP1256: Likewise.
4648         * charmaps/CSN_369103: Likewise.
4649         * charmaps/EBCDIC-DK-NO: Likewise.
4650         * charmaps/GB_1988-80: Likewise.
4651         * charmaps/GREEK-CCITT: Likewise.
4652         * charmaps/GREEK7: Likewise.
4653         * charmaps/INIS-8: Likewise.
4654         * charmaps/ISIRI-3342: Likewise.
4655         * charmaps/ISO_2033-1983: Likewise.
4656         * charmaps/ISO_5427-EXT: Likewise.
4657         * locales/POSIX: Likewise.
4658         * locales/ar_SA: Likewise.
4659         * locales/be_BY: Likewise.
4660         * locales/be_BY@latin: Likewise.
4661         * locales/ca_ES: Likewise.
4662         * locales/cs_CZ: Likewise.
4663         * locales/da_DK: Likewise.
4664         * locales/de_BE: Likewise.
4665         * locales/de_CH: Likewise.
4666         * locales/de_LU: Likewise.
4667         * locales/en_AU: Likewise.
4668         * locales/en_BW: Likewise.
4669         * locales/en_CA: Likewise.
4670         * locales/en_DK: Likewise.
4671         * locales/en_GB: Likewise.
4672         * locales/en_IE: Likewise.
4673         * locales/en_NZ: Likewise.
4674         * locales/en_ZA: Likewise.
4675         * locales/en_ZW: Likewise.
4676         * locales/es_AR: Likewise.
4677         * locales/es_BO: Likewise.
4678         * locales/es_CL: Likewise.
4679         * locales/es_CO: Likewise.
4680         * locales/es_DO: Likewise.
4681         * locales/es_EC: Likewise.
4682         * locales/es_ES: Likewise.
4683         * locales/es_HN: Likewise.
4684         * locales/es_MX: Likewise.
4685         * locales/es_PA: Likewise.
4686         * locales/es_PE: Likewise.
4687         * locales/es_PY: Likewise.
4688         * locales/es_SV: Likewise.
4689         * locales/es_US: Likewise.
4690         * locales/es_UY: Likewise.
4691         * locales/es_VE: Likewise.
4692         * locales/et_EE: Likewise.
4693         * locales/fa_IR: Likewise.
4694         * locales/fo_FO: Likewise.
4695         * locales/fr_CA: Likewise.
4696         * locales/fr_CH: Likewise.
4697         * locales/gv_GB: Likewise.
4698         * locales/he_IL: Likewise.
4699         * locales/hr_HR: Likewise.
4700         * locales/id_ID: Likewise.
4701         * locales/is_IS: Likewise.
4702         * locales/it_CH: Likewise.
4703         * locales/iw_IL: Likewise.
4704         * locales/kl_GL: Likewise.
4705         * locales/ko_KR: Likewise.
4706         * locales/kw_GB: Likewise.
4707         * locales/lg_UG: Likewise.
4708         * locales/lt_LT: Likewise.
4709         * locales/lv_LV: Likewise.
4710         * locales/mi_NZ: Likewise.
4711         * locales/nhn_MX: Likewise.
4712         * locales/nl_BE: Likewise.
4713         * locales/pl_PL: Likewise.
4714         * locales/sk_SK: Likewise.
4715         * locales/sl_SI: Likewise.
4716         * locales/sv_FI: Likewise.
4717         * locales/tl_PH: Likewise.
4718         * locales/tr_TR: Likewise.
4719         * locales/vi_VN: Likewise.
4721 2015-07-21  Khem Raj  <raj.khem@gmail.com>
4723         [BZ #17475]
4724         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
4725         of tu_IN and bh_IN.
4727 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
4729         [BZ #18694]
4730         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
4731         bits/wordsize.h.
4732         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
4734 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4736         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
4737         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
4738         (spawn_thread): New function.
4739         (load): Rename to reg_dtor_and_close.  Move dlopen to...
4740         (do_test): ... here.  Use IS_LOADED to test for its
4741         availability.
4743 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
4745         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4747 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
4749         [BZ #18696]
4750         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
4751         si_addr_bnd.
4752         (si_lower): New.
4753         (si_upper): Likewise.
4755 2015-07-16  David S. Miller  <davem@davemloft.net>
4757         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
4759 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4761         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
4762         buffer.
4763         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
4764         fail output information.
4766 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4768         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
4769         and strstr-ppc64..
4770         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
4771         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
4772         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
4773         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
4774         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
4776 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
4778         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
4779         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
4780         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
4781         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
4783 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
4785         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
4786         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
4787         rtld_hidden_proto.
4788         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
4790 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4792         * tst-nodelete-opened.c (do_test): Add comment to clarify how
4793         the test can fail.
4795         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
4797         [BZ #18676]
4798         * elf/tst-nodelete-opened.c: New test case.
4799         * elf/tst-nodelete-opened-lib.c: New test case module.
4800         * elf/Makefile (tests, modules-names): Use them.
4801         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
4802         early.
4804 2015-07-15  David S. Miller  <davem@davemloft.net>
4806         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
4807         futex-intenal.h
4808         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
4809         * sysdeps/sparc/sparc64/Makefile: Likewise.
4810         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
4811         Remove space from macro define.
4812         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
4814 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
4816         [BZ #17475]
4817         * locale/iso-639.def: Update Bhili and Tulu language codes as
4818         per iso639-3.
4820 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
4822         * elf/tst-leaks1.c (main): Converted to ...
4823         (do_test): ... this.
4824         (TEST_FUNCTION): New macro.
4825         Include test-skeleton.c.
4826         * localedata/tst-langinfo.c (main): Converted to ...
4827         (do_test): ... this.
4828         (TEST_FUNCTION): New macro.
4829         Include test-skeleton.c.
4830         * math/test-fpucw.c (main): Converted to ...
4831         (do_test): ... this.
4832         (TEST_FUNCTION): New macro.
4833         Include test-skeleton.c.
4834         * math/test-tgmath.c (main): Converted to ...
4835         (do_test): ... this.
4836         (TEST_FUNCTION): New macro.
4837         Include test-skeleton.c.
4838         * math/test-tgmath2.c (main): Converted to ...
4839         (do_test): ... this.
4840         (TEST_FUNCTION): New macro.
4841         Include test-skeleton.c.
4842         * setjmp/tst-setjmp.c (main): Converted to ...
4843         (do_test): ... this.
4844         (TEST_FUNCTION): New macro.
4845         Include test-skeleton.c.
4846         * stdio-common/tst-sscanf.c (main): Converted to ...
4847         (do_test): ... this.
4848         (TEST_FUNCTION): New macro.
4849         Include test-skeleton.c.
4850         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
4851         (do_test): ... this.
4852         (TEST_FUNCTION): New macro.
4853         Include test-skeleton.c.
4855         * elf/tst-audit9.c (main): Converted to ...
4856         (do_test): ... this.
4857         (TEST_FUNCTION): New macro.
4858         Include test-skeleton.c.
4860 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
4862         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
4864 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
4866         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
4867         New variable.
4869 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
4871         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4873 2015-07-14  Roland McGrath  <roland@hack.frob.com>
4875         * sysdeps/generic/dl-fileid.h: New file.
4876         * sysdeps/posix/dl-fileid.h: New file.
4877         * sysdeps/nacl/dl-fileid.h: New file.
4878         * include/link.h: Include <dl-fileid.h>.
4879         (struct link_map): Replace l_dev and l_ino with l_file_id.
4880         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
4881         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
4882         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
4884 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
4886         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
4888 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4890         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
4891         Add iff $CXX is set.
4892         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
4893         Likewise.
4894         (tst-nodelete-zmodiff): Likewise.
4895         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
4897 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
4899         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
4901 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
4903         * sysdeps/aarch64/fpu/math_private.h
4904         (define math_opt_barrier): Add AArch64 version.
4905         (math_force_eval): Likewise.
4907 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
4909         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
4911 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
4913         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
4914         %ld with %jd and cast to intmax_t.
4915         (do_test_length_zero): Likewise.
4917 2015-07-10  Roland McGrath  <roland@hack.frob.com>
4919         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
4921 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
4923         * sysdeps/tile/libm-test-ulps: Regenerated.
4925         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
4926         Comment out the whole function, not just its body.
4928 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4930         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
4931         locks.
4933         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
4935 2015-07-10  Torvald Riegel  <triegel@redhat.com>
4937         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
4938         (sem_assume_only_signals_cause_futex_EINTR): Remove.
4940 2015-07-10  Torvald Riegel  <triegel@redhat.com>
4942         * sysdeps/nptl/futex-internal.h: New file.
4943         * sysdeps/nacl/futex-internal.h: New file.
4944         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
4945         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
4946         error checking.
4947         (setxid_unmark_thread): Likewise.
4948         (__nptl_setxid): Likewise.
4949         (__wait_lookup_done): Likewise.
4950         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
4951         * nptl/nptl-init.c (sighandler_setxid): Likewise.
4952         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
4953         * nptl/pthread_once.c (clear_once_control): Likewise.
4954         (__pthread_once_slow): Likewise.
4955         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
4956         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
4957         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
4958         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
4959         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
4960         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
4961         Likewise.
4962         (__pthread_rwlock_rdlock): Likewise.
4963         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4964         Likewise.
4965         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
4966         Likewise.
4967         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
4968         Likewise.
4969         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
4970         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
4971         Likewise.
4972         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
4973         __ASSUME_PRIVATE_FUTEX check.
4974         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
4975         Check that shared futexes are supported.
4976         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
4977         wrappers with error checking.
4978         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
4979         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
4980         * nptl/pthread_barrierattr_setpshared.c
4981         (pthread_barrierattr_setpshared): Check that shared futexes are
4982         supported.
4983         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
4984         Likewise.
4985         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
4986         Likewise.
4987         * nptl/sem_init.c (futex_private_if_supported): Remove.
4988         (__new_sem_init): Adapt and check that shared futexes are supported.
4989         * nptl/sem_open.c (sem_open): Likewise.
4990         * nptl/sem_post.c (futex_wake): Remove.
4991         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
4992         (do_futex_wait): Use futex wrappers with error checking.
4993         * nptl/sem_wait.c: Include lowlevellock.h.
4994         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
4995         Use futex_supports_pshared.
4996         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
4997         Use futex wrappers with error checking.
4998         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
4999         Likewise.
5000         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
5001         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
5002         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
5003         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
5004         (futex_wake): Likewise.
5005         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
5006         (do_futex_wait): Use futex wrappers with error checking.
5007         (__new_sem_wait_slow): Update EINTR handling.
5008         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
5010 2015-07-09  Martin Sebor  <msebor@redhat.com>
5012         [BZ #18435]
5013         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
5014         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
5015         * nptl/Makefile (test-xfail-tst-once5): Define.
5017 2015-07-09  Roland McGrath  <roland@hack.frob.com>
5019         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
5020         * elf/dl-minimal.c: For readability, reorder some definitions and
5021         introduce more page breaks.  Include <stdio.h>.
5022         (__libc_fatal): New function.
5024         * include/unistd.h: Add rtld_hidden_proto for _exit.
5025         * posix/_exit.c: Add rtld_hidden_def.
5026         * sysdeps/mach/hurd/_exit.c: Likewise.
5027         * sysdeps/nacl/_exit.c: Likewise.
5028         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
5029         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
5031 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
5033         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
5034         bndmov encoding with zero displacement.
5036 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
5037             H.J. Lu  <hongjiu.lu@intel.com>
5039         [BZ #18134]
5040         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
5041         * sysdeps/i386/configure: Regenerated.
5042         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
5043         (_dl_runtime_profile): Save and restore Intel MPX return bound
5044         registers when calling _dl_call_pltexit.  Add
5045         PRESERVE_BND_REGS_PREFIX before return.
5046         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
5047         (LRV_BND1_OFFSET): Likewise.
5048         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
5049         lrv_bnd1.
5050         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
5051         typo in bndmov encoding.
5052         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
5053         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
5054         branch instructions to preserve bounds.
5056 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5059         [GLIBC_2.22]: Add fmemopen.
5061 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5063         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
5064         returns an error, also try to use host port from __mach_host_self for
5065         the __vm_wire call.
5066         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
5068 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5070         [BZ #18400]
5071         [BZ #18648]
5072         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
5073         Fix pr_uid and pr_gid members.
5074         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
5075         definition to elf_greg_t.
5077 2015-07-08  Roland McGrath  <roland@hack.frob.com>
5079         [BZ #18383]
5080         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
5081         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
5082         * sysdeps/arm/configure: Regenerated.
5083         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
5084         (test-xfail-tst-tlsalign-static): Variable removed.
5086         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
5087         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
5088         rather than explicit 'ln -s'.
5090         * resolv/rpc/netdb.h: New file.
5091         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
5093 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5095         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
5096         length buffers.
5097         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
5098         test-skeleton.c.
5100         [BZ #6544]
5101         [BZ #11216]
5102         [BZ #12836]
5103         [BZ #13151]
5104         [BZ #13152]
5105         [BZ #14292]
5106         * include/stdio.h (fmemopen): Remove hidden prototype.
5107         (__fmemopen): Add new hidden prototype.
5108         * libio/Makefile: Add oldfmemopen object.
5109         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
5110         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
5111         compliance.
5112         * libio/oldfmemopen.c: New file: old fmemopen implementation for
5113         symbol compatibility.
5114         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
5115         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
5116         fmemopen.
5117         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
5118         on append and read mode.
5119         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
5120         fmemopen.
5121         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
5122         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
5123         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
5124         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
5125         Likewise.
5126         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
5127         [GLIBC_2.22]: Likewise.
5128         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
5129         Likewise.
5130         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
5131         Likewise.
5132         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5133         [GLIBC_2.22]: Likewise.
5134         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5135         [GLIBC_2.22]: Likewise.
5136         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5137         [GLIBC_2.22]: Likewise.
5138         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5139         [GLIBC_2.22]: Likewise.
5140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5141         [GLIBC_2.22]: Likewise.
5142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5143         [GLIBC_2.22]: Likewise.
5144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5145         [GLIBC_2.22]: Likewise.
5146         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
5147         Likewise.
5148         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
5149         Likewise.
5150         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
5151         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
5152         [GLIBC_2.22]: Likewise.
5153         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
5154         [GLIBC_2.22]: Likewise.
5155         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
5156         [GLIBC_2.22]: Likewise.
5157         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
5158         [GLIBC_2.22]: Likewise.
5159         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
5160         Likewise.
5161         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
5162         Likewise.
5163         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
5164         Likewise.
5165         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
5166         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
5168 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
5170         [BZ #18643]
5171         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
5172         IPV6_PATHMTU, and IPV6_DONTFRAG.
5174 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
5176         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
5177         and _IO_UNBUFFERED.
5178         * libio/oldfileops.c: Likewise.
5179         * libio/wfileops.c: Likewise.
5181 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
5183         * nscd/selinux.c: Delete selinux/flask.h include.
5185 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
5187         [BZ #18641]
5188         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
5189         (putpwent): Likewise.
5190         (getpwnam): Likewise.
5191         (getpwent_r): Likewise.
5192         (getpwuid_r): Likewise.
5193         (getpwnam_r): Likewise.
5194         (fgetpwent_r): Likewise.
5196 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
5198         [BZ #18557]
5199         * inet/rcmd.c (__validuser2_sa): Check user first to
5200         short-circuit host check.
5202 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
5203             Mikhail Ilin  <m.ilin@samsung.com>
5205         [BZ #17833]
5206         * elf/Makefile (tests): Add tst-nodelete.
5207         (modules-names): Add tst-nodelete-uniquemod.
5208         (tst-nodelete-uniquemod.so-no-z-defs): New.
5209         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
5210         (tst-nodelete-zmod.so-no-z-defs): Likewise.
5211         ($(objpfx)tst-nodelete): Likewise.
5212         ($(objpfx)tst-nodelete.out): Likewise.
5213         (LDFLAGS-tst-nodelete): Likewise.
5214         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
5215         * elf/dl-close.c (_dl_close_worker): Add a parameter to
5216         implement forced object deletion.
5217         (_dl_close): Pass false to _dl_close_worker.
5218         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
5219         * elf/tst-nodelete.cc: New file.
5220         * elf/tst-nodeletelib.cc: Likewise.
5221         * elf/tst-znodeletelib.cc: Likewise.
5222         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
5224 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5226         [BZ #18508]
5227         * stdlib/Makefile ($(objpfx)tst-makecontext3):
5228         Depend on $(libdl).
5229         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
5230         is not called infinitely times.
5231         (backtrace_helper): New function.
5232         (trace_arg): New struct.
5233         (st1): Enlarge stack size.
5234         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
5235         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
5236         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
5237         Likewise.
5239 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5241         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5243 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5245         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
5246         Include sys/types.h instead of bits/types.h.
5247         Remove inclusion of bits/wordsize.h.
5249 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
5251         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
5252         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
5253         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
5254         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
5255         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
5256         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
5258 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
5260         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
5261         link-defines.sym.
5262         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
5263         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
5264         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
5265         and LR_SIZE.
5266         * sysdeps/i386/link-defines.sym: New file.
5268 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
5270         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
5271         (modules-names): Add tst-auditmod3a tst-auditmod3b.
5272         ($(objpfx)tst-audit3): New rule.
5273         ($(objpfx)tst-audit3.out): Likewise.
5274         * sysdeps/i386/tst-audit3.c: New file.
5275         * sysdeps/i386/tst-audit3.h: Likewise.
5276         * sysdeps/i386/tst-auditmod3a.c: Likewise.
5277         * sysdeps/i386/tst-auditmod3b.c: Likewise.
5279 2015-07-07  Torvald Riegel  <triegel@redhat.com>
5281         [BZ #18633]
5282         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
5283         pointer in C code.
5284         (__strcat_c): Likewise.
5285         (__strcat_g): Likewise.
5287 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
5289         [BZ #18592]
5290         * misc/sbrk.c: Set errno to ENOMEM on overflow.
5292 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
5294         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
5295         New function.  (__ieee754_sqrtf): New function.
5296         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
5297         New function.
5298         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
5299         New function.
5301 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
5303         * sysdeps/ieee754/support.c: Remove unused file.
5305 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5307         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
5308         registers instead of d ones so the layout is kernel abi compatible.
5309         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
5310         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
5311         Likewise.
5313 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5315         * sysdeps/aarch64/libm-test-ulps: Regenerated.
5317 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
5319         [BZ #18619]
5320         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
5321         and return argument in case of subnormal argument.
5323 2015-07-01  Martin Sebor  <msebor@redhat.com>
5325         [BZ #18435]
5326         * nptl/Makefile: Add tst-once5.cc.
5327         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
5328         Remove macro redefinitions.
5329         * nptl/tst-once5.cc: New test.
5331 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
5333         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5335         * sysdeps/arm/libm-test-ulps: Regenerated.
5337         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
5338         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5340 2015-06-30  Torvald Riegel  <triegel@redhat.com>
5342         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
5343         lll_lock_wait_private and lll_futex_wake probes.
5345         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
5346         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
5347         Likewise.
5348         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
5349         atomic_spin_nop.
5350         * sysdeps/x86_64/bits/atomic.h: Likewise.
5351         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
5352         to atomic_spin_nop and move ...
5353         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
5354         ... here and ...
5355         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
5356         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
5357         atomic_spin_nop instead of BUSY_WAIT_NOP.
5358         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
5359         Likewise.
5360         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
5361         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
5362         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
5363         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
5364         instead of atomic_delay.
5366 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
5368         [BZ #18613]
5369         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
5370         X_ADJ not X when adjusting exponent.
5371         (__ieee754_gamma_r): Do intermediate computations in
5372         round-to-nearest then adjust overflowing and underflowing results
5373         as needed.
5374         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
5375         of X_ADJ not X when adjusting exponent.
5376         (__ieee754_gammaf_r): Do intermediate computations in
5377         round-to-nearest then adjust overflowing and underflowing results
5378         as needed.
5379         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
5380         log of X_ADJ not X when adjusting exponent.
5381         (__ieee754_gammal_r): Do intermediate computations in
5382         round-to-nearest then adjust overflowing and underflowing results
5383         as needed.  Use 1.0L not 1.0f as numerator of division.
5384         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
5385         log of X_ADJ not X when adjusting exponent.
5386         (__ieee754_gammal_r): Do intermediate computations in
5387         round-to-nearest then adjust overflowing and underflowing results
5388         as needed.  Use 1.0L not 1.0f as numerator of division.
5389         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
5390         of X_ADJ not X when adjusting exponent.
5391         (__ieee754_gammal_r): Do intermediate computations in
5392         round-to-nearest then adjust overflowing and underflowing results
5393         as needed.  Use 1.0L not 1.0f as numerator of division.
5394         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
5395         to auto-libm-test-in.
5396         (tgamma_test): Use ALL_RM_TEST.
5397         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
5398         tests of tgamma with spurious-overflow.
5399         * math/auto-libm-test-out: Regenerated.
5400         * math/gen-libm-have-vector-test.sh: Do not check for START.
5401         * sysdeps/i386/fpu/libm-test-ulps: Update.
5402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5404         [BZ #18612]
5405         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
5406         arguments, just return 0.5 times the argument, with underflow
5407         forced as needed.
5408         * math/auto-libm-test-in: Add more tests of j1.
5409         * math/auto-libm-test-out: Regenerated.
5411         [BZ #16559]
5412         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
5413         (__ieee754_j1): Force underflow exception for small results.
5414         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
5415         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
5416         (__ieee754_j1f): Force underflow exception for small results.
5417         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
5418         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
5419         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5420         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
5421         (__ieee754_j1l): Force underflow exception for small results.
5422         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
5423         * math/auto-libm-test-in: Add more tests of j1 and jn.
5424         * math/auto-libm-test-out: Regenerated.
5426         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
5427         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
5428         (PF_MPLS): Likewise.
5429         (AF_IB): Likewise.
5430         (AF_MPLS): Likewise.
5431         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
5432         value and macro.
5433         (MS_RMT_MASK): Include MS_LAZYTIME.
5435 2015-06-26  Mel Gorman  <mgorman@suse.de>
5437         [BZ #18502]
5438         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
5439         already minimal.
5441 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
5443         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
5444         (DT_MIPS_NUM): Update.
5445         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
5446         DT_MIPS_RLD_MAP_REL.
5448 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
5450         [BZ #16559]
5451         [BZ #18602]
5452         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
5453         round-to-nearest internally then recompute results that
5454         underflowed to zero in the original rounding mode.
5455         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
5456         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
5457         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5458         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
5459         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
5460         * sysdeps/i386/fpu/libm-test-ulps: Update.
5461         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5463 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
5465         * NEWS: Fixed description of link with vector math library.
5467 2015-06-25  Andreas Schwab  <schwab@suse.de>
5469         [BZ #18549]
5470         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
5471         * libio/test-fmemopen.c (do_test): Add test for it.
5473 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
5475         [BZ #17841]
5476         * Makeconfig (no-pie-ldflag): New.
5477         (+link): Set to $(+link-pie) if default to PIE.
5478         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
5479         * config.make.in (build-pie-default): New.
5480         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
5481         is default.  AC_SUBST.
5482         * configure: Regenerated.
5483         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
5485 2015-06-24  Roland McGrath  <roland@hack.frob.com>
5487         * nptl/descr.h (struct pthread): Change type of field setxid_futex
5488         to 'unsigned int'.
5490         * resolv/gai_misc.h (struct waitlist): Change type of field
5491         counterp to 'volatile unsigned int *'.
5492         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
5493         FUTEXADDR and OLDVAL.
5494         * resolv/getaddrinfo_a.c (getaddrinfo_a):
5495         Give local variable TOTAL type 'volatile unsigned int'.
5496         (struct async_waitlist): Change type of field counter to 'unsigned int'.
5497         * resolv/gai_suspend.c (gai_suspend):
5498         Give local variable CNTR type 'unsigned int'.
5500         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
5501         counterp to 'volatile unsigned int *'.
5502         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
5503         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
5504         (aio_suspend): Give local variable CNTR type 'unsigned int'.
5505         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
5506         Give local variable TOTAL type 'volatile unsigned int'.
5507         (struct async_waitlist): Change type of field counter to 'unsigned int'.
5509 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
5511         [BZ #18383]
5512         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
5513         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
5514         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
5515         comment for i386/x86-64.
5516         (test-xfail-tst-tlsalign-extern-static): Removed.
5518 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
5520         * math/test-double.h: New file.
5521         * math/test-float.h: Likewise.
5522         * math/test-ldouble.h: Likewise.
5523         * math/test-math-inline.h: Likewise.
5524         * math/test-math-no-inline.h: Likewise.
5525         * math/test-math-scalar.h: Likewise.
5526         * math/test-math-vector.h: Likewise.
5527         * math/test-vec-loop.h: Remove file.  Contents moved into
5528         test-math-vector.h.
5529         * math/libm-test.inc (MATHCONST): Do not document macro.
5530         * math/test-double.c: Include test-double.h, test-math-no-inline.h
5531         and test-math-scalar.h.
5532         (FUNC): Remove macro.
5533         (FUNC_TEST): Likewise.
5534         (FLOAT): Likewise.
5535         (MATHCONST): Likewise.
5536         (PRINTF_EXPR): Likewise.
5537         (PRINTF_XEXPR): Likewise.
5538         (PRINTF_NEXPR): Likewise.
5539         (TEST_DOUBLE): Likewise.
5540         (TEST_MATHVEC): Likewise.
5541         (__NO_MATH_INLINES): Likewise.
5542         * math/test-float.c: Include test-float.h, test-math-no-inline.h
5543         and test-math-scalar.h.
5544         (FUNC): Remove macro.
5545         (FUNC_TEST): Likewise.
5546         (FLOAT): Likewise.
5547         (MATHCONST): Likewise.
5548         (PRINTF_EXPR): Likewise.
5549         (PRINTF_XEXPR): Likewise.
5550         (PRINTF_NEXPR): Likewise.
5551         (TEST_FLOAT): Likewise.
5552         (TEST_MATHVEC): Likewise.
5553         (__NO_MATH_INLINES): Likewise.
5554         * math/test-idouble.c: Include test-double.h, test-math-inline.h
5555         and test-math-scalar.h.
5556         (FUNC): Remove macro.
5557         (FUNC_TEST): Likewise.
5558         (FLOAT): Likewise.
5559         (MATHCONST): Likewise.
5560         (PRINTF_EXPR): Likewise.
5561         (PRINTF_XEXPR): Likewise.
5562         (PRINTF_NEXPR): Likewise.
5563         (TEST_DOUBLE): Likewise.
5564         (TEST_MATHVEC): Likewise.
5565         (TEST_INLINE): Likewise.
5566         (__NO_MATH_INLINES): Likewise.
5567         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
5568         test-math-scalar.h.
5569         (FUNC): Remove macro.
5570         (FUNC_TEST): Likewise.
5571         (FLOAT): Likewise.
5572         (MATHCONST): Likewise.
5573         (PRINTF_EXPR): Likewise.
5574         (PRINTF_XEXPR): Likewise.
5575         (PRINTF_NEXPR): Likewise.
5576         (TEST_FLOAT): Likewise.
5577         (TEST_MATHVEC): Likewise.
5578         (TEST_INLINE): Likewise.
5579         (__NO_MATH_INLINES): Likewise.
5580         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
5581         and test-math-scalar.h.
5582         (FUNC): Remove macro.
5583         (FUNC_TEST): Likewise.
5584         (FLOAT): Likewise.
5585         (MATHCONST): Likewise.
5586         (PRINTF_EXPR): Likewise.
5587         (PRINTF_XEXPR): Likewise.
5588         (PRINTF_NEXPR): Likewise.
5589         (TEST_LDOUBLE): Likewise.
5590         (TEST_MATHVEC): Likewise.
5591         (TEST_INLINE): Likewise.
5592         (__NO_MATH_INLINES): Likewise.
5593         * math/test-ldouble.c: Include test-ldouble.h,
5594         test-math-no-inline.h and test-math-scalar.h.
5595         (FUNC): Remove macro.
5596         (FUNC_TEST): Likewise.
5597         (FLOAT): Likewise.
5598         (MATHCONST): Likewise.
5599         (PRINTF_EXPR): Likewise.
5600         (PRINTF_XEXPR): Likewise.
5601         (PRINTF_NEXPR): Likewise.
5602         (TEST_LDOUBLE): Likewise.
5603         (TEST_MATHVEC): Likewise.
5604         (__NO_MATH_INLINES): Likewise.
5605         * math/test-double-vlen2.h: Include test-double.h,
5606         test-math-no-inline.h and test-math-vector.h.
5607         (FLOAT): Remove macro.
5608         (FUNC): Likewise.
5609         (MATHCONST): Likewise.
5610         (PRINTF_EXPR): Likewise.
5611         (PRINTF_XEXPR): Likewise.
5612         (PRINTF_NEXPR): Likewise.
5613         (TEST_DOUBLE): Likewise.
5614         (TEST_MATHVEC): Likewise.
5615         (__NO_MATH_INLINES): Likewise.
5616         (CNCT): Likewise.
5617         (CONCAT): Likewise.
5618         (WRAPPER_NAME): Likewise.
5619         (WRAPPER_DECL): Likewise.
5620         (WRAPPER_DECL_ff): Likewise.
5621         (WRAPPER_DECL_fFF): Likewise.
5622         (VECTOR_WRAPPER): Likewise.
5623         (VECTOR_WRAPPER_ff): Likewise.
5624         (VECTOR_WRAPPER_fFF): Likewise.
5625         (VEC_LEN): New macro.
5626         * math/test-double-vlen4.h: Include test-double.h,
5627         test-math-no-inline.h and test-math-vector.h.
5628         (FLOAT): Remove macro.
5629         (FUNC): Likewise.
5630         (MATHCONST): Likewise.
5631         (PRINTF_EXPR): Likewise.
5632         (PRINTF_XEXPR): Likewise.
5633         (PRINTF_NEXPR): Likewise.
5634         (TEST_DOUBLE): Likewise.
5635         (TEST_MATHVEC): Likewise.
5636         (__NO_MATH_INLINES): Likewise.
5637         (CNCT): Likewise.
5638         (CONCAT): Likewise.
5639         (WRAPPER_NAME): Likewise.
5640         (WRAPPER_DECL): Likewise.
5641         (WRAPPER_DECL_ff): Likewise.
5642         (WRAPPER_DECL_fFF): Likewise.
5643         (VECTOR_WRAPPER): Likewise.
5644         (VECTOR_WRAPPER_ff): Likewise.
5645         (VECTOR_WRAPPER_fFF): Likewise.
5646         (VEC_LEN): New macro.
5647         * math/test-double-vlen8.h: Include test-double.h,
5648         test-math-no-inline.h and test-math-vector.h.
5649         (FLOAT): Remove macro.
5650         (FUNC): Likewise.
5651         (MATHCONST): Likewise.
5652         (PRINTF_EXPR): Likewise.
5653         (PRINTF_XEXPR): Likewise.
5654         (PRINTF_NEXPR): Likewise.
5655         (TEST_DOUBLE): Likewise.
5656         (TEST_MATHVEC): Likewise.
5657         (__NO_MATH_INLINES): Likewise.
5658         (CNCT): Likewise.
5659         (CONCAT): Likewise.
5660         (WRAPPER_NAME): Likewise.
5661         (WRAPPER_DECL): Likewise.
5662         (WRAPPER_DECL_ff): Likewise.
5663         (WRAPPER_DECL_fFF): Likewise.
5664         (VECTOR_WRAPPER): Likewise.
5665         (VECTOR_WRAPPER_ff): Likewise.
5666         (VECTOR_WRAPPER_fFF): Likewise.
5667         (VEC_LEN): New macro.
5668         * math/test-float-vlen4.h: Include test-float.h,
5669         test-math-no-inline.h and test-math-vector.h.
5670         (FLOAT): Remove macro.
5671         (FUNC): Likewise.
5672         (MATHCONST): Likewise.
5673         (PRINTF_EXPR): Likewise.
5674         (PRINTF_XEXPR): Likewise.
5675         (PRINTF_NEXPR): Likewise.
5676         (TEST_FLOAT): Likewise.
5677         (TEST_MATHVEC): Likewise.
5678         (__NO_MATH_INLINES): Likewise.
5679         (CNCT): Likewise.
5680         (CONCAT): Likewise.
5681         (WRAPPER_NAME): Likewise.
5682         (WRAPPER_DECL): Likewise.
5683         (WRAPPER_DECL_ff): Likewise.
5684         (WRAPPER_DECL_fFF): Likewise.
5685         (VECTOR_WRAPPER): Likewise.
5686         (VECTOR_WRAPPER_ff): Likewise.
5687         (VECTOR_WRAPPER_fFF): Likewise.
5688         (VEC_LEN): New macro.
5689         * math/test-float-vlen8.h: Include test-float.h,
5690         test-math-no-inline.h and test-math-vector.h.
5691         (FLOAT): Remove macro.
5692         (FUNC): Likewise.
5693         (MATHCONST): Likewise.
5694         (PRINTF_EXPR): Likewise.
5695         (PRINTF_XEXPR): Likewise.
5696         (PRINTF_NEXPR): Likewise.
5697         (TEST_FLOAT): Likewise.
5698         (TEST_MATHVEC): Likewise.
5699         (__NO_MATH_INLINES): Likewise.
5700         (CNCT): Likewise.
5701         (CONCAT): Likewise.
5702         (WRAPPER_NAME): Likewise.
5703         (WRAPPER_DECL): Likewise.
5704         (WRAPPER_DECL_ff): Likewise.
5705         (WRAPPER_DECL_fFF): Likewise.
5706         (VECTOR_WRAPPER): Likewise.
5707         (VECTOR_WRAPPER_ff): Likewise.
5708         (VECTOR_WRAPPER_fFF): Likewise.
5709         (VEC_LEN): New macro.
5710         * math/test-float-vlen16.h: Include test-float.h,
5711         test-math-no-inline.h and test-math-vector.h.
5712         (FLOAT): Remove macro.
5713         (FUNC): Likewise.
5714         (MATHCONST): Likewise.
5715         (PRINTF_EXPR): Likewise.
5716         (PRINTF_XEXPR): Likewise.
5717         (PRINTF_NEXPR): Likewise.
5718         (TEST_FLOAT): Likewise.
5719         (TEST_MATHVEC): Likewise.
5720         (__NO_MATH_INLINES): Likewise.
5721         (CNCT): Likewise.
5722         (CONCAT): Likewise.
5723         (WRAPPER_NAME): Likewise.
5724         (WRAPPER_DECL): Likewise.
5725         (WRAPPER_DECL_ff): Likewise.
5726         (WRAPPER_DECL_fFF): Likewise.
5727         (VECTOR_WRAPPER): Likewise.
5728         (VECTOR_WRAPPER_ff): Likewise.
5729         (VECTOR_WRAPPER_fFF): Likewise.
5730         (VEC_LEN): New macro.
5731         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
5732         test-vec-loop.h.
5733         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5734         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5735         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5736         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5737         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5738         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5739         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
5741 2015-06-24  Roland McGrath  <roland@hack.frob.com>
5743         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
5744         (__getlogin_r): ... this.
5746 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
5748         [BZ #18594]
5749         * math/s_ccosh.c (__ccosh): Compare with least normal value
5750         instead of comparing class with FP_SUBNORMAL.
5751         * math/s_ccoshf.c (__ccoshf): Likewise.
5752         * math/s_ccoshl.c (__ccoshl): Likewise.
5753         * math/s_cexp.c (__cexp): Likewise.
5754         * math/s_cexpf.c (__cexpf): Likewise.
5755         * math/s_cexpl.c (__cexpl): Likewise.
5756         * math/s_csin.c (__csin): Likewise.
5757         * math/s_csinf.c (__csinf): Likewise.
5758         * math/s_csinh.c (__csinh): Likewise.
5759         * math/s_csinhf.c (__csinhf): Likewise.
5760         * math/s_csinhl.c (__csinhl): Likewise.
5761         * math/s_csinl.c (__csinl): Likewise.
5762         * math/s_ctan.c (__ctan): Likewise.
5763         * math/s_ctanf.c (__ctanf): Likewise.
5764         * math/s_ctanh.c (__ctanh): Likewise.
5765         * math/s_ctanhf.c (__ctanhf): Likewise.
5766         * math/s_ctanhl.c (__ctanhl): Likewise.
5767         * math/s_ctanl.c (__ctanl): Likewise.
5768         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
5769         csin, csinh, ctan and ctanh.
5770         * math/auto-libm-test-out: Regenerated.
5771         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
5772         * sysdeps/i386/fpu/libm-test-ulps: Update.
5773         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5775 2015-06-24  Roland McGrath  <roland@hack.frob.com>
5777         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
5778         return value is wrong, print the expected value too.
5780 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
5782         [BZ #18585]
5783         * elf/readlib.c (is_gdb_python_file): New.
5784         (process_file): Don't issue errors on filenames with -gdb.py
5785         suffix.
5787 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
5789         * math/auto-libm-test-in: Add more tests of csin and csinh.
5790         * math/auto-libm-test-out: Regenerated.
5791         * math/libm-test.inc (csin_test_data): Remove tests moved to
5792         auto-libm-test-in.
5793         (csinh_test_data): Likewise.
5795         [BZ #18593]
5796         * math/s_csin.c (__csin): Negate before rather than after possibly
5797         overflowing multiplication.
5798         * math/s_csinf.c (__csinf): Likewise.
5799         * math/s_csinh.c (__csinh): Likewise.
5800         * math/s_csinhf.c (__csinhf): Likewise.
5801         * math/s_csinhl.c (__csinhl): Likewise.
5802         * math/s_csinl.c (__csinl): Likewise.
5803         * math/auto-libm-test-in: Add some tests of csin and csinh.
5804         * math/auto-libm-test-out: Regenerated.
5805         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
5806         (csinh_test_data): Likewise.
5807         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5809         [BZ #18586]
5810         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
5811         underflow exception for small results.
5813 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
5815         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
5816         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
5817         variable and included header.
5818         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
5819         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
5820         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
5821         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
5822         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
5823         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
5824         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
5825         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
5826         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
5827         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
5828         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
5829         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
5830         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
5831         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
5832         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
5833         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
5835 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
5837         [BZ #16526]
5838         [BZ #16538]
5839         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
5840         (__sin): Force underflow exception for arguments with small
5841         absolute value.
5842         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
5843         (__kernel_sinf): Force underflow exception for arguments with
5844         small absolute value.
5845         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
5846         (__kernel_sincosl): Force underflow exception for arguments with
5847         small absolute value.
5848         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
5849         (__kernel_sinl): Force underflow exception for arguments with
5850         small absolute value.
5851         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
5852         (__kernel_sincosl): Force underflow exception for arguments with
5853         small absolute value.
5854         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
5855         (__kernel_sinl): Force underflow exception for arguments with
5856         small absolute value.
5857         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
5858         (__kernel_sinl): Force underflow exception for arguments with
5859         small absolute value.
5860         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
5861         (__kernel_sinf): Force underflow exception for arguments with
5862         small absolute value.
5863         * math/auto-libm-test-in: Add more tests of sin and sincos.
5864         * math/auto-libm-test-out: Regenerated.
5866         [BZ #18245]
5867         [BZ #18583]
5868         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
5869         (__kernel_standard_l): Use feholdexcept and fesetenv around
5870         conversion to double instead of special-casing overflow and
5871         underflow.
5872         * math/libm-test.inc (fmod_test_data): Add more tests.
5873         (remainder_test_data): Likewise.
5874         (sqrt_test_data): Likewise.
5876 2015-06-23  Torvald Riegel  <triegel@redhat.com>
5878         [BZ #17403]
5879         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
5880         atomic_read_barrier, atomic_write_barrier): Define.
5881         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
5882         atomic_read_barrier, atomic_write_barrier): Define.
5884 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
5886         * math/Makefile [$(PERL) != no]
5887         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
5888         dependency on libm-test.stmp below the inclusion of Rules.
5890 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
5892         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
5893         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
5894         and included header.
5895         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
5896         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
5897         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
5898         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
5899         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
5900         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
5901         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
5902         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
5903         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
5904         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
5905         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
5906         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
5907         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
5908         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
5909         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
5910         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
5911         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
5912         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
5913         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
5915 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
5917         [BZ #18371]
5918         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
5919         intermediate but not final result might underflow.
5920         * math/s_csqrtf.c (__csqrtf): Likewise.
5921         * math/s_csqrtl.c (__csqrtl): Likewise.
5922         * math/auto-libm-test-in: Add more tests of csqrt.
5923         * math/auto-libm-test-out: Regenerated.
5924         * sysdeps/i386/fpu/libm-test-ulps: Update.
5926         [BZ #18219]
5927         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
5928         threshold on absolute value of exponent for which scaling is used.
5929         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
5930         * math/auto-libm-test-in: Add more tests of exp2.
5931         * math/auto-libm-test-out: Regenerated.
5933 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
5935         [BZ #17977]
5936         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
5937         when initializing interface list, based on the bug analysis
5938         and the patch proposed by Eric Newton.
5939         * resolv/tst-res_hconf_reorder.c: New test.
5940         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
5941         tst-res_hconf_reorder.
5942         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
5943         and $(shared-thread-library).
5944         (tst-res_hconf_reorder-ENV): New variable.
5946         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
5947         in comment.
5949 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
5951         [BZ #16353]
5952         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
5953         (__expm1): Force underflow exception for arguments with small
5954         absolute value.
5955         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
5956         (__expm1f): Force underflow exception for arguments with small
5957         absolute value.
5958         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
5959         (__expm1): Force underflow exception for arguments with small
5960         absolute value.
5961         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
5962         (__expm1f): Force underflow exception for arguments with small
5963         absolute value.
5964         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
5965         Check for small arguments before calling __expm1.
5966         * math/auto-libm-test-in: Do not mark underflow exceptions as
5967         possibly missing for bug 16353.
5968         * math/auto-libm-test-out: Regenerated.
5970 2015-06-22  Andreas Schwab  <schwab@suse.de>
5972         [BZ #18513]
5973         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
5974         PTR queries.
5976 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
5978         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
5980         * string/strcoll_l.c: Remove unused struct element idxnow.
5982 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
5984         [BZ #18569]
5985         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
5986         underflow and return argument in case of subnormal argument.
5987         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5988         Likewise.
5989         * math/auto-libm-test-in: Add more tests of expm1.
5990         * math/auto-libm-test-out: Regenerated.
5992         [BZ #16361]
5993         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
5994         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
5995         tiny results.
5996         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
5997         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
5998         tiny results.
5999         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
6000         mark underflow exceptions as possibly missing for bug 16361.
6001         * math/auto-libm-test-out: Regenerated.
6003 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
6005         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
6006         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
6007         Remove variable.
6008         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
6009         (test-xfail-XOPEN2K8/utmpx.h/conform).
6011         * conform/conformtest.pl ($xerrors): New variable.
6012         (note_error): New function.
6013         (compiletest): New argument $xfail.  Use not_error.
6014         (runtest): Likewise.
6015         (top level): Handle xfail- lines.  Update calls to compiletest and
6016         runtest.  Handle xfail- and optional- in headers listed with
6017         allow-header.
6018         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
6019         (O_EXEC): Likewise.
6020         (O_SEARCH): Likewise.
6021         * conform/data/stropts.h-data (ioctl): Likewise.
6022         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
6023         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
6024         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
6025         (msghdr.msg_controllen): Likewise.
6026         (cmsghdr.cmsg_len): Likewise.
6027         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
6028         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
6029         variable.
6030         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
6031         (test-xfail-XPG4/stropts.h/conform): Likewise.
6032         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
6033         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
6034         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
6035         (test-xfail-UNIX98/stropts.h/conform): Likewise.
6036         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
6037         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
6038         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
6039         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
6040         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
6041         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
6042         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
6043         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
6044         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
6045         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
6046         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
6047         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
6048         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
6049         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
6050         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
6052 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
6054         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
6055         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
6056         definitions for proper unfolding of __MATHDECL_VEC.
6058 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
6060         * benchtests/bench-strcoll.c:
6061         Include string.h.
6062         (main): Remove unused variable res.
6064 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
6066         * timezone/Makefile (%/UTC %/Universal):
6067         Generate test-result files for UTC and Universal.
6069 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
6071         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6073 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
6075         [BZ #16350]
6076         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
6077         for arguments with small absolute value.
6078         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
6079         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
6080         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
6081         (__asinh): Force underflow exception for arguments with small
6082         absolute value.
6083         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
6084         (__asinhf): Force underflow exception for arguments with small
6085         absolute value.
6086         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
6087         (__asinhl): Force underflow exception for arguments with small
6088         absolute value.
6089         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
6090         (__asinhl): Force underflow exception for arguments with small
6091         absolute value.
6092         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
6093         (__asinhl): Force underflow exception for arguments with small
6094         absolute value.
6095         * math/auto-libm-test-in: Do not mark underflow exceptions as
6096         possibly missing for bug 16350.
6097         * math/auto-libm-test-out: Regenerated.
6099         * include/bits/ipc.h: Remove file.
6100         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
6101         variable.
6102         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
6103         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
6104         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
6105         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
6106         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
6107         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
6108         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
6109         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
6110         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
6112         * math/auto-libm-test-in: Remove spurious underflow allowance for
6113         tests of cexp.
6114         * math/auto-libm-test-out: Regenerated.
6116         [BZ #18558]
6117         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
6118         unconditional definition.
6119         (MCAST_BLOCK_SOURCE): Likewise.
6120         (MCAST_UNBLOCK_SOURCE): Likewise.
6121         (MCAST_LEAVE_GROUP): Likewise.
6122         (MCAST_JOIN_SOURCE_GROUP): Likewise.
6123         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
6124         (MCAST_MSFILTER): Likewise.
6125         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
6126         Remove variable.
6127         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
6128         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
6129         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
6130         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
6131         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
6133 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
6135         * NEWS: Mention addition of x86_64 vector sincosf.
6136         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
6137         * math/test-float-vlen4.h: Likewise.
6138         * math/test-float-vlen8.h: Likewise.
6139         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
6140         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
6141         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6142         * sysdeps/x86_64/fpu/Versions: New versions added.
6143         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6144         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
6145         Added build of SSE, AVX2 and AVX512 IFUNC versions.
6146         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
6147         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
6148         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
6149         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
6150         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
6151         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
6152         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
6153         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
6154         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
6155         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
6156         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
6157         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
6158         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
6159         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
6160         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
6161         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
6162         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
6163         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
6164         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
6165         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
6166         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
6168         * NEWS: Mention addition of x86_64 vector sincos.
6169         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
6170         * math/math.h (__MATHDECL_VEC): New macro.
6171         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
6172         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
6173         declaration under condition.
6174         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
6175         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
6176         TEST_VEC_LOOP change.
6177         * math/test-double-vlen4.h: Likewise.
6178         * math/test-double-vlen8.h: Likewise.
6179         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
6180         * math/test-float-vlen4.h: Likewise.
6181         * math/test-float-vlen8.h: Likewise.
6182         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
6183         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
6184         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6185         * sysdeps/x86_64/fpu/Versions: New versions added.
6186         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6187         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
6188         Added build of SSE, AVX2 and AVX512 IFUNC versions.
6189         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
6190         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
6191         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
6192         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
6193         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
6194         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
6195         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
6196         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
6197         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
6198         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
6199         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
6200         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
6201         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
6202         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
6203         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
6204         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
6205         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
6206         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
6207         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
6208         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
6209         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
6211         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
6212         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
6213         redirections for powf.
6214         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6215         * sysdeps/x86_64/fpu/Versions: New versions added.
6216         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6217         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
6218         Added build of SSE, AVX2 and AVX512 IFUNC versions.
6219         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
6220         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
6221         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
6222         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
6223         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
6224         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
6225         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
6226         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
6227         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
6228         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
6229         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
6230         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
6231         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
6232         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
6233         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
6234         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
6235         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
6236         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
6237         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
6238         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
6239         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
6240         * math/test-float-vlen16.h: Fixed 2 argument macro.
6241         * math/test-float-vlen4.h: Likewise.
6242         * math/test-float-vlen8.h: Likewise.
6243         * NEWS: Mention addition of x86_64 vector powf.
6245 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
6247         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6248         and redefine.
6249         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6250         and redefine.
6251         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
6252         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
6253         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6255         [BZ #18553]
6256         * resource/getpriority.c (getpriority): Rename to __getpriority
6257         and define as weak alias of __getpriority.
6258         * resource/setpriority.c (setpriority): Rename to __setpriority
6259         and define as weak alias of __setpriority.
6260         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
6261         __getpriority and define as weak alias of __getpriority.
6262         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
6263         __setpriority and define as weak alias of __setpriority.
6264         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
6265         strong name.
6266         (setpriority): Use __setpriority as strong name.
6267         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
6268         __getpriority and define as weak alias of __getpriority.
6269         * include/sys/resource.h (__getpriority): Declare.  Use
6270         libc_hidden_proto.
6271         (__setpriority): Likewise.
6272         (getpriority): Don't use libc_hidden_proto.
6273         (setpriority): Likewise.
6274         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
6275         getpriority.  Call __setpriority instead of setpriority.
6276         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
6277         Remove variable.
6279         [BZ #18547]
6280         * misc/getttyent.c (getttynam): Rename to __getttynam and define
6281         as weak alias of __getttynam.  Use prototype function definition.
6282         Call __setttyent, __getttyent and __endttyent instead of
6283         setttyent, getttyent and endttyent.
6284         (getttyent): Rename to __getttyent and define as weak alias of
6285         __getttyent.  Call __setttyent instead of setttyent.  Call
6286         __fgets_unlocked instead of fgets_unlocked.
6287         (setttyent): Rename to __setttyent and define as weak alias of
6288         __setttyent.
6289         (endttyent): Rename to __endttyent and define as weak alias of
6290         __endttyent.
6291         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
6292         (__setttyent): Likewise.
6293         (__endttyent): Likewise.
6294         (getttyent): Don't use libc_hidden_proto.
6295         (setttyent): Likewise.
6296         (endttyent): Likewise.
6297         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
6298         __endttyent instead of setttyent, getttyent and endttyent.
6299         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
6300         Remove variable.
6302         [BZ #18546]
6303         * socket/recv.c (__recv): Use libc_hidden_def.
6304         * socket/socket.c (__socket): Likewise.
6305         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
6306         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
6307         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
6308         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
6309         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
6310         libc_hidden_def.
6311         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
6312         libc_hidden_weak.
6313         * include/sys/socket.h (__socket): Do not use attribute_hidden.
6314         Use libc_hidden_proto.
6315         (__recv): Likewise.
6316         * socket/Versions (libc): Export __recv and __socket at version
6317         GLIBC_PRIVATE.
6318         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
6319         instead of recv.
6320         (init_mq_netlink): Call __socket instead of socket.
6321         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
6322         Remove variable.
6324         [BZ #18545]
6325         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
6326         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
6327         hidden_weak.
6328         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
6329         define as alias of __mq_timedsend.  Use hidden_weak.
6330         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
6331         __mq_timedsend as strong name.
6332         (mq_timedreceive): Use __mq_timedreceive as strong name.
6333         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
6334         (__mq_timedreceive): Likewise.
6335         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
6336         __mq_timedreceive instead of mq_timedreceive.
6337         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
6338         instead of mq_timedsend.
6339         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
6340         Remove variable.
6342         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
6343         hidden_def and hidden_weak instead of libc_hidden_def and
6344         libc_hidden_weak.
6345         (top level): Refer to hidden_def in comment.
6346         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
6347         macro.  Use it instead of libc_hidden_def.
6348         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
6349         specify __GI_* name explicitly.
6350         (mq_timedreceive): Likewise.
6351         (mq_setattr): Likewise.
6353         [BZ #18544]
6354         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
6355         __pthread_barrier_init and define as weak alias of
6356         __pthread_barrier_init.
6357         * sysdeps/sparc/nptl/pthread_barrier_init.c
6358         (pthread_barrier_init): Likewise.
6359         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
6360         __pthread_barrier_wait and define as weak alias of
6361         __pthread_barrier_wait.
6362         * sysdeps/sparc/nptl/pthread_barrier_wait.c
6363         (pthread_barrier_wait): Likewise.
6364         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
6365         (pthread_barrier_wait): Likewise.
6366         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
6367         (pthread_barrier_wait): Likewise.
6368         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
6369         (pthread_barrier_wait): Likewise.
6370         * nptl/Versions (libpthread): Export __pthread_barrier_init and
6371         __pthread_barrier_wait at version GLIBC_PRIVATE.
6372         * include/pthread.h (__pthread_barrier_init): Declare.
6373         (__pthread_barrier_wait): Likewise.
6374         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
6375         Call __pthread_barrier_wait instead of pthread_barrier_wait.
6376         (helper_thread): Likewise.
6377         (init_mq_netlink): Call __pthread_barrier_init instead of
6378         pthread_barrier_init.
6380         [BZ #18542]
6381         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
6382         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
6383         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
6384         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
6385         vswscanf.
6386         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
6387         Remove variable.
6389         [BZ #18540]
6390         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
6391         strong alias of _IO_fflush.  Use libc_hidden_def.
6392         * libio/iofflush_u.c (fflush_unlocked): Rename to
6393         __fflush_unlocked and define as weak alias of __fflush_unlocked.
6394         Use libc_hidden_weak.
6395         * include/stdio.h (__fflush_unlocked): Declare.  Use
6396         libc_hidden_proto.
6397         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
6398         fflush_unlocked.
6399         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
6400         Remove variable.
6402         [BZ #18539]
6403         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
6404         define as weak alias of __addseverity.
6405         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
6406         Remove variable.
6407         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
6408         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
6409         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
6411         [BZ #18536]
6412         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
6413         (__tfind): Likewise.
6414         (__tdelete): Likewise.
6415         (__twalk): Likewise.
6416         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
6417         __twalk to GLIBC_PRIVATE.
6418         * include/search.h (__tsearch): Use libc_hidden_proto.
6419         (__tfind): Likewise.
6420         (__tdelete): Likewise.
6421         (__twalk): Likewise.
6422         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
6423         Call __tdelete instead of tdelete.
6424         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
6425         tfind.  Call __tsearch instead of tsearch.
6426         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
6427         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
6428         Remove variable.
6429         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
6431         [BZ #18534]
6432         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
6433         (dprintf): Define as a weak alias of __dprintf, not a strong
6434         alias.
6435         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
6436         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
6437         dprintf.
6438         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
6439         Remove variable.
6440         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
6441         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
6443         [BZ #18533]
6444         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
6445         not a strong alias.
6446         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
6447         Remove variable.
6449         [BZ #18532]
6450         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
6451         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
6452         (in6addr_loopback): Rename to __in6addr_loopback and define as
6453         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
6454         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
6455         libc_hidden_proto.
6456         (__in6addr_any): Likewise.
6457         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
6458         in6addr_any.
6459         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
6460         variable.
6461         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
6463 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
6465         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
6466         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
6467         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
6468         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
6469         redirections for pow.
6470         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6471         * sysdeps/x86_64/fpu/Versions: New versions added.
6472         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6473         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
6474         build of SSE, AVX2 and AVX512 IFUNC versions.
6475         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
6476         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
6477         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
6478         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
6479         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
6480         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
6481         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
6482         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
6483         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
6484         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
6485         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
6486         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
6487         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
6488         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
6489         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
6490         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
6491         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
6492         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
6493         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
6494         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
6495         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
6496         * NEWS: Mention addition of x86_64 vector pow.
6498         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
6499         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
6500         redirections for expf.
6501         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6502         * sysdeps/x86_64/fpu/Versions: New versions added.
6503         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6504         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
6505         build of SSE, AVX2 and AVX512 IFUNC versions.
6506         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
6507         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
6508         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
6509         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
6510         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
6511         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
6512         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
6513         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
6514         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
6515         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
6516         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
6517         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
6518         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
6519         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
6520         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
6521         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
6522         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
6523         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
6524         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
6525         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
6526         * NEWS: Mention addition of x86_64 vector expf.
6528         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
6529         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
6530         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
6531         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
6532         redirections for exp.
6533         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6534         * sysdeps/x86_64/fpu/Versions: New versions added.
6535         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6536         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
6537         build of SSE, AVX2 and AVX512 IFUNC versions.
6538         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
6539         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
6540         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
6541         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
6542         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
6543         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
6544         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
6545         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
6546         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
6547         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
6548         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
6549         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
6550         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
6551         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
6552         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
6553         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
6554         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
6555         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
6556         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
6557         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
6558         * NEWS: Mention addition of x86_64 vector exp.
6560         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
6561         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
6562         redirections for logf.
6563         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6564         * sysdeps/x86_64/fpu/Versions: New versions added.
6565         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6566         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
6567         build of SSE, AVX2 and AVX512 IFUNC versions.
6568         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
6569         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
6570         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
6571         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
6572         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
6573         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
6574         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
6575         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
6576         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
6577         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
6578         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
6579         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
6580         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
6581         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
6582         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
6583         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
6584         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
6585         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
6586         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
6587         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
6588         * NEWS: Mention addition of x86_64 vector logf.
6590         * bits/libm-simd-decl-stubs.h: Added stubs for log.
6591         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
6592         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
6593         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
6594         redirections for log.
6595         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6596         * sysdeps/x86_64/fpu/Versions: New versions added.
6597         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6598         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
6599         build of SSE, AVX2 and AVX512 IFUNC versions.
6600         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
6601         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
6602         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
6603         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
6604         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
6605         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
6606         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
6607         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
6608         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
6609         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
6610         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
6611         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
6612         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
6613         test.
6614         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
6615         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
6616         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
6617         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
6618         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
6619         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
6620         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
6621         * NEWS: Mention addition of x86_64 vector log.
6623 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6625         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
6626         cfi_adjust_cfa_offset argument.
6627         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
6628         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
6630         [BZ #18034]
6631         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
6632         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
6633         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
6634         ordering using ldar.
6635         (_dl_tlsdesc_dynamic): Likewise.
6636         (_dl_tlsdesc_return_lazy): Likewise.
6637         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
6638         relaxed atomics instead of volatile and synchronize with release store.
6639         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
6640         volatile.
6641         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
6643 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
6645         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
6646         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
6647         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6648         * sysdeps/x86_64/fpu/Versions: New versions added.
6649         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6650         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
6651         build of SSE, AVX2 and AVX512 IFUNC versions.
6652         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
6653         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
6654         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
6655         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
6656         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
6657         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
6658         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
6659         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
6660         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
6661         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
6662         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
6663         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
6664         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
6665         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
6666         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
6667         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
6668         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
6669         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
6670         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
6671         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
6672         * NEWS: Mention addition of x86_64 vector sinf.
6674 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
6676         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
6677         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
6678         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
6679         Remove variable.
6680         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
6681         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
6683 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
6685         [BZ #18530]
6686         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
6687         strong alias of _IO_fputs.  Use libc_hidden_def.
6688         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
6689         and define as weak alias of __fputs_unlocked.  Use
6690         libc_hidden_weak.
6691         * include/stdio.h (__fputs_unlocked): Declare.  Use
6692         libc_hidden_proto.
6693         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
6694         fputs_unlocked.
6696         [BZ #18529]
6697         * resolv/netdb.h [__USE_POSIX]: Change condition to
6698         [__USE_XOPEN2K].
6699         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
6700         not expect.
6701         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
6702         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
6703         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
6704         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
6705         [XPG4 || UNIX98] (AI_ALL): Likewise.
6706         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
6707         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
6708         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
6709         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
6710         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
6711         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
6712         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
6713         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
6714         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
6715         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
6716         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
6717         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
6718         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
6719         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
6720         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
6721         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
6722         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
6723         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
6724         [XPG4 || UNIX98] (gai_strerror): Likewise.
6725         [XPG4 || UNIX98] (getaddrinfo): Likewise.
6726         [XPG4 || UNIX98] (getnameinfo): Likewise.
6728         [BZ #18528]
6729         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
6730         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
6731         __USE_XOPEN2K8].
6732         (getgrent): Likewise.
6733         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
6734         expect.
6735         [XPG3 || POSIX2008] (endgrent): Likewise.
6736         [XPG3] (setgrent): Likewise.
6737         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
6738         variable.
6739         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
6741         [BZ #18527]
6742         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
6743         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
6744         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
6745         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
6746         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
6747         * include/unistd.h (__getlogin_r): Declare.  Use
6748         libc_hidden_proto.
6749         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
6750         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
6751         variable.
6752         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
6753         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
6754         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
6756 2015-06-12  Martin Sebor  <msebor@redhat.com>
6758         [BZ #18512]
6759         * Makerules (check-install-supported): New target.
6760         (install): Add check-install-supported as a dependency.
6761         * manual/install.texi (Installing the C Library): Document
6762         that overriding prefix and exec_prefix is not supported.
6763         Mention DESTDIR.
6764         * INSTALL: Regenerate from the above.
6766 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
6768         [BZ #18519]
6769         * posix/Versions (libc): Export __libc_pread at version
6770         GLIBC_PRIVATE.
6771         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
6772         instead of pread.
6773         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
6774         variable.
6776         [BZ #18522]
6777         * misc/efgcvt_r.c
6778         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
6779         (cvt_symbol): Use weak_alias instead of strong_alias.
6780         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
6781         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
6782         Remove variable.
6783         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
6784         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
6786         [BZ #18520]
6787         * inet/herrno.c (h_errno): Rename to __h_errno.
6788         (__libc_h_errno): Define as alias of __h_errno not h_errno.
6789         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
6790         to __h_errno instead of h_errno.
6791         * nptl/herrno.c (h_errno): Rename to __h_errno.
6792         (__h_errno_location): Refer to __h_errno not h_errno.
6793         * resolv/Versions (h_errno): Rename to __h_errno.
6794         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
6795         Remove variable.
6796         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
6798 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
6800         * configure.ac: More strict check for AVX512 assembler support.
6801         * configure: Regenerated.
6803         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
6804         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
6805         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
6806         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
6807         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6808         * sysdeps/x86_64/fpu/Versions: New versions added.
6809         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6810         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
6811         Added build of SSE, AVX2 and AVX512 IFUNC versions.
6812         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
6813         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
6814         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
6815         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
6816         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
6817         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
6818         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
6819         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
6820         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
6821         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
6822         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
6823         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
6824         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
6825         test.
6826         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
6827         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
6828         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
6829         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
6830         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
6831         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
6832         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
6833         * NEWS: Mention addition of x86_64 vector sin.
6835 2015-06-11  Florian Weimer  <fweimer@redhat.com>
6837         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
6838         comment.
6840 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
6842         [BZ #18479]
6843         * nptl/pt-interp.c: New file.
6844         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
6845         Add pt-interp.
6846         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
6847         $(common-objpfx)runtime-linker.h.
6849 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
6851         * Makeconfig (+interp): Remove unused variable.
6852         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
6853         only.  Depend on $(common-objpfx)runtime-linker.h instead of
6854         $(elf-objpfx)runtime-linker.h.
6855         ($(elf-objpfx)runtime-linker.h): Rename to
6856         $(common-objpfx)runtime-linker.h and move ...
6857         * Makerules [$(build-shared) = yes]: ... here.
6858         * elf/interp.c: Include <runtime-linker.h> instead of
6859         <elf/runtime-linker.h>.
6861 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6863         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
6864         (__gettimeofday_syscall): Remove vsyscall fallback.
6865         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
6866         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
6867         Add syscall fallback function.
6868         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
6869         if vDSO is not present.
6870         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
6871         fallback function.
6872         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
6873         present.
6874         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
6875         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
6877 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
6879         [BZ #18497]
6880         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
6881         of wcscmp.
6882         (wcscmp): Define as weak alias of WCSCMP.
6883         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
6884         wcscoll.
6885         (USE_HIDDEN_DEF): Define.
6886         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
6887         __wcscoll.  Don't use libc_hidden_weak.
6888         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
6889         wcscmp.
6890         * sysdeps/i386/i686/multiarch/wcscmp-c.c
6891         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
6892         __GI_wcscmp.
6893         (weak_alias): Undefine and redefine.
6894         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
6895         __wcscmp and define as weak alias of __wcscmp.
6896         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
6897         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
6898         (__wcscoll): Likewise.
6899         (wcscmp): Don't use libc_hidden_proto.
6900         (wcscoll): Likewise.
6901         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
6902         wcscoll.
6903         * posix/regexec.c (check_node_accept_bytes): Likewise.
6904         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
6905         variable.
6906         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
6907         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
6909         [BZ #18507]
6910         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
6911         __fstatvfs and define as weak alias of __fstatvfs.  Use
6912         libc_hidden_weak.
6913         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
6914         and define as weak alias of __statvfs.  Use libc_hidden_weak.
6915         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
6916         Define as alias of __fstatvfs, not fstatvfs.
6917         (fstatvfs64): Likewise.
6918         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
6919         Define as alias of __statvfs, not statvfs.
6920         (statvfs64): Likewise.
6921         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
6922         Remove variable.
6924 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6927         (HAVE_GETCPU_VSYSCALL): Define.
6928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6929         (HAVE_GETCPU_VSYSCALL): Likewise.
6930         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
6931         * sysdeps/unix/sysv/linux/sched_getcpu.c
6932         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
6933         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
6934         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
6935         prototype.
6936         * sysdeps/unix/sysv/linux/x86_64/init-first.c
6937         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
6938         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
6939         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
6940         Define.
6941         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
6942         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6943         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
6944         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6946 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
6948         * sysdeps/x86_64/fpu/Makefile: New file.
6949         * sysdeps/x86_64/fpu/Versions: New file.
6950         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
6951         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
6952         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
6953         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
6954         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
6955         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
6956         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
6957         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
6958         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
6959         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
6960         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
6961         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
6962         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
6963         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
6964         Added build of SSE, AVX2 and AVX512 IFUNC versions.
6965         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
6966         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
6967         * sysdeps/x86_64/configure.ac: Options for libmvec build.
6968         * sysdeps/x86_64/configure: Regenerated.
6969         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
6970         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
6971         * manual/install.texi (Configuring and compiling): Document
6972         --disable-mathvec.
6973         * INSTALL: Regenerated.
6974         * NEWS: Mention addition of libmvec and x86_64 vector cos.
6976         * math/Makefile: Added rules for vector tests.
6977         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
6978         declaration under condition.
6979         * math/test-double-vlen2.h: New file.
6980         * math/test-double-vlen4.h: New file.
6981         * math/test-double-vlen8.h: New file.
6982         * math/test-vec-loop.h: Added initialization macro.
6983         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
6984         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
6985         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
6986         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
6987         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
6988         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
6989         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
6990         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
6991         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
6992         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
6993         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
6995         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6996         * sysdeps/x86_64/fpu/Versions: New versions added.
6997         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
6998         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
6999         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
7000         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
7001         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
7002         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
7003         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
7004         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
7005         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
7006         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
7007         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
7008         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
7009         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
7010         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
7011         Added build of SSE, AVX2 and AVX512 IFUNC versions.
7012         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
7013         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
7014         * NEWS: Mention addition of x86_64 vector cosf.
7016         * math/Makefile: Added CFLAGS for new tests.
7017         * math/test-float-vlen16.h: New file.
7018         * math/test-float-vlen4.h: New file.
7019         * math/test-float-vlen8.h: New file.
7020         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
7021         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
7022         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7023         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
7024         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
7025         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
7026         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
7027         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
7028         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
7029         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
7030         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
7032 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
7034         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
7035         * locale/programs/ld-ctype.c: Likewise.
7037 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
7039         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
7040         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
7041         bit_ZMM16_31_state): New macro.
7042         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7043         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
7045 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
7047         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
7049 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
7051         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
7053 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
7055         [BZ #18498]
7056         * libio/memstream.c (open_memstream): Rename to __open_memstream
7057         and define as weak alias of __open_memstream.
7058         * include/stdio.h (__open_memstream): Declare.  Use
7059         libc_hidden_proto.
7060         (open_memstream): Don't use libc_hidden_proto.
7061         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
7062         open_memstream.
7063         * posix/getopt.c (_getopt_internal_r): Likewise.
7064         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
7065         variable.
7066         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
7067         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
7068         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
7070         [BZ #18496]
7071         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
7072         instead of wcrtomb.
7074         [BZ #18483]
7075         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
7076         [__USE_XOPEN2K8].  Remove redundant #endif.
7077         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
7078         Remove redundant #if.
7079         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
7080         Remove variable.
7081         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
7082         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
7084         [BZ #18495]
7085         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
7086         (__iswlower): Likewise.
7087         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
7088         (__iswlower): Likewise.
7089         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
7090         instead of towlower.
7091         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
7092         instead of iswlower.  Call __towupper instead of towupper.
7093         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
7094         instead of iswalnum.
7096 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7098         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
7099         errors to stderr.
7101 2015-06-05  Florian Weimer  <fweimer@redhat.com>
7103         [BZ #15661]
7104         [BZ #17322]
7105         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
7106         Check for overflow properly.  Check for O_APPEND.  Ignore large
7107         file system block sizes.  Add comments about problems.
7108         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
7109         * manual/filesys.texi (Storage Allocation): New node.
7111 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7113         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
7114         cancellable syscalls.
7115         (SYS_ify): Add guard to no redefine it.
7116         (INLINE_SYSCALL): Likewise.
7117         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
7118         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
7119         SYSCALL_CANCEL instead.
7120         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
7121         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
7122         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
7123         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
7124         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
7125         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
7126         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
7127         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
7128         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
7129         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
7130         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
7131         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
7132         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
7133         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
7134         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
7135         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
7136         Likewise.
7137         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
7138         (__libc_pread64): Likewise.
7139         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
7140         (__libc_preadv): Likewise.
7141         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
7142         (__libc_readv64): Likewise.
7143         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
7144         (__libc_pwrite): Likewise.
7145         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
7146         (__libc_pwrite64): Likewise.
7147         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
7148         (__libc_pwritev): Likewise.
7149         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
7150         (__libc_pwritev64): Likewise.
7151         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
7152         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
7153         (sync_file_range): Likewise.
7154         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
7155         Likewise.
7156         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
7157         Likewise.
7158         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
7159         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
7160         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
7161         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
7162         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
7163         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
7164         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
7165         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
7166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
7167         Likewise.
7168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
7169         (__libc_read64): Likewise.
7170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
7171         Likewise.
7172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
7173         Likewise.
7174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
7175         Likewise.
7176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
7177         Likewise.
7178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
7179         (__libc_pread64): Likewise.
7180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
7181         Likewise.
7182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
7183         (__libc_pwrite64): Likewise.
7184         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
7185         (sync_file_range): Likewise.
7186         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
7187         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
7188         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
7189         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
7190         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
7191         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
7192         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
7193         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
7194         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
7195         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
7196         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
7197         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
7198         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
7199         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
7200         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
7201         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
7202         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
7203         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
7204         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
7205         Likewise.
7206         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
7207         Likewise.
7208         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
7209         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
7210         Likewise.
7211         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
7212         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
7213         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
7214         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
7215         Likewise.
7216         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
7217         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
7218         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
7219         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
7220         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
7222 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
7224         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
7225         Include dl-vdso.
7226         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
7227         Use VDSO routines for gettimeofday, clock_gettime if
7228         available.
7229         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
7230         Declare VDSO symbols.
7231         * sysdeps/unix/sysv/linux/arm/sysdep.h:
7232         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
7233         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
7234         * sysdeps/unix/sysv/linux/arm/Versions: Add
7235         __vdso_clock_gettime.
7237 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7239         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
7240         be an inline implementation regardless of library is built within.
7241         (open_not_cancel_2): Likewise.
7242         (__read_nocancel): Likewise.
7243         (__write_nocancel): Likewise.
7244         (openat_not_cancel): Likewise.
7245         (openat_not_cancel_3): Likewise.
7246         (openat64_not_cancel): Likewise.
7247         (openat64_not_cancel_3): Likewise.
7248         (__close_nocancel): Likewise.
7249         (pause_not_cancel): Likewise.
7250         (nanosleep_not_cancel): Likewise.
7251         (sigsuspend_not_cancel): Likewise.
7253 2015-06-04  Torvald Riegel  <triegel@redhat.com>
7255         [BZ #14958]
7256         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
7257         wake-up.
7258         (__pthread_rwlock_rdlock_slow): Likewise.
7259         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
7260         Likewise.
7261         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
7262         Likewise.
7263         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
7264         * nptl/tst-rwlock16.c: New file.
7265         * nptl/Makefile (tests): Add new test.
7267 2015-06-04  Torvald Riegel  <triegel@redhat.com>
7269         [BZ #18324]
7270         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
7271         missing wake-up of readers.
7272         * nptl/tst-rwlock15.c: New file.
7273         * nptl/Makefile (tests): Add new test.
7275 2015-06-03  Roland McGrath  <roland@hack.frob.com>
7277         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
7278         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
7279         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
7280         and __nacl_supply_interface_rtld.
7281         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
7282         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
7283         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
7284         Add __nacl_supply_interface_rtld.
7285         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
7287 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
7289         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
7290         isfinite.
7291         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7292         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
7294 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
7296         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
7297         __signbit* with standard C99 macros.
7298         * math/e_exp10l.c: Likewise.
7299         * math/e_exp2l.c: Likewise.
7300         * math/e_scalb.c: Likewise.
7301         * math/e_scalbf.c: Likewise.
7302         * math/e_scalbl.c: Likewise.
7303         * math/s_ldexp.c: Likewise.
7304         * math/s_ldexpf.c: Likewise.
7305         * math/s_ldexpl.c: Likewise.
7306         * math/w_atan2.c: Likewise.
7307         * math/w_atan2f.c: Likewise.
7308         * math/w_atan2l.c: Likewise.
7309         * math/w_cosh.c: Likewise.
7310         * math/w_coshf.c: Likewise.
7311         * math/w_coshl.c: Likewise.
7312         * math/w_exp10.c: Likewise.
7313         * math/w_exp10f.c: Likewise.
7314         * math/w_exp10l.c: Likewise.
7315         * math/w_exp2.c: Likewise.
7316         * math/w_exp2f.c: Likewise.
7317         * math/w_exp2l.c: Likewise.
7318         * math/w_fmod.c: Likewise.
7319         * math/w_fmodf.c: Likewise.
7320         * math/w_fmodl.c: Likewise.
7321         * math/w_hypot.c: Likewise.
7322         * math/w_hypotf.c: Likewise.
7323         * math/w_hypotl.c: Likewise.
7324         * math/w_jnl.c: Likewise.
7325         * math/w_lgamma.c: Likewise.
7326         * math/w_lgamma_r.c: Likewise.
7327         * math/w_lgammaf.c: Likewise.
7328         * math/w_lgammaf_r.c: Likewise.
7329         * math/w_lgammal.c: Likewise.
7330         * math/w_lgammal_r.c: Likewise.
7331         * math/w_pow.c: Likewise.
7332         * math/w_powf.c: Likewise.
7333         * math/w_powl.c: Likewise.
7334         * math/w_remainder.c: Likewise.
7335         * math/w_remainderf.c: Likewise.
7336         * math/w_remainderl.c: Likewise.
7337         * math/w_scalb.c: Likewise.
7338         * math/w_scalbf.c: Likewise.
7339         * math/w_scalbl.c: Likewise.
7340         * math/w_scalbln.c: Likewise.
7341         * math/w_scalblnf.c: Likewise.
7342         * math/w_scalblnl.c: Likewise.
7343         * math/w_sinh.c: Likewise.
7344         * math/w_sinhf.c: Likewise.
7345         * math/w_sinhl.c: Likewise.
7346         * math/w_tgamma.c: Likewise.
7347         * math/w_tgammaf.c: Likewise.
7348         * math/w_tgammal.c: Likewise.
7349         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7350         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
7351         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7352         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7353         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7354         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7355         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
7356         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7357         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7358         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7359         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7360         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
7361         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7362         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7363         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7364         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7365         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7366         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
7367         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7368         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7369         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7370         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
7371         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7372         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7373         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
7374         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7375         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
7376         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7377         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7378         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7379         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
7380         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
7381         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
7382         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
7383         * stdio-common/printf_fp.c: Likewise.
7384         * stdio-common/printf_fphex.c: Likewise.
7385         * stdio-common/printf_size.c: Likewise.
7387 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
7389         [BZ #18470]
7390         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
7391         strnlen.
7392         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
7393         Remove variable.
7394         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
7395         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
7396         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
7397         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
7398         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
7399         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
7400         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
7401         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
7402         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
7403         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
7405         [BZ #18468]
7406         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
7407         weak alias of __wmemchr.  Use libc_hidden_weak.
7408         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
7409         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
7410         instead of wmemchr.
7412 2015-06-02  Roland McGrath  <roland@hack.frob.com>
7414         [BZ #18383]
7415         * elf/tst-tlsalign-extern.c: New file.
7416         * elf/tst-tlsalign-extern-static.c: New file.
7417         * elf/tst-tlsalign-vars.c: New file.
7418         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
7419         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
7420         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
7421         ($(objpfx)tst-tlsalign-extern-static): Likewise.
7422         (test-xfail-tst-tlsalign-extern-static): New variable.
7424 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
7426         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
7427         Use variable name _sc_err instead of err.
7428         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
7429         instead of ret.
7430         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
7431         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
7432         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
7433         (INLINE_SYSCALL): Likewise.
7435         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
7436         * include/string.h (__strnlen): Use libc_hidden_proto.
7437         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
7438         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
7439         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
7440         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
7441         (libc_hidden_def): Undefine and redefine.
7442         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
7443         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
7444         __GI_strnlen.
7445         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
7446         libc_hidden_def.
7447         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
7449         [BZ #18469]
7450         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
7451         weak alias of __towlower.  Use libc_hidden_weak.
7452         (towupper): Rename to __towupper and define as weak alias of
7453         __towupper.  Use libc_hidden_weak.
7454         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
7455         (__towupper): Likewise.
7456         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
7457         __towlower instead of towlower.
7459 2015-06-02  Roland McGrath  <roland@hack.frob.com>
7461         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
7462         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
7464 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7466         * sysdeps/aarch64/libm-test-ulps: Update.
7468 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7470         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
7471         Define.
7472         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
7473         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
7474         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
7475         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
7476         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
7477         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
7478         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
7480 2015-06-01  Martin Sebor  <msebor@redhat.com>
7482         [BZ #18116]
7483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
7484         (__setcontext): Use extended four-operand version of mtsf whenever
7485         possible.
7486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
7487         (__novec_swapcontext): Likewise.
7489 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
7491         * benchtests/scripts/compare_bench.py: New file.
7492         * benchtests/scripts/import_bench.py (mean): New function.
7493         (split_list): Likewise.
7494         (do_for_all_timings): Likewise.
7495         (compress_timings): Likewise.
7497         * benchtests/scripts/import_bench.py: New file.
7498         * benchtests/scripts/validate_benchout.py: Import import_bench
7499         instead of jsonschema.
7500         (validate_bench): Remove function.
7501         (main): Use import_bench.
7503 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
7505         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
7506         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
7508 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7510         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7512 2015-05-28  Roland McGrath  <roland@hack.frob.com>
7514         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
7515         set THREAD_SELF->tid to a magic value and futex-wake it.
7516         Pass its address to the thread_exit system call.
7517         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
7518         bit is clear.
7519         * sysdeps/nacl/lowlevellock.h: New file.
7520         * sysdeps/nacl/lll_timedwait_tid.c: New file.
7522         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
7523         Add TIMEOUT to current time, don't subtract it.
7525 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
7527         [BZ #2981]
7528         [BZ #18422]
7529         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
7530         ($(objpfx)tst-audit2.out): Also depend on
7531         $(objpfx)tst-auditmod9b.so.
7532         * elf/tst-audit2.c: Include <dlfcn.h>.
7533         (calloc_called): New.
7534         (calloc): Allow to be called more than once.
7535         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
7537 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
7539         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
7540         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
7542 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
7544         * stdlib/monetary.h: Fix comment.
7546 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
7548         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
7549         Avoid using variables in #defines that might cause shadowing.
7550         (INTERNAL_VSYSCALL_CALL): Likewise.
7552 2015-05-26  Roland McGrath  <roland@hack.frob.com>
7554         * sysdeps/nacl/lll_timedlock_wait.c: New file.
7556         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
7557         * nptl/lll_timedlock_wait.c: ... to this new file.
7558         * nptl/Makefile (libpthread-routines): Add it.
7559         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
7560         * nptl/lll_timedwait_tid.c: ... to this new file.
7561         * nptl/Makefile (libpthread-routines): Add it.
7562         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
7563         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
7564         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
7565         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
7566         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
7567         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
7568         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
7569         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
7570         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
7571         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
7573 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7575         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
7576         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
7577         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
7578         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
7579         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
7580         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
7581         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
7582         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
7583         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
7584         * sysdeps/unix/sysv/linux/tile/sysdep.h
7585         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
7586         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
7587         using vDSO syscall macro.
7589 2015-05-26  Andriy Rysin  <arysin@gmail.com>
7591         [BZ #17293]
7592         * uk_UA: Fix sorting order for Ukrainian locale
7594 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
7596         * stdlib/monetary.h: Fix comment.
7598 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7600         [BZ #18234]
7601         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
7602         st_mtim and st_ctim members.
7603         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
7604         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
7605         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
7606         (struct stat64): Likewise.
7607         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
7608         (struct stat64): Likewise.
7609         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
7610         (struct stat64): Likewise.
7612 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7614         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
7615         Define and include sysdep-vdso.h.
7616         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
7617         Likewise.
7618         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
7619         Likewise.
7620         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
7621         Define with VDSO_SYMBOL and use PTR_MANGLE.
7622         (__vdso_clock_gettime): Likewise.
7623         (__vdso_clock_getres): Likewise.
7624         (_libc_vdso_platform_setup): Likewise.
7625         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
7626         Likewise.
7627         (_libc_vdso_platform_setup): Likewise.
7628         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
7629         Likewise.
7630         (__vdso_clock_gettime): Likewise.
7631         (__vdso_clock_getres): Likewise.
7632         (__vdso_get_tbfreq): Likewise.
7633         (__vdso_getcpu): Likewise.
7634         (__vdso_time): Likewise.
7635         (__vdso_sigtramp_rt64): Likewise.
7636         (__vdso_signtramp32): Likewise.
7637         (__vdso_sigtramp_rt32): Likewise.
7638         (_libc_vdso_platform_setup): Likewise.
7639         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
7640         Likewise.
7641         (__vdso_clock_gettime): Likewise.
7642         (__vdso_clock_getres): Likewise.
7643         (_libc_vdso_platform_setup): Likewise.
7644         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
7645         Likewise.
7646         (__vdso_clock_gettime): Likewise.
7647         (_libc_vdso_platform_setup): Likewise.
7648         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
7649         Likewise.
7650         (__vdso_getcpu): Likewise.
7651         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
7652         Use VDSO_SYMBOL macro to define.
7653         (__vdso_clock_gettime): Likewise.
7654         (__vdso_clock_getres): Likewise.
7655         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
7656         Likewise.
7657         (__vdso_clock_gettime): Likewise.
7658         (__vdso_clock_getres): Likewise.
7659         (__vdso_get_tbfreq): Likewise.
7660         (__vdso_getcpu): Likewise.
7661         (__vdso_time): Likewise.
7662         (__vdso_sigtramp_rt64): Likewise.
7663         (__vdso_signtramp32): Likewise.
7664         (__vdso_sigtramp_rt32): Likewise.
7665         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
7666         Likewise.
7667         (__vdso_clock_gettime): Likewise.
7668         (__vdso_clock_getres): Likewise.
7669         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
7670         Likewise.
7671         (__vdso_clock_gettime): Likewise.
7672         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
7673         Likewise.
7674         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
7675         macro.
7676         (INTERNAL_VSYSCALL): Likewise.
7677         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
7678         Remove macro.
7679         (INTERNAL_VSYSCALL): Likewise.
7680         (INTERNAL_VSYSCALL_NCS): Likewise.
7681         (INTERNAL_VSYSCALL_CALL): New macro.
7682         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
7683         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
7684         Likewise.
7685         (INTERNAL_VSYSCALL): Likewise.
7686         (INTERNAL_VSYSCALL_NCS): Likewise.
7687         (INTERNAL_VSYSCALL_CALL): New macro.
7688         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
7689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7690         (INLINE_VSYSCALL): Remove macro.
7691         (INTERNAL_VSYSCALL): Remove macro.
7692         (INTERNAL_VSYSCALL_NCS): Remove macro.
7693         (INTERNAL_VSYSCALL_CALL): New macro.
7694         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
7695         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
7696         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
7697         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
7698         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
7699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7700         (INLINE_VSYSCALL): Remove macro.
7701         (INTERNAL_VSYSCALL): Likewise.
7702         (INTERNAL_VSYSCALL_NCS): Likewise.
7703         (INTERNAL_VSYSCALL_CALL): New macro.
7704         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
7705         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
7706         PTR_DEMANGLE on vDSO pointer.
7707         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
7708         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
7709         macro.
7710         (INTERNAL_SYSCALL): Likewise.
7711         (INTERNAL_VSYSCALL_NCS): Remove macro.
7712         (INTERNAL_VSYSCALL_CALL): New macro.
7713         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
7714         Remove macro.
7715         (INTERNAL_VSYSCALL): Likewise.
7716         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
7717         sysdep-vdso.h instead of libc-vdso.h.
7718         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
7719         definition.
7720         (INLINE_VSYSCALL): Likewise.
7721         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
7722         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
7723         definition.
7724         (INLINE_VSYSCALL): Likewise.
7725         (INTERNAL_VSYSCALL): Likewise.
7726         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
7727         * sysdeps/unix/sysv/linux/timespec_get.c
7728         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
7729         (timespec_get): Use ANSI prototype.
7730         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
7731         and definition for Linux.
7733 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
7735         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
7736         * include/libc-symbols.h: libmvec_hidden_* macro series added.
7738 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
7740         [BZ #2981]
7741         [BZ #18410]
7742         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
7743         for missing DT_PLTRELSZ.
7745 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
7747         Remove obsolete aliases that broke 'locale -a'
7748         [BZ #18412]
7749         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
7750         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
7751         breaking some applications that use 'locale -a' output.
7752         Change the encoding of this file from Latin-1 to ASCII to avoid
7753         other potential problems with people grepping this file.
7755 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7757         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
7758         -fasynchronous-unwind-tables.
7759         (CFLAGS-sendto.c): Likewise.
7760         (CFLAGS-sendmsg.c): Likewise.
7761         (CFLAGS-connect.c): Likewise.
7762         (CFLAGS-recvmsg.c): Likewise.
7763         (CFLAGS-recvfrom.c): Likewise.
7764         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
7765         (SOCKETCALL): New macro: non-cancellable socketcall.
7766         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
7767         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
7768         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
7769         * sysdeps/unix/sysv/linux/accept.c: New file.
7770         * sysdeps/unix/sysv/linux/bind.c: Likewise.
7771         * sysdeps/unix/sysv/linux/connect.c: Likewise.
7772         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
7773         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
7774         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
7775         * sysdeps/unix/sysv/linux/listen.c: Likewise.
7776         * sysdeps/unix/sysv/linux/recv.c: Likewise.
7777         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
7778         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
7779         * sysdeps/unix/sysv/linux/send.c: Likewise.
7780         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
7781         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
7782         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
7783         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
7784         * sysdeps/unix/sysv/linux/socket.c: Likewise.
7785         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
7786         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
7787         prototype.
7788         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
7789         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
7790         instead of __internal_xxx function.
7791         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
7792         prototype.
7793         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
7794         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
7795         instead of __internal_xxx function.
7796         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
7797         prototype.
7798         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
7799         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
7800         instead of __internal_xxx function.
7801         * sysdeps/unix/sysv/linux/accept.S: Remove file.
7802         * sysdeps/unix/sysv/linux/bind.S: Likewise.
7803         * sysdeps/unix/sysv/linux/connect.S: Likewise.
7804         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
7805         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
7806         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
7807         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
7808         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
7809         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
7810         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
7811         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
7812         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
7813         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
7814         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
7815         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
7816         * sysdeps/unix/sysv/linux/listen.S: Likewise.
7817         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
7818         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
7819         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
7820         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
7821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
7822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
7823         * sysdeps/unix/sysv/linux/recv.S: Likewise.
7824         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
7825         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
7826         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
7827         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7828         * sysdeps/unix/sysv/linux/send.S: Likewise.
7829         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
7830         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
7831         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
7832         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
7833         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
7834         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
7835         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
7836         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
7837         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
7838         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
7839         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
7840         socketcall is implemented in GLIBC.
7842 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
7844         * soft-fp/fmadf4.c: Include <libc-internal.h>.
7845         (__fma): Ignore uninitialized warnings around packing.
7846         * soft-fp/fmasf4.c: Include <libc-internal.h>.
7847         (__fmaf): Ignore uninitialized warnings around packing.
7848         * soft-fp/fmatf4.c: Include <libc-internal.h>.
7849         (__fmal): Ignore uninitialized warnings around packing.
7851         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
7852         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
7853         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
7854         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
7856         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
7857         switch statement into default case.
7858         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
7860         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
7861         a conditional in forcing "inexact".
7862         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
7863         Likewise.
7865 2015-05-22  Roland McGrath  <roland@hack.frob.com>
7867         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
7868         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
7869         for each INTERNAL_SYSCALL use.
7871 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
7873         [BZ #438]
7874         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
7875         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
7876         variable.
7878         [BZ #18444]
7879         * string/basename.c (basename): Rename to __basename and define as
7880         weak alias of __basename.  Use libc_hidden_weak.
7881         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
7882         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
7883         __basename instead of basename.
7884         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
7885         Remove variable.
7886         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
7888 2015-05-18  Florian Weimer  <fweimer@redhat.com>
7890         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
7891         (_IO_JUMPS_FILE_plus): New.
7892         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
7893         _IO_CAST_FIELD_ACCESS.
7894         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
7895         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
7896         * libio/freopen.c (freopen): Likewise.
7897         * libio/freopen64.c (freopen64): Likewise.
7898         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
7899         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
7900         * libio/iofwide.c (_IO_fwide): Likewise.
7901         * libio/memstream.c (open_memstream): Likewise.
7902         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
7903         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
7904         * libio/oldiopopen.c (_IO_old_popen): Likewise.
7906 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
7908         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
7909         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
7910         NADJ.
7911         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
7912         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
7913         NADJ.
7914         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
7915         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
7916         NADJ.
7918         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
7919         (p == 4) case.
7921         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
7922         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
7923         Remove variable.
7924         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
7925         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
7926         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
7928 2015-05-21  Florian Weimer  <fweimer@redhat.com>
7930         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
7931         Adjust jump table label generation macros.
7933 2015-05-21  Florian Weimer  <fweimer@redhat.com>
7935         * stdio-common/vfprintf.c (vfprintf): Move local variables
7936         args_malloced, specs, specs_malloced, and the code after
7937         do_positional to the printf_positional function.
7938         (printf_positional): New function.
7940 2015-05-21  Florian Weimer  <fweimer@redhat.com>
7942         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
7943         function.
7944         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
7945         STEP4_TABLE, process_arg): Move macro definitions
7946         out of the vfprintf function.  (Cosmetic change only.)
7948 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
7950         * benchtests/Makefile (stdio-common-bench): Define.
7951         (benchset): Add stdio-common-bench.
7952         * sprintf-inputs: New file.
7953         * sprintf-source.c: New file.
7955 2015-05-21  Andreas Schwab  <schwab@suse.de>
7957         [BZ #13028]
7958         [BZ #17053]
7959         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
7960         of struct __res_state.
7961         * resolv/res_send.c (__libc_res_nsend): Likewise.
7962         (get_nsaddr): New function.
7963         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
7964         statp directly.
7966 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
7968         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
7969         -D_POSIX_C_SOURCE=199506L.
7971         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
7973         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
7974         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
7975         Do not mention otherwise.
7976         [POSIX] (_XOPEN_VERSION): Do not expect.
7977         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
7978         [POSIX] (_POSIX2_C_BIND): Likewise.
7979         [POSIX] (_POSIX2_VERSION): Likewise.
7980         [POSIX] (_XOPEN_XPG2): Likewise.
7981         [POSIX] (_XOPEN_XPG3): Likewise.
7982         [POSIX] (_XOPEN_XPG4): Likewise.
7983         [POSIX] (_XOPEN_UNIX): Likewise.
7984         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
7985         [POSIX] (_POSIX_BARRIERS): Likewise.
7986         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
7987         [POSIX] (_POSIX_CPUTIME): Likewise.
7988         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
7989         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
7990         [POSIX] (_POSIX_SHELL): Likewise.
7991         [POSIX] (_POSIX_SPAWN): Likewise.
7992         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
7993         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
7994         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
7995         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
7996         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
7997         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
7998         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
7999         [POSIX] (_XBS5_LP64_OFF64): Likewise.
8000         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
8001         [POSIX] (_POSIX_TIMEOUTS): Likewise.
8002         [POSIX] (_POSIX2_PBS): Likewise.
8003         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
8004         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
8005         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
8006         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
8007         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
8008         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
8009         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
8010         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
8011         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
8012         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
8013         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
8014         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
8015         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
8016         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
8017         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
8018         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
8019         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
8020         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
8021         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
8022         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
8023         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
8024         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
8025         [POSIX] (_SC_2_C_BIND): Likewise.
8026         [POSIX] (_SC_2_C_VERSION): Likewise.
8027         [POSIX] (_SC_2_PBS): Likewise.
8028         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
8029         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
8030         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
8031         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
8032         [POSIX] (_SC_2_PBS_TRACK): Likewise.
8033         [POSIX] (_SC_ATEXIT_MAX): Likewise.
8034         [POSIX] (_SC_BARRIERS): Likewise.
8035         [POSIX] (_SC_BASE): Likewise.
8036         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
8037         [POSIX] (_SC_DEVICE_IO): Likewise.
8038         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
8039         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
8040         [POSIX] (_SC_FD_MGMT): Likewise.
8041         [POSIX] (_SC_FIFO): Likewise.
8042         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
8043         [POSIX] (_SC_FILE_LOCKING): Likewise.
8044         [POSIX] (_SC_FILE_SYSTEM): Likewise.
8045         [POSIX] (_SC_IOV_MAX): Likewise.
8046         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
8047         [POSIX] (_SC_NETWORKING): Likewise.
8048         [POSIX] (_SC_PAGE_SIZE): Likewise.
8049         [POSIX] (_SC_PASS_MAX): Likewise.
8050         [POSIX] (_SC_PIPE): Likewise.
8051         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
8052         [POSIX] (_SC_REGEXP): Likewise.
8053         [POSIX] (_SC_SHELL): Likewise.
8054         [POSIX] (_SC_SIGNALS): Likewise.
8055         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
8056         [POSIX] (_SC_SPIN_LOCKS): Likewise.
8057         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
8058         [POSIX] (_SC_USER_GROUPS): Likewise.
8059         [POSIX] (_SC_USER_GROUPS_R): Likewise.
8060         [POSIX] (_SC_STREAMS): Likewise.
8061         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
8062         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
8063         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
8064         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
8065         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
8066         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
8067         [POSIX] (_PC_FILESIZEBITS): Likewise.
8068         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
8069         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
8070         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
8071         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
8072         [POSIX] (uid_t): Likewise.
8073         [POSIX] (gid_t): Likewise.
8074         [POSIX] (off_t): Likewise.
8075         [POSIX] (pid_t): Likewise.
8076         [POSIX] (cuserid): Allow.
8077         (_SC_2_CHAR_TERM): Require constant.
8078         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
8079         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
8080         variable.
8082 2015-05-20  Roland McGrath  <roland@hack.frob.com>
8084         * sysdeps/nacl/pthread-pids.h: New file.
8085         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
8086         (create_thread): Use __nacl_get_tid to initialize PD->tid.
8088         * nptl/pthread-pids.h: New file.
8089         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
8090         * nptl/nptl-init.c: Include <pthread-pids.h>.
8091         (__pthread_initialize_minimal_internal):
8092         Call __pthread_initialize_pids instead of set_tid_address syscall.
8094         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
8095         * sysdeps/posix/usleep.c: ... here.
8097 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8099         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
8100         call_pselect6 object.
8101         [$(subdir) = io]: Remove call_sync_file_range object.
8102         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
8103         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
8104         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
8105         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
8107 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
8109         * math/s_cproj.c: Add include "math_private.h".
8110         * math/s_cprojf.c: Likewise.
8111         * math/s_cprojl.c: Likewise.
8113 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
8115         [BZ #18244]
8116         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
8117         high mantissa bit when testing whether P is a NaN.
8118         * math/libm-test.inc (remainder_test_data): Add more tests.
8119         (remquo_test_data): Likewise.
8121         [BZ #18049]
8122         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
8123         below -32, return the argument, with underflow if subnormal.
8124         * math/auto-libm-test-in: Add more tests of atanh.
8125         * math/auto-libm-test-out: Regenerated.
8127 2015-05-19  Roland McGrath  <roland@hack.frob.com>
8129         [BZ #18434]
8130         * nptl/tst-sem15.c: New file.
8131         * nptl/Makefile (tests): Add it.
8132         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
8133         s/<</>>/ to fix typo in EOVERFLOW check.
8134         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
8136 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
8138         * manual/strings.texi (envz_remove): Fix typo in safety
8139         annotations.
8141 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
8142             Steve Ellcey  <sellcey@imgtec.com>
8144         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
8145         in order to avoid strict alias warnings.
8146         (iruserok_af): Ditto for ra.
8148 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
8150         [BZ #17581]
8151         * malloc/hooks.c
8152         (magicbyte): Convert to a function and avoid returning 0x01.
8153         (mem2mem_check): Avoid using a length byte equal to the magic byte.
8154         (mem2chunk_check): Fix unsigned comparisons to zero.
8155         Hoist defs of sz and magic.
8157 2015-05-19  Richard Henderson  <rth@redhat.com>
8159         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
8161         * sysdeps/alpha/fpu/libm-test-ulps: Update.
8163 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
8165         [BZ #16159]
8166         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
8167         * malloc/arena.c (arena_lock): Check if arena is corrupt.
8168         (reused_arena): Find a non-corrupt arena.
8169         (heap_trim): Pass arena to unlink.
8170         * malloc/hooks.c (malloc_check_get_size): Pass arena to
8171         malloc_printerr.
8172         (top_check): Likewise.
8173         (free_check): Likewise.
8174         (realloc_check): Likewise.
8175         * malloc/malloc.c (malloc_printerr): Add arena argument.
8176         (unlink): Likewise.
8177         (munmap_chunk): Adjust.
8178         (ARENA_CORRUPTION_BIT): New macro.
8179         (arena_is_corrupt): Likewise.
8180         (set_arena_corrupt): Likewise.
8181         (sysmalloc): Use mmap if there are no usable arenas.
8182         (_int_malloc): Likewise.
8183         (__libc_malloc): Don't fail if arena_get returns NULL.
8184         (_mid_memalign): Likewise.
8185         (__libc_calloc): Likewise.
8186         (__libc_realloc): Adjust for additional argument to
8187         malloc_printerr.
8188         (_int_free): Likewise.
8189         (malloc_consolidate): Likewise.
8190         (_int_realloc): Likewise.
8191         (_int_memalign): Don't touch corrupt arenas.
8192         * malloc/tst-malloc-backtrace.c: New test case.
8194         * Makefile (summarize-tests): Fix return value on success.
8196         * manual/string.texi (Envz Functions): Add envz_remove.
8198 2015-05-18  Roland McGrath  <roland@hack.frob.com>
8200         * sysdeps/posix/opendir.c: Include <stdbool.h>.
8201         (invalid_name): New function, broken out of ...
8202         (__opendirat): ... here.  Call it.
8203         (need_isdir_precheck): New function, broken out of ...
8204         (__opendirat): ... here.  Call it.
8205         Use __fxstatat64, not __xstatat64.
8206         (opendir_oflags): New function, broken out of ...
8207         (__opendirat): ... here.  Call it.
8208         (opendir_tail): New function, broken out of ...
8209         (__opendirat): ... here.  Call it.
8210         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
8211         opendir_tail, rather than punting to __opendirat.
8212         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
8214 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
8216         * .gitignore: Ignore generated *.pyc.
8218 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
8220         * include/stdio.h: Define __need_wint_t.
8221         * test-skeleton.c: Avoid `for' loop initial declaration.
8222         * nptl/tst-initializers1.c: Use test-skeleton.c.
8224 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8226         [BZ #18418]
8227         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
8229 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
8231         [BZ #16352]
8232         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
8233         (__ieee754_atanh): Force underflow exception for results with
8234         small absolute value.
8235         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
8236         (__ieee754_atanhf): Force underflow exception for results with
8237         small absolute value.
8238         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
8239         (__ieee754_atanh): Force underflow exception for results with
8240         small absolute value.
8241         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
8242         (__ieee754_atanhf): Force underflow exception for results with
8243         small absolute value.
8244         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
8245         (__ieee754_atanhl): Force underflow exception for results with
8246         small absolute value.
8247         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
8248         (__ieee754_atanhl): Force underflow exception for results with
8249         small absolute value.
8250         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
8251         (__ieee754_atanhl): Force underflow exception for results with
8252         small absolute value.
8253         * math/auto-libm-test-in: Do not allow missing underflow
8254         exceptions from atanh.
8255         * math/auto-libm-test-out: Regenerated.
8257         [BZ #18221]
8258         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
8259         2**-28 as threshold for returning x or +/- 1/x.
8260         * math/auto-libm-test-in: Add more tests of tan.
8261         * math/auto-libm-test-out: Regenerated.
8263         [BZ #18220]
8264         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
8265         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
8266         * math/auto-libm-test-in: Add another test of lgamma.
8267         * math/auto-libm-test-out: Regenerated.
8269 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
8271         * stdio-common/printf_fp.c (___printf_fp): Use abs.
8272         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
8273         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
8274         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
8275         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
8276         (ADD2A): Use fabs.  (SUB2A): Use fabs.
8277         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
8278         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
8279         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
8280         (log1): Use fabs.  (my_log2): Use fabs.
8281         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
8282         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
8283         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
8284         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
8285         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
8286         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
8287         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
8288         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
8289         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
8290         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
8291         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
8293 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
8295         [BZ #18217]
8296         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
8297         as threshold for returning 1 - x.
8298         * math/auto-libm-test-in: Add more tests of erfc.
8299         * math/auto-libm-test-out: Regenerated.
8301 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
8303         [BZ #18196]
8304         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
8305         threshold for large arguments.
8306         * math/auto-libm-test-in: Add another test of atan.
8307         * math/auto-libm-test-out: Regenerated.
8309         [BZ #16339]
8310         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
8311         (__log1p): Force underflow exception for results with small
8312         absolute value.
8313         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
8314         (__log1pf): Force underflow exception for results with small
8315         absolute value.
8316         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
8317         (__log1p): Force underflow exception for results with small
8318         absolute value.
8319         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
8320         (__log1pf): Force underflow exception for results with small
8321         absolute value.
8322         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
8323         (__log1pl): Force underflow exception for results with small
8324         absolute value.
8325         * math/auto-libm-test-in: Do not allow missing underflow
8326         exceptions from log1p.
8327         * math/auto-libm-test-out: Regenerated.
8329 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
8330             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8332         [BZ #16704]
8333         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
8335 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
8337         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
8338         (libmvec): New variable.
8339         * configure.ac: Added option for mathvec build.
8340         * configure: Regenerated.
8341         * mathvec/Depend: New file.
8342         * mathvec/Makefile: New file.
8343         * shlib-versions: Added libmvec.
8344         * math/Makefile: Added rule for libm.so installation.
8346         * bits/math-vector.h: New file.
8347         * bits/libm-simd-decl-stubs.h: New header.
8348         * math/Makefile (headers): Added new header
8349         libm-simd-decl-stubs.h.
8350         * math/math.h (__MATHCALL_VEC): New macro.
8352         * math/gen-libm-have-vector-test.sh: Script generates series of macros
8353         for conditions in testing functions.
8354         * math/Makefile: Added call of libm-have-vector-test.sh.
8355         * math/libm-test.inc (HAVE_VECTOR): New macros.
8357         * math/libm-test.inc: START refactored.
8358         * math/test-double.c (TEST_MATHVEC): Add define.
8359         * math/test-float.c: Likewise.
8360         * math/test-idouble.c: Likewise.
8361         * math/test-ifloat.c: Likewise.
8362         * math/test-ildoubl.c: Likewise.
8363         * math/test-ldouble.c: Likewise.
8364         * sysdeps/generic/math-tests-arch.h
8365         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
8366         architecture check.
8368         * math/test-double.c (FUNC_TEST): New macro.
8369         * math/test-float.c: Likewise.
8370         * math/test-idouble.c: Likewise.
8371         * math/test-ifloat.c: Likewise.
8372         * math/test-ildoubl.c: Likewise.
8373         * math/test-ldouble.c: Likewise.
8374         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
8376 2015-05-13  Roland McGrath  <roland@hack.frob.com>
8378         * sysdeps/nacl/fdopendir.c: New file.
8380         * dirent/scandir-tail.c: New file.
8381         * dirent/scandir64-tail.c: New file.
8382         * dirent/Makefile (routines): Add them.
8383         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
8384         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
8385         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
8386         [!SCANDIR] (SCANDIR_TAIL): New macro.
8387         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
8388         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
8389         (SCANDIRAT): Macro removed.
8390         (SCANDIR_TAIL): New macro.
8391         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
8392         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
8393         (SCANDIRAT): Just call __opendirat and __scandir_tail.
8394         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
8395         (READDIR): Macro removed.
8396         (SCANDIR_TAIL): New macro.
8397         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
8398         (SCANDIR_TAIL): New macro.
8400         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
8401         * dirent/scandir-cancel.c: ... to this new file.
8402         * dirent/Makefile (routines): Add it.
8403         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
8404         * sysdeps/unix/sysv/linux/i386/scandir64.c
8405         (SKIP_SCANDIR_CANCEL): Macro removed.
8406         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
8408         * dirent/tst-scandir.c: New file.
8409         * dirent/tst-scandir64.c: New file.
8410         * dirent/Makefile (tests): Add them.
8412 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
8414         [BZ #18409]
8415         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
8417 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8419         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
8420         list.
8422 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
8424         * benchtests/bench-strcoll.c: New benchmark.
8425         * benchtests/Makefile: Generate locales and run benchmark.
8426         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
8427         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
8428         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
8429         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
8430         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
8431         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
8432         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
8433         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
8434         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
8435         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
8436         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
8437         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
8438         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
8439         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
8440         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
8441         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
8442         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
8443         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
8444         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
8445         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
8446         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
8447         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
8448         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
8449         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
8451 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
8453         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
8454         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8456 2015-05-12  Roland McGrath  <roland@hack.frob.com>
8458         * posix/uname-values.h: New file.
8459         * posix/uname.c: Include that instead of <config-name.h>.
8460         * sysdeps/nacl/uname-values.h: New file.
8461         * sysdeps/arm/nacl/uname-values.h: New file.
8463 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
8465         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
8466         splitting into fields.
8468 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
8470         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
8471         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
8472         * locale/localeinfo.h: Add enum collation_encoding_type.
8473         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
8474         * programs/ld-collate.c (collate_output): Add encoding type info.
8475         * string/strcoll_l.c (STRDIFF): New function.
8476         * (STRCOLL): Use STRDIFF to skip over equal prefix.
8477         * wcsmbs/wcscoll_l.c: Define STRDIFF.
8479 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
8481         [BZ #18397]
8482         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
8483         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
8484         <fpu_control.h> instead of <math/fpu_control.c>.
8485         * sysdeps/mips/mips32/fpu/Makefile: New file.
8487 2015-05-11  Andreas Schwab  <schwab@suse.de>
8489         [BZ #18007]
8490         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
8491         nss_endgrent.
8492         (_nss_compat_endgrent): Call nss_endgrent.
8493         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
8494         nss_endpwent.
8495         (_nss_compat_endpwent): Call nss_endpwent.
8496         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
8497         needent, call nss_setspent only if non-zero.
8498         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
8499         (internal_endspent): Don't call nss_endspent.
8500         (_nss_compat_endspent): Call nss_endspent.
8501         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
8502         Remove.  All uses removed.
8503         (internal_setent): Remove parameter stayopen, add parameter
8504         stream.  Use it instead of global variable.
8505         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
8506         (internal_endent, internal_getent): Add parameter stream.  Use it
8507         instead of global variable.
8508         (CONCAT(_nss_files_end,ENTNAME))
8509         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
8510         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
8511         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
8512         uses removed.
8513         (internal_setent, internal_endent): Add parameter stream.  Use it
8514         instead of global variable.
8515         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
8516         stream.
8517         (get_next_alias): Add parameter stream.
8518         (_nss_files_getaliasent_r): Pass global stream.
8519         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
8520         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
8521         (_nss_files_gethostbyname4_r): Pass local stream to
8522         internal_setent, internal_getent and internal_endent.  Remove
8523         locking.
8525 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8527         * tst-strfmon1.c (tests): Update expected currency symbol.
8529 2015-05-08  Roland McGrath  <roland@hack.frob.com>
8531         * sysdeps/nacl/gethostname.c: New file.
8533 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
8535         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
8536         and sinh.
8537         * math/auto-libm-test-out: Regenerated.
8538         * sysdeps/i386/fpu/libm-test-ulps: Update.
8539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8541 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
8543         [BZ #18125]
8544         * stdlib/tst-setcontext3.c: New file.
8545         * stdlib/tst-setcontext3.sh: New file.
8546         * stdlib/Makefile (tests): Add tst-setcontext3.
8547         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
8548         to verify test program created output file.
8549         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
8550         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
8551         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
8552         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
8554 2015-05-06  Roland McGrath  <roland@hack.frob.com>
8556         [BZ #18383]
8557         * elf/tst-tlsalign.c: New file.
8558         * elf/tst-tlsalign-static.c: New file.
8559         * elf/tst-tlsalign-lib.c: New file.
8560         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
8561         (tests-static): Add tst-tlsalign-static.
8562         (modules-names): Add tst-tlsalign-lib.
8563         (test-xfail-tst-tlsalign): New variable.
8564         (test-xfail-tst-tlsalign-static): New variable.
8566         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
8567         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
8569 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
8571         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
8572         csqrt, erfc, sin and sincos.
8573         * math/auto-libm-test-out: Regenerated.
8574         * sysdeps/i386/fpu/libm-test-ulps: Update.
8575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8577 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8579         * sysdeps/aarch64/libm-test-ulps: Update.
8581 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
8583         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
8584         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
8585         * math/auto-libm-test-out: Regenerated.
8586         * sysdeps/i386/fpu/libm-test-ulps: Update.
8587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8589 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
8591         [BZ #18265]
8592         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
8593         (wcsncpy): Likewise.
8595 2015-05-05  Florian Weimer  <fweimer@redhat.com>
8597         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
8598         Assume __ASSUME_FALLOCATE is always true.
8599         * sysdeps/unix/sysv/linux/posix_fallocate64.c
8600         (__posix_fallocate64_l64): Likweise.
8601         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
8602         (posix_fallocate): Likewise.
8603         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
8604         (__posix_fallocate64_l64): Likewise.
8605         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8606         [!__ASSUME_FALLOCATE]: Add comment.
8608 2015-05-05  Florian Weimer  <fweimer@redhat.com>
8610         * sysdeps/unix/sysv/linux/i386/Makefile
8611         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
8612         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
8613         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
8614         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
8615         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
8616         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
8617         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
8619 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
8621         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
8622         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
8623         tgamma.
8624         * math/auto-libm-test-out: Regenerated.
8625         * sysdeps/i386/fpu/libm-test-ulps: Update.
8626         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8628 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
8630         * math/auto-libm-test-in: Add more tests of tgamma.
8631         * math/auto-libm-test-out: Regenerated.
8632         * sysdeps/i386/fpu/libm-test-ulps: Update.
8633         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8635         * math/auto-libm-test-in: Add more tests of tanh.
8636         * math/auto-libm-test-out: Regenerated.
8637         * sysdeps/i386/fpu/libm-test-ulps: Update.
8638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8640         * math/auto-libm-test-in: Add more tests of tan.
8641         * math/auto-libm-test-out: Regenerated.
8642         * sysdeps/i386/fpu/libm-test-ulps: Update.
8643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8645         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
8646         * math/auto-libm-test-out: Regenerated.
8647         * sysdeps/i386/fpu/libm-test-ulps: Update.
8648         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8650         * math/auto-libm-test-in: Add another test of pow.
8651         * math/auto-libm-test-out: Regenerated.
8652         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8654         * math/auto-libm-test-in: Add more tests of lgamma.
8655         * math/auto-libm-test-out: Regenerated.
8656         * sysdeps/i386/fpu/libm-test-ulps: Update.
8657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8659         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
8660         log1p.
8661         * math/auto-libm-test-out: Regenerated.
8662         * sysdeps/i386/fpu/libm-test-ulps: Update.
8663         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8665 2015-05-01  Mark Wielaard  <mjw@redhat.com>
8667         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
8668         Elf64_Chdr structs and ELFCOMPRESS constants.
8670 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
8672         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
8673         expm1.
8674         * math/auto-libm-test-out: Regenerated.
8675         * sysdeps/i386/fpu/libm-test-ulps: Update.
8676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8678         * math/auto-libm-test-in: Add more tests of erf and erfc.
8679         * math/auto-libm-test-out: Regenerated.
8680         * sysdeps/i386/fpu/libm-test-ulps: Update.
8681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8683 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8685         * config.h.in (HAVE_AARCH64_BE): Add.
8687 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
8689         * math/auto-libm-test-in: Add more tests of csqrt.
8690         * math/auto-libm-test-out: Regenerated.
8691         * sysdeps/i386/fpu/libm-test-ulps: Update.
8692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8694         * math/auto-libm-test-in: Add more tests of cosh and sinh.
8695         * math/auto-libm-test-out: Regenerated.
8696         * sysdeps/i386/fpu/libm-test-ulps: Update.
8697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8699         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
8701 2015-04-29  Roland McGrath  <roland@hack.frob.com>
8703         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
8704         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
8706         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
8707         (euidaccess, eaccess): Define as weak aliases.
8709         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
8710         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
8711         but __suseconds_t is often 'long int' so some sources assume that
8712         type is being used (e.g. they use %ld to print tv_usec).
8714 2015-04-29  Florian Weimer  <fweimer@redhat.com>
8716         [BZ #18007]
8717         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
8718         (CVE-2014-8121)
8719         * nss/tst-nss-getpwent.c: New file.
8720         * nss/Makefile (tests): Add new test.
8722 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
8724         [BZ #18346]
8725         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
8726         exponents less than 48 as cases where high part of mantissa needs
8727         examining to determine whether argument is integral.
8728         * math/libm-test.inc (round_test_data): Add more tests.
8730 2015-04-28  Mark Wielaard  <mjw@redhat.com>
8732         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
8734 2015-04-27  David S. Miller  <davem@davemloft.net>
8736         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
8737         __tls_get_addr.
8738         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
8740 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
8742         [BZ#18333]
8743         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
8745 2015-04-27  Florian Weimer  <fweimer@redhat.com>
8747         [BZ#18333]
8748         * time/tzset.c (parse_tzname): Return error on memory allocation
8749         failure.
8750         * test-skeleton.c (struct temp_name_list): Change type of name
8751         member to non-const.
8752         (add_temp_file): Create a copy of the file name.
8753         (delete_temp_files): Deallocate memory.
8754         (create_temp_file): Add comment.
8756 2015-04-24  Florian Weimer  <fweimer@redhat.com>
8758         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
8759         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
8761 2015-04-24  Roland McGrath  <roland@hack.frob.com>
8763         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
8764         * sysdeps/arm/configure: Regenerated.
8766 2015-04-24  Florian Weimer  <fweimer@redhat.com>
8768         [BZ #17715]
8769         * time/tzfile.c (__tzfile_read): Check for large values of
8770         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
8771         * time/tzset.c (__tzstring_len): New function, based on the old
8772         __tzstring function.
8773         (__tzstring): Call __tzstring_len.
8774         (parse_tzname): New helper function extracted from
8775         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
8776         the input string.
8777         (parse_offset): New helper function extracted from
8778         __tzset_parse_tz.  Replace switch with fallthrough with
8779         initialization before sscanf.
8780         (parse_rule): Likewise.
8781         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
8782         new-style function definition.
8783         * timezone/Makefile (tests): Add tst-tzset.
8784         (tst-tzset.out): Dependencies on time zone files.
8785         (tst-tzset-ENV): Set TZDIR.
8786         (testdata/XT%): Copy crafted time zone files.
8787         * timezone/README: Mention crafted time zone files.
8788         * timezone/testdata/XT1, timezone/testdata/XT2,
8789         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
8790         files.
8791         * timezone/tst-tzset.c: New test.
8793 2015-04-24  Florian Weimer  <fweimer@redhat.com>
8795         * Makeconfig (+gccwarn): Remove -Winline.
8797 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8799         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
8801 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8803         * NEWS: Mention sysconf() cache information support for s390.
8804         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
8806 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
8808         * math/k_casinh.c (__kernel_casinh): Use __copysign.
8809         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
8810         (__nearbyint): Likewise.
8811         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
8812         (copysignl): Likewise.
8814 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
8816         [BZ #18287]
8817         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
8818         based on padding.  (CVE-2015-1781)
8820 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8822         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
8823         libc-vdso.h.
8824         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
8825         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
8826         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
8827         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
8828         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
8829         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
8830         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
8831         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
8832         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
8833         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
8834         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8835         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
8836         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
8837         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
8838         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
8839         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
8840         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
8841         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
8842         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
8843         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
8844         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
8845         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
8846         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
8848 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
8850         * stdlib/setenv.c (__add_to_environ):
8851         Dump core quickly if setenv (..., NULL, ...) is called.
8852         This time, do it the right way, and pacify GCC with a pragma.
8854 2015-04-17  Roland McGrath  <roland@hack.frob.com>
8856         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
8857         IMAP->l_prev cannot be null, and #if out the code for the contrary
8858         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
8859         believe that NS (&_dl_ns[NSID]) could point outside the array.
8861         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
8862         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
8863         before using NSID as an index.
8865 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
8867         [BZ #17825]
8868         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
8869         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
8870         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
8872 2015-04-17  Roland McGrath  <roland@hack.frob.com>
8874         Add preliminary port to Google Native Client on ARM.
8875         * abi-tags (.*-.*-nacl.*): New entry.
8876         * sysdeps/arm/nacl: New directory.
8877         * sysdeps/nacl: New directory.
8879 2015-04-16  David S. Miller  <davem@davemloft.net>
8881         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
8882         lowlevellock-futex.h
8884 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
8886         * sysdeps/tile/configure.ac: New file.
8887         * sysdeps/tile/configure: Regenerated.
8889 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8891         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
8892         conditionals for weak_alias and libc_hidden_weak.
8893         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
8894         libc_hidden_weak and weak_alias.
8895         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
8896         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
8897         and weak_alias for static one.
8899 2015-04-15  David S. Miller  <davem@davemloft.net>
8901         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
8903 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8905         [BZ #18206]
8906         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
8907           Use signed comparision instead of substraction to avoid
8908           overflow bug.
8909         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
8910           Take the sign of ret.
8911         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
8912           Do not expect precise return values. Only the sign matters.
8913         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
8914         * wcsmbs/test-wcsncmp.c: New File.
8915         * string/test-strncmp.c: Add wcsncmp support.
8917 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8919         [BZ #6792]
8920         * math/w_log1p.c: New file.
8921         * math/w_log1pf.c: Likewise.
8922         * math/w_log1pl.c: Likewise.
8923         * math/Makefile (libm-calls): Add w_log1p.
8924         * math/s_log1pl.c (log1pl): Remove weak_alias.
8925         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
8926         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
8927         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
8928         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
8929         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
8930         [NO_LONG_DOUBLE] (log1pl): Likewise.
8931         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
8932         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
8933         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
8934         (log1p): Remove long_double_symbol.
8935         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
8936         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
8937         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
8938         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
8939         remove weak_alias for corresponding log1p function.
8940         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
8941         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
8942         * sysdeps/ia64/fpu/w_log1p.c: New file.
8943         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
8944         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
8945         * math/libm-test.inc (log1p_test_data): Add errno expectations.
8947 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
8949         [BZ #18247]
8950         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
8951         decimal exponent by 1.
8952         * stdlib/tst-strtod-round-data: Add more tests.
8953         * stdlib/tst-strtod-round.c (tests): Regenerated.
8955 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
8957         * math/auto-libm-test-in: Add more tests of clog and clog10.
8958         * math/auto-libm-test-out: Regenerated.
8959         * sysdeps/i386/fpu/libm-test-ulps: Update.
8960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8962 2015-04-09  Roland McGrath  <roland@hack.frob.com>
8964         * Makeconfig (module-cppflags): Exclude all .v.i files.
8965         (skip-module-cppflags): Variable removed.
8967         * configure.ac (libc_config_ok): Initialize before reading
8968         preconfigure scripts, not after.
8969         * configure: Regenerated.
8971         * test-skeleton.c (TIMEOUT): Move #define to top level.
8972         (main): Grok environment variable TEST_DIRECT.  If set, print
8973         test expectation details into that file and then behave as if
8974         given --direct.
8976 2015-04-09  Florian Weimer  <fweimer@redhat.com>
8978         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
8979         warning on 32-bit.
8981 2015-04-08  David S. Miller  <davem@davemloft.net>
8983         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8985 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
8987         * math/auto-libm-test-in: Add more tests of atanh.
8988         * math/auto-libm-test-out: Regenerated.
8989         * sysdeps/i386/fpu/libm-test-ulps: Update.
8990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8992         * math/auto-libm-test-in: Add more tests of atan.
8993         * math/auto-libm-test-out: Regenerated.
8994         * sysdeps/i386/fpu/libm-test-ulps: Update.
8995         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8997 2015-04-08  Florian Weimer  <fweimer@redhat.com>
8999         * elf/pldd.c (main): Rewrite to use struct
9000         scratch_buffer instead of extend_alloca.
9001         * elf/pldd-xx.c (find_maps): Likewise.
9002         * grp/initgroups.c: Include <scratch_buffer.h> instead of
9003         <alloca.h>.
9004         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
9005         scratch_buffer instead of extend_alloca.
9006         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
9007         grp/compat-initgroups.c.
9008         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
9009         Rewrite to use struct scratch_buffer instead of extend_alloca.
9010         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
9011         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
9013 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
9015         * math/auto-libm-test-in: Add more tests of cbrt.
9016         * math/auto-libm-test-out: Regenerated.
9017         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9019         * math/auto-libm-test-in: Add more tests of cabs.
9020         * math/auto-libm-test-out: Regenerated.
9021         * sysdeps/i386/fpu/libm-test-ulps: Update.
9022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9024         [BZ #18210]
9025         [BZ #18211]
9026         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
9027         (__ieee754_atan2): Set FE_TONEAREST mode for internal
9028         computations.
9029         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
9030         clog10.
9031         * math/auto-libm-test-out: Regenerated.
9032         * sysdeps/i386/fpu/libm-test-ulps: Update.
9033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9035         [BZ #18197]
9036         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
9037         (atan): Set FE_TONEAREST mode for internal computations.
9038         * math/auto-libm-test-in: Add more tests of atan.
9039         * math/auto-libm-test-out: Regenerated.
9041 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
9043         [BZ #17930]
9044         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
9046 2015-04-07  Florian Weimer  <fweimer@redhat.com>
9048         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
9050 2015-04-07  Florian Weimer  <fweimer@redhat.com>
9052         * include/scratch_buffer.h: New file.
9053         * malloc/scratch_buffer_grow.c: Likewise.
9054         * malloc/scratch_buffer_grow_preserve.c: Likewise.
9055         * malloc/scratch_buffer_set_array_size.c: Likewise.
9056         * malloc/tst-scratch_buffer.c: Likewise.
9057         * malloc/Makefile (routines): Add scratch_buffer_grow.
9058         (tests): Add test case.
9059         * malloc/Versions (GLIBC_PRIVATE): Export
9060         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
9061         __libc_scratch_buffer_set_array_size.
9063 2015-04-06  Richard Henderson  <rth@redhat.com>
9065         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
9066         * sysdeps/alpha/fpu/libm-test-ulps: Update.
9068         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
9069         unsigned int before printing.
9071 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9073         [BZ #17596]
9074         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
9075         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9077 2015-04-02  Florian Weimer  <fweimer@redhat.com>
9079         * include/libc-internal.h (libc_max_align_t): Define.
9081 2015-04-02  Andreas Schwab  <schwab@suse.de>
9083         [BZ #16850]
9084         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
9086 2015-04-02  Mel Gorman  <mgorman@suse.de>
9088         [BZ #17195]
9089         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
9090         as well as the main arena.
9092 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
9094         [BZ #18185]
9095         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
9096         sharing L2 cache to 2 for Silvermont/Knights Landing.
9098 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
9100         [BZ #17711]
9101         * config.make.in (have-protected-data): New.
9102         * configure.ac: Check linker support for protected data symbol.
9103         * configure: Regenerated.
9104         * elf/Makefile (modules-names): Add tst-protected1moda and
9105         tst-protected1modb if $(have-protected-data) is yes.
9106         (tests): Add tst-protected1a and tst-protected1b if
9107         $(have-protected-data) is yes.
9108         ($(objpfx)tst-protected1a): New.
9109         ($(objpfx)tst-protected1b): Likewise.
9110         (tst-protected1modb.so-no-z-defs): Likewise.
9111         * elf/tst-protected1a.c: New file.
9112         * elf/tst-protected1b.c: Likewise.
9113         * elf/tst-protected1mod.h: Likewise.
9114         * elf/tst-protected1moda.c: Likewise.
9115         * elf/tst-protected1modb.c: Likewise.
9117 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
9119         [BZ #17711]
9120         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
9121         indicates it is called from do_lookup_x on relocation against
9122         protected data, skip the data definion in the executable from
9123         copy reloc.
9124         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
9125         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
9126         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
9127         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
9128         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
9129         otherwise to 0.
9130         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
9131         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
9132         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
9133         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
9134         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
9135         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
9137 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
9139         * sysdeps/nptl/pthread.h: Remove duplicate definition of
9140         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
9142 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
9144         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
9145         THREAD_SETMEM_NC.
9146         * sysdeps/x86_64/nptl/tls.h: Ditto.
9148 2015-03-27  Roland McGrath  <roland@hack.frob.com>
9150         * dlfcn/tststatic.c (main): Converted to ...
9151         (do_test): ... this.
9152         (TEST_FUNCTION): New macro.
9153         Include test-skeleton.c.
9155 2015-03-26  Alan Modra  <amodra@gmail.com>
9157         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
9158         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
9159         zero for undefined weak.
9160         (elf_machine_plt_conflict): Similarly.
9162 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
9164         * math/auto-libm-test-in: Add more tests of acosh, asinh and
9165         atanh.
9166         * math/auto-libm-test-out: Regenerated.
9167         * sysdeps/i386/fpu/libm-test-ulps: Update.
9168         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9170         * math/auto-libm-test-in: Add another test of asin.
9171         * math/auto-libm-test-out: Regenerated.
9172         * sysdeps/i386/fpu/libm-test-ulps: Update.
9173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9175         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
9176         Remove macro.
9177         (LLL_EBX_REG): Likewise.
9178         (LLL_ENTER_KERNEL): Likewise.
9180         * math/auto-libm-test-in: Add more tests of asin.
9181         * math/auto-libm-test-out: Regenerated.
9182         * sysdeps/i386/fpu/libm-test-ulps: Update.
9183         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9185         [BZ #18138]
9186         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
9187         libc_do_syscall_args): New structure.
9188         (INTERNAL_SYSCALL_MAIN_0): New macro.
9189         (INTERNAL_SYSCALL_MAIN_1): Likewise.
9190         (INTERNAL_SYSCALL_MAIN_2): Likewise.
9191         (INTERNAL_SYSCALL_MAIN_3): Likewise.
9192         (INTERNAL_SYSCALL_MAIN_4): Likewise.
9193         (INTERNAL_SYSCALL_MAIN_5): Likewise.
9194         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
9195         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
9196         Replace conditional definitions by conditional definitions of ....
9197         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
9198         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
9199         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
9200         (libpthread-sysdep_routines): Add libc-do-syscall.
9201         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
9202         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
9203         to __NR_futex not 240.
9205 2015-03-25  Alan Modra  <amodra@gmail.com>
9207         * NEWS: Advertise TLS optimization.
9208         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
9209         (DT_PPC_NUM): Increment.
9210         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
9211         (CHECK_STATIC_TLS): Use here.
9212         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
9213         TLS descriptors.
9214         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9215         * sysdeps/powerpc/dl-tls.c: New file.
9216         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
9217         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
9218         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
9219         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
9220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
9221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
9222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
9224 2015-03-25  Alan Modra  <amodra@gmail.com>
9226         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
9227         for overlapping .opd entries" to "support...".
9228         * sysdeps/powerpc/powerpc64/configure: Regenerate
9230 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
9232         * math/auto-libm-test-in: Add more tests of acos.
9233         * math/auto-libm-test-out: Regenerated.
9234         * sysdeps/i386/fpu/libm-test-ulps: Update.
9235         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9237         * math/auto-libm-test-in: Add more tests of expm1.
9238         * math/auto-libm-test-out: Regenerated.
9239         * sysdeps/i386/fpu/libm-test-ulps: Update.
9240         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9242 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
9244         * math/auto-libm-test-in: Add more tests of cosh and sinh.
9245         * math/auto-libm-test-out: Regenerated.
9246         * sysdeps/i386/fpu/libm-test-ulps: Update.
9247         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9249         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
9250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9252         * math/auto-libm-test-in: Add more tests of log2.
9253         * math/auto-libm-test-out: Regenerated.
9254         * sysdeps/i386/fpu/libm-test-ulps: Update.
9255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9257 2015-03-23  Roland McGrath  <roland@hack.frob.com>
9259         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
9260         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
9261         _IO_IS_APPENDING bit in READ_WRITE instead.
9263 2015-03-23  Florian Weimer  <fweimer@redhat.com>
9265         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
9266         (__determine_cpumask_size): Replace extend_alloca with a
9267         variable-length array.  Do not treat res == 0 as an error.
9269 2015-03-23  Florian Weimer  <fweimer@redhat.com>
9271         [BZ #18100]
9272         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
9273         and integer overflow.
9274         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
9275         (main): Add integer overflow tests.
9276         * manual/pattern.texi (Calling Wordexp): Document additional use
9277         for WRDE_SYNTAX.
9279 2015-03-23  Alan Modra  <amodra@gmail.com>
9281         * config.h.in: Remove HAVE_ASM_PPC_REL16.
9282         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
9283         and false branch of conditional.
9284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
9285         Likewise.
9287 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
9289         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
9290         libc-modules.h
9291         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
9292         unused declaration of _hurd_intr_rpc_msg_in_trap.
9293         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
9294         defined instead of whether it is non-zero.
9295         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
9296         input constraint instead of both input and output constraint.  Use ecx
9297         clobber instead of %ecx.
9298         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
9299         mutex_unlock): Use a statement expression instead of an expression list.
9300         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
9301         type to vm_size_t instead of vm_address_t.
9302         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
9303         defined instead of whether it is non-zero.
9304         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
9305         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
9306         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
9307         comparisons with mapaddr.
9308         * nscd/nscd-client.h: Include <time.h>.
9309         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
9310         9th parameter to __vm_region instead of int.
9311         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
9312         * scripts/check-local-headers.sh (exclude): Add device/,
9313         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
9314         cthreads.h.
9316 2015-03-19  Roland McGrath  <roland@hack.frob.com>
9318         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
9319         to account for alignment padding.
9320         * sysdeps/arm/memmove.S: Likewise.
9322 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
9324         * sysdeps/unix/sysv/linux/generic/README: New file.
9326 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
9328         [BZ #18138]
9329         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
9330         (futex_abstimed_wait)
9331         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
9332         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
9333         of lll_futex_timed_wait.
9335 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
9337         [BZ #17542]
9338         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
9340 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
9342         [BZ #17090]
9343         [BZ #17620]
9344         [BZ #17621]
9345         [BZ #17628]
9346         * NEWS: Update.
9347         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
9348         entries with Static TLS too.  Skip entries past the end of the
9349         allocated DTV, from Alan Modra.
9350         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
9351         Static TLS DTV entry set up from...
9352         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
9353         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
9354         * nptl/allocatestack.c (init_one_static_tls): ... and here...
9355         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
9356         for Static TLS.
9357         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
9358         that the slot we find is associated with the given map before
9359         using its generation count.
9360         * nptl_db/db_info.c: Include ldsodefs.h.
9361         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
9362         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
9363         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
9364         (link_map::l_tls_offset): New struct field.
9365         (dtv_t::counter): Likewise.
9366         (rtld_global): New struct.
9367         (_rtld_global): New rtld variable.
9368         (dl_tls_dtv_slotinfo_list): New rtld global field.
9369         (dtv_slotinfo_list): New struct.
9370         (dtv_slotinfo): Likewise.
9371         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
9372         (td_lookup): Rename to...
9373         (td_mod_lookup): ... this.  Use new mod parameter instead of
9374         LIBPTHREAD_SO.
9375         * nptl_db/td_thr_tlsbase.c: Include link.h.
9376         (dtv_slotinfo_list, dtv_slotinfo): New functions.
9377         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
9378         addresses even if the DTV is out of date or missing them.
9379         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
9380         index zero-length arrays.
9381         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
9382         (td_lookup): Make it a macro implemented in terms of...
9383         (td_mod_lookup): ... this declaration.
9384         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
9385         (DB_MAIN_VARIABLE): Likewise.
9387 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
9389         [BZ #18134]
9390         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
9392 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
9394         * stdlib/setenv.c (__add_to_environ): Revert previous change.
9396 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
9398         [BZ #18128]
9399         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
9400         (atomic_add, atomic_increment_and_test)
9401         (atomic_decrement_and_test): Fix 64-bit arithmetic.
9403 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
9405         * stdlib/setenv.c (__add_to_environ):
9406         Dump core quickly if setenv (..., NULL, ...) is called.
9408 2015-03-13  Roland McGrath  <roland@hack.frob.com>
9410         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
9411         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
9412         all the necessary asm magic in one place.
9413         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
9414         using those.
9416 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
9418         [BZ #14906]
9419         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
9420         traced file mtime. Use consistent log message.
9421         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
9422         (register_traced_file): Call install_watches. Always set mtime.
9423         (invalidate_cache): Iterate over all trace files. Call install_watches.
9424         (inotify_check_files): Don't inline. Handle watching parent
9425         directories and configuration file movement in and out.
9426         (handle_inotify_events): New function.
9427         (main_loop_poll): Call handle_inotify_events.
9428         (main_loop_epoll): Likewise.
9429         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
9430         (struct traced_file): Use array of inotify fds. Add parent directory,
9431         and basename.
9432         (struct database_dyn): Remove unused file_mtime.
9433         (init_traced_file): New inline function.
9434         (define_traced_file): New macro.
9435         * nss/nss_db/db-init.c: Use define_traced_file.
9436         (_nss_db_init): Use init_traced_file.
9437         * nss/nss_files/files-init.c: Use define_traced_file.
9438         (_nss_files_init): Use init_traced_file.
9440 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
9442         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
9443         [_LIBC]: Do not include <stdlib.h>.
9444         [!_LIBC] (abort): Remove declaration.
9445         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
9446         _FP_STATIC_ASSERT instead of conditionally calling abort.
9447         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
9448         (_FP_EXTEND_CNAN): Likewise.
9449         (FP_TRUNC): Likewise.
9450         (__FP_CLZ): Likewise.
9451         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
9453 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
9455         * manual/string.texi (XPG basename): Fix prototype.
9457 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
9459         [BZ #18080]
9460         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
9461         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
9462         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
9463         (__setcontext): Likewise.
9464         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
9465         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
9466         Call rt_sigprocmask syscall one time to set new signal mask
9467         and retrieve the current signal mask instead of two calls.
9468         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
9469         (__swapcontext): Likewise.
9470         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
9471         * stdlib/tst-setcontext2.c: New file.
9473 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
9475         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9477 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
9479         [BZ #18093]
9480         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
9481         the wrong size.
9483 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
9485         [BZ #18043]
9486         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
9488 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
9490         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
9491         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
9492         Remove define.
9493         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
9494         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
9495         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
9496         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
9497         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
9498         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
9499         define.
9500         * nptl_db/td_symbol_list.c (td_lookup): Remove
9501         HAVE_ASM_GLOBAL_DOT_NAME code.
9502         * sysdeps/powerpc/powerpc64/configure.ac: Remove
9503         HAVE_ASM_GLOBAL_DOT_NAME check.
9504         * sysdeps/powerpc/powerpc64/configure: Regenerate.
9505         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
9506         (DOT_LABEL): Remove define.
9507         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
9508         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
9509         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
9510         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
9511         (__TLS_GET_ADDR): Likewise.
9512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
9513         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
9515 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
9517         [BZ #18111]
9518         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
9519         (_FPU_SETCW): Initialize cw from fpsr before storing.
9520         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
9521         (fesetexceptflag): Rewrite using fpu_control.h.
9522         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
9524 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
9526         [BZ #18110]
9527         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
9528         asms.
9529         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
9531 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
9533         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
9534         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
9535         abort.
9536         (_FP_FMA): Likewise.
9537         (_FP_DIV): Likewise.
9539 2015-03-10  Roland McGrath  <roland@hack.frob.com>
9541         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
9542         with 0 in that case.
9543         * Makefile (summarize-tests): New canned sequence, factored out of
9544         commands for targets tests and xtests.  Display summary lines that
9545         don't start with PASS: or XFAIL: rather than ones that do start with
9546         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
9547         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
9548         do start with ERROR: or FAIL:.
9549         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
9550         (except for [$(build-shared) = yes]).
9551         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
9552         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
9553         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
9554         * nptl/Makefile: Revert 2015-03-04 changes.
9555         [$(CXX) empty] (tests-unsupported): New variable.
9556         * debug/Makefile: Likewise.
9558         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
9559         gnulib file.  Replace __attribute with __attribute__ throughout.
9561 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
9563         * sysdeps/hppa/fpu/libm-test-ulps: Update.
9565 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
9567         [BZ #18104]
9568         * math/auto-libm-test-in: Add another test of pow.
9569         * math/auto-libm-test-out: Regenerated.
9571 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9573         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
9574         $(config-cflags-nofma).
9576 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
9578         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
9579         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
9580         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
9581         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
9582         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
9583         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
9584         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
9585         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
9586         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
9587         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
9588         Add comment on closing #endif.
9590 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
9592         * posix/wordexp.c (CHAR_IN_SET): New macro.
9593         (parse_param): Use it.
9595 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9597         * sysdeps/powerpc/fpu/libm-test-ulps: update.
9599 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
9601         [BZ #18043]
9602         * posix/wordexp.c (parse_param): Fix buffer overflow.
9603         * posix/wordexp-test.c (test_case): Add test case.
9605 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
9607         [BZ #18042]
9608         * posix/wordexp.c (parse_backtick): Fix off-by-one.
9609         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
9611 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
9613         [BZ #18043]
9614         * posix/wordexp-test.c (test_case): Add test for BZ #18043
9615         (do_bz18043): Delete.
9616         (at_page_end): New.
9617         (testit): Refactor to have words at the edge of unreadable page.
9619 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
9621         [BZ #16734]
9622         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
9623         Cleanup read-only streams as well.
9624         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
9626 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9628         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
9629         <bits/libc-lockP.h>
9631 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
9633         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
9634         on [__KERNEL__].
9635         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
9636         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
9637         * soft-fp/op-common.h (_FP_DECL): Likewise.
9639 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
9641         * elf/ifuncdep2.c (global): Replace
9642         __attribute__((visibility("protected"))) with
9643         asm (".protected global").
9644         * elf/ifuncmod1.c (global): Likewise.
9645         * elf/ifuncmod5.c (global): Likewise.
9647 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
9649         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
9650         <asm/sfp-machine.h> instead of <sfp-machine.h>.
9652 2015-03-06  Roland McGrath  <roland@hack.frob.com>
9654         * manual/install.texi (Configuring and compiling):
9655         Document test-wrapper-env-only.
9656         * INSTALL: Regenerated.
9658 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
9660         [BZ #18043]
9661         * posix/wordexp.c (parse_param): Fix buffer overflow.
9662         * posix/wordexp-test.c (do_bz18043): Add test case.
9664 2015-03-06  Vincent Bernat  <vincent@bernat.im>
9666         * time/tst-strptime2.c (do_test): Ensure failing tests are
9667         reported correctly.
9668         * time/tst-strptime3.c (do_test): Likewise.
9670 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
9672         Fix aio_error thread-safety.
9673         * sysdeps/pthread/aio_error.c: New file
9674         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
9675         synchronization.
9677 2015-03-06  Florian Weimer  <fweimer@redhat.com>
9679         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
9680         (group_number, vfprintf): Use it.
9681         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
9682         (JUMP, REF): Use it.
9683         (WORK_BUFFER_SIZE): New enum constant.
9684         (process_arg, vfprintf): Use it.
9686 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
9688         * manual/errno.texi (Error Messages): Complete example function
9689         by adding missing #define.
9690         (program_invocation_name): Add statement indicating GNU
9691         extension and reference which header file declares the variable.
9692         (program_invocation_short_name): Likewise.
9694 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
9696         * manual/errno.texi (Error Messages): Delete strerror ISO C89
9697         compatibility note.
9699 2015-03-05  Roland McGrath  <roland@hack.frob.com>
9701         * Makeconfig (test-wrapper-env-only): New variable.
9702         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
9703         then use that with $(test-wrapper-env-only) rather than using
9704         $(test-wrapper-env) $(run-program-env) $($*-ENV).
9706 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
9708         [BZ #18082]
9709         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
9710         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
9711         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
9712         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
9713         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
9714         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
9715         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
9716         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
9717         Likewise.
9718         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
9719         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
9720         Likewise.
9721         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
9722         Likewise.
9723         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
9724         Likewise.
9725         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
9726         Likewise.
9727         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
9728         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
9729         Likewise.
9730         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
9731         Likewise.
9732         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
9733         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
9735 2015-03-04  Roland McGrath  <roland@hack.frob.com>
9737         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
9738         (ETH_ALEN): New macro.
9739         (struct ether_addr): Use it for length of ether_addr_octet.
9741         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
9742         (setdb): Don't call __nss_configure_lookup for "rpc".
9743         (do_test): Don't call test_rpc.
9744         (output_rpcent, test_rpc): Functions moved ...
9745         * sunrpc/test-rpcent.c: ... to this new file.
9746         * sunrpc/Makefile (tests): Add it.
9748         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
9749         __xpg_sigpause.
9750         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
9751         * nptl/tst-signal6.c: Likewise.
9752         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
9753         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
9755         * configure.ac (libc_cv_cxx_link_ok): New check.
9756         Reset CXX to empty if it fails to link.
9757         * configure: Regenerated.
9758         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
9759         bug-atexit3-lib only if $(CXX) is nonempty.
9760         * nptl/Makefile (tests): Likewise for tst-cancel24.
9761         (tests, tests-static): Likewise for tst-cancel24-static.
9762         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
9763         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
9764         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
9765         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
9767 2015-03-04  Andreas Schwab  <schwab@suse.de>
9769         [BZ #17631]
9770         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
9771         for non-GCC compilers.
9772         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
9773         Likewise.
9775 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
9777         [BZ #17776]
9778         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
9779         integer before bitwise and assembly operations.
9780         (feclearexcept): Likewise.
9781         * math/test-fenvinline.c: New file.
9782         * math/Makefile: Add test-fenvinline test.
9784 2015-03-03  Alan Modra  <amodra@gmail.com>
9786         [BZ #16512]
9787         * scripts/localplt.awk: Strip off symbol version.
9788         * NEWS: Mention bug fix.
9790 2015-03-02  Roland McGrath  <roland@hack.frob.com>
9792         * sysdeps/pthread/timer_routines.c
9793         (timer_free_list, thread_free_list, thread_active_list): Make static.
9795 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
9797         [BZ #17779]
9798         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9799         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
9800         Undefine.
9801         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9802         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
9803         Likewise.
9804         * sysdeps/unix/sysv/linux/sh/kernel-features.h
9805         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
9806         Likewise.
9808 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
9810         [BZ #18036]
9811         * posix/fnmatch_loop.c (END): Detect invalid pattern.
9812         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
9814 2015-03-02  Andreas Schwab  <schwab@suse.de>
9816         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
9817         variable name.
9819 2015-03-02  Florian Weimer  <fweimer@redhat.com>
9821         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
9822         Return error status.
9824 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
9826         [BZ #15969]
9827         * locale/findlocale.c (_nl_find_locale): Introduce const
9828         version of loc_name and drop unsafe type casts.
9830 2015-02-27  Roland McGrath  <roland@hack.frob.com>
9832         * dlfcn/tststatic2.c (main): Converted to ...
9833         (do_test): ... this.
9834         (TEST_FUNCTION): New macro.
9835         Include test-skeleton.c.
9837 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
9839         [BZ #17711]
9840         * elf/Makefile (tests): Add vismain only if PIE is enabled.
9841         (tests-pie): Add vismain.
9842         (CFLAGS-vismain.c): New.
9843         * elf/vismain.c: Add comments for PIE requirement.
9845 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
9847         [BZ #18046]
9848         [BZ #18047]
9849         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
9850         0x1p-56L as threshold for just returning the argument.
9851         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
9852         0x1p-32L as threshold for just returning the argument.
9853         * math/auto-libm-test-in: Add more tests of atanh.
9854         * math/auto-libm-test-out: Regenerated.
9855         * sysdeps/i386/fpu/libm-test-ulps: Update.
9856         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
9858 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
9860         * string/bcopy.c (bcopy): Call memmove for performance.
9862 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
9864         * string/bzero.c (__bzero): Call memset for performance.
9866 2015-02-27  John David Anglin  <dave.anglin@bell.net>
9868         [BZ #18068]
9869         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
9870         to 00100000.
9872 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
9874         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
9876 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
9878         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
9879         (__kernel_standard): Use CSTR macro when setting exc.name.
9880         * sysdeps/ieee754/Makefile [$(subdir) = math]
9881         (CFLAGS-k_standard.c): Remove variable.
9883         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
9884         setting p and q from "else if" to "else".
9885         (qzero): Likewise.
9886         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
9887         (qone): Likewise.
9888         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
9889         (qzerof): Likewise.
9890         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
9891         (qonef): Likewise.
9892         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
9893         (qzero): Likewise.
9894         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
9895         (qone): Likewise.
9897         [BZ #18038]
9898         [BZ #18039]
9899         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
9900         return pi/2 for arguments below 0x1p-113L.
9901         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
9902         return pi/2 for arguments below 0x1p-106L.
9903         * math/auto-libm-test-in: Add more tests of acos.
9904         * math/auto-libm-test-out: Regenerated.
9906         [BZ #16351]
9907         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
9908         (MO): New macro.
9909         (__ieee754_asin): Force underflow exception for results with small
9910         absolute value.
9911         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
9912         (MO): New macro.
9913         (__ieee754_asinf): Force underflow exception for results with
9914         small absolute value.
9915         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
9916         (__ieee754_asin): Force underflow exception for results with small
9917         absolute value.
9918         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
9919         (__ieee754_asinf): Force underflow exception for results with
9920         small absolute value.
9921         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
9922         (__ieee754_asinl): Force underflow exception for results with
9923         small absolute value.
9924         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
9925         (__ieee754_asinl): Force underflow exception for results with
9926         small absolute value.
9927         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
9928         (__ieee754_asinl): Force underflow exception for results with
9929         small absolute value.
9930         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
9931         Include <math.h>.
9932         * math/auto-libm-test-in: Do not mark underflow exceptions as
9933         possibly missing for bug 16351.
9934         * math/auto-libm-test-out: Regenerated.
9936         [BZ #18030]
9937         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
9938         of power of 2 down when low part has opposite sign.
9939         * math/libm-test.inc (logb_test_data): Add more tests.
9941 2015-02-26  Andreas Schwab  <schwab@suse.de>
9943         [BZ #18032]
9944         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
9945         over collating symbol inside a bracket expression.  Minor cleanup.
9946         * posix/tst-fnmatch3.c (do_test): Add test case.
9948 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
9950         [BZ #18029]
9951         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
9952         Adjust exponent of power of 2 down when low part has opposite
9953         sign.
9954         * math/libm-test.inc (ilogb_test_data): Add more tests.
9956 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
9958         [BZ #15969]
9959         * locale/findlocale.c (_nl_find_locale): Fix constness error in
9960         the previous change.
9962         [BZ #15969]
9963         * locale/findlocale.c (_nl_find_locale): Retry archive search
9964         after alias expansion.
9966 2015-02-25  Roland McGrath  <roland@hack.frob.com>
9968         * iconv/tst-iconv3.c (main): Converted to ...
9969         (do_test): ... this.
9970         (TEST_FUNCTION): New macro.
9971         Include test-skeleton.c.
9973         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
9974         (convert): Make function static.
9975         (test_unalign): Likewise.  Add const to argument pointee types.
9976         (main): Replace with static function do_test.
9977         Print "Succeeded." only if RET is zero.
9978         (TEST_FUNCTION): New macro.
9979         Include test-skeleton.c.
9981         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
9982         returns a null pointer.
9984 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9986         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
9987         to __memcpy_ppc only for static builds.
9989 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
9991         [BZ #18020]
9992         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
9993         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
9994         * math/auto-libm-test-in: Add more tests of asinh.
9995         * math/auto-libm-test-out: Regenerated.
9996         * sysdeps/i386/fpu/libm-test-ulps: Update.
9997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9999 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
10001         [BZ #15850]
10002         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
10003         and ip6_mtuinfo definitions here.
10004         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
10005         in this define too.  Update comment.
10007 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
10009         * elf/sprof.c (load_shobj): Tweak error message to match others.
10011 2015-02-24  Kevin Easton  <kevin@guarana.org>
10013         [BZ #16145] (partial fix)
10014         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
10015         to reduce lock contention.
10017 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
10019         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
10020         (struct timex): Update time comment.
10021         (ADJ_SETOFFSET): Define.
10023 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
10025         [BZ #18019]
10026         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
10027         2**56 not 2**28 as threshold for log (2x) formula.
10028         * math/auto-libm-test-in: Add more tests of acosh.
10029         * math/auto-libm-test-out: Regenerated.
10030         * sysdeps/i386/fpu/libm-test-ulps: Update.
10031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10033 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
10035         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
10036         parenthesis around the buf assignment.
10037         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
10039 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
10041         [BZ #16783]
10042         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
10043         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
10044         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
10045         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
10046         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
10047         * math/libm-test.inc (scalb_test_data): Add more tests.
10049 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
10051         [BZ #17916]
10052         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
10053         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
10055 2015-02-24  Eric Rannaud  <e@nanocritical.com>
10057         [BZ #17523]
10058         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
10059         * io/bits/fcntl2.h (open): Use it.
10060         (openat): Likewise.
10061         * io/open.c (__libc_open): Likewise.
10062         * io/open64.c (__libc_open64): Likewise.
10063         * io/open64_2.c (__open64_2): Likewise.
10064         * io/open_2.c (__open_2): Likewise.
10065         * io/openat.c (__openat): Likewise.
10066         * io/openat64.c (__openat64): Likewise.
10067         * io/openat64_2.c (__openat64_2): Likewise.
10068         * io/openat_2.c (__openat_2): Likewise.
10069         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
10070         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
10071         * sysdeps/posix/open64.c (__libc_open64): Likewise.
10072         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
10073         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
10074         (__open_nocancel): Likewise.
10075         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
10076         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
10077         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
10079 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10081         [BZ #14841]
10082         * resolv/gethnamaddr.c (getanswer): Skip logging if
10083         RES_USE_DNSSEC is set.
10084         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
10086 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
10088         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
10090 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
10092         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
10093         201304L, for Unicode 7.
10095 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
10097         [BZ #17836]
10098         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
10099         shared library.  Add gmon-start.os otherwise.
10100         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
10101         $(objpfx)gmon-start.os if builing shared library.
10102         ($(objpfx)g$(static-start-installed-name)): Likewise.
10104 2015-02-23  Andreas Schwab  <schwab@suse.de>
10106         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
10108 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
10110         [BZ #17269]
10111         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
10112         (enlarge_userbuf): Likewise.
10114 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
10116         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
10117         * math/atest-exp.c (TIMEOUT): Adjust to 200.
10118         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
10119         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
10121 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
10123         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
10124         expression inside statement expression.
10126 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10128         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
10129         <sysdeps/nptl/lowlevellock.h> and remove macros and
10130         functions that are now defined there.
10131         (SYS_futex): Remove.
10132         (lll_compare_and_swap): Remove.
10133         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
10135 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
10137         [BZ #17999]
10138         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
10139         instead of scandirat.
10140         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
10141         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
10142         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
10143         __scandirat.
10144         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
10145         (__scandirat): Declare.  Use libc_hidden_proto.
10146         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
10147         Remove variable.
10148         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
10150 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
10152         [BZ #15319]
10153         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
10154         (MO): New macro.
10155         (__ieee754_atan2): For results with small absolute value, force
10156         underflow exception and remove excess range and precision from
10157         return value.
10158         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
10159         (MO): New macro.
10160         (__ieee754_atan2f): For results with small absolute value, force
10161         underflow exception and remove excess range and precision from
10162         return value.
10163         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
10164         (MO): New macro.
10165         (__atan): For results with small absolute value, force underflow
10166         exception and remove excess range and precision from return value.
10167         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
10168         (MO): New macro.
10169         (__atanf): For results with small absolute value, force underflow
10170         exception and remove excess range and precision from return value.
10171         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
10172         <math.h>.
10173         (__ieee754_atan2): Force underflow exception for results with
10174         small absolute value.
10175         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
10176         <math_private.h>.
10177         (atan): Force underflow exception for results with small absolute
10178         value.
10179         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
10180         (__atanf): Force underflow exception for results with small
10181         absolute value.
10182         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
10183         <math.h>.
10184         (__atanl): Force underflow exception for results with small
10185         absolute value.
10186         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
10187         (__atanl): Force underflow exception for results with small
10188         absolute value.
10189         * sysdeps/x86/fpu/bits/mathinline.h
10190         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
10191         (__ieee754_atan2): Only define inline for long double.
10192         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
10193         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
10194         * math/auto-libm-test-in: Do not mark underflow exceptions as
10195         possibly missing for bug 15319.  Add more tests of atan2.
10196         * math/auto-libm-test-out: Regenerated.
10197         * math/libm-test.inc (casin_test_data): Do not mark underflow
10198         exceptions as possibly missing for bug 15319.
10199         (casinh_test_data): Likewise.
10200         * sysdeps/i386/fpu/libm-test-ulps: Update.
10202 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
10204         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
10205         * sysdeps/mips/bits/endian.h: Fix comments.
10207 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
10209         [BZ #17996]
10210         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
10211         (hdestroy_r): Likewise.
10212         (hsearch_r): Likewise.
10213         (__hcreate_r): Declare and use libc_hidden_proto.
10214         (__hdestroy_r): Likewise.
10215         (__hsearch_r): Likewise.
10216         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
10217         (hcreate): Call __hcreate_r instead of hcreate_r.
10218         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
10219         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
10220         as weak alias of __hcreate_r.
10221         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
10222         __hdestroy_r.
10223         (hsearch_r): Rename to __hsearch_r and define as weak alias of
10224         __hsearch_r.
10225         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
10226         Remove variable.
10227         (test-xfail-XPG4/search.h/linknamespace): Likewise.
10228         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
10229         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
10230         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
10232 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
10234         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
10235         arena_lock into a single arena_get.
10237 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
10239         * dl-reloc.c: Inlucde libc-internal.h.
10240         (_dl_try_allocate_static_tls): Call ALIGN_UP.
10241         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
10242         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
10243         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
10244         (grow_heap): Likewise.
10245         * malloc/malloc.c: Include libc-internal.h.
10246         (do_check_malloc): Call powerof2.
10247         (sysmalloc): Use pagesize. Call ALIGN_UP.
10248         (systrim): Use pagesize.
10249         (mremap_chunk): Use pagesize. Call ALIGN_UP.
10250         (__libc_valloc): Use pagesize.
10251         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
10253 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
10255         [BZ #17991]
10256         * include/sys/resource.h (__getrlimit64): Declare.  Use
10257         libc_hidden_proto.
10258         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
10259         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
10260         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
10261         getrlimit64.
10262         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
10263         __getrlimit64.
10264         [!getrlimit64] (getrlimit64): Define as weak alias of
10265         __getrlimit64.  Use libc_hidden_weak.
10266         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
10267         using __getrlimit64 not __new_getrlimit64.
10268         (__GI_getrlimit64): Likewise.
10269         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
10270         Likewise.
10271         (__GI_getrlimit64): Likewise.
10272         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
10273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
10274         (getrlimit): Add __getrlimit64 alias.
10275         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
10276         Likewise.
10277         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
10278         Remove variable.
10279         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
10280         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
10282 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
10284         * libio/fileops.c: Add missing sys/mman.h
10285         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
10287 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
10289         * manual/math.texi (Errors in Math Functions): Clarify goals
10290         regarding inexact and underflow exceptions.
10292 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
10294         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
10295         * sysdeps/mips/memset.S: Ditto.
10297 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
10299         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
10301 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
10303         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
10304         (__v1longjmp): Remove versioned symbol.
10305         (__v1siglongjmp): Remove alias and versioned symbol.
10306         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
10307         (__v2siglongjmp): Likewise.
10309 2015-02-16  Torvald Riegel  <triegel@redhat.com>
10311         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
10313 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
10315         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
10317 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
10319         [BZ #17987]
10320         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
10321         zero result does not depend on the sign resulting from
10322         subtraction.
10323         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
10324         Likewise.
10325         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
10326         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
10327         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
10328         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
10329         * math/libm-test.inc (remquo_test_data): Add more tests.
10331 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
10333         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
10334         Problem reported by J William Piggott.
10336 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
10338         [BZ #17978]
10339         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
10340         products 4 * y and 2 * y where those would overflow.
10341         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
10342         Likewise.
10343         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
10344         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
10345         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
10346         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
10347         * math/libm-test.inc (remquo_test_data): Add more tests.
10349         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
10351         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
10352         [defined _COMPILING_NEWLIB].
10353         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
10354         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
10356         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
10357         [!defined __mips_isa_rev || __mips_isa_rev < 6].
10359 2015-02-16  Torvald Riegel  <triegel@redhat.com>
10361         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
10362         acquired.
10364 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
10366         [BZ #17792]
10367         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
10368         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
10369         HOST_STACK_END_ADDR): Likewise.
10371 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
10373         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
10374         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
10375         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
10377 2015-02-13  Roland McGrath  <roland@hack.frob.com>
10379         * sysdeps/generic/c++-types.data: New file.
10380         * sysdeps/generic/ld.abilist: New file.
10381         * sysdeps/generic/libBrokenLocale.abilist: New file.
10382         * sysdeps/generic/libanl.abilist: New file.
10383         * sysdeps/generic/libc.abilist: New file.
10384         * sysdeps/generic/libcrypt.abilist: New file.
10385         * sysdeps/generic/libdl.abilist: New file.
10386         * sysdeps/generic/libm.abilist: New file.
10387         * sysdeps/generic/libpthread.abilist: New file.
10388         * sysdeps/generic/libresolv.abilist: New file.
10389         * sysdeps/generic/librt.abilist: New file.
10391 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
10393         [BZ #17569]
10394         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
10395         Compute absolute value of x as modified by fmod, not original
10396         value of x.
10397         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
10398         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
10399         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
10400         RUN_TEST_ffI_f1_mod8.
10401         (remquo_test_data): Add more tests.
10403 2015-02-13  Roland McGrath  <roland@hack.frob.com>
10405         * sysdeps/init_array/pt-crti.S: New file.
10407 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
10409         [BZ #17967]
10410         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
10411         __builtin_fmaf instead of relying on contraction of a * b + c.
10413 2015-02-12  J William Piggott  <elseifthen@gmx.com>
10415         [BZ #17969]
10416         * manual/time.texi: correct the zoneinfo path in the TZ Variable
10417         node.
10419 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
10421         [BZ #17964]
10422         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
10423         __builtin_fma instead of relying on contraction of a * b + c.
10425 2015-02-12  Roland McGrath  <roland@hack.frob.com>
10427         * Makeconfig (ASFLAGS): Add -Werror=undef.
10428         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
10429         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
10430         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
10432         * Makeconfig (after-link): New variable.
10433         (+link-pie, +link-pie-tests): Use it.
10434         (+link-static, +link-static-tests): Likewise.
10435         (+link, +link-tests): Likewise.
10436         * Makerules (build-module, build-module-asneeded): Likewise.
10437         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
10438         Likewise.
10439         * elf/Makefile ($(objpfx)ld.so): Likewise.
10441 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
10443         [BZ #17965]
10444         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
10445         both struct timeval and struct timespec.
10447 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
10449         [BZ #16560]
10450         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10451         and redefine.
10452         (__ieee754_exp2l): Do not multiply small fractional parts by
10453         M_LN2l.
10454         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
10455         small argument.
10456         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10457         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
10458         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
10459         * math/auto-libm-test-in: Add more tests of exp2.
10460         * math/auto-libm-test-out: Regenerated.
10462 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10464         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
10465         unaligned path.
10467 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10469         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
10470         little endian.
10472 2015-02-12  Andreas Schwab  <schwab@suse.de>
10474         [BZ #15790]
10475         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
10476         Filter out elision flags from value returned in kind.
10477         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
10478         * nptl/tst-pthread-mutexattr.c: New file.
10480 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10482         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
10483         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
10484         into gnu-gnu, and update comment to refer to abi-tags.
10486 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
10488         [BZ #15467]
10489         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
10490         (__sincos): Set errno to EDOM for infinite argument.
10491         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
10492         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
10493         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
10494         (__sincosl): Set errno to EDOM for infinite argument.
10495         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
10496         (__sincosl): Set errno to EDOM for infinite argument.
10497         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
10498         (__sincosl): Set errno to EDOM for infinite argument.
10499         * math/libm-test.inc (sincos_test_data): Test errno setting.
10501 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
10503         * string/strxfrm_l.c: Remove #define STRCMP.
10504         * string/strcoll_l.c: Remove #define STRLEN.
10505         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
10506         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
10508 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
10510         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
10511         * sysdeps/mips/mips32/sfp-machine.h: ... here.
10512         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
10513         * sysdeps/mips/mips64/Makefile: ... here.
10514         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
10515         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
10516         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
10517         * sysdeps/mips/mips64/sfp-machine.h: ... here.
10518         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
10519         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
10520         * sysdeps/mips/mips64/n64/Implies: Likewise.
10522 2015-02-10  Roland McGrath  <roland@hack.frob.com>
10524         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
10525         <sys/time.h>, <string.h>, and <errno.h>.
10526         (dest_offset, dest_address, value, zero): Remove unused variables.
10527         (ldouble): Remove typedef.
10528         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
10529         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
10530         1).  Fix code style.
10531         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
10532         (check): Function removed.
10533         (CHECK): New macro.
10534         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
10535         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
10536         Don't call set_sigaction_FP and remove_sigaction_FP here.
10537         (ldouble_test): Just use 'long double' as macro argument, no need for
10538         the 'ldouble' typedef.
10539         (do_test): Set up SIGFPE handler at start, using plain signal rather
10540         than sigaction.  Fix code style.
10542 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
10544         [BZ #17949]
10545         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
10546         jump label.
10548 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
10550         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
10551         * sysdeps/powerpc/powerpc32/configure: Regenerated.
10553         * sysdeps/powerpc/configure.ac: Remove file.
10554         * sysdeps/powerpc/configure: Likewise.
10556         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
10557         [sysdep_routines]: Remove wordcopy-power6 object.
10558         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
10559         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
10560         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
10561         (__memmove_ppc32): Likewise.
10562         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
10563         file.
10564         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
10565         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
10566         Remove preprocessor.
10568         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
10569         [sysdep_routines]: Remove wide chars objects.
10570         [wcsmbs]: New rule for wide char objects.
10572         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10573         Remove wordcopy-power6 obejct.
10574         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
10575         Use local call for wordcopy and memcpy symbols.
10576         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
10577         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
10578         implementation for loader.
10579         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
10581         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10582         Remove wordcopy-power7 object.
10583         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
10584         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
10585         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
10586         (_wordcopy_fwd_dest_aligned): Likewise.
10587         (_wordcopy_bwd_aligned): Likewise.
10588         (_wordcopy_bwd_dest_aligned): Likewise.
10590         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
10591         Rewrite to call __memmove_ppc instead of include default
10592         implementation.
10594         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10595         Remove wide chars objects.
10596         [wcsmbs]: New rule for wide char objects.
10598 2015-02-09  Andreas Schwab  <schwab@suse.de>
10600         [BZ #17912]
10601         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10602         in terms of __O_DIRECTORY.
10604 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10606         * time/getdate.c: Include <stdbool.h>.
10607         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
10608         call PTR_MANGLE.
10609         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
10610         PTR_DEMANGLE.
10612 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
10614         Add ersatz _Static_assert on older C hosts
10615         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
10616         pre-C11 C platform that is not known to support _Static_assert.
10618 2015-02-07  Richard Braun  <rbraun@sceen.net>
10620         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
10621         sigstate.
10622         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
10624 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10626         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
10627         priority against unexistent AIO_PRIO_DELTA_MAX.
10628         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
10629         instead of int.
10630         * misc/fchflags.c (fchflags): Likewise.
10631         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
10632         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
10633         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
10634         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
10635         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
10636         Declare macros.
10637         [__USE_MISC] (chflags, fchflags): Declare functions.
10638         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
10639         EINVAL when nfds is greater than FD_SETSIZE.
10640         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
10641         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
10642         45.
10643         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
10644         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
10645         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
10646         MACH_RCV_TIMED_OUT.
10647         * hurd/hurd/signal.h (_hurd_self_sigstate,
10648         _hurd_critical_section_lock, _hurd_critical_section_unlock):
10649         Explicit casts from void *.
10650         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
10651         * abi-tags: Rename gnu-gnu os into gnu.
10653         [BZ #4719]
10654         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
10655         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
10656         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
10657         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
10658         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
10659         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
10661         [BZ #17944]
10662         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
10663         duplicates ADDR->sun_path with sockaddr LEN limitation.
10664         * sysdeps/mach/hurd/connect.c: Include <string.h>
10665         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
10666         * sysdeps/mach/hurd/sendmsg.c: Likewise.
10667         * sysdeps/mach/hurd/sendto.c: Likewise.
10668         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
10669         implementing it by hand.
10671 2015-02-06  Roland McGrath  <roland@hack.frob.com>
10673         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
10674         Use sfi_breg on ldr.
10675         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
10676         Likewise.
10678         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
10679         it's defined.
10680         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
10681         Test SIGSETXID only if it's defined.
10683         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
10685         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
10686         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
10688         * nptl/tst-align2.c: Moved ...
10689         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
10690         * nptl/Makefile (tests): Remove tst-align2.
10691         * sysdeps/unix/sysv/linux/Makefile
10692         [$(subdir) = nptl] (tests): Add tst-align-clone.
10693         * nptl/tst-getpid1.c: Moved ...
10694         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
10695         * nptl/tst-getpid2.c: Moved ...
10696         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
10697         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
10698         * sysdeps/unix/sysv/linux/Makefile
10699         [$(subdir) = nptl] (tests): ... here.
10700         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
10701         * sysdeps/unix/sysv/linux/Makefile
10702         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
10704         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
10705         Drop trailing \n from perror argument.  Use return rather than exit.
10707         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
10708         on [SA_SIGINFO].
10709         * nptl/tst-cancel21.c (do_test): Likewise.
10710         * debug/tst-backtrace6.c: Include <signal.h> first thing.
10711         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
10712         [!SA_SIGINFO]: Make it a stub test.
10714         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
10715         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
10717         * posix/tst-getlogin.c: Move to ...
10718         * login/tst-getlogin.c: ... here.
10719         * posix/Makefile (tests): Move tst-getlogin to ...
10720         * login/Makefile (tests): ... here.
10722         * libio/tst-atime.c (do_test): Move local variables SV and E
10723         inside [ST_NOATIME] conditional.
10725         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
10727         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
10729         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
10730         (wait_code): New function replaces macro.
10731         Call nanosleep rather than syscall.
10733         * nptl/pt-system.c: Rewritten.  Put everything under
10734         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
10735         Use IFUNC to redirect when possible.
10737         * nptl/pt-longjmp.c: Rewritten.  Put everything under
10738         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
10739         Use IFUNC to redirect when possible.
10741         * nptl/pt-fork.c: Rewritten.  Put everything under
10742         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
10743         Use IFUNC to redirect when possible.
10744         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
10746         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
10747         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
10748         unconditionally nowadays.  This included the only reference to
10749         __vdso_clock_gettime that appears outside libc proper.
10750         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
10751         Remove version set (containing only __vdso_clock_gettime).
10752         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
10753         Add attribute_hidden.
10754         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
10755         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
10756         libc_hidden_data_def.
10757         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
10758         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
10760         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
10761         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
10762         setrpcent, and getrpcport to ...
10763         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
10764         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
10765         getrpcbynumber_r, and getrpcent_r to ...
10766         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
10767         * inet/getrpcbyname.c: Moved ...
10768         * sunrpc/getrpcbyname.c: ... here.
10769         * inet/getrpcbyname_r.c: Moved ...
10770         * sunrpc/getrpcbyname_r.c: ... here.
10771         * inet/getrpcbynumber.c: Moved ...
10772         * sunrpc/getrpcbynumber.c: ... here.
10773         * inet/getrpcbynumber_r.c: Moved ...
10774         * sunrpc/getrpcbynumber_r.c: ... here.
10775         * inet/getrpcent.c: Moved ...
10776         * sunrpc/getrpcent.c: ... here.
10777         * inet/getrpcent_r.c: Moved ...
10778         * sunrpc/getrpcent_r.c: ... here.
10779         * inet/Makefile (routines): Move those to ...
10780         * sunrpc/Makefile (routines): ... here.
10781         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
10782         the $(subdirs) list.
10783         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
10784         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
10785         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
10786         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
10788         * elf/Makefile (routines): Include $(all-dl-routines), not just
10789         $(dl-routines).
10790         (rtld-routines): Likewise.  Use = rather than :=.
10791         * sysdeps/aarch64/Makefile [$(subdir) = elf]
10792         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
10793         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
10794         * sysdeps/arm/Makefile: Likewise.
10795         * sysdeps/i386/Makefile: Likewise.
10796         * sysdeps/x86_64/Makefile: Likewise.
10797         * sysdeps/hppa/Makefile [$(subdir) = elf]
10798         (sysdep_routines, sysdep-rtld-routines): Don't add
10799         $(sysdep-dl-routines) to these.
10800         * sysdeps/ia64/Makefile: Likewise.
10801         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
10802         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
10803         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
10804         Don't add dl-static to these; sysdep-dl-routines alone is enough.
10805         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
10806         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
10807         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
10808         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
10809         * sysdeps/powerpc/Makefile [$(subdir) = elf]
10810         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
10811         these; sysdep-dl-routines alone is enough.
10813 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
10815         [BZ #17932]
10816         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
10817         where multiplication results in zero and third argument is finite
10818         and nonzero.
10819         * math/auto-libm-test-in: Add more tests of fma.
10820         * math/auto-libm-test-out: Regenerated.
10822         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
10823         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
10824         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
10825         (_FP_CMP_EQ): Likewise.
10826         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
10828         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
10829         extra argument CHECK_NAN.  Redefine as wrapper around
10830         _FP_EXTEND_CNAN.
10832 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
10834         * version.h (RELEASE): Set to "stable".
10835         (VERSION): Set to "2.21"
10836         * include/features.h (__GLIBC_MINOR__): Set to 21.
10838         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
10840 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
10841             Paul Eggert  <eggert@cs.ucla.edu>
10843         [BZ #16618]
10844         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
10845         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
10846         size in bytes. Store needed elements in wpmax. Use needed size
10847         in bytes for extend_alloca.
10849 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
10851         * manual/install.texi: Latest tested versions are GCC 4.9.2,
10852         binutls 2.25, and texinfo 5.2.
10853         * INSTALL: Regenerate.
10854         * sysdeps/nios2/configure: Regenerate.
10855         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
10856         * manual/contrib.texi: Update.
10857         * po/be.po: Update.
10858         * po/bg.po: Update.
10859         * po/ca.po: Update.
10860         * po/cs.po: Update.
10861         * po/da.po: Update.
10862         * po/de.po: Update.
10863         * po/el.po: Update.
10864         * po/eo.po: Update.
10865         * po/es.po: Update.
10866         * po/fi.po: Update.
10867         * po/fr.po: Update.
10868         * po/gl.po: Update.
10869         * po/hr.po: Update.
10870         * po/hu.po: Update.
10871         * po/ia.po: Update.
10872         * po/id.po: Update.
10873         * po/it.po: Update.
10874         * po/ja.po: Update.
10875         * po/ko.po: Update.
10876         * po/lt.po: Update.
10877         * po/nb.po: Update.
10878         * po/nl.po: Update.
10879         * po/pl.po: Update.
10880         * po/pt_BR.po: Update.
10881         * po/ru.po: Update.
10882         * po/rw.po: Update.
10883         * po/sk.po: Update.
10884         * po/sl.po: Update.
10885         * po/sv.po: Update.
10886         * po/tr.po: Update.
10887         * po/uk.po: Update.
10888         * po/vi.po: Update.
10889         * po/zh_CN.po: Update.
10890         * po/zh_TW.po: Update.
10892         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
10893         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
10894         * sysdeps/hppa/dl-irel.h: Remove #warning.
10895         * sysdeps/hppa/entry.h: Provide prototype for
10896         __canonicalize_funcptr_for_compare and cast argument.
10897         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
10898         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
10899         * sysdeps/hppa/sotruss-lib.c: New file.
10900         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
10901         (atomic_compare_and_exchange_val_acq): Use __typeof__.
10902         (atomic_compare_and_exchange_bool_acq): Likewise.
10903         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
10904         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
10906         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
10907         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
10908         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
10910 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
10912         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
10913         called function in non-PIC case.
10915 2015-01-31  David S. Miller  <davem@davemloft.net>
10917         * sysdeps/sparc/sparc32/bits/atomic.h
10918         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
10919         unlock not after it.
10920         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
10921         volatile register usage warnings from the compiler.
10923         * sysdeps/sparc/nptl/sem_init.c: Delete.
10924         * sysdeps/sparc/nptl/sem_post.c: Delete.
10925         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
10926         * sysdeps/sparc/nptl/sem_wait.c: Delete.
10927         * sysdeps/sparc/sparc32/sem_init.c: New file.
10928         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
10929         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
10930         padding explicitly initialized.
10931         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
10932         padding for in-semaphore spinlock.
10933         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
10934         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
10935         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
10936         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
10937         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
10938         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
10939         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
10940         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
10941         version.
10942         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
10943         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
10945 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
10947         [BZ #17801]
10948         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10949         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
10950         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
10951         New.
10952         (index_AVX_Fast_Unaligned_Load): Likewise.
10953         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
10954         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
10955         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
10956         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
10957         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
10958         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
10959         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
10960         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
10961         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
10963 2015-01-29  Andreas Schwab  <schwab@suse.de>
10965         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
10967 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
10969         [BZ #17892]
10970         * nscd/nscd_stat.c (send_stats): Initialize DATA.
10972 2015-01-28  Martin Sebor  <msebor@redhat.com>
10974         * math/README.libm-test: Clarify. Add "How to read the test output."
10976 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
10978         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
10979         Define to 0.
10981 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
10983         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
10984         (__HAVE_64B_ATOMICS): Define to 0.
10986 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
10988         [BZ #17885]
10989         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
10990         value to set as new flag.
10992         [BZ #16576]
10993         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
10994         and use _ARCH_PPCSQ instead.
10995         (__ieee754_sqrt): Likewise.
10996         (__ieee754_sqrtf): Likewise.
10997         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
10998         _ARCH_PPCSQ is defined.
10999         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
11000         fsqrt instruction.
11001         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
11002         _ARCH_PPCSQ is defined.
11003         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
11004         fsqrts instruction.
11005         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
11007 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11009         * iconv/loop.c: Suppress array out of bound warning caused by GCC
11010         bug (GCC BZ #64739).
11012 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
11014         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
11015         Mark _retval as used.
11016         (lll_futex_wake_unlock): Likewise.
11017         (lll_futex_timed_wait_requeue_pi): Likewise.
11019         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
11020         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
11021         register variables.
11023         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
11024         libm_hidden_def.
11026         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
11027         (__bswap_64): Mark as __always_inline.
11029 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
11031         [BZ #15378]
11032         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
11033         when none of the search directories exist.
11035 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
11037         [BZ #17869]
11038         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
11039         power8 in .machine directive.
11041         [BZ #17868]
11042         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
11043         set dependency from opd value.
11045 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
11047         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11048         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
11049         architecture.
11051 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
11053         [BZ #17870]
11054         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
11055         with uint64_t.
11056         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
11057         (uint64_t) 1.
11058         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
11059         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
11060         Replace 1UL with (uint64_t) 1.
11061         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
11062         int with uint64_t.
11064 2015-01-23  Roland McGrath  <roland@hack.frob.com>
11066         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
11067         (if_freenameindex): Likewise.
11069         * resource/getrlimit64.c: Add missing libc_hidden_def.
11071 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
11073         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
11074         __label__.
11075         (_FP_FMA): Likewise.
11076         (_FP_TO_INT_ROUND): Likewise.
11077         (_FP_FROM_INT): Likewise.
11079 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11081         [BZ #16418]
11082         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
11083         Make code racy and cancel safe.
11085 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
11087         * sysdeps/arm/unwind-resume.h: Fix copyright year.
11088         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
11089         attribution.
11091         * pwd/tst-getpw.c: Rewrite.
11093         [BZ #17702]
11094         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
11095         (modules-names): Add moddummy1 and moddummy2.
11096         ($(objpfx)tst-rec-dlopen): Define.
11097         * dlfcn/moddummy1.c: New file.
11098         * dlfcn/moddummy2.c: New file.
11099         * dlfcn/tst-rec-dlopen.c: New file.
11100         * elf/dl-cache.c (_dl_load_cache_lookup):
11101         Return char*. Copy result with alloca/strcpy/strdup.
11102         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
11103         returns char*. Free cached. If not saving realname
11104         free cached.
11105         * elf/dl-open.c (dl_open_worker): Do not assert that
11106         _r_debug->r_state is RT_CONSISTENT.
11107         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
11108         returns char*.
11110 2015-01-21  Torvald Riegel  <triegel@redhat.com>
11111             Carlos O'Donell  <carlos@redhat.com>
11113         [BZ #12674]
11114         * nptl/sem_waitcommon.c: New file.
11115         * nptl/sem_wait.c: Include sem_waitcommon.c.
11116         (__sem_wait_cleanup, do_futex_wait): Remove.
11117         (__new_sem_wait): Adapt.
11118         (__new_sem_trywait): New function.
11119         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
11120         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
11121         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
11122         (sem_timedwait): Adapt.
11123         * nptl/sem_post.c (__new_sem_post): Adapt.
11124         (futex_wake): New function.
11125         (__old_sem_post): Add release MO fence.
11126         * nptl/sem_open.c (sem_open): Adapt.
11127         * nptl/sem_init.c (__new_sem_init): Adapt.
11128         (futex_private_if_supported): New function.
11129         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
11130         (__old_sem_getvalue): Add using previous code.
11131         * sysdeps/nptl/internaltypes.h: Adapt.
11132         * nptl/tst-sem13.c (do_test): Adapt.
11133         * nptl/tst-sem11.c (main): Adapt.
11134         * nptl/sem_trywait.c: Remove.
11135         * nptl/DESIGN-sem.txt: Remove.
11136         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
11137         (gen-as-const-headers): Remove structsem.sym.
11138         * nptl/structsem.sym: Remove.
11139         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
11140         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
11141         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
11142         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
11143         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
11144         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
11145         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
11146         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
11147         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
11148         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
11149         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
11150         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
11151         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
11152         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
11153         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
11154         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
11155         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
11156         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
11157         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
11158         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
11159         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
11160         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
11162 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
11164         * INSTALL: Regenerated.
11166         * po/libc.pot: Regenerated.
11168 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
11169             Sandra Loosemore  <sandra@codesourcery.com>
11170             Andrew Jenner  <andrew@codesourcery.com>
11171             Joseph Myers  <joseph@codesourcery.com>
11172             Nathan Sidwell  <nathan@codesourcery.com>
11174         * NEWS: Mention new Nios II port.
11175         * sysdeps/nios2/Implies: New file.
11176         * sysdeps/nios2/Makefile: New file.
11177         * sysdeps/nios2/Subdirs: New file.
11178         * sysdeps/nios2/Versions: New file.
11179         * sysdeps/nios2/__longjmp.S: New file.
11180         * sysdeps/nios2/abort-instr.h: New file.
11181         * sysdeps/nios2/backtrace.c: New file.
11182         * sysdeps/nios2/bits/endian.h: New file.
11183         * sysdeps/nios2/bits/fenv.h: New file.
11184         * sysdeps/nios2/bits/link.h: New file.
11185         * sysdeps/nios2/bits/setjmp.h: New file.
11186         * sysdeps/nios2/bsd-_setjmp.S: New file.
11187         * sysdeps/nios2/bsd-setjmp.S: New file.
11188         * sysdeps/nios2/configure: New generated file.
11189         * sysdeps/nios2/configure.ac: New file.
11190         * sysdeps/nios2/crti.S: New file.
11191         * sysdeps/nios2/crtn.S: New file.
11192         * sysdeps/nios2/dl-init.c: New file.
11193         * sysdeps/nios2/dl-machine.h: New file.
11194         * sysdeps/nios2/dl-sysdep.h: New file.
11195         * sysdeps/nios2/dl-tls.h: New file.
11196         * sysdeps/nios2/dl-trampoline.S: New file.
11197         * sysdeps/nios2/gccframe.h: New file.
11198         * sysdeps/nios2/gmp-mparam.h: New file.
11199         * sysdeps/nios2/jmpbuf-offsets.h: New file.
11200         * sysdeps/nios2/jmpbuf-unwind.h: New file.
11201         * sysdeps/nios2/ldsodefs.h: New file.
11202         * sysdeps/nios2/libc-tls.c: New file.
11203         * sysdeps/nios2/libm-test-ulps: New file.
11204         * sysdeps/nios2/machine-gmon.h: New file.
11205         * sysdeps/nios2/math-tests.h: New file.
11206         * sysdeps/nios2/math_private.h: New file.
11207         * sysdeps/nios2/memusage.h: New file.
11208         * sysdeps/nios2/nptl/Makefile: New file.
11209         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
11210         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
11211         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
11212         * sysdeps/nios2/nptl/pthreaddef.h: New file.
11213         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
11214         * sysdeps/nios2/nptl/tls.h: New file.
11215         * sysdeps/nios2/preconfigure: New file.
11216         * sysdeps/nios2/s_fma.c: New file.
11217         * sysdeps/nios2/s_fmaf.c: New file.
11218         * sysdeps/nios2/setjmp.S: New file.
11219         * sysdeps/nios2/sfp-machine.h: New file.
11220         * sysdeps/nios2/sotruss-lib.c: New file.
11221         * sysdeps/nios2/stackguard-macros.h: New file.
11222         * sysdeps/nios2/stackinfo.h: New file.
11223         * sysdeps/nios2/start.S: New file.
11224         * sysdeps/nios2/sysdep.h: New file.
11225         * sysdeps/nios2/tls-macros.h: New file.
11226         * sysdeps/nios2/tst-audit.h: New file.
11227         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
11228         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
11229         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
11230         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
11231         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
11232         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
11233         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
11234         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
11235         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
11236         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
11237         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
11238         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
11239         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
11240         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
11241         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
11242         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
11243         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
11244         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
11245         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
11246         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
11247         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
11248         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
11249         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
11250         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
11251         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
11252         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
11253         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
11254         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
11255         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
11256         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
11257         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
11258         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
11259         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
11260         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
11261         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
11262         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
11263         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
11264         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
11265         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
11266         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
11267         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
11268         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
11269         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
11270         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
11272 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
11274         [BZ #17844]
11275         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
11276         (getutent): Use weak_alias in non SHARED case
11277         and default_symbol_version in SHARED case.
11278         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
11279         (getutent_r, pututline): Likewise.
11280         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
11281         (getutid): Likewise.
11282         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
11283         (getutid_r): Likewise.
11284         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
11285         (getutline): Likewise.
11286         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
11287         (getutline_r): Likewise.
11288         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
11289         (updwtmp): Likewise.
11291 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
11293         [BZ #17848]
11294         * sysdeps/s390/s390-32/memcmp.S
11295         (memcmp_g5): Rename to __memcmp_g5.
11296         * sysdeps/s390/s390-32/memcpy.S
11297         (memcpy_g5): Rename to __memcpy_g5.
11298         Jump to __memcpy_mvcle instead of memcpy_mvcle.
11299         (memcpy_mvcle) Rename to __memcpy_mvcle.
11300         * sysdeps/s390/s390-32/memset.S
11301         (memset_g5): Rename to __memset_g5.
11302         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
11303         (IFUNC_RESOLVE): Prefix ifunc-resolve function
11304         and use prefixed functions.
11305         * sysdeps/s390/s390-32/multiarch/memcmp.S
11306         (memcmp_z196): Rename to __memcmp_z196.
11307         (memcmp_z10): Rename to __memcmp_z10.
11308         (memcmp): Set alias to __memcmp_g5.
11309         (bcmp): Set alias to __memcmp_g5.
11310         * sysdeps/s390/s390-32/multiarch/memcpy.S
11311         (memcpy_z196): Rename to __memcpy_z196.
11312         Jump to __memcpy_mvcle instead of memcpy_mvcle.
11313         (memcpy_z10): Rename to __memcpy_z10.
11314         Jump to __memcpy_mvcle instead of memcpy_mvcle.
11315         (memcpy): Set alias to __memcpy_g5.
11316         * sysdeps/s390/s390-32/multiarch/memset.S
11317         (memset_z196): Rename to __memset_z196.
11318         Jump to __memset_mvcle instead of memset_mvcle.
11319         (memset_z10): Rename to __memset_z10.
11320         Jump to __memset_mvcle instead of memset_mvcle.
11321         (memset_mvcle) Rename to __memset_mvcle.
11322         (memset): Set alias to __memset_g5.
11323         * sysdeps/s390/s390-64/memcmp.S
11324         (memcmp_z900): Rename to __memcmp_z900.
11325         * sysdeps/s390/s390-64/memcpy.S
11326         (memcpy_z900): Rename to __memcpy_z900.
11327         Jump to __memcpy_mvcle instead of memcpy_mvcle.
11328         (memcpy_mvcle) Rename to __memcpy_mvcle.
11329         * sysdeps/s390/s390-64/memset.S
11330         (memset_z900): Rename to __memset_z900.
11331         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
11332         (IFUNC_RESOLVE): Prefix ifunc-resolve function
11333         and use prefixed functions.
11334         * sysdeps/s390/s390-64/multiarch/memcmp.S
11335         (memcmp_z196): Rename to __memcmp_z196.
11336         (memcmp_z10): Rename to __memcmp_z10.
11337         (memcmp): Set alias to __memcmp_z900.
11338         (bcmp): Set alias to __memcmp_z900.
11339         * sysdeps/s390/s390-64/multiarch/memcpy.S
11340         (memcpy_z196): Rename to __memcpy_z196.
11341         Jump to __memcpy_mvcle instead of memcpy_mvcle.
11342         (memcpy_z10): Rename to __memcpy_z10.
11343         Jump to __memcpy_mvcle instead of memcpy_mvcle.
11344         (memcpy): Set alias to __memcpy_z900.
11345         * sysdeps/s390/s390-64/multiarch/memset.S
11346         (memset_z196): Rename to __memset_z196.
11347         Jump to __memset_mvcle instead of memset_mvcle.
11348         (memset_z10): Rename to __memset_z10.
11349         Jump to __memset_mvcle instead of memset_mvcle.
11350         (memset_mvcle) Rename to __memset_mvcle.
11351         (memset): Set alias to __memset_z900.
11353 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
11355         [BZ #17748]
11356         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
11357         __fesetenv instead of fesetenv.
11359 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11361         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
11362         macro.
11364 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11366         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
11367         regression on LE.
11369         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
11370         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
11371         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
11372         strncmp-power8 object.
11373         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11374         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
11375         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
11376         * NEWS: Update.
11378 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11379             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11381         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
11382         trailing byte check.
11384 2015-01-13  David S. Miller  <davem@davemloft.net>
11386         * include/signal.h (__sigreturn): Guard with __USE_MISC.
11388 2015-01-13  Roland McGrath  <roland@hack.frob.com>
11390         * login/logout.c (logout): Use memset rather than bzero.
11391         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
11392         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
11393         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
11394         (_gethtbyaddr): Likewise.
11395         * locale/programs/simple-hash.c (bcopy): Macro removed.
11397 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11399         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11400         Add strcmp-power8 object.
11401         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11402         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
11403         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
11404         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
11405         __strcmp_power8 implementation.
11406         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
11407         * NEWS: Update.
11409         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11410         Add strncpy-power8 and stpncpy-power8 objects.
11411         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11412         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
11413         implementations.
11414         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
11415         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
11416         __stpncpy_power8 implementation.
11417         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
11418         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
11419         __strncpy_power8 implementation.
11420         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
11421         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
11422         * NEWS: Update.
11424         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
11425         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
11426         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
11428         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
11429         strncat-power8 object.
11430         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
11431         __strcat_power8 implementation.
11432         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11433         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
11434         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
11435         optimized strcat for power8.
11437         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
11438         strcpy-power8 and stpcpy-power8 objects.
11439         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11440         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
11441         implementations.
11442         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
11443         multiarch stpcpy implementation for POWER8.
11444         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
11445         multiarch strcpy implementation for POWER8.
11446         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
11447         __strcpy_power8 function.
11448         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
11449         stpcpy for POWER8.
11450         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
11451         strcpy for POWER8.
11452         * NEWS: Update.
11454 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
11456         [BZ #16009]
11457         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
11458         weights and rules. Use do_xfrm_cached if data fits in cache,
11459         do_xfrm otherwise.  Moved former main loop to...
11460         * (do_xfrm_cached): New function.
11461         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
11462         find_idx, find_position and stack_push.
11463         * (find_idx): New function.
11464         * (find_position): Likewise.
11465         * localedata/sort-test.sh: Added test run for do_xfrm.
11466         * localedata/xfrm-test.c (main): Added command line option
11467         -nocache to run the test with strings that are too large for
11468         the STRXFRM cache.
11470 2015-01-13  Torvald Riegel  <triegel@redhat.com>
11472         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
11473         variable to lll_futex_wake call, not the value itself.
11475 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
11477         [BZ #17803]
11478         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
11479         twom64.  Adjust value to 0x1p-64L.
11480         (__scalblnl): Only return standard underflowing result for K <=
11481         -64 not K <= -63; adjust exponent for underflowing result by 64
11482         not 63.
11483         * math/libm-test.inc (scalbn_test_data): Add more tests.
11484         (scalbln_test_data): Likewise.
11486         [BZ #17834]
11487         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
11488         0x1p63L.
11489         (__scalblnl): Get new exponent of adjusted subnormal value from ES
11490         not HX.
11491         * math/libm-test.inc (scalbn_test_data): Add more tests.
11492         (scalbln_test_data): Likewise.
11494 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11495             Stefani Seibold  <stefani@seibold.net>
11497         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
11498         (sysdep_routines): Add dl-vdso here, ...
11499         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
11500         (sysdep_routines): ... not here.
11501         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
11502         fallback when vDSO is not presented.
11503         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
11504         Define with libc_hidden_proto/libc_hidden_data_def definitions.
11505         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
11506         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
11507         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
11508         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
11509         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
11510         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
11511         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
11512         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
11513         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
11514         fallback configurable symbol when vDSO is not available.
11515         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
11516         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
11517         be able to redefine fallback symbol when vDSO is not available.
11518         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
11519         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
11521 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11523         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
11524         (TLS_INIT_TP): Add tm_capable initialization.
11525         (TLS_DEFINE_INIT_TP): Likewise.
11526         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
11527         TCB.
11528         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
11529         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
11530         calculation.
11531         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
11532         transactoion is lock elision is built and TCB tm_capable is set.
11533         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
11534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11535         (INTERNAL_SYSCALL_NCS): Likewise.
11536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11537         (INTERNAL_SYSCALL_NCS): Likewise.
11538         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
11540         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
11541         for powerpc.
11542         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11543         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
11544         and remove it for 32 bits case.
11545         [pthread_rwlock_t] (__rwelision): New field for lock elision.
11546         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
11547         initialization.
11548         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
11549         Disable lock elision with rdlocks if elision is not available.
11551         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
11552         (sysdep_routines): Add lock elision objects.
11553         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11554         [pthread_mutex_t] (__spins): Rework to add lock elision field.
11555         [pthread_mutex_t] (__elision): Add field.
11556         [__PTHREAD_SPINS]: Adjust to init lock elision field.
11557         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
11558         elision definitions for powerpc.
11559         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
11560         implementation of lock elision for powerpc.
11561         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
11562         implementation of timed lock elision for powerpc.
11563         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
11564         implementation of trylock with lock elision for powerpc.
11565         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
11566         implementaion of unlock for lock elision for powerpc.
11567         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
11568         automatic enable lock elision for mutexes.
11569         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
11570         transaction execution definitions for powerpc.
11571         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
11572         definitions.
11573         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
11574         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
11575         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
11576         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
11577         * NEWS: Update.
11579 2015-01-09  Roland McGrath  <roland@hack.frob.com>
11581         * sysdeps/posix/shm-directory.c: Use <> rather than ""
11582         for #include of <shm-directory.h>.
11584 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
11586         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
11587         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
11589 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
11591         [BZ #17791]
11592         * NEWS: Mention bug fix.
11593         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
11594         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
11595         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
11597 2015-01-09  Torvald Riegel <triegel@redhat.com>
11599         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
11601 2015-01-09  Torvald Riegel <triegel@redhat.com>
11603         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
11605 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
11607         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
11608         pointer and cast to uintptr_t.
11610 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
11612         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
11613         removed.
11614         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
11616 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
11618         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
11619         of 0.
11621 2015-01-08  Roland McGrath  <roland@hack.frob.com>
11623         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
11624         <nptl/pthreadP.h> instead.
11625         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
11627         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
11628         already defined.
11629         [__SIGRTMIN] (init): Function removed.
11630         [__SIGRTMIN] (initialized): Variable removed.
11631         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
11632         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
11633         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
11634         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
11635         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
11636         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
11637         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
11638         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
11639         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
11640         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
11641         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
11642         * sysdeps/nptl/allocrtsig.c: New file.
11643         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
11644         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
11645         * sysdeps/generic/testrtsig.h: File removed.
11647         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
11648         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
11650         * nptl/nptl-init.c (pthread_functions): Conditionalize
11651         .ptr__nptl_setxid initialization on [SIGSETXID].
11653         * sysdeps/nptl/sys/procfs.h: New file.
11654         * nptl_db/Makefile (headers): Add it.
11655         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
11657         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
11658         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
11659         * nptl/pthread_attr_setaffinity.c: Include it.
11660         * nptl/pthread_setattr_default_np.c: Likewise.
11661         * nptl/check-cpuset.h: New file.
11663 2015-01-08  Richard Henderson  <rth@redhat.com>
11665         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
11666         (CFLAGS-tst-execstack-prog.c): Likewise.
11667         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
11669 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
11670             Sandra Loosemore  <sandra@codesourcery.com>
11671             Andrew Jenner  <andrew@codesourcery.com>
11672             Joseph Myers  <joseph@codesourcery.com>
11673             Nathan Sidwell  <nathan@codesourcery.com>
11675         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
11676         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
11677         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
11678         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
11679         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
11680         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
11681         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
11682         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
11683         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
11684         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
11685         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
11686         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
11687         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
11688         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
11689         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
11690         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
11691         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
11693 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11695         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
11696         timespec struct member in syscall macro.
11697         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
11698         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
11699         first timeval struct member in syscall macro.
11700         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
11702 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
11704         [BZ #17748]
11705         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
11706         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
11707         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
11708         __feupdateenv and define as weak alias of __feupdateenv.  Use
11709         libm_hidden_weak.
11710         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
11711         libm_hidden_def.
11712         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
11713         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
11714         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
11715         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
11716         libm_hidden_def.
11717         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
11718         __feupdateenv and define as weak alias of __feupdateenv.  Use
11719         libm_hidden_weak.
11720         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
11721         libm_hidden_def.
11722         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
11723         __feupdateenv and define as weak alias of __feupdateenv.  Use
11724         libm_hidden_weak.
11725         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
11726         libm_hidden_def.
11727         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11728         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
11729         (__feupdateenv): Likewise.
11730         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
11731         __feupdateenv and define as weak alias of __feupdateenv.  Use
11732         libm_hidden_weak.
11733         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11734         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
11735         libm_hidden_def.
11736         * sysdeps/tile/math_private.h (__feupdateenv): New inline
11737         function.
11738         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
11739         libm_hidden_def.
11740         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
11741         __feupdateenv instead of feupdateenv.
11742         (default_libc_feupdateenv_test): Likewise.
11743         (libc_feresetround_ctx): Likewise.
11745 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11747         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
11748         prototype.
11750 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
11752         * posix/regcomp.c (parse_bracket_exp): Initialize type to
11753         COLL_SYM in a couple of places to avoid uninitialized variable
11754         wanings on tilegx gcc 4.8.2.
11756 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
11758         * sysdeps/aarch64/strcpy.S: New file.
11759         * sysdeps/aarch64/stpcpy.S: New file.
11760         * NEWS: Updated.
11762 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
11764         * sysdeps/aarch64/strrchr.S: New file.
11765         * NEWS: Updated.
11767 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
11769         [BZ #17658]
11770         * stdlib/setenv.c: Fix memory leak when setting large,
11771         duplicate string.
11773 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
11775         [BZ #17273]
11776         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
11777         and tabs from buffer before parsing fstab entry.
11778         * misc/tst-mntent.c (main): Add test for mount entry with
11779         trailing spaces and tabs.
11781 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
11783         [BZ #17748]
11784         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
11785         * math/fesetround.c (fesetround): Rename to __fesetround and
11786         define as weak alias of __fesetround.  Use libm_hidden_weak.
11787         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
11788         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
11789         * sysdeps/arm/fesetround.c (fesetround): Likewise.
11790         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
11791         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
11792         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
11793         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
11794         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
11795         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
11796         __fesetround_inline.
11797         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
11798         __fesetround_inline instead of __fesetround.
11799         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
11800         __fesetround and define as weak alias of __fesetround.  Use
11801         libm_hidden_weak.  Call __fesetround_inline instead of
11802         __fesetround.
11803         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
11804         __fesetround and define as weak alias of __fesetround.  Use
11805         libm_hidden_weak.
11806         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
11807         Likewise.
11808         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
11809         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11810         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
11811         * sysdeps/tile/math_private.h (__fesetround): New inline function.
11812         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
11813         __fesetround and define as weak alias of __fesetround.  Use
11814         libm_hidden_weak.
11815         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
11816         __fesetround instead of fesetround.
11817         (default_libc_feholdexcept_setround): Likewise.
11818         (libc_feholdsetround_ctx): Likewise.
11819         (libc_feholdsetround_noex_ctx): Likewise.
11821         [BZ #17748]
11822         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
11823         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
11824         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
11825         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
11826         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
11827         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
11828         define as weak alias of __fesetenv.  Use libm_hidden_weak.
11829         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
11830         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
11831         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
11832         define as weak alias of __fesetenv.  Use libm_hidden_weak.
11833         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
11834         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
11835         define as weak alias of __fesetenv.  Use libm_hidden_weak.
11836         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
11837         libm_hidden_def.
11838         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
11839         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
11840         Likewise.
11841         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
11842         define as weak alias of __fesetenv.  Use libm_hidden_weak.
11843         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
11844         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
11845         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
11846         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
11847         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
11848         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
11849         __fesetenv instead of fesetenv.
11850         (libc_feresetround_noex_ctx): Likewise.
11851         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
11852         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
11853         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
11854         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
11855         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
11856         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
11857         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11858         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
11859         (__feupdateenv): Likewise.
11860         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
11861         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11862         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11863         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
11865 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
11867         [BZ #17806]
11868         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
11869         addresses have been freed.
11871 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
11873         * resolv/res_init.c (__res_vinit): Improve comments about nserv
11874         and nservall.
11876 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
11878         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
11879         Clean up check_pf allocation pattern. addresses
11881 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11883         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
11884         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
11885         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
11886         * nptl/pthread_exit.c (__pthread_exit): Likewise.
11887         * nptl/pthread_join.c (pthread_join): Likewise.
11888         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
11889         * sysdeps/posix/waitid.c (__waitid): Likewise.
11890         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
11891         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
11892         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
11893         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
11894         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
11895         Likewise.
11896         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
11897         (__libc_pread64): Likewise.
11898         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
11899         (__libc_pwrite): Likewise.
11900         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
11901         (__libc_pwrite64): Likewsie.
11902         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
11903         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
11904         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
11905         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
11906         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
11907         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
11908         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
11910         Likewise.
11911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
11912         (__libc_pread64): Likewise.
11913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
11914         Likewise.
11915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
11916         (__libc_pwrite64): Likewise.
11917         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
11918         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
11919         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
11920         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
11921         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
11922         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
11923         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
11924         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
11925         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
11926         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
11927         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
11928         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
11929         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
11930         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
11931         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
11932         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
11933         Likewise.
11935 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
11937         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
11938         (CFLAGS-test-double.c): Likewise.
11939         (CFLAGS-test-ldouble.c): Likewise.
11940         (CPPFLAGS-test-ifloat.c): Likewise.
11941         (CPPFLAGS-test-idouble.c): Likewise.
11942         (CPPFLAGS-test-ildoubl.c): Likewise.
11943         (CFLAGS-test-test-fenv.c): Remove variable.
11944         (CFLAGS-test-misc.c): Likewise.
11946 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
11948         [BZ #17797]
11949         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
11950         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
11951         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
11952         CLOCKS_PER_SEC == 1000000.
11953         * time/clocktest.c (main): Replace %ld with %jd and cast to
11954         intmax_t.
11956 2015-01-05  Roland McGrath  <roland@hack.frob.com>
11958         * sysdeps/generic/unwind-resume.h: New file.
11959         * sysdeps/gnu/unwind-resume.c: Include it.
11960         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
11961         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
11962         argument list.
11963         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
11964         global rather than static.
11965         (_Unwind_Resume): Update user.
11966         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
11967         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
11968         rather than static.  Add __attribute__ ((cold)).
11969         (_Unwind_Resume, __gcc_personality_v0): Update callers.
11970         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
11971         * sysdeps/arm/arm-unwind-resume.S: New file.
11972         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
11973         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
11974         * sysdeps/arm/Makefile [$(subdir) = csu]
11975         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
11976         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
11977         Add rt-arm-unwind-resume.
11978         [$(subdir) = nptl]
11979         (libpthread-sysdep_routines, libpthread-shared-only-routines):
11980         Add pt-arm-unwind-resume.
11981         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
11982         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
11984 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
11986         [BZ #17748]
11987         * include/fenv.h (__feholdexcept): Declare.  Use
11988         libm_hidden_proto.
11989         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
11990         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
11991         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
11992         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
11993         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
11994         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
11995         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
11996         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
11997         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
11998         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
11999         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
12000         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
12001         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
12002         (feholdexcept): Likewise.
12003         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
12004         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
12005         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
12006         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
12007         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
12008         __feholdexcept instead of feholdexcept.
12009         (default_libc_feholdexcept_setround): Likewise.
12011 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
12013         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
12014         to avoid using stl/str to align destination.
12016 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
12018         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
12020 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
12022         [BZ #17796]
12023         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
12024         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
12025         Define as weak alias not strong alias.
12027 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
12029         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
12030         bltzal with addiupc.
12031         (RTLD_START): Ditto.
12033 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
12035         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
12036         for __vdso_* functions in declarations.
12037         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
12038         definitions.
12039         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
12040         INTERNAL_VSYSCALL): Use struct return types to check for error.
12042         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
12043         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
12044         function with cast from llround().
12045         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
12046         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
12047         Define.
12049 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
12051         [BZ #17793]
12052         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
12053         Define as weak alias not strong alias.
12055         [BZ #17635]
12056         * ctype/ctype-c99.c: New file.  isblank implementation moved from
12057         ...
12058         * ctype/ctype-extn.c: ... here.
12059         (__isblank_l): Move to ...
12060         * ctype/ctype-c99_l.c: ... here.  New file.
12061         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
12062         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
12063         Remove variable.
12064         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
12065         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
12066         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
12067         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
12068         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
12070         [BZ #17777]
12071         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
12072         (posix_fadvise64): Define as weak alias not strong alias.
12073         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12074         (posix_fallocate64): Likewise.
12075         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
12076         Remove variable.
12077         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
12078         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
12079         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
12080         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
12081         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
12083 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
12085         [BZ #16191]
12086         * NEWS: Mention bug fix.
12087         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
12088         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
12089         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
12090         (HOST_STACK_END_ADDR): Likewise.
12092 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
12094         [BZ #17748]
12095         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
12096         * math/fegetround.c (fegetround): Rename to __fegetround and
12097         define as weak alias of __fegetround.  Use libm_hidden_weak.
12098         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
12099         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
12100         * sysdeps/arm/fegetround.c (fegetround): Likewise.
12101         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
12102         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
12103         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
12104         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
12105         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
12106         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
12107         Undefine after rather than before function definition; use
12108         parentheses around function name in definition.
12109         (__fegetround): Also undefine macro after function definition.
12110         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
12111         __fegetround and define as weak alias of __fegetround.  Use
12112         libm_hidden_weak.  Do not undefine as macro.
12113         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
12114         Likewise.
12115         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
12116         __fegetround and define as weak alias of __fegetround.  Use
12117         libm_hidden_weak.
12118         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12119         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
12120         * sysdeps/tile/math_private.h (__fegetround): New inline function.
12121         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
12122         __fegetround and define as weak alias of __fegetround.  Use
12123         libm_hidden_weak.
12124         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
12125         __fegetround instead of fegetround.
12127         [BZ #17782]
12128         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
12129         Condition macro definition on [__USE_MISC].
12131         [BZ #17781]
12132         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
12133         (struct sigaction): Change type of sa_flags field to int.
12135         [BZ #17780]
12136         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
12137         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
12138         __glibc_reserved0.
12140         * nptl/version.c (banner): Use single year in copyright notice.
12142         * NEWS: Update copyright dates.
12143         * catgets/gencat.c (print_version): Likewise.
12144         * csu/version.c (banner): Likewise.
12145         * debug/catchsegv.sh: Likewise.
12146         * debug/pcprofiledump.c (print_version): Likewise.
12147         * debug/xtrace.sh (do_version): Likewise.
12148         * elf/ldconfig.c (print_version): Likewise.
12149         * elf/ldd.bash.in: Likewise.
12150         * elf/pldd.c (print_version): Likewise.
12151         * elf/sotruss.sh: Likewise.
12152         * elf/sprof.c (print_version): Likewise.
12153         * iconv/iconv_prog.c (print_version): Likewise.
12154         * iconv/iconvconfig.c (print_version): Likewise.
12155         * locale/programs/locale.c (print_version): Likewise.
12156         * locale/programs/localedef.c (print_version): Likewise.
12157         * login/programs/pt_chown.c (print_version): Likewise.
12158         * malloc/memusage.sh (do_version): Likewise.
12159         * malloc/memusagestat.c (print_version): Likewise.
12160         * malloc/mtrace.pl: Likewise.
12161         * manual/libc.texinfo: Likewise.
12162         * nptl/version.c (banner): Likewise.
12163         * nscd/nscd.c (print_version): Likewise.
12164         * nss/getent.c (print_version): Likewise.
12165         * nss/makedb.c (print_version): Likewise.
12166         * posix/getconf.c (main): Likewise.
12167         * scripts/test-installation.pl: Likewise.
12168         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
12170 2015-01-02  Will Newton  <will.newton@linaro.org>
12172         * sysdeps/arm/armv7/configure: Removed.
12173         * sysdeps/arm/armv7/configure.ac: Likewise.
12175 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
12177         * All files with FSF copyright notices: Update copyright dates
12178         using scripts/update-copyrights.
12179         * intl/plural.c: Regenerated.
12180         * locale/programs/charmap-kw.h: Likewise.
12181         * locale/programs/locfile-kw.h: Likewise.
12183 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12185         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
12187 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
12189         [BZ #17748]
12190         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
12191         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
12192         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
12193         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
12194         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
12195         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
12196         define as weak alias of __fegetenv.  Use libm_hidden_weak.
12197         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
12198         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
12199         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
12200         define as weak alias of __fegetenv.  Use libm_hidden_weak.
12201         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
12202         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
12203         define as weak alias of __fegetenv.  Use libm_hidden_weak.
12204         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
12205         libm_hidden_def.
12206         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
12207         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
12208         Likewise.
12209         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
12210         define as weak alias of __fegetenv.  Use libm_hidden_weak.
12211         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
12212         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
12213         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
12214         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
12215         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
12216         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
12217         __fegetenv instead of fegetenv.
12218         (libc_feholdsetround_noex_ctx): Likewise.
12220 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
12222         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
12223         (Elf_MIPS_ABIFlags_v0): New structure.
12224         (EF_MIPS_FP64): Define.
12225         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
12226         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
12227         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
12228         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
12229         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
12230         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
12231         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
12232         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
12233         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
12234         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
12235         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
12236         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
12237         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
12238         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
12239         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
12240         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
12241         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
12242         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
12243         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
12244         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
12245         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
12246         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
12247         field.
12248         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
12249         EF_MIPS_FP64.
12250         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
12251         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
12252         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
12253         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
12254         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
12255         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
12256         * sysdeps/mips/tst-abi-interlink.c: Likewise.
12257         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
12258         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
12259         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
12260         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
12261         record the current FP ABI extension.
12262         (mips-mode-switch): Define to show if kernel headers support mode
12263         switching.
12264         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
12265         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
12266         supported SYSV ABI version to 3.
12267         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
12268         feature.
12270 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12271             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12273         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
12274         path.
12275         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
12277 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
12279         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
12280         __fegetround and redefine to call __fegetround.  Remove condition
12281         on [!__NO_MATH_INLINES].
12282         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
12283         function.
12284         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
12285         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
12286         Remove macro.
12287         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
12288         instead of <fenv_libc.h>.
12289         (__llrintl): Call fegetround instead of __fegetround.
12290         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
12291         instead of <fenv_libc.h>.
12292         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
12293         (__lrintl): Call fegetround instead of __fegetround.
12294         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
12295         instead of <fenv_libc.h>.
12296         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12297         (__rintl): Call fegetround instead of __fegetround.
12299 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
12301         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
12302         arrays.
12304 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
12306         [BZ #17775]
12307         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
12308         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
12309         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
12311 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
12313         * sysdeps/i386/tls-macros.h: Include <features.h>.
12314         (TLS_LE): Use non-PIC version for GCC >= 5.0.
12315         (TLS_IE): Likewise.
12316         (TLS_LD): Likewise.
12317         (TLS_GD): Likewise.
12318         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
12319         define for GCC >= 5.0.
12321 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
12323         * math/test-fenv.c (test_single_exception, set_single_exc,
12324         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
12325         feexcp_mask_test, feenable_test, fe_single_test): Add
12326         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
12327         case where they are not used.
12328         * math/libm-test.inc: Likewise.
12329         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
12330         unused in the absence of FP rounding/exception support.
12331         * stdio-common/tst-printf-round.c: Likewise.
12332         * stdlib/tst-strtod-round.c: Likewise.
12333         * stdlib/tst-strtod-underflow.c: Likewise.
12335 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
12337         [BZ #17723]
12338         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
12339         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
12340         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
12341         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
12342         libm_hidden_weak.
12343         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
12344         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
12345         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
12346         libm_hidden_def.
12347         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
12348         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
12349         libm_hidden_weak.
12350         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
12351         Likewise.
12352         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
12353         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
12354         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
12355         libm_hidden_weak.
12356         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
12357         libm_hidden_def.
12358         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
12359         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
12360         (__feraiseexcept): Likewise.
12361         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
12362         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
12363         libm_hidden_weak.
12364         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
12365         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
12366         libm_hidden_def.
12367         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
12368         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
12369         Use libm_hidden_def.
12370         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
12371         libm_hidden_def.
12372         (feraiseexcept): Define as weak not strong alias.  Use
12373         libm_hidden_weak.
12374         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
12375         New inline function.  Factored out of ...
12376         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
12377         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
12378         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
12379         feraiseexcept.
12380         * math/w_acos.c (__acos): Likewise.
12381         * math/w_asin.c (__asin): Likewise.
12382         * math/w_ilogb.c (__ilogb): Likewise.
12383         * math/w_j0.c (y0): Likewise.
12384         * math/w_j1.c (y1): Likewise.
12385         * math/w_jn.c (yn): Likewise.
12386         * math/w_log.c (__log): Likewise.
12387         * math/w_log10.c (__log10): Likewise.
12388         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
12389         * sysdeps/aarch64/fpu/math_private.h
12390         (libc_feupdateenv_test_aarch64): Likewise.
12391         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
12392         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
12393         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
12394         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
12395         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
12396         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
12397         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
12398         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
12399         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
12400         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
12402 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
12404         [BZ #17732]
12405         * io/test-utime.c (main): Replace %ld with %jd and cast to
12406         intmax_t.
12407         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
12408         * nptl/tst-mutex5.c: Include <stdint.h>.
12409         (do_test): Replace %ld with %jd and cast to intmax_t.
12410         * posix/tst-regex.c (run_test): Likewise.
12411         (run_test_backwards): Likewise.
12412         * rt/tst-clock.c: Include <stdint.h>.
12413         (clock_test): Replace %ld with %jd and cast to intmax_t.
12414         * rt/tst-cpuclock1.c: Include <stdint.h>.
12415         (do_test): Replace %lu with %ju and cast to uintmax_t.
12416         * rt/tst-cpuclock2.c: Include <stdint.h>.
12417         (do_test): Replace %lu with %ju and cast to uintmax_t.
12418         * rt/tst-mqueue1.c: Include <stdint.h>.
12419         (check_attrs): Replace %ld with %jd and cast to intmax_t.
12420         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
12421         intmax_t.
12422         * rt/tst-mqueue4.c (do_test): Likewise.
12423         * rt/tst-timer4.c: Include <stdint.h>.
12424         (check_ts): Replace %ld with %jd and cast to intmax_t.
12425         (do_test): Likewise.
12426         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
12427         and cast to intmax_t.
12428         * sysdeps/pthread/tst-timer.c (main): Likewise.
12429         * time/clocktest.c (main): Likewise.
12430         * time/tst-posixtz.c (do_test): Likewise.
12431         * timezone/tst-timezone.c (main): Likewise.
12433 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
12434             H.J. Lu  <hongjiu.lu@intel.com>
12436         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
12437         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
12438         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
12439         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
12440         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
12441         version if bit_Fast_Unaligned_Load is set.
12442         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12443         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12444         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12445         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12446         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12447         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12448         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12449         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
12450         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
12451         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
12452         to 4.
12453         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
12454         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
12455         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
12456         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
12458 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
12460         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
12461         instead of #if to avoid a Wundef warning.
12462         * stdlib/tst-limits.c (do_test): Likewise.
12464         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
12465         parallel other exception macros.
12466         (fegetenv): Convert from macro to extern inline so that it applies
12467         retroactively to inline functions already seen by the compiler.
12468         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
12470         * posix/Makefile (before-compile): Use $(objpfx) for
12471         posix-conf-vars-def.h.
12473 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
12475         * posix/getconf.c (main): Use size_t for type of I.
12476         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
12477         NSPEC.
12479         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
12480         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
12481         * posix/posix-envs.def: Likewise.
12482         * sysdeps/posix/sysconf.c: Likewise.
12483         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
12484         (specs): Remove array.
12485         * scripts/gen-posix-conf-vars.awk: Support generation of specs
12486         array.
12488         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
12489         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
12490         (__sysconf): Use CONF_IS_* macros.
12492         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
12493         ($(objpfx)posix-conf-vars-def.h): New target.
12494         * posix/posix-conf-vars.list: New file.
12495         * posix/posix-conf-vars.h: New file.
12496         * posix/confstr.c: Include posix-conf-vars.h.
12497         (confstr): Use CONF_IS_* macros.
12498         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
12499         CONF_IS_* macros.
12500         * scripts/gen-posix-conf-vars.awk: New file.
12502 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
12504         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
12505         fegetround): Add no-op macros to avoid linknamespace issues.
12507         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
12508         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
12510         * sysdeps/unix/sysv/linux/tile/sysdep.h
12511         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
12512         assembly-specific section to avoid a redefinition warning.
12514         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
12515         long before casting to pointer to avoid a cast warning.
12517 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
12519         * sysdeps/tile/tilegx/Implies: New file.
12521 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
12523         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
12525 2014-12-23  Florian Weimer  <fweimer@redhat.com>
12527         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
12529 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
12531         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
12532         not define.
12533         * sysdeps/unix/sysv/linux/utimes.c: Do not include
12534         <kernel-features.h>.
12535         (__utimes) [__NR_utimes]: Make code unconditional.
12536         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
12537         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12538         (__ASSUME_UTIMES): Do not undefine.
12539         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12540         (__ASSUME_UTIMES): Likewise.
12541         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12542         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
12543         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
12544         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
12546 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
12548         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
12550 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
12552         [BZ #17747]
12553         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
12554         alias to weak alias for j0l, y0l.
12555         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
12556         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
12558         [BZ #17746]
12559         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
12560         conversion.
12562 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
12564         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
12565         to zero if not already defined.
12567 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
12569         [BZ #17724]
12570         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
12571         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
12572         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
12573         (char *) casts added.
12574         * sysdeps/ieee754/k_standardf.c: New file.
12575         * sysdeps/ieee754/k_standardl.c: Likewise.
12576         * math/Makefile (libm-support): Remove k_standard.
12577         (libm-calls): Add k_standard.
12579 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
12581         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
12582         Optimize to avoid an unnecessary FPCR read.
12584 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
12586         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
12587         Optimize to reduce FPCR/FPSR accesses.
12589 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
12591         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
12592         Call libc_fetestexcept_aarch64.
12594 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
12596         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
12597         Call libc_fesetround_aarch64.
12599 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
12601         [BZ #17733]
12602         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
12603         (__bind): Do not define as weak alias.
12604         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
12605         define.
12606         (__getsockname): Do not define as weak alias.
12608 2014-12-22  Will Newton  <will.newton@linaro.org>
12610         * manual/install.texi: Document that we require bison 2.7
12611         or above.
12612         * INSTALL: Regenerate.
12613         * configure.ac: Use AC_CHECK_PROG_VER instead of
12614         AC_PATH_PROG when checking for bison and check for
12615         version 2.7 or above.
12616         * configure: Regenerate.
12618 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
12620         [BZ #17745]
12621         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
12622         * sysdeps/tile/ffsll.c (ffsll): To here.
12624         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
12626 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
12628         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
12629         if not defined.
12630         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
12631         definition.
12632         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
12633         hidden ___tls_get_addr.
12634         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
12635         hidden __tls_get_addr.
12636         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
12637         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
12638         Likewise.
12640 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
12642         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
12643         _dl_init call.
12645 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
12647         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
12648         from "call _dl_init@PLT".
12649         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
12651 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
12653         * manual/search.texi: (Array Sort Function): Clarify stable sorting
12654         guarantees.
12656 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
12658         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
12660 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
12662         [BZ #17744]
12663         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
12664         strnlen.
12666 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
12668         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
12669         of multu on MIPSr6.
12670         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
12671         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
12672         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
12673         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
12674         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
12676 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
12678         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
12679         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
12680         (PTR_SUBU): Use subu for mips32r6/mips64r6.
12681         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
12682         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
12683         mips32r6/mips64r6.
12684         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
12686 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
12688         * string/strncat.c (STRNCAT): Simplify implementation.
12690 2014-12-19  David S. Miller  <davem@davemloft.net>
12692         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
12693         access the quad as both a long double and as a series of 4 words.
12695         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
12696         link_map->l_info array access.
12698 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
12700         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
12702         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
12703         * math/atest-exp2.c (TIMEOUT): Likewise.
12704         * math/atest-sincos.c (TIMEOUT): Likewise.
12706 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
12708         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
12709         -Wno-error with -fno-builtin-lround.
12711 2014-12-19  Torvald Riegel  <triegel@redhat.com>
12713         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
12714         Contains futex constants and functions moved over from ...
12715         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
12716         <lowlevellock-futex.h>.
12717         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
12718         (lll_timedwait_tid): Add comments and parentheses around macro
12719         arguments.
12721 2014-12-19  Torvald Riegel  <triegel@redhat.com>
12723         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
12724         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
12725         (__lll_private_flag): Remove.
12726         (lll_futex_wait): Likewise.
12727         (lll_futex_timed_wait): Likewise.
12728         (lll_futex_wake): Likewise.
12729         (lll_futex_requeue): Likewise.
12730         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
12731         (__lll_timedwait_tid): Spell out argument names.
12732         (lll_timedwait_tid): Add comments and parentheses around macro
12733         arguments.
12734         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
12735         LLL_SHARED and LLL_PRIVATE usable from assembly code.
12737 2014-12-19  Torvald Riegel  <triegel@redhat.com>
12739         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
12740         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
12741         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12742         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
12743         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
12744         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
12745         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
12746         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
12747         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
12748         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
12749         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
12750         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
12751         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
12752         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
12753         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
12754         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
12755         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
12756         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
12757         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
12759 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
12761         * sysdeps/x86_64/x32/Makefile: New file.
12763 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
12765         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
12766         1L with (mp_limb_t) 1.
12768 2014-12-17  Roland McGrath  <roland@hack.frob.com>
12770         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
12771         * nptl/libc_pthread_init.c: ... here.
12772         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
12773         * nptl/register-atfork.c: ... here.
12775         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
12776         Use pthread_sigmask rather than INTERNAL_SYSCALL.
12777         Use assert_perror to check its return value.
12778         (__gai_create_helper_thread): Likewise.
12780         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
12782         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
12784 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
12786         [BZ #17725]
12787         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
12788         __profil_counter.
12789         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
12790         Likewise.
12791         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
12792         Likewise.
12793         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
12794         Likewise.
12795         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
12796         (profil_counter): Likewise.
12797         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
12798         (profil_counter): Likewise.
12799         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
12800         Likewise.
12801         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
12802         Likewise.
12803         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
12804         (profil_counter): Likewise.
12805         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
12806         Likewise.
12807         [!__profil_counter] (profil_counter): Define as weak alias of
12808         __profil_counter.
12809         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
12810         (profil_counter): Rename to __profil_counter.
12811         [!__profil_counter] (profil_counter): Define as weak alias of
12812         __profil_counter.
12813         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
12814         (profil_counter): Rename to __profil_counter.
12815         [!__profil_counter] (profil_counter): Define as weak alias of
12816         __profil_counter.
12817         * sysdeps/posix/profil.c: Update comment referring to
12818         profil_counter.
12819         (__profil): Use __profil_counter instead of profil_counter.
12820         * sysdeps/posix/sprofil.c (profil_counter): Rename to
12821         __profil_counter.  Use __profil_counter_ushort and
12822         __profil_counter_uint in definitions.
12823         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
12824         instead of profil_counter_uint and profil_counter_ushort.
12826         [BZ #17722]
12827         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
12828         define as weak alias of __inet_makeaddr.
12829         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
12830         as weak alias of __inet_addr.
12831         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
12832         as weak alias of __inet_pton.  Use libc_hidden_weak.
12833         * include/arpa/inet.h (__inet_pton): Declare.  Use
12834         libc_hidden_proto.
12835         (inet_makeaddr): Don't use libc_hidden_proto.
12836         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
12837         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
12838         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
12839         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
12840         Remove variable.
12841         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
12842         (test-xfail-POSIX/time.h/linknamespace): Likewise.
12844 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
12846         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
12848 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
12850         * stdio-common/bug-vfprintf-nargs.c (do_test):
12851         Cast value to intptr_t to avoid format warning
12852         for usage with PRIdPTR printing macro.
12854 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
12856         * libio/tst-widetext.c (do_test):
12857         Use format type %td instead of %Zd for ptrdiff_t
12858         in order to avoid format warning.
12860 2014-12-17  Andreas Schwab  <schwab@suse.de>
12862         * nscd/mem.c (gc): Add size_t cast to match printf format.
12864 2014-12-16  Roland McGrath  <roland@hack.frob.com>
12866         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
12867         (init): Apply PTR_MANGLE to pointers before storing them.
12868         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
12869         before using them.
12871 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
12873         [BZ #17719]
12874         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
12875         define as weak alias of __memrchr.
12876         (__memrchr): Do not define as strong alias of memrchr.
12877         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
12878         Remove variable.
12879         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
12880         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
12881         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
12883         [BZ #17717]
12884         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
12885         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
12886         (if_indextoname): Rename to __if_indextoname and define as weak
12887         alias of __if_indextoname.  Use libc_hidden_weak.
12888         (if_freenameindex): Rename to __if_freenameindex and define as
12889         weak alias of __if_freenameindex.
12890         (if_nameindex): Rename to __if_nameindex and define as weak alias
12891         of __if_nameindex.
12892         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
12893         __if_nametoindex and define as weak alias of __if_nametoindex.
12894         Use libc_hidden_weak.
12895         (if_freenameindex): Rename to __if_freenameindex and define as
12896         weak alias of __if_freenameindex.
12897         (if_nameindex): Rename to __if_nameindex and define as weak alias
12898         of __if_nameindex.
12899         (if_indextoname): Rename to __if_indextoname and define as weak
12900         alias of __if_indextoname.  Use libc_hidden_weak.
12901         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
12902         __if_nametoindex and define as weak alias of __if_nametoindex.
12903         Use libc_hidden_weak.
12904         (if_freenameindex): Rename to __if_freenameindex and define as
12905         weak alias of __if_freenameindex.  Use libc_hidden_weak.
12906         (if_nameindex_netlink): Use __if_freenameindex instead of
12907         if_freenameindex.
12908         (if_nameindex): Rename to __if_nameindex and define as weak alias
12909         of __if_nameindex.  Use libc_hidden_weak.
12910         (if_indextoname): Rename to __if_indextoname and define as weak
12911         alias of __if_indextoname.  Use libc_hidden_weak.
12912         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
12913         libc_hidden_proto.
12914         [!_ISOMAC] (__if_freenameindex): Likewise.
12915         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
12916         if_nametoindex.
12917         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
12918         variable.
12919         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
12920         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
12921         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
12922         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
12923         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
12924         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
12925         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
12927         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
12928         Remove variable.
12929         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
12930         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
12932 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12934         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
12935         subscript above bounds'
12937         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
12938         bounds.
12940 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
12942         * libio/tst-fopenloc.c: Use test-skeleton.c.
12944         * stdlib/tst-bsearch.c: Use test-skeleton.c.
12945         (entry): Rename to ITEM.
12946         (do_test, comp): Adjust.
12948         * stdio-common/tst-fseek.c: Use test-skeleton.c.
12950 2014-12-16  Torvald Riegel  <triegel@redhat.com>
12952         * string/tester.c: Include <libc-internal.h>.
12953         (test_memset): Ignore -Wmemset-transposed-args.
12955 2014-12-16  Torvald Riegel  <triegel@redhat.com>
12957         * misc/tst-mntent2.c (do_test): Fix warning.
12959 2014-12-16  Torvald Riegel  <triegel@redhat.com>
12961         * elf/tst-unique4lib.cc(a): Mark as used.
12963 2014-12-16  Florian Weimer  <fweimer@redhat.com>
12965         [BZ #17630]
12966         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
12967         names.
12969 2014-12-16  Allan McRae  <allan@archlinux.org>
12971         * stdio-common/Makefile (tests): Re-add bug26.
12973 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
12975         [BZ #17657]
12976         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
12977         static array.
12979 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
12981         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
12982         (__lll_lock_wait): Likewise.
12983         (__lll_timedlock_wait): Likewise.
12984         (__lll_timedwait_tid): Likewise.
12985         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
12986         (__lll_robust_timedlock_wait): Likewise.
12987         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
12988         (lll_cond_trylock): Likewise.
12989         (__lll_lock): Likewise.
12990         (__lll_robust_lock): Likewise.
12991         (__lll_cond_lock): Likewise.
12992         (lll_robust_cond_lock): Likewise.
12993         (__lll_timedlock): Likewise.
12994         (__lll_robust_timedlock): Likewise.
12995         (__lll_unlock): Likewise.
12996         (__lll_robust_unlock): Likewise.
12997         (lll_wait_tid): Likewise.
12998         (lll_timedwait_tid): Likewise.
13000 2014-12-15  Torvald Riegel  <triegel@redhat.com>
13002         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
13004 2014-12-15  Torvald Riegel  <triegel@redhat.com>
13006         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
13008 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
13010         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
13011         * stdio-common/tst-sprintf.c: Likewise.
13013 2014-12-15  Torvald Riegel  <triegel@redhat.com>
13015         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
13017 2014-12-15  Jeff Law  <law@redhat.com>
13019         [BZ #16617]
13020         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
13021         on the heap.  (CVE-2012-3406)
13022         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
13023         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
13024         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
13026 2014-12-15  Will Newton  <will.newton@linaro.org>
13028         * manual/install.texi: Bump required version of texinfo
13029         to 4.7 from 4.5.
13030         * INSTALL: Regenerated.
13031         * configure.ac: Check for makeinfo version 4.7 and above.
13032         * configure: Regenerated.
13034 2014-12-12  Roland McGrath  <roland@hack.frob.com>
13036         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
13037         PREFIX, string constant to insert between directory and name.
13038         * sysdeps/posix/shm_open.c: Update caller.
13039         * sysdeps/posix/shm_unlink.c: Likewise.
13040         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
13041         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
13042         (SEM_SHM_PREFIX): New macro.
13043         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
13044         [$(have-thread-library) = no].
13045         * nptl/Makefile (libpthread-routines): Add shm-directory.
13046         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
13047         * sysdeps/nptl/shm-directory.h: New file.
13048         * sysdeps/posix/shm-directory.c
13049         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
13050         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
13051         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
13052         INTERNAL_SYSCALL.
13053         (__where_is_shmfs): Function removed.
13054         (mountpoint, defaultmount, defaultdir, __namedsem_once):
13055         Variables removed.
13056         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
13057         Use SHM_GET_NAME.
13058         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
13060         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
13061         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
13062         unconditional for use inside libpthread.
13063         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
13065 2014-12-12  Roland McGrath  <roland@hack.frob.com>
13067         * nptl/pthread_getaffinity.c: New file.
13068         * nptl/pthread_setaffinity.c: New file.
13069         * nptl/pthread_getname.c: New file.
13070         * nptl/pthread_setname.c: New file.
13072         * nptl/pthread_create.c (START_THREAD_DEFN)
13073         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
13075 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
13076             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13078         * resolv/res_send.c (send_vc): Disable warning resplen may
13079         be used uninitialized.
13081 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
13083         * nptl/tst-mutex6.c
13084         (ATTR_NULL): New define checks ATTR against NULL.
13085         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
13086         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
13088 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
13090         [BZ #17581]
13091         * malloc/hooks.c
13092         (mem2mem_check): Revert my previous change.
13093         (malloc_check_get_size): Revert my previous change.
13094         (mem2chunk_check): Revert my previous change.
13096 2014-12-11  Roland McGrath  <roland@hack.frob.com>
13098         * sysdeps/posix/shm-directory.c: New file.
13099         * sysdeps/posix/shm-directory.h: New file.
13100         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
13101         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
13102         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
13103         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
13104         Transmute EPERM to EACCES.
13105         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
13106         from ...
13107         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
13108         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
13110 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13112         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
13113         pointer and cast to uintptr_t.
13114         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
13115         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
13116         Add cast to avoid warning.
13117         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
13119 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
13121         * nptl/semaphore.h: Move to ...
13122         * sysdeps/pthread/semaphore.h: ... here.
13123         * Makefile (installed-headers): Change nptl/semaphore.h to
13124         sysdeps/pthread/semaphore.h.
13126 2014-12-11  Roland McGrath  <roland@hack.frob.com>
13128         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
13129         generated error format strings.
13131         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
13132         -Wformat-extra-args warnings for scanf formats.
13133         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
13134         test of zero-length format (duh).
13135         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
13136         corner-case scanf format test.
13137         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
13138         generated fprintf format string.
13139         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
13140         corner-case sprintf format tests.
13141         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
13142         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
13143         -Wformat-extra-args warnings throughout.
13144         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
13145         (CFLAGS-scanf4.c): Likewise.
13146         (CFLAGS-scanf7.c): Likewise.
13147         (CFLAGS-tst-sprintf.c): Likewise.
13148         (CFLAGS-tst-printf.c): Likewise.
13149         (CFLAGS-tst-printfsz.c): Likewise.
13151 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
13153         * include/cpio.h: New file.
13154         * include/fmtmsg.h: Likewise.
13156         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
13157         corresponding format argument to size_t.
13158         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
13159         arguments.
13160         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
13161         corresponding format argument to size_t.
13162         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
13163         arguments.
13164         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
13165         corresponding format argument to size_t.
13166         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
13167         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
13168         (CFLAGS-tst-mbswcs2.c): Likewise.
13169         (CFLAGS-tst-mbswcs3.c): Likewise.
13170         (CFLAGS-tst-mbswcs4.c): Likewise.
13171         (CFLAGS-tst-mbswcs5.c): Likewise.
13172         (CFLAGS-tst-trans.c): Likewise
13174 2014-12-11  Roland McGrath  <roland@hack.frob.com>
13176         * posix/regexbug1.c (main): Use "%s" format with regerror results,
13177         rather than assuming they won't contain any '%'s.
13179 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
13181         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
13182         inhibit_loop_to_libcall to avoid recursive calls.
13183         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
13184         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
13186 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
13188         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
13189         prototype.
13191 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
13193         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
13194         integer value instead of boolean.
13196 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
13198         * malloc/malloc.c: Fix powerof2 check.
13200 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
13202         * locale/programs/locfile.h (maybe_swap_uint32):
13203         Remove inline and add unused attribute.
13205 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
13207         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
13208         Truncating assembler expression to a .long expression.
13210 2014-12-11  Andreas Schwab  <schwab@suse.de>
13212         * elf/rtld.c (struct map_args): Constify str member.
13213         (do_preload): Constify fname argument.
13215 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13217         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
13218         constants definition.
13220 2014-12-11  Andreas Schwab  <schwab@suse.de>
13222         [BZ #16657]
13223         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
13224         FORCE_ELISION instead of DO_ELISION.
13225         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
13226         Remove.
13227         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
13228         Likewise.
13230         * iconvdata/gconv-modules: Remove duplicate entry.
13232 2014-12-11  Will Newton  <will.newton@linaro.org>
13234         Merge gettext 0.19.3 into intl/.
13236         This involves a number of cosmetic changes to comments
13237         and ANSI function definitions and prototypes throughout
13238         all the files. The gettext copyright header is used but
13239         with the date ranges taken from the glibc copy.
13241         * NEWS: Add gettext merge to 2.21.
13242         * intl/bindtextdom.c: Switch to gettext copyright.
13243         Use ANSI definitions and prototypes.
13244         Use gl_* locking primitives rather than __libc_* ones.
13245         Use __builtin_expect rather than __glibc_likely/unlikely.
13246         * intl/dcgettext.c: Switch to gettext copyright.
13247         Use ANSI definitions and prototypes.
13248         * intl/dcigettext.c: Switch to gettext copyright.
13249         Use ANSI definitions and prototypes.
13250         (INTDIV0_RAISES_SIGFPE): New define.
13251         Use gl_* locking primitives rather than __libc_* ones.
13252         Include eval-plural.h instead of plural-eval.c.
13253         Use __builtin_expect rather than __glibc_likely/unlikely.
13254         * intl/dcngettext.c: Switch to gettext copyright.
13255         Use ANSI definitions and prototypes.
13256         * intl/dgettext.c: Likewise.
13257         * intl/dngettext.c: Likewise.
13258         * intl/plural-eval.c: Renamed to...
13259         * intl/eval-plural.h: ...this.
13260         * intl/explodename.c: Switch to gettext copyright.
13261         Use ANSI definitions and prototypes.
13262         (_nl_explode_name): Use strchr instead of __rawmemchr.
13263         * intl/finddomain.c: Switch to gettext copyright.
13264         Use ANSI definitions and prototypes.
13265         Use gl_* locking primitives rather than __libc_* ones.
13266         (_nl_find_domain): Use malloc rather than alloca for
13267         allocation of temporary locale name.
13268         * intl/gettext.c: Switch to gettext copyright.
13269         Use ANSI definitions and prototypes.
13270         * intl/gettextP.h: Switch to gettext copyright.
13271         Use ANSI definitions and prototypes.
13272         Use gl_* locking primitives rather than __libc_* ones.
13273         * intl/gmo.h: Switch to gettext copyright.
13274         (struct sysdep_string): Move struct segment_pair outside of
13275         struct definition.
13276         * intl/hash-string.c: Use ANSI definitions and prototypes.
13277         * intl/hash-string.h: Switch to gettext copyright.
13278         Use ANSI definitions and prototypes.
13279         * intl/l10nflist.c: Switch to gettext copyright.
13280         Use ANSI definitions and prototypes.
13281         (_nl_normalize_codeset): Avoid integer overflow.
13282         * intl/loadinfo.h: Switch to gettext copyright.
13283         Use ANSI definitions and prototypes.
13284         (LIBINTL_DLL_EXPORTED): New define.
13285         (PATH_SEPARATOR): New define.
13286         * intl/loadmsgcat.c: Switch to gettext copyright.
13287         * intl/localealias.c: Switch to gettext copyright.
13288         Use ANSI definitions and prototypes.
13289         (_nl_expand_alias): Use PATH_SEPARATOR.
13290         * intl/ngettext.c: Switch to gettext copyright.
13291         Use ANSI definitions and prototypes.
13292         * intl/plural-exp.c: Likewise.
13293         * intl/plural-exp.h: Switch to gettext copyright.
13294         Use ANSI definitions and prototypes.
13295         (struct expression): Move definition of enum operator outside
13296         of struct definition.
13297         * intl/plural.c: Regenerate.
13298         * intl/plural.y: Switch to gettext copyright.
13299         Use ANSI definitions and prototypes.
13300         Port to bison 3.0.
13301         * intl/textdomain.c: Switch to gettext copyright.
13302         Use ANSI definitions and prototypes.
13303         Use gl_* locking primitives rather than __libc_* ones.
13305 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
13307         * debug/warning-nop.c: Add used atrribute.
13309 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
13311         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
13313         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
13314         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
13315         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
13317 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
13318             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13320         [BZ #17634]
13321         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
13322         Undefine after defining function.  Define as weak alias of
13323         __wcschr.  Use libc_hidden_weak.
13324         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
13325         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
13326         (libc_hidden_def): Also define __GI___wcschr alias.
13327         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
13328         __wcschr and define as weak alias of __wcschr.
13329         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
13330         __wcschr.
13331         [!WCSCHR] (DEFAULT_WCSCHR): Define.
13332         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
13333         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
13334         libc_hidden_weak.  Do not use libc_hidden_def.
13335         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
13336         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
13337         __GI___wcschr alias.
13338         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
13339         [IS_IN (libc)] (wcschr): Define as macro expanding to
13340         __redirect_wcschr.
13341         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
13342         [IS_IN (libc)] (__wcschr_power6): Likewise.
13343         [IS_IN (libc)] (__wcschr_power7): Likewise.
13344         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
13345         instead of wcschr.
13346         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
13347         __libc_wcschr.
13348         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
13349         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
13350         __wcschr and define as weak alias of __wcschr.  Use
13351         libc_hidden_builtin_def.
13352         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
13353         as weak alias of __wcschr.  Use libc_hidden_weak.
13354         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
13355         wcschr.
13356         * time/era.c (_nl_init_era_entries): Likewise.
13357         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
13358         variable.
13359         (test-xfail-XPG3/time.h/linknamespace): Likewise.
13360         (test-xfail-XPG4/time.h/linknamespace): Likewise.
13362 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
13364         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
13365         format for long int variable.
13367 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
13369         [BZ #10672]
13370         * manual/search.texi: (Array Sort Function): Remove claim how to make
13371         qsort stable.
13373 2014-12-10  Andreas Schwab  <schwab@suse.de>
13375         [BZ #12847]
13376         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
13377         user-controlled locks.
13379 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
13381         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
13382         register.
13384 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
13386         * configure.ac (--disable-werror): New configure option.
13387         (enable_werror): New AC_SUBST.
13388         * configure: Regenerated.
13389         * config.make.in (enable-werror): New variable.
13390         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
13391         -Wno-error=undef.
13392         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
13393         * manual/install.texi (Configuring and compiling): Document
13394         --disable-werror.
13395         * INSTALL: Regenerated.
13396         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
13397         (CFLAGS-tst-chk2.c): Likewise.
13398         (CFLAGS-tst-chk3.c): Likewise.
13399         (CFLAGS-tst-chk4.cc): Likewise.
13400         (CFLAGS-tst-chk5.cc): Likewise.
13401         (CFLAGS-tst-chk6.cc): Likewise.
13402         (CFLAGS-tst-lfschk1.c): Likewise.
13403         (CFLAGS-tst-lfschk2.c): Likewise.
13404         (CFLAGS-tst-lfschk3.c): Likewise.
13405         (CFLAGS-tst-lfschk4.cc): Likewise.
13406         (CFLAGS-tst-lfschk5.cc): Likewise.
13407         (CFLAGS-tst-lfschk6.cc): Likewise.
13409         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
13410         (main): Disable -Wdeprecated-declarations around calls to
13411         register_printf_function.
13413         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
13414         (do_test): Disable -Wdiv-by-zero around some calls to
13415         fwrite_unlocked and fread_unlocked.
13417         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
13418         (DIAG_POP_NEEDS_COMMENT): Likewise.
13419         (_DIAG_STR1): Likewise.
13420         (_DIAG_STR): Likewise.
13421         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
13422         * stdio-common/bug21.c: Include <libc-internal.h>.
13423         (do_test): Disable -Wformat around call to sscanf.
13424         * stdio-common/scanf14.c: Include <libc-internal.h>.
13425         (main): Disable -Wformat around some calls to scanf functions.
13427 2014-12-09  Torvald Riegel  <triegel@redhat.com>
13429         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
13431 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13433         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
13434         stack variable alignment.
13436 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
13438         [BZ #17682]
13439         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
13440         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
13441         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
13442         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
13443         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
13444         __getrlimit instead of getrlimit.
13445         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
13446         __gettimeofday instead of gettimeofday.
13447         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
13448         Likewise.
13449         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
13450         Likewise.
13451         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
13452         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
13453         Remove variable.
13454         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
13455         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
13457 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13459         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
13460         for wide-character tests.
13462 2014-12-04  Roland McGrath  <roland@hack.frob.com>
13464         * io/openat64.c: #include <libc-internal.h>
13465         (__openat64): Prototypify.  Use ignore_value on MODE.
13466         * io/openat.c: Likewise.
13467         * misc/reboot.c: #include <libc-internal.h>
13468         (reboot): Prototypify.  Use ignore_value on HOWTO.
13469         * misc/ptrace.c: #include <libc-internal.h>
13470         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
13472 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
13474         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
13475         XPG4, UNIX98 and XOPEN2K.
13476         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
13477         Remove variable.
13478         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
13480 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13482         * libio/fileops.c: Use ISO C style for function definitions.
13483         * libio/iofopen.c: Likewise.
13484         * libio/wfileops.c: Likewise.
13486         [BZ #17653]
13487         * libio/fileops.c (_IO_new_file_underflow): Unset cached
13488         offset on EOF.
13489         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
13490         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
13491         (fgets_func): Function pointer to fgets and fgetws.
13492         (do_ftell_test): Add test to verify ftell value after read
13493         EOF.
13494         (do_test): Set fgets_func.
13496         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
13497         O_TRUNC flag for w and w+ modes.
13498         (do_rewind_test): Likewise.
13499         (do_ftell_test): Likewise.
13500         (do_write_test): Likewise.
13502         [BZ #17647]
13503         * libio/fileops.c (do_ftell): Seek only when there are
13504         unflushed writes.
13505         * libio/wfileops.c (do_ftell_wide): Likewise.
13506         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
13507         test case.
13508         (do_one_test): Call it.
13510 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
13512         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
13513         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
13514         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
13515         Remove variable.
13516         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
13517         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
13518         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
13520 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
13522         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
13523         Remove variable.
13524         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
13526         [BZ #17668]
13527         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
13528         as weak alias of __getifaddrs.  Use libc_hidden_weak.
13529         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
13530         __freeifaddrs.  Use libc_hidden_weak.
13531         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
13532         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
13533         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
13534         __freeifaddrs.  Use libc_hidden_weak.
13535         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
13536         __getifaddrs and define as weak alias of __getifaddrs.  Use
13537         libc_hidden_weak.
13538         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
13539         __freeifaddrs.  Use libc_hidden_weak.
13540         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
13541         Remove variable.
13542         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
13543         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
13545 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
13547         [BZ #17601]
13548         * sysdeps/mips/start.S (__start): Use indirect jump to call
13549         __libc_start_main.
13551 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
13553         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
13555         * nptl/tst-mutex1.c: Include <stdbool.h>.
13556         [!ATTR] (ATTR_NULL): New macro.
13557         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
13558         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
13559         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
13561         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
13562         to char *.
13564         [BZ #17665]
13565         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
13566         Change conditional to [__USE_MISC].
13568         [BZ #17664]
13569         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
13570         fgets_unlocked.
13571         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
13572         __fgets_unlocked.
13573         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
13574         fgets_unlocked.
13575         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
13576         Remove variable.
13577         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
13578         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
13579         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
13580         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
13581         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
13582         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
13583         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
13584         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
13585         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
13587         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
13589 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13591         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13592         Remove strpbrk objects.
13593         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13594         (__libc_ifunc_impl_list): Remove strpbrk implementation.
13595         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
13596         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
13597         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
13598         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
13600         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13601         Remove strcspn objects.
13602         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13603         (__libc_ifunc_impl_list): Remove strcspn implementation.
13604         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
13605         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
13606         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
13607         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
13609         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13610         Remove strspn objetcs.
13611         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13612         (__libc_ifunc_impl_list): Remove strspn implementation.
13613         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
13614         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
13615         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
13616         * sysdeps/powerpc/powerpc64/strspn.S: New file.
13618 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
13620         [BZ #17581]
13621         * malloc/hooks.c
13622         (mem2mem_check): Add a terminator to the chain of checking blocks.
13623         (malloc_check_get_size): Use it here.
13624         (mem2chunk_check): Ditto.
13626 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13628         * sysdeps/powerpc/powerpc64/strtok.S: New file.
13629         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
13631 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
13633         * bits/ioctl-types.h: Indent preprocessor directives correctly.
13635         * nptl/nptl-init.c: Include libc-internal.h.
13636         (__pthread_initialize_minimal_internal): Use ROUND_UP.
13638         * elf/ldconfig.c (search_dir): Expand comment.
13640 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
13642         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
13643         variable.
13644         (linknamespace-symlist-stdlibs-tests): Likewise.
13645         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
13646         instead of $(objpfx)symlist-stdlibs.
13647         (linknamespace-libs-isoc): New variable.
13648         (linknamespace-libs): Use $(linknamespace-libs-isoc).
13649         (linknamespace-libs-ISO): New variable.
13650         (linknamespace-libs-ISO99): Likewise.
13651         (linknamespace-libs-ISO11): Likewise.
13652         (linknamespace-libs-XPG3): Likewise.
13653         (linknamespace-libs-XPG4): Likewise.
13654         (linknamespace-libs-POSIX): Likewise.
13655         (linknamespace-libs-UNIX98): Likewise.
13656         (linknamespace-libs-XOPEN2K): Likewise.
13657         (linknamespace-libs-POSIX2008): Likewise.
13658         (linknamespace-libs-XOPEN2K8): Likewise.
13659         ($(objpfx)symlist-stdlibs): Replace by
13660         $(linknamespace-symlist-stdlibs-tests).  Use
13661         $(linknamespace-libs-$*) as set of libraries.
13662         ($(linknamespace-header-tests)): Update dependencies.  Use
13663         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
13664         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
13665         * conform/linknamespace.pl: Remove comment about considering
13666         definitions of symbols from irrelevant libraries.
13668 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
13670         [BZ #13862]
13671         * elf/dl-tls.c: Include <atomic.h>.
13672         (oom): Remove #ifdef SHARED/#endif.
13673         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
13674         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
13675         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
13676         big enough.
13677         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
13678         * nptl/Makefile (tests): Add tst-stack4.
13679         (modules-names): Add tst-stack4mod.
13680         ($(objpfx)tst-stack4): New.
13681         (tst-stack4mod.sos): Likewise.
13682         ($(objpfx)tst-stack4.out): Likewise.
13683         ($(tst-stack4mod.sos)): Likewise.
13684         (clean): Likewise.
13685         * nptl/tst-stack4.c: New file.
13686         * nptl/tst-stack4mod.c: Likewise.
13688 2014-11-27  J. Brown  <jb999@gmx.de>
13690         * sysdeps/x86/bits/string.h: Add recent CPUs.
13692 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
13694         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
13695         sigblock.
13697         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
13698         feof.
13700         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
13701         variable.
13703 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
13705         * nscd/connections.c: Include libc-internal.h because of macro
13706         usage ignore_value.
13708 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13710         * string/bits/string3.h (__warn_memset_zero_len): Don't
13711         declare for gcc newer than 5.0.
13712         (memset): Don't test for zero-length __LEN for gcc newer than
13713         5.0.
13715 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
13717         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
13718         size_t for %zu format.
13720         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
13721         difference, not %ju.
13723 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
13725         * include/libc-internal.h (ignore_value): New macro.
13726         * nscd/connections.c (restart): Wrap calls to setuid and setgid
13727         with ignore_value.
13729         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
13730         definition.
13732         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
13733         pthread_cleanup_push to void *.
13735         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
13736         Undefine.
13738         [BZ #16619]
13739         [BZ #16740]
13740         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
13741         instead of 1L << 52.
13743         * libio/bug-rewind.c (do_test): Check fwscanf return values.
13744         * libio/bug-rewind2.c (do_test): Likewise.
13746         * debug/test-stpcpy_chk-ifunc.c: Remove file.
13747         * debug/test-strcpy_chk-ifunc.c: Likewise.
13748         * wcsmbs/test-wcschr-ifunc.c: Likewise.
13749         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
13750         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
13751         * wcsmbs/test-wcslen-ifunc.c: Likewise.
13752         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
13753         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
13754         * Rules [$(multi-arch) = no] (tests): Do not filter out
13755         $(tests-ifunc).
13756         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
13757         * debug/Makefile (tests-ifunc): Remove variable.
13758         (tests): Do not add $(tests-ifunc).
13759         * wcsmbs/Makefile (tests-ifunc): Remove variable.
13760         (tests): Do not add $(tests-ifunc).
13761         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
13762         [TEST_IFUNC]: Remove conditionals.
13763         * string/test-string.h (TEST_IFUNC): Remove macro.
13764         [TEST_IFUNC]: Remove conditionals.
13766         * string/test-strchr.c [!WIDE] (L): New macro.
13767         [WIDE] (L): Likewise.
13768         (check1): Use CHAR instead of char.  Use L on string and character
13769         constants.
13771 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
13773         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
13774         tests.
13775         * sysdeps/powerpc/bits/atomic.h
13776         (__arch_atomic_exchange_and_add_32_acq): Add definition.
13777         (__arch_atomic_exchange_and_add_32_rel): Likewise.
13778         (atomic_exchange_and_add_acq): Likewise.
13779         (atomic_exchange_and_add_rel): Likewise.
13780         * sysdeps/powerpc/powerpc32/bits/atomic.h
13781         (__arch_atomic_exchange_and_add_64_acq): Add definition.
13782         (__arch_atomic_exchange_and_add_64_rel): Likewise.
13783         * sysdeps/powerpc/powerpc64/bits/atomic.h
13784         (__arch_atomic_exchange_and_add_64_acq): Add definition.
13785         (__arch_atomic_exchange_and_add_64_rel): Likewise.
13787 2014-11-26  Torvald Riegel  <triegel@redhat.com>
13789         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
13790         Change synchronization of __sched_fifo_min_prio and
13791         __sched_fifo_max_prio.
13792         * nptl/pthread_mutexattr_getprioceiling.c
13793         (pthread_mutexattr_getprioceiling): Likewise.
13794         * nptl/pthread_mutexattr_setprioceiling.c
13795         (pthread_mutexattr_setprioceiling): Likewise.
13796         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
13797         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
13798         Likewise.
13800 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
13802         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
13803         void.
13805 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
13807         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
13808         third argument const.
13810 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
13812         fnmatch: work around GCC compiler warning bug with uninit var
13813         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
13814         This works around a bug with x86-64 GCC 4.9.2 and earlier
13815         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
13816         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
13817         used uninitialized in this function [-Wmaybe-uninitialized]".
13819 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
13821         * posix/bug-regex31.c (main): Return RES not 0.
13823 2014-11-25  Anton Blanchard <anton@samba.org>
13825         * sysdeps/powerpc/bits/atomic.h
13826         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
13828 2014-11-24  Sterling Augustine  <saugustine@google.com>
13830         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
13832 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
13834         [BZ #17608]
13835         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
13837 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
13839         [BZ #17633]
13840         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
13841         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
13842         variable.
13843         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
13844         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
13846 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
13848         * string/strncpy.c (strncpy): Improve performance by using memset.
13850 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
13852         * string/strcpy.c (strcpy):
13853         Improve performance by using strlen and memcpy.
13855 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
13857         * string/strcoll_l.c (get_next_seq): __always_inline.
13858         * string/strcoll_l.c (do_compare): __always_inline.
13860 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13862         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
13863         defined.
13864         * include/mqueue.h: Likewise.
13865         * include/stdlib.h: Likewise.
13867         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
13868         (get_null_defines): Adjust.
13869         * sunrpc/Makefile: Adjust comment.
13870         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
13871         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
13872         (CFLAGS-interp.c): Likewise.
13873         (CFLAGS-ldconfig.c): Likewise.
13874         (CPPFLAGS-.os): Likewise.
13875         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
13876         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
13877         * extra-modules.mk (extra-modules.mk): Likewise.
13878         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
13879         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
13880         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
13881         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
13882         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
13883         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
13884         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
13885         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
13886         * iconvdata/Makefile (CPPFLAGS): Likewise.
13887         (cpp-srcs-left): Add libof for all iconvdata routines.
13888         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
13889         * include/assert.h: Likewise.
13890         * include/ctype.h: Likewise.
13891         * include/errno.h: Likewise.
13892         * include/libc-symbols.h: Likewise.
13893         * include/math.h: Likewise.
13894         * include/netdb.h: Likewise.
13895         * include/resolv.h: Likewise.
13896         * include/stdio.h: Likewise.
13897         * include/stdlib.h: Likewise.
13898         * include/string.h: Likewise.
13899         * include/sys/stat.h: Likewise.
13900         * include/wctype.h: Likewise.
13901         * intl/l10nflist.c: Likewise.
13902         * libidn/idn-stub.c: Likewise.
13903         * libio/libioP.h: Likewise.
13904         * nptl/libc_multiple_threads.c: Likewise.
13905         * nptl/pthreadP.h: Likewise.
13906         * posix/regex_internal.h: Likewise.
13907         * resolv/res_hconf.c: Likewise.
13908         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
13909         * sysdeps/arm/memmove.S: Likewise.
13910         * sysdeps/arm/sysdep.h: Likewise.
13911         * sysdeps/generic/_itoa.h: Likewise.
13912         * sysdeps/generic/symbol-hacks.h: Likewise.
13913         * sysdeps/gnu/errlist.awk: Likewise.
13914         * sysdeps/gnu/errlist.c: Likewise.
13915         * sysdeps/i386/i586/memcpy.S: Likewise.
13916         * sysdeps/i386/i586/memset.S: Likewise.
13917         * sysdeps/i386/i686/memcpy.S: Likewise.
13918         * sysdeps/i386/i686/memmove.S: Likewise.
13919         * sysdeps/i386/i686/mempcpy.S: Likewise.
13920         * sysdeps/i386/i686/memset.S: Likewise.
13921         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
13922         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13923         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
13924         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
13925         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13926         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13927         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
13928         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13929         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
13930         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13931         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13932         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13933         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13934         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13935         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13936         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13937         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
13938         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
13939         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
13940         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13941         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13942         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13943         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13944         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13945         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13946         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13947         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
13948         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13949         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
13950         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
13951         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13952         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
13953         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
13954         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13955         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13956         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
13957         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13958         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13959         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13960         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13961         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13962         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13963         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13964         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
13965         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13966         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13967         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
13968         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
13969         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13970         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
13971         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13972         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
13973         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
13974         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13975         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
13976         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
13977         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13978         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
13979         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
13980         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13981         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
13982         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13983         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
13984         * sysdeps/nptl/bits/libc-lock.h: Likewise.
13985         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
13986         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
13987         * sysdeps/posix/closedir.c: Likewise.
13988         * sysdeps/posix/opendir.c: Likewise.
13989         * sysdeps/posix/readdir.c: Likewise.
13990         * sysdeps/posix/rewinddir.c: Likewise.
13991         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
13992         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
13993         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
13994         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13995         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13996         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
13997         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
13998         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
13999         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
14000         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
14001         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
14002         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
14003         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
14004         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
14005         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
14006         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
14007         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
14008         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
14009         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
14010         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
14011         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
14012         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
14013         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
14014         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
14015         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
14016         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
14017         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
14018         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
14019         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
14020         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
14021         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
14022         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
14023         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
14024         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
14025         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
14026         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
14027         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14028         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14029         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
14030         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
14031         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
14032         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
14033         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
14034         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
14035         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
14036         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
14037         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
14038         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
14039         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
14040         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
14041         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
14042         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
14043         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
14044         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
14045         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
14046         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
14047         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
14048         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
14049         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
14050         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
14051         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
14052         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
14053         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
14054         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
14055         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
14056         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
14057         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
14058         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
14059         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
14060         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
14061         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
14062         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
14063         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
14064         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
14065         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
14066         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
14067         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
14068         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
14069         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
14070         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
14071         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
14072         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
14073         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
14074         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
14075         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
14076         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
14077         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
14078         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
14079         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
14080         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
14081         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
14082         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
14083         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
14084         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
14085         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
14086         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
14087         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
14088         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
14089         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
14090         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
14091         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14092         * sysdeps/unix/alpha/sysdep.S: Likewise.
14093         * sysdeps/unix/alpha/sysdep.h: Likewise.
14094         * sysdeps/unix/make-syscalls.sh: Likewise.
14095         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
14096         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
14097         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
14098         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
14099         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
14100         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
14101         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
14102         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
14103         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
14104         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
14105         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
14106         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
14107         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14108         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
14109         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
14110         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
14111         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
14112         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
14113         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
14114         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
14115         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
14116         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
14117         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
14118         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
14119         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
14120         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
14121         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
14122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
14123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
14124         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
14125         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
14126         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
14127         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
14128         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14129         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
14130         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
14131         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
14132         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14133         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
14134         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
14135         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
14136         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
14137         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14138         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
14139         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
14140         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
14141         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14142         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14143         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
14144         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14145         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
14146         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
14147         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
14148         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
14149         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
14150         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
14151         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
14152         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14153         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
14154         * sysdeps/x86_64/memcpy.S: Likewise.
14155         * sysdeps/x86_64/memmove.c: Likewise.
14156         * sysdeps/x86_64/memset.S: Likewise.
14157         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
14158         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14159         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
14160         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
14161         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
14162         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14163         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14164         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
14165         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14166         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14167         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14168         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14169         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
14170         * sysdeps/x86_64/multiarch/memset.S: Likewise.
14171         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14172         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
14173         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
14174         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
14175         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
14176         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
14177         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
14178         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14179         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14180         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
14181         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
14182         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
14183         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14184         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
14185         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
14186         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
14187         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
14188         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
14189         * sysdeps/x86_64/strcmp.S: Likewise.
14191         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
14193         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
14194         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
14195         * elf/rtld-Rules: Likewise.
14196         * elf/setup-vdso.h: Likewise.
14197         * include/assert.h: Likewise.
14198         * include/bits/stdlib-float.h: Likewise.
14199         * include/errno.h: Likewise.
14200         * include/sys/stat.h: Likewise.
14201         * include/unistd.h: Likewise.
14202         * sysdeps/aarch64/setjmp.S: Likewise.
14203         * sysdeps/alpha/setjmp.S: Likewise.
14204         * sysdeps/arm/__longjmp.S: Likewise.
14205         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
14206         * sysdeps/arm/setjmp.S: Likewise.
14207         * sysdeps/arm/sysdep.h: Likewise.
14208         * sysdeps/generic/_itoa.h: Likewise.
14209         * sysdeps/generic/dl-sysdep.h: Likewise.
14210         * sysdeps/generic/ldsodefs.h: Likewise.
14211         * sysdeps/i386/dl-tls.h: Likewise.
14212         * sysdeps/i386/setjmp.S: Likewise.
14213         * sysdeps/m68k/setjmp.c: Likewise.
14214         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
14215         * sysdeps/mach/hurd/opendir.c: Likewise.
14216         * sysdeps/posix/getcwd.c: Likewise.
14217         * sysdeps/posix/opendir.c: Likewise.
14218         * sysdeps/posix/profil.c: Likewise.
14219         * sysdeps/powerpc/dl-procinfo.h: Likewise.
14220         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14221         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
14222         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
14223         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14224         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
14225         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
14226         * sysdeps/s390/dl-tls.h: Likewise.
14227         * sysdeps/s390/s390-32/setjmp.S: Likewise.
14228         * sysdeps/s390/s390-64/setjmp.S: Likewise.
14229         * sysdeps/sh/sh3/setjmp.S: Likewise.
14230         * sysdeps/sh/sh4/setjmp.S: Likewise.
14231         * sysdeps/unix/alpha/sysdep.h: Likewise.
14232         * sysdeps/unix/arm/sysdep.S: Likewise.
14233         * sysdeps/unix/i386/sysdep.S: Likewise.
14234         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
14235         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
14236         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
14237         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
14238         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14239         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
14240         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
14241         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
14242         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
14243         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
14244         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
14245         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
14246         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
14247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
14248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14249         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
14250         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14251         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14252         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
14253         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14254         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
14255         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14256         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14257         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
14258         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
14259         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
14260         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14261         * sysdeps/unix/x86_64/sysdep.S: Likewise.
14262         * sysdeps/x86_64/setjmp.S: Likewise.
14264         * include/math.h: Use IS_IN instead of IS_IN_libm.
14265         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
14266         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
14267         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
14268         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
14269         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
14270         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
14271         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
14272         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
14273         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14274         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
14275         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
14276         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
14277         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
14278         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
14279         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
14280         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
14281         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
14282         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
14283         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
14284         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
14285         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
14286         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
14287         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
14288         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
14289         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
14290         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
14291         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
14292         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
14293         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
14294         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
14295         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
14296         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
14297         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
14298         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
14299         Likewise.
14300         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
14301         Likewise.
14302         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
14303         Likewise.
14304         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
14305         Likewise.
14306         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
14307         Likewise.
14308         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
14309         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
14310         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
14311         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14312         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14313         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14314         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
14315         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
14316         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
14317         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
14318         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
14319         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
14320         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
14321         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
14322         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
14323         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
14324         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
14325         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
14326         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
14327         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
14328         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
14329         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
14330         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
14331         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
14332         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
14333         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
14334         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
14336         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
14337         * nptl/pthreadP.h: Likewise.
14338         * nptl_db/structs.def: Likewise.
14339         * sysdeps/arm/sysdep.h: Likewise.
14340         * sysdeps/nptl/bits/libc-lock.h: Likewise.
14341         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
14342         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
14343         * sysdeps/unix/alpha/sysdep.h: Likewise.
14344         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
14345         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
14346         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
14347         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
14348         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
14349         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
14350         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14351         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
14352         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
14353         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
14354         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
14355         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
14356         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
14357         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
14358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
14359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
14360         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
14361         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
14362         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
14363         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
14364         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
14365         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
14366         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
14367         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
14368         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
14369         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
14371         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
14372         * nptl/pthreadP.h: Likewise.
14373         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
14374         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
14375         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
14376         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
14377         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
14378         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
14379         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
14380         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
14381         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
14382         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
14383         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
14384         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
14385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
14386         Likewise.
14387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
14388         Likewise.
14389         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
14390         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
14391         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
14392         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
14393         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
14394         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
14395         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
14396         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
14398         * dlfcn/dladdr.c: Use IS_IN.
14399         * dlfcn/dladdr1.c: Likewise.
14400         * dlfcn/dlclose.c: Likewise.
14401         * dlfcn/dlerror.c: Likewise.
14402         * dlfcn/dlinfo.c: Likewise.
14403         * dlfcn/dlmopen.c: Likewise.
14404         * dlfcn/dlopen.c: Likewise.
14405         * dlfcn/dlsym.c: Likewise.
14406         * dlfcn/dlvsym.c: Likewise.
14408         * include/ifaddrs.h: Use IS_IN.
14409         * inet/check_pf.c: Likewise.
14410         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14411         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
14413         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
14414         IS_IN_ldconfig.
14415         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
14416         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
14418         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
14419         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
14420         IS_IN (libc).
14422         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
14424         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
14425         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
14426         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
14427         * include/libc-symbols.h (IS_IN_LIB): New macro.
14428         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
14429         * include/netdb.h: Likewise.
14430         * include/stap-probe.h: Remove all uses of IN_LIB.
14432         * Makeconfig (module-cppflags-real): Define MODULE_NAME
14433         instead of IN_MODULE.
14434         * include/libc-symbols.h (IN_MODULE): Define using
14435         MODULE_NAME.
14436         (PASTE_NAME, PASTE_NAME1): New macros.
14437         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
14438         of IN_LIB.
14439         (STAP_PROBE_ASM): Likewise.
14441 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14443         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
14444         __mach_init in dlopened libc.
14446 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
14448         * sysdeps/arm/preconfigure.ac: Delete EABI check.
14449         * sysdeps/arm/preconfigure: Regenerate.
14451 2014-11-21  Roland McGrath  <roland@hack.frob.com>
14453         * nptl/pthread_create.c (__pthread_create_2_1): Set
14454         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
14455         when copying values from IATTR into PD.
14457 2014-11-21  Will Newton  <will.newton@linaro.org>
14458             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
14460         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
14461         Refactor inline-asm.  Also add comment.
14463         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
14464         ElfW macro instead of hardcoded Elf64 types.
14465         (la_aarch64_gnu_pltenter): Likewise.
14466         * sysdeps/aarch64/dl-machine.h
14467         (elf_machine_runtime_setup): Use ElfW(Addr).
14469         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
14470         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
14471         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
14472         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
14473         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
14474         (R_AARCH64_TLS_DTPMOD64): Rename to ..
14475         (R_AARCH64_TLS_DTPMOD): This.
14476         (R_AARCH64_TLS_DTPREL64): Rename to ...
14477         (R_AARCH64_TLS_DTPREL): This.
14478         (R_AARCH64_TLS_TPREL64): Rename to ...
14479         (R_AARCH64_TLS_TPREL): This.
14480         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
14481         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
14482         R_AARCH64_TLS_TPREL64.
14483         (elf_machine_rela): Likewise.
14485 2014-11-21  Torvald Riegel  <triegel@redhat.com>
14487         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
14488         by setting it to 0.  64b atomics are not supported currently.
14490 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
14492         [BZ #16469]
14493         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
14494         search domain names.
14496 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
14498         [BZ #16469]
14499         * NEWS: Update.
14500         * resolv/res_query.c (__libc_res_nquerydomain): Retain
14501         trailing dot.
14502         * posix/tst-getaddrinfo5.c: New.
14503         * posix/Makefile (tests): Add it.
14505 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
14507         [BZ #14498]
14508         * NEWS: Fixed.
14509         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
14510         after parsing line but before break_if_match.
14511         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
14512         if there is a protocol mismatch.
14514 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
14516         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
14517         because the potential race is on the user-supplied stream.
14519 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
14521         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
14522         string literal if not passed a buffer.
14523         * manual/job.texi (ctermid): Update reasoning, note deviation
14524         from posix, suggest mtasurace when not passed a buffer, for
14525         future non-preliminary safety notes.
14527 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
14529         * manual/users.texi (cuserid): Fix MT-Safety note for the case
14530         of not passing it a buffer.
14531         Reported by Peng Haitao.
14533 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
14535         * manual/Makefile ($(objpfx)stamp-summary): Require
14536         check-safety.sh to pass.
14537         * manual/check-safety.sh: Wish for verification that every
14538         @deftypefn and @deftypefun is followed by a @safety remark.
14540 2014-11-20  Roland McGrath  <roland@hack.frob.com>
14542         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
14544         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
14545         PTHREAD_CANCEL_ASYNCHRONOUS.
14546         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
14547         send SIGCANCEL.
14549         * nptl/default-sched.h: New file.
14550         * sysdeps/unix/sysv/linux/default-sched.h: New file.
14551         * nptl/pthread_create.c: Include it.
14552         (__pthread_create_2_1): Use collect_default_sched instead of making
14553         Linux syscalls here directly.
14555 2014-11-20  Torvald Riegel  <triegel@redhat.com>
14557         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
14558         __pthread_once): Use C11 atomics.
14560 2014-11-20  Torvald Riegel  <triegel@redhat.com>
14562         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
14564 2014-11-20  Torvald Riegel  <triegel@redhat.com>
14566         * include/atomic.h (__atomic_link_error, __atomic_check_size,
14567         atomic_thread_fence_acquire, atomic_thread_fence_release,
14568         atomic_thread_fence_seq_cst, atomic_load_relaxed,
14569         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
14570         atomic_compare_exchange_weak_relaxed,
14571         atomic_compare_exchange_weak_acquire,
14572         atomic_compare_exchange_weak_release,
14573         atomic_exchange_acquire, atomic_exchange_release,
14574         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
14575         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
14576         atomic_fetch_and_acquire,
14577         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
14579 2014-11-20  Torvald Riegel  <triegel@redhat.com>
14581         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
14582         USE_ATOMIC_COMPILER_BUILTINS): Define.
14583         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
14584         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14585         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
14586         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14587         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
14588         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14589         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
14590         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14591         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
14592         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14593         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
14594         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14595         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
14596         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14597         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
14598         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14599         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
14600         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14601         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
14602         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14603         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
14604         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14605         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
14606         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14607         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
14608         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14609         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
14610         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14611         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
14612         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14613         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
14614         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14615         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
14616         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14617         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
14618         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14619         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
14620         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14621         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
14622         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14624 2014-11-19  Roland McGrath  <roland@hack.frob.com>
14626         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
14627         the sched_priority value here.  It was already checked when the user
14628         called pthread_attr_setschedparam.
14630         * nptl/tst-bad-schedattr.c: New file.
14631         * nptl/Makefile (tests): Add it.
14633 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
14634             Florian Weimer  <fweimer@redhat.com>
14635             Joseph Myers  <joseph@codesourcery.com>
14636             Adam Conrad  <adconrad@0c3.net>
14637             Andreas Schwab  <schwab@suse.de>
14638             Brooks  <bmoses@google.com>
14640         [BZ #17625]
14641         * wordexp-test.c (__dso_handle): Add prototype.
14642         (__register_atfork): Likewise.
14643         (__app_register_atfork): New function.
14644         (registered_forks): New global.
14645         (register_fork): New function.
14646         (test_case): Add 3 new tests for WRDE_CMDSUB.
14647         (main): Call __app_register_atfork.
14648         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
14649         fork count is non-zero fail the test.
14650         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
14651         is set.
14652         (parse_dollars): Remove check for WRDE_NOCMD.
14653         (parse_dquote): Likewise.
14655 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14657         * Makeconfig (built-modules): List non-library modules to be
14658         built.
14659         (module-cppflags): Include libc-modules.h for
14660         everything except shlib-versions.v.i.
14661         (CPPFLAGS): Use it.
14662         (before-compile): Add libc-modules.h.
14663         ($(common-objpfx)libc-modules.h,
14664         $(common-objpfx)libc-modules.stmp): New targets.
14665         (common-generated): Add libc-modules.h and libc-modules.stmp.
14666         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
14667         * include/libc-symbols.h: Don't include libc-modules.h.
14668         * include/libc-modules.h: Remove file.
14669         * scripts/gen-libc-modules.awk: New script to generate
14670         libc-modules.h.
14671         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
14672         Depend on libc-modules.stmp.
14674         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
14676         * Makeconfig (in-module): Get value of libof set for the
14677         translation unit.
14678         (CPPFLAGS): Use $(in-module).
14679         * Makerules: Don't suffix routine names for nonlib.
14680         * include/libc-modules.h: New file.
14681         * include/libc-symbols.h: Include libc-modules.h
14682         (IS_IN): New macro to replace IS_IN_* macros.
14683         * elf/Makefile: Set libof-* for each routine.
14684         * elf/rtld-Rules: Likewise.
14685         * extra-modules.mk: Likewise.
14686         * iconv/Makefile: Likewise.
14687         * iconvdata/Makefile: Likewise.
14688         * locale/Makefile: Likewise.
14689         * malloc/Makefile: Likewise.
14690         * nss/Makefile: Likewise.
14691         * sysdeps/gnu/Makefile: Likewise.
14692         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
14693         * sysdeps/unix/sysv/linux/Makefile: Likewise.
14694         * sysdeps/s390/s390-64/Makefile: Likewise.
14695         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
14696         CPPFLAGS for nscd instead of nonlib.
14698 2014-11-18  Roland McGrath  <roland@hack.frob.com>
14700         * nptl/createthread.c: New file.
14702         * nptl/createthread.c: Moved ...
14703         * sysdeps/unix/sysv/linux/createthread.c: ... here.
14705         * nptl/createthread.c: Add proper top-line comment.
14706         (do_clone): Folded into ...
14707         (create_thread): ... here.  Take new arguments STOPPED_START and
14708         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
14709         increment __nptl_threads, do event-reporting logic, do
14710         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
14711         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
14712         resource cleanup if sched_setaffinity or sched_setscheduler fails,
14713         just send SIGCANCEL.
14714         * nptl/pthread_create.c: Forward-declare create_thread before
14715         including createthread.c.
14716         (start_thread): Use new macro START_THREAD_DEFN to replace defining
14717         declaration, and new macro START_THREAD_SELF to replace argument.
14718         Remove return statement.
14719         (report_thread_creation): New function.
14720         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
14721         synchronization logic, and __nptl_nthreads increment here, around
14722         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
14723         PD->parent_cancelhandling here, before create_thread.  When
14724         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
14725         __deallocate_stack, and ENOMEM translation here.
14727 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
14729         [BZ #17616]
14730         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
14731         (mptwo): Rename to __mptwo.
14732         (__inv): Use __mptwo instead of mptwo.
14733         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
14734         (mptwo): Rename to __mptwo.
14735         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
14736         of mpone and __mptwo instead of mptwo.
14737         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
14738         instead of mpone.
14739         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14740         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
14741         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
14742         of mpone and __mptwo instead of mptwo.
14743         (__mpranred): Use __mpone instead of mpone.
14744         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
14745         variable.
14746         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
14747         (test-xfail-ISO99/math.h/linknamespace): Likewise.
14748         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
14749         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
14750         (test-xfail-ISO11/math.h/linknamespace): Likewise.
14751         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
14752         (test-xfail-XPG3/math.h/linknamespace): Likewise.
14753         (test-xfail-XPG4/math.h/linknamespace): Likewise.
14754         (test-xfail-POSIX/math.h/linknamespace): Likewise.
14755         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
14756         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
14757         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
14758         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
14759         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
14760         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
14761         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
14762         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
14763         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
14764         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
14766 2014-11-18  Tom de Vries  <tom@codesoucery.com>
14768         * manual/signal.texi (Primitives Interrupted by Signals): In section,
14769         replace BSD Handler xref with BSD Signal Handling.
14771 2014-11-17  Richard Henderson  <rth@redhat.com>
14773         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
14774         (_FP_PACK_RAW_2): Remove.
14775         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
14776         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
14777         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
14778         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
14779         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
14780         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
14781         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
14782         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
14783         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
14784         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
14785         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
14786         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
14787         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
14788         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
14789         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
14790         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
14792 2014-11-14  Roland McGrath  <roland@hack.frob.com>
14794         * signal/signal.h [__USE_MISC]
14795         (struct sigvec): Remove type.
14796         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
14797         (sigvec): Remove declaration.
14798         * sysdeps/posix/sigvec.c: Moved ...
14799         * signal/sigvec.c: ... here, replacing old file.
14800         (struct sigvec): New type, copied from old signal.h definition.
14801         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
14802         (__sigvec): Convert definition to prototype.
14803         (sigvec): Replace weak_alias with compat_symbol.
14804         * signal/Versions (libc: GLIBC_2.21): New version set.
14805         * include/signal.h: Remove __sigvec declaration.
14806         * sysdeps/unix/bsd/sigvec.c: Remove file.
14807         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
14808         * manual/signal.texi (BSD Handler): Remove subsection.
14809         Move siginterrupt up to ...
14810         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
14811         (Blocking in BSD): Fold subsection into its parent.
14812         * NEWS: Mention sigvec removal.
14814 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
14816         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
14817         (DLA_FMS): Make definition conditional only on [__FMA4__].
14818         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
14819         definition.
14821         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
14822         Make definition conditional only on [PROF].
14823         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
14824         definition.
14825         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
14826         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
14828         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
14829         !__GNUC__].
14830         * include/signal.h (__sigpause): Move declaration above call to
14831         libc_hidden_proto.
14832         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
14833         variable.
14834         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
14835         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
14837 2014-11-14  David S. Miller  <davem@davemloft.net>
14839         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
14840         Define before including <string/memcpy.c> and <string/mempcpy.c>.
14842 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
14844         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
14845         * configure: Regenerated.
14846         * manual/install.texi (Tools for Compilation): Document a
14847         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
14848         compiler verified to work.
14849         * INSTALL: Regenerated.
14851         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
14852         redeclare with asm name.
14853         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
14854         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
14855         including <string.h>.
14856         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
14857         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
14858         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
14859         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
14860         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
14861         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
14862         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
14864 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
14866         * stdlib/strtol.c (__strtol): Use prototype definition.
14868         [BZ #17594]
14869         * stdlib/strtol.c (SYM__): New macro.
14870         (SYM__1): Likewise.
14871         (__strtol): Likewise.
14872         (strtol): Rename to __strtol and define as weak alias of
14873         __strtol.  Use libc_hidden_weak.
14875 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
14877         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
14878         Use numbered labels in inline assembly.
14880 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
14882         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
14883         Add setjmp LIBC_PROBE.
14884         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
14885         Likewise.
14886         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
14887         Add longjmp, longjmp_target LIBC_PROBE.
14888         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
14889         Likewise.
14891 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
14893         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14894         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
14895         to get rid of unused variable warning.
14897 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
14899         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
14900         Check for unwind_backtrace ==  NULL only in SHARED case.
14901         (__backchain_backtrace): Compile only in SHARED case.
14902         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
14903         Likewise.
14904         (__backchain_backtrace): Declare as static.
14906 2014-11-12  Roland McGrath  <roland@hack.frob.com>
14908         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
14909         (__libc_multiple_threads_ptr): Variable moved ...
14910         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
14912 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
14914         * conform/GlibcConform.pm: New file.
14915         * conform/conformtest.pl: Use GlibcConform module.
14916         * conform/linknamespace.pl: New file.
14917         * conform/list-header-symbols.pl: Likewise.
14918         * conform/Makefile (linknamespace-symlists-base): New variable.
14919         (linknamespace-symlists-tests): Likewise.
14920         (linknamespace-header-base): Likewise.
14921         (linknamespace-header-tests): Likewise.
14922         (tests-special): Add new tests.
14923         ($(linknamespace-symlists-tests)): New rule.
14924         (linknamespace-libs): New variable.
14925         ($(objpfx)symlist-stdlibs): New rule.
14926         ($(linknamespace-header-tests)): Likewise.
14927         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
14928         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
14929         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
14930         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
14931         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
14932         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
14933         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
14934         (test-xfail-ISO/math.h/linknamespace): Likewise.
14935         (test-xfail-ISO/signal.h/linknamespace): Likewise.
14936         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
14937         (test-xfail-ISO/time.h/linknamespace): Likewise.
14938         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
14939         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
14940         (test-xfail-ISO99/math.h/linknamespace): Likewise.
14941         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
14942         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
14943         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
14944         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
14945         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
14946         (test-xfail-ISO11/math.h/linknamespace): Likewise.
14947         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
14948         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
14949         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
14950         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
14951         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
14952         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
14953         (test-xfail-XPG3/math.h/linknamespace): Likewise.
14954         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
14955         (test-xfail-XPG3/search.h/linknamespace): Likewise.
14956         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
14957         (test-xfail-XPG3/time.h/linknamespace): Likewise.
14958         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
14959         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
14960         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
14961         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
14962         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
14963         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
14964         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
14965         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
14966         (test-xfail-XPG4/math.h/linknamespace): Likewise.
14967         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
14968         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
14969         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
14970         (test-xfail-XPG4/search.h/linknamespace): Likewise.
14971         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
14972         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
14973         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
14974         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
14975         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
14976         (test-xfail-XPG4/time.h/linknamespace): Likewise.
14977         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
14978         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
14979         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
14980         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
14981         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
14982         (test-xfail-POSIX/math.h/linknamespace): Likewise.
14983         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
14984         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
14985         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
14986         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
14987         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
14988         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
14989         (test-xfail-POSIX/time.h/linknamespace): Likewise.
14990         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
14991         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
14992         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
14993         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
14994         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
14995         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
14996         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
14997         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
14998         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
14999         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
15000         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
15001         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
15002         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
15003         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
15004         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
15005         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
15006         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
15007         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
15008         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
15009         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
15010         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
15011         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
15012         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
15013         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
15014         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
15015         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
15016         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
15017         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
15018         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
15019         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
15020         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
15021         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
15022         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
15023         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
15024         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
15025         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
15026         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
15027         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
15028         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
15029         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
15030         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
15031         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
15032         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
15033         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
15034         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
15035         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
15036         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
15037         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
15038         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
15039         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
15040         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
15041         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
15042         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
15043         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
15044         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
15045         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
15046         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
15047         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
15048         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
15049         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
15050         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
15051         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
15052         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
15053         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
15054         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
15055         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
15056         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
15057         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
15058         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
15059         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
15060         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
15061         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
15062         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
15063         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
15064         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
15065         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
15066         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
15067         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
15068         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
15069         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
15070         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
15071         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
15072         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
15073         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
15074         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
15075         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
15076         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
15077         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
15078         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
15079         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
15080         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
15081         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
15082         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
15083         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
15084         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
15085         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
15086         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
15087         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
15089         [BZ #17589]
15090         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
15091         of fgets_unlocked.
15093         [BZ #17585]
15094         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
15095         (memmem): Rename to __memmem and define as weak alias of
15096         __memmem.  Use libc_hidden_weak.
15097         (__memmem): Use libc_hidden_def.
15098         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
15099         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
15100         memmem.
15102         [BZ #17582]
15103         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
15104         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
15105         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
15106         and define as weak alias of __fgets_unlocked.  Use
15107         libc_hidden_weak.
15108         (__fgets_unlocked): Use libc_hidden_def.
15109         * include/stdio.h (__fgets_unlocked): Declare.  Use
15110         libc_hidden_proto.
15111         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
15112         __fgets_unlocked instead of fgets_unlocked.
15113         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
15114         (GET_NPROCS_CONF_PARSER): Likewise.
15115         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
15116         (GET_NPROCS_CONF_PARSER): Likewise.
15118         [BZ #17574]
15119         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
15120         weak alias of __wmemset.  Use libc_hidden_weak.
15121         (__wmemset): Use libc_hidden_def.
15122         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
15123         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
15124         of wmemset.
15126         [BZ #17573]
15127         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
15128         with asm name __mempcpy.
15129         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
15131         [BZ #17572]
15132         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
15133         and define as weak alias of __rawmemchr.
15134         (__rawmemchr): Do not define as strong alias of rawmemchr.
15136         [BZ #17571]
15137         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
15138         alias of __qsort_r.
15139         (qsort): Call __qsort_r instead of qsort_r.
15140         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
15141         (__qsort_r): Declare.  Call libc_hidden_proto.
15142         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
15143         instead of qsort_r.
15144         * nscd/gai.c (__qsort_r): Define to qsort_r.
15145         * posix/tst-rfc3484.c (__qsort_r): Likewise.
15146         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
15147         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
15149         [BZ #17570]
15150         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
15151         define as weak alias of __malloc_info.
15153         [BZ #17584]
15154         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
15155         as weak alias of __rewinddir.  Don't use libc_hidden_def.
15156         (__rewinddir): Use libc_hidden_def.
15157         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
15158         as weak alias of __rewinddir.  Don't use libc_hidden_def.
15159         (__rewinddir): Use libc_hidden_def.
15160         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
15161         weak alias of __rewinddir.  Don't use libc_hidden_def.
15162         (__rewinddir): Use libc_hidden_def.
15163         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
15164         (__rewinddir): Use libc_hidden_proto.
15165         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
15166         rewinddir.
15167         (__getcwd): Use __rewinddir instead of rewinddir.
15169         [BZ #17583]
15170         * libio/fileno.c (fileno): Rename to __fileno and define as weak
15171         alias of __fileno.  Use libc_hidden_weak.
15172         (__fileno): Use libc_hidden_def.
15173         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
15174         * libio/ftello.c (ftello): Rename to __ftello and define as weak
15175         alias of __ftello.
15176         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
15177         __ftello.
15178         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
15179         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
15180         libc_hidden_def.
15181         (fread_unlocked): Don't use libc_hidden_ver.
15182         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
15183         and define as weak alias of __fread_unlocked.  Don't use
15184         libc_hidden_def.
15185         (__fread_unlocked): Use libc_hidden_def.
15186         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
15187         (ftello): Don't use libc_hidden_proto.
15188         (__ftello): Declare.  Use libc_hidden_proto.
15189         (fread_unlocked): Don't use libc_hidden_proto.
15190         (__fread_unlocked): Declare.  Use libc_hidden_proto.
15191         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
15192         and __ftello instead of fileno, fread_unlocked and ftello.
15194 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
15196         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
15197         GOT12.
15198         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
15199         Likewise.
15200         (_dl_start_user): Likewise.
15201         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
15203 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
15204             Siddhesh Poyarekar  <siddhesh@redhat.com>
15206         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
15207         Move argv and envp down instead of moving argc up.
15208         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
15210 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
15212         [BZ #17506]
15213         * test-skeleton.c (main): Return successful if one of
15214         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
15215         * string/tst-strcoll-overflow.c: Define expected status.
15217 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
15219         [BZ #17475]
15220         * locale/iso-639.def: Define Bhili and Tulu language codes.
15222 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
15224         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
15226 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
15228         [BZ #17555]
15229         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
15231 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
15233         * configure.ac: Updated check of minimal required version to
15234         2.22.
15235         * manual/install.texi (Tools for Compilation): Updated version
15236         number.
15237         * configure: Regenerated.
15238         * INSTALL: Likewise.
15240 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
15242         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
15243         __tls_get_addr.
15245 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
15247         * include/sys/wait.h (__libc_waitpid): Remove declaration.
15248         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
15249         (__waitpid): Don't define as alias.  Use libc_hidden_def not
15250         libc_hidden_weak.
15251         (waitpid): Define as alias of __waitpid.
15252         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
15253         __waitpid.
15254         (__waitpid): Don't define as alias.  Use libc_hidden_def not
15255         libc_hidden_weak.
15256         (waitpid): Define as alias of __waitpid.
15257         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
15258         __libc_waitpid alias.
15259         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
15260         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
15261         Likewise.
15262         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
15263         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
15264         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
15265         alias.
15266         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
15267         __waitpid.
15268         (__waitpid): Don't define as alias.  Use libc_hidden_def not
15269         libc_hidden_weak.
15270         (waitpid): Define as alias of __waitpid.
15272 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
15274         * manual/llio.texi: Add comment that write safety has been
15275         fixed in Linux.
15277         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
15278         (localplt-build-dso): Add elf/ld.so.
15279         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
15280         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
15281         and free for ld.so.
15282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
15283         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
15284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
15285         Likewise.
15286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
15287         Likewise.
15288         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
15289         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
15290         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
15291         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
15292         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
15293         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
15294         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
15295         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
15296         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
15297         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
15298         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
15300 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
15302         [BZ #14132]
15303         * include/libc-symbols.h (INTUSE): Remove macro.
15304         (INTDEF): Likewise.
15305         (INTVARDEF): Likewise.
15306         (_INTVARDEF): Likewise.
15307         (INTDEF2): Likewise.
15308         (INTVARDEF2): Likewise.
15309         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
15310         rtld_hidden_def instead of INTVARDEF.
15311         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
15312         (_dl_starting_up_internal): Remove declaration.
15313         (_dl_starting_up): Use rtld_hidden_proto.
15314         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
15315         declaration.
15316         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
15317         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
15318         _dl_starting_up.
15319         * elf/dl-writev.h (_dl_writev): Likewise.
15320         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
15321         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
15322         _dl_starting_up_internal.
15324 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15326         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
15327         test-skeleton.c.
15329 2014-11-05  Will Newton  <will.newton@linaro.org>
15331         * benchtests/Makefile: (bench-malloc): Add malloc thread
15332         scalability benchmark.
15333         * benchtests/bench-malloc-threads.c: New file.
15335 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
15337         * sysdeps/aarch64/strchrnul.S: New file.
15339 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15341         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
15342         definition.
15343         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
15344         Likwise.
15345         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
15346         Likewise.
15347         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
15348         Likewise.
15349         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
15350         Likewise.
15351         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
15352         Likewise.
15354 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
15356         * catgets/test-gencat.c: Use test-skeleton.c.
15357         * catgets/tst-catgets.c: Likewise.
15358         * csu/tst-empty.c: Likewise.
15359         * elf/tst-audit2.c: Likewise.
15360         * elf/tst-global1.c: Likewise.
15361         * elf/tst-pathopt.c: Likewise.
15362         * elf/tst-piemod1.c: Likewise.
15363         * elf/tst-tls10.c: Likewise.
15364         * elf/tst-tls11.c: Likewise.
15365         * elf/tst-tls12.c: Likewise.
15366         * gnulib/tst-gcc.c: Likewise.
15367         * iconvdata/tst-e2big.c: Likewise.
15368         * iconvdata/tst-loading.c: Likewise.
15369         * iconv/tst-iconv1.c: Likewise.
15370         * iconv/tst-iconv2.c: Likewise.
15371         * inet/test-inet6_opt.c: Likewise.
15372         * inet/tst-gethnm.c: Likewise.
15373         * inet/tst-network.c: Likewise.
15374         * inet/tst-ntoa.c: Likewise.
15375         * intl/tst-codeset.c: Likewise.
15376         * intl/tst-gettext2.c: Likewise.
15377         * intl/tst-gettext3.c: Likewise.
15378         * intl/tst-ngettext.c: Likewise.
15379         * intl/tst-translit.c: Likewise.
15380         * io/test-stat.c: Likewise.
15381         * libio/test-fmemopen.c: Likewise.
15382         * libio/tst-freopen.c: Likewise.
15383         * libio/tst-sscanf.c: Likewise.
15384         * libio/tst-ungetwc1.c: Likewise.
15385         * libio/tst-ungetwc2.c: Likewise.
15386         * libio/tst-widetext.c: Likewise.
15387         * localedata/tst-ctype.c: Likewise.
15388         * localedata/tst-digits.c: Likewise.
15389         * localedata/tst-leaks.c: Likewise.
15390         * localedata/tst-mbswcs1.c: Likewise.
15391         * localedata/tst-mbswcs2.c: Likewise.
15392         * localedata/tst-mbswcs3.c: Likewise.
15393         * localedata/tst-mbswcs4.c: Likewise.
15394         * localedata/tst-mbswcs5.c: Likewise.
15395         * localedata/tst-setlocale.c: Likewise.
15396         * localedata/tst-trans.c: Likewise.
15397         * localedata/tst-wctype.c: Likewise.
15398         * localedata/tst-xlocale1.c: Likewise.
15399         * login/tst-grantpt.c: Likewise.
15400         * malloc/tst-calloc.c: Likewise.
15401         * malloc/tst-malloc.c: Likewise.
15402         * malloc/tst-mallocstate.c: Likewise.
15403         * malloc/tst-mcheck.c: Likewise.
15404         * malloc/tst-mtrace.c: Likewise.
15405         * malloc/tst-obstack.c: Likewise.
15406         * math/atest-exp2.c: Likewise.
15407         * math/atest-exp.c: Likewise.
15408         * math/atest-sincos.c: Likewise.
15409         * math/test-matherr.c: Likewise.
15410         * math/test-misc.c: Likewise.
15411         * math/test-powl.c: Likewise.
15412         * math/tst-definitions.c: Likewise.
15413         * misc/tst-dirname.c: Likewise.
15414         * misc/tst-efgcvt.c: Likewise.
15415         * misc/tst-fdset.c: Likewise.
15416         * misc/tst-hsearch.c: Likewise.
15417         * misc/tst-mntent2.c: Likewise.
15418         * nptl/tst-sem7.c: Likewise.
15419         * nptl/tst-sem8.c: Likewise.
15420         * nptl/tst-sem9.c: Likewise.
15421         * nss/test-netdb.c: Likewise.
15422         * posix/tst-fnmatch.c: Likewise.
15423         * posix/tst-getlogin.c: Likewise.
15424         * posix/tst-gnuglob.c: Likewise.
15425         * posix/tst-mmap.c: Likewise.
15426         * pwd/tst-getpw.c: Likewise.
15427         * resolv/tst-inet_ntop.c: Likewise.
15428         * rt/tst-timer.c: Likewise.
15429         * stdio-common/test-fseek.c: Likewise.
15430         * stdio-common/test-popen.c: Likewise.
15431         * stdio-common/test-vfprintf.c: Likewise.
15432         * stdio-common/tst-cookie.c: Likewise.
15433         * stdio-common/tst-fileno.c: Likewise.
15434         * stdio-common/tst-gets.c: Likewise.
15435         * stdio-common/tst-obprintf.c: Likewise.
15436         * stdio-common/tst-perror.c: Likewise.
15437         * stdio-common/tst-sprintf2.c: Likewise.
15438         * stdio-common/tst-sprintf3.c: Likewise.
15439         * stdio-common/tst-sprintf.c: Likewise.
15440         * stdio-common/tst-swprintf.c: Likewise.
15441         * stdio-common/tst-tmpnam.c: Likewise.
15442         * stdio-common/tst-unbputc.c: Likewise.
15443         * stdio-common/tst-wc-printf.c: Likewise.
15444         * stdlib/tst-environ.c: Likewise.
15445         * stdlib/tst-fmtmsg.c: Likewise.
15446         * stdlib/tst-limits.c: Likewise.
15447         * stdlib/tst-rand48-2.c: Likewise.
15448         * stdlib/tst-rand48.c: Likewise.
15449         * stdlib/tst-random2.c: Likewise.
15450         * stdlib/tst-random.c: Likewise.
15451         * stdlib/tst-strtol.c: Likewise.
15452         * stdlib/tst-strtoll.c: Likewise.
15453         * stdlib/tst-tls-atexit.c: Likewise.
15454         * stdlib/tst-xpg-basename.c: Likewise.
15455         * string/test-ffs.c: Likewise.
15456         * string/tst-bswap.c: Likewise.
15457         * string/tst-inlcall.c: Likewise.
15458         * string/tst-strtok.c: Likewise.
15459         * string/tst-strxfrm.c: Likewise.
15460         * sysdeps/x86_64/tst-audit10.c: Likewise.
15461         * sysdeps/x86_64/tst-audit3.c: Likewise.
15462         * sysdeps/x86_64/tst-audit4.c: Likewise.
15463         * sysdeps/x86_64/tst-audit5.c: Likewise.
15464         * time/tst-ftime_l.c: Likewise.
15465         * time/tst-getdate.c: Likewise.
15466         * time/tst-mktime3.c: Likewise.
15467         * time/tst-mktime.c: Likewise.
15468         * time/tst-posixtz.c: Likewise.
15469         * time/tst-strptime2.c: Likewise.
15470         * time/tst-strptime3.c: Likewise.
15471         * wcsmbs/tst-btowc.c: Likewise.
15472         * wcsmbs/tst-mbrtowc.c: Likewise.
15473         * wcsmbs/tst-mbsrtowcs.c: Likewise.
15474         * wcsmbs/tst-wchar-h.c: Likewise.
15475         * wcsmbs/tst-wcpncpy.c: Likewise.
15476         * wcsmbs/tst-wcrtomb.c: Likewise.
15477         * wcsmbs/tst-wcsnlen.c: Likewise.
15478         * wcsmbs/tst-wcstof.c: Likewise.
15480 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
15482         [BZ #14132]
15483         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
15484         INTDEF.
15485         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
15486         declaration.
15487         (_dl_mcount): Use rtld_hidden_proto.
15488         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
15489         _dl_mcount.
15490         * elf/rtld.c (_rtld_global_ro): Likewise.
15492         [BZ #14132]
15493         * elf/dl-init.c (_dl_init): Don't use INTDEF.
15494         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
15495         of _dl_init_internal.
15496         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
15497         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
15498         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
15499         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
15500         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
15501         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
15502         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
15503         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
15504         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
15505         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
15506         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
15507         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
15508         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
15509         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
15510         * sysdeps/tile/dl-start.S (_start): Likewise.
15511         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
15512         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
15514         [BZ #14132]
15515         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
15516         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
15517         (rtld_progname): Make macro definition unconditional.
15518         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
15519         INTDEF.
15520         (dlmopen_doit): Do not use INTUSE with _dl_argv.
15521         (dl_main): Likewise.
15522         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
15523         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
15524         instead of _dl_argv_internal.
15525         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
15526         __GI__dl_argv instead of INTUSE(_dl_argv).
15527         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
15528         __GI__dl_argv instead of _dl_argv_internal.
15530         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
15531         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
15532         macro.
15533         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
15534         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
15535         New macro.
15536         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
15537         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
15538         macro.
15539         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
15540         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
15542 2014-11-04  Andreas Schwab  <schwab@suse.de>
15544         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
15546 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15548         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
15549         mtvsrd instruction in binary form.
15551 2014-11-03  Andreas Schwab  <schwab@suse.de>
15553         [BZ #17522]
15554         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
15555         for less than MB_LEN_MAX use a local buffer of that size.
15556         * libio/tst-fputws.c: New file.
15557         * libio/Makefile (tests): Add tst-fputws.
15559 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
15561         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
15562         the size of the fpu_fr.fpu_dregs[] array.
15564 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
15566         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
15567         (__nanosleep): Do not define as alias.
15568         (nanosleep): Define as alias of __nanosleep.
15569         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
15570         __libc_nanosleep name.
15572 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
15574         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
15575         install.texi in comment.
15577 2014-10-31  Torvald Riegel  <triegel@redhat.com>
15579         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
15580         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
15581         ... add here and use lwsync or sync ...
15582         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
15583         ... and add here using lwsync.
15585 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
15587         * elf/dl-machine-reject-phdr.h: New file.
15588         * elf/dl-load.c: #include that.
15589         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
15590         if that returned true.
15592 2014-10-31  Roland McGrath  <roland@hack.frob.com>
15594         [BZ #17496]
15595         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
15596         gen-as-const-headers chunk.  Add a big scare comment after the last
15597         safe place to touch before-compile.
15599 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
15601         * manual/install.texi (Tools for Compilation): Update autoconf
15602         version requirements.
15603         * INSTALL: Regenerated.
15605         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
15606         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
15607         (__libc_pselect): Likewise.
15609         [BZ #14138]
15610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
15611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
15612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
15613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
15615 2014-10-31  Torvald Riegel  <triegel@redhat.com>
15617         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
15618         correct barrier instruction.
15619         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
15620         Likewise.
15621         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
15622         Likewise.
15624 2014-10-30  Roland McGrath  <roland@hack.frob.com>
15626         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
15627         after defining inlines.  Instead, just use parens to defeat macro
15628         expansion of __isctype in its declaration.
15630 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
15632         * include/sys/uio.h (__libc_readv): Remove declaration.
15633         (__libc_writev): Likewise.
15634         * misc/readv.c (__libc_readv): Rename to __readv.
15635         (__readv): Do not define as alias.
15636         (readv): Define as alias of __readv.
15637         * misc/writev.c (__libc_writev): Rename to __writev.
15638         (__writev): Do not define as alias.
15639         (writev): Define as alias of __writev.
15640         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
15641         (__readv): Do not define as alias.
15642         (readv): Define unconditionally as alias of __readv.
15643         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
15644         (__writev): Do not define as alias.
15645         (writev): Define unconditionally as alias of __writev.
15646         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
15647         name.
15648         (writev): Do not define __libc_writev name.
15650 2014-10-30  Roland McGrath  <roland@hack.frob.com>
15652         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
15653         (convert_charseq): New function, broken out of ...
15654         (use_from_charmap): ... here.  Call it.
15655         (use_to_charmap): Use convert_charseq and free instead of duplicating
15656         its code with a variable-length stack struct.
15658 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
15660         * include/fcntl.h (__libc_creat): Remove declaration.
15661         * io/creat.c (__libc_creat): Rename to creat.
15662         (creat): Do not define as alias.
15663         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
15664         of creat instead of __libc_creat.
15665         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
15666         to creat.
15667         (creat): Do not define as alias.
15668         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
15669         __libc_creat.
15670         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
15671         __libc_creat name.
15672         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
15673         Likewise.
15675 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
15677         * manual/llio.texi: Add comments discussing why write() may be
15678         considered MT-unsafe on Linux.
15680 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
15682         * dl-load.c (local_strdup): Remove.
15683         (expand_dynamic_string_token): Use __strdup.
15684         (decompose_rpath): Likewise.
15685         (_dl_map_object): Likewise.
15687 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
15689         [BZ #14132]
15690         * sysdeps/generic/unwind-dw2-fde.c
15691         (__register_frame_info_bases_internal): Do not declare.
15692         (__register_frame_info_table_bases_internal): Likewise.
15693         (__deregister_frame_info_bases_internal): Likewise.
15694         (__register_frame_info_bases): Declare and use hidden_proto before
15695         definition.  Use hidden_def instead of INTDEF.
15696         (__register_frame_info_table_bases): Likewise.
15697         (__deregister_frame_info_bases): Likewise.
15698         (__register_frame_info): Do not use INTUSE.
15699         (__register_frame): Likewise.
15700         (__register_frame_info_table): Likewise.
15701         (__register_frame_table): Likewise.
15702         (__deregister_frame_info): Likewise.
15703         (__deregister_frame): Likewise.
15705 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
15707         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15708         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
15709         not undefine.
15710         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
15711         Likewise.
15712         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
15713         Likewise.
15715 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
15717         [BZ #14138]
15718         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
15719         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
15720         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
15721         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
15722         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
15723         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
15724         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
15725         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
15726         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
15727         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
15728         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
15729         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
15730         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
15731         syscall.
15732         (setfsuid): Likewise.
15733         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
15734         (setfsuid): Likewise.
15735         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
15736         (setfsuid): Likewise.
15737         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
15738         Likewise.
15739         (setfsuid): Likewise.
15740         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
15741         (setfsuid): Likewise.
15742         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
15743         Likewise.
15744         (setfsuid): Likewise.
15746 2014-10-27  Andreas Schwab  <schwab@suse.de>
15748         [BZ #17501]
15749         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
15750         check for Slow_SSE4_2 feature bit.
15751         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
15752         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
15753         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
15754         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
15756 2014-10-24  Roland McGrath  <roland@hack.frob.com>
15758         * configure.ac: Validate compiler version with a empirical test of
15759         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
15760         $CC -v output.
15761         * configure: Regenerated.
15763         * inet/htons.c (htons): Prototypify.
15764         * inet/htonl.c (htonl): Likewise.
15766 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
15768         * string/strncat.c (strncat): Improve performance by using strlen.
15770 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
15772         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
15774 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
15776         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
15777         Call libc_fetestexcept_aarch64.
15779 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
15781         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
15782         Call libc_feholdexcept_aarch64.
15784 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
15786         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
15787         Call get_rounding_mode.
15789 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
15791         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
15792         Simplify logic.
15794 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
15796         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
15797         Simplify logic.
15799 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
15801         [BZ #14138]
15802         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
15803         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
15804         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
15805         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
15806         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
15807         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
15808         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
15809         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
15810         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
15811         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
15812         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
15813         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
15814         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
15815         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
15816         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
15817         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
15818         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
15819         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
15820         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
15821         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
15822         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
15823         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
15824         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
15825         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
15826         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
15827         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
15828         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
15829         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
15830         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
15831         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
15832         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
15833         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
15834         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
15835         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
15836         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
15837         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
15838         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
15839         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
15840         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
15841         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
15842         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
15843         syscall.
15844         (geteuid): Likewise.
15845         (getgid): Likewise.
15846         (getuid): Likewise.
15847         (getresgid): Likewise.
15848         (getresuid): Likewise.
15849         (getgroups): Likewise.
15850         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
15851         (geteuid): Likewise.
15852         (getgid): Likewise.
15853         (getuid): Likewise.
15854         (getresgid): Likewise.
15855         (getresuid): Likewise.
15856         (getgroups): Likewise.
15857         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
15858         (geteuid): Likewise.
15859         (getgid): Likewise.
15860         (getuid): Likewise.
15861         (getresgid): Likewise.
15862         (getresuid): Likewise.
15863         (getgroups): Likewise.
15864         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
15865         Likewise.
15866         (geteuid): Likewise.
15867         (getgid): Likewise.
15868         (getuid): Likewise.
15869         (getresgid): Likewise.
15870         (getresuid): Likewise.
15871         (getgroups): Likewise.
15872         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
15873         (geteuid): Likewise.
15874         (getgid): Likewise.
15875         (getuid): Likewise.
15876         (getresgid): Likewise.
15877         (getresuid): Likewise.
15878         (getgroups): Likewise.
15879         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
15880         Likewise.
15881         (geteuid): Likewise.
15882         (getgid): Likewise.
15883         (getuid): Likewise.
15884         (getgroups): Likewise.
15886         [BZ #14138]
15887         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
15888         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
15889         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
15890         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
15891         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
15892         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
15893         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
15894         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
15895         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
15896         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
15897         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
15898         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
15899         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
15900         __chown.
15901         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
15902         (lchown): Likewise.
15903         (fchown): Likewise.
15904         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
15905         Likewise.
15906         (lchown): Likewise.
15907         (fchown): Likewise.
15908         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
15909         (lchown): Likewise.
15910         (fchown): Likewise.
15911         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
15912         Likewise.
15913         (lchown): Likewise.
15914         (fchown): Likewise.
15916 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
15918         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
15919         Simplify logic.
15921 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
15923         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
15924         Cleanup logic.
15926 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
15928         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
15929         Remove unused include.
15931 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
15933         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
15934         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
15935         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
15936         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
15938 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
15939             Helge Deller <deller@gmx.de>
15941         [BZ #17508]
15942         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
15943         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
15944         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
15946 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
15948         [BZ #14132]
15949         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
15950         Remove macro definition.
15951         (__ashrdi3_v_glibc20): Likewise.
15952         (__lshrdi3_v_glibc20): Likewise.
15953         (__cmpdi2_v_glibc20): Likewise.
15954         (__ucmpdi2_v_glibc20): Likewise.
15955         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
15956         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
15957         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
15958         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
15959         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
15960         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
15962 2014-10-22  Roland McGrath  <roland@hack.frob.com>
15964         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
15965         old GNU extension [0] syntax.
15966         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
15967         alloca rather than an array member with variable length.
15968         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
15969         * nscd/nscd.c (invalidate_db): New function, broken out of ...
15970         (parse_opt): ... here.  Likewise use alloca there.
15971         Validate the -i argument before checking for rootness.
15972         (send_shutdown): New function, broken out of ...
15973         (parse_opt): ... here.
15975 2014-10-22  Roland McGrath  <roland@hack.frob.com>
15977         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
15978         macro to get at the _rt_local_ro field.
15979         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
15980         ([PIC] case) or _dl_hwcap ([!PIC] case).
15981         * sysdeps/arm/setjmp.S: Likewise.
15983         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
15984         * sysdeps/arm/configure.ac: New check to define it.
15985         * sysdeps/arm/configure: Regenerated.
15986         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
15987         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
15988         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
15989         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
15990         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
15991         Use move/movt pair instead of a load.
15992         (LDST_GLOBAL): Macro removed.
15993         (LDR_GLOBAL): New macro replaces it.
15994         (LDR_HIDDEN): New macro.
15995         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
15996         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
15998         * setjmp/tst-setjmp-static.c: New file.
15999         * setjmp/Makefile (tests): Add it.
16000         (tests-static): New variable.
16002 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
16004         [BZ #17485]
16005         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
16007 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
16009         [BZ #14132]
16010         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
16012 2014-10-21  Roland McGrath  <roland@hack.frob.com>
16014         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
16016 2014-10-20  Roland McGrath  <roland@hack.frob.com>
16018         * io/fts.c (dirent_not_directory): New function.
16019         (fts_build): Call it.
16021 2014-10-20  Roland McGrath  <roland@hack.frob.com>
16023         * nptl/version.c (__nptl_main): Use normal __write rather than
16024         INTERNAL_SYSCALL.
16025         (banner): Update copyright years.
16027         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
16028         gettimeofday.
16029         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
16030         * nptl/pthread_cond_timedwait.c: Likewise.
16031         * nptl/pthread_mutex_timedlock.c: Likewise.
16032         * nptl/sem_timedwait.c: Likewise.
16034         * sysdeps/nptl/bits/libc-lock.h
16035         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
16036         (__libc_lock_init_recursive): Return void, not 0.
16037         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
16038         (__libc_rwlock_init): Likewise.
16039         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
16041 2014-10-20  Torvald Riegel  <triegel@redhat.com>
16043         [BZ #15215]
16044         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
16045         (__pthread_once_slow): ... here.
16046         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
16047         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
16049 2014-10-20  Torvald Riegel  <triegel@redhat.com>
16051         [BZ #15215]
16052         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
16053         __PTHREAD_ONCE_FORK_GEN_INCR): New.
16054         * sysdeps/nptl/fork.c (__libc_fork): Use them.
16055         * nptl/pthread_once.c (__pthread_once): Likewise.
16056         Update comments.
16058 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
16060         [BZ #14138]
16061         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
16062         name.
16063         (writev): Use __libc_writev as strong name.
16064         * sysdeps/unix/sysv/linux/readv.c: Remove file.
16065         * sysdeps/unix/sysv/linux/writev.c: Likewise.
16067 2014-10-17  Roland McGrath  <roland@hack.frob.com>
16069         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
16071         * sysdeps/i386/nptl/tls.h
16072         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
16073         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
16074         New macros.
16075         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
16076         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
16077         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
16078         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
16079         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
16080         Call CHECK_THREAD_SYSINFO instead of doing an assert.
16082         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
16083         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
16084         on [__NR_futex].
16085         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
16086         broken out of ...
16087         (__pthread_mutex_init): ... here.  Call it.
16088         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
16089         Conditionalize PI cases on [__NR_futex].
16090         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
16091         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
16092         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
16094         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
16095         conditional on [SIGSETXID].
16096         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
16097         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
16098         is defined.  Likewise for SIGSETXID.
16099         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
16100         Conditionalize definitions on [SIGSETXID].
16101         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
16102         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
16103         unblocking on [SIGCANCEL].
16105         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
16106         [__NR_set_robust_list].
16108 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
16110         * string/strcoll_l.c (get_next_seq): Fix up formatting.
16111         (do_compare): Likewise.
16113 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
16115         [BZ #15884]
16116         * string/strcoll_l.c: Don't include stdio.h.
16117         (coll_seq): Remove members idxarr and rulearr.
16118         (get_next_seq_cached): Remove function.
16119         (get_next_seq): Likewise.
16120         (get_next_seq_nocache): Rename to get_next_seq.
16121         (do_compare): Remove function.
16122         (do_compare_nocache): Rename to do_compare.
16123         (STRCOLL): Remove weight and rules cache.
16125 2014-10-16  Roland McGrath  <roland@hack.frob.com>
16127         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
16128         * sysdeps/arm/sfp-machine.h: ... to here.
16129         * sysdeps/arm/Implies: Remove arm/soft-fp.
16131 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
16133         * conform/data/sys/utsname.h-data (*_t): Allow.
16134         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
16135         [POSIX] (WEXITED): Do not expect constant.
16136         [POSIX] (WSTOPPED): Likewise.
16137         [POSIX] (WNOHANG): Likewise.
16138         [POSIX] (WNOWAIT): Likewise.
16139         [POSIX] (siginfo_t): Do not expect type or elements.
16140         [POSIX] (pid_t): Do not expect type.
16141         [POSIX] (signal.h): Do not allow header.
16142         [POSIX] (sys/resource.h): Likewise.
16143         [POSIX] (si_*): Do not allow pattern.
16144         [POSIX] (W*): Likewise.
16145         [POSIX] (P_*): Likewise.
16146         [POSIX] (BUS_*): Likewise.
16147         [POSIX] (CLD_*): Likewise.
16148         [POSIX] (FPE_*): Likewise.
16149         [POSIX] (ILL_*): Likewise.
16150         [POSIX] (POLL_*): Likewise.
16151         [POSIX] (SEGV_*): Likewise.
16152         [POSIX] (SI_*): Likewise.
16153         [POSIX] (TRAP_*): Likewise.
16154         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
16155         variable.
16157 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
16159         [BZ #12926]
16160         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
16161         infinite loop when __recvmsg returns 0.
16163 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
16165         * CANCEL-FCT-WAIVE: Remove file.
16166         * CANCEL-FILE-WAIVE: Likewise.
16168         [BZ #14132]
16169         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
16170         instead of INTVARDEF.
16171         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
16172         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
16173         rtld_hidden_data_def instead of INTVARDEF.
16174         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
16175         * elf/dl-deps.c (expand_dst): Likewise.
16176         * elf/dl-load.c (_dl_dst_count): Likewise.
16177         (_dl_dst_substitute): Likewise.
16178         (decompose_rpath): Likewise.
16179         (_dl_init_paths): Likewise.
16180         (open_path): Likewise.
16181         (_dl_map_object): Likewise.
16182         * elf/rtld.c (dl_main): Likewise.
16183         (process_dl_audit): Likewise.
16184         (process_envvars): Likewise.
16185         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
16186         Remove declaration.
16187         (__libc_enable_secure): Use rtld_hidden_proto.
16189 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
16191         * elf/dl-load.c
16192         (add_path): New function broken out of _dl_rtld_di_serinfo.
16193         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
16195 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
16197         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
16198         parentheses around macro arguments.
16199         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
16200         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
16201         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
16202         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
16203         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
16204         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
16205         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
16206         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
16207         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
16208         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
16209         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
16210         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
16211         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
16212         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
16213         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
16214         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
16215         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
16216         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
16217         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
16218         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
16219         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
16220         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
16221         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
16222         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
16223         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
16224         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
16225         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
16226         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
16227         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
16228         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
16229         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
16230         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
16231         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
16232         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
16233         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
16234         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
16235         Likewise.
16236         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
16237         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
16238         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
16239         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
16240         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
16241         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
16242         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
16243         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
16244         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
16245         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
16246         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
16247         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
16248         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
16249         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
16250         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
16251         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
16252         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
16253         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
16254         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
16255         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
16256         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
16257         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
16258         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
16259         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
16260         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
16261         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
16262         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
16263         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
16264         (_FP_FRAC_SRS_1): Likewise.
16265         (_FP_FRAC_CLZ_1): Likewise.
16266         (_FP_MUL_MEAT_1_imm): Likewise.
16267         (_FP_MUL_MEAT_1_wide): Likewise.
16268         (_FP_MUL_MEAT_1_hard): Likewise.
16269         (_FP_SQRT_MEAT_1): Likewise.
16270         (_FP_FRAC_ASSEMBLE_1): Likewise.
16271         (_FP_FRAC_DISASSEMBLE_1): Likewise.
16272         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
16273         (__FP_CLZ_2): Likewise.
16274         (_FP_MUL_MEAT_2_wide): Likewise.
16275         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
16276         (_FP_MUL_MEAT_2_gmp): Likewise.
16277         (_FP_MUL_MEAT_2_120_240_double): Likewise.
16278         (_FP_SQRT_MEAT_2): Likewise.
16279         (_FP_FRAC_ASSEMBLE_2): Likewise.
16280         (_FP_FRAC_DISASSEMBLE_2): Likewise.
16281         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
16282         (_FP_FRAC_CLZ_4): Likewise.
16283         (_FP_MUL_MEAT_4_wide): Likewise.
16284         (_FP_MUL_MEAT_4_gmp): Likewise.
16285         (_FP_SQRT_MEAT_4): Likewise.
16286         (_FP_FRAC_ASSEMBLE_4): Likewise.
16287         (_FP_FRAC_DISASSEMBLE_4): Likewise.
16288         * soft-fp/op-common.h (_FP_CMP): Likewise.
16289         (_FP_CMP_EQ): Likewise.
16290         (_FP_CMP_UNORD): Likewise.
16291         (_FP_TO_INT): Likewise.
16292         (_FP_FROM_INT): Likewise.
16293         [!__FP_CLZ] (__FP_CLZ): Likewise.
16294         (_FP_DIV_HELP_imm): Likewise.
16295         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
16296         Likewise.
16297         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
16298         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
16299         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
16300         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
16301         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
16302         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
16303         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
16304         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
16305         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
16306         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
16307         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
16308         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
16309         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
16310         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
16311         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
16312         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
16313         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
16314         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
16315         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
16316         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
16317         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
16318         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
16319         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
16320         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
16321         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
16322         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
16323         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
16324         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
16325         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
16326         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
16327         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
16328         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
16329         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
16330         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
16331         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
16332         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
16333         (FP_UNPACK_RAW_SP): Likewise.
16334         (FP_PACK_RAW_S): Likewise.
16335         (FP_PACK_RAW_SP): Likewise.
16336         (FP_UNPACK_S): Likewise.
16337         (FP_UNPACK_SP): Likewise.
16338         (FP_UNPACK_SEMIRAW_S): Likewise.
16339         (FP_UNPACK_SEMIRAW_SP): Likewise.
16340         (FP_PACK_S): Likewise.
16341         (FP_PACK_SP): Likewise.
16342         (FP_PACK_SEMIRAW_S): Likewise.
16343         (FP_PACK_SEMIRAW_SP): Likewise.
16344         (_FP_SQRT_MEAT_S): Likewise.
16345         (FP_CMP_S): Likewise.
16346         (FP_CMP_EQ_S): Likewise.
16347         (FP_CMP_UNORD_S): Likewise.
16348         (FP_TO_INT_S): Likewise.
16349         (FP_FROM_INT_S): Likewise.
16351         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
16353         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
16354         (FP_EX_INVALID_IMZ): Likewise.
16355         (FP_EX_INVALID_IMZ_FMA): Likewise.
16356         (FP_EX_INVALID_ISI): Likewise.
16357         (FP_EX_INVALID_ZDZ): Likewise.
16358         (FP_EX_INVALID_IDI): Likewise.
16359         (FP_EX_INVALID_SQRT): Likewise.
16360         (FP_EX_INVALID_CVI): Likewise.
16361         (FP_EX_INVALID_VC): Likewise.
16362         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
16363         "invalid" exceptions.
16364         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
16365         (_FP_ADD_INTERNAL): Likewise.
16366         (_FP_MUL): Likewise.
16367         (_FP_FMA): Likewise.
16368         (_FP_DIV): Likewise.
16369         (_FP_CMP_CHECK_NAN): Likewise.
16370         (_FP_SQRT): Likewise.
16371         (_FP_TO_INT): Likewise.
16372         (FP_EXTEND): Likewise.
16374 2014-10-09  Allan McRae  <allan@archlinux.org>
16376         * po/fr.po: Update French translation from translation project.
16378 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
16380         [BZ #14132]
16381         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
16382         of INTDEF.
16383         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
16384         (__cxa_atexit): Use libc_hidden_proto.
16385         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
16387         [BZ #14132]
16388         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
16389         declaration.
16390         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
16391         [!_ISOMAC] (__iswspace_l_internal): Likewise.
16392         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
16393         [!_ISOMAC] (__iswctype_internal): Likewise.
16394         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
16395         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
16396         alias.
16397         (fcntl): Remove __fcntl_internal alias.
16398         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
16399         __connect_internal alias.
16400         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
16401         Likewise.
16403         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
16404         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
16405         FP_DENORM_ZERO.
16406         (_FP_CHECK_FLUSH_ZERO): New macro.
16407         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
16408         (_FP_CMP): Likewise.
16409         (_FP_CMP_EQ): Likewise.
16410         (_FP_TO_INT): Do not set inexact for subnormal arguments if
16411         FP_DENORM_ZERO.
16412         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
16413         (FP_TRUNC): Likewise.
16415         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
16416         treated as invalid conversion, not as normal exponent.
16418         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
16419         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
16420         (_FP_CMP_EQ): Likewise.
16421         (_FP_CMP_UNORD): Likewise.
16422         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
16423         (FP_CMP_EQ_D): Likewise.
16424         (FP_CMP_UNORD_D): Likewise.
16425         * soft-fp/extended.h (FP_CMP_E): Likewise.
16426         (FP_CMP_EQ_E): Likewise.
16427         (FP_CMP_UNORD_E): Likewise.
16428         * soft-fp/quad.h (FP_CMP_Q): Likewise.
16429         (FP_CMP_EQ_Q): Likewise.
16430         (FP_CMP_UNORD_Q): Likewise.
16431         * soft-fp/single.h (FP_CMP_S): Likewise.
16432         (FP_CMP_EQ_S): Likewise.
16433         (FP_CMP_UNORD_S): Likewise.
16434         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
16435         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
16436         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
16437         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
16438         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
16439         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
16440         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
16441         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
16442         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
16443         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
16444         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
16445         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
16446         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
16447         to FP_CMP_Q.
16448         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
16449         FP_CMP_Q.
16450         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
16451         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
16452         FP_CMP_EQ_Q.
16453         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
16454         FP_CMP_Q.
16455         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
16456         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
16457         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
16458         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
16459         FP_CMP_EQ_Q.
16460         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
16461         FP_CMP_Q.
16462         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
16463         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
16464         FP_CMP_EQ_Q.
16465         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
16466         FP_CMP_Q.
16467         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
16468         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
16469         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
16470         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
16471         FP_CMP_EQ_Q.
16473         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
16474         a subnormal result, set the underflow exception if trapping on
16475         underflow is enabled.
16476         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
16477         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
16478         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
16479         redefine to 0.
16480         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
16481         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
16482         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
16483         * soft-fp/extendxftf2.c (__extendxftf2): Use
16484         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
16486         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
16487         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
16488         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
16489         FP_HANDLE_EXCEPTIONS.
16490         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
16491         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
16492         FP_HANDLE_EXCEPTIONS.
16493         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
16494         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
16495         FP_HANDLE_EXCEPTIONS.
16496         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
16497         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
16498         FP_HANDLE_EXCEPTIONS.
16500 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
16502         [BZ #14132]
16503         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
16504         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
16505         use INTUSE.
16506         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
16507         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
16508         Remove alias.
16509         (__adjtimex): Define using libc_hidden_ver.
16510         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
16511         Remove declaration.
16512         (ntp_gettime): Call __adjtimex directly.
16513         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
16514         Remove declaration.
16515         (ntp_gettimex): Call __adjtimex directly.
16516         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
16517         __adjtimex_internal alias.
16519 2014-10-08  Roland McGrath  <roland@hack.frob.com>
16521         [BZ #17460]
16522         * nscd/nscd.c (more_help): Rewrite list of tables collection
16523         using xstrdup and asprintf.
16525         * nscd/nscd_conf.c: Remove local xstrdup declaration.
16527 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
16528             Roland McGrath  <roland@hack.frob.com>
16530         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
16531         (do_lookup_unique): ... local function 'enter' here; update callers.
16533 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
16535         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
16536         compat_symbol calls on [SHARED].
16537         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
16538         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
16539         Remove.
16540         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
16541         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
16542         (oldsetrlimit): Remove.
16543         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
16544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
16545         (lchown): New syscall entry.
16546         (oldsetrlimit): Remove.
16547         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
16548         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
16549         (oldsetrlimit): Remove.
16550         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
16552         [BZ #14138]
16553         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
16554         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
16555         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
16556         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
16557         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
16558         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
16559         (fchown): Likewise.
16560         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
16561         (fchown): Likewise.
16562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
16563         Likewise.
16565 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16567         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
16568         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
16569         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
16570         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
16571         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
16572         Likewise.
16573         (__old_sem_post): Likewise.
16575 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
16577         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
16578         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
16579         HAVE_CLOCK_GETTIME_VSYSCALL macros.
16580         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
16581         Use INLINE_VSYSCALL macro.
16582         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
16583         __vdso_clock_gettime.
16584         * sysdeps/unix/sysv/linux/tile/init-first.c
16585         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
16586         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
16587         __vdso_clock_gettime.
16589         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
16590         to set up frame more cleanly.
16592         * sysdeps/tile/memcmp.c: New file.
16594         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
16596         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
16597         * sysdeps/tile/tilegx/strcasestr.c: New file.
16598         * sysdeps/tile/tilegx/strnlen.c: New file.
16599         * sysdeps/tile/tilegx/strstr.c: New file.
16601         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
16603 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
16605         * nptl/tst-setuid3.c: Write errors to stdout.
16607 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
16609         * elf/dl-deps.c
16610         (preload): New functions broken out of _dl_map_object_deps.
16611         (_dl_map_object_deps):  Remove a nested function. Update call sites.
16613 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
16615         [BZ #14138]
16616         * sysdeps/unix/sysv/linux/execve.c: Remove file.
16617         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
16619 2014-10-01  Steve Ellcey  <sellcey@mips.com>
16621         * sysdeps/mips/strcmp.S: New.
16623 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
16625         [BZ #14138]
16626         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
16627         (linkat): Likewise.
16628         (mkdirat): Likewise.
16629         (readlinkat): Likewise.
16630         (renameat): Likewise.
16631         (symlinkat): Likewise.
16632         (unlinkat): Likewise.
16633         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
16634         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
16635         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
16636         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
16637         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
16638         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
16639         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
16641 2014-09-30  Will Newton  <will.newton@linaro.org>
16643         * math/math.h: Define long double math functions if
16644         _LIBC_TEST is defined.
16645         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
16647         * localedata/Makefile: Move assignment to tests-special
16648         into an ifdef testing run-built-tests.
16649         * timezone/Makefile: Likewise.
16651 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
16653         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
16654         with $(BASH) not $(SHELL).
16656 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
16657             Matthew LeGendre  <legendre1@llnl.gov>
16659         [BZ #17411]
16660         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
16661         l_reloc_result.
16663 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
16665         * stdio-common/printf_fp.c
16666         (hack_digit): New function, broken out of ...
16667         (__printf_fp): ... local function here.  Update call sites.
16668         hack_digit now takes an additional parameter that is a pointer
16669         to a struct of the referenced locals.  Those locals moved inside
16670         the struct and references updated.
16672 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
16674         * aclocal.m4: Require autoconf 2.69.
16675         * configure: Regenerated.
16676         * sysdeps/aarch64/configure: Likewise.
16677         * sysdeps/alpha/configure: Likewise.
16678         * sysdeps/arm/armv7/configure: Likewise.
16679         * sysdeps/arm/configure: Likewise.
16680         * sysdeps/ia64/configure: Likewise.
16681         * sysdeps/mach/configure: Likewise.
16682         * sysdeps/mips/configure: Likewise.
16683         * sysdeps/s390/configure: Likewise.
16684         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
16685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
16687         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
16688         file.
16689         * sysdeps/ia64/configure.ac: Likewise.
16691 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
16693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
16694         specify symbol version for ld.so.  Do not include entry for
16695         libpthread.
16696         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
16697         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
16698         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
16700         [BZ #14171]
16701         * Makeconfig [$(build-shared) = yes]
16702         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
16703         makefiles.
16704         [$(build-shared) = yes && $(soversions.mk-done) = t]
16705         ($(common-objpfx)gnu/lib-names.h): Remove rule.
16706         [$(build-shared) = yes && $(soversions.mk-done) = t]
16707         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
16708         to Makerules.
16709         [$(build-shared) = yes && $(soversions.mk-done) = t]
16710         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
16711         here.
16712         [$(build-shared) = yes && $(soversions.mk-done) = t]
16713         (common-generated): Don't append gnu/lib-names.h and
16714         gnu/lib-names.stmp here.
16715         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
16716         (lib-names-h-abi): New variable.
16717         [$(build-shared) = yes && $(soversions.mk-done) = t]
16718         (lib-names-stmp-abi): Likewise.
16719         [$(build-shared) = yes && $(soversions.mk-done) = t &&
16720         abi-variants] (before-compile): Append
16721         $(common-objpfx)$(lib-names-h-abi).
16722         [$(build-shared) = yes && $(soversions.mk-done) = t &&
16723         abi-variants] (common-generated): Append gnu/lib-names.h.
16724         [$(build-shared) = yes && $(soversions.mk-done) = t &&
16725         abi-variants] (install-others-nosubdir): Depend on
16726         $(inst_includedir)/$(lib-names-h-abi).
16727         [$(build-shared) = yes && $(soversions.mk-done) = t &&
16728         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
16729         [$(build-shared) = yes && $(soversions.mk-done) = t]
16730         ($(common-objpfx)$(lib-names-h-abi)): New rule.
16731         [$(build-shared) = yes && $(soversions.mk-done) = t]
16732         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
16733         [$(build-shared) = yes && $(soversions.mk-done) = t]
16734         (common-generated): Append $(lib-names-h-abi) and
16735         $(lib-names-stmp-abi).
16736         * scripts/lib-names.awk: Do not handle multi being set.
16737         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
16738         Remove variable.
16739         (abi-lp64_be-ld-soname): Likewise.
16740         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
16741         Likewise.
16742         (abi-hard-ld-soname): Likewise.
16743         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
16744         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
16745         Remove variable.
16746         (abi-o32_hard-ld-soname): Likewise.
16747         (abi-o32_soft_2008-ld-soname): Likewise.
16748         (abi-o32_hard_2008-ld-soname): Likewise.
16749         (abi-n32_soft-ld-soname): Likewise.
16750         (abi-n32_hard-ld-soname): Likewise.
16751         (abi-n32_soft_2008-ld-soname): Likewise.
16752         (abi-n32_hard_2008-ld-soname): Likewise.
16753         (abi-n64_soft-ld-soname): Likewise.
16754         (abi-n64_hard-ld-soname): Likewise.
16755         (abi-n64_soft_2008-ld-soname): Likewise.
16756         (abi-n64_hard_2008-ld-soname): Likewise.
16757         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
16758         Likewise.
16759         (abi-64-v2-ld-soname): Likewise.
16760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
16761         ld.so entries.
16762         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
16763         variable.
16764         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
16765         entry.
16766         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
16767         variable.
16768         (abi-64-ld-soname): Likewise.
16769         (abi-x32-ld-soname): Likewise.
16770         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
16771         entry.
16772         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
16774 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
16776         [BZ #14138]
16777         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
16778         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
16779         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
16780         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
16781         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
16782         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
16783         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
16784         syscall entry for GLIBC_2.2 symbol version.
16785         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
16786         Likewise.
16787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
16788         (setrlimit): Likewise.
16789         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
16790         Likewise.
16792 2014-09-23  Will Newton  <will.newton@linaro.org>
16794         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
16795         _LINUX_ARM_SYSDEP_H include guard too.
16796         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
16797         define.
16799 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
16801         * sysdeps/unix/sysv/linux/eventfd.c:
16802         Make first argument unsigned.
16803         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
16804         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
16806 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
16808         * socket/recvmmsg.c (recvmmsg): Drop const argument.
16809         * socket/sys/socket.h: Likewise
16810         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
16812 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16814         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
16816 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
16818         * time/tst-ftime.c: New test.
16819         * time/Makefile (tests): Add tst-ftime.
16821 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
16823         * soft-fp/extended.h: Fix comment formatting.
16824         * soft-fp/op-1.h: Likewise.
16825         * soft-fp/op-2.h: Likewise.
16826         * soft-fp/op-4.h: Likewise.
16827         * soft-fp/op-8.h: Likewise.
16828         * soft-fp/op-common.h: Likewise.
16829         * soft-fp/soft-fp.h: Likewise.
16831         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
16833 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
16835         [BZ #6652]
16836         * Makeconfig (soversions-default-setname): Remove variable.
16837         ($(common-objpfx)soversions.i): Don't pass default_setname to
16838         soversions.awk.
16839         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
16840         oldest_abi to abi-versions.awk.
16841         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
16842         * config.make.in (oldest-abi): Remove variable.
16843         * configure.ac (--enable-oldest-abi): Remove configure option.
16844         * configure: Regenerated.
16845         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
16846         text.
16847         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
16848         * scripts/soversions.awk: Do not handle default_setname variable.
16849         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
16850         variable.
16851         * sysdeps/mach/hurd/configure: Regenerated.
16852         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
16853         variable.
16854         * sysdeps/unix/sysv/linux/configure: Regenerated.
16856 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16858         * elf/Makefile (CFLAGS-interp.c): Remove.
16859         ($(elf-objpfx)runtime-linker.h): Generate header with linker
16860         path string.
16861         * elf/interp.c: Include generated runtime-linker.h
16863         * Makerules (lib%.so): Don't include $(+interp) in
16864         prerequisites.
16865         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
16866         * dlfcn/eval.c: Remove file.
16868         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
16869         macros.
16871         [BZ #17266]
16872         * misc/sys/cdefs.h: Define __extern_always_inline for clang
16873         4.2 and newer.
16875         [BZ #17370]
16876         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
16878 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16879             Jakub Jelinek  <jakub@redhat.com>
16881         [BZ #17266]
16882         * libio/stdio.h: Check definition of __fortify_function
16883         instead of __extern_always_inline to include bits/stdio2.h.
16884         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
16885         check if __extern_always_inline is defined.
16886         [__USE_MISC || __USE_XOPEN]: Likewise.
16887         [__USE_ISOC99] Likewise.
16888         * misc/sys/cdefs.h (__fortify_function): Define only if
16889         __extern_always_inline is defined.
16890         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
16891         __extern_always_inline and __extern_inline only for g++-4.3
16892         and newer or a compatible gcc.
16894 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
16896         [BZ #17371]
16897         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
16898         last change to handle zero prefix length.
16900 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16902         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
16903         _SC_REGEX_VERSION.
16905         * posix/getconf.c (vars): Add _POSIX_IPV6 and
16906         _POSIX_RAW_SOCKETS.
16908 2014-09-13  Allan McRae  <allan@archlinux.org>
16910         * po/ru.po: Update Russian translation from translation project.
16912 2014-09-12  Roland McGrath  <roland@hack.frob.com>
16914         * locale/programs/locale.c (show_locale_vars): Inline local function
16915         into its sole call site.  Clean up some style nits.
16916         (print_item): New function, broken out of ...
16917         (show_info): ... local function here.  Clean up style nits.
16919         * locale/programs/ld-ctype.c (set_one_default): New function, broken
16920         out of ...
16921         (set_class_defaults): ... local function set_default here.
16922         Define set_default as a macro locally to pass constant parameters.
16923         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
16924         rather than a shared local.
16926         * stdlib/rpmatch.c (try): New function, broken out of ...
16927         (rpmatch): ... local function here.  Also, prototypify definition.
16929 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
16931         * scripts/soversions.awk: Do not handle configuration names.
16932         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
16933         vendor and os variables to soversions.awk.
16934         * configure.ac: Do not modify gnu-* host_os.
16935         * configure: Regenerated
16936         * shlib-versions: Remove first column with configuration names.
16937         * nptl/shlib-versions: Likewise.
16938         * nptl_db/shlib-versions: Likewise.
16939         * sysdeps/hppa/shlib-versions: Likewise.
16940         * sysdeps/m68k/shlib-versions: Likewise.
16941         * sysdeps/mach/hurd/shlib-versions: Likewise.
16942         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
16943         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
16944         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
16945         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
16946         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
16947         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
16948         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
16949         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
16950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
16951         Likewise.
16952         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
16953         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
16954         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
16955         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
16956         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
16957         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
16958         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
16959         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
16961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
16962         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
16963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
16964         Regenerated.
16965         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
16966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
16967         Condition symbol version definitions on [HAVE_ELFV2_ABI].
16969         * shlib-versions: Remove OS-specific entries.  Moved to files in
16970         sysdeps.
16971         * sysdeps/mach/hurd/shlib-versions: New file.
16972         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
16974         * nptl/shlib-versions: Remove architecture-specific entries.
16975         Moved to files in sysdeps.
16976         * shlib-versions: Likewise.
16977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
16978         file.
16979         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
16980         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
16981         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
16982         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
16984         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
16985         (UDP_NO_CHECK6_RX): Likewise.
16987 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
16989         * sysdeps/posix/sysconf.c (__sysconf): Spell
16990         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
16992 2014-08-12  Florian Weimer  <fweimer@redhat.com>
16994         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
16995         loading.
16996         * iconv/Versions (__gconv_transliterate): Export for use from
16997         gconv modules.
16998         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
16999         (struct __gconv_trans_data, __gconv_trans_fct,
17000         __gconv_trans_context_fct, __gconv_trans_query_fct,
17001         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
17002         definitions.
17003         (struct __gconv_step_data): Remove __trans member.
17004         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
17005         longer hidden.  Remove unused trans_data argument.
17006         * iconv/gconv_int.h (struct trans_struct): Remove definition.
17007         (__gconv_translit_find): Remove declaration.
17008         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
17009         prototype.
17010         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
17011         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
17012         trans_data argument.  Add hidden definition.
17013         (__gconv_translit_find): Remove.
17014         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
17015         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
17016         * iconv/skeleton.c: Remove transliteration initialization.
17017         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
17018         __gconv_step_data initialization.
17019         * libio/iofwide.c (__libio_translit_): Remove.
17020         (_IO_fwide): Adjust struct __gconv_step_data initialization.
17021         * wcsmbs/btowc.c (__btowc): Likewise.
17022         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
17023         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
17024         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
17025         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
17026         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
17027         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
17028         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
17029         * wcsmbs/wctob.c (wctob): Likewise.
17031 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
17033         [BZ #16194]
17034         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
17035         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
17036         register usage.
17037         * sysdeps/x86/Makefile: Adjust.
17039 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
17040             Roland McGrath  <roland@hack.frob.com>
17042         * locale/weight.h: Add include guard.
17043         (findidx): Make static rather than auto; take new parameters
17044         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
17045         * locale/weightwc.h: Likewise.
17046         * posix/fnmatch_loop.c
17047         (FCT): Change type of EXTRA from int32_t to wint_t.
17048         Don't include either header inside the function.
17049         Call FINDIDX rather than findidx, and pass new arguments.
17050         #undef FINDIDX at the end of the file.
17051         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
17052         FINDIDX before including fnmatch_loop.c for the non-wide version.
17053         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
17054         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
17055         for the wide version.
17056         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
17057         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
17058         Pass new arguments to findidx.
17059         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
17060         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
17061         Don't #include it inside the function.  Pass new arguments to findidx.
17062         * posix/regex_internal.h
17063         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
17064         (re_string_elem_size_at): Don't #include it inside the function.
17065         Pass new arguments to findidx.
17066         * string/strcoll_l.c: #include WEIGHT_H at top level.
17067         (get_next_seq): Don't #include it inside the function.
17068         Pass new arguments to findidx.
17069         (get_next_seq_nocache): Likewise.
17070         * string/strxfrm_l.c: #include WEIGHT_H at top level.
17071         (STRXFRM): Don't #include it inside the function.
17072         Pass new arguments to findidx.
17074 2014-09-11  Florian Weimer  <fweimer@redhat.com>
17076         [BZ #17344]
17077         * malloc/malloc.c (unlink): Turn asserts into a call to
17078         malloc_printerr.
17080 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
17082         [BZ #17370]
17083         * libio/wfileops (do_ftell_wide): Free OUT.
17085 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
17087         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
17089 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17091         [BZ #17363]
17092         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
17093         group if the current group is empty.
17095 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17097         * benchtests/bench-memset.c (test_main): Add more test from size
17098         from 32 to 512 bytes.
17099         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17100         Add POWER8 memset object.
17101         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17102         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
17103         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
17104         implementation.
17105         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
17106         Likewise.
17107         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
17108         multiarch POWER8 memset optimization.
17109         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
17110         POWER8 memset optimization.
17112         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17113         Remove bzero multiarch objects.
17114         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
17115         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
17116         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
17117         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
17118         Remove define.
17119         [__bzero]: Redefine to specific name.
17120         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
17121         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
17122         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
17123         define.
17124         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17125         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
17127 2014-09-10  Florian Weimer  <fweimer@redhat.com>
17129         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
17130         warnings into errors.
17132         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
17133         __cxa_thread_atexit_impl prototype.
17135 2014-09-09  Steve Ellcey  <sellcey@mips.com>
17137         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
17138         Fix capitalization of error message.
17140 2014-09-09  Steve Ellcey  <sellcey@mips.com>
17142         * sysdeps/mips/preconfigure: Modify ABI tests.
17144 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
17146         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
17148 2014-09-07  Roland McGrath  <roland@hack.frob.com>
17149             Carlos O'Donell  <carlos@systemhalted.org>
17151         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
17152         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
17153         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
17154         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
17155         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
17156         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
17157         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
17158         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
17159         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
17160         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
17161         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
17162         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
17163         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
17164         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
17165         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
17166         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
17167         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
17168         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
17169         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
17170         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
17171         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
17172         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
17173         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
17174         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
17175         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
17176         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
17177         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
17178         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
17179         Deconditionalize the code that was previously under [RESET_PID].
17180         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
17181         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
17182         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
17183         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
17184         include sysdep.h.
17186 2014-09-08  Allan McRae  <allan@archlinux.org>
17188         * version.h (RELEASE): Set to "development".
17189         (VERSION): Set to "2.20.90"
17191 2014-09-07  Allan McRae  <allan@archlinux.org
17193         * version.h (RELEASE): Set to "stable".
17194         (VERSION): Set to "2.20"
17195         * include/features.h (__GLIBC_MINOR__): Set to 20.
17197         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
17198         Liebler.
17200         * po/ko.po: Update Korean translation from translation project.
17202 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
17204         [BZ #17354]
17205         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
17206         macro for handling signed relocations.
17208 2014-09-03  Florian Weimer  <fweimer@redhat.com>
17210         [BZ #17325]
17211         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
17212         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
17213         assert.
17214         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
17215         * iconvdata/ibm935.c (BODY): Likewise.
17216         * iconvdata/ibm937.c (BODY): Likewise.
17217         * iconvdata/ibm939.c (BODY): Likewise.
17218         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
17219         assert.
17220         * iconvdata/Makefile (iconv-test.out): Pass module list to test
17221         script.
17222         * iconvdata/run-iconv-test.sh: New test loop for checking for
17223         decoder crashers.
17225 2014-09-02  Khem Raj  <raj.khem@gmail.com>
17227         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
17228         libm_hidden_ver.
17230 2014-09-01  Allan McRae  <allan@archlinux.org>
17232         * po/eo.po: Update Esperanto translation from translation project.
17234         * po/ca.po: Update Catalan translation from translation project.
17236 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17238         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
17239         __proc_dostop call.
17241 2014-08-27  Mark Wielaard  <mjw@redhat.com>
17243         [BZ #17319]
17244         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
17245         to call set_thread_area instead of hand written asm.
17246         (__NR_set_thread_area): Removed define.
17247         (TLS_FLAG_WRITABLE): Likewise.
17248         (__ASSUME_SET_THREAD_AREA): Remove check.
17249         (TLS_EBX_ARG): Remove define.
17250         (TLS_LOAD_EBX): Likewise.
17252 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17254         Simplify atomicity of socket creation in bind.
17256         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
17257         looking up the name after linking the file.
17259 2014-08-27  Allan McRae  <allan@archlinux.org>
17261         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
17263 2014-08-26  Florian Weimer  <fweimer@redhat.com>
17265         [BZ #17187]
17266         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
17267         trans_compare, open_translit, __gconv_translit_find):
17268         Remove module loading code.
17270 2014-08-26  Allan McRae  <allan@archlinux.org>
17272         * po/vi.po: Update Vietnamese translation from translation project.
17274         * po/uk.po: Update Ukrainian translation from translation project.
17276         * po/fr.po: Update French translation from translation project.
17278         * po/ru.po: Update Russian translation from translation project.
17280         * po/pl.po: Update Polish translation from translation project.
17282         * po/cs.po: Update Czech translation from translation project.
17284         * po/de.po: Update German translation from translation project.
17286         * po/bg.po: Update Bulgarian translation from translation project.
17288         * po/sv.po: Update Sweedish translation from translation project.
17290         * po/nl.po: Update Dutch translation from translation project.
17292         * po/es.po: Update Spanish translation from translation project.
17294 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17296         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
17298         * catgets/Makefile (CPPFLAGS-gencat): Remove.
17299         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
17300         (CPPFLAGS-iconvconfig): Likewise.
17301         * timezone/Makefile (CPPFLAGS-zic): Likewise.
17303         * include/libc-symbols.h: Remove unnecessary check for
17304         NOT_IN_libc.
17305         * nptl/pthreadP.h: Likewise.
17306         * sysdeps/aarch64/setjmp.S: Likewise.
17307         * sysdeps/alpha/setjmp.S: Likewise.
17308         * sysdeps/arm/sysdep.h: Likewise.
17309         * sysdeps/i386/setjmp.S: Likewise.
17310         * sysdeps/m68k/setjmp.c: Likewise.
17311         * sysdeps/posix/getcwd.c: Likewise.
17312         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
17313         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
17314         * sysdeps/s390/s390-32/setjmp.S: Likewise.
17315         * sysdeps/s390/s390-64/setjmp.S: Likewise.
17316         * sysdeps/sh/sh3/setjmp.S: Likewise.
17317         * sysdeps/sh/sh4/setjmp.S: Likewise.
17318         * sysdeps/unix/alpha/sysdep.h: Likewise.
17319         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
17320         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17321         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
17322         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
17323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
17324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17325         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17326         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17327         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
17328         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17329         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17330         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
17331         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17332         * sysdeps/x86_64/setjmp.S: Likewise.
17334 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
17336         [BZ #17263]
17337         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
17338         <stdint.h>.
17339         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
17340         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
17342 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
17344         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
17346         [BZ #17262]
17347         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
17348         and __x86_64__ when disabling x87 inline functions.
17350 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
17352         [BZ #17259]
17353         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
17354         asm statement with __cpuid_count.
17356 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
17358         * configure.ac: Change __ehdr_start code to dereference the struct.
17359         Run readelf on the output to look for relocations.
17360         * configure: Regenerated.
17362 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
17364         [BZ #17261]
17365         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
17366         value to 0.
17367         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
17369 2014-08-12  Roland McGrath  <roland@hack.frob.com>
17371         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
17373 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
17375         [BZ #16892]
17376         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
17377         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
17379 2014-08-12  Sean Anderson  <seanga2@gmail.com>
17381         * malloc/malloc.c: Fix typo in comment.
17383 2014-08-09  Allan McRae  <allan@archlinux.org>
17385         * Regenerate libc.po.
17387 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
17389         * intl/tst-gettext2.sh: Check every lang file for creation.
17391 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
17393         * sysdeps/aarch64/fpu/math_private.h
17394         (libc_feholdsetround_noex_aarch64_ctx): New function.
17396 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
17398         * sysdeps/arm/armv6/strcpy.S (strcpy):
17399         Fix performance issue in misaligned cases.
17401 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17403         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
17404         Move definition from termios.h.
17405         (struct termio): Likewise.
17406         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
17407         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
17408         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
17409         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
17410         Likewise.
17411         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
17412         Move definition to ioctl-types.h
17413         (struct termio): Likewise.
17414         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
17415         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
17416         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
17417         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
17418         Likewise.
17420 2014-08-05  Richard Henderson  <rth@redhat.com>
17422         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
17423         exceptions.
17424         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
17425         Add fraiseexcpt.
17426         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
17427         Use __feraiseexcept.
17428         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
17429         Protect libm symbols with IS_IN_libm.
17431         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
17433 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
17435         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
17437 2014-08-04  Will Newton  <will.newton@linaro.org>
17439         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
17440         file.
17442 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
17444         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
17445         variants for each function.
17447 2014-08-04  Roland McGrath  <roland@hack.frob.com>
17449         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
17450         appended ...
17451         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
17452         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
17453         appended ...
17454         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
17455         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
17456         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
17457         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
17458         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
17459         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
17460         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
17461         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
17462         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
17463         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
17464         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
17465         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
17466         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
17467         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
17468         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
17469         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
17470         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
17471         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
17472         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
17473         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
17474         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
17475         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
17476         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
17477         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
17478         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
17479         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
17480         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
17481         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
17482         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
17483         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
17484         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
17485         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
17486         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
17487         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
17488         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
17489         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
17490         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
17491         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
17492         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
17493         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
17494         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
17495         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
17496         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
17497         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
17498         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
17499         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
17500         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
17501         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
17502         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
17503         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
17504         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
17505         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
17506         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
17507         Update #include.
17508         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
17509         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
17511 2014-08-04  Roland McGrath  <roland@hack.frob.com>
17513         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
17514         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
17515         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
17516         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
17517         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
17518         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
17520 2014-08-04  Roland McGrath  <roland@hack.frob.com>
17522         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
17523         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
17524         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17525         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
17527 2014-08-04  Roland McGrath  <roland@hack.frob.com>
17529         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
17530         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
17531         (__libc_vfork): Define function under this name.
17532         (__vfork): Define as an alias.
17533         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
17534         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
17536 2014-08-04  Roland McGrath  <roland@hack.frob.com>
17538         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
17539         that was previously under [RESET_PID].
17540         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
17542 2014-08-04  Andreas Schwab  <schwab@suse.de>
17544         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
17546 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
17548         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
17549         (main): Likewise.
17551 2014-08-01  Roland McGrath  <roland@hack.frob.com>
17553         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
17555 2014-08-01  Richard Henderon  <rth@redhat.com>
17557         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
17558         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
17559         typo in exact zero test.
17560         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17561         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17562         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17564 2014-08-01  Roland McGrath  <roland@hack.frob.com>
17566         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
17567         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
17568         * sysdeps/arm/sysdep.h: ... here.
17569         [!__ASSEMBLER__]: Include <stdint.h>.
17571 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
17573         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
17574         (HAVE_WCTYPE_H): Likewise.
17575         (HAVE_ISWCTYPE): Likewise.
17576         (ENABLE_NLS): Likewise.
17577         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
17578         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
17580         * posix/regex_internal.c: Check if DEBUG is defined and is
17581         set.
17583         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
17584         (HAVE_MBSRTOWCS): Likewise.
17585         * posix/fnmatch.c: Include string.h unconditionally.
17587 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
17589         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
17590         reversal.
17592 2014-07-31  Roland McGrath  <roland@hack.frob.com>
17594         * sysdeps/generic/safe-fatal.h: New file.
17595         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
17596         * nptl/forward.c: Include it.
17597         (__pthread_unwind): Use __safe_fatal as default action, rather
17598         than a bogus use of INTERNAL_SYSCALL that could never work.
17600         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
17601         * configure.ac (libc_cv_builtin_trap): New test.
17602         * configure: Regenerated.
17603         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
17604         (ABORT_INSTRUCTION): Define using __builtin_trap.
17606         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
17607         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
17608         * sysdeps/nptl/nptl-signals.h: New file.
17609         * nptl/pthreadP.h: Include <nptl-signals.h>.
17611 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
17613         * sysdeps/s390/s390-64/utf16-utf32-z9.c
17614         (ONE_DIRECTION): Define.
17615         * sysdeps/s390/s390-64/utf8-utf16-z9.c
17616         (ONE_DIRECTION): Define.
17617         * sysdeps/s390/s390-64/utf8-utf32-z9.c
17618         (ONE_DIRECTION): Define.
17620 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
17622         * sysdeps/s390/Makefile: Delete file.
17623         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
17624         * sysdeps/s390/__longjmp.c: Delete file.
17625         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
17626         Remove fields __flags and __reserved.
17627         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
17628         and add versioning.
17629         * sysdeps/s390/rtld-__longjmp.c: Delete file.
17630         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
17631         * sysdeps/s390/rtld-setjmp.S: Likewise.
17632         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
17633         * sysdeps/s390/s390-32/__longjmp.c: ... here.
17634         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
17635         * sysdeps/s390/s390-32/setjmp.S: ... here.
17636         Add versioning.
17637         (__sigsetjmp): Remove setting __flags field.
17638         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
17639         * sysdeps/s390/s390-64/__longjmp.c: ... here.
17640         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
17641         * sysdeps/s390/s390-64/setjmp.S: ... here.
17642         Add versioning.
17643         (__sigsetjmp): Remove setting __flags field.
17644         * sysdeps/s390/setjmp.S: Delete file.
17645         * sysdeps/s390/sigjmp.c: Likewise.
17646         * sysdeps/s390/v1-longjmp.c: Likewise.
17647         * sysdeps/s390/v1-setjmp.h: Likewise.
17648         * sysdeps/s390/v1-sigjmp.c: Likewise.
17649         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
17650         Remove v1-longjmp_chk.
17651         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
17652         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
17653         Include debug/longjmp_chk.c and add versioning.
17654         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
17655         Include nptl/pt-longjmp.c and add versioning.
17656         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
17657         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
17658         Include __longjmp.c.
17659         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
17660         Move to ...
17661         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
17662         (__getcontext): Remove setting __flags field.
17663         Add versioning.
17664         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
17665         Don't restore upper high grps.
17666         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
17667         Likewise.
17668         (__swapcontext): Remove setting uc_flags field.
17669         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
17670         Delete file.
17671         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
17672         Include __longjmp.c.
17673         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
17674         Move to ...
17675         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
17676         (__getcontext): Remove setting __flags field.
17677         Add versioning.
17678         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
17679         (__swapcontext): Remove setting uc_flags field.
17680         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
17681         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
17682         Remove fields uc_high_gprs and __reserved.
17683         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
17684         New file with reverted content.
17685         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
17686         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
17687         Regenerated.
17688         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
17689         Regenerated.
17691 2014-07-31  Andreas Schwab  <schwab@suse.de>
17693         * config.h.in (HAVE_IFUNC): Define to 0.
17694         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
17695         definedness.
17697 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
17699         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17700         memmove-avx-unaligned, memcpy-avx-unaligned and
17701         mempcpy-avx-unaligned.
17702         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17703         Add tests for AVX memcpy functions.
17704         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
17705         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
17706         memcpy_chk.
17707         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
17708         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
17709         memmove_chk.
17710         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
17711         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
17712         mempcpy_chk.
17713         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
17714         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
17715         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
17717 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17719         [BZ #17213]
17720         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
17721         powerpc64le.
17723 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
17725         [BZ #16839]
17726         * manual/llio.texi: Add section about open file description locks.
17727         * manual/examples/ofdlocks.c: Example of open file description
17728         lock usage.
17729         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
17730         F_OFD_SETLK, and F_OFD_SETLKW.
17732 2014-07-23  Allan McRae  <allan@archlinux.org>
17734         * po/es.po: Update Spanish translation from translation project.
17736 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
17738         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
17740 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
17742         [BZ #17078]
17743         * sysdeps/arm/dl-machine.h (elf_machine_rela)
17744         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
17745         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
17747 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
17749         [BZ #17088]
17750         * math/fesetenv.c (__fesetenv)
17751         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
17752         * math/feupdateenv.c (__feupdateenv)
17753         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
17755         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
17756         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
17757         (__ASSUME_SOCKETCALL): Do not define.
17759         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
17760         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
17761         (__ASSUME_SOCKETCALL): Do not define.
17762         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
17763         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
17764         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17765         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
17766         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17767         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
17768         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17769         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17771         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
17772         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
17773         (__ASSUME_SOCKETCALL): Do not define.
17774         (__ASSUME_IPC64): Define unconditionally.
17775         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
17776         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17777         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
17778         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17779         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
17780         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17781         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
17782         Likewise.
17784         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
17785         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
17786         (__ASSUME_SOCKETCALL): Do not define.
17787         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
17788         (__ASSUME_FUTEX_LOCK_PI): Likewise.
17789         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17790         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
17791         (__ASSUME_REQUEUE_PI): Define unconditionally.
17792         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
17793         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
17794         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17795         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
17796         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17797         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17799         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
17800         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
17801         (__ASSUME_SOCKETCALL): Do not define.
17802         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
17803         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17804         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17805         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
17806         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17807         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17809         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
17810         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
17811         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17812         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
17813         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17814         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
17815         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17816         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
17817         (__ASSUME_GETCPU_SYSCALL): Likewise.
17819         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
17820         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
17821         cases for individual architectures.
17822         * sysdeps/gnu/configure: Regenerated.
17823         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
17824         LIBC_SLIBDIR_RTLDDIR.
17825         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
17826         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
17827         LIBC_SLIBDIR_RTLDDIR.
17828         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
17829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
17830         LIBC_SLIBDIR_RTLDDIR.
17831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
17832         Regenerated.
17833         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
17834         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
17835         file.
17836         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
17837         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
17838         file.
17839         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
17840         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
17841         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
17842         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
17844         * sysdeps/aarch64/shlib-versions: Move to ...
17845         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
17846         * sysdeps/alpha/shlib-versions: Move to ...
17847         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
17848         * sysdeps/arm/shlib-versions: Move to ...
17849         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
17850         * sysdeps/hppa/shlib-versions: Move all contents except for
17851         libgcc_s entry to ...
17852         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
17853         entry from ...
17854         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
17855         * sysdeps/ia64/shlib-versions: Move to ...
17856         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
17857         entry from ...
17858         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
17859         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
17860         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
17861         * sysdeps/microblaze/shlib-versions: Move to ...
17862         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
17863         * sysdeps/mips/shlib-versions: Move to ...
17864         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
17865         entry from ...
17866         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
17867         * sysdeps/tile/shlib-versions: Move to ...
17868         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
17869         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
17870         from ...
17871         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
17872         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
17873         entry from ...
17874         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
17876 2014-07-17  Will Newton  <will.newton@linaro.org>
17878         * sysdeps/arm/bits/atomic.h
17879         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
17880         (__arch_compare_and_exchange_bool_16_int): Likewise.
17881         (__arch_compare_and_exchange_bool_64_int): Likewise.
17883         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
17884         into an #else block.
17886 2014-07-16  Roland McGrath  <roland@hack.frob.com>
17888         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
17889         just Linux configurations.  Test empirically that the compiler sets
17890         __ARM_EABI__, rather than using the tuple to decide.
17891         * sysdeps/arm/preconfigure: Regenerated.
17892         * sysdeps/unix/sysv/linux/arm/configure: File removed.
17893         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
17894         contents appended ...
17895         * sysdeps/arm/configure.ac: ... here.
17896         * sysdeps/arm/configure: Regenerated.
17898 2014-07-15  Roland McGrath  <roland@hack.frob.com>
17900         * nptl/pthread_kill.c: New file.
17901         * nptl/pthread_sigmask.c: New file.
17902         * nptl/pthread_sigqueue.c: New file.
17904         * sysdeps/nptl/lowlevellock.h: New file.
17905         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
17906         * sysdeps/nptl/lowlevellock-futex.h: New file.
17908         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
17909         Remove dead declarations.
17911 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
17913         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
17914         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
17915         config-cflags-avx2.
17916         * sysdeps/x86_64/configure.ac: Likewise.
17917         * sysdeps/i386/configure: Regenerated.
17918         * sysdeps/x86_64/configure: Likewise.
17919         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17920         memset-avx2 only if config-cflags-avx2 is yes.
17921         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17922         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
17923         defined.
17924         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
17925         only if HAVE_AVX2_SUPPORT is defined.
17926         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17928 2014-07-14  Alan Modra  <amodra@gmail.com>
17930         [BZ #17153]
17931         * elf/elf.h (DT_PPC64_NUM): Correct value.
17932         * NEWS: Add to fixed bug list.
17934 2014-07-13  Jim Meyering  <meyering@fb.com>
17936         [BZ 17150]
17937         regex: don't deref NULL upon heap allocation failure
17938         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
17939         failure in one more place.
17940         To trigger the segfault, configure grep -with-included-regex,
17941         build it, and run these commands:
17942         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
17944 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
17946         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
17948 2014-07-11  Richard Henderson  <rth@redhat.com>
17950         * sysdeps/aarch64/libm-test-ulps: Update.
17952 2014-07-10  Florian Weimer  <fweimer@redhat.com>
17954         [BZ #17135]
17955         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
17956         * nptl/allocatestack.c (__nptl_setxid_error): New function.
17957         (__nptl_setxid): Initialize error member.  Call
17958         __nptl_setxid_error.
17959         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
17960         * nptl/descr.h (struct xid_command): Add error member.
17961         * nptl/tst-setuid3.c: New file.
17962         * nptl/Makefile (tests): Add it.
17964 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17966         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
17967         New define.
17968         (__lll_trylock): Use __lll_base_trylock.
17969         (__lll_cond_trylock): Likewise.
17971 2014-07-10  Roland McGrath  <roland@hack.frob.com>
17973         * nptl/pthread_create.c (start_thread): Use atomic_or and
17974         lll_futex_wake directly rather than lll_robust_dead.
17975         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
17976         (lll_robust_dead): Macro removed.
17977         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
17978         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
17979         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
17980         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
17981         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
17982         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
17983         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
17984         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
17985         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
17986         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
17987         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
17988         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
17989         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
17990         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
17991         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
17993         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
17994         Use atomic_compare_and_exchange_val_acq directly rather than
17995         lll_robust_trylock.
17996         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
17997         (__lll_robust_trylock, lll_robust_trylock): Removed.
17998         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
17999         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
18000         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
18001         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
18002         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
18003         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
18004         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
18005         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
18006         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
18007         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
18008         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
18009         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
18010         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
18011         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
18013 2014-07-02  Florian Weimer  <fweimer@redhat.com>
18015         * manual/locale.texi (Locale Names): New section documenting
18016         locale name syntax.  Adjust menu and node chaining accordingly.
18017         (Choosing Locale): Reference Locale Names, Locale Categories.
18018         Mention setting LC_ALL=C.  Reflect that name syntax is now
18019         documented.
18020         (Locale Categories): New section title.  Reference Locale Names.
18021         LC_ALL is an environment variable, but not a category.
18022         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
18023         description, now in Locale Name.  Reference that section.  Locale
18024         name syntax is now documented.
18026 2014-07-02  Florian Weimer  <fweimer@redhat.com>
18028         [BZ #17137]
18029         * locale/findlocale.c (name_present, valid_locale_name): New
18030         functions.
18031         (_nl_find_locale): Use the loc_name variable to store name
18032         candidates.  Call name_present and valid_locale_name to check and
18033         validate locale names.  Return an error if the locale is invalid.
18035 2014-07-02  Florian Weimer  <fweimer@redhat.com>
18037         * locale/setlocale.c (setlocale): Use strdup for allocating
18038         composite name copy.
18040 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18042         Sync up with gnulib.
18043         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
18044         [!_LIBC && ENABLE_NLS]: Include gettext.h.
18045         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
18046         and _GL_ARG_NONNULL.
18047         [USE_UNLOCKED_IO]: Include unlocked-io.h.
18048         [!_LIBC]: Include code for Windows and Cygwin.
18049         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
18050         Include prototype for int strerror_r.
18051         [!_LIBC] (is_open): New function.
18052         (flush_stdout): New function.
18053         (print_errno_message): Use it.
18054         (error): Likewise.
18055         (error_at_line): Likewise.
18056         (error_tail) Add function attribute macros.  Use
18057         __builtin_expect.
18059         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
18061         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
18063         * io/ftw.c: Include sys/param.h unconditionally.
18065         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
18067         [BZ #17125]
18068         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
18069         libc_freeres_ptr.
18070         (freecache): New function to free CACHE on exit.
18072         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
18073         initialization.
18075 2014-07-09  David S. Miller  <davem@davemloft.net>
18077         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18079         * sysdeps/sparc/nptl/internaltypes.h: Delete.
18080         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
18081         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
18082         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
18083         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
18084         * sysdeps/sparc/nptl/sem_init.c: Likewise.
18085         * sysdeps/sparc/nptl/sem_post.c: Likewise.
18086         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
18087         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
18088         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
18089         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
18090         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
18091         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
18093 2014-07-09  Andreas Schwab  <schwab@suse.de>
18095         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
18096         output.
18097         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
18098         (do_test): Likewise.
18100         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
18102 2014-07-09  Will Newton  <will.newton@linaro.org>
18104         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
18105         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
18106         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
18107         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
18108         * sysdeps/hppa/start.S (_start): Likewise.
18110 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
18112         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
18114         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
18115         defined.
18117 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
18119         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
18120         after checking that it is non-NULL.
18122         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
18124 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18126         * sysdeps/powerpc/memmove.c: Remove file.
18127         * sysdeps/powerpc/powerpc32/power4/memcopy.h
18128         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
18129         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
18130         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
18131         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
18132         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
18133         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
18134         string memmove instead of removed powerpc one.
18136         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
18137         [weak_alias]: Fix compiler warning due trailing data.
18138         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
18139         [weak_alias]: Likewise.
18140         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
18141         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
18143         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18144         (__libc_ifunc_impl_list): Add memmove functions.
18146 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
18148         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
18149         Remove code.
18150         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
18151         Likewise
18152         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
18153         Likewise
18154         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
18155         Likewise
18156         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
18157         Likewise
18158         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
18159         Likewise
18160         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
18161         Likewise
18162         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
18163         Likewise
18164         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
18165         Likewise
18166         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
18167         Likewise
18168         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
18169         Likewise
18170         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
18171         Likewise
18172         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
18173         Likewise
18174         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
18175         Likewise
18176         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
18177         Likewise
18178         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
18179         Likewise
18180         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
18181         Likewise
18183 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18185         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
18186         to avoid alignment traps in non-cacheable memory.
18187         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
18189         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
18190         multiarch objects.
18191         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
18192         file: multiarch power7 memmove.
18193         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
18194         multiarch default memmove.
18195         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
18196         multiarch memove for powerpc32/power4.
18198         * string/bcopy.c: Use full path to include memmove.c.
18199         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
18200         multiarch objects.
18201         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
18202         bcopy for powerpc64.
18203         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
18204         bcopy for powerpc64.
18205         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
18206         and memmove implementations.
18207         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
18208         optimized multiarch memmove for POWER7/powerpc64.
18209         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
18210         default multiarch memmove for powerpc64.
18211         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
18212         multiarch for powerpc64.
18213         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
18214         for POWER7/powerpc64.
18215         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
18216         memmove for POWER7/powerpc64.
18218         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
18219         glibc default one.
18221         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
18222         __ELF_NATIVE_CLASS equal to 64.
18224 2014-07-07  Roland McGrath  <roland@hack.frob.com>
18226         * sysdeps/nptl/lowlevellock.h: File removed.
18228         * NEWS: NPTL is no longer an add-on!
18229         * nptl/internaltypes.h: Moved ...
18230         * sysdeps/nptl/internaltypes.h: ... here.
18231         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
18232         * sysdeps/nptl/fork.c: Likewise.
18233         * sysdeps/nptl/gai_misc.h: Likewise.
18234         * sysdeps/nptl/librt-cancellation.c: Likewise.
18235         * sysdeps/nptl/jmp-unwind.c: Likewise.
18236         * sysdeps/nptl/setxid.h: Likewise.
18237         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
18238         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
18239         * sysdeps/unix/sysv/linux/arm/Implies: New file.
18240         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
18241         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
18242         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
18243         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
18244         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
18245         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
18246         * sysdeps/unix/sysv/linux/mips/Implies: New file.
18247         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
18248         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
18249         * sysdeps/unix/sysv/linux/sh/Implies: New file.
18250         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
18251         * sysdeps/unix/sysv/linux/tile/Implies: New file.
18252         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
18253         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
18254         * nptl/Makeconfig: Moved ...
18255         * sysdeps/nptl/Makeconfig: ... here.
18256         * nptl/configure: File removed.
18257         * nptl/ANNOUNCE: File removed.
18258         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
18259         * sysdeps/unix/sysv/linux/configure: Regenerated.
18261         * nptl/Makefile (routines): Add libc_pthread_init,
18262         libc_multiple_threads, register-atfork and unregister-atfork.
18263         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
18264         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
18265         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
18266         pthread-pi-defines.sym, structsem.sym.
18267         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
18268         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
18269         [$(subdir) = nptl] (tests): Add tst-setgetname.
18270         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
18271         * sysdeps/unix/sysv/linux/sigaction.c: Just include
18272         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
18273         [!LIBC_SIGACTION]: Remove aliases.
18274         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
18275         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
18276         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
18277         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
18278         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
18279         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
18280         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
18281         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
18282         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
18283         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
18284         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
18285         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
18286         __libc_allocate_rtsig_private.
18287         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
18288         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
18289         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
18290         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
18291         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
18292         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
18293         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
18294         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
18295         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
18296         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
18297         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
18298         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
18299         * nptl/internaltypes.h: ... here.
18300         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
18301         * sysdeps/nptl/jmp-unwind.c: ... here.
18302         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
18303         * nptl/libc-lowlevellock.c: ... here.
18304         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
18305         * nptl/libc_multiple_threads.c: ... here.
18306         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
18307         * nptl/libc_pthread_init.c: ... here.
18308         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
18309         * nptl/lowlevelbarrier.sym: ... here.
18310         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
18311         * nptl/lowlevelcond.sym: ... here.
18312         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
18313         * nptl/lowlevellock.c: ... here.
18314         * nptl/lowlevellock.h: Moved ...
18315         * sysdeps/nptl/lowlevellock.h: ... here.
18316         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
18317         * nptl/lowlevelrobustlock.c: ... here.
18318         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
18319         * nptl/lowlevelrobustlock.sym: ... here.
18320         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
18321         * nptl/lowlevelrwlock.sym: ... here.
18322         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
18323         * nptl/pt-fork.c: ... here.
18324         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
18325         * nptl/pthread-pi-defines.sym: ... here.
18326         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
18327         * nptl/pthread_attr_getaffinity.c: ... here.
18328         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
18329         * nptl/pthread_attr_setaffinity.c: ... here.
18330         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
18331         * nptl/pthread_mutex_cond_lock.c: ... here.
18332         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
18333         Update #include.
18334         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
18335         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
18336         * nptl/pthread_once.c: ... here, replacing old file.
18337         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
18338         * nptl/pthread_yield.c: ... here.
18339         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
18340         * nptl/register-atfork.c: ... here.
18341         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
18342         * nptl/sem_post.c: ... here.
18343         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
18344         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
18345         * nptl/sem_timedwait.c: ... here.
18346         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
18347         * nptl/sem_trywait.c: ... here.
18348         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
18349         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
18350         * nptl/sem_wait.c: ... here.
18351         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
18352         * nptl/structsem.sym: ... here.
18353         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
18354         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
18355         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
18356         * nptl/unregister-atfork.c: ... here.
18357         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
18358         * nptl/unwindbuf.sym: ... here.
18359         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
18360         * sysdeps/nptl/fork.c: ... here.
18361         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
18362         * sysdeps/nptl/fork.h: ... here.
18363         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
18364         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
18365         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
18366         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
18367         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
18368         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
18369         * sysdeps/unix/sysv/linux/getpid.c: ... here.
18370         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
18371         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
18372         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
18373         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
18374         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
18375         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
18376         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
18377         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
18378         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
18379         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
18380         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
18381         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
18382         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
18383         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
18384         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
18385         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
18386         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
18387         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
18388         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
18389         * sysdeps/unix/sysv/linux/raise.c: ... here.
18390         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
18391         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
18392         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
18393         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
18394         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
18395         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
18396         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
18397         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
18398         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
18399         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
18400         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
18401         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
18402         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
18403         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
18404         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
18406 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18408         * sysdeps/generic/memcopy.h: Add comment for
18409         MEMCPY_OK_FOR_FWD_MEMMOVE.
18411 2014-07-04  Will Newton  <will.newton@linaro.org>
18413         * string/memchr.c: Merge from gnulib.
18414         [_LIBC]: Remove conditionals.
18415         (__ptr_t): Remove define.
18416         (LONG_MAX_32_BITS): Likewise.
18417         (LONG_MAX): Likewise.
18418         (MEMCHR): Use ANSI prototype and optimize algorithm.
18420         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
18422 2014-07-03  Roland McGrath  <roland@hack.frob.com>
18424         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
18425         (lll_futex_timed_wait_bitset): Fix syscall argument count.
18427         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
18428         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
18429         in a bare environment with no <stdlib.h> installed.
18430         * sysdeps/nptl/configure: Regenerated.
18432         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
18434         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
18435         AC_EGREP_CPP for kernel header checks, so they only succeed if
18436         including <linux/version.h> actually works right.
18437         * sysdeps/unix/sysv/linux/configure: Regenerated.
18439         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
18440         value so it's not diagnosed as unused.
18442         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
18443         thing) with "ifeq ($(subdir),rt)".
18445 2014-07-03  Richard Henderson  <rth@redhat.com>
18447         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
18448         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
18449         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
18451         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
18452         (math_force_eval): New.
18454         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
18455         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
18457         * sysdeps/alpha/fpu/s_round.c: Remove file.
18458         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
18460         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
18461         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
18462         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
18463         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
18464         (_dl_start, print_statistics): Likewise.
18465         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
18466         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
18468         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
18469         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
18470         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
18471         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
18472         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
18473         (HP_SMALL_TIMING_AVAIL): Define.
18474         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
18475         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
18476         (HP_SMALL_TIMING_AVAIL): Define.
18477         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
18478         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
18480         * sysdeps/aarch64/hp-timing.h: New file.
18482         * sysdeps/generic/hp-timing.h: Remove dead comment.
18483         * sysdeps/generic/hp-timing-common.h: New file.
18484         * sysdeps/alpha/hp-timing.h: Include it.
18485         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
18486         * sysdeps/i386/i686/hp-timing.h: Likewise.
18487         * sysdeps/ia64/hp-timing.h: Likewise.
18488         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18489         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18490         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
18491         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
18492         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
18493         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
18494         (hp_timing_t): New.
18496         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
18497         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
18498         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
18499         * elf/rtld.c (_dl_start_final): Likewise.
18500         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
18501         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
18502         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
18503         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
18504         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
18505         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
18506         (HP_TIMING_DIFF_INIT): Remove.
18507         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
18508         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
18509         (HP_TIMING_DIFF_INIT): Remove.
18510         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
18511         * sysdeps/i386/i686/hp-timing.c: Remove file.
18512         * sysdeps/x86_64/hp-timing.c: Remove file.
18513         * sysdeps/ia64/hp-timing.c: Remove file.
18514         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
18515         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
18516         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
18517         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
18519         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
18520         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
18521         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
18522         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
18523         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
18524         (HP_TIMING_ACCUM): Remove.
18525         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
18526         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
18527         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
18529         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
18530         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
18531         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
18532         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
18533         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
18534         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
18535         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
18536         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
18538         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
18540 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
18542         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
18544 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18546         Sync up with gettext.
18547         * intl/loadmsgcat.c: Define O_BINARY if not defined.
18548         [_MSC_VER]: Include malloc.h
18549         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
18550         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
18551         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
18552         TEMP_FAILURE_RETRY.  Cast return of alloca.
18553         [!_LIBC] Call gl_rwlock_init.
18554         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
18556 2014-07-02  Roland McGrath  <roland@hack.frob.com>
18558         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
18559         before checking its value.
18561 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18563         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
18565         * debug/memcpy_chk.c: Don't include pagecopy.h.
18566         * debug/mempcpy_chk.c: Likewise.
18567         * string/memcpy.c: Likewise.
18568         * string/memmove.c: Likewise.
18569         * sysdeps/powerpc/memmove.c: Likewise.
18570         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
18571         definition of PAGE_COPY_FWD_MAYBE here...
18572         * sysdeps/generic/pagecopy.h: ... from here.
18573         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
18575 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
18576             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18578         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
18579         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
18580         optimizations.
18581         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18582         (__libc_ifunc_impl_list): Likewise.
18583         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
18584         multiarch strcat for PPC64.
18585         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
18586         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
18588 2014-07-02  Roland McGrath  <roland@hack.frob.com>
18590         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
18592 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18594         * intl/loadmsgcat.c: Remove declaration of
18595         get_sysdep_segment_value.
18596         (get_sysdep_segment_value): Use ISO C style.
18597         (_nl_load_domain): Use ISO C style.  Get rid of redundant
18598         semicolon.  Fix typo and formatting in comment.
18599         (_nl_unload_domain): Use ISO C style.
18601         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
18603 2014-07-02  Will Newton  <will.newton@linaro.org>
18605         * malloc/obstack.c: Merge from gnulib master.
18606         [HAVE_CONFIG_H]: Remove conditional code.
18607         [!_LIBC]: Include config.h.
18608         [!ELIDE_CODE]: Don't include inttypes.h, include
18609         stdint.h unconditionally.
18610         (print_and_abort): Mark as _Noreturn.
18611         (_obstack_allocated_p): Mark as __attribute_pure__.
18612         (obstack_free): Rename to __obstack_free.
18613         [!__attribute__]: Remove conditional code.
18614         * malloc/obstack.h: Merge from gnulib master.
18615         [__cplusplus]: Move conditional down.
18616         [!__attribute_pure__]: Define __attribute_pure__ here
18617         if it is not already defined.
18618         (_obstack_memory_used): Mark as __attribute_pure__.
18619         [!__obstack_free]: Define as obstack_free.
18620         [__GNUC__]: Remove check for ancient NeXT gcc.
18622 2014-07-02  Will Newton  <will.newton@linaro.org>
18623             Paul Eggert  <eggert@cs.ucla.edu>
18625         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
18627 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18629         * resolv/gethnamaddr.c: Add comment warning that the file is
18630         not maintained.
18632 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
18634         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
18635         entries.
18637         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
18638         entry for aio_cancel and aio_cancel64.
18639         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
18640         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
18641         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
18642         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
18643         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
18644         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
18645         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
18646         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
18647         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
18648         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
18649         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
18650         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
18651         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
18653 2014-07-01  Roland McGrath  <roland@hack.frob.com>
18655         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
18656         * nptl/pthread_mutex_lock.c: Likewise.
18657         * nptl/pthread_mutex_timedlock.c: Likewise.
18658         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
18660 2014-07-01  Richard henderson  <rth@redhat.com>
18662         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
18663         (__isnan, __isnanl): Remove.
18664         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
18666         * sysdeps/alpha/fpu/libm-test-ulps: Update.
18668 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
18670         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18672 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
18674         * resolv/nss_dns/dns-host.c (getanswer_r)
18675         [MULTI_PTRS_ARE_ALIASES]: Remove code.
18677 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
18679         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18680         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
18681         undefine.
18682         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
18683         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
18685 2014-07-01  Roland McGrath <roland@hack.frob.com>
18687         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
18688         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
18690         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
18691         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
18693         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
18694         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
18695         ... here.
18696         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
18697         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
18699         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
18700         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
18701         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
18702         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
18704         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
18705         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
18706         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
18707         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
18708         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
18709         Moved ...
18710         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
18711         ... here.
18712         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
18713         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
18714         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
18715         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
18716         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
18717         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
18718         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
18719         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
18720         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
18721         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
18722         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
18723         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
18724         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
18725         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
18726         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
18727         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
18728         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
18729         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
18730         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
18731         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
18732         ... here.
18733         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
18734         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
18735         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
18736         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
18737         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
18738         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
18739         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
18740         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
18742 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
18744         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
18745         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
18746         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
18747         Add sysdep.
18749 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18751         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18753 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
18755         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
18756         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18758         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18760         * sysdeps/arm/libm-test-ulps: Regenerated.
18762 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
18763             Roland McGrath <roland@hack.frob.com>
18765         * test-skeleton.c (signal_handler): Kill the whole process group
18766         before killing the child individually.
18767         (main): Report any failure on `setpgid'.
18769 2014-06-30  Roland McGrath  <roland@hack.frob.com>
18771         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
18772         from _TLS_H to _ARM_NPTL_TLS_H.
18773         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
18774         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
18776 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
18778         [BZ #16539]
18779         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
18780         (__expm1l): Return argument unchanged when small but not
18781         subnormal.
18783         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
18784         include macro name.
18785         (_FP_UNPACK_RAW_1_P): Likewise.
18786         (_FP_PACK_RAW_1): Likewise.
18787         (_FP_PACK_RAW_1_P): Likewise.
18788         (_FP_MUL_MEAT_1_wide): Likewise.
18789         (_FP_MUL_MEAT_DW_1_hard): Likewise.
18790         (_FP_MUL_MEAT_1_hard): Likewise.
18791         (_FP_DIV_MEAT_1_imm): Likewise.
18792         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
18793         (_FP_DIV_MEAT_1_udiv): Likewise.
18794         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
18795         (_FP_UNPACK_RAW_2): Likewise.
18796         (_FP_UNPACK_RAW_2_P): Likewise.
18797         (_FP_PACK_RAW_2): Likewise.
18798         (_FP_PACK_RAW_2_P): Likewise.
18799         (_FP_MUL_MEAT_DW_2_wide): Likewise.
18800         (_FP_MUL_MEAT_2_wide): Likewise.
18801         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
18802         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
18803         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
18804         (_FP_MUL_MEAT_2_gmp): Likewise.
18805         (_FP_DIV_MEAT_2_udiv): Likewise.
18806         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
18807         (_FP_FRAC_SRL_4): Likewise.
18808         (_FP_FRAC_SRST_4): Likewise.
18809         (_FP_FRAC_SRS_4): Likewise.
18810         (_FP_UNPACK_RAW_4): Likewise.
18811         (_FP_UNPACK_RAW_4_P): Likewise.
18812         (_FP_PACK_RAW_4): Likewise.
18813         (_FP_PACK_RAW_4_P): Likewise.
18814         (_FP_MUL_MEAT_DW_4_wide): Likewise.
18815         (_FP_MUL_MEAT_4_wide): Likewise.
18816         (_FP_MUL_MEAT_4_gmp): Likewise.
18817         (umul_ppppmnnn): Likewise.
18818         (_FP_DIV_MEAT_4_udiv): Likewise.
18819         (__FP_FRAC_ADD_4): Likewise.
18820         (__FP_FRAC_SUB_3): Likewise.
18821         (__FP_FRAC_SUB_4): Likewise.
18822         (__FP_FRAC_DEC_3): Likewise.
18823         (__FP_FRAC_DEC_4): Likewise.
18824         (__FP_FRAC_ADDI_4): Likewise.
18825         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
18826         (_FP_FRAC_SRL_8): Likewise.
18827         (_FP_FRAC_SRS_8): Likewise.
18829         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
18830         include macro name.
18831         (FP_UNPACK_RAW_EP): Likewise.
18832         (FP_PACK_RAW_E): Likewise.
18833         (FP_PACK_RAW_EP): Likewise.
18834         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
18835         (_FP_ISSIGNAN): Likewise.
18836         (_FP_ADD_INTERNAL): Likewise.
18837         (_FP_FMA): Likewise.
18838         (_FP_CMP): Likewise.
18839         (_FP_SQRT): Likewise.
18840         (_FP_TO_INT): Likewise.
18841         (_FP_FROM_INT): Likewise.
18842         (FP_EXTEND): Likewise.
18843         (_FP_DIV_MEAT_N_loop): Likewise.
18845 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
18847         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
18848         throughout.
18850 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
18852         [BZ #17097]
18853         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
18854         result with correct sign in case of exponents that produce
18855         overflow except for X very close to 1.
18857 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
18859         mktime: merge #if/#ifdef usage from glibc
18860         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
18861         as that works with both Glibc's and Gnulib's style.
18862         See thread starting at Siddhesh Poyarekar's bug report at:
18863         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
18865 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18867         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
18868         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
18869         * sysdeps/tile/tilegx/memmove.c: Remove file.
18871 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
18873         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
18874         abi-name definition.
18875         * scripts/soversions.awk: Do not handle or generate ABI lines.
18876         * shlib-versions: Remove ABI entries.
18877         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
18878         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
18880 2014-06-27  Roland McGrath  <roland@hack.frob.com>
18882         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
18883         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
18884         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
18885         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
18886         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
18887         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
18888         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
18889         Moved ...
18890         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
18891         ... here.
18892         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
18893         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
18894         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
18895         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
18896         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
18897         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
18898         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
18899         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
18900         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
18901         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
18902         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
18903         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
18904         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
18905         Moved ...
18906         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
18907         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
18908         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
18909         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
18910         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
18911         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
18912         Moved ...
18913         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
18914         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
18915         Moved ...
18916         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
18917         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
18918         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
18919         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
18920         Moved ...
18921         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
18922         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
18923         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
18924         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
18925         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
18926         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
18927         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
18928         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
18929         Moved ...
18930         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
18931         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
18932         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
18933         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
18934         Moved ...
18935         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
18936         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
18937         Moved ...
18938         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
18939         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
18940         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
18941         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
18942         Moved ...
18943         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
18944         ... here.
18945         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
18946         Identical file removed.
18947         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
18948         Moved ...
18949         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
18950         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
18951         Identical file removed.
18952         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
18953         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
18954         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
18955         Moved ...
18956         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
18957         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
18958         Identical file removed.
18959         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
18960         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
18961         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
18962         Identical file removed.
18963         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
18964         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
18965         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
18966         Identical file removed.
18967         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
18968         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
18969         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
18970         Identical file removed.
18971         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
18972         Moved ...
18973         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
18974         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
18975         Identical file removed.
18976         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
18977         Moved ...
18978         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
18979         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
18980         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
18981         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
18982         Identical file removed.
18983         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
18984         Moved ...
18985         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
18986         ... here.
18987         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
18988         Identical file removed.
18989         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
18990         Moved ...
18991         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
18992         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
18993         Identical file removed.
18994         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
18995         Moved ...
18996         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
18997         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
18998         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
18999         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
19000         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
19001         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
19002         Moved ...
19003         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
19004         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
19005         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
19007         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
19008         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
19009         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
19010         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
19011         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
19013 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
19015         [BZ #17092]
19016         * nscd/nscd.c (monitor_child): Return exit status of child
19017         instead of return value from wait syscall.
19019 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
19021         * configure.ac (libc_commonpagesize): Remove variable.
19022         (libc_relro_required): Likewise.
19023         (libc_cv_z_relro): Remove configure test.
19024         * configure: Regenerated.
19025         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
19026         variable.
19027         (libc_relro_required): Likewise.
19028         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
19029         (libc_relro_required): Likewise.
19030         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
19031         (libc_relro_required): Likewise.
19032         * sysdeps/arm/preconfigure: Regenerated.
19033         * sysdeps/ia64/preconfigure: Remove file.
19034         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
19035         variable.
19036         (libc_relro_required): Likewise.
19038         [BZ #16561]
19039         [BZ #16562]
19040         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
19041         (__ieee754_yn): Set FE_TONEAREST mode internally and then
19042         recompute overflowing results in original rounding mode.
19043         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
19044         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
19045         recompute overflowing results in original rounding mode.
19046         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
19047         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
19048         recompute overflowing results in original rounding mode.
19049         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
19050         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
19051         recompute overflowing results in original rounding mode.
19052         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
19053         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
19054         recompute overflowing results in original rounding mode.
19055         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
19056         (libc_feholdsetround_ctx): New macro.
19057         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
19058         * sysdeps/i386/fpu/libm-test-ulps: Update.
19059         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
19061 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
19063         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
19064         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
19065         corresponding .cpsetup call.
19067 2014-06-26  Roland McGrath  <roland@hack.frob.com>
19069         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
19070         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
19071         * sysdeps/arm/Makefile [$(subdir) = csu]
19072         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
19073         (static-only-routines): Add aeabi_read_tp here.
19074         (shared-only-routines): Add libc-aeabi_read_tp here.
19075         (CFLAGS-libc-start.c): Add -fexceptions here.
19076         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
19077         (sysdep_routines, static-only-routines, shared-only-routines):
19078         Don't add to these here.
19079         (CFLAGS-libc-start.c): Likewise.
19081         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
19082         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
19083         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
19084         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
19085         * sysdeps/arm/Makefile [$(subdir) = rt]
19086         (librt-sysdep_routines, librt-shared-only-routines):
19087         Append rt-aeabi_unwind_cpp_pr1 here.
19088         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
19089         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
19090         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
19091         (libpthread-sysdep_routines, libpthread-shared-only-routines):
19092         Append nptl-aeabi_unwind_cpp_pr1 here.
19093         (tests): Filter out tst-cleanupx4 here.
19094         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
19095         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
19096         Don't do those here.
19098 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
19100         * scripts/list-sources.sh: Do not handle ports specially.
19102 2014-06-26  Roland McGrath  <roland@hack.frob.com>
19104         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
19105         * sysdeps/arm/feupdateenv.c: Likewise.
19107         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
19109 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
19111         * manual/texinfo.tex: Update to version 2014-05-05.10 with
19112         trailing whitespace removed.
19113         * scripts/config.guess: Update to version 2014-03-23.
19114         * scripts/config.sub: Update to version 2014-05-01
19115         * scripts/install-sh: Update to version 2013-12-25.23.
19116         * scripts/move-if-change: Update from gnulib.
19118 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19120         * debug/memmove_chk.c: Remove pagecopy.h include.
19122 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
19124         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
19125         identical to gnulib mktime.
19127 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
19129         * configure.ac: Do not test for machine being rs6000.  Do not test
19130         for powerpc*-*soft.
19131         * configure: Regenerated.
19133         [BZ #11505]
19134         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
19135         test.
19136         * configure: Regenerated.
19137         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
19138         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
19139         Remove configure test.
19140         * sysdeps/arm/configure: Regenerated.
19141         * sysdeps/nptl/configure.ac: Do not check
19142         libc_cv_asm_cfi_directives.
19143         * sysdeps/nptl/configure: Regenerated.
19144         * sysdeps/x86_64/nptl/configure.ac: Remove file.
19145         * sysdeps/x86_64/nptl/configure: Remove generated file.
19146         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
19147         unconditional.
19148         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
19150 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19152         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
19153         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
19154         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
19155         it is defined.
19157         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
19158         instead of whether it is defined.
19159         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
19160         * sysdeps/hppa/dl-machine.h: Likewise.
19161         * sysdeps/ia64/dl-machine.h: Likewise.
19162         * sysdeps/m68k/dl-machine.h: Likewise.
19163         * sysdeps/microblaze/dl-machine.h: Likewise.
19164         * sysdeps/mips/dl-machine.: Likewise.
19165         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
19166         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19167         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
19168         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
19169         * sysdeps/sh/dl-machine.h: Likewise.
19170         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19171         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19172         * sysdeps/tile/dl-machine.h: Likewise.
19173         * sysdeps/x86_64/dl-machine.h: Likewise.
19175         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
19176         code.
19177         (verify_persistent_db): Likewise.
19179 2014-06-26  Roland McGrath  <roland@hack.frob.com>
19181         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
19182         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
19183         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
19184         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
19185         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
19186         Moved ...
19187         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
19188         ... here.
19189         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
19190         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
19191         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
19192         Identical file removed.
19193         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
19194         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
19195         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
19196         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
19197         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
19198         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
19199         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
19200         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
19201         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
19202         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
19203         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19204         Moved ...
19205         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
19206         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
19207         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
19208         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
19209         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
19210         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
19211         Moved ...
19212         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
19213         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
19214         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
19215         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
19216         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
19217         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
19218         Identical file removed.
19219         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
19220         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
19221         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
19222         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
19223         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
19224         Moved ...
19225         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
19226         ... here.
19227         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
19228         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
19229         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
19230         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
19231         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
19232         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
19233         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
19234         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
19235         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
19236         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
19237         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19238         Moved ...
19239         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
19240         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
19241         Moved ...
19242         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
19243         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
19244         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
19245         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
19246         Moved ...
19247         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
19248         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
19249         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
19251         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
19252         folded into ...
19253         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
19254         * sysdeps/unix/sysv/linux/s390/Versions
19255         (libpthread: GLIBC_2.19): New version set.
19256         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
19257         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
19258         (librt: GLIBC_2.3.3): New version set.
19259         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
19260         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
19261         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
19262         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
19263         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
19264         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
19265         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
19266         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
19267         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
19268         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
19269         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
19270         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
19271         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
19272         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
19273         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
19274         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
19275         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
19276         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
19277         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
19278         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
19279         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
19280         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
19281         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
19282         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
19283         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
19284         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
19285         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
19286         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
19287         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
19288         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
19289         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
19290         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
19291         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
19292         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
19293         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
19294         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
19295         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
19296         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
19297         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
19298         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
19299         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
19300         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
19301         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
19302         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
19303         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
19305         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
19306         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
19307         (__libc_vfork): Define the function under this name.
19308         [!NOT_IN_libc] (__vfork): Make this an alias.
19309         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
19310         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
19311         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
19312         (__libc_vfork): Define the function under this name.
19313         [!NOT_IN_libc] (__vfork): Make this an alias.
19314         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
19315         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
19316         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
19317         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
19318         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
19319         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
19321         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
19322         code that was previously under [RESET_PID].
19323         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
19324         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
19325         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
19327         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
19328         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
19329         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
19330         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
19331         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
19332         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
19333         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
19334         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
19335         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
19336         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
19337         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
19338         Moved ...
19339         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
19340         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
19341         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
19342         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
19343         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
19344         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
19345         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
19346         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
19347         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
19348         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
19349         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
19350         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
19351         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
19352         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
19353         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
19354         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
19355         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
19356         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
19357         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
19358         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
19359         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
19360         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
19361         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
19362         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
19363         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
19364         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
19365         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
19366         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
19367         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
19369 2014-06-25  Roland McGrath  <roland@hack.frob.com>
19371         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
19372         that was previously under [RESET_PID].
19373         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
19375 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
19377         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
19378         not undefine and redefine.
19379         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
19380         [O_CLOEXEC]: Make code unconditional.
19381         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
19382         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
19383         <kernel-features.h>.
19384         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
19385         conditional variable definition.
19386         (shm_open) [O_CLOEXEC]: Make code unconditional.
19387         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
19388         code.
19390         * configure.ac (USE_REGPARMS): Don't define here.
19391         * configure: Regenerated.
19392         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
19393         * sysdeps/i386/configure: Regenerated.
19395         * nptl/createthread.c: Don't include kernel-features.h.
19396         * nptl/pthread_cancel.c: Likewise.
19397         * nptl/pthread_condattr_setclock.c: Likewise.
19398         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
19399         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
19400         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
19401         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
19402         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
19403         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
19404         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
19405         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
19406         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
19407         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
19408         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
19409         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
19410         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
19411         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
19412         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
19413         * nscd/gai.c: Likewise.
19414         * nss/nss_db/db-open.c: Likewise.
19415         * sysdeps/generic/ldsodefs.h: Likewise.
19416         * sysdeps/sh/nptl/tls.h: Likewise.
19417         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
19418         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
19419         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
19420         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
19421         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
19422         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
19423         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
19424         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19425         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
19426         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
19427         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
19428         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
19429         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
19430         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
19431         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
19432         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
19433         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
19434         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
19435         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
19436         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
19437         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
19438         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
19439         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
19440         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
19441         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
19442         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
19443         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
19444         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
19445         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
19446         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
19447         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
19448         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
19449         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
19450         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
19451         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
19452         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
19453         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
19454         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
19455         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
19456         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
19457         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
19458         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
19459         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
19460         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19461         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
19462         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
19463         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
19464         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
19465         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
19466         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
19467         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
19468         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
19469         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
19470         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
19471         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
19472         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
19473         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
19474         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
19475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
19476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
19477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
19478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
19479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
19480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
19481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
19482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
19483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
19484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
19485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
19486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
19487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
19488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
19489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
19490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
19491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
19492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
19493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
19494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
19495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
19496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
19497         * sysdeps/unix/sysv/linux/pread.c: Likewise.
19498         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
19499         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
19500         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
19501         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
19502         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
19503         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
19504         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
19505         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
19506         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
19507         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
19508         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
19509         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
19510         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
19511         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
19512         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
19513         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
19514         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
19515         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
19516         * sysdeps/unix/sysv/linux/system.c: Likewise.
19517         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
19518         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
19519         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
19520         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
19521         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
19522         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
19523         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
19525         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
19526         * configure: Regenerated.
19527         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
19529         * configure.ac (base_machine): Do not set specially for particular
19530         machines here.
19531         * configure: Regenerated.
19532         * sysdeps/powerpc/preconfigure: Move machine and base_machine
19533         settings from configure.ac.
19534         * sysdeps/i386/preconfigure: New file.
19535         * sysdeps/s390/preconfigure: Likewise.
19536         * sysdeps/sh/preconfigure: Likewise.
19537         * sysdeps/sparc/preconfigure: Likewise.
19539 2014-06-25  Roland McGrath  <roland@hack.frob.com>
19541         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
19542         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
19543         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
19544         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
19545         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
19546         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
19547         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
19548         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
19549         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
19550         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
19551         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
19552         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
19553         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
19554         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
19555         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
19556         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
19557         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
19558         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
19559         * sysdeps/sparc/sparc64/Makefile: ... appended here.
19561         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
19562         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
19563         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
19564         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
19565         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
19566         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
19567         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
19568         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
19569         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
19570         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
19571         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
19572         * sysdeps/sparc/sparc32/sem_post.c: ... here.
19573         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
19574         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
19575         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
19576         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
19577         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
19578         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
19579         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
19580         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
19581         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
19582         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
19583         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
19584         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
19585         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
19586         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
19587         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
19588         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
19589         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
19590         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
19591         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
19592         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
19593         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
19594         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
19595         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
19596         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
19597         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
19598         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
19600         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
19601         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
19602         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
19603         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
19604         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
19605         Moved ...
19606         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
19607         ... here.
19608         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
19609         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
19610         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
19611         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
19612         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
19613         Moved ...
19614         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
19615         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
19616         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
19617         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
19618         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
19619         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
19620         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
19621         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19622         Moved ...
19623         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
19624         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
19625         Moved ...
19626         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
19627         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
19628         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
19629         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
19630         Moved ...
19631         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
19632         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
19633         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
19634         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
19635         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
19636         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
19637         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
19638         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
19639         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
19640         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
19641         Moved ...
19642         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
19643         ... here.
19644         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
19645         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
19646         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
19647         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
19648         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
19649         Moved ...
19650         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
19651         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
19652         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
19653         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
19654         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
19655         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
19656         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
19657         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19658         Moved ...
19659         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
19660         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
19661         Moved ...
19662         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
19663         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
19664         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
19665         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
19666         Moved ...
19667         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
19668         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
19669         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
19670         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
19671         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
19673 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
19675         * timezone/checktab.awk: Update from tzcode 2014e.
19676         * timezone/private.h: Likewise.
19677         * timezone/tzfile.h: Likewise.
19678         * timezone/zdump.c: Likewise.
19679         * timezone/zic.c: Likewise.
19681         * sysdeps/unix/sysv/linux/kernel-features.h
19682         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
19683         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
19684         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
19685         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
19686         Remove conditional code.
19688 2014-06-25  Will Newton  <will.newton@linaro.org>
19690         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
19691         (_dl_arm_cap_flags): Add HWCAP2 values.
19692         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
19693         (_DL_HWCAP_COUNT): Increase to 37.
19694         (_DL_HWCAP_LAST): New define.
19695         (_DL_HWCAP2_LAST): New define.
19696         (_dl_procinfo): Add support for printing
19697         AT_HWCAP2 entries.
19698         (_dl_string_hwcap): Use _dl_hwcap_string.
19700 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19702         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19704 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
19706         * README: Do not mention ports directory.
19708         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
19709         Remove macro.
19710         * sysdeps/unix/sysv/linux/futimes.c: Do not include
19711         <kernel-features.h>.
19712         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
19713         conditional variable definition.
19714         (__futimes): Update comment.
19715         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
19716         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
19718         [BZ #16560]
19719         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
19720         arguments close to 0.
19721         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
19722         Likewise.
19723         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
19724         Likewise.
19725         * math/auto-libm-test-in: Add more tests of exp10.
19726         * math/auto-libm-test-out: Regenerated.
19727         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19729         * sysdeps/unix/sysv/linux/kernel-features.h
19730         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
19731         * sysdeps/unix/sysv/linux/readv.c: Do not include
19732         <kernel-features.h>.
19733         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
19734         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
19735         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
19736         unconditional.
19737         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
19738         conditional code.
19739         * sysdeps/unix/sysv/linux/writev.c: Do not include
19740         <kernel-features.h>.
19741         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
19742         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
19743         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
19744         unconditional.
19745         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
19746         conditional code.
19748 2014-06-25  Will Newton  <will.newton@linaro.org>
19750         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
19751         comment changes throughout the file.  Remove checks
19752         for HAVE_*_H definitions that are not required.
19753         (__gen_tempname): Call abort if an unknown kind value is
19754         passed.
19756 2014-06-25  Andreas Schwab  <schwab@suse.de>
19758         [BZ #17086]
19759         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
19760         scalbln, scalblnf, scalblnl in libc.
19762 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
19764         [BZ #17086]
19765         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
19766         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
19767         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
19769 2014-06-24  Roland McGrath  <roland@hack.frob.com>
19771         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
19772         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
19773         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
19774         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
19775         Update #include.
19776         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
19777         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
19778         Update #include.
19779         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
19780         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
19781         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
19782         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
19783         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
19784         * sysdeps/x86/bits/pthreadtypes.h: ... here.
19785         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
19786         * sysdeps/x86/bits/semaphore.h: ... here.
19787         * sysdeps/x86/nptl/elide.h: Moved ...
19788         * sysdeps/x86/elide.h: ... here.
19789         * sysdeps/x86_64/nptl/Implies: File removed.
19790         * sysdeps/i386/nptl/Implies: File removed.
19792 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
19794         [BZ #16539]
19795         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
19796         return the argument for normal arguments with exponent below -64.
19797         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19798         Likewise.
19799         * math/auto-libm-test-in: Add another test of expm1.
19800         * math/auto-libm-test-out: Regenerated.
19802         [BZ #16287]
19803         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
19804         calling __erfcl for arguments at least 16.
19805         * math/auto-libm-test-in: Add more tests of erf.
19806         * math/auto-libm-test-out: Regenerated.
19808         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
19809         individual architectures.
19810         * sysdeps/unix/sysv/linux/configure: Regenerated.
19811         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
19812         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
19813         * sysdeps/unix/sysv/linux/powerpc/configure.ac
19814         (ldd_rewrite_script): Define variable.
19815         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
19816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
19817         file.
19818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
19819         generated file.
19820         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
19821         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
19822         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
19823         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
19824         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
19825         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
19826         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
19827         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
19829 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19831         [BZ #17084]
19832         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
19833         Rename member __data.d to __data.__elision_data.
19835 2014-06-24  Wilco  <wdijkstr@arm.com>
19837         * NEWS: Add 16918 to fixed bug list.
19839 2014-06-24  Wilco  <wdijkstr@arm.com>
19841         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
19843 2014-06-24  Wilco  <wdijkstr@arm.com>
19845         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
19846         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
19847         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
19848         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
19849         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
19850         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
19851         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
19852         Use _FPU_MASK_RM.
19854 2014-06-24  Wilco  <wdijkstr@arm.com>
19856         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
19858 2014-06-24  Wilco  <wdijkstr@arm.com>
19860         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
19861         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
19862         * sysdeps/arm/fesetround.c (fesetround): Remove space.
19863         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
19865 2014-06-24  Wilco  <wdijkstr@arm.com>
19867         [BZ #16918]
19868         * sysdeps/arm/feupdateenv.c (feupdateenv):
19869         Rewrite to reduce FPSCR accesses and fix return value.
19871 2014-06-24  Wilco  <wdijkstr@arm.com>
19873         * sysdeps/arm/fclrexcpt.c (feclearexcept):
19874         Optimize to avoid unnecessary FPSCR writes.
19875         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
19876         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
19877         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
19878         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
19880 2014-06-24  Wilco  <wdijkstr@arm.com>
19882         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
19883         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
19884         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
19885         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
19886         Call libc_fetestexcept_vfp.
19887         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
19888         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
19889         __SOFTFP__ ifdef so that they can be built for softfp.
19891 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19893         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
19894         argument type signed char.
19896         * Makerules (check-abi): Dump diff of symlist if the test
19897         fails.
19899 2014-06-23  Roland McGrath  <roland@hack.frob.com>
19901         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
19902         using abort.
19904         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
19905         Remove unused variable ST.
19907 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
19909         [BZ #16354]
19910         [BZ #17061]
19911         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
19912         small arguments before calling __expm1.
19913         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
19914         small arguments before calling __expm1f.
19915         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
19916         small arguments before calling __expm1l.
19917         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
19918         Likewise.
19919         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
19920         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
19921         spurious underflow for some cosh tests.
19922         * math/auto-libm-test-out: Regenerated.
19923         * sysdeps/i386/fpu/libm-test-ulps: Update.
19925         [BZ #17050]
19926         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
19927         (__ieee754_y1): Set errno if return value overflows.
19928         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
19929         (__ieee754_y1f): Set errno if return value overflows.
19930         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
19931         (__ieee754_y1l): Set errno if return value overflows.
19932         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
19933         (__ieee754_y1l): Set errno if return value overflows.
19934         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
19935         * math/auto-libm-test-out: Regenerated.
19937         * math/gen-auto-libm-tests.c: Document use of
19938         ignore-zero-inf-sign.
19939         (input_flag_type): Add value flag_ignore_zero_inf_sign.
19940         (input_flags): Add ignore-zero-inf-sign.
19941         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
19942         * math/gen-libm-test.pl (generate_testfile): Handle
19943         ignore-zero-inf-sign.
19944         * math/auto-libm-test-in: Mark some cpow tests with
19945         ignore-zero-inf-sign and some with xfail-rounding.
19946         * math/auto-libm-test-out: Regenerated.
19947         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
19948         * sysdeps/i386/fpu/libm-test-ulps: Update.
19949         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19951         [BZ #16315]
19952         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
19953         overflowing or underflowing operations take place with sign of
19954         result.
19955         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
19956         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
19957         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
19958         (__ieee754_pow): Recompute overflowing and underflowing results in
19959         original rounding mode.
19960         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
19961         (__powl_helper): Allow negative argument X and scale negated value
19962         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
19963         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
19964         overflowing or underflowing operations take place with sign of
19965         result.
19966         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
19967         Include <math.h>.
19968         * math/auto-libm-test-in: Add more tests of pow.
19969         * math/auto-libm-test-out: Regenerated.
19970         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
19971         (pow_tonearest_test_data): Remove.
19972         (pow_test_tonearest): Likewise.
19973         (pow_towardzero_test_data): Likewise.
19974         (pow_test_towardzero): Likewise.
19975         (pow_downward_test_data): Likewise.
19976         (pow_test_downward): Likewise.
19977         (pow_upward_test_data): Likewise.
19978         (pow_test_upward): Likewise.
19979         (main): Don't call removed functions.
19980         * sysdeps/i386/fpu/libm-test-ulps: Update.
19981         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19983 2014-06-23  Roland McGrath  <roland@hack.frob.com>
19985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
19986         Moved ...
19987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
19988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19989         Moved ...
19990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
19991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19992         Moved ...
19993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
19994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
19995         Moved ...
19996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
19997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
19998         File removed.
19999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
20000         File removed.
20001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
20002         File removed.
20003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
20004         File removed.
20005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
20006         File removed.
20007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
20008         File removed.
20009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
20010         File removed.
20011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20012         File removed.
20013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
20014         File removed.
20015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
20016         File removed.
20017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
20018         File removed.
20019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
20020         File removed.
20021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
20022         Moved ...
20023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
20024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
20025         Moved ...
20026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
20027         ... here.
20028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
20029         Moved ...
20030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
20031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
20032         Moved ...
20033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
20034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
20035         Moved ...
20036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
20037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
20038         Moved ...
20039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
20040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
20041         Moved ...
20042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
20043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
20044         Moved ...
20045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
20046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
20047         Moved ...
20048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
20049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
20050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
20051         ... here.
20052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
20053         Moved ...
20054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
20055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
20056         Moved ...
20057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
20058         ... here.
20059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
20060         Moved ...
20061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
20062         ... here.
20063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20064         Moved ...
20065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
20066         ... here.
20067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
20068         Moved ...
20069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
20070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
20071         Moved ...
20072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
20073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
20074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
20075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
20076         Moved ...
20077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
20078         ... here.
20079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
20080         Moved ...
20081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
20082         ... here.
20083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
20084         Moved ...
20085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
20086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
20087         Moved ...
20088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
20089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
20090         Moved ...
20091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
20092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20093         Moved ...
20094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
20095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
20096         Moved ...
20097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
20098         ... here.
20099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
20100         Moved ...
20101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
20102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
20103         Moved ...
20104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
20105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
20106         Moved ...
20107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
20108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
20109         Moved ...
20110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
20111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
20112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
20113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
20114         Moved ...
20115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
20116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
20117         Moved ...
20118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
20119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
20120         Moved ...
20121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
20122         ... here.
20123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20124         Moved ...
20125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
20126         ... here.
20127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
20128         Moved ...
20129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
20130         ... here.
20131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
20132         Moved ...
20133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
20134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
20135         Moved ...
20136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
20137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
20138         Moved ...
20139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
20140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
20141         Moved ...
20142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
20143         ... here.
20144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
20145         Moved ...
20146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
20147         ... here.
20148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
20149         Moved ...
20150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
20151         ... here.
20152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
20153         Moved ...
20154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
20155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
20156         Moved ...
20157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
20159 2014-06-23  Will Newton  <will.newton@linaro.org>
20160             Wilco  <wdijkstr@arm.com>
20162         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
20163         implementation.  Include get-rounding-mode.h.
20164         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
20165         [!libc_feholdsetround_noex_ctx]: Define
20166         libc_feholdsetround_noex_ctx.
20167         [!libc_feholdsetround_noexf_ctx]: Define
20168         libc_feholdsetround_noexf_ctx.
20169         [!libc_feholdsetround_noexl_ctx]: Define
20170         libc_feholdsetround_noexl_ctx.
20171         (libc_feholdsetround_ctx): New function.
20172         (libc_feresetround_ctx): New function.
20173         (libc_feholdsetround_noex_ctx): New function.
20174         (libc_feresetround_noex_ctx): New function.
20176 2014-06-23  Roland McGrath  <roland@hack.frob.com>
20178         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
20179         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
20180         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
20181         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
20182         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
20183         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
20185         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
20186         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
20187         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
20188         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
20189         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
20190         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
20191         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
20192         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
20193         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
20194         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
20195         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
20196         Moved ...
20197         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
20198         ... here.
20199         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
20200         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
20201         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
20202         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
20203         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
20204         Moved ...
20205         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
20206         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
20207         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
20208         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
20209         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
20210         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
20211         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
20212         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
20213         Moved ...
20214         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
20215         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
20216         Moved ...
20217         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
20218         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
20219         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
20220         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
20221         Moved ...
20222         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
20223         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
20224         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
20225         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
20226         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
20227         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
20228         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
20229         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
20230         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
20231         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
20232         Moved ...
20233         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
20234         ... here.
20235         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
20236         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
20237         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
20238         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
20239         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
20240         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
20241         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
20242         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
20243         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
20244         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
20245         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
20246         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
20247         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
20248         Moved ...
20249         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
20250         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
20251         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
20252         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
20253         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
20254         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
20255         Moved ...
20256         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
20257         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
20258         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
20259         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
20260         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
20262         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
20263         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
20264         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
20265         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
20266         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
20267         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
20268         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
20269         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
20270         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
20271         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
20272         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
20273         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
20274         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
20275         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
20276         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
20277         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
20278         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
20279         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
20280         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
20281         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
20282         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
20283         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
20284         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
20285         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
20286         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
20287         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
20288         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
20289         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
20291 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
20293         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
20294         (FALLOC_FL_COLLAPSE_RANGE): New macro.
20295         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
20296         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
20297         (IPV6_PMTUDISC_INTERFACE): Likewise.
20298         (IPV6_PMTUDISC_OMIT): Likewise.
20300 2014-06-23  Andreas Schwab  <schwab@suse.de>
20302         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
20303         Remove unused errout label.
20305 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20307         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
20308         macro: hardware supports Vector Crypto instructions.
20310 2014-06-23  Will Newton  <will.newton@linaro.org>
20312         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
20313         rather than __builtin_expect.
20315         * elf/dl-lookup.c (undefined_msg): Remove variable.
20316         (_dl_lookup_symbol_x): Replace undefined_msg with string
20317         literal.
20319         * elf/dl-lookup.c (do_lookup_unique): New function.
20320         (do_lookup_x): Move STB_GNU_UNIQUE handling code
20321         to a separate function.
20323 2014-06-23  Andreas Schwab  <schwab@suse.de>
20325         [BZ #17079]
20326         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
20327         before reading the next line.
20329 2014-06-23  Will Newton  <will.newton@linaro.org>
20331         * test-skeleton.c (signal_handler): Use printf and %m
20332         rather than perror.  Use printf rather than fprintf to
20333         stderr.  Use puts rather than fputs to stderr.
20334         (main): Likewise.
20336 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
20338         * nscd/nscd.c (thread_info_t): Remove typedef.
20339         (thread_info): Remove variable.
20341 2014-06-21  Allan McRae  <allan@archlinux.org>
20343         * NEWS: Mention CVE-2014-4043.
20345 2014-06-20  Roland McGrath  <roland@hack.frob.com>
20347         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
20348         * nptl/smp.h: ... here.
20350         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
20352         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
20353         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
20354         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
20355         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
20357         * nptl/allocatestack.c: Include <stack-aliasing.h>.
20358         * nptl/stack-aliasing.h: New file.
20359         * sysdeps/i386/i686/stack-aliasing.h: New file.
20360         * sysdeps/i386/i686/nptl/Makefile: File removed.
20361         * sysdeps/x86_64/stack-aliasing.h: New file.
20362         * sysdeps/x86_64/nptl/Makefile
20363         (CFLAGS-pthread_create.c): Variable removed.
20365         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
20366         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
20367         old file.
20368         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
20369         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
20370         old file.
20372 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
20374         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20375         (__ASSUME_SIGFRAME_V2): Remove macro.
20376         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
20377         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
20378         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
20379         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
20380         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
20381         Declare as function.  Remove conditional macro definitions.
20382         (__default_rt_sa_restorer): Likewise.
20383         (__default_sa_restorer_v1): Remove declaration.
20384         (__default_sa_restorer_v2): Likewise.
20385         (__default_rt_sa_restorer_v1): Likewise.
20386         (__default_rt_sa_restorer_v2): Likewise.
20387         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
20388         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
20389         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
20391 2014-06-20  Roland McGrath  <roland@hack.frob.com>
20393         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
20394         (libpthread-routines): Add sysdep.
20395         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
20396         * sysdeps/unix/sysv/linux/sparc/Versions
20397         (libpthread: GLIBC_2.3.3): New version set.
20398         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
20399         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
20400         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
20401         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
20402         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
20403         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
20404         Moved ...
20405         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
20406         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
20407         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
20408         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
20409         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
20410         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
20411         * sysdeps/sparc/nptl/sem_init.c: ... here.
20412         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
20413         * sysdeps/sparc/nptl/sem_post.c: ... here.
20414         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
20415         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
20416         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
20417         * sysdeps/sparc/nptl/sem_wait.c: ... here.
20418         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
20419         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
20420         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
20421         (libpthread-routines): Add cpu_relax.
20422         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
20423         File removed.
20424         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
20425         (librt: GLIBC_2.3.3): New version set.
20426         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
20427         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
20428         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
20429         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
20430         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
20431         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
20432         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
20433         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
20434         Moved ...
20435         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
20436         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
20437         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
20438         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
20439         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
20440         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
20441         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
20442         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
20443         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
20444         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
20445         Moved ...
20446         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
20447         Update #include.
20448         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
20449         Moved ...
20450         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
20451         Update #include.
20452         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
20453         Moved ...
20454         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
20455         Update #include.
20456         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
20457         Moved ...
20458         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
20459         Update #include.
20460         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
20461         Moved ...
20462         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
20463         Update #include.
20464         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
20465         Moved ...
20466         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
20467         Update #include.
20468         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
20469         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
20470         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
20471         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
20472         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
20473         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
20474         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
20475         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
20476         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
20477         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
20478         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
20479         Moved ...
20480         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
20481         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
20482         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
20483         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
20484         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
20486 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
20488         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
20489         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
20490         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
20491         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
20492         * nscd/nscd.c: Likewise.
20493         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
20494         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
20495         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
20496         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
20498         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
20499         <kernel-features.h>.
20500         (init_mq_netlink): Remove conditional have_sock_cloexec
20501         definitions.  Remove code conditional on have_sock_cloexec < 0.
20502         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
20503         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
20504         * sysdeps/unix/sysv/linux/opensock.c: Do not include
20505         <kernel-features.h>.
20506         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
20507         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
20509 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
20511         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20512         Add tests for memset_chk and memset.
20514         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
20515         with AVX2_Usable.
20517 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
20519         [BZ #16046]
20520         * elf/tst-dl-iter-static.c: New file.
20521         * elf/Makefile (tests-static): Add tst-dl-iter-static.
20523         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
20524         error.
20526 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
20528         * sysdeps/unix/sysv/linux/kernel-features.h
20529         (__ASSUME_F_GETOWN_EX): Remove macro.
20530         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
20531         <kernel-features.h>.
20532         (miss_F_GETOWN_EX): Remove variable or macro.
20533         (do_fcntl): Do not check miss_F_GETOWN_EX.
20534         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
20536         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
20537         Remove macro.
20538         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
20539         [!__ASSUME_AT_RANDOM]: Remove conditional code.
20540         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
20542         * sysdeps/unix/sysv/linux/kernel-features.h
20543         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
20544         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
20545         [ADJ_OFFSET_SS_READ]: Make code unconditional.
20546         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
20548 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
20550         [BZ #17075]
20551         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
20552         Fix calculation of the symbol's value.
20553         * sysdeps/arm/tst-armtlsdescloc.c: New file.
20554         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
20555         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
20556         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
20557         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
20558         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
20559         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
20560         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
20561         (modules-names): Add `tst-armtlsdescmod',
20562         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
20563         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
20564         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
20565         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
20566         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
20567         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
20568         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
20569         ($(objpfx)tst-armtlsdescloc): New dependency.
20570         ($(objpfx)tst-armtlsdescextnow): Likewise.
20571         ($(objpfx)tst-armtlsdescextlazy): Likewise.
20572         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
20573         TLS scheme support.
20574         * sysdeps/arm/configure: Regenerate.
20576 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
20578         * include/fcntl.h (__atfct_seterrno): Remove prototype.
20579         (__atfct_seterrno_2): Likewise.
20580         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
20581         <kernel-features.h>.
20582         (__ASSUME_ATFCTS): Do not undefine and redefine.
20583         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
20584         (__have_atfcts): Remove conditional definition.
20585         (__fxstatat([__NR_fstatat64]: Make code unconditional.
20586         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
20587         unreachable if [__ASSUME_ATFCTS].
20588         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
20589         not undefine and redefine.
20590         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
20591         <kernel-features.h>.
20592         (faccessat) [__NR_faccessat]: Make code unconditional.
20593         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
20594         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
20595         <kernel-features.h>.
20596         (fchmodat) [__NR_fchmodat]: Make code unconditional.
20597         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
20598         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
20599         <kernel-features.h>.
20600         (fchownat) [__NR_fchownat]: Make code unconditional.
20601         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
20602         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
20603         <kernel-features.h>.
20604         (futimesat) [__NR_futimesat]: Make code unconditional.
20605         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
20606         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
20607         <kernel-features.h>.
20608         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
20609         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
20610         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
20611         <kernel-features.h>.
20612         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
20613         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
20614         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
20615         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
20616         <kernel-features.h>.
20617         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
20618         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
20619         * sysdeps/unix/sysv/linux/linkat.c: Do not include
20620         <kernel-features.h>.
20621         (linkat) [__NR_linkat]: Make code unconditional.
20622         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
20623         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
20624         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
20625         <kernel-features.h>.
20626         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
20627         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
20628         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
20629         <kernel-features.h>.
20630         (mkdirat) [__NR_mkdirat]: Make code unconditional.
20631         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
20632         * sysdeps/unix/sysv/linux/openat.c: Do not include
20633         <kernel-features.h>.
20634         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
20635         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
20636         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
20637         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
20638         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
20639         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
20640         <kernel-features.h>.
20641         (readlinkat) [__NR_readlinkat]: Make code unconditional.
20642         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
20643         result of INLINE_SYSCALL directly, not via int variable.
20644         * sysdeps/unix/sysv/linux/renameat.c: Do not include
20645         <kernel-features.h>.
20646         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
20647         (renameat) [__NR_renameat]: Make code unconditional.
20648         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
20649         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
20650         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
20651         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
20652         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
20653         (__ASSUME_ATFCTS): Do not undefine and redefine.
20654         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
20655         <kernel-features.h>.
20656         (symlinkat) [__NR_symlinkat]: Make code unconditional.
20657         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
20658         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
20659         <kernel-features.h>.
20660         (unlinkat) [__NR_unlinkat]: Make code unconditional.
20661         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
20662         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
20663         (__ASSUME_ATFCTS): Do not undefine and redefine.
20664         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
20665         <kernel-features.h>.
20666         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
20667         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
20668         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
20669         <kernel-features.h>.
20670         (__xmknodat) [__NR_mknodat]: Make code unconditional.
20671         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
20673 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
20675         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
20677 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
20679         [BZ #17069]
20680         * posix/regcomp.c (parse_reg_exp): Deallocate partially
20681         constructed tree before returning error.
20682         * posix/bug-regexp36.c: Expand test case.
20684 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
20686         [BZ #6803]
20687         * math/libm-test.inc (scalbln_test_date):
20688         Add errno expectations.
20689         * math/w_scalblnf.c: New File.
20690         Add wrapper which checks for setting errno to ERANGE.
20691         Add weak_alias for corresponding scalbln function.
20692         * math/w_scalbln.c: Likewise.
20693         * math/w_scalblnl.c: Likewise.
20694         * math/Makefile (libm-calls): Add w_scalbln.
20695         * sysdeps/ieee754/flt-32/s_scalblnf.c:
20696         Remove weak_alias for corresponding scalbln function.
20697         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
20698         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
20699         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20700         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20701         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
20702         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
20703         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
20704         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
20705         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
20706         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
20707         Remove long_double_symbol for scalblnl function in libm, libc.
20708         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
20709         Add wrapper which checks for setting errno to ERANGE.
20710         Add long_double_symbol for scalblnl function in libm, libc.
20711         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
20712         Remove long_double_symbol for scalblnl in libm.
20713         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
20714         Add wrapper which checks for setting errno to ERANGE.
20715         Add long_double_symbol for scalblnl function in libm.
20716         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
20717         Do not use wrapper because of own implementation.
20719 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
20721         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
20722         3 bytes for __pad1 for x32.
20723         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
20725 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
20726             H.J. Lu  <hongjiu.lu@intel.com>
20728         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
20729         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
20730         * sysdeps/x86_64/multiarch/memset.S: Likewise.
20731         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20732         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
20734 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
20736         [BZ #17069]
20737         * posix/regcomp.c (parse_expression): Deallocate partially
20738         constructed tree before returning error.
20739         * posix/Makefile.c (tests): Add bug-regex36.
20740         (generated): Add bug-regex36.mtrace.
20741         (tests-special): Add $(objpfx)bug-regex36-mem.out
20742         (bug-regex36-ENV): New variable.
20743         ($(objpfx)bug-regex36-mem.out): New rule.
20744         * posix/bug-regex36.c: New file.
20746 2014-06-19  Will Newton  <will.newton@linaro.org>
20748         * malloc/malloc.c (systrim): If extra is zero then return
20749         early.
20751 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20753         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
20755 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
20757         * sysdeps/aarch64/strchr.S: New file.
20759 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
20761         [BZ #17022]
20762         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
20763         from arguments -2 or below.
20764         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
20765         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
20767 2014-06-18  Andreas Schwab  <schwab@suse.de>
20769         [BZ #17062]
20770         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
20771         of a bracket expr not to run off the end of the string.
20772         * posix/Makefile (tests): Add tst-fnmatch3.
20773         * posix/tst-fnmatch3.c: New file.
20775 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
20777         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
20778         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
20779         [$(cross-compiling) = no]: Likewise.
20780         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
20781         [$(cross-compiling) = no]: Likewise.
20783 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20785         [BZ #17031]
20786         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
20787         double, adjusted for any remainder from the high double.
20788         * math/libm-test.inc (nearbyint): Add tests.
20789         (rint): Likewise.
20791 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20793         * nptl/sysdeps/powerpc/Makefile: Moved ...
20794         * sysdeps/powerpc/nptl/Makefile: ... here.
20795         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
20796         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
20797         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
20798         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
20799         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
20800         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
20801         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
20802         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
20803         * nptl/sysdeps/powerpc/tls.h: Moved ...
20804         * sysdeps/powerpc/nptl/tls.h: ... here.
20806 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
20808         [BZ #16681]
20809         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
20810         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
20811         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
20812         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
20813         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
20814         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
20815         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
20816         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
20817         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
20819 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
20821         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
20823 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
20825         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
20826         defined operator.
20828         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
20829         $TIMEOUTFACTOR.
20831 2014-06-16  Florian Weimer  <fweimer@redhat.com>
20833         [BZ #17058]
20834         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
20835         non-executed part of the test.
20837 2014-06-16  Andreas Schwab  <schwab@suse.de>
20839         * string/bits/string2.h (strdup, strndup): Update feature guard.
20841 2014-06-14  David S. Miller  <davem@davemloft.net>
20843         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20845 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
20847         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
20848         that was previously under [RESET_PID].
20849         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
20851         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
20852         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
20853         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
20854         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20855         (__libc_vfork): New strong alias.
20856         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
20858 2014-06-14 Andi Kleen  <ak@linux.intel.com>
20860         * sysdeps/generic/elide.h: New file.
20862 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
20864         * Makefile (installed-headers): Adjust path of pthread.h header.
20866 2014-06-13  Roland McGrath  <roland@hack.frob.com>
20868         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
20869         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
20870         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
20871         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
20873         * nptl/sysdeps/s390/Makefile: Moved ...
20874         * sysdeps/s390/nptl/Makefile: ... here.
20875         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
20876         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
20877         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
20878         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
20879         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
20880         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
20881         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
20882         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
20883         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
20884         * sysdeps/s390/nptl/pthreaddef.h: ... here.
20885         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
20886         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
20887         * nptl/sysdeps/s390/tls.h: Moved ...
20888         * sysdeps/s390/nptl/tls.h: ... here.
20890         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
20891         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
20893 2014-06-13  David S. Miller  <davem@davemloft.net>
20895         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
20896         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
20897         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
20898         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
20899         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
20900         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
20901         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
20902         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
20903         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
20904         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
20905         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
20906         Remove RESET_PID cpp guards.
20907         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
20908         Remove RESET_PID cpp guards.
20909         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
20911 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
20913         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
20914         __sp to uintptr_t.
20916 2014-06-13  Andi Kleen  <ak@linux.intel.com>
20918         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
20919         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
20920         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
20921         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
20922         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
20923         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
20924         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
20925         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
20926         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
20927         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
20928         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
20929         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
20930         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
20931         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
20932         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
20933         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
20934         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
20935         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
20936         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
20937         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
20939         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
20940         (pthread_rwlock_rdlock): Add elision.
20941         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
20942         (pthread_rwlock_wrlock): Add elision.
20943         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
20944         (pthread_rwlock_trywrlock): Add elision.
20945         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
20946         (pthread_rwlock_tryrdlock): Add elision.
20947         * nptl/pthread_rwlock_unlock.c: Include elide.h.
20948         (pthread_rwlock_tryrdlock): Add elision unlock.
20949         * nptl/sysdeps/pthread/pthread.h:
20950         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
20951         (PTHREAD_RWLOCK_INITIALIZER,
20952         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
20953         Handle new elision field.
20954         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
20955         * sysdeps/arm/nptl/bits/pthreadtypes.h
20956         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20957         * sysdeps/sh/nptl/bits/pthreadtypes.h
20958         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20959         * sysdeps/tile/nptl/bits/pthreadtypes.h
20960         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20961         * sysdeps/a/nptl/bits/pthreadtypes.h
20962         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20963         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
20964         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20965         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
20966         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20967         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
20968         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20969         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
20970         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20971         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
20972         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20973         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
20974         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20975         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
20976         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20977         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
20978         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20979         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
20980         (elision_init): Set try_xbegin to zero when no RTM.
20981         * sysdeps/x86/nptl/bits/pthreadtypes.h
20982         (pthread_rwlock_t): Change __pad1 to __rwelision.
20983         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20985 2014-06-13  Andi Kleen  <ak@linux.intel.com>
20987         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
20988         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
20989         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
20990         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
20992 2014-06-13  Meador Inge  <meadori@codesourcery.com>
20994         [BZ #16996]
20995         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
20996         that the cached result has been set before returning it.
20998 2014-06-12  Roland McGrath  <roland@hack.frob.com>
21000         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
21001         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
21002         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
21003         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
21004         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
21005         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
21007         * nptl/sysdeps/sparc/Makefile: Moved ...
21008         * sysdeps/sparc/nptl/Makefile: ... here.
21009         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
21010         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
21011         * nptl/sysdeps/sparc/tls.h: Moved ...
21012         * sysdeps/sparc/nptl/tls.h: ... here.
21013         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
21014         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
21015         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
21016         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
21017         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
21018         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
21019         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
21020         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
21021         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
21022         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
21023         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
21024         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
21025         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
21026         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
21027         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
21028         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
21029         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
21030         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
21031         Update #include.
21032         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
21033         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
21034         Update #include.
21035         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
21036         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
21037         Update #include.
21038         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
21039         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
21040         Update #include.
21042         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
21044         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
21045         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
21047         * sysdeps/pthread/posix-timer.h: Include <list.h>.
21048         (struct list_links): Type removed.
21049         (struct thread_node, struct timer_node): Replace struct list_links
21050         with struct list_head.
21051         (list_unlink_ip): Likewise.
21052         * sysdeps/pthread/timer_routines.c
21053         (timer_free_list, thread_free_list, thread_active_list): Likewise.
21054         (list_append, list_insbefore): Likewise.
21055         (list_init): Function removed.
21056         (thread_init, init_module): Use INIT_LIST_HEAD instead.
21057         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
21058         * sysdeps/pthread/Makefile: ... here, new file.
21060         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
21061         * sysdeps/nptl/Implies: ... here.
21062         * sysdeps/unix/sysv/linux/Implies: Add nptl.
21063         * nptl/sysdeps/pthread/list.h: Moved ...
21064         * include/list.h: ... here.
21065         * nptl/sysdeps/pthread/createthread.c: Moved ...
21066         * nptl/createthread.c: ... here.
21067         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
21068         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
21069         * nptl/pt-longjmp.c: ... here.
21070         * nptl/sysdeps/pthread/Makefile: Moved ...
21071         * sysdeps/nptl/Makefile: ... here.
21072         * nptl/sysdeps/pthread/Subdirs: Moved ...
21073         * sysdeps/nptl/Subdirs: ... here.
21074         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
21075         * sysdeps/nptl/aio_misc.h: ... here.
21076         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
21077         * sysdeps/nptl/bits/libc-lock.h: ... here.
21078         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
21079         * sysdeps/nptl/bits/libc-lockP.h: ... here.
21080         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
21081         * sysdeps/nptl/bits/stdio-lock.h: ... here.
21082         * nptl/sysdeps/pthread/configure: Moved ...
21083         * sysdeps/nptl/configure: ... here.
21084         * nptl/sysdeps/pthread/configure.ac: Moved ...
21085         * sysdeps/nptl/configure.ac: ... here.
21086         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
21087         * sysdeps/nptl/gai_misc.h: ... here.
21088         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
21089         * sysdeps/nptl/librt-cancellation.c: ... here.
21090         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
21091         * sysdeps/nptl/malloc-machine.h: ... here.
21092         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
21093         * sysdeps/nptl/pthread-functions.h: ... here.
21094         * nptl/sysdeps/pthread/pthread.h: Moved ...
21095         * sysdeps/nptl/pthread.h: ... here.
21096         * nptl/sysdeps/pthread/setxid.h: Moved ...
21097         * sysdeps/nptl/setxid.h: ... here.
21098         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
21099         * sysdeps/nptl/sigfillset.c: ... here.
21100         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
21101         * sysdeps/nptl/tcb-offsets.h: ... here.
21102         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
21103         * sysdeps/nptl/tst-mqueue8x.c: ... here.
21104         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
21105         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
21106         * nptl/sysdeps/pthread/allocalim.h: Moved ...
21107         * sysdeps/pthread/allocalim.h: ... here.
21108         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
21109         * sysdeps/pthread/bits/sigthread.h: ... here.
21110         * nptl/sysdeps/pthread/flockfile.c: Moved ...
21111         * sysdeps/pthread/flockfile.c: ... here.
21112         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
21113         * sysdeps/pthread/ftrylockfile.c: ... here.
21114         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
21115         * sysdeps/pthread/funlockfile.c: ... here.
21116         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
21117         * sysdeps/pthread/posix-timer.h: ... here.
21118         * nptl/sysdeps/pthread/timer_create.c: Moved ...
21119         * sysdeps/pthread/timer_create.c: ... here.
21120         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
21121         * sysdeps/pthread/timer_delete.c: ... here.
21122         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
21123         * sysdeps/pthread/timer_getoverr.c: ... here.
21124         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
21125         * sysdeps/pthread/timer_gettime.c: ... here.
21126         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
21127         * sysdeps/pthread/timer_routines.c: ... here.
21128         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
21129         * sysdeps/pthread/timer_settime.c: ... here.
21130         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
21131         * sysdeps/pthread/tst-timer.c: ... here.
21132         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
21133         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
21135         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
21136         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
21138         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
21139         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
21140         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
21141         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
21142         Update #include target.
21143         * nptl/sysdeps/i386/i686/Makefile: Moved ...
21144         * sysdeps/i386/i686/nptl/Makefile: ... here.
21145         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
21146         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
21147         Update #include target.
21148         * nptl/sysdeps/i386/i686/tls.h: Moved ...
21149         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
21150         * nptl/sysdeps/i386/Makefile: Moved ...
21151         * sysdeps/i386/nptl/Makefile: ... here.
21152         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
21153         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
21154         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
21155         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
21156         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
21157         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
21158         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
21159         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
21160         * sysdeps/i386/nptl/pthreaddef.h: ... here.
21161         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
21162         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
21163         * nptl/sysdeps/i386/tls.h: Moved ...
21164         * sysdeps/i386/nptl/tls.h: ... here.
21166         * sysdeps/sh/Makefile [$(subdir) = csu]
21167         (gen-as-const-headers): Add tcb-offsets.sym.
21168         * nptl/sysdeps/sh/Makefile: File removed.
21169         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
21170         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
21171         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
21172         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
21173         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
21174         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
21175         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
21176         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
21177         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
21178         * sysdeps/sh/nptl/pthreaddef.h: ... here.
21179         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
21180         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
21181         * nptl/sysdeps/sh/tls.h: Moved ...
21182         * sysdeps/sh/nptl/tls.h: ... here.
21183         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
21184         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
21185         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
21186         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
21187         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
21188         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
21189         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
21190         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
21191         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
21192         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
21193         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
21194         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
21195         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
21196         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
21197         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
21198         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
21199         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
21200         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
21201         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
21202         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
21203         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
21204         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
21205         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
21206         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
21207         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
21208         Moved ...
21209         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
21210         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
21211         Moved ...
21212         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
21213         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
21214         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
21215         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
21216         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
21217         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
21218         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
21219         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
21220         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
21221         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
21222         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
21223         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
21224         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
21225         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
21226         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
21227         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
21228         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
21229         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
21230         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
21232 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
21234         * posix/spawn_faction_addopen.c: Include string.h.
21236 2014-06-11  Roland McGrath  <roland@hack.frob.com>
21238         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
21239         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
21240         * nptl/sysdeps/x86_64/Makefile: Moved ...
21241         * sysdeps/x86_64/nptl/Makefile: ... here.
21242         * nptl/sysdeps/x86_64/configure: Moved ...
21243         * sysdeps/x86_64/nptl/configure: ... here.
21244         * nptl/sysdeps/x86_64/configure.ac: Moved ...
21245         * sysdeps/x86_64/nptl/configure.ac: ... here.
21246         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
21247         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
21248         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
21249         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
21250         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
21251         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
21252         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
21253         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
21254         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
21255         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
21256         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
21257         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
21258         * nptl/sysdeps/x86_64/tls.h: Moved ...
21259         * sysdeps/x86_64/nptl/tls.h: ... here.
21260         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
21261         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
21262         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
21263         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
21265         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
21267 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21269         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21271 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
21273         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
21274         type.
21275         [POSIX] (off_t): Likewise.
21276         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
21277         [POSIX] (S_ISBLK): Require macro.
21278         [POSIX] (S_ISCHR): Likewise.
21279         [POSIX] (S_ISDIR): Likewise.
21280         [POSIX] (S_ISFIFO): Likewise.
21281         [POSIX] (S_ISREG): Likewise.
21282         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
21283         optional-macro.
21284         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
21285         type.
21286         [POSIX] (time_t): Likewise.
21287         [POSIX] (timer_t): Likewise.
21289 2014-06-11  Florian Weimer  <fweimer@redhat.com>
21291         [BZ #17048]
21292         * posix/spawn_int.h (struct __spawn_action): Make the path string
21293         non-const to support deallocation.
21294         * posix/spawn_faction_addopen.c
21295         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
21296         * posix/spawn_faction_destroy.c
21297         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
21298         path in all spawn_do_open actions.
21299         * posix/tst-spawn.c (do_test): Exercise the copy operation in
21300         posix_spawn_file_actions_addopen.
21302 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
21304         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
21305         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
21306         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
21307         conditional code always true.
21308         (__libc_vfork): New alias.
21310 2014-06-11  Roland McGrath  <roland@hack.frob.com>
21312         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
21313         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
21315         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
21317         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
21318         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
21320         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
21321         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
21323         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
21324         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
21326 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21328         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
21329         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
21330         multiarch strcmp for PPC64.
21331         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
21332         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
21333         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
21334         multiarch optimizations.
21335         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21336         (__libc_ifunc_impl_list): Likewise.
21338 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21340         * benchtests/scripts/validate_benchout.py: New script.
21341         * benchtests/Makefile (bench-func): Call it.
21342         * benchtests/scripts/benchout.schema.json: New file.
21344 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
21346         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
21347         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
21348         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
21349         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
21350         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
21351         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
21352         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
21353         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
21354         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
21355         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
21356         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
21357         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
21358         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
21359         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
21360         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
21361         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
21362         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
21363         Moved ...
21364         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
21365         ... here.
21366         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
21367         Moved ...
21368         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
21369         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
21370         Moved ...
21371         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
21372         ... here.
21373         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
21374         Moved ...
21375         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
21376         ... here.
21377         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
21378         Moved ...
21379         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
21380         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
21381         Moved ...
21382         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
21383         ... here.
21384         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
21385         Moved ...
21386         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
21387         ... here.
21388         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
21389         Moved ...
21390         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
21391         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
21392         Moved ...
21393         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
21394         ... here.
21395         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
21396         Moved ...
21397         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
21398         ... here.
21399         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
21400         Moved ...
21401         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
21402         ... here.
21403         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
21404         Moved ...
21405         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
21406         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
21407         Moved ...
21408         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
21409         ... here.
21410         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
21411         Moved ...
21412         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
21413         ... here.
21414         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
21415         Moved ...
21416         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
21417         ... here.
21418         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
21419         Moved ...
21420         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
21421         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
21422         Moved ...
21423         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
21424         ... here.
21425         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
21426         Moved ...
21427         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
21428         ... here.
21429         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
21430         Moved ...
21431         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
21432         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
21433         Moved ...
21434         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
21435         ... here.
21436         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
21437         Moved ...
21438         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
21439         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
21440         Moved ...
21441         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
21442         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
21443         Moved ...
21444         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
21445         ... here.
21446         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
21447         Moved ...
21448         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
21449         ... here.
21450         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
21451         Moved ...
21452         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
21453         ... here.
21454         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
21455         Moved ...
21456         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
21457         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
21458         Moved ...
21459         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
21460         ... here.
21461         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
21462         Moved ...
21463         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
21464         ... here.
21465         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
21466         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
21467         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
21468         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
21469         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
21470         Moved ...
21471         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
21472         ... here.
21473         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
21474         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
21475         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
21476         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
21477         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
21478         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
21479         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
21480         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
21481         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
21482         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
21483         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
21484         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
21485         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
21486         Moved ...
21487         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
21488         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
21489         Moved ...
21490         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
21491         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
21492         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
21493         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
21494         Moved ...
21495         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
21496         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
21497         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
21498         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
21499         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
21500         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
21501         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
21503 2014-06-10  Wilco  <wdijkstr@arm.com>
21505         * math/test-fenv-return.c: New file.
21506         * math/Makefile: Add new test test-fenv-return.
21508 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
21510         [BZ #17042]
21511         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
21512         when x - 1 is zero.
21513         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
21514         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
21515         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
21516         0.0L for an argument of 1.0L.
21517         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
21518         Likewise.
21519         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
21520         value when x - 1 is zero.
21521         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
21522         * sysdeps/i386/fpu/libm-test-ulps: Update.
21523         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21525 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
21527         [BZ #15119]
21528         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
21530 2014-06-09  Roland McGrath  <roland@hack.frob.com>
21532         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
21533         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
21535 2014-06-09  Roland McGrath  <roland@hack.frob.com>
21537         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
21538         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
21540         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
21541         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
21543         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
21544         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
21546         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
21547         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
21549         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
21550         if not already defined.
21551         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
21552         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
21553         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
21554         (TLS_INIT_TP): Use it.
21555         (TLS_DEFINE_INIT_TP): New macro.
21556         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
21558 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
21560         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
21561         constant.
21562         [POSIX] (IXANY): Likewise.
21563         [POSIX] (OLCUC): Likewise.
21564         [POSIX || POSIX2008] (CBAUD): Do not allow.
21565         [POSIX || POSIX2008] (DEFECHO): Likewise.
21566         [POSIX || POSIX2008] (ECHOCTL): Likewise.
21567         [POSIX || POSIX2008] (ECHOKE): Likewise.
21568         [POSIX || POSIX2008] (ECHOPRT): Likewise.
21569         [POSIX || POSIX2008] (EXTA): Likewise.
21570         [POSIX || POSIX2008] (EXTB): Likewise.
21571         [POSIX || POSIX2008] (FLUSHO): Likewise.
21572         [POSIX || POSIX2008] (LOBLK): Likewise.
21573         [POSIX || POSIX2008] (PENDIN): Likewise.
21574         [POSIX || POSIX2008] (SWTCH): Likewise.
21575         [POSIX || POSIX2008] (VDISCARD): Likewise.
21576         [POSIX || POSIX2008] (VDSUSP): Likewise.
21577         [POSIX || POSIX2008] (VLNEXT): Likewise.
21578         [POSIX || POSIX2008] (VREPRINT): Likewise.
21579         [POSIX || POSIX2008] (VSTATUS): Likewise.
21580         [POSIX || POSIX2008] (VWERASE): Likewise.
21581         (B*): Change to B[0123456789]*.
21582         * conform/data/time.h-data [POSIX || UNIX98]
21583         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
21584         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
21585         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
21586         [POSIX] (tm_*): Do not allow.
21588 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
21590         * Makefile (install): Don't set LANGUAGE.
21591         * Makefile.in (install): Likewise.
21592         * assert/Makefile (test-assert-ENV): Remove variable.
21593         (test-assert-perr-ENV): Likewise.
21594         * elf/Makefile (neededtest4-ENV): Likewise.
21595         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
21596         [$(cross-compiling) = no]: Don't set LANGUAGE.
21597         * io/ftwtest-sh (LANG): Remove variable.
21598         * libio/Makefile (tst-widetext-ENV): Likewise.
21599         * manual/install.texi (Running make install): Don't refer to
21600         environment settings for make install.
21601         * INSTALL: Regenerated.
21602         * nptl/tst-tls6.sh: Don't set LANG.
21603         * posix/globtest.sh (LANG): Remove variable.
21604         * string/Makefile (tester-ENV): Likewise.
21605         (inl-tester-ENV): Likewise.
21606         (noinl-tester-ENV): Likewise.
21607         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
21608         [$(cross-compiling) = no]: Don't set LANGUAGE.
21609         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
21610         without explicit environment settings.
21612 2014-06-06  Roland McGrath  <roland@hack.frob.com>
21614         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
21615         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
21616         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
21617         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
21619 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
21621         * crypt/crypt-private.h [DOS]: Add some includes taken from the
21622         other files in the crypt directory.
21623         * crypt/crypt.c: Remove duplicate includes.
21624         * crypt/crypt-entry.c: Likewise.
21625         * crypt/crypt_util.c: Likewise.
21627 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
21629         * Makeconfig (run-program-env): New variable.
21630         (run-program-prefix-before-env): Likewise.
21631         (run-program-prefix-after-env): Likewise.
21632         (run-program-prefix): Define in terms of new variables.
21633         (built-program-cmd-before-env): New variable.
21634         (built-program-cmd-after-env): Likewise.
21635         (built-program-cmd): Define in terms of new variables.
21636         (test-program-prefix-before-env): New variable.
21637         (test-program-prefix-after-env): Likewise.
21638         (test-program-prefix): Define in terms of new variables.
21639         (test-program-cmd-before-env): New variable.
21640         (test-program-cmd-after-env): Likewise.
21641         (test-program-cmd): Define in terms of new variables.
21642         * Rules (make-test-out): Use $(run-program-env).
21643         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
21644         (help): Do not mention environment variables.  Mention
21645         --timeoutfactor option.
21646         (timeoutfactor): New variable.
21647         (blacklist_exports): Remove function.
21648         (exports): Remove variable.
21649         (command): Do not include ${exports}.
21650         * manual/install.texi (Configuring and compiling): Do not mention
21651         test wrappers preserving environment variables.  Mention that last
21652         assignment to a variable must take precedence.
21653         * INSTALL: Regenerated.
21654         * benchtests/Makefile (run-bench): Use $(run-program-env).
21655         * catgets/Makefile ($(objpfx)test1.cat): Use
21656         $(built-program-cmd-before-env), $(run-program-env) and
21657         $(built-program-cmd-after-env).
21658         ($(objpfx)test2.cat): Do not specify environment variables
21659         explicitly.
21660         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
21661         $(run-program-env) and $(built-program-cmd-after-env).
21662         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
21663         $(run-program-env) and $(test-program-cmd-after-env).
21664         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
21665         explicitly.
21666         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
21667         run_program_env and test_program_cmd_after_env arguments.
21668         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
21669         * elf/tst-pathopt.sh: Use run_program_env argument.
21670         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
21671         $(test-wrapper-env) and $(run-program-env).
21672         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
21673         run_program_env arguments.
21674         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
21675         * intl/Makefile ($(objpfx)tst-gettext.out): Use
21676         $(test-program-prefix-before-env), $(run-program-env) and
21677         $(test-program-prefix-after-env).
21678         ($(objpfx)tst-gettext2.out): Likewise.
21679         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
21680         run_program_env and test_program_prefix_after_env arguments.
21681         * intl/tst-gettext2.sh: Likewise.
21682         * intl/tst-gettext4.sh: Do not set environment variables
21683         explicitly.
21684         * intl/tst-gettext6.sh: Likewise.
21685         * intl/tst-translit.sh: Likewise.
21686         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
21687         $(test-program-prefix-before-env), $(run-program-env) and
21688         $(test-program-prefix-after-env).
21689         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
21690         run_program_env and test_program_prefix_after_env arguments.
21691         * math/Makefile (run-regen-ulps): Use $(run-program-env).
21692         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
21693         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
21694         explicitly with each use of ${test_wrapper_env}.
21695         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
21696         $(test-program-prefix-before-env), $(run-program-env) and
21697         $(test-program-prefix-after-env).
21698         * posix/tst-getconf.sh: Do not set environment variables
21699         explicitly.
21700         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
21701         run_program_env and test_program_prefix_after_env arguments.
21702         * stdio-common/tst-printf.sh: Do not set environment variables
21703         explicitly.
21704         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
21705         $(test-program-prefix-before-env), $(run-program-env) and
21706         $(test-program-prefix-after-env).
21707         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
21708         run_program_env and test_program_prefix_after_env arguments.
21709         Split $test calls into $test_pre and $test.
21710         * timezone/Makefile (build-testdata): Use
21711         $(built-program-cmd-before-env), $(run-program-env) and
21712         $(built-program-cmd-after-env).
21714 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21716         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
21717         strlen for non SHARED builds.
21719 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
21721         * nptl/allocatestack.c (check_list): Inlined function...
21722         (__reclaim_stacks): ... here.
21724 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
21726         [BZ #15698]
21727         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
21728         memory overrun.
21730 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
21732         * Rules (make-test-out): Include
21733         LOCPATH=$(common-objpfx)localedata in default environment.
21734         * debug/Makefile (tst-chk1-ENV): Remove variable.
21735         (tst-chk2-ENV): Likewise.
21736         (tst-chk3-ENV): Likewise.
21737         (tst-chk4-ENV): Likewise.
21738         (tst-chk5-ENV): Likewise.
21739         (tst-chk6-ENV): Likewise.
21740         (tst-lfschk1-ENV): Likewise.
21741         (tst-lfschk2-ENV): Likewise.
21742         (tst-lfschk3-ENV): Likewise.
21743         (tst-lfschk4-ENV): Likewise.
21744         (tst-lfschk5-ENV): Likewise.
21745         (tst-lfschk6-ENV): Likewise.
21746         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
21747         (tst-iconv7-ENV): Likewise.
21748         * intl/Makefile (LOCPATH-ENV): Likewise.
21749         (tst-codeset-ENV): Likewise.
21750         (tst-gettext3-ENV): Likewise.
21751         (tst-gettext5-ENV): Likewise.
21752         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
21753         (tst-fopenloc-ENV): Likewise.
21754         (tst-fgetws-ENV): Remove variable.
21755         (tst-ungetwc1-ENV): Likewise.
21756         (tst-ungetwc2-ENV): Likewise.
21757         (bug-ungetwc2-ENV): Likewise.
21758         (tst-swscanf-ENV): Likewise.
21759         (bug-ftell-ENV): Likewise.
21760         (tst-fgetwc-ENV): Likewise.
21761         (tst-fseek-ENV): Likewise.
21762         (tst-ftell-partial-wide-ENV): Likewise.
21763         (tst-ftell-active-handler-ENV): Likewise.
21764         (tst-ftell-append-ENV): Likewise.
21765         * posix/Makefile (tst-fnmatch-ENV): Likewise.
21766         (tst-regexloc-ENV): Likewise.
21767         (bug-regex1-ENV): Likewise.
21768         (tst-regex-ENV): Likewise.
21769         (tst-regex2-ENV): Likewise.
21770         (bug-regex5-ENV): Likewise.
21771         (bug-regex6-ENV): Likewise.
21772         (bug-regex17-ENV): Likewise.
21773         (bug-regex18-ENV): Likewise.
21774         (bug-regex19-ENV): Likewise.
21775         (bug-regex20-ENV): Likewise.
21776         (bug-regex22-ENV): Likewise.
21777         (bug-regex23-ENV): Likewise.
21778         (bug-regex25-ENV): Likewise.
21779         (bug-regex26-ENV): Likewise.
21780         (bug-regex30-ENV): Likewise.
21781         (bug-regex32-ENV): Likewise.
21782         (bug-regex33-ENV): Likewise.
21783         (bug-regex34-ENV): Likewise.
21784         (bug-regex35-ENV): Likewise.
21785         (tst-rxspencer-ENV): Likewise.
21786         (tst-rxspencer-no-utf8-ENV): Likewise.
21787         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
21788         (tst-sscanf-ENV): Likewise.
21789         (tst-swprintf-ENV): Likewise.
21790         (tst-swscanf-ENV): Likewise.
21791         (test-vfprintf-ENV): Likewise.
21792         (scanf13-ENV): Likewise.
21793         (bug14-ENV): Likewise.
21794         (tst-grouping-ENV): Likewise.
21795         * stdlib/Makefile (tst-strtod-ENV): Likewise.
21796         (tst-strtod3-ENV): Likewise.
21797         (tst-strtod4-ENV): Likewise.
21798         (tst-strtod5-ENV): Likewise.
21799         (testmb2-ENV): Likewise./
21800         * string/Makefile (tst-strxfrm-ENV): Likewise.
21801         (tst-strxfrm2-ENV): Likewise.
21802         (bug-strcoll1-ENV): Likewise.
21803         (test-strcasecmp-ENV): Likewise.
21804         (test-strncasecmp-ENV): Likewise.
21805         * time/Makefile (tst-strptime-ENV): Likewise.
21806         (tst-ftime_l-ENV): Likewise.
21807         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
21808         (tst-mbrtowc-ENV): Likewise.
21809         (tst-wcrtomb-ENV): Likewise.
21810         (tst-mbrtowc2-ENV): Likewise.
21811         (tst-c16c32-1-ENV): Likewise.
21812         (tst-mbsnrtowcs-ENV): Likewise.
21814 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
21816         * manual/resource.texi (How to get information about the memory
21817         subsystem?): Fix typo.
21818         Reported by Peon de la Parra Ivan <peon@keba.com>
21820 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
21822         [BZ #16882]
21823         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
21824         (pthread_spin_lock): Branch out of spin loop to proper location.
21825         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
21826         (pthread_spin_lock): Likewise.
21828         * nptl/tst-spin4.c: New test.
21829         * nptl/Makefile (tests): Add tst-spin4.
21831 2014-06-03  Andreas Schwab  <schwab@suse.de>
21833         [BZ #15946]
21834         * resolv/res_send.c (send_dg): Reload file descriptor after
21835         calling reopen.
21837 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
21839         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21841 2014-06-03  Richard Henderson  <rth@redhat.com>
21843         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
21844         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
21845         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
21846         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
21847         in the SAVE_PID block.
21848         (__libc_vfork): New alias.
21849         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
21851         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
21852         child in registers, not on the stack.  Remove RESET_PID conditionals.
21853         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
21855 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
21857         * sysdeps/aarch64/libm-test-ulps: Regenerate.
21859 2014-06-03  Wilco  <wdijkstr@arm.com>
21861         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
21862         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
21863         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
21864         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
21865         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
21866         Likewise.
21868 2014-06-03  Wilco  <wdijkstr@arm.com>
21870         * sysdeps/aarch64/fpu/math_private.h
21871         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
21872         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
21873         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
21874         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
21875         Fix declarations.
21877 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
21879         * crypt/crypt-private.h: Include ufc-crypt.h.
21880         (__b64_from_24bit): Declare extern.
21881         * crypt/crypt_util.c(__b64_from_24bit): New function.
21882         (b64t): New static const variable.
21883         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
21884         (b64t): Remove variable.
21885         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
21886         * crypt/sha256-crypt.c: Include crypt-private.h.
21887         (b64t): Remove variable.
21888         (__sha256_crypt_r): Remove b64_from_24bit and replace
21889         with __b64_from_24bit.
21890         * crypt/sha512-crypt.c: Likewise.
21892 2014-06-02  Roland McGrath  <roland@hack.frob.com>
21894         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
21895         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
21896         Label the code __libc_vfork rather than __vfork.
21897         [!NOT_IN_libc] (vfork): Define as weak alias.
21898         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
21899         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
21900         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
21902 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21904         * malloc/malloc.c (malloc_info): Fix format specifier for
21905         n_mmaps.
21907 2014-06-02  Wilco  <wdijkstr@arm.com>
21909         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
21910         FPCR write.
21912 2014-06-02  Wilco  <wdijkstr@arm.com>
21914         [BZ #17009]
21915         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
21916         Rewrite to reduce FPCR/FPSR accesses.
21918 2014-06-01  David S. Miller  <davem@davemloft.net>
21920         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21922 2014-05-31  David S. Miller  <davem@davemloft.net>
21924         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
21925         to occur in round to nearest mode when |x| >= 2.0
21927 2014-05-30  Richard Henderson  <rth@twiddle.net>
21929         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
21930         (PSEUDO_RET_NOERRNO): Remove.
21931         (ret): Don't redefine.
21932         (ret_NOERRNO): Define in terms of ret.
21933         (ret_ERRVAL): Likewise.
21935         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
21936         use of PSEUDO_RET; perform the error check directly.
21938 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
21940         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
21941         with __int128_t.
21943 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21945         * malloc/malloc (malloc_info): Fix formatting.
21947 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21948             Roland McGrath  <roland@hack.frob.com>
21950         * malloc/malloc (malloc_info): Also print mmapped statistics.
21952 2014-05-30  Roland McGrath  <roland@hack.frob.com>
21954         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
21955         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
21957 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
21959         * malloc/malloc.c (malloc_info): Inline mi_arena.
21961 2014-05-29  Richard Henderson  <rth@twiddle.net>
21963         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
21964         Remove comma before expanding ASM_ARGS_##nr.
21965         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
21966         Make _x0 a strict output; make _x8 a strict input; adjust expansion
21967         of ASM_ARGS_##nr.
21968         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
21969         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
21970         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
21971         (ASM_ARGS_1): Add leading comma.
21973         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
21974         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
21975         to __errno_location.
21976         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
21977         Remove the expected plt for __errno_location.
21979         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
21980         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
21981         call to __read_tp.
21983         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
21984         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
21985         it and break it down.
21986         (DOCARGS_0, DOCARGS_1): Do nothing.
21987         (DOCARGS_2): Update to store into the new stack frame.
21988         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
21989         (UNDOCARGS_1): Update to restore from the new stack frame.
21990         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
21991         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
21993         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
21994         (SINGLE_THREAD_P): New parameter for result regno.
21995         (PSEUDO): Update to match; use cbz instead of beq.
21997         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
21998         Use ENTRY to define the _nocancel entry point.  Share the syscall
21999         and syscall error check paths with the cancel path.
22000         (PSEUDO_END): New.
22002         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
22003         whitespace; tabs before and after asm mnemonics.
22005 2014-05-29  Eric Wong  <normalperson@yhbt.net>
22007         [BZ #15132]
22008         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22009         Call fstat64 or stat64 internally, depending on arguments passed.
22010         Replace stat buffer argument with file descriptor argument.
22011         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
22012         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
22013         Pass fd to __internal_statvfs instead of calling fstat64.
22014         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
22015         Pass fd to __internal_statvfs64 instead of calling fstat64.
22016         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
22017         Pass -1 to __internal_statvfs instead of calling stat64.
22018         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
22019         Pass -1 to __internal_statvfs64 instead of calling stat64.
22021 2014-05-28  Roland McGrath  <roland@hack.frob.com>
22023         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
22024         that was previously under [RESET_PID].
22025         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
22027         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
22028         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
22030 2014-05-27  Roland McGrath  <roland@hack.frob.com>
22032         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
22034         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
22035         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
22037 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
22039         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
22041 2014-05-27  Andreas Schwab  <schwab@suse.de>
22043         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
22044         TLS_INIT_TP macro.
22045         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
22046         * elf/rtld.c (init_tls, dl_main): Likewise.
22047         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
22048         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
22049         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
22050         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
22051         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
22052         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
22053         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
22054         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
22055         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
22056         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
22057         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
22058         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
22059         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
22060         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
22061         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
22062         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
22063         * sysdeps/generic/tls.h: Update description.
22065 2014-05-27  Will Newton  <will.newton@linaro.org>
22067         [BZ #16990]
22068         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
22069         and restore r2 rather than just restoring.
22071 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22073         [BZ #16724]
22074         * libio/tst-ftell-append.c: New test case.
22075         * libio/Makefile (tests): Add test case.
22076         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
22077         append mode.
22078         * libio/wfileops.c (do_ftell_wide): Likewise.
22080 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22082         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22084         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
22085         ...
22086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
22087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
22088         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
22089         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
22090         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
22091         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
22092         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
22093         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
22094         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
22095         Moved ...
22096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
22097         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
22098         Moved ...
22099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
22100         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
22101         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
22102         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
22103         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
22104         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
22105         ...
22106         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
22107         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
22108         Moved ...
22109         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
22110         here.
22111         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
22112         ...
22113         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
22114         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
22115         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
22117         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
22118         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
22119         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
22120         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
22122         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
22123         merge into ...
22124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
22125         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
22126         ...
22127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
22128         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
22129         ...
22130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
22131         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
22132         Moved ...
22133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
22134         here.
22135         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
22136         Moved ...
22137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
22138         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
22139         Moved ...
22140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
22142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
22143         conditional [RESET_PID].
22144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
22145         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
22146         removed.
22147         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
22148         removed.
22150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
22151         <tcb-offsets.h>.
22152         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
22153         (__libc_vfork): New strong alias.
22154         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
22155         removed.
22156         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
22157         Removed.
22159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
22160         <tcb-offsets.h>.
22161         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
22162         (__libc_vfork): New strong alias.
22163         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
22164         removed.
22165         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
22166         removed.
22168 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
22170         * malloc/malloc.c (mi_arena): New function.
22171         (malloc_info): Remove nested function mi_arena. Call non-nosted
22172         function mi_arena.
22174 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22176         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
22177         by insrwi.
22178         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
22179         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
22180         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
22181         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
22182         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
22183         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
22184         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
22186 2014-05-26  Andreas Schwab  <schwab@suse.de>
22188         [BZ #16984]
22189         * locale/programs/repertoire.c (repertoire_read): Add slash
22190         between I18NPATH element and file name.
22191         * locale/programs/locfile.c (locfile_read): Likewise.
22193 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
22195         * nptl/pthread_mutexattr_settype.c
22196         (__pthread_mutexattr_settype):
22197         Disable lock elision for PTHREAD_MUTEX_NORMAL.
22199 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
22201         * nptl/tst-mutex5 (do_test):
22202         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
22204 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22206         * benchtests/README: Document 'init' directive.
22207         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
22208         BENCH_INIT.
22209         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
22210         (parse_file): Recognize 'init' directive.
22212 2014-05-26  Kyle McMartin  <kyle@redhat.com>
22214         [BZ #16796]
22215         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
22216         alignment of struct pthread.
22218 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22220         [BZ #16878]
22221         * nscd/netgroupcache.c (addgetnetgrentX): Look for
22222         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
22223         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
22224         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
22226 2014-05-25  Richard Henderson  <rth@twiddle.net>
22228         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
22229         (SINGLE_THREAD_P_PIC): Remove.
22230         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
22231         (SINGLE_THREAD_P_PIC): Remove.
22233         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
22234         branch to syscall error ...
22235         (PSEUDO): ... here.
22236         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
22237         from __local_syscall_error to .Lsyscall_error.
22238         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
22239         (SYSCALL_ERROR): Update label name.
22241         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
22242         Do not use DOARGS/UNDOARGS.
22243         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
22244         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
22245         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
22246         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
22247         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
22249         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
22250         block comment.
22252         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
22253         define if !NOT_IN_libc.
22254         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
22255         define with non-default symbol versions.
22257 2014-05-23  Richard Henderson  <rth@twiddle.net>
22259         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
22260         (vfork, __vfork): Define via compat_symbol.
22262         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
22263         [!HAVE_IFUNC] (vfork_compat): Remove.
22264         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
22266 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
22268         [BZ #16978]
22269         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
22270         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
22271         variable.
22273 2014-05-23  Richard Henderson  <rth@twiddle.net>
22275         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
22276         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
22277         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
22278         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
22280         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
22281         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
22282         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
22283         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
22284         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
22285         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
22286         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
22287         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
22288         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
22289         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
22290         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
22291         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
22292         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
22293         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
22294         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
22295         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
22296         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
22297         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
22298         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
22299         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
22300         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
22301         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
22302         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
22303         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
22304         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
22305         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
22306         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
22307         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
22308         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
22309         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
22310         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
22311         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
22312         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
22313         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
22314         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
22315         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
22316         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
22317         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
22318         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
22319         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
22320         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
22321         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
22322         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
22323         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
22324         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
22325         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
22326         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
22327         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
22328         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
22329         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
22330         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
22331         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
22332         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
22333         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
22334         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
22335         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
22337         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
22338         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
22339         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
22340         before exiting on error.
22341         (__libc_vfork): New strong alias.
22342         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
22343         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
22345         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
22346         that was previously under [RESET_PID].
22347         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
22349         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
22351 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
22353         [BZ #16977]
22354         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
22355         value when x - 1 is zero.
22356         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
22357         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
22358         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
22359         0.0L for an argument of 1.0L.
22360         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
22361         Likewise.
22362         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
22363         value when x - 1 is zero.
22364         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
22365         * sysdeps/i386/fpu/libm-test-ulps: Update.
22366         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22368 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
22370         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
22371         alphasort and versionsort.
22373 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22375         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
22376         macro.
22377         [copysignf]: Likewise.
22379 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
22381         * crypt/md5-crypt.c: Fix formatting.
22383 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
22385         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
22386         (b64_from_24bit): New function.
22388 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22390         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
22391         libc_hidden_builtin_def to ifunc.
22392         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
22393         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
22395 2014-05-21  Roland McGrath  <roland@hack.frob.com>
22397         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
22398         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
22400 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
22402         * nscd/Depend (linuxthreads): Remove.
22403         (nptl): Add.
22404         * resolv/Depend (linuxthreads): Remove.
22405         * rt/Depend (linuxthreads): Remove.
22407         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
22408         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
22409         $(common-objpfx)elf/.
22410         (link-libc-before-gnulib): Likewise.
22411         (elfobjdir): Remove variable.
22412         * Makefile (install): Use $(elf-objpfx) instead of
22413         $(common-objpfx)elf/.
22414         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
22415         $(elfobjdir)/.
22416         (link-libc-deps): Likewise.
22417         ($(common-objpfx)libc.so): Likewise.
22418         ($(common-objpfx)linkobj/libc.so): Likewise.
22419         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
22420         instead of $(common-objpfx)elf/.
22421         (symbolic-link-list): Likewise.
22422         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
22423         [$(cross-compiling) = no]: Likewise.
22424         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
22425         $(elfobjdir)/.
22426         (static-gnulib-arch): Likewise.
22427         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
22428         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
22429         $(common-objpfx)elf/.
22431 2014-05-21  Richard Henderson  <rth@redhat.com>
22433         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
22434         (SINGLE_THREAD_P): Use the correct width load.  Fold
22435         into the ldr offset.
22437         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
22438         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
22440 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
22442         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
22443         (libgcc_s_resume): Use __attribute_used__.
22444         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
22445         Likewise.
22447 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22449         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
22450         optimization when used with float constants.
22452         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22454 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
22456         [BZ #16915]
22457         * locale/nl_langinfo_l.c: Make direct reference to every
22458         _nl_current_CATEGORY symbol.
22459         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
22460         (tests-static): Add tst-langinfo-static.
22461         (tests-special): Add tst-langinfo-static.out.
22462         ($(objpfx)tst-langinfo.out): Redirect output.
22463         ($(objpfx)tst-langinfo-static.out): New.
22464         * localedata/tst-langinfo.sh: Send output to stdout.
22465         * localedata/tst-langinfo-static.c: New file.
22467         [BZ #16965]
22468         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
22469         when the shift amount is modulo the limb size.
22471 2014-05-20  Richard Henderson  <rth@redhat.com>
22473         [BZ #16967]
22474         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
22475         Change type of sa_flags from unsigned int to int.
22477         [BZ #16966]
22478         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
22480         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
22482 2014-05-20  Will Newton  <will.newton@linaro.org>
22484         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
22485         Test the return value of the system call in the nocancel case.
22487 2014-05-20  Will Newton  <will.newton@linaro.org>
22488             Yvan Roux  <yvan.roux@linaro.org>
22490         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
22491         #include of asm/ptrace.h.
22492         (PTRACE_GET_THREAD_AREA): Remove #undef.
22493         (PTRACE_GETHBPREGS): Likewise.
22494         (PTRACE_SETHBPREGS): Likewise.
22495         (struct user_regs_struct): New structure.
22496         (struct user_fpsimd_struct): New structure.
22497         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
22498         #include of asm/ptrace.h and second #include of sys/user.h.
22499         (PTRACE_GET_THREAD_AREA): Remove #undef.
22500         (PTRACE_GETHBPREGS): Likewise.
22501         (PTRACE_SETHBPREGS): Likewise.
22502         (ELF_NGREG): Use new struct user_regs_struct.
22503         (elf_fpregset_t): Use new struct user_fpsimd_struct.
22505 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22507         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
22508         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
22510 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
22512         [BZ #16958]
22513         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
22514         membar to avoid block loads/stores to overlap previous stores.
22516 2014-05-17  Richard Henderson  <rth@redhat.com>
22518         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
22519         Create the __##syscall_name##_nocancel entry point.
22520         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
22521         Remove; let the sysdep-cancel.h code create it.
22523 2014-05-17  David S. Miller  <davem@davemloft.net>
22525         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
22526         Protect with __USE_GNU.
22527         (TIOCSET_TEMPT): Likewise.
22528         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
22529         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
22530         these are already provided in bits/ioctl-types.h
22532 2014-05-16  Roland McGrath  <roland@hack.frob.com>
22534         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
22535         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
22537         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
22538         Use wait4 regardless of [__NR_waitpid].
22540 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
22542         PR libgcc/60166
22543         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
22544         (_FP_NANSIGN_Q): Set the quiet bit.
22546 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
22548         * benchtests/Makefile
22549         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
22550         not $(common-objpfx)math/libm.so.
22551         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
22552         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
22553         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
22554         $(common-objpfx)dlfcn/libdl.so.
22555         ($(objpfx)tst-audit8): Depend on $(libm), not
22556         $(common-objpfx)math/libm.so.
22557         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
22558         not $(common-objpfx)dlfcn/libdl.so.
22559         * math/Makefile
22560         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
22561         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
22562         [$(build-shared) = yes].
22563         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
22564         $(common-objpfx)nptl/libpthread.so.
22565         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
22566         $(common-objpfx)math/libm.so$(libm.so-version) or
22567         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
22568         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
22569         $(common-objpfx)dlfcn/libdl.so.
22570         * setjmp/Makefile (link-libm): Remove variable.
22571         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
22572         * stdio-common/Makefile (link-libm): Remove variable.
22573         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
22574         * stdlib/Makefile (link-libm): Remove variable.
22575         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
22576         ($(objpfx)tst-strtod-round): Likewise.
22577         ($(objpfx)tst-tininess): Likewise.
22578         ($(objpfx)tst-strtod-underflow): Likewise.
22579         ($(objpfx)tst-strtod6): Likewise.
22580         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
22581         $(libdl), not $(common-objpfx)nptl/libpthread.so and
22582         $(common-objpfx)dlfcn/libdl.so.
22584 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22586         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
22587         BSD terminal modes definitions.
22589 2014-05-16  Roland McGrath  <roland@hack.frob.com>
22591         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
22592         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
22594         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
22595         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
22596         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
22597         Don't do #include_next.
22598         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
22599         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
22600         Don't do #include_next.
22601         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
22602         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
22603         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
22604         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
22606 2014-05-16  Allan McRae  <allan@archlinux.org>
22608         * po/sv.po: Update Swedish translation from translation project.
22610         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
22611         in sed expression.
22613 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
22615         [BZ #16917]
22616         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
22617         errno if the TIOCGPTN ioctl fails with an error different than
22618         EINVAL.
22619         * login/tst-ptsname.c: New file.
22620         * login/Makefile (tests): Add tst-ptsname.
22622         [BZ #16943]
22623         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
22624         and prlimit64.
22626 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22628         [BZ #16849]
22629         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
22630         herrno to return EAI_AGAIN.
22632 2014-05-14  Roland McGrath  <roland@hack.frob.com>
22634         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
22635         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
22636         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
22637         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
22638         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
22639         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
22640         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
22641         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
22642         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
22643         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
22644         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
22645         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
22646         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
22647         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
22648         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
22649         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
22650         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
22651         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
22652         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
22653         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
22654         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
22655         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
22656         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
22657         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
22658         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
22659         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
22660         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
22661         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
22662         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
22663         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
22664         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
22665         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
22666         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
22667         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
22668         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
22669         Moved ...
22670         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
22671         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
22672         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
22673         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
22674         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
22675         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
22676         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
22677         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
22678         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
22679         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
22680         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
22681         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
22682         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
22683         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
22684         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
22685         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
22686         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
22687         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
22688         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
22689         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
22690         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
22691         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
22692         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
22693         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
22694         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
22695         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
22696         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
22697         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
22698         Moved ...
22699         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
22700         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
22701         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
22702         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
22703         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
22704         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
22705         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
22706         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
22707         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
22708         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
22709         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
22710         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
22711         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
22712         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
22713         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
22714         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
22715         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
22716         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
22717         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
22718         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
22719         Moved ...
22720         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
22721         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
22722         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
22724         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
22725         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
22726         (libpthread-sysdep_routines): Add elision-related stuff here instead.
22727         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
22728         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
22729         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
22730         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
22731         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
22732         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
22733         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
22734         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
22735         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
22736         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
22737         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
22738         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
22739         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
22740         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
22741         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
22742         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
22743         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
22744         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
22745         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
22746         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
22747         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
22748         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
22749         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
22750         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
22751         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
22752         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
22753         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
22754         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
22756         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
22757         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
22759         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
22760         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
22761         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
22762         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
22763         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
22764         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
22765         Moved ...
22766         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
22767         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
22768         Moved ...
22769         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
22770         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
22771         Moved ...
22772         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
22773         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
22774         Moved ...
22775         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
22776         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
22777         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
22778         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
22779         Moved ...
22780         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
22781         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
22782         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
22783         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
22784         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
22785         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
22786         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
22787         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
22788         Moved ...
22789         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
22790         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
22791         Moved ...
22792         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
22793         ... here.
22794         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
22795         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
22796         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
22797         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
22798         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
22799         Moved ...
22800         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
22801         ... here.
22802         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
22803         Moved ...
22804         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
22805         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
22806         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
22807         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
22808         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
22809         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
22810         Moved ...
22811         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
22812         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
22813         Moved ...
22814         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
22815         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
22816         Moved ...
22817         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
22818         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
22819         Moved ...
22820         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
22821         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
22822         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
22823         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
22824         Moved ...
22825         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
22826         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
22827         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
22828         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
22829         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
22830         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
22831         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
22832         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
22833         Moved ...
22834         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
22835         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
22836         Moved ...
22837         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
22838         ... here.
22839         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
22840         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
22841         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
22842         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
22843         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
22844         Moved ...
22845         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
22846         ... here.
22847         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
22848         Moved ...
22849         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
22850         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
22851         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
22852         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
22853         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
22854         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
22855         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
22856         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
22857         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
22858         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
22859         Moved ...
22860         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
22861         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
22862         Moved ...
22863         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
22864         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
22865         Moved ...
22866         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
22867         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
22868         Moved ...
22869         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
22870         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
22871         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
22872         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
22873         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
22874         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
22875         Moved ...
22876         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
22877         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
22878         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
22879         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
22880         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
22881         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
22882         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
22883         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
22884         Moved ...
22885         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
22886         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
22887         Moved ...
22888         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
22889         ... here.
22890         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
22891         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
22892         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
22893         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
22894         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
22895         Moved ...
22896         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
22897         ... here.
22898         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
22899         Moved ...
22900         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
22901         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
22902         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
22903         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
22904         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
22905         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
22906         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
22907         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
22908         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
22909         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
22910         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
22912         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
22913         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
22915         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
22916         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
22918         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
22919         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
22920         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
22921         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
22922         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
22923         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
22924         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
22925         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
22926         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
22927         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
22928         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
22929         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
22930         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
22931         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
22932         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
22933         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
22934         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
22935         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
22936         Moved ...
22937         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
22938         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
22939         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
22940         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
22941         Moved ...
22942         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
22943         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
22944         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
22945         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
22946         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
22947         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
22948         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
22949         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
22950         Moved ...
22951         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
22952         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
22953         Moved ...
22954         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
22955         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
22956         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
22957         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
22958         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
22959         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
22960         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
22961         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
22962         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
22963         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
22964         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
22965         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
22966         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
22967         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
22968         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
22969         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
22970         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
22972         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
22973         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
22974         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
22975         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
22976         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
22978         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
22979         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
22980         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
22981         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
22982         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
22983         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
22984         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
22985         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
22986         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
22987         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
22989         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
22990         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
22992         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
22993         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
22994         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
22995         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
22996         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
22997         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
22998         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
22999         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
23000         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
23001         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
23002         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
23003         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
23004         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
23005         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
23006         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
23007         Update #include.
23008         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
23009         Likewise.
23010         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
23011         Likewise.
23012         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
23013         Likewise.
23014         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
23015         Likewise.
23016         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
23017         Likewise.
23018         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
23019         Likewise.
23020         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
23021         Likewise.
23022         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
23023         Likewise.
23024         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
23025         Likewise.
23026         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
23027         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
23028         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
23029         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
23030         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
23031         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
23032         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
23033         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
23034         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
23035         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
23036         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
23037         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
23038         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
23039         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
23040         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
23042         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
23043         that was previously under [RESET_PID].
23044         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
23045         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
23046         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
23048         * sysdeps/i386/nptl/Implies: New file.
23049         * sysdeps/x86_64/nptl/Implies: New file.
23050         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
23051         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
23052         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
23053         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
23055         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
23056         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
23057         (__libc_vfork): New strong alias.
23058         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
23059         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
23061         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
23062         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
23063         (__libc_vfork): New strong alias.
23064         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
23065         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
23067         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
23068         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
23069         (__libc_vfork): New strong alias.
23070         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
23071         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
23072         * nptl/pt-vfork.c: New file.
23073         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
23074         (libpthread: GLIBC_2.20): New version set (empty).
23076 2014-05-14  Will Newton  <will.newton@linaro.org>
23078         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
23079         rather than #if.
23081 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
23083         [BZ #16564]
23084         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
23085         arguments with exponent 65 or above.
23086         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
23087         arguments 0x1p113L or above.
23088         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
23089         to arguments 0x1p107L or above.
23090         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
23091         positive arguments with exponent 65 or above.
23092         * math/auto-libm-test-in: Add more tests of log1p.
23093         * math/auto-libm-test-out: Regenerated.
23095         [BZ #16928]
23096         * math/s_cacos.c (__cacos): Ensure zero real part of result from
23097         non-finite arguments is +0.
23098         * math/s_cacosf.c (__cacosf): Likewise.
23099         * math/s_cacosl.c (__cacosl): Likewise.
23100         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
23101         * sysdeps/i386/fpu/libm-test-ulps: Update.
23102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23104         [BZ #16927]
23105         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
23106         value.
23107         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
23108         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
23109         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
23110         for explicit high bit of mantissa when testing for argument equal
23111         to 1.
23112         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
23113         * sysdeps/i386/fpu/libm-test-ulps: Update.
23114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23116         [BZ #16516]
23117         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
23118         (__erf): Scale by 16 instead of 8 in potentially underflowing
23119         case.  Ensure exception if result actually underflows.
23120         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
23121         (__erff): Scale by 16 instead of 8 in potentially underflowing
23122         case.  Ensure exception if result actually underflows.
23123         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
23124         (efx8): Remove variable.
23125         (__erfl): Scale by 16 instead of 8 in potentially underflowing
23126         case.  Ensure exception if result actually underflows.
23127         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
23128         (efx8): Remove variable.
23129         (__erfl): Scale by 16 instead of 8 in potentially underflowing
23130         case.  Ensure exception if result actually underflows.
23131         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
23132         (efx8): Remove variable.
23133         (__erfl): Scale by 16 instead of 8 in potentially underflowing
23134         case.  Ensure exception if result actually underflows.
23135         * math/auto-libm-test-in: Add more tests of erf.
23136         * math/auto-libm-test-out: Regenerated.
23138 2014-05-14  Andreas Schwab  <schwab@suse.de>
23140         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
23141         Remove code conditionalized on USE___THREAD.
23143         * config.h.in (HAVE_PT_CHOWN): Define as 0.
23144         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
23145         not definedness.
23147 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
23149         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
23150         Define unconditionally.
23151         (__ASSUME_O_CLOEXEC): Likewise.
23152         (__ASSUME_SOCK_CLOEXEC): Likewise.
23153         (__ASSUME_IN_NONBLOCK): Likewise.
23154         (__ASSUME_PIPE2): Likewise.
23155         (__ASSUME_EVENTFD2): Likewise.
23156         (__ASSUME_SIGNALFD4): Likewise.
23157         (__ASSUME_DUP3): Likewise.
23158         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23159         (__ASSUME_DUP3): Do not define.
23160         (__ASSUME_EVENTFD2): Likewise.
23161         (__ASSUME_IN_NONBLOCK): Likewise.
23162         (__ASSUME_O_CLOEXEC): Likewise.
23163         (__ASSUME_PIPE2): Likewise.
23164         (__ASSUME_SIGNALFD4): Likewise.
23165         (__ASSUME_SOCK_CLOEXEC): Likewise.
23166         (__ASSUME_UTIMES): Undefine.
23167         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23168         (__ASSUME_UTIMES): Do not define.
23169         (__ASSUME_O_CLOEXEC): Likewise.
23170         (__ASSUME_SOCK_CLOEXEC): Likewise.
23171         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
23172         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
23173         0x020621].
23174         (__ASSUME_PIPE2): Likewise.
23175         (__ASSUME_EVENTFD2): Likewise.
23176         (__ASSUME_SIGNALFD4): Likewise.
23177         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
23178         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
23179         Do not define.
23180         (__ASSUME_EVENTFD2): Likewise.
23181         (__ASSUME_SIGNALFD4): Likewise.
23182         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23183         (__ASSUME_32BITUIDS): Likewise.
23184         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
23185         (__ASSUME_IPC64): Likewise.
23186         (__ASSUME_ST_INO_64_BIT): Likewise.
23187         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
23188         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
23189         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23190         (__ASSUME_UTIMES): Do not define.
23191         (__ASSUME_PSELECT): Likewise.
23192         (__ASSUME_PPOLL): Likewise.
23193         (__ASSUME_O_CLOEXEC): Likewise.
23194         (__ASSUME_SOCK_CLOEXEC): Likewise.
23195         (__ASSUME_IN_NONBLOCK): Likewise.
23196         (__ASSUME_PIPE2): Likewise.
23197         (__ASSUME_EVENTFD2): Likewise.
23198         (__ASSUME_SIGNALFD4): Likewise.
23199         (__ASSUME_DUP3): Likewise.
23200         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23201         (__ASSUME_UTIMES): Likewise.
23202         (__ASSUME_O_CLOEXEC): Likewise.
23203         (__ASSUME_SOCK_CLOEXEC): Likewise.
23204         (__ASSUME_IN_NONBLOCK): Likewise.
23205         (__ASSUME_PIPE2): Likewise.
23206         (__ASSUME_EVENTFD2): Likewise.
23207         (__ASSUME_SIGNALFD4): Likewise.
23208         (__ASSUME_DUP3): Likewise.
23209         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23210         (__ASSUME_UTIMES): Likewise.
23211         (__ASSUME_O_CLOEXEC): Likewise.
23212         (__ASSUME_SOCK_CLOEXEC): Likewise.
23213         (__ASSUME_IN_NONBLOCK): Likewise.
23214         (__ASSUME_PIPE2): Likewise.
23215         (__ASSUME_EVENTFD2): Likewise.
23216         (__ASSUME_SIGNALFD4): Likewise.
23217         (__ASSUME_DUP3): Likewise.
23218         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
23219         Likewise.
23220         (__ASSUME_UTIMES): Likewise.
23221         (__ASSUME_EVENTFD2): Likewise.
23222         (__ASSUME_SIGNALFD4): Likewise.
23223         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23224         (__ASSUME_O_CLOEXEC): Likewise.
23225         (__ASSUME_SOCK_CLOEXEC): Likewise.
23226         (__ASSUME_IN_NONBLOCK): Likewise.
23227         (__ASSUME_PIPE2): Likewise.
23228         (__ASSUME_EVENTFD2): Likewise.
23229         (__ASSUME_SIGNALFD4): Likewise.
23230         (__ASSUME_DUP3): Likewise.
23231         (__ASSUME_UTIMES): Undefine.
23233         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
23234         feclearexcept.  Remove symbol versioning code.
23235         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
23236         symbol versioning code.
23237         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
23238         symbol versioning code.
23239         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
23240         feupdateenv.  Remove symbol versioning code.
23241         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
23242         fegetexceptflag.  Remove symbol versioning code.
23243         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
23244         fesetexceptflag.  Remove symbol versioning code.
23245         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
23246         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
23247         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
23248         (__posix_fadvise64_l32): Remove prototype.
23249         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
23250         code.
23252 2014-05-13  Roland McGrath  <roland@hack.frob.com>
23254         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
23255         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
23256         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
23257         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
23259 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
23261         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
23262         current working directory
23264 2014-05-13  Roland McGrath  <roland@hack.frob.com>
23266         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
23267         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
23268         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
23269         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
23270         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
23271         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
23272         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
23273         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
23274         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
23275         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
23276         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
23277         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
23278         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
23279         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
23280         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
23281         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
23282         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
23283         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
23284         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
23285         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
23286         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
23287         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
23288         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
23289         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
23290         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
23291         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
23292         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
23293         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
23294         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
23295         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
23296         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
23297         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
23298         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
23299         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
23300         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
23301         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
23302         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
23303         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
23304         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
23305         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
23306         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
23307         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
23309         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
23310         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
23312         * sysdeps/unix/sysv/linux/arm/Makefile
23313         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
23314         Add rt-aeabi_unwind_cpp_pr1.
23315         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
23316         Add nptl-aeabi_unwind_cpp_pr1.
23317         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
23318         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
23319         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
23320         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
23321         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
23322         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
23324         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
23325         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
23326         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
23327         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
23329         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
23330         Deconditionalize the code that was previously under [RESET_PID].
23331         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
23333         * sysdeps/generic/exit-thread.h: New file.
23334         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
23335         * include/unistd.h (__exit_thread): Remove declaration.
23336         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
23337         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
23338         * csu/libc-start.c: Include <exit-thread.h>.
23339         (LIBC_START_MAIN): Pass no argument to __exit_thread.
23340         * nptl/pthread_create.c: Include <exit-thread.h>.
23341         (start_thread): Call __exit_thread in place of __exit_thread_inline.
23342         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
23343         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
23344         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
23345         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
23346         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
23347         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
23348         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
23349         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
23350         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
23351         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
23352         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
23353         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
23354         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
23355         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
23356         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
23357         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
23359 2014-05-13  Andreas Schwab  <schwab@suse.de>
23361         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
23363 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
23365         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
23366         (__ASSUME_UTIMES): Do not condition on kernel version.
23367         (__ASSUME_PSELECT): Define unconditionally.
23368         (__ASSUME_PPOLL): Likewise.
23369         (__ASSUME_ATFCTS): Likewise.
23370         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
23371         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
23372         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
23373         (__ASSUME_UTIMENSAT): Define unconditionally.
23374         (__ASSUME_PRIVATE_FUTEX): Likewise.
23375         (__ASSUME_FALLOCATE): Likewise.
23376         (__ASSUME_O_CLOEXEC): Likewise.
23377         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
23378         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
23379         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
23380         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
23381         (__ASSUME_IN_NONBLOCK): Likewise.
23382         (__ASSUME_PIPE2): Likewise.
23383         (__ASSUME_EVENTFD2): Likewise.
23384         (__ASSUME_SIGNALFD4): Likewise.
23385         (__ASSUME_DUP3): Likewise.
23386         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23387         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
23388         (__ASSUME_AT_RANDOM): Likewise.
23389         (__ASSUME_PREADV): Likewise.
23390         (__ASSUME_PWRITEV): Likewise.
23391         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
23392         (__ASSUME_F_GETOWN_EX): Define unconditionally.
23393         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
23394         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
23395         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
23396         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23397         (__ASSUME_O_CLOEXEC): Define unconditionally.
23398         (__ASSUME_PSELECT): Do not undefine conditionally.
23399         (__ASSUME_PPOLL): Likewise.
23400         (__ASSUME_ATFCTS): Likewise.
23401         (__ASSUME_SET_ROBUST_LIST): Likewise.
23402         (__ASSUME_UTIMENSAT): Likewise.
23403         (__ASSUME_FDATASYNC): Define unconditionally.
23404         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23405         (__ASSUME_SIGFRAME_V2): Likewise.
23406         )__ASSUME_EVENTFD2): Likewise.
23407         (__ASSUME_SIGNALFD4): Likewise.
23408         (__ASSUME_PSELECT): Do not undefine conditionally.
23409         (__ASSUME_PPOLL): Likewise.
23410         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23411         (__ASSUME_PSELECT): Define unconditionally.
23412         (__ASSUME_PPOLL): Likewise.
23413         (__ASSUME_O_CLOEXEC): Likewise.
23414         (__ASSUME_SOCK_CLOEXEC): Likewise.
23415         (__ASSUME_IN_NONBLOCK): Likewise.
23416         (__ASSUME_PIPE2): Likewise.
23417         (__ASSUME_EVENTFD2): Likewise.
23418         (__ASSUME_SIGNALFD4): Likewise.
23419         (__ASSUME_DUP3): Likewise.
23420         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23421         (__ASSUME_O_CLOEXEC): Likewise.
23422         (__ASSUME_SOCK_CLOEXEC): Likewise.
23423         (__ASSUME_IN_NONBLOCK): Likewise.
23424         (__ASSUME_PIPE2): Likewise.
23425         (__ASSUME_EVENTFD2): Likewise.
23426         (__ASSUME_SIGNALFD4): Likewise.
23427         (__ASSUME_DUP3): Likewise.
23428         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23429         (__ASSUME_EVENTFD2): Likewise.
23430         (__ASSUME_SIGNALFD4): Likewise.
23431         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23433 2014-05-12  Andreas Schwab  <schwab@suse.de>
23435         [BZ #16932]
23436         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
23437         (_nss_nis_gethostbyname4_r): Return error if item length is larger
23438         than maximum RPC packet size.
23439         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
23440         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
23441         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
23442         (_nss_nis_getservbyport_r): Likewise.
23444 2014-05-12  Will Newton  <will.newton@linaro.org>
23446         * malloc/Makefile (tests): Add tst-mallopt.
23447         * malloc/tst-mallopt.c: New file.
23449 2014-05-09  Roland McGrath  <roland@hack.frob.com>
23451         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
23452         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
23454 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23456         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
23457         (tst-tlsmod6.so): Likewise.
23459 2014-05-09  Roland McGrath  <roland@hack.frob.com>
23461         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
23463 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
23465         [BZ #16064]
23466         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
23467         and <dl-procinfo.h>.
23468         (__fegetenv): Save SSE state in envp->__eip if supported.
23469         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
23470         envp->__eip if supported.
23471         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
23472         and <dl-procinfo.h>.
23473         (__fesetenv): Always set __eip, __cs_selector, __opcode,
23474         __data_offset and __data_selector in environment to 0.  Set SSE
23475         state if supported.
23476         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
23477         test-fenv-sse.
23478         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
23479         -mfpmath=sse.
23480         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
23482 2014-05-09  Will Newton  <will.newton@linaro.org>
23484         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
23485         and libc_relro_required for ARM.
23486         * sysdeps/arm/preconfigure: Regenerate.
23488 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
23489             Stefan Liebler  <stli@linux.vnet.ibm.com>
23491         * config.make.in (enable-lock-elision): New Makefile variable.
23492         * configure.ac: Likewise.
23493         * configure: Regenerate.
23494         * sysdeps/s390/configure.ac:
23495         Add check for gcc transactions support.
23496         * sysdeps/s390/configure: Regenerate.
23497         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
23498         Build elision files if enabled.
23499         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
23500         Add lock elision support for s390.
23501         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
23502         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
23503         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
23504         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
23505         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
23506         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
23507         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
23508         Likewise.
23509         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
23510         Likewise.
23511         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
23512         Likewise.
23513         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
23514         Likewise.
23515         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
23516         (__lll_timedlock_elision, __lll_lock_elision)
23517         (__lll_unlock_elision, __lll_trylock_elision)
23518         (lll_timedlock_elision, lll_lock_elision)
23519         (lll_unlock_elision, lll_trylock_elision): Add.
23520         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
23521         (pthread_mutex_t): Add lock elision support for s390.
23523 2014-05-14  Wilco  <wdijkstr@arm.com>
23525         * sysdeps/arm/fclrexcpt.c: Cleanup.
23526         * sysdeps/arm/fedisblxcpt.c: Cleanup.
23527         * sysdeps/arm/feenablxcpt.c: Cleanup.
23528         * sysdeps/arm/fegetenv.c: Cleanup.
23529         * sysdeps/arm/fegetexcept.c: Cleanup.
23530         * sysdeps/arm/fegetround.c: Cleanup.
23531         * sysdeps/arm/feholdexcpt.c: Cleanup.
23532         * sysdeps/arm/fesetenv.c: Cleanup.
23533         * sysdeps/arm/fesetround.c: Cleanup.
23534         * sysdeps/arm/feupdateenv.c: Cleanup.
23535         * sysdeps/arm/fgetexcptflg.c: Cleanup.
23536         * sysdeps/arm/fraiseexcpt.c: Cleanup.
23537         * sysdeps/arm/fsetexcptflg.c: Cleanup.
23538         * sysdeps/arm/ftestexcept.c: Cleanup.
23539         * sysdeps/arm/get-rounding-mode.h: Cleanup.
23540         * sysdeps/arm/setfpucw.c: Cleanup.
23542 2014-05-09  Will Newton  <will.newton@linaro.org>
23544         * sysdeps/arm/armv7/strcmp.S: New file.
23545         * NEWS: Mention addition of ARMv7 optimized strcmp.
23547 2014-05-08  Roland McGrath  <roland@hack.frob.com>
23549         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
23550         look for %.ac rather than %.in.
23552         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
23553         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
23554         * sysdeps/mach/hurd/configure: Regenerated.
23555         * sysdeps/unix/sysv/linux/configure: Regenerated.
23557         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
23559 2014-05-07  Steve Ellcey  <sellcey@mips.com>
23561         [BZ# 16922]
23562         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
23563         (LONG_SUB): Ditto.
23564         (PTR_SUB): Ditto.
23566 2014-05-07  Andreas Schwab  <schwab@suse.de>
23568         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
23569         when skipping over non-matching result from nscd.
23571 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
23573         [BZ #16876]
23574         * nptl/sockperf.c (client): Check socket return value.
23576         [BZ #16877]
23577         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
23578         nscd security class.
23580 2014-05-06  Roland McGrath  <roland@hack.frob.com>
23582         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
23583         * sysdeps/arm/unwind.h: ... here.
23585 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
23587         [BZ# 16916]
23588         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
23589         Define.
23591 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
23593         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
23594         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
23595         multiarch strncpy for PPC64.
23596         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
23597         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
23598         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
23599         multiarch optimizations.
23600         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23601         (__libc_ifunc_impl_list): Likewise.
23602         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
23603         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
23604         multiarch stpncpy for PPC64.
23605         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
23606         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
23608 2014-05-06  Andreas Schwab  <schwab@suse.de>
23610         [BZ #16912]
23611         * gmon/mcount.c (_MCOUNT_DECL): Use
23612         atomic_compare_and_exchange_bool_acq instead of
23613         catomic_compare_and_exchange_bool_acq.
23615 2014-05-05  Roland McGrath  <roland@hack.frob.com>
23617         * elf/Makefile (others, install-bin): Remove pldd.
23618         (pldd-modules): Variable removed.
23619         ($(objpfx)pldd): Target removed.
23620         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
23621         (others, install-bin): Append pldd here.
23622         ($(objpfx)pldd): New target.
23624         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
23625         to 0, so the first #if test emitted later doesn't see it undefined.
23626         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
23627         * sysdeps/gnu/errlist.c: Regenerated.
23629 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23631         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
23632         [libc_hidden_builtin_def]: Define to empty value.
23633         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
23634         [libc_hidden_builtin_def]: Likewise.
23635         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
23636         [libc_hidden_builtin_def]: Likewise.
23637         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
23638         [libc_hidden_builtin_def]: Likewise.
23639         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
23640         __redirect_memcpy and define ifunc as default hidden symbol.
23641         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
23642         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
23644 2014-05-04  Adam Conrad  <adconrad@0c3.net>
23646         * locale/iso-4217.def: Reintroduce XDR currency.
23648 2014-05-04  Allan McRae  <allan@archlinux.org>
23650         * po/eo.po: Update Esperanto translation from translation project.
23652 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
23654         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
23655         and FEATURE_INDEX_MAX to 1.
23656         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
23658 2014-05-01  Steve Ellcey  <sellcey@mips.com>
23660         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
23661         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
23662         * iconvdata/big5.c (ONE_DIRECTION): Define.
23663         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
23664         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
23665         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
23666         * iconvdata/cp932.c (ONE_DIRECTION): Define.
23667         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
23668         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
23669         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
23670         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
23671         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
23672         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
23673         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
23674         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
23675         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
23676         * iconvdata/gbk.c (ONE_DIRECTION): Define.
23677         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
23678         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
23679         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
23680         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
23681         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
23682         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
23683         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
23684         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
23685         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
23686         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
23687         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
23688         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
23689         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
23690         * iconvdata/iso646.c (ONE_DIRECTION): Define.
23691         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
23692         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
23693         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
23694         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
23695         * iconvdata/johab.c (ONE_DIRECTION): Define.
23696         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
23697         * iconvdata/sjis.c (ONE_DIRECTION): Define.
23698         * iconvdata/t.61.c (ONE_DIRECTION): Define.
23699         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
23700         * iconvdata/tscii.c (ONE_DIRECTION): Define.
23701         * iconvdata/uhc.c (ONE_DIRECTION): Define.
23702         * iconvdata/unicode.c (ONE_DIRECTION): Define.
23703         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
23704         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
23705         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
23707 2014-05-01  Roland McGrath  <roland@hack.frob.com>
23709         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
23710         (_IO_JUMPS_OFFSET): Define to 0.
23712         * nptl/sysdeps/pthread/bits/libc-lock.h
23713         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
23714         (__libc_lock_define_initialized_recursive): Always define using
23715         initializer.  Modern compilers treat uninitialized (implicit zero) and
23716         explicit zero initializers the same (i.e. put the datum in bss).
23718 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
23720         * nscd/nscd-client.h: Include <string.h>.
23722 2014-05-01  David S. Miller  <davem@davemloft.net>
23724         [BZ #16885]
23725         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
23726         multiple zero bytes exist at the end of a string.
23727         Reported by Aurelien Jarno <aurelien@aurel32.net>
23729         * string/test-strcmp.c (check): Add explicit test for situations where
23730         there are multiple zero bytes after the first.
23732 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
23734         [BZ #16890]
23735         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
23736         when compiling wprintf.
23737         * stdio-common/tstdiomisc.c (t3): New function.
23738         (main): Call it.
23740 2014-05-01  Steve Ellcey  <sellcey@mips.com>
23742         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
23743         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
23744         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
23745         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
23747 2014-05-01  Steve Ellcey  <sellcey@mips.com>
23749         * stdlib/longlong.h: Updated from GCC.
23751 2014-05-01  Will Newton  <will.newton@linaro.org>
23752             Bernard Ogden  <bernie.ogden@linaro.org>
23754         * NEWS: Update fixed bug list.
23756         [BZ #15119]
23757         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
23759 2014-04-30  David S. Miller  <davem@davemloft.net>
23761         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
23762         (libc_feholdexcept_setround_sparc_ctx): New function.
23763         (libc_fesetenv_sparc_ctx): Likewise.
23764         (libc_feupdateenv_sparc_ctx): Likewise.
23765         (libc_feholdsetround_sparc_ctx): Likewise.
23766         (libc_feholdexcept_setround_ctx): Define.
23767         (libc_feholdexcept_setroundf_ctx): Likewise.
23768         (libc_feholdexcept_setroundl_ctx): Likewise.
23769         (libc_fesetenv_ctx): Likewise.
23770         (libc_fesetenvf_ctx): Likewise.
23771         (libc_fesetenvl_ctx): Likewise.
23772         (libc_feupdateenv_ctx): Likewise.
23773         (libc_feupdateenvf_ctx): Likewise.
23774         (libc_feupdateenvl_ctx): Likewise.
23775         (libc_feresetround_ctx): Likewise.
23776         (libc_feresetroundf_ctx): Likewise.
23777         (libc_feresetroundl_ctx): Likewise.
23778         (libc_feholdsetround_ctx): Likewise.
23779         (libc_feholdsetroundf_ctx): Likewise.
23780         (libc_feholdsetroundl_ctx): Likewise.
23782         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
23783         with __USE_GNU instead of XOPEN cpp guards.
23785         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
23786         0.
23788         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
23789         with XOPEN cpp guards.
23791 2014-04-30  Julian Brown  <julian@codesourcery.com>
23793         [BZ #16888]
23794         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
23795         handling.
23797 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
23799         [BZ #9894]
23800         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
23801         Change to 2.6.32.
23802         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
23803         * sysdeps/unix/sysv/linux/configure: Regenerated.
23804         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
23805         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
23806         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
23807         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
23808         * README: Update reference to required Linux kernel version.
23809         * manual/install.texi (Linux): Update reference to required Linux
23810         kernel headers version.
23811         * INSTALL: Regenerated.
23813         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
23814         header inclusion.
23815         [POSIX] (limits.h): Likewise.
23816         [POSIX] (math.h): Likewise.
23817         [POSIX] (sys/wait.h): Likewise.
23818         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
23819         function.
23820         [POSIX] (stddef.h): Do not allow header inclusion.
23822 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23824         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
23826 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
23828         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
23829         Return immediately after lll_futex_wake.
23831 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23833         [BZ #16791]
23834         * nscd/nscd-client.h (datahead_init_common): Initialize entire
23835         structure.
23836         (datahead_init_pos): Call datahead_init_common early.
23837         (datahead_init_neg): Likewise.
23839         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
23840         datahead_init_neg): New functions.
23841         * nscd/aicache.c (addhstaiX): Use them.
23842         * nscd/grpcache.c (cache_addgr): Likewise.
23843         * nscd/hstcache.c (cache_addhst): Likewise.
23844         * nscd/initgrcache.c (addinitgroupsX): Likewise.
23845         * nscd/netgroupcache.c (do_notfound): Likewise.
23846         (addgetnetgrentX): Likewise.
23847         (addinnetgrX): Likewise.
23848         * nscd/pwdcache.c (cache_addpw): Likewise.
23849         * nscd/servicescache.c (cache_addserv): Likewise.
23851 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23852             Atsushi Onoe  <atsushi@onoe.org>
23854         [BZ #14308]
23855         [BZ #12994]
23856         [BZ #13651]
23857         * resolv/res_query.c (__libc_res_nsearch): Return if at least
23858         one response is valid.
23859         * resolv/res_send.c (send_dg): Check for validity of other
23860         response if the current response is a referral.
23862 2014-04-29  Steve Ellcey  <sellcey@mips.com>
23864         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
23866 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
23868         [BZ #16823]
23869         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
23870         Always divide by positive zero when computing -Inf result.
23871         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
23872         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
23874 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23876         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
23877         FPSCR if value do not change.
23878         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
23879         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
23880         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
23881         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
23882         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
23883         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
23884         function.
23886 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
23888         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
23889         * sysdeps/unix/sysv/linux/hppa: Move directory from
23890         ports/systeps/unix/sysv/linux/hppa.
23891         * README: Update listing for hppa-*-linux-gnu.
23893 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
23895         [BZ #16754]
23896         * manual/stdio.texi (Hook functions): Fix types of stream hook
23897         functions.
23898         [BZ #16854]
23899         * socket/sys/socket.h: Fix typo in comment.
23901 2014-04-28  Wilco  <wdijkstr@arm.com>
23903         * sysdeps/arm/fenv_private.h: New file.
23904         * sysdeps/arm/math_private.h: New file.
23905         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
23907 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
23909         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
23910         with __int128_t.
23911         (La_x86_64_retval): Likewise.
23913 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
23915         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
23916         fpsr if value didn't change.
23917         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
23918         to fpcr if value didn't change.
23919         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
23920         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
23921         fpsr or fpcr if value didn't change.
23922         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
23923         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
23924         fpcr if value didn't change.
23925         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
23926         to fpsr if value didn't change.
23928 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
23930         * nptl/tst-sem3.c: Use test-skeleton.c
23931         (main): Rename to do_test.  Use return instead of
23932         exit.
23933         * nptl/tst-sem4.c: Use test-skeleton.c
23934         (main): Rename to do_test.
23936 2014-04-22  David S. Miller  <davem@davemloft.net>
23938         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
23939         (struct sigaction): New struct member __glibc_reserved0, change
23940         type of sa_flags to int.
23942 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
23944         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
23945         (COUNT_LEADING_ZEROS_0): Define for AArch64.
23947 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
23949         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
23950         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
23952 2014-04-22  Will Newton  <will.newton@linaro.org>
23953             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
23955         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
23956         (__longjmp): Add longjmp and longjmp_target SystemTap
23957         probes.
23958         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
23959         (__sigsetjmp): Add setjmp SystemTap probe.
23961 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
23963         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
23964         match manual order.
23966 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23968         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
23970         * sysdeps/powerpc/fpu/fenv_private.h
23971         (libc_feholdexcept_setroundl_ctx): Define to
23972         libc_feholdexcept_setround_ppc_ctx.
23973         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
23974         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
23975         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
23976         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
23978 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
23980         * sysdeps/aarch64/math-tests.h: New file.
23982 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
23984         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
23985         New.
23986         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23987         Check and set bit_AVX2_Usable.
23988         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
23989         macro.
23990         (bit_AVX2): Likewise.
23991         (index_AVX2_Usable): Likewise.
23992         (CPUID_AVX2): Likewise.
23993         (HAS_AVX2): Likewise.
23995 2014-04-17  Will Newton  <will.newton@linaro.org>
23997         * manual/setjmp.texi (System V contexts): Add note that
23998         calling setcontext on a context created by a call to a
23999         signal handler is undefined.  Update text to note that
24000         setcontext from a signal handler is possible but not
24001         recommended.
24003         [BZ #16629]
24004         * stdlib/tst-setcontext.c: Include signal.h.
24005         (main): Check that the signal stack before and
24006         after swapcontext is the same.
24008         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
24009         Re-implement to restore registers in user code and avoid
24010         rt_sigreturn system call.
24012 2014-04-17  Wilco  <wdijkstr@arm.com>
24014         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
24015         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
24016         * math/test-fenv.c: Skip exception trap tests on targets which only
24017         support non-stop mode.
24019 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
24020             Wilco Dijkstra  <wilco.dijkstra@arm.com>
24022         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
24023         (libc_feholdsetround_aarch64_ctx)
24024         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
24025         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
24026         (libc_feresetround_ctx, libc_feresetroundf_ctx)
24027         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
24028         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
24029         (libc_feresetround_noexl_ctx): Define.
24031 2014-04-16  Richard Henderson  <rth@redhat.com>
24033         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
24035         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
24036         unwind tables.
24038         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
24039         const from the non-libc, non-ldso copy.
24041         * sysdeps/alpha/libm-test-ulps: Regenerate.
24043 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
24044             Wilco Dijkstra  <wilco.dijkstra@arm.com>
24046         * sysdeps/aarch64/fpu/math_private.h: New file.
24048 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
24050         * sysdeps/aarch64/libm-test-ulps: Regenerate.
24052 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
24054         [BZ #16275]
24055         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
24056         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
24057         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
24058         Intel MPX bound registers before _dl_profile_fixup.
24059         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
24060         registers after _dl_profile_fixup.  Save and restore bound
24061         registers bnd0/bnd1 when calling _dl_call_pltexit.
24062         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
24063         (LR_BND_OFFSET): Likewise.
24064         (LRV_BND0_OFFSET): Likewise.
24065         (LRV_BND1_OFFSET): Likewise.
24067 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24069         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
24070         to...
24071         * sysdeps/mach/hurd/i386/tls.h: ... here.
24072         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
24073         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
24074         fields.
24076 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24078         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
24080 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
24082         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24084 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
24086         [BZ #14770]
24087         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
24088         * sysdeps/s390/configure: Regenerate.
24090         [BZ #16824]
24091         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
24092         Set round-to-nearest internally to reduce error accumulation.
24094 2014-04-16  Alan Modra  <amodra@gmail.com>
24096         [BZ #16740]
24097         [BZ #16619]
24098         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
24099         * math/libm-test.inc (frexp_test_data): Add tests.
24100         * NEWS: Update fixed bug list.
24102 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24104         * benchtests/Makefile: Depend on libraries in build directory.
24105         (bench-math): Separate out math tests.
24106         (bench-pthread): Separate out pthread tests.
24107         (bench): Include math and pthread tests.
24109 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
24111         [BZ #16831]
24112         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
24113         _dl_debug_initialize.
24115         * configure.ac: Remove SELinux header check.
24116         * configure: Regenerate.
24117         * nscd/selinux.c (perms): Array of const char* to permission names.
24118         (nscd_request_avc_has_perm): Call security_deny_unknown to find
24119         default policy. Call string_to_security_class and string_to_av_perm to
24120         translate strings. Enforce default policy and call avs_has_perm with
24121         results of translated strings.
24123 2014-04-13  David S. Miller  <davem@davemloft.net>
24125         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24127 2014-04-12  Allan McRae  <allan@archlinux.org>
24129         [BZ #16838]
24130         * manual/string.texi (Collation Functions): Fix qsort argument
24131         order in example.
24132         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24134 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
24136         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
24137         Make the test a no-op if there are no exceptions defined.
24139 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
24141         * elf/Makefile (tests): make tst-dlopen-aout conditional on
24142         enable-hardcoded-path-in-tests
24144 2014-04-11  Will Newton  <will.newton@linaro.org>
24146         * benchtests/Makefile (extra-objs): Add json-lib.o.
24147         (bench-func): Tidy up JSON output.
24148         * benchtests/bench-skeleton.c: Include json-lib.h.
24149         (main): Use JSON library functions to do output of
24150         benchmark results.
24151         * benchtests/bench-timing-type.c (main): Output the
24152         timing type simply, leaving formatting to the user.
24153         * benchtests/json-lib.c: New file.
24154         * benchtests/json-lib.h: Likewise.
24156 2014-04-11  Torvald Riegel  <triegel@redhat.com>
24158         [BZ #15215]
24159         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
24160         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
24161         memory barriers.  Add comments.
24162         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
24163         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
24164         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
24165         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
24166         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
24167         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
24169 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
24171         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
24172         * sysdeps/s390/s390-64/configure.ac: ... this ...
24173         * sysdeps/s390/configure.ac: ... to here.
24174         * sysdeps/s390/s390-32/configure: Delete file.
24175         * sysdeps/s390/s390-64/configure: Delete file.
24176         * sysdeps/s390/configure: Regenerate.
24178 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
24180         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
24182 2014-04-11  Will Newton  <will.newton@linaro.org>
24184         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
24185         to zero if it is not defined elsewhere.  (mtrim): Test
24186         the value of MALLOC_DEBUG with #if rather than #ifdef.
24188 2014-04-10 Torvald Riegel  <triegel@redhat.com>
24190         * benchtests/pthread_once-inputs: New file.
24191         * benchtests/pthread_once-source.c: New file.
24192         * benchtests/README: Update documentation.
24194 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
24195             H.J. Lu  <hongjiu.lu@intel.com>
24197         [BZ #16275]
24198         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
24199         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
24200         * sysdeps/x86_64/configure: Regenerated.
24201         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
24202         macro.
24203         (REGISTER_SAVE_RAX): Likewise.
24204         (REGISTER_SAVE_RCX): Likewise.
24205         (REGISTER_SAVE_RDX): Likewise.
24206         (REGISTER_SAVE_RSI): Likewise.
24207         (REGISTER_SAVE_RDI): Likewise.
24208         (REGISTER_SAVE_R8): Likewise.
24209         (REGISTER_SAVE_R9): Likewise.
24210         (REGISTER_SAVE_BND0): Likewise.
24211         (REGISTER_SAVE_BND1): Likewise.
24212         (REGISTER_SAVE_BND2): Likewise.
24213         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
24214         bound registers when calling _dl_fixup.
24216 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24218         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
24219         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
24220         of its definition.
24221         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
24222         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
24223         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
24224         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
24225         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
24226         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
24227         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
24229 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
24231         [BZ #15514]
24232         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
24233         pathconf(_PC_NAME_MAX).
24235 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24237         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
24238         Remove macro usage.
24239         (__PTHREAD_SPINS): Move definition to ...
24240         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
24241         (__PTHREAD_SPINS): ... here.
24242         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
24243         (__PTHREAD_SPIN): Likewise.
24244         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
24245         (__PTHREAD_SPIN): Likewise.
24246         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
24247         (__PTHREAD_SPIN): Likewise.
24248         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
24249         (__PTHREAD_SPIN): Likewise.
24250         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
24251         (__PTHREAD_SPIN): Likewise.
24252         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
24253         (__PTHREAD_SPIN): Likewise.
24254         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
24255         (__PTHREAD_SPIN): Likewise.
24256         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
24257         (__PTHREAD_SPIN): Likewise.
24258         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
24259         (__PTHREAD_SPIN): Likewise.
24260         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
24261         (__PTHREAD_SPIN): Likewise.
24262         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
24263         (__PTHREAD_SPIN): Likewise.
24264         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
24265         (__PTHREAD_SPIN): Likewise.
24267         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
24268         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
24269         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
24270         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
24271         imply folder.
24272         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
24273         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
24274         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
24275         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
24276         correct imply path.
24277         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
24278         strlen symbol for non multi-arch builds.
24279         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
24280         missing hidden_def and weak_alias.
24282 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
24284         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
24286 2014-04-07  Will Newton  <will.newton@linaro.org>
24288         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
24289         and contents.  [!_LIBC] Remove #ifndef and contents.
24290         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
24291         * string/memccpy.c (__memccpy): Use ANSI prototype.
24292         * string/memfrob.c (memfrob): Likewise.
24293         * string/strcoll.c (STRCOLL): Likewise.
24294         * string/strlen.c (strlen): Likewise.
24295         * string/strtok.c (STRTOK): Likewise.
24296         * string/strcat.c: Remove unused #include of memcopy.h.
24297         (strcat): Use ANSI prototype.
24298         * string/strchr.c: Remove unused #include of memcopy.h.
24299         (strchr): Use ANSI prototype.
24300         * string/strcmp.c: Remove unused #include of memcopy.h.
24301         (strcmp): Use ANSI prototype.
24302         * string/strcpy.c: Remove unused #include of memcopy.h.
24303         (strcpy): Use ANSI prototype.
24305 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24307         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
24308         * config.make.in (config-extra-cppflags): Set it from
24309         libc_extra_cppflags.
24310         * configure.ac (libc_extra_cflags): Make it accumulate over
24311         configure fragments.
24312         (libc_extra_cppflags): New flag.
24313         * configure. Regenerate.
24314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
24315         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
24316         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
24317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
24319         [BZ #16815]
24320         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
24321         result for FE_DOWNWARD rounding mode.
24322         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
24323         Likewise.
24324         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24326 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
24328         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
24329         in function argument name.
24331 2014-04-03  David Svoboda  <svoboda@cert.org>
24333         [BZ #5666]
24334         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
24335         explicitly.
24337 2014-04-03  Roland McGrath  <roland@hack.frob.com>
24339         * elf/dl-unmap-segments.h: New file.
24340         * sysdeps/generic/ldsodefs.h
24341         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
24342         * elf/dl-close.c: Include <dl-unmap-segments.h>.
24343         * elf/dl-fptr.c: Likewise.
24344         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
24345         * sysdeps/aarch64/tlsdesc.c: Likewise.
24346         * sysdeps/arm/tlsdesc.c: Likewise.
24347         * sysdeps/i386/tlsdesc.c: Likewise.
24348         * sysdeps/tile/dl-runtime.c: Likewise.
24349         * sysdeps/x86_64/tlsdesc.c: Likewise.
24350         * elf/dl-load.h: New file.
24351         * elf/dl-load.c: Include it.
24352         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
24353         Macros moved to dl-load.h.
24354         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
24355         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
24356         Use _dl_unmap_segments in place of __munmap.
24357         Break out segment-mapping loop into ...
24358         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
24360 2014-04-03  Will Newton  <will.newton@linaro.org>
24362         * elf/dl-lookup.c (do_lookup_x): Remove comment
24363         referring to nested function and move variable
24364         declarations down to before first use.
24366 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
24368         [BZ #16799]
24369         [BZ #16800]
24370         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
24371         with 0 numerator.
24372         * math/s_catanf.c (__catanf): Likewise.
24373         * math/s_catanh.c (__catanh): Likewise.
24374         * math/s_catanhf.c (__catanhf): Likewise.
24375         * math/s_catanhl.c (__catanhl): Likewise.
24376         * math/s_catanl.c (__catanl): Likewise.
24377         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
24378         by positive zero when computing -Inf result.
24379         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
24380         (catanh_test): Likewise.
24381         * sysdeps/i386/fpu/libm-test-ulps: Update.
24382         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24384         [BZ #16789]
24385         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
24386         instead of using underflowing value in computing result.
24387         * math/s_clog10.c (__clog10): Likewise.
24388         * math/s_clog10f.c (__clog10f): Likewise.
24389         * math/s_clog10l.c (__clog10l): Likewise.
24390         * math/s_clogf.c (__clogf): Likewise.
24391         * math/s_clogl.c (__clogl): Likewise.
24392         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
24393         (clog10_test): Likewise.
24394         * sysdeps/i386/fpu/libm-test-ulps: Update.
24395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24397 2014-04-02  Alan Modra  <amodra@gmail.com>
24399         [BZ #16739]
24400         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
24401         output when value is near a power of two.  Use int64_t for lx and
24402         remove casts.  Use decimal rather than hex exponent constants.
24403         Don't use long double multiplication when double will suffice.
24404         * math/libm-test.inc (nextafter_test_data): Add tests.
24405         * NEWS: Add 16739 and 16786 to bug list.
24407         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
24409         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
24411 2014-04-01  Will Newton  <will.newton@linaro.org>
24413         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
24414         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
24416 2014-04-01  Florian Weimer  <fweimer@redhat.com>
24418         [BZ #13347]
24419         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
24420         * nptl/tst-setuid2.c: New file.
24421         * nptl/Makefile (xtests): Add tst-setuid2.
24423 2014-04-01  Alan Modra  <amodra@gmail.com>
24425         [BZ #16786]
24426         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
24428 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
24430         [BZ #6803]
24431         [BZ #6804]
24432         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
24433         set errno as appropriate.
24434         * math/w_scalbf.c (__scalbf): Likewise.
24435         * math/w_scalbl.c (__scalbl): Likewise.
24436         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
24437         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
24438         * math/libm-test.inc (scalb_test_data): Add errno expectations.
24439         Add more NaN tests.
24441         [BZ #16349]
24442         * math/w_atan2.c: Include <errno.h>.
24443         (__atan2): Set errno for result underflowing to zero.
24444         * math/w_atan2f.c: Include <errno.h>.
24445         (__atan2f): Set errno for result underflowing to zero.
24446         * math/w_atan2l.c: Include <errno.h>.
24447         (__atan2l): Set errno for result underflowing to zero.
24448         * math/auto-libm-test-in: Don't allow missing errno for some atan2
24449         tests.
24450         * math/auto-libm-test-out: Regenerated.
24452 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24454         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
24455         Encode instruction correctly in little endian.
24456         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
24457         Likewise.
24458         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
24459         Likewise.
24460         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
24461         Likewise.
24462         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
24463         Likewise.
24465 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
24467         [BZ #9894]
24468         * sysdeps/unix/sysv/linux/kernel-features.h
24469         [__sparc__ && !__arch64__ && !__sparc_v9__]
24470         (__ASSUME_SET_ROBUST_LIST): Do not define.
24471         [__sparc__ && !__arch64__ && !__sparc_v9__]
24472         (__ASSUME_FUTEX_LOCK_PI): Likewise.
24473         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
24474         Likewise.
24475         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24476         (__ASSUME_FUTEX_LOCK_PI): Undefine.
24477         (__ASSUME_REQUEUE_PI): Likewise.
24478         (__ASSUME_SET_ROBUST_LIST): Likewise.
24479         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24480         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
24481         Undefine.
24482         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24483         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
24484         Likewise.
24485         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
24486         Likewise.
24487         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
24488         Likewise.
24489         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24490         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
24491         Undefine.
24492         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
24493         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
24494         Likewise.
24496         [BZ #16648]
24497         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24498         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
24499         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
24501 2014-03-31  Will Newton  <will.newton@linaro.org>
24503         * benchtests/Makefile (bench): Add ffs and ffsll to list
24504         of tests.
24505         * benchtests/ffs-inputs: New file.
24506         * benchtests/ffsll-inputs: Likewise.
24508 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
24510         [BZ #16770]
24511         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
24512         too large before casting to int.
24513         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
24514         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
24515         * math/libm-test.inc (scalb_test_data): Add more tests.
24517 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24519         * benchtests/Makefile (DETAILED_OPT): New make option.
24520         (bench-func): Run benchmark program with -d if DETAILED_OPT is
24521         set.
24522         * benchtests/bench-skeleton.c: Include stdbool.h.
24523         (main): Store and print timings per input.
24524         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
24525         member to each argument value.
24526         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
24527         (_print_arg_data): Initialize per-input timing to 0.
24529         * benchtests/Makefile (timing-type): New binary.
24530         (bench-clean): Also remove bench-timing-type.
24531         (bench): New target for timing-type.
24532         (bench-func): Print output in JSON format.
24533         * benchtests/bench-skeleton.c (main): Print output in JSON
24534         format.
24535         * benchtests/bench-timing-type.c: New file.
24536         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
24537         (TIMING_PRINT_STATS): Remove.
24538         * benchtests/scripts/bench.py (_print_arg_data): Store variant
24539         name separately.
24541         * benchtests/bench-modf.c: Remove.
24542         * benchtests/modf-inputs: New inputs file.
24544 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
24546         [BZ #16362]
24547         * math/s_clog10.c (M_PI_LOG10E): New macro.
24548         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
24549         imaginary parts are 0.
24550         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
24551         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
24552         imaginary parts are 0.
24553         * math/s_clog10l.c (M_PI_LOG10El): New macro.
24554         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
24555         imaginary parts are 0.
24556         * math/libm-test.inc (clog10_test_data): Update expected results
24557         for when real and imaginary parts are 0.
24559 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
24561         * elf/dl-load.c: Finish conversion of __builtin_expect into
24562         __glibc_{un}likely.
24564 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
24566         [BZ #16348]
24567         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
24568         1+x for argument with exponent below -67.
24569         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
24570         Likewise.
24571         * math/auto-libm-test-in: Add more tests of exp.
24572         * math/auto-libm-test-out: Regenerated.
24574 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24576         [BZ #16759]
24577         * inet/getnetgrent_r.c (get_nonempty_val): New function.
24578         (nscd_getnetgrent): Use it.
24580         [BZ #16760]
24581         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
24582         of stpcpy.
24584 2014-03-27  Andi Kleen  <ak@linux.intel.com>
24586         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
24587         (lll_robust_lock, lll_cond_lock, lll_timedlock)
24588         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
24589         (lll_robust_unlock): Remove out of line section. Use cfi
24590         intrinsics.
24591         (LLL_STUB_UNWIND_INFO*): Remove.
24592         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
24593         (lll_robust_lock, lll_cond_lock, lll_timedlock)
24594         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
24595         (lll_robust_unlock): Remove out of line section. Use cfi
24596         intrinsics.
24597         (LLL_STUB_UNWIND_INFO*): Remove.
24599 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24601         [BZ #16758]
24602         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
24603         blank values.
24605 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
24607         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
24609 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
24611         [BZ #16198]
24612         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
24613         fnstenv.
24614         * math/test-fenv-preserve.c: New file.
24615         * math/Makefile (tests): Add test-fenv-preserve.
24617 2014-03-26  Will Newton <will.newton@linaro.org>
24619         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
24621 2014-03-25  Roland McGrath  <roland@hack.frob.com>
24623         * scripts/versionlist.awk: Partition the version sets and emit all
24624         GLIBC_* (sorted) before all others (sorted).
24626 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
24628         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
24629         GLIBC_2.2.5 version.
24631 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24633         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
24634         calls.
24636         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
24637         previous change.
24639         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24641 2014-03-25  Andreas Schwab  <schwab@suse.de>
24643         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
24644         label to be used after in6ailist is initialized.
24646 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24648         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
24649         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
24651 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
24653         [BZ #16357]
24654         [BZ #16599]
24655         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
24656         min_plus_half.
24657         (fp_formats): Update initializers.
24658         (init_fp_formats): Initialize new field.
24659         (output_for_one_input_case): Allow underflow for results up to
24660         min_plus_half.
24661         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
24662         * math/auto-libm-test-in: Don't mark some underflows from asin and
24663         atanh as spurious.
24664         * math/auto-libm-test-out: Regenerated.
24665         * sysdeps/i386/fpu/libm-test-ulps: Update.
24666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24668 2014-03-25  Andreas Schwab  <schwab@suse.de>
24670         * libio/Makefile (tst-ftell-partial-wide-ENV)
24671         (tst-ftell-active-handler-ENV): Define.
24673 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
24675         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
24677 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
24679         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
24681 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
24683         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
24684         * sysdeps/x86_64/fpu/multiarch/e_exp.c
24685         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
24687 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
24689         [BZ #16634]
24690         * elf/dl-load.c (open_verify): Add mode parameter.
24691         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
24692         (open_path): Change from boolean 'secure' to complete flag 'mode'
24693         (_dl_map_object): Adjust.
24694         * elf/Makefile (tests): Add tst-dlopen-aout.
24695         * elf/tst-dlopen-aout.c: New test.
24697 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
24699         [BZ #16714]
24700         * sysdeps/unix/sysv/linux/s390/bits/stat.h
24701         (struct stat): Rename member pad0 to __glibc_reserved0.
24703         [BZ #16712]
24704         * sysdeps/s390/s390-32/bits/wordsize.h
24705         (__WORDSIZE32_SIZE_ULONG): New define.
24706         * sysdeps/s390/s390-64/bits/wordsize.h
24707         (__WORDSIZE32_SIZE_ULONG): Likewise.
24708         * sysdeps/generic/stdint.h (SIZE_MAX):
24709         Define as UL if __WORDSIZE32_SIZE_ULONG.
24711         [BZ #16713]
24712         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
24713         (__glibc_reserved0): New variable.
24714         (sa_flags): Change type to int.
24716         * posix/Makefile (before-compile): Use += before-compile instead
24717         of a :=.
24719         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
24720         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
24722 2014-03-20  Andreas Schwab  <schwab@suse.de>
24724         [BZ #16743]
24725         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
24726         non-matching result from nscd.
24728 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24730         * scripts/bench.py: Moved to ...
24731         * benchtests/scripts/bench.py: ... here.
24732         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
24734 2014-03-24  Andreas Schwab  <schwab@suse.de>
24736         [BZ #16002]
24737         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
24738         alloca_account and account alloca use for struct in6ailist.
24740 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
24742         [BZ #16284]
24743         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
24744         rounding mode to recompute results that overflow to infinity or
24745         underflow to zero.
24746         * math/auto-libm-test-in: Don't mark tests as expected to fail for
24747         bug 16284.
24748         * math/auto-libm-test-out: Regenerated.
24749         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
24750         (ccosh_test): Likewise.
24751         (csin_test_data): Use plus_oflow.
24752         (csin_test): Use ALL_RM_TEST.
24753         (csinh_test_data): Use plus_oflow.
24754         (csinh_test): Use ALL_RM_TEST.
24755         * sysdeps/i386/fpu/libm-test-ulps: Update.
24756         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24758 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
24760         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
24761         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
24762         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
24764         [BZ #16731]
24765         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
24766         when x - 1 is zero.
24767         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
24768         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
24769         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
24770         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
24771         argument is 1.
24772         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
24773         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
24774         zero.
24775         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
24776         * sysdeps/i386/fpu/libm-test-ulps: Update.
24777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24779 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24781         * scripts/bench.pl: Remove file.
24782         * scripts/bench.py: New benchmark script.
24783         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
24784         * benchtests/README: Mention python dependency.
24785         * scripts/pylintrc: New file.
24786         * scripts/pylint: New file.
24788         * bits/mathdef.h: Use #ifdef instead of #if.
24789         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
24790         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
24791         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
24792         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
24793         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
24794         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
24796 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24797             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
24799         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
24800         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
24801         and strpbrk-ppc64 objects.
24802         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24803         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
24804         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
24805         multiarch strpbrk for POWER7.
24806         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
24807         multiarch strpbrk for PPC64.
24808         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
24809         ifunc selector.
24810         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
24811         strpbrk for POWER7.
24813 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
24815         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
24816         (atan_test): Likewise.
24817         (atanh_test_data): Use NO_TEST_INLINE for two tests.
24818         (atanh_test): Use ALL_RM_TEST.
24819         (atan2_test_data): Likewise.
24820         (cabs_test): Likewise.
24821         (cacosh_test): Likewise.
24822         (carg_test): Likewise.
24823         (casin_test): Likewise.
24824         (casinh_test): Likewise.
24825         (cbrt_test): Likewise.
24826         (csqrt_test): Likewise.
24827         (erf_test): Likewise.
24828         (erfc_test): Likewise.
24829         (pow10_test): Likewise.
24830         (exp2_test): Likewise.
24831         (hypot_test): Likewise.
24832         (j0_test): Likewise.
24833         (j1_test): Likewise.
24834         (lgamma_test): Likewise.
24835         (gamma_test): Likewise.
24836         (sincos_test): Likewise.
24837         (tanh_test): Likewise.
24838         (y0_test): Likewise.
24839         (y1_test): Likewise.
24840         * sysdeps/i386/fpu/libm-test-ulps: Update.
24841         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24843 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24845         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
24846         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
24847         and strcspn-ppc64 objects.
24848         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24849         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
24850         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
24851         multiarch strcspn for POWER7.
24852         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
24853         multiarch strcspn for PPC64.
24854         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
24855         ifunc selector.
24856         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
24857         strcspn for POWER7.
24859 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
24861         * math/gen-libm-test.pl (generate_testfile): Expect only function
24862         name as argument to AUTO_TESTS_* and pass results for all rounding
24863         modes to parse_args.
24864         (parse_auto_input): Separate inputs of automatic tests from
24865         outputs before storing in %auto_tests.
24866         * math/libm-test.inc (acos_test_data): Update call to
24867         AUTO_TESTS_f_f.
24868         (acos_test): Use ALL_RM_TEST.
24869         (acos_tonearest_test_data): Remove.
24870         (acos_test_tonearest): Likewise.
24871         (acos_towardzero_test_data): Likewise.
24872         (acos_test_towardzero): Likewise.
24873         (acos_downward_test_data): Likewise.
24874         (acos_test_downward): Likewise.
24875         (acos_upward_test_data): Likewise.
24876         (acos_test_upward): Likewise.
24877         (acosh_test_data): Update call to AUTO_TESTS_f_f.
24878         (asin_test_data): Likewise.
24879         (asin_test): Use ALL_RM_TEST.
24880         (asin_tonearest_test_data): Remove.
24881         (asin_test_tonearest): Likewise.
24882         (asin_towardzero_test_data): Likewise.
24883         (asin_test_towardzero): Likewise.
24884         (asin_downward_test_data): Likewise.
24885         (asin_test_downward): Likewise.
24886         (asin_upward_test_data): Likewise.
24887         (asin_test_upward): Likewise.
24888         (asinh_test_data): Update call to AUTO_TESTS_f_f.
24889         (atan_test_data): Likewise.
24890         (atanh_test_data): Likewise.
24891         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
24892         (cabs_test_data): Update call to AUTO_TESTS_c_f.
24893         (carg_test_data): Likewise.
24894         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
24895         (ccos_test_data): Update call to AUTO_TESTS_c_c.
24896         (ccosh_test_data): Likewise.
24897         (cexp_test_data): Likewise.
24898         (clog_test_data): Likewise.
24899         (clog10_test_data): Likewise.
24900         (cos_test_data): Update call to AUTO_TESTS_f_f.
24901         (cos_test): Use ALL_RM_TEST.
24902         (cos_tonearest_test_data): Remove.
24903         (cos_test_tonearest): Likewise.
24904         (cos_towardzero_test_data): Likewise.
24905         (cos_test_towardzero): Likewise.
24906         (cos_downward_test_data): Likewise.
24907         (cos_test_downward): Likewise.
24908         (cos_upward_test_data): Likewise.
24909         (cos_test_upward): Likewise.
24910         (cosh_test_data): Update call to AUTO_TESTS_f_f.
24911         (cosh_test): Use ALL_RM_TEST.
24912         (cosh_tonearest_test_data): Remove.
24913         (cosh_test_tonearest): Likewise.
24914         (cosh_towardzero_test_data): Likewise.
24915         (cosh_test_towardzero): Likewise.
24916         (cosh_downward_test_data): Likewise.
24917         (cosh_test_downward): Likewise.
24918         (cosh_upward_test_data): Likewise.
24919         (cosh_test_upward): Likewise.
24920         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
24921         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
24922         (ctan_test_data): Likewise.
24923         (ctan_test): Use ALL_RM_TEST.
24924         (ctan_tonearest_test_data): Remove.
24925         (ctan_test_tonearest): Likewise.
24926         (ctan_towardzero_test_data): Likewise.
24927         (ctan_test_towardzero): Likewise.
24928         (ctan_downward_test_data): Likewise.
24929         (ctan_test_downward): Likewise.
24930         (ctan_upward_test_data): Likewise.
24931         (ctan_test_upward): Likewise.
24932         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
24933         (ctanh_test): Use ALL_RM_TEST.
24934         (ctanh_tonearest_test_data): Remove.
24935         (ctanh_test_tonearest): Likewise.
24936         (ctanh_towardzero_test_data): Likewise.
24937         (ctanh_test_towardzero): Likewise.
24938         (ctanh_downward_test_data): Likewise.
24939         (ctanh_test_downward): Likewise.
24940         (ctanh_upward_test_data): Likewise.
24941         (ctanh_test_upward): Likewise.
24942         (erf_test_data): Update call to AUTO_TESTS_f_f.
24943         (erfc_test_data): Likewise.
24944         (exp_test_data): Likewise.
24945         (exp_test): Use ALL_RM_TEST.
24946         (exp_tonearest_test_data): Remove.
24947         (exp_test_tonearest): Likewise.
24948         (exp_towardzero_test_data): Likewise.
24949         (exp_test_towardzero): Likewise.
24950         (exp_downward_test_data): Likewise.
24951         (exp_test_downward): Likewise.
24952         (exp_upward_test_data): Likewise.
24953         (exp_test_upward): Likewise.
24954         (exp10_test_data): Update call to AUTO_TESTS_f_f.
24955         (exp10_test): Use ALL_RM_TEST.
24956         (exp10_tonearest_test_data): Remove.
24957         (exp10_test_tonearest): Likewise.
24958         (exp10_towardzero_test_data): Likewise.
24959         (exp10_test_towardzero): Likewise.
24960         (exp10_downward_test_data): Likewise.
24961         (exp10_test_downward): Likewise.
24962         (exp10_upward_test_data): Likewise.
24963         (exp10_test_upward): Likewise.
24964         (exp2_test_data): Update call to AUTO_TESTS_f_f.
24965         (expm1_test_data): Likewise.
24966         (expm1_test): Use ALL_RM_TEST.
24967         (expm1_tonearest_test_data): Remove.
24968         (expm1_test_tonearest): Likewise.
24969         (expm1_towardzero_test_data): Likewise.
24970         (expm1_test_towardzero): Likewise.
24971         (expm1_downward_test_data): Likewise.
24972         (expm1_test_downward): Likewise.
24973         (expm1_upward_test_data): Likewise.
24974         (expm1_test_upward): Likewise.
24975         (fma_test_data): Update call to AUTO_TESTS_fff_f.
24976         (fma_test): Use ALL_RM_TEST.
24977         (fma_towardzero_test_data): Remove.
24978         (fma_test_towardzero): Likewise.
24979         (fma_downward_test_data): Likewise.
24980         (fma_test_downward): Likewise.
24981         (fma_upward_test_data): Likewise.
24982         (fma_test_upward): Likewise.
24983         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
24984         (j0_test_data): Update call to AUTO_TESTS_f_f.
24985         (j1_test_data): Likewise.
24986         (jn_test_data): Update call to AUTO_TESTS_if_f.
24987         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
24988         (log_test_data): Update call to AUTO_TESTS_f_f.
24989         (log10_test_data): Likewise.
24990         (log1p_test_data): Likewise.
24991         (log2_test_data): Likewise.
24992         (pow_test_data): Update call to AUTO_TESTS_ff_f.
24993         (pow_tonearest_test_data): Likewise.
24994         (sin_test_data): Update call to AUTO_TESTS_f_f.
24995         (sin_test): Use ALL_RM_TEST.
24996         (sin_tonearest_test_data): Remove.
24997         (sin_test_tonearest): Likewise.
24998         (sin_towardzero_test_data): Likewise.
24999         (sin_test_towardzero): Likewise.
25000         (sin_downward_test_data): Likewise.
25001         (sin_test_downward): Likewise.
25002         (sin_upward_test_data): Likewise.
25003         (sin_test_upward): Likewise.
25004         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
25005         (sinh_test_data): Update call to AUTO_TESTS_f_f.
25006         (sinh_test): Use ALL_RM_TEST.
25007         (sinh_tonearest_test_data): Remove.
25008         (sinh_test_tonearest): Likewise.
25009         (sinh_towardzero_test_data): Likewise.
25010         (sinh_test_towardzero): Likewise.
25011         (sinh_downward_test_data): Likewise.
25012         (sinh_test_downward): Likewise.
25013         (sinh_upward_test_data): Likewise.
25014         (sinh_test_upward): Likewise.
25015         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
25016         (sqrt_test): Use ALL_RM_TEST.
25017         (sqrt_tonearest_test_data): Remove.
25018         (sqrt_test_tonearest): Likewise.
25019         (sqrt_towardzero_test_data): Likewise.
25020         (sqrt_test_towardzero): Likewise.
25021         (sqrt_downward_test_data): Likewise.
25022         (sqrt_test_downward): Likewise.
25023         (sqrt_upward_test_data): Likewise.
25024         (sqrt_test_upward): Likewise.
25025         (tan_test_data): Update call to AUTO_TESTS_f_f.
25026         (tan_test): Use ALL_RM_TEST.
25027         (tan_tonearest_test_data): Remove.
25028         (tan_test_tonearest): Likewise.
25029         (tan_towardzero_test_data): Likewise.
25030         (tan_test_towardzero): Likewise.
25031         (tan_downward_test_data): Likewise.
25032         (tan_test_downward): Likewise.
25033         (tan_upward_test_data): Likewise.
25034         (tan_test_upward): Likewise.
25035         (tanh_test_data): Update call to AUTO_TESTS_f_f.
25036         (tgamma_test_data): Likewise.
25037         (y0_test_data): Likewise.
25038         (y1_test_data): Likewise.
25039         (yn_test_data): Update call to AUTO_TESTS_if_f.
25040         (main): Do not call removed functions.
25042 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
25044         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
25045         (ldexp_test_data): Remove.
25046         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
25047         scalbn_test_data.
25048         (scalb_test): Use ALL_RM_TEST.
25050 2014-03-19  Andreas Schwab  <schwab@suse.de>
25052         * nscd/nscd.service: Also invalidate netgroup cache on reload.
25054 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
25056         [BZ #16649]
25057         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25058         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
25059         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
25060         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25061         (__ASSUME_PREADV): Undefine.
25062         (__ASSUME_PWRITEV): Likewise.
25064 2014-03-18  Roland McGrath  <roland@hack.frob.com>
25066         * bits/mman-linux.h: Add comment about non-Linux use.
25067         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
25068         bits/mman-linux.h resting place.
25070         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
25071         * bits/mman-linux.h: ... here.
25073 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25075         * conform/conformtest.pl: Add standard definition when calling C
25076         preprocessor on data files.
25077         (checknamespace): Remove unused variable.
25079 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
25081         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
25082         minus_oflow, plus_uflow and minus_uflow in expected results.
25083         * math/libm-test.inc (scalbn_test_data): Add more tests of
25084         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
25085         minus_uflow.
25086         (scalbn_test): Use ALL_RM_TEST.
25087         (scalbln_test_data): Add more tests of negative arguments.  Use
25088         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
25089         (scalbln_test): Use ALL_RM_TEST.
25091 2014-03-18  Roland McGrath  <roland@hack.frob.com>
25093         * scripts/abilist.awk: Ignore symbols marked with .hidden.
25095 2014-03-18  Will Newton  <will.newton@linaro.org>
25097         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
25098         inaccurate comment.
25100 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
25102         * Makerules [!subdir] (check-abi): Exit with error status if a
25103         test failed.
25105 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
25107         * math/libm-test.inc (nearbyint_test_data): Include all tests used
25108         for rint.  Include results for all rounding modes.
25109         (nearbyint_test): Use ALL_RM_TEST.
25110         (rint_test_data): Include all tests used for nearbyint.
25112 2014-03-17  Will Newton  <will.newton@linaro.org>
25114         * nptl/sysdeps/pthread/pthread.h: Revert previous
25115         change.
25117         * sysdeps/generic/ldsodefs.h: Revert previous
25118         change.
25120         * libio/genops.c: Revert previous change.
25121         * libio/libioP.h: Likewise.
25122         * stdio-common/vfprintf.c: Likewise.
25124         * sysdeps/generic/math_private.h: Revert previous
25125         change.
25127         * sysdeps/generic/math_private.h: Check whether
25128         HAVE_RM_CTX is defined with #ifdef rather
25129         than #if.
25131         * argp/argp-fmtstream.h: Check whether
25132         __STRICT_ANSI__ is defined with #ifdef rather
25133         than #if.
25134         * argp/argp.h: Likewise.
25136         * libio/genops.c: Check whether
25137         _IO_JUMPS_OFFSET is defined with #ifdef rather
25138         than #if.
25139         * libio/libioP.h: Likewise.
25140         * stdio-common/vfprintf.c: Likewise.
25142         * sysdeps/generic/ldsodefs.h: Check whether
25143         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
25144         than #if.
25146         * nptl/sysdeps/pthread/pthread.h: Check
25147         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
25148         its value.
25150 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
25152         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
25153         setting O_APPEND.
25154         * libio/tst-ftell-active-handler.c (do_append_test): Add a
25155         test case.
25157         [BZ #16680]
25158         * libio/fileops.c (_IO_file_open): Seek to end of file but
25159         don't cache the offset.
25160         (get_file_offset): Remove function.
25161         (do_ftell): Use cached offset when available.
25162         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
25163         don't cache the offset.
25164         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
25165         case.
25166         (do_one_test): Call it.
25167         (do_ftell_test): Fix up expected old offset for a+ mode.
25168         * libio/wfileops.c (do_ftell_wide): Used cached offset when
25169         available.
25171         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
25172         up test status with function return status.
25173         (do_write_test): Likewise.
25174         (do_append_test): Likewise.
25176         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
25177         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
25178         Remove.
25180 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
25182         * math/gen-libm-test.pl (parse_args): Handle results specified for
25183         each rounding mode separately.
25184         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
25185         tests and results from lrint_tonearest_test_data,
25186         lrint_towardzero_test_data, lrint_downward_test_data and
25187         lrint_upward_test_data.
25188         (lrint_test): Use ALL_RM_TEST.
25189         (lrint_tonearest_test_data): Remove.
25190         (lrint_test_tonearest): Likewise.
25191         (lrint_towardzero_test_data): Likewise.
25192         (lrint_test_towardzero): Likewise.
25193         (lrint_downward_test_data): Likewise.
25194         (lrint_test_downward): Likewise.
25195         (lrint_upward_test_data): Likewise.
25196         (lrint_test_upward): Likewise.
25197         (llrint_test_data): Merge in per-rounding-mode tests and results
25198         from llrint_tonearest_test_data, llrint_towardzero_test_data,
25199         llrint_downward_test_data and llrint_upward_test_data.
25200         (llrint_test): Use ALL_RM_TEST.
25201         (llrint_tonearest_test_data): Remove.
25202         (llrint_test_tonearest): Likewise.
25203         (llrint_towardzero_test_data): Likewise.
25204         (llrint_test_towardzero): Likewise.
25205         (llrint_downward_test_data): Likewise.
25206         (llrint_test_downward): Likewise.
25207         (llrint_upward_test_data): Likewise.
25208         (llrint_test_upward): Likewise.
25209         (rint_test_data): Merge in per-rounding-mode tests and results
25210         from rint_tonearest_test_data, rint_towardzero_test_data,
25211         rint_downward_test_data and rint_upward_test_data.  Add
25212         per-rounding-mode results for tests not in those arrays.
25213         (rint_test): Use ALL_RM_TEST.
25214         (rint_tonearest_test_data): Remove.
25215         (rint_test_tonearest): Likewise.
25216         (rint_towardzero_test_data): Likewise.
25217         (rint_test_towardzero): Likewise.
25218         (rint_downward_test_data): Likewise.
25219         (rint_test_downward): Likewise.
25220         (rint_upward_test_data): Likewise.
25221         (rint_test_upward): Likewise.
25222         (main): Don't call removed functions.
25224 2014-03-14  Roland McGrath  <roland@hack.frob.com>
25226         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
25227         "Compiled on ..." crapola.  It is anti-useful.
25229 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
25231         * scripts/evaluate-test.sh: Handle fourth argument to determine
25232         whether test run should stop on failure.
25233         * Makeconfig (stop-on-test-failure): New variable.
25234         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
25235         $(stop-on-test-failure).
25236         * Makefile (tests): Give a summary of results from testing and
25237         exit with failure status if they include an ERROR or FAIL.
25238         (xtests): Likewise.
25239         * manual/install.texi (Configuring and compiling): Mention
25240         stop-on-test-failure=y.
25241         * INSTALL: Regenerated.
25243 2014-03-14  Roland McGrath  <roland@hack.frob.com>
25245         * scripts/versionlist.awk: New file.
25246         * Makerules [$(build-shared) = yes]
25247         (postclean-generated): Add Versions.def, not Versions.def.v and
25248         Versions.def.v.i.
25249         ($(common-objpfx)Versions.def.v.i): Target removed.
25250         ($(common-objpfx)Versions.def): New target.
25251         ($(common-objpfx)Versions.all): Depend on that rather that
25252         $(common-objpfx)Versions.def.v.
25253         * Versions.def: File removed.
25255         * Makeconfig (+gccwarn): Add -Wundef.
25256         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
25257         a dl-sysdep.h breaking its contract.
25258         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
25259         * include/stackinfo.h: New file.
25260         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
25261         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
25262         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
25263         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
25264         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
25265         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
25266         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
25267         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
25268         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
25269         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
25270         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
25271         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
25272         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
25273         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
25274         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
25276 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25278         [BZ #16707]
25279         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
25280         implementation.
25281         * math/libm-test.inc (round_test_data): Add more tests.
25283         [BZ #16706]
25284         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
25285         implementation.
25286         * math/libm-test.inc (nearbyint_test_data): Add more tests.
25288         [BZ #16701]
25289         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
25290         implementation.
25291         * math/libm-test.inc (ceil_test_data): Add more tests.
25293         * math/libm-test.inc (trunc_test_data): Add more tests related to
25294         BZ#16414.
25296 2014-03-14  Roland McGrath  <roland@hack.frob.com>
25298         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
25299         with #if rather than #ifdef.
25300         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
25302 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
25304         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
25305         first.  Disable AVX-512 GCC support if assembler doesn't support
25306         it.
25307         * sysdeps/x86_64/configure: Regenerated.
25309 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
25311         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
25312         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
25313         (__old_pthread_attr_setstack): Likewise.
25314         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
25315         [!_STACK_GROWS_DOWN]: Likewise.
25317 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
25319         * config.make.in (have-bash2): Delete.
25320         * configure.ac (libc_cv_have_bash2): Delete.
25321         * configure: Regenerate.
25322         * elf/Makefile (common-ldd-rewrite): Rename to ...
25323         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
25324         (sh-ldd-rewrite): Delete.
25325         (bash-ldd-rewrite): Delete.
25326         (have-bash2): Delete checks.
25327         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
25328         ldd-rewrite.
25330         * config.make.in (have-ksh): Delete.
25331         (KSH): Delete.
25332         * configure.ac (libc_cv_have_ksh): Delete.
25333         * configure: Regenerate.
25335         * elf/Makefile: Delete $(have-ksh) check.
25336         ($(objpfx)sotruss): Change KSH to BASH.
25337         * elf/sotruss.ksh: Rename to ...
25338         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
25339         function style to match POSIX.  Drop ksh vim mode setting.
25341         * manual/time.texi (Specifying the Time Zone with TZ): Change
25342         Tuesday to Thursday.
25344         * debug/tst-longjmp_chk2.c: Update header comment.
25345         (stackoverflow_handler): Add comment.  Call assert on pass value.
25347 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
25349         [BZ #16194]
25350         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
25351         (HAVE_AVX512_ASM_SUPPORT): Likewise.
25352         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
25353         (La_x86_64_vector): Add zmm.
25354         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
25355         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
25356         ($(objpfx)tst-audit10): New target.
25357         ($(objpfx)tst-audit10.out): Likewise.
25358         (tst-audit10-ENV): New.
25359         (AVX512-CFLAGS): Likewise.
25360         (CFLAGS-tst-audit10.c): Likewise.
25361         (CFLAGS-tst-auditmod10a.c): Likewise.
25362         (CFLAGS-tst-auditmod10b.c): Likewise.
25363         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
25364         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
25365         * sysdeps/x86_64/configure: Regenerated.
25366         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
25367         AVX-512 zmm register support.
25368         (_dl_x86_64_save_sse): Likewise.
25369         (_dl_x86_64_restore_sse): Likewise.
25370         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
25371         size vector registers.
25372         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
25373         (ZMM_SIZE): Likewise.
25374         * sysdeps/x86_64/tst-audit10.c: New file.
25375         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
25376         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
25378 2014-03-13  Roland McGrath  <roland@hack.frob.com>
25380         * configure.ac (HAVE_EHDR_START): New check.
25381         * configure: Regenerated.
25382         * config.h.in (HAVE_EHDR_START): New #undef.
25383         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
25384         assuming the lowest-addressed segment maps the start of the file.
25386 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
25388         * INSTALL: Regenerated.
25390 2014-03-13  Will Newton  <will.newton@linaro.org>
25392         * manual/setjmp.texi (System V contexts): Improve
25393         clarity and grammar of documentation.
25395 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
25397         [BZ #16381]
25398         * elf/Makefile (tests): Add tst-pie2.
25399         (tests-pie): Add tst-pie2.
25400         * elf/tst-pie2.c: New file.
25401         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
25402         for ET_EXEC.
25403         * elf/rtld.c (map_doit): Load executable as lt_executable.
25404         (dl_main): Likewise.
25406 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
25408         [BZ #16642]
25409         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25410         (__ASSUME_PSELECT): Undefine.
25412 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25414         [BZ #16689]
25415         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
25416         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
25417         static build.
25418         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
25419         selector for static builds.
25421 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25423         [BZ #16695]
25424         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
25425         key in the buffer.
25427 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25429         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
25430         IFUNC selector for static builds.
25432 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
25434         * sysdeps/mips/math_private.h [__mips_hard_float]
25435         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
25436         libc_feresetround_mips_ctx.
25437         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
25438         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
25439         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
25441         [BZ #16677]
25442         * math/s_nextafter.c (__nextafter): Do not return value from
25443         overflowing computation.
25444         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
25445         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
25446         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
25447         Likewise.
25448         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
25449         Likewise.
25450         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
25451         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
25453 2014-03-11  Roland McGrath  <roland@hack.frob.com>
25455         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
25456         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
25457         Move sfi_sp use from the load-multiple (that no longer sets sp) to
25458         the new mov targetting sp.
25460 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25462         [BZ #16683]
25463         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
25464         Define it for static builds as well.
25465         (NO_BZERO_IMPL): Likewise.
25467 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
25469         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
25470         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
25471         multiarch strspn for PPC64.
25472         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
25473         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
25474         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25475         (__libc_ifunc_impl_list): Likewise.
25476         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
25477         multiarch optimizations
25478         * string/strspn.c (strspn): Using macro to redefine symbol name.
25480 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
25481             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25483         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
25484         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
25485         multiarch strncat for PPC64.
25486         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
25487         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
25488         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25489         (__libc_ifunc_impl_list): Likewise.
25490         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
25491         multiarch optimizations
25493 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25495         [BZ #16639]
25496         * nscd/nscd.service: Make service type forking.
25498 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25500         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
25501         sign in non default rounding modes.
25502         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
25504 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
25506         * math/libm-test.inc (ALL_RM_TEST): New macro.
25507         (ceil_test): Use ALL_RM_TEST.
25508         (cimag_test): Likewise.
25509         (conj_test): Likewise.
25510         (copysign_test): Likewise.
25511         (cproj_test): Likewise.
25512         (creal_test): Likewise.
25513         (fabs_test): Likewise.
25514         (floor_test): Likewise.
25515         (fmax_test): Likewise.
25516         (fmin_test): Likewise.
25517         (fmod_test): Likewise.
25518         (fpclassify_test): Likewise.
25519         (frexp_test): Likewise.
25520         (ilogb_test): Likewise.
25521         (isfinite_test): Likewise.
25522         (finite_test): Likewise.
25523         (isgreater_test): Likewise.
25524         (isgreaterequal_test): Likewise.
25525         (isinf_test): Likewise.
25526         (isless_test): Likewise.
25527         (islessequal_test): Likewise.
25528         (islessgreater_test): Likewise.
25529         (isnan_test): Likewise.
25530         (isnormal_test): Likewise.
25531         (issignaling_test): Likewise.
25532         (isunordered_test): Likewise.
25533         (logb_test): Likewise.
25534         (logb_downward_test_data): Remove.
25535         (logb_test_downward): Likewise.
25536         (lround_test): Use ALL_RM_TEST.
25537         (llround_test): Likewise.
25538         (modf_test): Likewise.
25539         (nexttoward_test): Likewise.
25540         (remainder_test): Likewise.
25541         (drem_test): Likewise.
25542         (remainder_tonearest_test_data): Likewise.
25543         (remainder_test_tonearest): Likewise.
25544         (drem_test_tonearest): Likewise.
25545         (remainder_towardzero_test_data): Likewise.
25546         (remainder_test_towardzero): Likewise.
25547         (drem_test_towardzero): Likewise.
25548         (remainder_downward_test_data): Likewise.
25549         (remainder_test_downward): Likewise.
25550         (drem_test_downward): Likewise.
25551         (remainder_upward_test_data): Likewise.
25552         (remainder_test_upward): Likewise.
25553         (drem_test_upward): Likewise.
25554         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
25555         (round_test): Use ALL_RM_TEST.
25556         (signbit_test): Likewise.
25557         (trunc_test): Likewise.
25558         (significand_test): Likewise.
25559         (main): Don't call removed functions.
25561 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
25563         [BZ #16674]
25564         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
25565         || __USE_XOPEN2K8].
25566         (ILL_ILLOPN): Likewise.
25567         (ILL_ILLADR): Likewise.
25568         (ILL_ILLTRP): Likewise.
25569         (ILL_PRVOPC): Likewise.
25570         (ILL_PRVREG): Likewise.
25571         (ILL_COPROC): Likewise.
25572         (ILL_BADSTK): Likewise.
25573         (FPE_INTDIV): Likewise.
25574         (FPE_INTOVF): Likewise.
25575         (FPE_FLTDIV): Likewise.
25576         (FPE_FLTOVF): Likewise.
25577         (FPE_FLTUND): Likewise.
25578         (FPE_FLTRES): Likewise.
25579         (FPE_FLTINV): Likewise.
25580         (FPE_FLTSUB): Likewise.
25581         (SEGV_MAPERR): Likewise.
25582         (SEGV_ACCERR): Likewise.
25583         (BUS_ADRALN): Likewise.
25584         (BUS_ADRERR): Likewise.
25585         (BUS_OBJERR): Likewise.
25586         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25587         (TRAP_TRACE): Likewise.
25588         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25589         __USE_XOPEN2K8].
25590         (CLD_KILLED): Likewise.
25591         (CLD_DUMPED): Likewise.
25592         (CLD_TRAPPED): Likewise.
25593         (CLD_STOPPED): Likewise.
25594         (CLD_CONTINUED): Likewise.
25595         (POLL_IN): Likewise.
25596         (POLL_OUT): Likewise.
25597         (POLL_MSG): Likewise.
25598         (POLL_ERR): Likewise.
25599         (POLL_PRI): Likewise.
25600         (POLL_HUP): Likewise.
25601         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
25602         Likewise.
25603         (ILL_ILLOPN): Likewise.
25604         (ILL_ILLADR): Likewise.
25605         (ILL_ILLTRP): Likewise.
25606         (ILL_PRVOPC): Likewise.
25607         (ILL_PRVREG): Likewise.
25608         (ILL_COPROC): Likewise.
25609         (ILL_BADSTK): Likewise.
25610         (FPE_INTDIV): Likewise.
25611         (FPE_INTOVF): Likewise.
25612         (FPE_FLTDIV): Likewise.
25613         (FPE_FLTOVF): Likewise.
25614         (FPE_FLTUND): Likewise.
25615         (FPE_FLTRES): Likewise.
25616         (FPE_FLTINV): Likewise.
25617         (FPE_FLTSUB): Likewise.
25618         (SEGV_MAPERR): Likewise.
25619         (SEGV_ACCERR): Likewise.
25620         (BUS_ADRALN): Likewise.
25621         (BUS_ADRERR): Likewise.
25622         (BUS_OBJERR): Likewise.
25623         (BUS_MCEERR_AR): Likewise.
25624         (BUS_MCEERR_AO): Likewise.
25625         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25626         (TRAP_TRACE): Likewise.
25627         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25628         __USE_XOPEN2K8].
25629         (CLD_KILLED): Likewise.
25630         (CLD_DUMPED): Likewise.
25631         (CLD_TRAPPED): Likewise.
25632         (CLD_STOPPED): Likewise.
25633         (CLD_CONTINUED): Likewise.
25634         (POLL_IN): Likewise.
25635         (POLL_OUT): Likewise.
25636         (POLL_MSG): Likewise.
25637         (POLL_ERR): Likewise.
25638         (POLL_PRI): Likewise.
25639         (POLL_HUP): Likewise.
25640         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
25641         (ILL_ILLOPN): Likewise.
25642         (ILL_ILLADR): Likewise.
25643         (ILL_ILLTRP): Likewise.
25644         (ILL_PRVOPC): Likewise.
25645         (ILL_PRVREG): Likewise.
25646         (ILL_COPROC): Likewise.
25647         (ILL_BADSTK): Likewise.
25648         (FPE_INTDIV): Likewise.
25649         (FPE_INTOVF): Likewise.
25650         (FPE_FLTDIV): Likewise.
25651         (FPE_FLTOVF): Likewise.
25652         (FPE_FLTUND): Likewise.
25653         (FPE_FLTRES): Likewise.
25654         (FPE_FLTINV): Likewise.
25655         (FPE_FLTSUB): Likewise.
25656         (SEGV_MAPERR): Likewise.
25657         (SEGV_ACCERR): Likewise.
25658         (BUS_ADRALN): Likewise.
25659         (BUS_ADRERR): Likewise.
25660         (BUS_OBJERR): Likewise.
25661         (BUS_MCEERR_AR): Likewise.
25662         (BUS_MCEERR_AO): Likewise.
25663         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25664         (TRAP_TRACE): Likewise.
25665         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25666         __USE_XOPEN2K8].
25667         (CLD_KILLED): Likewise.
25668         (CLD_DUMPED): Likewise.
25669         (CLD_TRAPPED): Likewise.
25670         (CLD_STOPPED): Likewise.
25671         (CLD_CONTINUED): Likewise.
25672         (POLL_IN): Likewise.
25673         (POLL_OUT): Likewise.
25674         (POLL_MSG): Likewise.
25675         (POLL_ERR): Likewise.
25676         (POLL_PRI): Likewise.
25677         (POLL_HUP): Likewise.
25678         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
25679         Likewise.
25680         (ILL_ILLOPN): Likewise.
25681         (ILL_ILLADR): Likewise.
25682         (ILL_ILLTRP): Likewise.
25683         (ILL_PRVOPC): Likewise.
25684         (ILL_PRVREG): Likewise.
25685         (ILL_COPROC): Likewise.
25686         (ILL_BADSTK): Likewise.
25687         (ILL_BADIADDR): Likewise.
25688         (ILL_BREAK): Likewise.
25689         (FPE_INTDIV): Likewise.
25690         (FPE_INTOVF): Likewise.
25691         (FPE_FLTDIV): Likewise.
25692         (FPE_FLTOVF): Likewise.
25693         (FPE_FLTUND): Likewise.
25694         (FPE_FLTRES): Likewise.
25695         (FPE_FLTINV): Likewise.
25696         (FPE_FLTSUB): Likewise.
25697         (FPE_DECOVF): Likewise.
25698         (FPE_DECDIV): Likewise.
25699         (FPE_DECERR): Likewise.
25700         (FPE_INVASC): Likewise.
25701         (FPE_INVDEC): Likewise.
25702         (SEGV_MAPERR): Likewise.
25703         (SEGV_ACCERR): Likewise.
25704         (SEGV_PSTKOVF): Likewise.
25705         (BUS_ADRALN): Likewise.
25706         (BUS_ADRERR): Likewise.
25707         (BUS_OBJERR): Likewise.
25708         (BUS_MCEERR_AR): Likewise.
25709         (BUS_MCEERR_AO): Likewise.
25710         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25711         (TRAP_TRACE): Likewise.
25712         (TRAP_BRANCH): Likewise.
25713         (TRAP_HWBKPT): Likewise.
25714         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25715         __USE_XOPEN2K8].
25716         (CLD_KILLED): Likewise.
25717         (CLD_DUMPED): Likewise.
25718         (CLD_TRAPPED): Likewise.
25719         (CLD_STOPPED): Likewise.
25720         (CLD_CONTINUED): Likewise.
25721         (POLL_IN): Likewise.
25722         (POLL_OUT): Likewise.
25723         (POLL_MSG): Likewise.
25724         (POLL_ERR): Likewise.
25725         (POLL_PRI): Likewise.
25726         (POLL_HUP): Likewise.
25727         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
25728         (ILL_ILLOPN): Likewise.
25729         (ILL_ILLADR): Likewise.
25730         (ILL_ILLTRP): Likewise.
25731         (ILL_PRVOPC): Likewise.
25732         (ILL_PRVREG): Likewise.
25733         (ILL_COPROC): Likewise.
25734         (ILL_BADSTK): Likewise.
25735         (FPE_INTDIV): Likewise.
25736         (FPE_INTOVF): Likewise.
25737         (FPE_FLTDIV): Likewise.
25738         (FPE_FLTOVF): Likewise.
25739         (FPE_FLTUND): Likewise.
25740         (FPE_FLTRES): Likewise.
25741         (FPE_FLTINV): Likewise.
25742         (FPE_FLTSUB): Likewise.
25743         (SEGV_MAPERR): Likewise.
25744         (SEGV_ACCERR): Likewise.
25745         (BUS_ADRALN): Likewise.
25746         (BUS_ADRERR): Likewise.
25747         (BUS_OBJERR): Likewise.
25748         (BUS_MCEERR_AR): Likewise.
25749         (BUS_MCEERR_AO): Likewise.
25750         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25751         (TRAP_TRACE): Likewise.
25752         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25753         __USE_XOPEN2K8].
25754         (CLD_KILLED): Likewise.
25755         (CLD_DUMPED): Likewise.
25756         (CLD_TRAPPED): Likewise.
25757         (CLD_STOPPED): Likewise.
25758         (CLD_CONTINUED): Likewise.
25759         (POLL_IN): Likewise.
25760         (POLL_OUT): Likewise.
25761         (POLL_MSG): Likewise.
25762         (POLL_ERR): Likewise.
25763         (POLL_PRI): Likewise.
25764         (POLL_HUP): Likewise.
25765         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
25766         (ILL_ILLOPN): Likewise.
25767         (ILL_ILLADR): Likewise.
25768         (ILL_ILLTRP): Likewise.
25769         (ILL_PRVOPC): Likewise.
25770         (ILL_PRVREG): Likewise.
25771         (ILL_COPROC): Likewise.
25772         (ILL_BADSTK): Likewise.
25773         (FPE_INTDIV): Likewise.
25774         (FPE_INTOVF): Likewise.
25775         (FPE_FLTDIV): Likewise.
25776         (FPE_FLTOVF): Likewise.
25777         (FPE_FLTUND): Likewise.
25778         (FPE_FLTRES): Likewise.
25779         (FPE_FLTINV): Likewise.
25780         (FPE_FLTSUB): Likewise.
25781         (SEGV_MAPERR): Likewise.
25782         (SEGV_ACCERR): Likewise.
25783         (BUS_ADRALN): Likewise.
25784         (BUS_ADRERR): Likewise.
25785         (BUS_OBJERR): Likewise.
25786         (BUS_MCEERR_AR): Likewise.
25787         (BUS_MCEERR_AO): Likewise.
25788         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25789         (TRAP_TRACE): Likewise.
25790         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25791         __USE_XOPEN2K8].
25792         (CLD_KILLED): Likewise.
25793         (CLD_DUMPED): Likewise.
25794         (CLD_TRAPPED): Likewise.
25795         (CLD_STOPPED): Likewise.
25796         (CLD_CONTINUED): Likewise.
25797         (POLL_IN): Likewise.
25798         (POLL_OUT): Likewise.
25799         (POLL_MSG): Likewise.
25800         (POLL_ERR): Likewise.
25801         (POLL_PRI): Likewise.
25802         (POLL_HUP): Likewise.
25803         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
25804         (ILL_ILLOPN): Likewise.
25805         (ILL_ILLADR): Likewise.
25806         (ILL_ILLTRP): Likewise.
25807         (ILL_PRVOPC): Likewise.
25808         (ILL_PRVREG): Likewise.
25809         (ILL_COPROC): Likewise.
25810         (ILL_BADSTK): Likewise.
25811         (FPE_INTDIV): Likewise.
25812         (FPE_INTOVF): Likewise.
25813         (FPE_FLTDIV): Likewise.
25814         (FPE_FLTOVF): Likewise.
25815         (FPE_FLTUND): Likewise.
25816         (FPE_FLTRES): Likewise.
25817         (FPE_FLTINV): Likewise.
25818         (FPE_FLTSUB): Likewise.
25819         (SEGV_MAPERR): Likewise.
25820         (SEGV_ACCERR): Likewise.
25821         (BUS_ADRALN): Likewise.
25822         (BUS_ADRERR): Likewise.
25823         (BUS_OBJERR): Likewise.
25824         (BUS_MCEERR_AR): Likewise.
25825         (BUS_MCEERR_AO): Likewise.
25826         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25827         (TRAP_TRACE): Likewise.
25828         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25829         __USE_XOPEN2K8].
25830         (CLD_KILLED): Likewise.
25831         (CLD_DUMPED): Likewise.
25832         (CLD_TRAPPED): Likewise.
25833         (CLD_STOPPED): Likewise.
25834         (CLD_CONTINUED): Likewise.
25835         (POLL_IN): Likewise.
25836         (POLL_OUT): Likewise.
25837         (POLL_MSG): Likewise.
25838         (POLL_ERR): Likewise.
25839         (POLL_PRI): Likewise.
25840         (POLL_HUP): Likewise.
25841         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
25842         (ILL_ILLOPN): Likewise.
25843         (ILL_ILLADR): Likewise.
25844         (ILL_ILLTRP): Likewise.
25845         (ILL_PRVOPC): Likewise.
25846         (ILL_PRVREG): Likewise.
25847         (ILL_COPROC): Likewise.
25848         (ILL_BADSTK): Likewise.
25849         (ILL_DBLFLT): Likewise.
25850         (ILL_HARDWALL): Likewise.
25851         (FPE_INTDIV): Likewise.
25852         (FPE_INTOVF): Likewise.
25853         (FPE_FLTDIV): Likewise.
25854         (FPE_FLTOVF): Likewise.
25855         (FPE_FLTUND): Likewise.
25856         (FPE_FLTRES): Likewise.
25857         (FPE_FLTINV): Likewise.
25858         (FPE_FLTSUB): Likewise.
25859         (SEGV_MAPERR): Likewise.
25860         (SEGV_ACCERR): Likewise.
25861         (BUS_ADRALN): Likewise.
25862         (BUS_ADRERR): Likewise.
25863         (BUS_OBJERR): Likewise.
25864         (BUS_MCEERR_AR): Likewise.
25865         (BUS_MCEERR_AO): Likewise.
25866         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25867         (TRAP_TRACE): Likewise.
25868         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25869         __USE_XOPEN2K8].
25870         (CLD_KILLED): Likewise.
25871         (CLD_DUMPED): Likewise.
25872         (CLD_TRAPPED): Likewise.
25873         (CLD_STOPPED): Likewise.
25874         (CLD_CONTINUED): Likewise.
25875         (POLL_IN): Likewise.
25876         (POLL_OUT): Likewise.
25877         (POLL_MSG): Likewise.
25878         (POLL_ERR): Likewise.
25879         (POLL_PRI): Likewise.
25880         (POLL_HUP): Likewise.
25881         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
25882         (ILL_ILLOPN): Likewise.
25883         (ILL_ILLADR): Likewise.
25884         (ILL_ILLTRP): Likewise.
25885         (ILL_PRVOPC): Likewise.
25886         (ILL_PRVREG): Likewise.
25887         (ILL_COPROC): Likewise.
25888         (ILL_BADSTK): Likewise.
25889         (FPE_INTDIV): Likewise.
25890         (FPE_INTOVF): Likewise.
25891         (FPE_FLTDIV): Likewise.
25892         (FPE_FLTOVF): Likewise.
25893         (FPE_FLTUND): Likewise.
25894         (FPE_FLTRES): Likewise.
25895         (FPE_FLTINV): Likewise.
25896         (FPE_FLTSUB): Likewise.
25897         (SEGV_MAPERR): Likewise.
25898         (SEGV_ACCERR): Likewise.
25899         (BUS_ADRALN): Likewise.
25900         (BUS_ADRERR): Likewise.
25901         (BUS_OBJERR): Likewise.
25902         (BUS_MCEERR_AR): Likewise.
25903         (BUS_MCEERR_AO): Likewise.
25904         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25905         (TRAP_TRACE): Likewise.
25906         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25907         __USE_XOPEN2K8].
25908         (CLD_KILLED): Likewise.
25909         (CLD_DUMPED): Likewise.
25910         (CLD_TRAPPED): Likewise.
25911         (CLD_STOPPED): Likewise.
25912         (CLD_CONTINUED): Likewise.
25913         (POLL_IN): Likewise.
25914         (POLL_OUT): Likewise.
25915         (POLL_MSG): Likewise.
25916         (POLL_ERR): Likewise.
25917         (POLL_PRI): Likewise.
25918         (POLL_HUP): Likewise.
25919         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
25920         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
25922         [BZ #16670]
25923         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
25924         before #include of <time.h>.
25925         [!__USE_XOPEN2K] (__need_timespec): Likewise.
25926         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
25927         (test-xfail-UNIX98/sched.h/conform): Likewise.
25929 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
25931         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
25932         error absence of trapping exception support.
25933         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
25935 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
25937         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
25938         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
25939         * timezone/Makefile (testdata): Move definition above include of
25940         Rules.
25941         (test-zones): New variable.
25942         (tests-special): Add zone files.
25943         (build-testdata): Use $(evaluate-test).
25945         * elf/Makefile (tests-special): Rename tests to end with .out.
25946         ($(objpfx)noload-mem): Likewise.
25947         ($(objpfx)tst-leaks1-mem): Likewise.
25948         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
25949         * iconv/Makefile (xtests-special): Change test-iconvconfig to
25950         $(objpfx)test-iconvconfig.out.
25951         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
25952         set -e inside subshell and redirect output to file.
25953         * iconvdata/Makefile (generated): Rename tests to end with .out.
25954         Correct type.
25955         (tests-special): Rename tests to end with .out.
25956         ($(objpfx)mtrace-tst-loading): Likewise.
25957         * intl/Makefile (generated): Likewise.
25958         (tests-special): Likewise.
25959         ($(objpfx)mtrace-tst-gettext): Likewise.
25960         * misc/Makefile (generated): Likewise.
25961         (tests-special): Likewise.
25962         ($(objpfx)tst-error1-mem): Likewise.
25963         * nptl/Makefile (tests-special): Likewise.
25964         ($(objpfx)tst-stack3-mem): Likewise.
25965         (generated): Likewise.
25966         * posix/Makefile (generated): Likewise.
25967         (tests-special): Likewise.
25968         (xtests-special): Likewise.
25969         ($(objpfx)tst-fnmatch-mem): Likewise.
25970         ($(objpfx)bug-regex2-mem): Likewise.
25971         ($(objpfx)bug-regex14-mem): Likewise.
25972         ($(objpfx)bug-regex21-mem): Likewise.
25973         ($(objpfx)bug-regex31-mem): Likewise.
25974         ($(objpfx)tst-vfork3-mem): Likewise.
25975         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
25976         ($(objpfx)tst-pcre-mem): Likewise.
25977         ($(objpfx)tst-boost-mem): Likewise.
25978         ($(objpfx)bug-ga2-mem): Likewise.
25979         ($(objpfx)bug-glob2-mem): Likewise.
25980         * resolv/Makefile (generate): Likewise.
25981         (tests-special): Likewise.
25982         (xtests-special): Likewise.
25983         (generated): Likewise.
25984         ($(objpfx)mtrace-tst-leaks): Likewise.
25985         ($(objpfx)mtrace-tst-leaks2): Likewise.
25987         * scripts/merge-test-results.sh: New file.
25988         * Makefile (tests-special-notdir): New variable.
25989         (tests): Run merge-test-results.sh.
25990         (xtests): Likewise.
25991         * Rules (tests-special-notdir): New variable.
25992         (xtests-special-notdir): Likewise.
25993         (tests): Run merge-test-results.sh
25994         (xtests): Likewise.
25996         * Makeconfig (test-xfail-name): New variable.
25997         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
25998         compute variable name for expected failures.
25999         * conform/Makefile (conformtest-headers-data): New variable.
26000         (conformtest-standards): Likewise.
26001         (conformtest-headers-ISO): Likewise.
26002         (conformtest-headers-ISO99): Likewise.
26003         (conformtest-headers-ISO11): Likewise.
26004         (conformtest-headers-POSIX): Likewise.
26005         (conformtest-headers-XPG3): Likewise.
26006         (conformtest-headers-XPG4): Likewise.
26007         (conformtest-headers-UNIX98): Likewise.
26008         (conformtest-headers-XOPEN2K): Likewise.
26009         (conformtest-headers-POSIX2008): Likewise.
26010         (conformtest-headers-XOPEN2K8): Likewise.
26011         (conformtest-header-list-base): Likewise.
26012         (conformtest-header-list-tests): Likewise.
26013         (conformtest-header-base): Likewise.
26014         (conformtest-header-tests): Likewise.
26015         (tests-special): Add $(conformtest-header-list-tests).  If
26016         [$(fast-check) && !$(cross-compiling)], add
26017         $(conformtest-header-tests) instead of
26018         $(objpfx)run-conformtest.out.
26019         (generated): Add $(conformtest-header-list-base).  If
26020         [$(fast-check) && !$(cross-compiling)], add
26021         $(conformtest-header-base).  Remove previous setting.
26022         ($(conformtest-header-list-tests)): New target.
26023         (test-xfail-run-conformtest): Remove variable.
26024         ($(objpfx)run-conformtest.out): Remove target.
26025         (test-xfail-ISO11/complex.h/conform): New variable.
26026         (test-xfail-ISO11/stdalign.h/conform): Likewise.
26027         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
26028         (test-xfail-XPG3/varargs.h/conform): Likewise.
26029         (test-xfail-XPG4/varargs.h/conform): Likewise.
26030         (test-xfail-UNIX98/varargs.h/conform): Likewise.
26031         (test-xfail-XPG4/ndbm.h/conform): Likewise.
26032         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
26033         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
26034         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
26035         (test-xfail-XPG3/fcntl.h/conform): Likewise.
26036         (test-xfail-XPG3/ftw.h/conform): Likewise.
26037         (test-xfail-XPG3/grp.h/conform): Likewise.
26038         (test-xfail-XPG3/langinfo.h/conform): Likewise.
26039         (test-xfail-XPG3/limits.h/conform): Likewise.
26040         (test-xfail-XPG3/pwd.h/conform): Likewise.
26041         (test-xfail-XPG3/search.h/conform): Likewise.
26042         (test-xfail-XPG3/signal.h/conform): Likewise.
26043         (test-xfail-XPG3/stdio.h/conform): Likewise.
26044         (test-xfail-XPG3/stdlib.h/conform): Likewise.
26045         (test-xfail-XPG3/string.h/conform): Likewise.
26046         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
26047         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
26048         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
26049         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
26050         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
26051         (test-xfail-XPG3/sys/types.h/conform): Likewise.
26052         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
26053         (test-xfail-XPG3/termios.h/conform): Likewise.
26054         (test-xfail-XPG3/time.h/conform): Likewise.
26055         (test-xfail-XPG3/unistd.h/conform): Likewise.
26056         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
26057         (test-xfail-XPG4/fcntl.h/conform): Likewise.
26058         (test-xfail-XPG4/langinfo.h/conform): Likewise.
26059         (test-xfail-XPG4/netdb.h/conform): Likewise.
26060         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
26061         (test-xfail-XPG4/signal.h/conform): Likewise.
26062         (test-xfail-XPG4/stdio.h/conform): Likewise.
26063         (test-xfail-XPG4/stdlib.h/conform): Likewise.
26064         (test-xfail-XPG4/stropts.h/conform): Likewise.
26065         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
26066         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
26067         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
26068         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
26069         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
26070         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
26071         (test-xfail-XPG4/sys/time.h/conform): Likewise.
26072         (test-xfail-XPG4/sys/types.h/conform): Likewise.
26073         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
26074         (test-xfail-XPG4/termios.h/conform): Likewise.
26075         (test-xfail-XPG4/ucontext.h/conform): Likewise.
26076         (test-xfail-XPG4/unistd.h/conform): Likewise.
26077         (test-xfail-XPG4/utmpx.h/conform): Likewise.
26078         (test-xfail-POSIX/sched.h/conform): Likewise.
26079         (test-xfail-POSIX/signal.h/conform): Likewise.
26080         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
26081         (test-xfail-POSIX/tar.h/conform): Likewise.
26082         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
26083         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
26084         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
26085         (test-xfail-UNIX98/netdb.h/conform): Likewise.
26086         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
26087         (test-xfail-UNIX98/sched.h/conform): Likewise.
26088         (test-xfail-UNIX98/signal.h/conform): Likewise.
26089         (test-xfail-UNIX98/stdio.h/conform): Likewise.
26090         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
26091         (test-xfail-UNIX98/stropts.h/conform): Likewise.
26092         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
26093         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
26094         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
26095         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
26096         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
26097         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
26098         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
26099         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
26100         (test-xfail-UNIX98/unistd.h/conform): Likewise.
26101         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
26102         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
26103         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
26104         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
26105         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
26106         (test-xfail-XOPEN2K/math.h/conform): Likewise.
26107         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
26108         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
26109         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
26110         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
26111         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
26112         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
26113         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
26114         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
26115         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
26116         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
26117         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
26118         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
26119         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
26120         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
26121         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
26122         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
26123         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
26124         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
26125         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
26126         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
26127         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
26128         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
26129         (test-xfail-POSIX2008/signal.h/conform): Likewise.
26130         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
26131         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
26132         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
26133         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
26134         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
26135         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
26136         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
26137         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
26138         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
26139         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
26140         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
26141         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
26142         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
26143         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
26144         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
26145         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
26146         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
26147         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
26148         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
26149         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
26150         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
26151         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
26152         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
26153         (conformtest-cc-flags): Likewise.
26154         ($(conformtest-header-tests): New target.
26155         * conform/check-header-lists.sh: New file.
26156         * conform/run-conformtest.sh: Remove.
26158         * conform/conformtest.pl: Allow ' and \ in values given for
26159         constants.
26160         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
26161         inclusion.
26162         [POSIX] (sys/types.h): Likewise.
26163         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
26164         inclusion.
26165         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
26166         inclusion.
26167         * conform/data/signal.h-data (SIGIO): Remove expectation.
26168         [XPG3] (SIGBUS): Do not expect.
26169         [POSIX || XPG3] (SIGPOLL): Likewise.
26170         [POSIX || XPG3] (SIGPROF): Likewise.
26171         [POSIX || XPG3] (SIGSYS): Likewise.
26172         [XPG3] (SIGTRAP): Likewise.
26173         [POSIX || XPG3] (SIGURG): Likewise.
26174         [POSIX || XPG3] (SIGVTALRM): Likewise.
26175         [POSIX || XPG3] (SIGXCPU): Likewise.
26176         [POSIX || XPG3] (SIGXFSZ): Likewise.
26177         [POSIX] (SA_SIGINFO): Expect.
26178         [XPG3] (siginfo_t): Do not expect type or contents.
26179         [POSIX] (si_pid): Do not expect element.
26180         [POSIX] (si_uid): Likewise.
26181         [POSIX] (si_addr): Likewise.
26182         [POSIX] (si_status): Likewise.
26183         [POSIX] (si_band): Likewise.
26184         [XPG4] (si_value): Likewise.
26185         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
26186         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
26187         [POSIX || XPG3] (ILL_ILLADR): Likewise.
26188         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
26189         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
26190         [POSIX || XPG3] (ILL_PRVREG): Likewise.
26191         [POSIX || XPG3] (ILL_COPROC): Likewise.
26192         [POSIX || XPG3] (ILL_BADSTK): Likewise.
26193         [POSIX || XPG3] (FPE_INTDIV): Likewise.
26194         [POSIX || XPG3] (FPE_INTOVF): Likewise.
26195         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
26196         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
26197         [POSIX || XPG3] (FPE_FLTUND): Likewise.
26198         [POSIX || XPG3] (FPE_FLTRES): Likewise.
26199         [POSIX || XPG3] (FPE_FLTINV): Likewise.
26200         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
26201         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
26202         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
26203         [POSIX || XPG3] (BUS_ADRALN): Likewise.
26204         [POSIX || XPG3] (BUS_ADRERR): Likewise.
26205         [POSIX || XPG3] (BUS_OBJERR): Likewise.
26206         [POSIX || XPG3] (CLD_EXITED): Likewise.
26207         [POSIX || XPG3] (CLD_KILLED): Likewise.
26208         [POSIX || XPG3] (CLD_DUMPED): Likewise.
26209         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
26210         [POSIX || XPG3] (CLD_STOPPED): Likewise.
26211         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
26212         [POSIX || XPG3] (POLL_IN): Likewise.
26213         [POSIX || XPG3] (POLL_OUT): Likewise.
26214         [POSIX || XPG3] (POLL_MSG): Likewise.
26215         [POSIX || XPG3] (POLL_ERR): Likewise.
26216         [POSIX || XPG3] (POLL_PRI): Likewise.
26217         [POSIX || XPG3] (POLL_HUP): Likewise.
26218         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
26219         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
26220         (SIG*): Do not allow.
26221         [XPG3] (si_*): Likewise.
26222         [XPG3] (SI_*): Likewise.
26223         [XPG3 || XPG4] (sigev_*): Likewise.
26224         [XPG3 || XPG4] (SIGEV_*): Likewise.
26225         [XPG3 || XPG4] (sival_*): Likewise.
26226         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
26227         [POSIX || XPG3] (BUS_*): Likewise.
26228         [POSIX || XPG3] (CLD_*): Likewise.
26229         [POSIX || XPG3] (FPE_*): Likewise.
26230         [POSIX || XPG3] (ILL_*): Likewise.
26231         [POSIX || XPG3] (POLL_*): Likewise.
26232         [POSIX || XPG3] (SEGV_*): Likewise.
26233         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
26234         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
26235         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
26236         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
26237         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
26238         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
26239         Specify type and value.
26240         (TVERSLEN): Likewise.
26241         (REGTYPE): Likewise.
26242         (AREGTYPE): Likewise.
26243         (LNKTYPE): Likewise.
26244         (SYMTYPE): Likewise.
26245         (CHRTYPE): Likewise.
26246         (BLKTYPE): Likewise.
26247         (DIRTYPE): Likewise.
26248         (FIFOTYPE): Likewise.
26249         (CONTTYPE): Likewise.
26250         (TSUID): Likewise.
26251         (TSGID): Likewise.
26252         (TSVTX): Likewise.
26253         (TUREAD): Likewise.
26254         (TUWRITE): Likewise.
26255         (TUEXEC): Likewise.
26256         (TGREAD): Likewise.
26257         (TGWRITE): Likewise.
26258         (TGEXEC): Likewise.
26259         (TOREAD): Likewise.
26260         (TOWRITE): Likewise.
26261         (TOEXEC): Likewise.
26262         [POSIX] (TSVTX): Expect constant.
26264 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
26266         * Makefile (tests): Change dependencies to ....
26267         (tests-special): ... additions to this variable.
26268         (tests): Depend on $(tests-special).
26269         * Makerules (check-abi-list): New variable.
26270         (check-abi): Depend on $(check-abi-list).
26271         [$(subdir) = elf] (tests-special): Add
26272         $(objpfx)check-abi-libc.out.
26273         [$(build-shared) = yes && subdir] (tests-special): Add
26274         $(check-abi-list).
26275         [$(build-shared) = yes && subdir] (tests): Do not depend on
26276         check-abi.
26277         * Rules (tests): Depend on $(tests-special).
26278         (xtests): Depend on $(xtests-special).
26279         * catgets/Makefile (tests): Change dependencies to ....
26280         (tests-special): ... additions to this variable.
26281         * conform/Makefile (tests): Change dependencies to ....
26282         (tests-special): ... additions to this variable.
26283         * elf/Makefile (tests): Change dependencies to ....
26284         (tests-special): ... additions to this variable.
26285         * grp/Makefile (tests): Change dependencies to ....
26286         (tests-special): ... additions to this variable.
26287         * iconv/Makefile (xtests): Change dependencies to ....
26288         (xtests-special): ... additions to this variable.
26289         * iconvdata/Makefile (tests): Change dependencies to ....
26290         (tests-special): ... additions to this variable.
26291         * intl/Makefile (tests): Change dependencies to ....
26292         (tests-special): ... additions to this variable.  Also add
26293         $(objpfx)tst-gettext.out.
26294         * io/Makefile (tests): Change dependencies to ....
26295         (tests-special): ... additions to this variable.
26296         * libio/Makefile (tests): Change dependencies to ....
26297         (tests-special): ... additions to this variable.
26298         * malloc/Makefile (tests): Change dependencies to ....
26299         (tests-special): ... additions to this variable.
26300         * misc/Makefile (tests): Change dependencies to ....
26301         (tests-special): ... additions to this variable.
26302         * nptl/Makefile (tests): Change dependencies to ....
26303         (tests-special): ... additions to this variable.
26304         * nptl_db/Makefile (tests): Change dependencies to ....
26305         (tests-special): ... additions to this variable.
26306         * posix/Makefile (tests): Change dependencies to ....
26307         (tests-special): ... additions to this variable.
26308         (xtests): Change dependencies to ....
26309         (xtests-special): ... additions to this variable.
26310         * resolv/Makefile (tests): Change dependencies to ....
26311         (tests-special): ... additions to this variable.
26312         (xtests): Change dependencies to ....
26313         (xtests-special): ... additions to this variable.
26314         * stdio-common/Makefile (tests): Change dependencies to ....
26315         (tests-special): ... additions to this variable.
26316         (do-tst-unbputc): Remove target.
26317         (do-tst-printf): Likewise.
26318         * stdlib/Makefile (tests): Change dependencies to ....
26319         (tests-special): ... additions to this variable.
26320         * string/Makefile (tests): Change dependencies to ....
26321         (tests-special): ... additions to this variable.
26322         * sysdeps/x86/Makefile (tests): Change dependencies to ....
26323         (tests-special): ... additions to this variable.
26325         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
26326         whole file.
26327         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
26328         whole file.
26329         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
26330         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
26332         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
26333         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
26334         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
26335         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
26336         * conform/data/libgen.h-data [XPG3]: Likewise.
26337         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
26338         * conform/data/ndbm.h-data [XPG3]: Likewise.
26339         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
26340         * conform/data/netdb.h-data [XPG3]: Likewise.
26341         * conform/data/netinet/in.h-data [XPG3]: Likewise.
26342         * conform/data/poll.h-data [XPG3]: Likewise.
26343         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
26344         * conform/data/strings.h-data [XPG3]: Likewise.
26345         * conform/data/stropts.h-data [XPG3]: Likewise.
26346         * conform/data/sys/mman.h-data [XPG3]: Likewise.
26347         * conform/data/sys/resource.h-data [XPG3]: Likewise.
26348         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
26349         Likewise.
26350         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
26351         * conform/data/sys/time.h-data [XPG3]: Likewise.
26352         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
26353         * conform/data/sys/uio.h-data [XPG3]: Likewise.
26354         * conform/data/sys/un.h-data [XPG3]: Likewise.
26355         * conform/data/syslog.h-data [XPG3]: Likewise.
26356         * conform/data/ucontext.h-data [XPG3]: Likewise.
26357         * conform/data/utmpx.h-data [XPG3]: Likewise.
26358         * conform/data/varargs.h-data [UNIX98]: Enable file.
26360         * manual/Makefile (INSTALL_INFO): Remove variable setting.
26362         * math/libm-test.inc (struct test_f_f_data): Move expected results
26363         into structure for each rounding mode.
26364         (struct test_ff_f_data): Likewise.
26365         (struct test_ff_f_data_nexttoward): Likewise.
26366         (struct test_fi_f_data): Likewise.
26367         (struct test_fl_f_data): Likewise.
26368         (struct test_if_f_data): Likewise.
26369         (struct test_fff_f_data): Likewise.
26370         (struct test_c_f_data): Likewise.
26371         (struct test_f_f1_data): Likewise.
26372         (struct test_fF_f1_data): Likewise.
26373         (struct test_ffI_f1_data): Likewise.
26374         (struct test_c_c_data): Likewise.
26375         (struct test_cc_c_data): Likewise.
26376         (struct test_f_i_data): Likewise.
26377         (struct test_ff_i_data): Likewise.
26378         (struct test_f_l_data): Likewise.
26379         (struct test_f_L_data): Likewise.
26380         (struct test_fFF_11_data): Likewise.
26381         (RM_): New macro.
26382         (RM_FE_DOWNWARD): Likewise.
26383         (RM_FE_TONEAREST): Likewise.
26384         (RM_FE_TOWARDZERO): Likewise.
26385         (RM_FE_UPWARD): Likewise.
26386         (RUN_TEST_LOOP_f_f): Update references to expected results.
26387         (RUN_TEST_LOOP_2_f): Likewise.
26388         (RUN_TEST_LOOP_fff_f): Likewise.
26389         (RUN_TEST_LOOP_c_f): Likewise.
26390         (RUN_TEST_LOOP_f_f1): Likewise.
26391         (RUN_TEST_LOOP_fF_f1): Likewise.
26392         (RUN_TEST_LOOP_fI_f1): Likewise.
26393         (RUN_TEST_LOOP_ffI_f1): Likewise.
26394         (RUN_TEST_LOOP_c_c): Likewise.
26395         (RUN_TEST_LOOP_cc_c): Likewise.
26396         (RUN_TEST_LOOP_f_i): Likewise.
26397         (RUN_TEST_LOOP_f_i_tg): Likewise.
26398         (RUN_TEST_LOOP_ff_i_tg): Likewise.
26399         (RUN_TEST_LOOP_f_b): Likewise.
26400         (RUN_TEST_LOOP_f_b_tg): Likewise.
26401         (RUN_TEST_LOOP_f_l): Likewise.
26402         (RUN_TEST_LOOP_f_L): Likewise.
26403         (RUN_TEST_LOOP_fFF_11): Likewise.
26404         * math/gen-libm-test.pl (parse_args): Output four copies of
26405         expected results for each test.
26407         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26408         (__ASSUME_UTIMES): Remove.
26409         * sysdeps/unix/sysv/linux/tile/kernel-features.h
26410         (__ASSUME_UTIMES): Likewise.
26412         * math/gen-auto-libm-tests.c: Update comment on output format.
26413         (output_for_one_input_case): Generate before-rounding and
26414         after-rounding information as conditions on output flags not
26415         floating-point format.
26416         * math/auto-libm-test-out: Regenerated.
26417         * math/gen-libm-test.pl (cond_value): New function.
26418         (or_cond_value): Use cond_value.
26419         (generate_testfile): Handle conditional exceptions.
26421 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
26423         * math/libm-test.inc (max_valid_error): New variable.
26424         (init_max_error): Take new argument specifying whether function
26425         results are exactly determined.  Set max_valid_error and bound
26426         other variables for errors based on this argument.
26427         (set_max_error): Do not record results above max_valid_error.
26428         (check_float_internal): Only accept errors of up to 0.5ulps if
26429         also at most max_valid_error.
26430         (START): Take new argument EXACT and pass it to init_max_error.
26431         (acos_test): Update call to START.
26432         (acos_test_tonearest): Likewise.
26433         (acos_test_towardzero): Likewise.
26434         (acos_test_downward): Likewise.
26435         (acos_test_upward): Likewise.
26436         (acosh_test): Likewise.
26437         (asin_test): Likewise.
26438         (asin_test_tonearest): Likewise.
26439         (asin_test_towardzero): Likewise.
26440         (asin_test_downward): Likewise.
26441         (asin_test_upward): Likewise.
26442         (asinh_test): Likewise.
26443         (atan_test): Likewise.
26444         (atanh_test): Likewise.
26445         (atan2_test): Likewise.
26446         (cabs_test): Likewise.
26447         (cacos_test): Likewise.
26448         (cacosh_test): Likewise.
26449         (carg_test): Likewise.
26450         (casin_test): Likewise.
26451         (casinh_test): Likewise.
26452         (catan_test): Likewise.
26453         (catanh_test): Likewise.
26454         (cbrt_test): Likewise.
26455         (ccos_test): Likewise.
26456         (ccosh_test): Likewise.
26457         (ceil_test): Likewise.
26458         (cexp_test): Likewise.
26459         (cimag_test): Likewise.
26460         (clog_test): Likewise.
26461         (clog10_test): Likewise.
26462         (conj_test): Likewise.
26463         (copysign_test): Likewise.
26464         (cos_test): Likewise.
26465         (cos_test_tonearest): Likewise.
26466         (cos_test_towardzero): Likewise.
26467         (cos_test_downward): Likewise.
26468         (cos_test_upward): Likewise.
26469         (cosh_test): Likewise.
26470         (cosh_test_tonearest): Likewise.
26471         (cosh_test_towardzero): Likewise.
26472         (cosh_test_downward): Likewise.
26473         (cosh_test_upward): Likewise.
26474         (cpow_test): Likewise.
26475         (cproj_test): Likewise.
26476         (creal_test): Likewise.
26477         (csin_test): Likewise.
26478         (csinh_test): Likewise.
26479         (csqrt_test): Likewise.
26480         (ctan_test): Likewise.
26481         (ctan_test_tonearest): Likewise.
26482         (ctan_test_towardzero): Likewise.
26483         (ctan_test_downward): Likewise.
26484         (ctan_test_upward): Likewise.
26485         (ctanh_test): Likewise.
26486         (ctanh_test_tonearest): Likewise.
26487         (ctanh_test_towardzero): Likewise.
26488         (ctanh_test_downward): Likewise.
26489         (ctanh_test_upward): Likewise.
26490         (erf_test): Likewise.
26491         (erfc_test): Likewise.
26492         (exp_test): Likewise.
26493         (exp_test_tonearest): Likewise.
26494         (exp_test_towardzero): Likewise.
26495         (exp_test_downward): Likewise.
26496         (exp_test_upward): Likewise.
26497         (exp10_test): Likewise.
26498         (exp10_test_tonearest): Likewise.
26499         (exp10_test_towardzero): Likewise.
26500         (exp10_test_downward): Likewise.
26501         (exp10_test_upward): Likewise.
26502         (pow10_test): Likewise.
26503         (exp2_test): Likewise.
26504         (expm1_test): Likewise.
26505         (expm1_test_tonearest): Likewise.
26506         (expm1_test_towardzero): Likewise.
26507         (expm1_test_downward): Likewise.
26508         (expm1_test_upward): Likewise.
26509         (fabs_test): Likewise.
26510         (fdim_test): Likewise.
26511         (floor_test): Likewise.
26512         (fma_test): Likewise.
26513         (fma_test_towardzero): Likewise.
26514         (fma_test_downward): Likewise.
26515         (fma_test_upward): Likewise.
26516         (fmax_test): Likewise.
26517         (fmin_test): Likewise.
26518         (fmod_test): Likewise.
26519         (fpclassify_test): Likewise.
26520         (frexp_test): Likewise.
26521         (hypot_test): Likewise.
26522         (ilogb_test): Likewise.
26523         (isfinite_test): Likewise.
26524         (finite_test): Likewise.
26525         (isgreater_test): Likewise.
26526         (isgreaterequal_test): Likewise.
26527         (isinf_test): Likewise.
26528         (isless_test): Likewise.
26529         (islessequal_test): Likewise.
26530         (islessgreater_test): Likewise.
26531         (isnan_test): Likewise.
26532         (isnormal_test): Likewise.
26533         (issignaling_test): Likewise.
26534         (isunordered_test): Likewise.
26535         (j0_test): Likewise.
26536         (j1_test): Likewise.
26537         (jn_test): Likewise.
26538         (ldexp_test): Likewise.
26539         (lgamma_test): Likewise.
26540         (gamma_test): Likewise.
26541         (lrint_test): Likewise.
26542         (lrint_test_tonearest): Likewise.
26543         (lrint_test_towardzero): Likewise.
26544         (lrint_test_downward): Likewise.
26545         (lrint_test_upward): Likewise.
26546         (llrint_test): Likewise.
26547         (llrint_test_tonearest): Likewise.
26548         (llrint_test_towardzero): Likewise.
26549         (llrint_test_downward): Likewise.
26550         (llrint_test_upward): Likewise.
26551         (log_test): Likewise.
26552         (log10_test): Likewise.
26553         (log1p_test): Likewise.
26554         (log2_test): Likewise.
26555         (logb_test): Likewise.
26556         (logb_test_downward): Likewise.
26557         (lround_test): Likewise.
26558         (llround_test): Likewise.
26559         (modf_test): Likewise.
26560         (nearbyint_test): Likewise.
26561         (nextafter_test): Likewise.
26562         (nexttoward_test): Likewise.
26563         (pow_test): Likewise.
26564         (pow_test_tonearest): Likewise.
26565         (pow_test_towardzero): Likewise.
26566         (pow_test_downward): Likewise.
26567         (pow_test_upward): Likewise.
26568         (remainder_test): Likewise.
26569         (drem_test): Likewise.
26570         (remainder_test_tonearest): Likewise.
26571         (drem_test_tonearest): Likewise.
26572         (remainder_test_towardzero): Likewise.
26573         (drem_test_towardzero): Likewise.
26574         (remainder_test_downward): Likewise.
26575         (drem_test_downward): Likewise.
26576         (remainder_test_upward): Likewise.
26577         (drem_test_upward): Likewise.
26578         (remquo_test): Likewise.
26579         (rint_test): Likewise.
26580         (rint_test_tonearest): Likewise.
26581         (rint_test_towardzero): Likewise.
26582         (rint_test_downward): Likewise.
26583         (rint_test_upward): Likewise.
26584         (round_test): Likewise.
26585         (scalb_test): Likewise.
26586         (scalbn_test): Likewise.
26587         (scalbln_test): Likewise.
26588         (signbit_test): Likewise.
26589         (sin_test): Likewise.
26590         (sin_test_tonearest): Likewise.
26591         (sin_test_towardzero): Likewise.
26592         (sin_test_downward): Likewise.
26593         (sin_test_upward): Likewise.
26594         (sincos_test): Likewise.
26595         (sinh_test): Likewise.
26596         (sinh_test_tonearest): Likewise.
26597         (sinh_test_towardzero): Likewise.
26598         (sinh_test_downward): Likewise.
26599         (sinh_test_upward): Likewise.
26600         (sqrt_test): Likewise.
26601         (sqrt_test_tonearest): Likewise.
26602         (sqrt_test_towardzero): Likewise.
26603         (sqrt_test_downward): Likewise.
26604         (sqrt_test_upward): Likewise.
26605         (tan_test): Likewise.
26606         (tan_test_tonearest): Likewise.
26607         (tan_test_towardzero): Likewise.
26608         (tan_test_downward): Likewise.
26609         (tan_test_upward): Likewise.
26610         (tanh_test): Likewise.
26611         (tgamma_test): Likewise.
26612         (trunc_test): Likewise.
26613         (y0_test): Likewise.
26614         (y1_test): Likewise.
26615         (yn_test): Likewise.
26616         (significand_test): Likewise.
26618         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
26619         individual tests in comment.
26620         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
26621         (prev_max_error): New variable.
26622         (prev_real_max_error): Likewise.
26623         (prev_imag_max_error): Likewise.
26624         (compare_ulp_data): Don't refer to test names in comment.
26625         (find_test_ulps): Remove function.
26626         (find_function_ulps): Likewise.
26627         (find_complex_function_ulps): Likewise.
26628         (init_max_error): Take function name as argument.  Look up ulps
26629         for that function.
26630         (print_ulps): Remove function.
26631         (print_max_error): Use prev_max_error instead of calling
26632         find_function_ulps.
26633         (print_complex_max_error): Use prev_real_max_error and
26634         prev_imag_max_error instead of calling find_complex_function_ulps.
26635         (check_float_internal): Take max_ulp parameter instead of calling
26636         find_test_ulps.  Don't call print_ulps.
26637         (check_float): Update call to check_float_internal.
26638         (check_complex): Update calls to check_float_internal.
26639         (START): Pass argument to init_max_error.
26640         * math/gen-libm-test.pl (%results): Don't include "kind"
26641         information.
26642         (parse_ulps): Don't handle ulps of individual tests.
26643         (print_ulps_file): Likewise.
26644         (output_ulps): Likewise.
26645         * math/README.libm-test: Update.
26646         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
26647         individual tests.
26648         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
26649         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
26650         * sysdeps/arm/libm-test-ulps: Likewise.
26651         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
26652         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
26653         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
26654         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
26655         * sysdeps/microblaze/libm-test-ulps: Likewise.
26656         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
26657         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
26658         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26659         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
26660         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26661         * sysdeps/sh/libm-test-ulps: Likewise.
26662         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26663         * sysdeps/tile/libm-test-ulps: Likewise.
26664         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26666 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
26668         * math/libm-test.inc (print_complex_max_error): Check separately
26669         whether real and imaginary errors are within allowed range and
26670         pass 0 to print_complex_function_ulps instead of value within
26671         allowed range.
26673 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26675         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
26676         formatting.
26677         (get_handles_fopen): Likewise.
26678         (do_write_test): Likewise.
26680         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
26682         * libio/fileops.c (do_ftell): Use cached offset when
26683         available.
26684         * libio/iofwide.c (do_ftell_wide): Likewise.
26685         * libio/iofdopen.c (_IO_new_fdopen): Don't use
26686         _IO_file_attach.
26687         * libio/wfileops.c (_IO_fwide): Don't cache offset.
26689         [BZ #16532]
26690         * libio/libioP.h (get_file_offset): New function.
26691         * libio/fileops.c (get_file_offset): Likewise.
26692         (do_ftell): Likewise.
26693         (_IO_new_file_seekoff): Split out ftell logic.
26694         * libio/wfileops.c (do_ftell_wide): Likewise.
26695         (_IO_wfile_seekoff): Split out ftell logic.
26696         * libio/tst-ftell-active-handler.c: New test case.
26697         * libio/Makefile (tests): Add it.
26699 2014-03-03  Roland McGrath  <roland@hack.frob.com>
26701         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
26702         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
26704 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
26706         [BZ #16639]
26707         * nscd/connections.c (nscd_init): Call do_exit.
26708         (start_threads): Call do_exit and notify_parent.
26709         (begin_drop_privileges): Call do_exit.
26710         (finish_drop_privileges): Likewise.
26711         * nscd/selinux.c (preserve_capabilities): Likewise.
26712         (install_real_capabilities): Likewise.
26713         (nscd_selinux_enabled): Likewise.
26714         (avc_create_thread): Likewise.
26715         (avc_alloc_lock): Likewise.
26716         (nscd_avc_init): Likewise.
26717         * nscd/nscd.c (parent_fd): New static variable.
26718         (main): Create a pipe between parent and child processes.
26719         Skip closing parent_fd.
26720         (monitor_child): New function.
26721         (do_exit): Likewise.
26722         (notify_parent): Likewise.
26723         * nscd/nscd.h (notify_parent): Likewise.
26724         (do_exit): Likewise.
26726 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
26728         * malloc/malloc.c (__libc_calloc): Revert last change.
26730 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26732         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26734 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26736         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
26737         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
26738         implementation.
26739         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26740         (__libc_ifunc_impl_list): Likewise.
26741         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
26742         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
26743         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
26744         * string/strrchr.c: Define STRRCHR.
26746 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
26748         * benchtest/bench-strtok.c (simple_strtok): Delete.
26749         (strtok_string): Use as benchmark.
26750         * string/strtok (STRTOK): New macro.
26752 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
26754         * manual/threads.texi: Add header and standard comments to all
26755         functions.
26757         * elf/dl-lookup.c (check_match): New function.
26758         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
26759         (do_lookup_x): Remove nested function check_match. Use non-nested
26760         function check_match.
26762 2014-02-28  Roland McGrath  <roland@hack.frob.com>
26764         * csu/Makefile (generated, before-compile): Use += rather than =.
26765         * catgets/Makefile (generated, generated-dirs): Likewise.
26766         * debug/Makefile (generated): Likewise.
26767         * dlfcn/Makefile (generated): Likewise.
26768         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
26769         * iconvdata/Makefile (before-compile, generated): Likewise.
26770         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
26771         * libio/Makefile (generated): Likewise.
26772         * malloc/Makefile (generated): Likewise.
26773         * manual/Makefile (generated, generated-dirs): Likewise.
26774         * misc/Makefile (generated): Likewise.
26775         * posix/Makefile (generated): Likewise.
26776         * resolv/Makefile (generated): Likewise.
26777         * sunrpc/Makefile (generated, generated-dirs): Likewise.
26778         * timezone/Makefile (generated, generated-dirs): Likewise.
26780         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
26782 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26784         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
26785         power8 implementation.
26786         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
26787         file: POWER8 llround ifunc implementation.
26788         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
26789         (__lllround): Add POWER8 implementation.
26790         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
26791         POWER8 llround implementation.
26793         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
26794         power8 implementation.
26795         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
26796         file: POWER8 llrint ifunc implementation.
26797         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
26798         Add POWER8 implementation.
26799         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
26800         POWER8 llrint implementation.
26802         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
26803         power8 implementation.
26804         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
26805         file: POWER8 finite ifunc implementation.
26806         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
26807         Add POWER8 implementation.
26808         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
26809         Likewise.
26810         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
26811         POWER8 finite implementation.
26812         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
26814         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
26815         power8 implementation.
26816         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
26817         file: POWER8 isinf ifunc implementation.
26818         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
26819         POWER8 implementation.
26820         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
26821         Likewise.
26822         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
26823         isinf implementation.
26824         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
26826         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
26827         (INIT_ARCH): Add hwcap2 initialization.
26828         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
26829         power8 implementation.
26830         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
26831         file: POWER8 isnan ifunc implementation.
26832         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
26833         POWER8 implementation.
26834         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
26835         Likewise.
26836         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
26837         isnan implementation.
26838         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
26840 2014-02-27  Joey Ye  <joey.ye@arm.com>
26842         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
26843         (_FP_NANFRAC_Q): Set to zero.
26845 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26847         [BZ #16623]
26848         * math/auto-libm-test-in: New test inputs.
26849         * math/auto-libm-test-out: Regenerate.
26850         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
26851         and DA.
26852         (__cos): Likewise.
26853         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
26855 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
26857         * scripts/evaluate-test.sh: Take new argument indicating whether
26858         failure is expected.
26859         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
26860         indicating whether failure is expected.
26861         * conform/Makefile (test-xfail-run-conformtest): New variable.
26862         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
26863         level.
26864         * posix/Makefile (test-xfail-annexc): New variable.
26865         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
26867 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
26869         * argp/Makefile: Include Makeconfig immediately after defining
26870         subdir.
26871         * assert/Makefile: Likewise.
26872         * benchtests/Makefile: Likewise.
26873         * catgets/Makefile: Likewise.
26874         * conform/Makefile: Likewise.
26875         * crypt/Makefile: Likewise.
26876         * csu/Makefile: Likewise.
26877         (all): Remove target.
26878         * ctype/Makefile: Include Makeconfig immediately after defining
26879         subdir.
26880         * debug/Makefile: Likewise.
26881         * dirent/Makefile: Likewise.
26882         * dlfcn/Makefile: Likewise.
26883         * gmon/Makefile: Likewise.
26884         * gnulib/Makefile: Likewise.
26885         * grp/Makefile: Likewise.
26886         * gshadow/Makefile: Likewise.
26887         * hesiod/Makefile: Likewise.
26888         * hurd/Makefile: Likewise.
26889         (all): Remove target.
26890         * iconvdata/Makefile: Include Makeconfig immediately after
26891         defining subdir.
26892         * inet/Makefile: Likewise.
26893         * intl/Makefile: Likewise.
26894         * io/Makefile: Likewise.
26895         * libio/Makefile: Likewise.
26896         (all): Remove target.
26897         * locale/Makefile: Include Makeconfig immediately after defining
26898         subdir.
26899         * login/Makefile: Likewise.
26900         * mach/Makefile: Likewise.
26901         (all): Remove target.
26902         * malloc/Makefile: Include Makeconfig immediately after defining
26903         subdir.
26904         (all): Remove target.
26905         * manual/Makefile: Include Makeconfig immediately after defining
26906         subdir.
26907         * math/Makefile: Likewise.
26908         * misc/Makefile: Likewise.
26909         * nis/Makefile: Likewise.
26910         * nss/Makefile: Likewise.
26911         * po/Makefile: Likewise.
26912         (all): Remove target.
26913         * posix/Makefile: Include Makeconfig immediately after defining
26914         subdir.
26915         * pwd/Makefile: Likewise.
26916         * resolv/Makefile: Likewise.
26917         * resource/Makefile: Likewise.
26918         * rt/Makefile: Likewise.
26919         * setjmp/Makefile: Likewise.
26920         * shadow/Makefile: Likewise.
26921         * signal/Makefile: Likewise.
26922         * socket/Makefile: Likewise.
26923         * soft-fp/Makefile: Likewise.
26924         * stdio-common/Makefile: Likewise.
26925         * stdlib/Makefile: Likewise.
26926         * streams/Makefile: Likewise.
26927         * string/Makefile: Likewise.
26928         * sunrpc/Makefile: Likewise.
26929         (all): Remove target.
26930         * sysvipc/Makefile: Include Makeconfig immediately after defining
26931         subdir.
26932         * termios/Makefile: Likewise.
26933         * time/Makefile: Likewise.
26934         * timezone/Makefile: Likewise.
26935         (all): Remove target.
26936         * wcsmbs/Makefile: Include Makeconfig immediately after defining
26937         subdir.
26938         * wctype/Makefile: Likewise.
26940 2014-02-26  Steve Ellcey  <sellcey@mips.com>
26942         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
26943         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
26944         (libc_feholdexcept_setround_mips): Ditto.
26945         (libc_feholdsetround): New.
26946         (libc_feholdsetroundf): New.
26947         (libc_feholdsetroundl): New.
26948         (libc_feupdateenv_test_mips): New.
26949         (libc_feupdateenv_test): New.
26950         (libc_feupdateenv_testf): New.
26951         (libc_feupdateenv_testl): New.
26952         (libc_feresetround): New.
26953         (libc_feresetroundf): New.
26954         (libc_feresetroundl): New.
26955         (libc_fetestexcept_mips): New.
26956         (libc_fetestexcept): New.
26957         (libc_fetestexceptf): New.
26958         (libc_fetestexceptl): New.
26959         (HAVE_RM_CTX): New.
26960         (libc_feholdexcept_setround_mips_ctx): New.
26961         (libc_feholdexcept_setround_ctx): New.
26962         (libc_feholdexcept_setroundf_ctx): New.
26963         (libc_feholdexcept_setroundl_ctx): New.
26964         (libc_fesetenv_mips_ctx): New.
26965         (libc_fesetenv_ctx): New.
26966         (libc_fesetenv_ctxf): New.
26967         (libc_fesetenv_ctxl): New.
26968         (libc_feupdateenv_mips_ctx): New.
26969         (libc_feupdateenv_ctx): New.
26970         (libc_feupdateenvf_ctx): New.
26971         (libc_feupdateenvl_ctx): New.
26972         (libc_feholdsetround_mips_ctx): New.
26973         (libc_feholdsetround_ctx): New.
26974         (libc_feholdsetroundf_ctx): New.
26975         (libc_feholdsetroundl_ctx): New.
26976         (libc_feresetround_mips_ctx): New.
26977         (libc_feresetround_ctx): New.
26978         (libc_feresetroundf_ctx): New.
26979         (libc_feresetroundl_ctx): New.
26981 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
26983         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
26985         * manual/ipc.texi: New file.
26986         * manual/Makefile (chapters): Add ipc.
26987         * manual/job.texi: Add "Inter-Process Communication" to next.
26988         * manual/process.texi: Add "Inter-Process Communication" to prev.
26990 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26992         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26994 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
26996         * malloc/malloc.c (__libc_calloc): Simplify implementation.
26998         * manual/arith.texi: Fix spaces after sentences.
26999         * manual/charset.texi: Likewise.
27000         * manual/errno.texi: Likewise.
27001         * manual/install.texi: Likewise.
27002         * manual/llio.texi: Likewise.
27003         * manual/locale.texi: Likewise.
27004         * manual/maint.texi: Likewise.
27005         * manual/math.texi: Likewise.
27006         * manual/memory.texi: Likewise.
27007         * manual/message.texi: Likewise.
27008         * manual/probes.texi: Likewise.
27009         * manual/resource.texi: Likewise.
27010         * manual/signal.texi: Likewise.
27011         * manual/socket.texi: Likewise.
27012         * manual/stdio.texi: Likewise.
27013         * manual/string.texi: Likewise.
27014         * manual/time.texi: Likewise.
27015         * manual/users.texi: Likewise.
27017 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
27019         [BZ #16632]
27020         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
27021         _DEFAULT_SOURCE is defined.
27023 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
27024             Carlos O'Donell  <carlos@redhat.com>
27026         [BZ #16613]
27027         * elf/dl-tls.c (_dl_count_modids): New function.
27028         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
27029         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
27030         audit library and increment generation counter.
27031         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
27032         * elf/tst-audit9.c: New file.
27033         * elf/tst-auditmod9a.c: New file.
27034         * elf/tst-auditmod9b.c: New file.
27035         * elf/Makefile: Add rules to build and run tst-audit9.
27037 2014-02-25  Florian Weimer  <fweimer@redhat.com>
27039         [BZ #15347]
27040         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
27042 2014-02-25  Will Newton  <will.newton@linaro.org>
27044         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
27045         (__longjmp): Restore sp and lr before restoring callee
27046         saved registers.  Add longjmp and longjmp_target
27047         SystemTap probe point.
27048         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
27049         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
27050         Define to zero to match jmpbuf layout.
27051         * sysdeps/arm/setjmp.S: Include stap-probe.h.
27052         (__sigsetjmp): Save sp and lr before saving callee
27053         saved registers.  Add setjmp SystemTap probe point.
27055 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
27057         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
27059 2014-02-24  Andreas Schwab  <schwab@suse.de>
27061         [BZ #15804]
27062         * elf/pldd.c (wait_for_ptrace_stop): New function.
27063         (main): Call it after attaching.
27065 2014-02-22  Roland McGrath  <roland@hack.frob.com>
27067         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
27068         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
27069         Versions files is now verboten.
27070         * hurd/Versions (libc: GLIBC_2.0):
27071         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
27072         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
27073         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
27074         * mach/Versions: Likewise.
27076         * csu/Versions: Remove unused %include.
27077         * resolv/Versions: Likewise.
27079 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
27081         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
27082         ($(objpfx)check-local-headers.out): Likewise.
27083         ($(objpfx)begin-end-check.out): Likewise.
27084         * Makerules (check-abi-%.out): Likewise.
27085         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
27086         ($(objpfx)test2.cat): Likewise.
27087         ($(objpfx)de/libc.cat): Likewise.
27088         ($(objpfx)test-gencat.out): Likewise.
27089         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
27090         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
27091         ($(objpfx)noload-mem): Likewise.
27092         ($(objpfx)tst-pathopt.out): Likewise.
27093         ($(objpfx)tst-rtld-load-self.out): Likewise.
27094         ($(objpfx)tst-array1-cmp.out): Likewise.
27095         ($(objpfx)tst-array1-static-cmp.out): Likewise.
27096         ($(objpfx)tst-array2-cmp.out): Likewise.
27097         ($(objpfx)tst-array3-cmp.out): Likewise.
27098         ($(objpfx)tst-array4-cmp.out): Likewise.
27099         ($(objpfx)tst-array5-cmp.out): Likewise.
27100         ($(objpfx)tst-array5-static-cmp.out): Likewise.
27101         ($(objpfx)check-textrel.out): Likewise.
27102         ($(objpfx)check-execstack.out): Likewise.
27103         ($(objpfx)check-localplt.out): Likewise.
27104         ($(objpfx)order2-cmp.out): Likewise.
27105         ($(objpfx)tst-leaks1-mem): Likewise.
27106         ($(objpfx)tst-leaks1-static-mem): Likewise.
27107         ($(objpfx)tst-initorder-cmp.out): Likewise.
27108         ($(objpfx)tst-initorder2-cmp.out): Likewise.
27109         ($(objpfx)tst-unused-dep.out): Likewise.
27110         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
27111         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
27112         * iconv/Makefile (test-iconvconfig): Likewise.
27113         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
27114         ($(objpfx)iconv-test.out): Likewise.
27115         ($(objpfx)tst-tables.out): Likewise.
27116         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
27117         ($(objpfx)tst-gettext.out): Likewise.
27118         ($(objpfx)tst-translit.out): Likewise.
27119         ($(objpfx)tst-gettext2.out): Likewise.
27120         ($(objpfx)tst-gettext4.out): Likewise.
27121         ($(objpfx)tst-gettext6.out): Likewise.
27122         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
27123         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
27124         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
27125         ($(objpfx)tst-fopenloc-mem.out): Likewise.
27126         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
27127         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
27128         * posix/Makefile ($(objpfx)globtest.out): Likewise.
27129         ($(objpfx)wordexp-tst.out): Likewise.
27130         ($(objpfx)annexc.out): Likewise.
27131         ($(objpfx)tst-fnmatch-mem): Likewise.
27132         ($(objpfx)bug-regex2-mem): Likewise.
27133         ($(objpfx)bug-regex14-mem): Likewise.
27134         ($(objpfx)bug-regex21-mem): Likewise.
27135         ($(objpfx)bug-regex31-mem): Likewise.
27136         ($(objpfx)tst-vfork3-mem): Likewise.
27137         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
27138         ($(objpfx)tst-pcre-mem): Likewise.
27139         ($(objpfx)tst-boost-mem): Likewise.
27140         ($(objpfx)tst-getconf.out): Likewise.
27141         ($(objpfx)bug-ga2-mem): Likewise.
27142         ($(objpfx)bug-glob2-mem): Likewise.
27143         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
27144         ($(objpfx)mtrace-tst-leaks2): Likewise.
27145         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
27146         ($(objpfx)tst-printf.out): Likewise.
27147         ($(objpfx)tst-setvbuf1.out): Likewise.
27148         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
27149         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
27150         ($(objpfx)tst-fmtmsg.out): Likewise.
27151         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
27152         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
27154         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
27155         * bits/sigaction.h [__USE_MISC]: Likewise.
27156         * bits/waitstatus.h: Update #endif comments.
27157         * ctype/ctype.h: Likewise.
27158         * dirent/dirent.h: Likewise.
27159         [__USE_MISC]: Remove redundant conditionals.
27160         * grp/grp.h: Update #endif comments.
27161         [__USE_GNU]: Remove redundant conditionals.
27162         [__USE_MISC]: Likewise.
27163         * inet/netinet/in.h [__USE_GNU]: Likewise.
27164         * io/sys/stat.h [__USE_MISC]: Likewise.
27165         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
27166         * libio/bits/stdio.h: Update #endif comments.
27167         [__USE_MISC]: Remove redundant conditionals.
27168         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
27169         * libio/stdio.h: Update #endif comments.
27170         [__USE_MISC]: Remove redundant conditionals.
27171         * math/bits/math-finite.h [__USE_MISC]: Likewise.
27172         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
27173         * math/math.h: Update #else and #endif comments.
27174         [__USE_MISC]: Remove redundant conditionals.
27175         * misc/sys/uio.h: Update #endif comments.
27176         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
27177         * posix/glob.h [__USE_MISC]: Likewise.
27178         * posix/sys/types.h: Update #endif comments.
27179         [__USE_MISC]: Remove redundant conditionals.
27180         * posix/sys/wait.h: Update #endif comments.
27181         [__USE_MISC]: Remove redundant conditionals.
27182         * posix/unistd.h: Update #endif comments.
27183         [__USE_MISC]: Remove redundant conditionals.
27184         * pwd/pwd.h [__USE_GNU]: Likewise.
27185         [__USE_MISC]: Likewise.
27186         * resolv/netdb.h [__USE_GNU]: Likewise.
27187         * signal/signal.h: Update #endif comments.
27188         [__USE_MISC]: Remove redundant conditionals.
27189         * stdlib/stdlib.h: Update #else and #endif comments.
27190         [__USE_MISC]: Remove redundant conditionals.
27191         [__USE_GNU]: Likewise.
27192         * string/bits/string2.h [__USE_MISC]: Likewise.
27193         * string/string.h: Update #endif comments.
27194         [__USE_MISC]: Remove redundant conditionals.
27195         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
27196         Likewise.
27197         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
27198         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
27199         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
27200         Likewise.
27201         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
27202         Likewise.
27203         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
27204         comments.
27205         [__USE_MISC]: Remove redundant conditionals.
27206         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
27207         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
27208         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
27209         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
27210         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
27211         Likewise.
27212         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
27213         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
27214         Likewise.
27215         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
27216         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
27217         Likewise.
27218         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
27219         Likewise.
27220         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
27221         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
27222         Likewise.
27223         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
27224         Likewise.
27225         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
27226         * sysdeps/x86/bits/string.h: Update #endif comments.
27227         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
27228         conditionals.
27229         * time/sys/time.h: Update #endif comments.
27230         * time/time.h: Likewise.
27231         [__USE_MISC]: Remove redundant conditionals.
27233 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
27235         [BZ #16600]
27236         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
27238 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
27240         * Versions.def (librt): Add GLIBC_2.17.
27242 2014-02-21  Adam Conrad  <adconrad@0c3.net>
27244         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
27245         synonym for _SYS_AUXV_H to allow direct inclusion.
27246         * sysdeps/sparc/bits/hwcap.h: Likewise.
27247         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
27248         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
27249         * sysdeps/sparc/sysdep.h: Likewise.
27251 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27253         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
27255 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27257         * benchtests/bench-strrchr.c: Print length instead of position.
27259 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
27261         [BZ #16611]
27262         * sysdeps/unix/sysv/linux/kernel-features.h
27263         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
27264         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
27265         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
27266         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
27267         Likewise.
27268         [__i386__ || __powerpc__ || __sh__ || __sparc__]
27269         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27270         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
27271         (__ASSUME_SENDMMSG): Define instead of using previous
27272         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
27273         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
27274         (__ASSUME_SENDMMSG_SYSCALL): Define.
27275         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
27276         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
27277         Likewise.
27278         * sysdeps/unix/sysv/linux/arm/kernel-features.h
27279         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
27280         Likewise.
27281         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
27282         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
27283         Likewise.
27284         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
27285         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
27286         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
27287         [__ASSUME_SENDMMSG]: Change conditionals to
27288         [__ASSUME_SENDMMSG_SOCKETCALL].
27289         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27290         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
27291         Define.
27292         * sysdeps/unix/sysv/linux/mips/kernel-features.h
27293         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
27294         Likewise.
27295         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
27296         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
27297         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
27298         [!__ASSUME_SENDMMSG]: Change conditional to
27299         [!__ASSUME_SENDMMSG_SOCKETCALL].
27300         * sysdeps/unix/sysv/linux/tile/kernel-features.h
27301         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
27302         Define.
27304         [BZ #16610]
27305         * sysdeps/unix/sysv/linux/kernel-features.h
27306         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
27307         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
27308         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
27309         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
27310         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
27311         [__i386__ || __sparc__]
27312         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27313         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
27314         (__ASSUME_RECVMMSG): Define instead of using previous
27315         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
27316         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
27317         (__ASSUME_RECVMMSG_SYSCALL): Define.
27318         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
27319         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
27320         Likewise.
27321         * sysdeps/unix/sysv/linux/arm/kernel-features.h
27322         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
27323         Likewise.
27324         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
27325         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
27326         Likewise.
27327         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
27328         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
27329         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
27330         [__ASSUME_RECVMMSG]: Change condition to
27331         [__ASSUME_RECVMMSG_SOCKETCALL].
27332         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27333         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
27334         Define.
27335         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27336         * sysdeps/unix/sysv/linux/mips/kernel-features.h
27337         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
27338         Likewise.
27339         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
27340         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
27341         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
27342         [!__ASSUME_RECVMMSG]: Change condition to
27343         [!__ASSUME_RECVMMSG_SOCKETCALL].
27344         * sysdeps/unix/sysv/linux/tile/kernel-features.h
27345         (__ASSUME_RECVMMSG_SYSCALL): Define.
27347         [BZ #16609]
27348         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
27349         __powerpc__ || __s390__ || __sh__ || __sparc__]
27350         (__ASSUME_SOCKETCALL): Define.
27351         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
27352         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
27353         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
27354         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
27355         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
27356         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
27357         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
27358         (__ASSUME_ACCEPT4): Define instead of using previous
27359         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
27360         __powerpc__ || __sparc__ || __s390__)] condition.
27361         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
27362         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
27363         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
27364         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
27365         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
27366         [!__ASSUME_ACCEPT4]: Change condition to
27367         [!__ASSUME_ACCEPT4_SOCKETCALL].
27368         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
27369         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
27370         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
27371         * sysdeps/unix/sysv/linux/arm/kernel-features.h
27372         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
27373         __ASSUME_ACCEPT4_SYSCALL.
27374         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
27375         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
27376         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
27377         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
27378         __ASSUME_ACCEPT4_SYSCALL.
27379         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
27380         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
27381         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
27382         [__ASSUME_ACCEPT4]: Change condition to
27383         [__ASSUME_ACCEPT4_SOCKETCALL].
27384         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
27385         (__ASSUME_SOCKETCALL): Define.
27386         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
27387         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27388         (__ASSUME_SOCKETCALL): Define.
27389         (__ASSUME_ACCEPT4): Remove.
27390         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
27391         Define.
27392         * sysdeps/unix/sysv/linux/mips/kernel-features.h
27393         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
27394         Likewise.
27395         * sysdeps/unix/sysv/linux/tile/kernel-features.h
27396         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
27398         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
27399         macro.
27400         (HWCAP_ARM_LPAE): Likewise.
27401         (HWCAP_ARM_EVTSTRM): Likewise.
27402         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
27403         Add vpfd32, lpae and evtstrm.
27404         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
27405         Increase to 22.
27407 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
27409         * math/auto-libm-test-in: Add tests of clog10.
27410         * math/auto-libm-test-out: Regenerated.
27411         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
27412         * sysdeps/i386/fpu/libm-test-ulps: Update.
27413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27415 2014-02-18  Andreas Schwab  <schwab@suse.de>
27417         [BZ #16574]
27418         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
27419         Store non-zero if the second buffer was newly allocated.
27420         (send_dg): Likewise.
27421         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
27422         to send_vc and send_dg.
27423         (res_nsend): Pass NULL for ansp2_malloced.
27424         * resolv/res_query.c (__libc_res_nquery): Add parameter
27425         answerp2_malloced and pass it down to __libc_res_nsend.
27426         (res_nquery): Pass additional NULL to __libc_res_nquery.
27427         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
27428         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
27429         second answer buffer if answerp2_malloced was set.
27430         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
27431         (__libc_res_nquerydomain): Add parameter
27432         answerp2_malloced and pass it down to __libc_res_nquery.
27433         (res_nquerydomain): Pass additional NULL to
27434         __libc_res_nquerydomain.
27435         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
27436         additional NULL to __libc_res_nsend and __libc_res_nquery.
27437         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
27438         additional NULL to __libc_res_nsearch.
27439         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
27440         parameter of __libc_res_nsearch to check for separately allocated
27441         second buffer.
27442         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
27443         __libc_res_nquery.
27444         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
27445         additional NULL to __libc_res_nquery.
27446         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
27447         __libc_res_nsearch.
27448         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
27449         * include/resolv.h: Update prototypes of __libc_res_nquery,
27450         __libc_res_nsearch, __libc_res_nsend.
27452 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
27454         * math/auto-libm-test-in: Add tests of fma.
27455         * math/auto-libm-test-out: Regenerated.
27456         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
27457         (fma_towardzero_test_data): Likewise.
27458         (fma_downward_test_data): Likewise.
27459         (fma_upward_test_data): Likewise.
27460         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
27461         mpc_mode.
27462         (rounding_modes): Add values for new field.
27463         (func_calc_method): Add value mpfr_fff_f.
27464         (func_calc_desc): Add mpfr_fff_f union field.
27465         (test_function): Add field exact_args.
27466         (FUNC): Add macro argument EXACT_ARGS.
27467         (FUNC_mpfr_f_f): Update call to FUNC.
27468         (FUNC_mpfr_f_f): Likewise.
27469         (FUNC_mpfr_ff_f): Likewise.
27470         (FUNC_mpfr_if_f): Likewise.
27471         (FUNC_mpc_c_f): Likewise.
27472         (FUNC_mpc_c_c): Likewise.
27473         (test_functions): Add fma.  Update calls to FUNC.
27474         (handle_input_arg): Add argument exact_args.
27475         (add_test): Update call to handle_input_arg.
27476         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
27477         (output_for_one_input_case): Update call to calc_generic_results.
27478         Recalculate exact zero results in each rounding mode.
27480         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
27481         non-negative before setting low bit.
27482         * math/auto-libm-test-in: Mark one asin test possibly having
27483         spurious underflow.
27484         * math/auto-libm-test-out: Regenerated.
27485         * sysdeps/i386/fpu/libm-test-ulps: Update.
27486         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27488 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
27490         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
27491         * sysdeps/unix/sysv/linux/microblaze: Move directory from
27492         ports/sysdeps/unix/sysv/linux/microblaze.
27493         * README: Add missing listing for microblaze*-*-linux-gnu.
27495 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
27497         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
27498         duplicate code
27500 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
27502         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
27503         * sysdeps/unix/sysv/linux/ia64: Move directory from
27504         ports/sysdeps/unix/sysv/linux/ia64.
27505         * README: Update listing for ia64-*-linux-gnu.
27507 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
27508             Joseph Myers  <joseph@codesourcery.com>
27510         * Makeconfig (test-name): New variable.
27511         (evaluate-test): Likewise.
27512         * Makerules (do-test-clean): Remove .test-result files.
27513         (common-mostlyclean): Likewise.
27514         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
27515         * scripts/evaluate-test.sh: New file.
27517 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
27519         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
27520         separate $(objpfx)tst-fopenloc-cmp.out and
27521         $(objpfx)tst-fopenloc-mem.out targets.
27522         (tests): Update dependencies.
27523         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
27524         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
27525         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
27526         (tst-rxspencer-no-utf8-ARGS): New variable.
27527         (tst-rxspencer-no-utf8-ENV): Likewise.
27528         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
27529         instead of $(objpfx)tst-rxspencer-mem.
27530         ($(objpfx)tst-rxspencer-mem): Change target to
27531         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
27532         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
27533         * posix/tst-rxspencer-no-utf8.c: New file.
27535         * elf/Makefile ($(objpfx)order.out): Remove rule.
27536         [$(run-built-tests) = yes] (tests): Depend on
27537         $(objpfx)order-cmp.out.
27538         ($(objpfx)order-cmp.out): New rule.
27539         [$(run-built-tests) = yes] (tests): Depend on
27540         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
27541         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
27542         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
27543         $(objpfx)tst-array5-static-cmp.out.
27544         ($(objpfx)tst-array1.out): Remove rule.
27545         ($(objpfx)tst-array1-cmp.out): New rule.
27546         ($(objpfx)tst-array1-static.out): Remove rule.
27547         ($(objpfx)tst-array1-static-cmp.out): New rule.
27548         ($(objpfx)tst-array2.out): Remove rule.
27549         ($(objpfx)tst-array2-cmp.out): New rule.
27550         ($(objpfx)tst-array3.out): Remove rule.
27551         ($(objpfx)tst-array3-cmp.out): New rule.
27552         ($(objpfx)tst-array4.out): Remove rule.
27553         ($(objpfx)tst-array4-cmp.out): New rule.
27554         ($(objpfx)tst-array5.out): Remove rule.
27555         ($(objpfx)tst-array5-cmp.out): New rule.
27556         ($(objpfx)tst-array5-static.out): Remove rule.
27557         ($(objpfx)tst-array5-static-cmp.out): New rule.
27558         [$(run-built-tests) = yes] (tests): Depend on
27559         $(objpfx)order2-cmp.out.
27560         ($(objpfx)order2.out): Remove rule.
27561         ($(objpfx)order2-cmp.out): New rule.
27562         ($(objpfx)tst-initorder.out): Remove rule.
27563         [$(run-built-tests) = yes] (tests): Depend on
27564         $(objpfx)tst-initorder-cmp.out.
27565         ($(objpfx)tst-initorder-cmp.out): New rule.
27566         ($(objpfx)tst-initorder2.out): Remove rule.
27567         [$(run-built-tests) = yes] (tests): Depend on
27568         $(objpfx)tst-initorder2-cmp.out.
27569         ($(objpfx)tst-initorder2-cmp.out): New rule.
27570         [$(run-built-tests) = yes] (tests): Depend on
27571         $(objpfx)tst-unused-dep-cmp.out.
27572         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
27573         ($(objpfx)tst-unused-dep-cmp.out): New rule.
27574         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
27575         on $(objpfx)tst-setvbuf1-cmp.out.
27576         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
27577         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
27578         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
27579         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
27580         ($(objpfx)tst-svc.out): Remove rule.
27581         ($(objpfx)tst-svc-cmp.out): New rule.
27583 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
27585         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
27586         * ctype/ctype.h [__USE_MISC]: Likewise.
27587         * dirent/dirent.h [__USE_MISC]: Likewise.
27588         * grp/grp.h [__USE_MISC]: Likewise.
27589         * io/fcntl.h [__USE_MISC]: Likewise.
27590         * io/sys/stat.h [__USE_MISC]: Likewise.
27591         * libio/stdio.h [__USE_MISC]: Likewise.
27592         * posix/unistd.h [__USE_MISC]: Likewise.
27593         * pwd/pwd.h [__USE_MISC]: Likewise.
27594         * stdlib.h [__USE_MISC]: Likewise.
27595         * string/bits/string2.h [__USE_MISC]: Likewise.
27596         * string/string.h [__USE_MISC]: Likewise.
27597         * time/time.h [__USE_MISC]: Likewise.
27599 2014-02-13  Andreas Schwab  <schwab@suse.de>
27601         [BZ #16574]
27602         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
27603         second answer buffer if it was separately allocated.
27605 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
27607         * sysdeps/mips/math-tests.h: Include <features.h>.
27608         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
27609         (ROUNDING_TESTS_long_double): Do not define.
27610         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
27611         (EXCEPTION_TESTS_long_double): Likewise.
27612         * sysdeps/mips/mips64/libm-test-ulps: Update.
27614         * include/features.h (__USE_BSD): Remove macro definitions.
27615         (__USE_SVID): Likewise.
27616         (_BSD_SOURCE): Likewise.
27617         (_SVID_SOURCE): Likewise.
27618         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
27619         from definition of _DEFAULT_SOURCE.
27620         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
27621         [_DEFAULT_SOURCE].
27622         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
27623         * bits/mman.h [__USE_BSD]: Likewise.
27624         * bits/termios.h [__USE_BSD]: Likewise.
27625         * bits/waitstatus.h [__USE_BSD]: Likewise.
27626         * ctype/ctype.h [__USE_SVID]: Likewise.
27627         * dirent/dirent.h [__USE_BSD]: Likewise.
27628         * grp/grp.h [__USE_SVID]: Likewise.
27629         [__USE_BSD]: Likewise.
27630         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
27631         * io/fcntl.h [__USE_BSD]: Likewise.
27632         * io/ftw.h [__USE_BSD]: Likewise.
27633         * io/sys/stat.h [__USE_BSD]: Likewise.
27634         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
27635         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
27636         * libio/stdio.h [__USE_SVID]: Likewise.
27637         [__USE_BSD]: Likewise.
27638         * math/math.h [__USE_SVID]: Likewise.
27639         [__USE_BSD]: Likewise.
27640         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
27641         * misc/bits/syslog.h [__USE_BSD]: Likewise.
27642         * misc/search.h [__USE_SVID]: Likewise.
27643         * misc/sys/mman.h [__USE_BSD]: Likewise.
27644         * misc/sys/syslog.h [__USE_BSD]: Likewise.
27645         * misc/sys/uio.h [__USE_BSD]: Likewise.
27646         * posix/bits/unistd.h [__USE_BSD]: Likewise.
27647         * posix/glob.h [__USE_BSD]: Likewise.
27648         * posix/regex.h [__USE_BSD]: Likewise.
27649         * posix/sys/types.h [__USE_BSD]: Likewise.
27650         [__USE_SVID]: Likewise.
27651         * posix/sys/utsname.h [__USE_SVID]: Likewise.
27652         * posix/sys/wait.h [__USE_BSD]: Likewise.
27653         [__USE_SVID]: Likewise.
27654         * posix/unistd.h [__USE_BSD]: Likewise.
27655         [__USE_SVID]: Likewise.
27656         * pwd/pwd.h [__USE_SVID]: Likewise.
27657         * resolv/netdb.h [__USE_BSD]: Likewise.
27658         * setjmp/setjmp.h [__USE_BSD]: Likewise.
27659         * signal/signal.h [__USE_BSD]: Likewise.
27660         [__USE_SVID]: Likewise.
27661         * socket/sys/socket.h [__USE_BSD]: Likewise.
27662         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
27663         * stdlib/stdlib.h [__USE_BSD]: Likewise.
27664         [__USE_SVID]: Likewise.
27665         * string/bits/string2.h [__USE_BSD]: Likewise.
27666         [__USE_SVID]: Likewise.
27667         * string/bits/string3.h [__USE_BSD]: Likewise.
27668         * string/endian.h [__USE_BSD]: Likewise.
27669         * string/string.h [__USE_SVID]: Likewise.
27670         [__USE_BSD]: Likewise.
27671         * string/strings.h [__USE_BSD]: Likewise.
27672         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
27673         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
27674         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
27675         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
27676         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
27677         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
27678         Likewise.
27679         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
27680         Likewise.
27681         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
27682         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
27683         Likewise.
27684         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
27685         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
27686         Likewise.
27687         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
27688         Likewise.
27689         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
27690         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
27691         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
27692         Likewise.
27693         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
27694         Likewise.
27695         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
27696         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
27697         * termios/termios.h [__USE_BSD]: Likewise.
27698         * time/sys/time.h [__USE_BSD]: Likewise.
27699         * time/time.h [__USE_BSD]: Likewise.
27700         [__USE_SVID]: Likewise.
27702         * Makefile (subdir_targets): Remove subdir_lint.out.
27704         * stdio-common/Makefile (do-tst-unbputc): Remove target.
27705         (do-tst-printf): Likewise.
27706         (tests): Depend directly on $(objpfx)tst-unbputc.out and
27707         $(objpfx)tst-printf.out.
27709         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
27711         * Makerules (check-abi-%): Change target to
27712         $(objpfx)check-abi-%.out.
27713         (check-abi target): Update dependencies.
27714         (check-abi-pattern variable): Redirect output of diff to $@.
27715         (check-abi variable): Likewise.
27716         * elf/Makefile (check-abi): Update dependencies.
27718         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
27719         unused.
27720         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
27721         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
27722         subnormal range.
27723         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
27724         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
27725         value has largest subnormal exponent.
27726         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
27727         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
27728         * sysdeps/aarch64/soft-fp/sfp-machine.h
27729         (_FP_TININESS_AFTER_ROUNDING): New macro.
27730         * sysdeps/alpha/soft-fp/sfp-machine.h
27731         (_FP_TININESS_AFTER_ROUNDING): Likewise.
27732         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
27733         Likewise.
27734         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
27735         (_FP_TININESS_AFTER_ROUNDING): Likewise.
27736         * sysdeps/mips/soft-fp/sfp-machine.h
27737         (_FP_TININESS_AFTER_ROUNDING): Likewise.
27738         * sysdeps/powerpc/soft-fp/sfp-machine.h
27739         (_FP_TININESS_AFTER_ROUNDING): Likewise.
27740         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
27741         Likewise.
27742         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27743         (_FP_TININESS_AFTER_ROUNDING): Likewise.
27744         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27745         (_FP_TININESS_AFTER_ROUNDING): Likewise.
27746         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
27747         Likewise.
27749 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
27751         [BZ #16545]
27752         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
27753         model 1.
27755 2014-02-12  Richard Henderson  <rth@redhat.com>
27757         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
27758         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
27759         * sysdeps/unix/sysv/linux/alpha: Move directory from
27760         ports/sysdeps/unix/sysv/linux/alpha.
27761         * README: Update listing for alpha-*-linux-gnu.
27763 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
27765         * include/features.h: Update comment documenting feature test
27766         macros.
27767         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
27768         _DEFAULT_SOURCE.
27769         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
27770         (_SVID_SOURCE): Likewise.
27771         (_DEFAULT_SOURCE): Update description of default features.
27772         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
27773         with _GNU_SOURCE.
27774         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
27775         (S_ISVTX): Likewise.
27776         * manual/math.texi (Mathematical Constants): Likewise.
27777         * manual/signal.texi (Interrupted Primitives): Likewise.
27778         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
27779         * math/test-matherr.c (_SVID_SOURCE): Do not define.
27780         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
27781         Don't refer to _SVID_SOURCE in warning text.
27783         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27785         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
27786         already defined.
27787         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
27788         * sysdeps/mips/dl-lookup.c: Remove.
27789         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
27791 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
27793         [BZ #16447]
27794         * math/auto-libm-test-in: Add testcase for expl.
27795         * math/auto-libm-test-out: Regenerate.
27796         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
27797         calculation of unsafe.
27798         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
27800 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
27802         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
27803         * sysdeps/unix/sysv/linux/aarch64: Move directory from
27804         ports/sysdeps/unix/sysv/linux/aarch64.
27805         * README: Update listing for aarch64*-*-linux-gnu.
27807 2014-02-11  Will Newton  <will.newton@linaro.org>
27809         * manual/probes.texi (Mathematical Function Probes): Use
27810         "triggered" instead of "hit".
27812         * manual/probes.texi (Internal Probes): Add documentation
27813         of setjmp, longjmp and longjmp_target probes.
27815         * include/stap-probe.h: Add comment about probe argument
27816         format.
27818         * malloc/mtrace.c (attribute_hidden): Remove unused macro
27819         definition.  (tr_where, tr_freehook, tr_mallochook,
27820         tr_reallochook, tr_memalignhook): Use ANSI protoype.
27822 2014-02-11  David S. Miller  <davem@davemloft.net>
27824         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
27825         processing int_tests.
27827 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
27829         * sysdeps/mips: Move directory from ports/sysdeps/mips.
27830         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
27831         * sysdeps/unix/sysv/linux/mips: Move directory from
27832         ports/sysdeps/unix/sysv/linux/mips.
27833         * README: Update listing for mips-*-linux-gnu and
27834         mips64-*-linux-gnu.
27836 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
27838         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
27839         * sysdeps/unix/sysv/linux/m68k: Move directory from
27840         ports/sysdeps/unix/sysv/linux/m68k.
27841         * README: Update listing for m68k-*-linux-gnu.
27843 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
27845         * sysdeps/tile: Move directory from ports/sysdeps/tile.
27846         * sysdeps/unix/sysv/linux/generic: Move directory from
27847         ports/sysdeps/unix/sysv/linux/generic.
27848         * sysdeps/unix/sysv/linux/tile: Move directory from
27849         ports/sysdeps/unix/sysv/linux/tile.
27850         * README: Update listing for tile*-*-linux-gnu.
27852 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
27854         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
27855         __builtin_expect.
27856         * benchtests/bench-memmem.c (simple_memmem): Likewise.
27857         * catgets/open_catalog.c (__open_catalog): Likewise.
27858         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
27859         * debug/confstr_chk.c: Likewise.
27860         * debug/fread_chk.c (__fread_chk): Likewise.
27861         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
27862         * debug/getgroups_chk.c: Likewise.
27863         * debug/mbsnrtowcs_chk.c: Likewise.
27864         * debug/mbsrtowcs_chk.c: Likewise.
27865         * debug/mbstowcs_chk.c: Likewise.
27866         * debug/memcpy_chk.c: Likewise.
27867         * debug/memmove_chk.c: Likewise.
27868         * debug/mempcpy_chk.c: Likewise.
27869         * debug/memset_chk.c: Likewise.
27870         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
27871         * debug/strcat_chk.c (__strcat_chk): Likewise.
27872         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
27873         * debug/strncat_chk.c (__strncat_chk): Likewise.
27874         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
27875         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
27876         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
27877         * debug/wcpncpy_chk.c: Likewise.
27878         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
27879         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
27880         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
27881         * debug/wcsncpy_chk.c: Likewise.
27882         * debug/wcsnrtombs_chk.c: Likewise.
27883         * debug/wcsrtombs_chk.c: Likewise.
27884         * debug/wcstombs_chk.c: Likewise.
27885         * debug/wmemcpy_chk.c: Likewise.
27886         * debug/wmemmove_chk.c: Likewise.
27887         * debug/wmempcpy_chk.c: Likewise.
27888         * debug/wmemset_chk.c: Likewise.
27889         * dirent/scandirat.c (SCANDIRAT): Likewise.
27890         * dlfcn/dladdr1.c (dladdr1): Likewise.
27891         * dlfcn/dladdr.c (dladdr): Likewise.
27892         * dlfcn/dlclose.c (dlclose_doit): Likewise.
27893         * dlfcn/dlerror.c (__dlerror): Likewise.
27894         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
27895         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
27896         * dlfcn/dlopen.c (dlopen_doit): Likewise.
27897         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
27898         * dlfcn/dlsym.c (dlsym_doit): Likewise.
27899         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
27900         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
27901         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
27902         Likewise.
27903         * elf/dl-conflict.c: Likewise.
27904         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
27905         * elf/dl-dst.h: Likewise.
27906         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
27907         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
27908         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
27909         * elf/dl-init.c (call_init, _dl_init): Likewise.
27910         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
27911         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
27912         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
27913         Likewise.
27914         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
27915         Likewise.
27916         * elf/dl-minimal.c (__libc_memalign): Likewise.
27917         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
27918         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
27919         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
27920         * elf/dl-sym.c (do_sym): Likewise.
27921         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
27922         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
27923         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
27924         * elf/dl-writev.h (_dl_writev): Likewise.
27925         * elf/ldconfig.c (search_dir): Likewise.
27926         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
27927         (dl_main): Likewise.
27928         * elf/setup-vdso.h (setup_vdso): Likewise.
27929         * grp/compat-initgroups.c (compat_call): Likewise.
27930         * grp/fgetgrent.c (fgetgrent): Likewise.
27931         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
27932         * grp/putgrent.c (putgrent): Likewise.
27933         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
27934         Likewise.
27935         * hurd/hurdinit.c: Likewise.
27936         * iconvdata/8bit-gap.c (struct): Likewise.
27937         * iconvdata/ansi_x3.110.c : Likewise.
27938         * iconvdata/big5.c : Likewise.
27939         * iconvdata/big5hkscs.c : Likewise.
27940         * iconvdata/cp1255.c: Likewise.
27941         * iconvdata/cp1258.c : Likewise.
27942         * iconvdata/cp932.c : Likewise.
27943         * iconvdata/euc-cn.c: Likewise.
27944         * iconvdata/euc-jisx0213.c : Likewise.
27945         * iconvdata/euc-jp.c: Likewise.
27946         * iconvdata/euc-jp-ms.c : Likewise.
27947         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
27948         * iconvdata/gb18030.c : Likewise.
27949         * iconvdata/gbbig5.c (const): Likewise.
27950         * iconvdata/gbgbk.c: Likewise.
27951         * iconvdata/gbk.c : Likewise.
27952         * iconvdata/ibm1364.c : Likewise.
27953         * iconvdata/ibm930.c : Likewise.
27954         * iconvdata/ibm932.c: Likewise.
27955         * iconvdata/ibm933.c : Likewise.
27956         * iconvdata/ibm935.c : Likewise.
27957         * iconvdata/ibm937.c : Likewise.
27958         * iconvdata/ibm939.c : Likewise.
27959         * iconvdata/ibm943.c: Likewise.
27960         * iconvdata/iso_11548-1.c: Likewise.
27961         * iconvdata/iso-2022-cn.c : Likewise.
27962         * iconvdata/iso-2022-cn-ext.c : Likewise.
27963         * iconvdata/iso-2022-jp-3.c: Likewise.
27964         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
27965         * iconvdata/iso-2022-kr.c : Likewise.
27966         * iconvdata/iso646.c (gconv_end): Likewise.
27967         * iconvdata/iso_6937-2.c : Likewise.
27968         * iconvdata/iso_6937.c : Likewise.
27969         * iconvdata/iso8859-1.c: Likewise.
27970         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
27971         * iconvdata/shift_jisx0213.c : Likewise.
27972         * iconvdata/sjis.c : Likewise.
27973         * iconvdata/t.61.c : Likewise.
27974         * iconvdata/tcvn5712-1.c : Likewise.
27975         * iconvdata/tscii.c: Likewise.
27976         * iconvdata/uhc.c : Likewise.
27977         * iconvdata/unicode.c (gconv_end): Likewise.
27978         * iconvdata/utf-16.c (gconv_end): Likewise.
27979         * iconvdata/utf-32.c (gconv_end): Likewise.
27980         * iconvdata/utf-7.c (base64): Likewise.
27981         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
27982         * iconv/gconv_close.c (__gconv_close): Likewise.
27983         * iconv/gconv_open.c (__gconv_open): Likewise.
27984         * iconv/gconv_simple.c (internal_ucs4_loop_single)
27985         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
27986         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
27987         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
27988         (ucs4le_internal_loop_single): Likewise.
27989         * iconv/iconv.c (iconv): Likewise.
27990         * iconv/iconv_close.c: Likewise.
27991         * iconv/loop.c (SINGLE): Likewise.
27992         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
27993         * include/atomic.h: Likewise.
27994         * inet/inet6_option.c (option_alloc): Likewise.
27995         * intl/bindtextdom.c (set_binding_values): Likewise.
27996         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
27997         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
27998         * intl/localealias.c (read_alias_file): Likewise.
27999         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
28000         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
28001         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
28002         * libio/fmemopen.c (fmemopen): Likewise.
28003         * libio/iofgets.c (_IO_fgets): Likewise.
28004         * libio/iofgets_u.c (fgets_unlocked): Likewise.
28005         * libio/iofgetws.c (fgetws): Likewise.
28006         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
28007         * libio/iogetdelim.c (_IO_getdelim): Likewise.
28008         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
28009         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
28010         * locale/findlocale.c (_nl_find_locale): Likewise.
28011         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
28012         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
28013         Likewise.
28014         * locale/setlocale.c (setlocale): Likewise.
28015         * login/programs/pt_chown.c (main): Likewise.
28016         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
28017         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
28018         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
28019         (mmap, mmap64, mremap, munmap): Likewise.
28020         * math/e_exp2l.c: Likewise.
28021         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
28022         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
28023         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
28024         * math/s_catan.c (__catan): Likewise.
28025         * math/s_catanf.c (__catanf): Likewise.
28026         * math/s_catanh.c (__catanh): Likewise.
28027         * math/s_catanhf.c (__catanhf): Likewise.
28028         * math/s_catanhl.c (__catanhl): Likewise.
28029         * math/s_catanl.c (__catanl): Likewise.
28030         * math/s_ccosh.c (__ccosh): Likewise.
28031         * math/s_ccoshf.c (__ccoshf): Likewise.
28032         * math/s_ccoshl.c (__ccoshl): Likewise.
28033         * math/s_cexp.c (__cexp): Likewise.
28034         * math/s_cexpf.c (__cexpf): Likewise.
28035         * math/s_cexpl.c (__cexpl): Likewise.
28036         * math/s_clog10.c (__clog10): Likewise.
28037         * math/s_clog10f.c (__clog10f): Likewise.
28038         * math/s_clog10l.c (__clog10l): Likewise.
28039         * math/s_clog.c (__clog): Likewise.
28040         * math/s_clogf.c (__clogf): Likewise.
28041         * math/s_clogl.c (__clogl): Likewise.
28042         * math/s_csin.c (__csin): Likewise.
28043         * math/s_csinf.c (__csinf): Likewise.
28044         * math/s_csinh.c (__csinh): Likewise.
28045         * math/s_csinhf.c (__csinhf): Likewise.
28046         * math/s_csinhl.c (__csinhl): Likewise.
28047         * math/s_csinl.c (__csinl): Likewise.
28048         * math/s_csqrt.c (__csqrt): Likewise.
28049         * math/s_csqrtf.c (__csqrtf): Likewise.
28050         * math/s_csqrtl.c (__csqrtl): Likewise.
28051         * math/s_ctan.c (__ctan): Likewise.
28052         * math/s_ctanf.c (__ctanf): Likewise.
28053         * math/s_ctanh.c (__ctanh): Likewise.
28054         * math/s_ctanhf.c (__ctanhf): Likewise.
28055         * math/s_ctanhl.c (__ctanhl): Likewise.
28056         * math/s_ctanl.c (__ctanl): Likewise.
28057         * math/w_pow.c: Likewise.
28058         * math/w_powf.c: Likewise.
28059         * math/w_powl.c: Likewise.
28060         * math/w_scalb.c (sysv_scalb): Likewise.
28061         * math/w_scalbf.c (sysv_scalbf): Likewise.
28062         * math/w_scalbl.c (sysv_scalbl): Likewise.
28063         * misc/error.c (error_tail): Likewise.
28064         * misc/pselect.c (__pselect): Likewise.
28065         * nis/nis_callback.c (__nis_create_callback): Likewise.
28066         * nis/nis_call.c (__nisfind_server): Likewise.
28067         * nis/nis_creategroup.c (nis_creategroup): Likewise.
28068         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
28069         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
28070         * nis/nis_getservlist.c (nis_getservlist): Likewise.
28071         * nis/nis_lookup.c (nis_lookup): Likewise.
28072         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
28073         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
28074         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
28075         * nis/nis_xdr.c (xdr_endpoint): Likewise.
28076         * nis/nss_compat/compat-grp.c (getgrent_next_file)
28077         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
28078         * nis/nss_compat/compat-initgroups.c (add_group)
28079         (internal_getgrent_r): Likewise.
28080         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
28081         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
28082         * nis/nss_compat/compat-spwd.c (getspent_next_file)
28083         (internal_getspnam_r): Likewise.
28084         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
28085         (_nss_nis_getaliasbyname_r): Likewise.
28086         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
28087         (_nss_nis_getntohost_r): Likewise.
28088         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
28089         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
28090         (_nss_nis_getgrgid_r): Likewise.
28091         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
28092         (internal_nis_gethostent_r, internal_gethostbyname2_r)
28093         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
28094         (_nss_nis_gethostbyname4_r): Likewise.
28095         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
28096         (initgroups_netid): Likewise.
28097         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
28098         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
28099         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
28100         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
28101         (_nss_nis_getprotobynumber_r): Likewise.
28102         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
28103         (_nss_nis_getsecretkey): Likewise.
28104         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
28105         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
28106         (_nss_nis_getpwuid_r): Likewise.
28107         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
28108         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
28109         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
28110         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
28111         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
28112         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
28113         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
28114         Likewise.
28115         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
28116         (_nss_nisplus_getntohost_r): Likewise.
28117         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
28118         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
28119         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
28120         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
28121         Likewise.
28122         * nis/nss_nisplus/nisplus-initgroups.c
28123         (_nss_nisplus_initgroups_dyn): Likewise.
28124         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
28125         (_nss_nisplus_getnetbyaddr_r): Likewise.
28126         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
28127         (_nss_nisplus_getprotobynumber_r): Likewise.
28128         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
28129         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
28130         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
28131         Likewise.
28132         * nis/nss_nisplus/nisplus-service.c
28133         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
28134         (_nss_nisplus_getservbyport_r): Likewise.
28135         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
28136         (_nss_nisplus_getspnam_r): Likewise.
28137         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
28138         Likewise.
28139         * nscd/aicache.c (addhstaiX): Likewise.
28140         * nscd/cache.c (cache_search, prune_cache): Likewise.
28141         * nscd/connections.c (register_traced_file, send_ro_fd)
28142         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
28143         (main_loop_epoll): Likewise.
28144         * nscd/grpcache.c (addgrbyX): Likewise.
28145         * nscd/hstcache.c (addhstbyX): Likewise.
28146         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28147         * nscd/mem.c (gc, mempool_alloc): Likewise.
28148         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
28149         (addinnetgrX): Likewise.
28150         * nscd/nscd-client.h (__nscd_acquire_maplock)
28151         (__nscd_drop_map_ref): Likewise.
28152         * nscd/nscd_getai.c (__nscd_getai): Likewise.
28153         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
28154         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
28155         Likewise.
28156         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
28157         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
28158         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
28159         (__nscd_get_map_ref): Likewise.
28160         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
28161         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
28162         Likewise.
28163         * nscd/pwdcache.c (addpwbyX): Likewise.
28164         * nscd/selinux.c (preserve_capabilities): Likewise.
28165         * nscd/servicescache.c (addservbyX): Likewise.
28166         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
28167         * posix/fnmatch.c (fnmatch): Likewise.
28168         * posix/getopt.c (_getopt_internal_r): Likewise.
28169         * posix/glob.c (glob, glob_in_dir): Likewise.
28170         * posix/wordexp.c (exec_comm_child): Likewise.
28171         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
28172         (getanswer_r, gaih_getanswer_slice): Likewise.
28173         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
28174         * resolv/res_init.c: Likewise.
28175         * resolv/res_mkquery.c (res_nmkquery): Likewise.
28176         * resolv/res_query.c (__libc_res_nquery): Likewise.
28177         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
28178         Likewise.
28179         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
28180         * stdio-common/perror.c (perror): Likewise.
28181         * stdio-common/printf_fp.c (___printf_fp): Likewise.
28182         * stdio-common/tmpnam.c (tmpnam): Likewise.
28183         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
28184         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
28185         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
28186         Likewise.
28187         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
28188         * stdlib/putenv.c (putenv): Likewise.
28189         * stdlib/setenv.c (__add_to_environ): Likewise.
28190         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
28191         * stdlib/strtol_l.c (INTERNAL): Likewise.
28192         * string/memmem.c (memmem): Likewise.
28193         * string/strerror.c (strerror): Likewise.
28194         * string/strnlen.c (__strnlen): Likewise.
28195         * string/test-memmem.c (simple_memmem): Likewise.
28196         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
28197         * sunrpc/pm_getport.c (__get_socket): Likewise.
28198         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
28199         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
28200         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
28201         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
28202         Likewise.
28203         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
28204         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
28205         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
28206         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
28207         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
28208         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
28209         Likewise.
28210         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
28211         Likewise.
28212         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
28213         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
28214         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28215         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
28216         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
28217         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
28218         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
28219         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
28220         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
28221         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
28222         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
28223         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
28224         Likewise.
28225         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
28226         Likewise.
28227         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
28228         Likewise.
28229         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
28230         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
28231         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
28232         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
28233         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
28234         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
28235         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
28236         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
28237         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
28238         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
28239         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
28240         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28241         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
28242         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
28243         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28244         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
28245         Likewise.
28246         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
28247         Likewise.
28248         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
28249         Likewise.
28250         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
28251         Likewise.
28252         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28253         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28254         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
28255         Likewise.
28256         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
28257         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
28258         * sysdeps/posix/opendir.c (__opendirat): Likewise.
28259         * sysdeps/posix/sleep.c: Likewise.
28260         * sysdeps/posix/tempname.c: Likewise.
28261         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
28262         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
28263         Likewise.
28264         * sysdeps/powerpc/powerpc32/dl-machine.h
28265         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
28266         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
28267         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28268         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
28269         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
28270         Likewise.
28271         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
28272         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
28273         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
28274         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
28275         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
28276         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
28277         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
28278         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
28279         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
28280         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
28281         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
28282         (elf_machine_lazy_rel): Likewise.
28283         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
28284         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
28285         (elf_machine_lazy_rel): Likewise.
28286         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
28287         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
28288         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
28289         * sysdeps/unix/grantpt.c (grantpt): Likewise.
28290         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
28291         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
28292         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
28293         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28294         Likewise.
28295         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
28296         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
28297         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
28298         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
28299         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
28300         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
28301         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
28302         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
28303         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
28304         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
28305         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
28306         Likewise.
28307         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
28308         (__posix_fallocate64_l64): Likewise.
28309         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
28310         (posix_fallocate): Likewise.
28311         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
28312         Likewise.
28313         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28314         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
28315         (getifaddrs_internal): Likewise.
28316         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
28317         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
28318         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
28319         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
28320         * sysdeps/unix/sysv/linux/posix_fallocate64.c
28321         (__posix_fallocate64_l64): Likewise.
28322         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
28323         Likewise.
28324         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
28325         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
28326         (__get_clockfreq): Likewise.
28327         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
28328         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
28329         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
28330         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28331         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28332         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
28333         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
28334         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
28335         Likewise.
28336         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
28337         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
28338         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
28339         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
28340         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
28341         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
28342         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
28343         Likewise.
28344         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28345         (posix_fallocate): Likewise.
28346         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28347         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
28348         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
28349         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
28350         (elf_machine_rela, elf_machine_rela_relative)
28351         (elf_machine_lazy_rel): Likewise.
28352         * time/asctime.c (asctime_internal): Likewise.
28353         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
28354         * time/tzset.c (__tzset_parse_tz): Likewise.
28355         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
28356         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
28357         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
28358         * wcsmbs/wcsmbsload.h: Likewise.
28360         [BZ #15894]
28361         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
28363         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
28364         (arena_get2): Remove THREAD_STATS conditionals.
28365         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
28366         (__malloc_stats, int): Likewise.
28368 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
28370         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
28371         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
28373         * manual/setjmp.texi: Fix typos/grammar errors.
28375         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
28376         Only return early when n is <= 0.  Delete unused return statement.
28378         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
28379         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
28380         * debug/tst-longjmp_chk3.c: New file.
28382         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
28383         (test_main): Replace code with set_fortify_handler call.
28384         * debug/test-strcpy_chk.c: Likewise.
28385         * debug/tst-chk1.c: Likewise.
28386         * debug/tst-longjmp_chk.c: Likewise.
28387         * test-skeleton.c: Include fcntl.h & paths.h
28388         (set_fortify_handler): Define.
28390         * debug/tst-longjmp_chk.c: Add header comment and include
28391         ../test-skeleton.c.
28392         (do_test): Mark static.
28393         (TEST_FUNCTION): Define.
28395         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
28396         (IP_PMTUDISC_INTERFACE): Likewise.
28397         (IP_MULTICAST_IF): Likewise.
28398         (IP_MULTICAST_TTL): Likewise.
28399         (IP_MULTICAST_LOOP): Likewise.
28400         (IP_ADD_MEMBERSHIP): Likewise.
28401         (IP_DROP_MEMBERSHIP): Likewise.
28402         (IP_UNBLOCK_SOURCE): Likewise.
28403         (IP_BLOCK_SOURCE): Likewise.
28404         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
28405         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
28406         (IP_MSFILTER): Likewise.
28407         (MCAST_JOIN_GROUP): Likewise.
28408         (MCAST_BLOCK_SOURCE): Likewise.
28409         (MCAST_UNBLOCK_SOURCE): Likewise.
28410         (MCAST_LEAVE_GROUP): Likewise.
28411         (MCAST_JOIN_SOURCE_GROUP): Likewise.
28412         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
28413         (MCAST_MSFILTER): Likewise.
28414         (IP_MULTICAST_ALL): Likewise.
28415         (IP_UNICAST_IF): Likewise.
28417         * timezone/Makefile: Delete $(have-ksh) check.
28418         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
28419         * timezone/tzselect.ksh: Add +x mode bits.
28421         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
28422         (ANON_INODE_FS_MAGIC): Likewise.
28423         (BDEVFS_MAGIC): Likewise.
28424         (BINFMTFS_MAGIC): Likewise.
28425         (BTRFS_TEST_MAGIC): Likewise.
28426         (CRAMFS_MAGIC_WEND): Likewise.
28427         (DEBUGFS_MAGIC): Likewise.
28428         (ECRYPTFS_SUPER_MAGIC): Likewise.
28429         (EXT3_SUPER_MAGIC): Likewise.
28430         (EXT4_SUPER_MAGIC): Likewise.
28431         (FUTEXFS_SUPER_MAGIC): Likewise.
28432         (HOSTFS_SUPER_MAGIC): Likewise.
28433         (HUGETLBFS_MAGIC): Likewise.
28434         (MINIX3_SUPER_MAGIC): Likewise.
28435         (MTD_INODE_FS_MAGIC): Likewise.
28436         (NILFS_SUPER_MAGIC): Likewise.
28437         (OPENPROM_SUPER_MAGIC): Likewise.
28438         (PIPEFS_MAGIC): Likewise.
28439         (PSTOREFS_MAGIC): Likewise.
28440         (QNX6_SUPER_MAGIC): Likewise.
28441         (RAMFS_MAGIC): Likewise.
28442         (REISERFS_SUPER_MAGIC_STRING): Likewise.
28443         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
28444         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
28445         (SECURITYFS_MAGIC): Likewise.
28446         (SELINUX_MAGIC): Likewise.
28447         (SMACK_MAGIC): Likewise.
28448         (SOCKFS_MAGIC): Likewise.
28449         (SQUASHFS_MAGIC): Likewise.
28450         (STACK_END_MAGIC): Likewise.
28451         (TMPFS_MAGIC): Likewise.
28452         (USBDEVICE_SUPER_MAGIC): Likewise.
28453         (V9FS_MAGIC): Likewise.
28454         (XENFS_SUPER_MAGIC): Likewise.
28455         (CRAMFS_MAGIC): Fix typo in comment.
28456         (EXT2_SUPER_MAGIC): Update comment.
28457         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
28459 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
28461         * sysdeps/arm: Move directory from ports/sysdeps/arm.
28462         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
28463         * sysdeps/unix/sysv/linux/arm: Move directory from
28464         ports/sysdeps/unix/sysv/linux/arm.
28465         * README: Update listing for arm-*-linux-gnueabi.
28467         * README: Remove mention of am33.
28469 2014-02-07  Roland McGrath  <roland@hack.frob.com>
28471         * bits/sigset.h (__sigemptyset): Use a statement expression rather
28472         than the comma operator, to avoid "rhs of comma has no effect"
28473         compiler warnings.
28474         (__sigfillset, __sigandset, __sigorset): Likewise.
28475         * include/signal.h (__sigemptyset): Likewise.
28476         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
28478 2014-02-07  Allan McRae  <allan@archlinux.org>
28480         * version.h (RELEASE): Set to "development".
28481         (VERSION): Set to "2.19.90"
28482         * NEWS: Add 2.20 section.
28484 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
28486         [BZ #16529]
28487         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
28489 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
28491         * manual/contrib.texi: Update entry for Carlos O'Donell,
28492         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
28494 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
28496         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
28498         * sysdeps/unix/sysv/linux/kernel-features.h
28499         [__LINUX_KERNEL_VERSION >= 0x020621]
28500         (__ASSUME_PROC_PID_TASK_COMM): Define.
28502 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
28504         [BZ #16398]
28505         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
28506         conversion when destination buffer does not have enough space.
28507         * libio/tst-ftell-partial-wide.c: New test case.
28508         * libio/Makefile (tests): Add tst-ftell-partial-wide.
28510         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
28511         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
28512         Leonard and Allan McRae.
28514 2014-02-04  David S. Miller  <davem@davemloft.net>
28516         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
28517         32-bit.
28519 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
28522         New file
28523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
28524         New file
28525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
28526         New file.
28527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
28528         New file.
28529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
28530         New file.
28531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
28532         New file.
28533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
28534         New file.
28535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
28536         New file.
28537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
28538         New file.
28539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
28540         New file.
28541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
28542         New file.
28543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
28544         New file.
28545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
28546         New file.
28548 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28550         * nptl/shlib-versions: Change powerpc*le start to 2.17.
28551         * shlib-versions: Likewise.
28553 2014-02-04  Roland McGrath  <roland@hack.frob.com>
28554             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28556         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
28557         (abilist-pattern): New variable, set to %-le.abilist.
28559         * Makerules (abilist-pattern): New variable.
28560         (vpath): Use $(abilist-pattern) in place of %.abilist.
28561         (check-abi-% pattern rule): Likewise.
28562         (check-abi, update-abi): Likewise.
28564 2014-02-04  Eric Wong  <normalperson@yhbt.net>
28566         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28568 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
28570         * manual/startup.texi: Add next, previous, and top entries for
28571         the `Program Arguments' and `Environment Variables' nodes.
28573 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
28575         * manual/macros.texi: Add comments before MTASC-safety macros.
28577         * manual/users.texi: Document MTASC-safety properties.
28579         * manual/threads.texi (pthread_key_create, pthread_key_delete)
28580         (pthread_getspecific, pthread_setspecific): Format with
28581         @deftypefun, and add @safety note.
28582         * manual/signal.texi: Move comments that analyze the above
28583         functions to their home place.
28585 2014-02-03  Allan McRae  <allan@archlinux.org>
28587         * po/sl.po: Update Slovenian translation from translation project.
28589 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
28591         * manual/time.texi (timegm): Add missing blank after @c.
28592         Reported by Joseph Myers <joseph@codesourcery.com>.
28594 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
28596         * manual/check-safety.sh: New.
28597         * manual/Makefile ($(objpfx)stamp-summary): Run it.
28599         * manual/terminal.texi: Document MTASC-safety properties.
28601         * manual/filesys.texi: Document MTASC-safety properties.
28603         * manual/errno.texi: Document MTASC-safety properties.
28605         * manual/intro.texi: Document safety identifiers and
28606         conditionals.
28608         * manual/string.texi (wcstok): Fix prototype.
28609         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
28611         * manual/time.texi: Document MTASC-safety properties.
28613         * manual/string.texi: Document MTASC-safety properties.
28615         * manual/threads.texi: Document MTASC-safety properties.
28617         * manual/stdio.texi: Document MTASC-safety properties.
28619         * manual/syslog.texi: Document MTASC-safety properties.
28621         * manual/sysinfo.texi: Document MTASC-safety properties.
28623         * manual/startup.texi: Document MTASC-safety properties.
28625         * manual/socket.texi: Document MTASC-safety properties.
28627         * manual/signal.texi: Document MTASC-safety properties.
28629 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
28631         * manual/setjmp.texi: Document MTASC-safety properties.
28633         * manual/search.texi: Document MTASC-safety properties.
28635         * manual/resource.texi: Document MTASC-safety properties.
28637         * manual/process.texi: Document MTASC-safety properties.
28639         * manual/platform.texi: Document MTASC-safety properties.
28641         * manual/pipe.texi: Document MTASC-safety properties.
28643         * manual/pattern.texi: Document MTASC-safety properties.
28645         * manual/message.texi: Document MTASC-safety properties.
28647         [BZ #12751]
28648         * manual/memory.texi: Document MTASC-safety properties.
28650         * manual/math.texi: Document MTASC-safety properties.
28652         * manual/locale.texi: Document MTASC-safety properties.
28654         * manual/llio.texi: Document MTASC-safety properties.
28656         * manual/libdl.texi: New.
28658         * manual/lang.texi: Document MTASC-safety properties.
28660         * manual/job.texi: Document MTASC-safety properties.
28662         * manual/getopt.texi: Document MTASC-safety properties.
28664         * manual/ctype.texi: Document MTASC-safety properties.
28666 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
28668         [BZ #16046]
28669         * csu/libc-tls.c (static_map): Remove variable.
28670         (__libc_setup_tls): Use main executable's link map for TLS data.
28671         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
28672         casing for LM_ID_BASE and GL(dl_nns).
28673         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
28674         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
28675         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
28676         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
28677         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
28678         member.
28679         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
28680         l_phnum members.
28682 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
28684         * manual/debug.texi: Document MTASC-safety properties.
28686 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
28688         [BZ #16510]
28689         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
28690         of __x86_64__ when disabling x87 inline functions.
28692 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
28694         * manual/charset.texi: Document MTASC-safety properties.
28696         * manual/crypt.texi: Document MTASC-safety properties.
28698         * manual/conf.texi: Document MTASC-safety properties.
28700         * manual/arith.texi: Document MTASC-safety properties.
28702         * manual/argp.texi: Document MTASC-safety properties.
28704         * manual/macros.texi: Introduce macros to document multi
28705         thread, asynchronous signal and asynchronous cancellation
28706         safety properties.
28707         * manual/intro.texi: Introduce the properties themselves.
28709 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28711         * sysdeps/sh/sh4/Makefile: New file.
28713 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
28715         * math/gen-libm-test.pl ($srcdir): New variable.
28716         ($auto_input): Use it.
28718 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28720         [BZ #16506]
28721         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
28722         access beyond array bounds when parsing netgroups file.
28724         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
28725         the old buffer before realloc.
28727 2014-01-27  Allan McRae  <allan@archlinux.org>
28729         * po/fr.po: Update French translation from translation project.
28731 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28733         * sysdeps/sh/libm-test-ulps: Regenerate.
28735 2014-01-24  David S. Miller  <davem@davemloft.net>
28737         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
28739 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28741         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
28742         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
28744 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28746         [BZ #16474]
28747         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
28748         string pointers after reallocation.
28750 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28752         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
28753         __SH4A__ instead of __SH_FPU_ANY__.
28755 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28757         * sysdeps/sh/fpu_control.h: New file.
28758         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
28759         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
28760         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
28761         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
28762         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
28763         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
28764         * sysdeps/sh/sys/ucontext.h: Remove.
28765         * sysdeps/sh/sys: Remove directory.
28767 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28769         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
28770         s390/sys/ucontext.h.
28771         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
28772         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
28774 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
28776         [BZ #15605]
28777         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
28779 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28781         [BZ#16431]
28782         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
28783         Adjust the vDSO correctly for internal calls.
28784         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
28786 2014-01-20  Allan McRae  <allan@archlinux.org>
28788         * po/ca.po: Update Catalan translation from translation project.
28790 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
28792         * sysdeps/s390/sotruss-lib.c: New file.
28794 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28796         [BZ#16430]
28797         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
28798         (__GI___gettimeofday): Alias for a different internal symbol to avoid
28799         local calls issues by not having a PLT stub required for IFUNC calls.
28800         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
28802 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
28804         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
28805         * math/test-fpucw-static.c: Likewise.
28807 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28809         [BZ #16453]
28810         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
28812 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28814         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
28815         implementation for powerpc.
28817 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
28819         [BZ #14782]
28820         * sysdeps/posix/system.c (__libc_system): Do not enable
28821         asynchronous cancellation.
28823 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28825         [BZ #16427]
28826         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
28827         handling only for numbers special also in the IEEE case.
28829 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28831         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28833 2014-01-11  Allan McRae  <allan@archlinux.org>
28835         * po/bg.po: Update Bulgarian translation from translation project.
28837         * po/de.po: Update German translation from translation project.
28839 2014-01-10  Roland McGrath  <roland@hack.frob.com>
28841         * sysdeps/generic/gcc-compat.h: New file.
28843 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28845         * benchtests/asin-inputs: Correct slow inputs.
28846         * benchtests/acos-inputs: Likewise.
28848 2014-01-10  Allan McRae  <allan@archlinux.org>
28850         * po:sv.po: Update Swedish translation from translation project.
28852         * po/vi.po: Update Vietnamese translation from translation project.
28854         * po/eo.po: Update Esperanto translation from translation project.
28856         * po/cs.po: Update Czech translation from translation project.
28858         * po/nl.po: Update Dutch translation from translation project.
28860         * po/pl.po: Update Polish translation from translation project.
28862         * po/ru.po: Update Russian translation from translation project.
28864         * po/uk.po: Update Ukrainian translation from translation project.
28866 2014-01-08  Brooks Moses  <bmoses@google.com>
28868         * elf/dl-load.c: Fix comment typo.
28870 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
28872         * po/header.pot: Rename to...
28873         * po/pot.header: ... this.
28874         * po/Makefile: Use pot.header.
28876 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
28877             Maxim Kuvyrkov  <maxim@kugelworks.com>
28879         [BZ #16394]
28880         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
28881         SRC and DEST against LEN.
28883 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28885         [BZ #16414]
28886         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
28887         implementation.
28888         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
28890 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28892         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28894 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
28896         [BZ #16408]
28897         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
28898         for large positive arguments.
28900 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
28902         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
28904         * math/auto-libm-test-in: Mark various tests with
28905         xfail-rounding:ldbl-128ibm.
28906         * math/auto-libm-test-out: Regenerated.
28908         [BZ #16407]
28909         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
28910         Increase overflow threshold.
28912 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
28914         [BZ #14286]
28915         * stdio-common/vfprintf.c: Check for integer overflow.
28917 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28919         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
28920         the first argument and return value of __tls_get_addr_internal.
28922 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28924         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
28925         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
28927 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28929         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
28930         * sysdeps/s390/rtld-global-offsets.sym: New file.
28931         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
28932         GLIBC_2.19 symbol.
28933         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
28934         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
28935         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
28936         ... this.
28937         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
28938         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
28939         ... this.
28940         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
28941         Regenerate.
28942         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
28943         Regenerate.
28944         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
28945         halfs of GPRs for high_gprs contexts.
28946         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
28947         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
28948         field.
28949         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
28950         uc_flags field.
28951         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
28952         64 bit versions:
28953         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
28954         for high GPRs (uc_high_gprs) and for future extensions
28955         (__reserved).
28956         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
28957         for future extensions (__reserved).
28958         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
28959         64 bit versions:
28960         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
28961         SC_HIGHGPRS offset definition.
28962         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
28963         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
28965         * Versions.def: Add GLIBC_2.19 for libpthread.
28966         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
28967         siglongjmp for libpthread with GLIBC_2.19 symver.
28968         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
28969         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
28970         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
28971         * sysdeps/s390/__longjmp.c: New file.
28972         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
28973         * sysdeps/s390/longjmp.c: New file.
28974         * sysdeps/s390/setjmp.S: New file.
28975         * sysdeps/s390/sigjmp.S: New file.
28976         * sysdeps/s390/v1-longjmp.c: New file.
28977         * sysdeps/s390/v1-setjmp.h: New file.
28978         * sysdeps/s390/v1-sigjmp.c: New file.
28979         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
28980         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
28981         GLIBC_2.19 version.
28982         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
28983         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
28984         versioned symbols for ____longjmp_chk.
28985         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
28986         Likewise.
28987         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
28988         Regenerate.
28989         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28990         Regenerate.
28991         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
28992         Regenerate.
28993         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28994         Regenerate.
28995         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
28996         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
28997         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
28998         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
28999         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
29000         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
29001         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
29002         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
29003         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
29004         * sysdeps/s390/rtld-__longjmp.c: New file.
29005         * sysdeps/s390/rtld-setjmp.S: New file.
29007 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
29009         [BZ #16400]
29010         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
29011         Return -__logl (x) for small positive arguments without evaluating
29012         a polynomial.
29014 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
29016         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
29017         Rename to ...
29018         (__ptrace_peeksiginfo_args): ... this.
29019         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29020         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29021         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29023 2014-01-06  Allan McRae  <allan@archlinux.org>
29025         * inet/netinet/in.h: Fix typo in comment.
29027 2014-01-05  Andreas Jaeger  <aj@suse.de>
29029         * sysdeps/i386/fpu/libm-test-ulps: Update.
29031 2014-01-05  Allan McRae  <allan@archlinux.org>
29033         * po/libc.pot: Regenerated.
29035         * malloc/memusagestat.c: Fix gettext call formatting.
29037 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
29039         * nscd/nscd.c: Improve usage() output.
29041 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
29043         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
29044         * sysdeps/unix/sysv/linux/configure: Regenerated.
29045         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
29046         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
29048 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
29050         [BZ #16390]
29051         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
29052         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
29054 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29056         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
29057         extra tokens at end of #undef directive.
29058         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
29059         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
29060         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
29062 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
29064         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
29066         * math/auto-libm-test-in: Mark various tests with
29067         xfail-rounding:ldbl-128ibm.
29068         * math/auto-libm-test-out: Regenerated.
29070 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
29072         [BZ #16386]
29073         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
29074         numbers with subnormal high part when calculating exponent.
29076         [BZ #16385]
29077         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
29078         fabs.
29080         [BZ #16384]
29081         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
29082         M_LN2l.
29083         (__ieee754_acoshl): Use __log1pl not __log1p.
29085 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
29087         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
29088         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
29089         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
29090         (grow_heap, heap_trim, _int_new_arena, get_free_list)
29091         (reused_arena, arena_get2): Convert to GNU style.
29092         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
29093         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
29094         (memalign_check, __malloc_set_state): Likewise.
29095         * malloc/mallocbug.c (main): Likewise.
29096         * malloc/malloc.c (__malloc_assert, malloc_init_state)
29097         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
29098         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
29099         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
29100         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
29101         (__posix_memalign, malloc_info): Likewise.
29102         * malloc/malloc.h: Likewise.
29103         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
29104         (mallochook, memalignhook, reallochook, mabort): Likewise.
29105         * malloc/mcheck.h: Likewise.
29106         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
29107         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
29108         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
29109         * malloc/morecore.c (__default_morecore): Likewise.
29110         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
29111         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
29112         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
29113         (print_and_abort): Likewise.
29114         * malloc/obstack.h: Likewise.
29115         * malloc/set-freeres.c (__libc_freeres): Likewise.
29116         * malloc/tst-mallocstate.c (main): Likewise.
29117         * malloc/tst-mtrace.c (main): Likewise.
29118         * malloc/tst-realloc.c (do_test): Likewise.
29120 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29122         [BZ #16366]
29123         * nscd/netgroupcache.c (do_notfound): New function.
29124         (addgetnetgrentX): Use it.
29126         [BZ # 16365]
29127         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
29128         NSS_STATUS_NOTFOUND.
29130 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
29132         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
29133         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29135 2014-01-01  Allan McRae  <allan@archlinux.org>
29137         * scripts/update-copyrights: Update configure input file suffix.
29139         * NEWS: Update copyright year.
29140         * catgets/gencat.c: Likewise.
29141         * csu/version.c: Likewise.
29142         * debug/catchsegv.sh: Likewise.
29143         * debug/pcprofiledump.c: Likewise.
29144         * debug/xtrace.sh: Likewise.
29145         * elf/ldconfig.c: Likewise.
29146         * elf/ldd.bash.in: Likewise.
29147         * elf/pldd.c: Likewise.
29148         * elf/sotruss.ksh: Likewise.
29149         * elf/sprof.c: Likewise.
29150         * iconv/iconv_prog.c: Likewise.
29151         * iconv/iconvconfig.c: Likewise.
29152         * locale/programs/locale.c: Likewise.
29153         * locale/programs/localedef.c: Likewise.
29154         * login/programs/pt_chown.c: Likewise.
29155         * malloc/memusage.sh: Likewise.
29156         * malloc/memusagestat.c: Likewise.
29157         * malloc/mtrace.pl: Likewise.
29158         * manual/libc.texinfo: Likewise.
29159         * nscd/nscd.c: Likewise.
29160         * nss/getent.c: Likewise.
29161         * nss/makedb.c: Likewise.
29162         * posix/getconf.c: Likewise.
29163         * scripts/test-installation.pl: Likewise.
29165         * All files with FSF copyright notices: Update copyright dates
29166         using scripts/update-copyrights.
29167         * intl/plural.c: Regenerated.
29168         * locale/programs/charmap-kw.h: Likewise.
29169         * locale/programs/locfile-kw.h: Likewise.
29171 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
29173         * sysdeps/unix/sysv/linux/configure: Regenerated.
29174         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
29175         the linux/fanotify.h header.
29176         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
29177         HAVE_LINUX_FANOTIFY_H is defined.
29179 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
29181         * benchtests/cos-inputs: New inputs.
29182         * benchtests/sin-inputs: Likewise.
29184         * benchtests/atan-inputs: New inputs. Fix name of multiple
29185         precision fallback inputs.
29187         * benchtests/atanh-inputs: New inputs.
29188         * benchtests/tanh-inputs: Likewise.
29190         * benchtests/acosh-inputs: New inputs.
29191         * benchtests/asinh-inputs: Likewise.
29193         * benchtests/cosh-inputs: New inputs.
29194         * benchtests/sinh-inputs: Likewise.
29196         * benchtests/acos-inputs: Add more inputs.
29197         * benchtests/asin-inputs: Likewise.
29199 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
29201         [BZ #16375]
29202         * manual/arith.texi: Fix spelling.
29203         * manual/charset.texi: Likewise.
29204         * manual/errno.texi: Likewise.
29205         * manual/filesys.texi: Likewise.
29206         * manual/lang.texi: Likewise.
29207         * manual/llio.texi: Likewise.
29208         * manual/locale.texi: Likewise.
29209         * manual/message.texi: Likewise.
29210         * manual/resource.texi: Likewise.
29211         * manual/search.texi: Likewise.
29212         * manual/setjmp.texi: Likewise.
29213         * manual/stdio.texi: Likewise.
29214         * manual/string.texi: Likewise.
29215         * manual/sysinfo.texi: Likewise.
29216         * manual/time.texi: Likewise.
29218 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
29220         * po/sl.po: New file.
29222 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
29224         * .gitignore: Add core/.gdbinit/.gdb_history.
29226 2013-12-27  Allan McRae  <allan@archlinux.org>
29228         [BZ #16369]
29229         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
29230         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
29232 2013-12-24  Brooks Moses  <bmoses@google.com>
29234         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
29235         all compilers that claim C++98 compliance, not just GCC.
29236         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
29237         Likewise.
29239 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
29241         * NEWS: Restore accidentally deleted bug-fix entries.
29243 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
29244             Ondřej Bílka  <neleai@seznam.cz>
29246         [BZ #15073]
29247         * malloc/malloc.c (_int_free): Perform sanity check only if we
29248         have_lock.
29250 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
29252         [BZ #12986]
29253         * manual/stdio.texi (String Input Conversions): Clarify that character
29254         classes are not supported.
29256 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29258         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29260 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
29262         [BZ #16337]
29263         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
29264         Calculate results for small negative arguments directly rather
29265         than using reflection formula with special underflow handling.
29267         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
29268         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
29269         sysdeps/unix/bsd/bsd4.4/syscalls.list.
29270         (fchflags): Likewise.
29271         (revoke): Likewise.
29272         (setlogin): Likewise.
29273         (sigaltstack): Likewise.
29274         (wait4): Likewise.
29275         (sigblock): Remove.
29276         (sigsetmask): Likewise.
29277         (wait3): Likewise.
29278         (waitpid): Likewise.
29279         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
29280         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
29281         file.
29282         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
29283         * sysdeps/unix/bsd/Makefile: ... here.
29284         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
29285         * sysdeps/unix/bsd/Versions: ... here.
29286         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
29287         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
29288         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
29289         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
29290         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
29291         * sysdeps/unix/bsd/sigblock.c: ... here.
29292         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
29293         * sysdeps/unix/bsd/sigsetmask.c: ... here.
29294         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
29295         * sysdeps/unix/bsd/sigvec.c: ... here.
29296         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
29297         * sysdeps/unix/bsd/tcdrain.c: ... here.
29298         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
29299         * sysdeps/unix/bsd/tcgetattr.c: ... here.
29300         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
29301         * sysdeps/unix/bsd/tcsetattr.c: ... here.
29302         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
29303         * sysdeps/unix/bsd/wait.c: ... here.
29304         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
29305         * sysdeps/unix/bsd/wait3.c: ... here.
29306         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
29307         * sysdeps/unix/bsd/waitpid.c: ... here.
29309 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
29311         [BZ #16356]
29312         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
29313         round-to-nearest for [!USE_AS_EXPM1L].
29314         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
29315         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
29316         more tests of exp and exp10.  Expect some exp10 tests to miss
29317         exceptions or fail in directed rounding modes.
29318         * math/auto-libm-test-out: Regenerated.
29319         * math/libm-test.inc (exp10_tonearest_test_data): New array.
29320         (exp10_test_tonearest): New function.
29321         (exp10_towardzero_test_data): New array.
29322         (exp10_test_towardzero): New function.
29323         (exp10_downward_test_data): New array.
29324         (exp10_test_downward): New function.
29325         (exp10_upward_test_data): New array.
29326         (exp10_test_upward): New function.
29327         (main): Call the new functions.
29328         * sysdeps/i386/fpu/libm-test-ulps: Update.
29329         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29331 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
29333         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
29334         asinh, atan, atan2, atanh, cbrt, cos and cosh.
29335         * math/auto-libm-test-out: Regenerated.
29336         * math/libm-test.inc (acosh_test_data): Add more tests.
29337         (atanh_test_data): Likewise.
29338         (ceil_test_data): Likewise.
29339         (copysign_test_data): Likewise.
29340         * sysdeps/i386/fpu/libm-test-ulps: Update.
29341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29343         * timezone/checktab.awk: Update from tzcode 2013i.
29344         * timezone/private.h: Likewise.
29345         * timezone/scheck.c: Likewise.
29346         * timezone/tzfile.h: Likewise.
29347         * timezone/tzselect.ksh: Likewise.
29348         * timezone/zdump.c: Likewise.
29349         * timezone/zic.c: Likewise.
29351         * math/auto-libm-test-in: Add tests of cpow.
29352         * math/auto-libm-test-out: Regenerated.
29353         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
29354         * math/gen-auto-libm-tests.c (func_calc_method): Add value
29355         mpc_cc_c.
29356         (func_calc_desc): Add mpc_cc_c union field.
29357         (test_functions): Add cpow.
29358         (special_fill_2pi): New function.
29359         (special_real_inputs): Add 2pi.
29360         (calc_generic_results): Handle mpc_cc_c.
29361         * sysdeps/i386/fpu/libm-test-ulps: Update.
29362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29364         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
29365         csqrt, ctan and ctanh.
29366         * math/auto-libm-test-out: Regenerated.
29367         * math/libm-test.inc (TEST_COND_x86_64): New macro.
29368         (TEST_COND_x86): Likewise.
29369         (ccos_test_data): Use AUTO_TESTS_c_c.
29370         (ccosh_test_data): Likewise.
29371         (cexp_test_data): Likewise.
29372         (clog_test_data): Likewise.
29373         (csqrt_test_data): Likewise.
29374         (ctan_test_data): Likewise.
29375         (ctan_tonearest_test_data): Likewise.
29376         (ctan_towardzero_test_data): Likewise.
29377         (ctan_downward_test_data): Likewise.
29378         (ctan_upward_test_data): Likewise.
29379         (ctanh_test_data): Likewise.
29380         (ctanh_tonearest_test_data): Likewise.
29381         (ctanh_towardzero_test_data): Likewise.
29382         (ctanh_downward_test_data): Likewise.
29383         (ctanh_upward_test_data): Likewise.
29384         * math/gen-auto-libm-tests.c (func_calc_method): Add value
29385         mpc_c_c.
29386         (func_calc_desc): Add mpc_c_c union field.
29387         (FUNC_mpc_c_c): New macro.
29388         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
29389         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
29390         ctanh.
29391         (special_fill_min_subnorm_p120): New function.
29392         (special_real_inputs): Add min_subnorm_p120.
29393         (calc_generic_results): Handle mpc_c_c.
29394         * sysdeps/i386/fpu/libm-test-ulps: Update.
29395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29397 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
29399         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
29400         (do_sin_slow): New functions.
29401         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
29402         (cslow2, csloww1, csloww2): Use the new functions.
29404         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
29405         Use M to change sign of result instead of X.  Assume X is
29406         positive.
29407         (csloww1): Likewise.
29408         (__sin): Adjust.
29409         (__cos): Adjust.
29411         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
29412         arguments A and DA.
29413         (__sin): Adjust.
29414         (__cos): Likewise.
29416         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
29417         (__cos): Likewise.
29418         (sloww1): Don't adjust sign of DX.
29419         (csloww1): Likewise.
29420         (sloww2): Use X directly and don't adjust sign of DX.
29421         (csloww2): Likewise.
29423 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
29425         * math/auto-libm-test-in: Add tests of cabs and carg.
29426         * math/auto-libm-test-out: Regenerated.
29427         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
29428         (carg_test_data): Likewise.
29429         * math/gen-auto-libm-tests.c (func_calc_method): Add value
29430         mpc_c_f.
29431         (func_calc_desc): Add mpc_c_f union field.
29432         (test_functions): Add cabs and carg.
29433         (calc_generic_results): Handle mpc_c_f.
29435         * sysdeps/powerpc/powerpc32/libgcc-compat.S
29436         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
29437         as a macro and a compat symbol.
29438         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
29439         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
29440         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
29441         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
29442         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
29443         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
29444         not use .hidden.
29445         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
29446         Likewise.
29447         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
29448         Likewise.
29449         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
29450         Likewise.
29451         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
29452         Likewise.
29453         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
29454         Likewise.
29455         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
29456         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
29457         from GLIBC_2.3.2.
29459 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29461         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29463 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
29465         * manual/texinfo.tex: Update to version 2013-11-26.10 with
29466         trailing whitespace removed.
29467         * scripts/config.guess: Update to version 2013-11-29.
29468         * scripts/config.sub: Update to version 2013-10-01.
29470         * math/auto-libm-test-in: Add tests of sincos.
29471         * math/auto-libm-test-out: Regenerated.
29472         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
29473         * math/gen-auto-libm-tests.c (func_calc_method): Add value
29474         mpfr_f_11.
29475         (func_calc_desc): Add mpfr_f_11 union field.
29476         (test_functions): Add sincos.
29477         (calc_generic_results): Handle mpfr_f_11.
29478         * sysdeps/i386/fpu/libm-test-ulps: Update.
29479         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29481 2013-12-19  Andreas Schwab  <schwab@suse.de>
29483         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
29484         CALL_MCOUNT.
29485         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
29486         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
29487         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
29489 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
29491         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
29492         * sysdeps/i386/fpu/libm-test-ulps: Update.
29493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29495         [BZ #16293]
29496         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
29497         round-to-nearest mode when using frndint.
29498         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
29499         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
29500         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
29501         Likewise.
29502         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
29503         sinh test to fail.
29504         * math/auto-libm-test-out: Regenerated.
29505         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
29506         (TEST_COND_x86): Likewise.
29507         (expm1_tonearest_test_data): New array.
29508         (expm1_test_tonearest): New function.
29509         (expm1_towardzero_test_data): New array.
29510         (expm1_test_towardzero): New function.
29511         (expm1_downward_test_data): New array.
29512         (expm1_test_downward): New function.
29513         (expm1_upward_test_data): New array.
29514         (expm1_test_upward): New function.
29515         (main): Run the new test functions.
29516         * sysdeps/i386/fpu/libm-test-ulps: Update.
29517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29519         * include/features.h: Update comment documenting feature test
29520         macros.  Mention _DEFAULT_SOURCE in comment.
29521         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
29522         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
29523         _BSD_SOURCE and _SVID_SOURCE.
29524         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
29525         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
29526         !_SVID_SOURCE]: Likewise.
29527         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
29528         (__USE_POSIX_IMPLICITLY): Define.
29529         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
29530         (_POSIX_SOURCE): Undefine and redefine.
29531         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
29532         (_POSIX_C_SOURCE): Likewise.
29533         * manual/creature.texi (_DEFAULT_SOURCE): Document.
29534         (Feature Test Macros): Update documentation of default features.
29536 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29538         * benchtests/Makefile: Add bench-strtok.
29539         * benchtests/bench-strtok.c: New file: strtok benchtest.
29541 2013-12-19  Allan McRae  <allan@archlinux.org>
29543         * manual/install.texi: Suppress menu for plain text output.
29544         * INSTALL: Regenerated.
29546 2013-12-18  Brooks Moses  <bmoses@google.com>
29548         [BZ #15846]
29549         * misc/getauxval.c: Include errno.h.
29550         (__getauxval): Set errno to ENOENT if the requested type is not
29551         found.
29552         * misc/sys/auxv.h (getauxval): Document that it may set errno;
29553         don't declare with __attribute_const__.
29554         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
29555         * manual/startup.texi: Document that getauxval sets errno.
29557 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
29559         * math/auto-libm-test-in: Add tests of jn and yn.
29560         * math/auto-libm-test-out: Regenerated.
29561         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
29562         (yn_test_data): Likewise.
29563         * math/gen-auto-libm-tests.c (func_calc_method): Add value
29564         mpfr_if_f.
29565         (func_calc_desc): Add mpfr_if_f union field.
29566         (FUNC_mpfr_if_f): New macro.
29567         (test_functions): Add jn and yn.
29568         (calc_generic_results): Assert type of second input for
29569         mpfr_ff_f.  Handle mpfr_if_f.
29570         (output_for_one_input_case): Disable all checking for arguments
29571         fitting floating-point types in case of an integer argument.
29572         * sysdeps/i386/fpu/libm-test-ulps: Update.
29573         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
29576         Don't expect fegetround reference in libm.so.
29578 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29580         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
29581         $(config-cflags-nofma).
29583 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
29585         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
29586         * math/auto-libm-test-out: Regenerated.
29588         [BZ #16338]
29589         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
29590         to determine exponent and adjust argument to have exponent of -1.
29591         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
29592         log2.
29593         * math/auto-libm-test-out: Regenerated.
29594         * sysdeps/i386/fpu/libm-test-ulps: Update.
29595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29597 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
29599         * manual/probes.texi: Remove cases when per-thread arenas are
29600         disabled.
29602 2013-12-18  Andreas Schwab  <schwab@suse.de>
29604         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
29605         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
29606         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
29607         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
29608         * sysdeps/i386/i686/multiarch/Makefile: Update.
29609         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
29611 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
29613         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
29614         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
29616 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
29618         [BZ #15968]
29619         Support TZ transition times < 00:00:00.
29620         This is needed for version-3 tz-format files; it supports time
29621         stamps past 2037 for America/Godthab (the only entry in the tz
29622         database for which this change is relevant).
29623         * manual/time.texi (TZ Variable): Document transition times
29624         from -167:59:59 through -00:00:01.
29625         * time/tzset.c (tz_rule): Time of day is now signed.
29626         (__tzset_parse_tz): Parse negative time of day.
29628         Document TZ transition times >= 25:00:00.
29629         * manual/time.texi (TZ Variable): Document transition times from
29630         25:00:00 through 167:59:59.  These are already supported, and this
29631         support will help with version-3 tz-format files.
29633         * manual/time.texi (TZ Variable): Modernize North America example
29634         to reflect current (i.e., 2007-and-later) daylight saving rules.
29636         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
29638 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
29640         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
29641         * sysdeps/unix/bsd/bits/stat.h: Likewise.
29642         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
29643         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
29644         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
29645         * sysdeps/unix/bsd/bsdstat.h: Likewise.
29646         * sysdeps/unix/bsd/clock.c: Likewise.
29647         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
29648         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
29649         * sysdeps/unix/bsd/init-posix.c: Likewise.
29650         * sysdeps/unix/bsd/poll.c: Likewise.
29651         * sysdeps/unix/bsd/ptsname.c: Likewise.
29652         * sysdeps/unix/bsd/seekdir.c: Likewise.
29653         * sysdeps/unix/bsd/setegid.c: Likewise.
29654         * sysdeps/unix/bsd/seteuid.c: Likewise.
29655         * sysdeps/unix/bsd/setgid.c: Likewise.
29656         * sysdeps/unix/bsd/setrgid.c: Likewise.
29657         * sysdeps/unix/bsd/setruid.c: Likewise.
29658         * sysdeps/unix/bsd/setsid.c: Likewise.
29659         * sysdeps/unix/bsd/setuid.c: Likewise.
29660         * sysdeps/unix/bsd/sigaction.c: Likewise.
29661         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
29662         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
29663         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
29664         * sysdeps/unix/bsd/telldir.c: Likewise.
29665         * sysdeps/unix/bsd/times.c: Likewise.
29666         * sysdeps/unix/bsd/usleep.c: Likewise.
29668         * misc/Makefile (install-lib): Remove libbsd-compat.a.
29669         ($(objpfx)libbsd-compat.a): Remove rule.
29671         * include/features.h (__FAVOR_BSD): Do not define.
29672         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
29673         features conflicting with POSIX.
29674         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
29675         (_BSD_SOURCE): Remove description of not being a subset of other
29676         feature test macros.
29677         * manual/job.texi (getpgrp): Do not document BSD version.
29678         (getpgid): Do not document by reference to BSD getpgrp.
29679         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
29680         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
29681         * signal/signal.h [__FAVOR_BSD]: Likewise.
29682         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
29683         instead of making contents conditional on [__FAVOR_BSD].
29684         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
29686 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29688         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29690 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
29692         [BZ #16314]
29693         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
29694         values below 2**-450, not 2**-500.
29695         * math/auto-libm-test-in: Don't allow spurious underflow from
29696         hypot.
29697         * math/auto-libm-test-out: Regenerated.
29699         [BZ #16316]
29700         [BZ #16330]
29701         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
29702         values of ha and hb and sort them after adjusting subnormal
29703         arguments.
29704         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
29705         Likewise.
29706         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
29707         values of ea and eb and sort them after adjusting subnormal
29708         arguments.
29709         * math/auto-libm-test-in: Do not expect some hypot tests of
29710         subnormals to fail.  Add more hypot tests.
29711         * math/auto-libm-test-out: Regenerated.
29713 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29715         [BZ #13304]
29716         * sysdeps/sh/s_fma.c: New file.
29717         * sysdeps/sh/s_fmaf.c: New file.
29718         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
29719         version.
29720         * sysdeps/sh/Implies: Add sh/soft-fp.
29722 2013-12-16  Roland McGrath  <roland@hack.frob.com>
29724         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
29725         level of indirection to members `objname', `errstring', `malloced'.
29726         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
29727         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
29728         it as the __longjmp argument (just pass 1 instead).
29729         (_dl_catch_error): Initialize C with argument pointers and address of
29730         volatile local ERRCODE rather than copying values out of C at return.
29732 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
29734         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
29735         * math/auto-libm-test-out: Regenerated.
29736         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
29737         (hypot_test_data): Likewise.
29738         (pow_test_data): Likewise.
29739         (pow_tonearest_test_data): Likewise.
29740         * math/gen-auto-libm-tests.c (func_calc_method): Add value
29741         mpfr_ff_f.
29742         (func_calc_desc): Add mpfr_ff_f union field.
29743         (FUNC_mpfr_ff_f): New macro.
29744         (test_functions): Add atan2, hypot and pow.
29745         (special_fill_min): New function.
29746         (special_fill_minus_min): Likewise.
29747         (special_fill_min_subnorm): Likewise.
29748         (special_fill_minus_min_subnorm): Likewise.
29749         (special_real_inputs): Add min, -min, min_subnorm and
29750         -min_subnorm.
29751         (calc_generic_results): Handle mpfr_ff_f.
29752         * sysdeps/i386/fpu/libm-test-ulps: Update.
29753         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29755 2013-12-16  Will Newton  <will.newton@linaro.org>
29757         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
29758         (Aligned Memory Blocks): Add documentation for aligned_alloc
29759         and suggest it as an alternative to posix_memalign.
29760         (Hooks for Malloc): Document __memalign_hook is also called
29761         for aligned_alloc.  (Summary of Malloc): Add summary for
29762         aligned alloc.  Document __memalign_hook is also called
29763         for aligned_alloc.
29765 2013-12-16  Will Newton  <will.newton@linaro.org>
29767         * manual/memory.texi (Malloc Examples): Clarify default
29768         alignment documentation.  Suggest posix_memalign rather
29769         than memalign or valloc.
29770         (Aligned Memory Blocks): Remove suggestion to use memalign
29771         or valloc.  Remove obsolete comment about BSD.
29772         Document memalign errno values and mark the function obsolete.
29773         Document posix_memalign returned error codes.  Mark valloc
29774         as obsolete.  (Hooks for Malloc): __memalign_hook is also
29775         called for posix_memalign and valloc.
29776         (Summary of Malloc): Add posix_memalign to function summary.
29777         __memalign_hook is also called for posix_memalign and valloc.
29779 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29781         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
29782         TAYLOR_SIN.
29783         (__sin): Adjust.
29784         (__cos): Likewise.
29785         (sloww): Use mynumber union.  Expand ternary operator into
29786         if-else statements.
29787         (cslow): use mynumber union.
29789 2013-12-16  Allan McRae  <allan@archlinux.org>
29791         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
29792         * configure: Regenerated.
29794         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
29796         [BZ #14120]
29797         * configure.ac: Added --enable-maintainer-mode. Check for
29798         autoconf when enabled.
29799         * configure: Regenerated.
29801         * nscd/nscd.service: New file.
29802         * nscd/nscd.tmpfiles: New file.
29804 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
29806         [BZ #12100]
29807         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
29808         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
29809         * sysdeps/x86_64/multiarch/strstr.c: ... here.
29810         (strstr): Add __strstr_sse2_unaligned ifunc.
29811         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
29812         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
29813         (strcasestr): Remove __strcasestr_sse42 ifunc.
29814         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
29815         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
29816         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
29818 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29820         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
29821         * sysdeps/sh/bits/fenv.h: ... here.
29822         * sysdeps/sh/sh4/fpu/bits: Remove directory.
29824 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29826         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
29828         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
29829         hypotf multiarch implementations.
29830         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
29831         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
29832         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
29833         multiarch hypot for PPC64.
29834         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
29835         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
29836         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
29837         multiarch hypotf for PPC64.
29839         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
29840         modff multiarch implementations.
29841         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
29842         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
29843         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
29844         multiarch modf for PPC64.
29845         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
29846         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
29847         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
29848         multiarch modff for PPC64.
29850         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
29851         and logl multiarch implementations.
29852         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
29853         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
29854         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
29855         multiarch logb for PPC64.
29856         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
29857         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
29858         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
29859         multiarch logb for PPC64.
29860         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
29861         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
29862         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
29863         multiarch logb for PPC64.
29865         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
29866         isinff multiarch implementation.
29867         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
29868         file.
29869         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
29870         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
29871         multiarch isinf for PPC64.
29872         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
29873         file.
29874         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
29875         multiarch isinff for PPC64.
29877         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
29878         finitef multiarch implementation.
29879         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
29880         file.
29881         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
29882         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
29883         multiarch finite for PPC64.
29884         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
29885         file.
29886         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
29887         multiarch finitef for PPC64.
29889         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
29890         lrint multiarch implementation.
29891         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
29892         file.
29893         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
29894         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
29895         multiarch llrint for PPC64.
29896         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
29897         multiarch lrint for PPC64.
29899         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
29900         copysignf multiarch implementation.
29901         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
29902         file.
29903         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
29904         file.
29905         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
29906         multiarch copysign for PPC64.
29907         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
29908         multiarch copysignf for PPC64.
29910         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
29911         multiarch implementation.
29912         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
29913         file.
29914         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
29915         file.
29916         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
29917         file.
29918         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
29919         file.
29920         multiarch llround for PPC64.
29921         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
29922         multiarch trunc for PPC64.
29923         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
29924         multiarch truncf for PPC64.
29926         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
29927         multiarch implementation.
29928         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
29929         file.
29930         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
29931         file.
29932         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
29933         file.
29934         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
29935         file.
29936         multiarch llround for PPC64.
29937         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
29938         multiarch round for PPC64.
29939         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
29940         multiarch roundf for PPC64.
29942         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
29943         multiarch implementation.
29944         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
29945         file.
29946         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
29947         file.
29948         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
29949         file.
29950         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
29951         file.
29952         multiarch llround for PPC64.
29953         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
29954         multiarch floor for PPC64.
29955         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
29956         multiarch floorf for PPC64.
29958         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
29959         multiarch implementation.
29960         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
29961         file.
29962         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
29963         file.
29964         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
29965         file.
29966         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
29967         file.
29968         multiarch llround for PPC64.
29969         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
29970         multiarch ceil for PPC64.
29971         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
29972         multiarch ceilf for PPC64.
29974         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
29975         multiarch implementation.
29976         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
29977         file.
29978         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
29979         file.
29980         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
29981         file.
29982         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
29983         multiarch llround for PPC64.
29984         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
29985         multiarch lround for PPC64.
29987         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
29988         multiarch implementation.
29989         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
29990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
29991         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
29992         file.
29993         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
29994         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
29995         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
29996         multiarch isnan for PPC64.
29997         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
29998         multiarch isnanf for PPC64.
30000         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
30001         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
30002         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
30003         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
30004         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
30005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
30007         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
30008         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30009         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30010         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30012         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
30013         multiarch implementations.
30014         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30015         (__libc_ifunc_impl_list): Likewise.
30016         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
30017         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
30018         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
30019         multiarch stpcpy for PPC64.
30021         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
30022         multiarch implementations.
30023         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30024         (__libc_ifunc_impl_list): Likewise.
30025         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
30026         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
30027         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
30028         multiarch strcpy for PPC64.
30030         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
30031         redefine function name.
30032         (_wordcopy_fwd_dest_aligned): Likewise.
30033         (_wordcopy_bwd_aligned): Likewise.
30034         (_wordcopy_bwd_dest_aligned): Likewise.
30035         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
30036         multiarch implementations.
30037         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30038         (__libc_ifunc_impl_list): Likewise.
30039         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
30040         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
30041         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
30042         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
30043         multiarch wcscpy for PPC64.
30045         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
30046         multiarch implementations.
30047         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30048         (__libc_ifunc_impl_list): Likewise.
30049         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
30050         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
30051         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
30052         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
30053         multiarch wcscpy for PPC64.
30055         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
30056         multiarch implementations.
30057         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30058         (__libc_ifunc_impl_list): Likewise.
30059         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
30060         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
30061         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
30062         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
30063         multiarch wcsrchr for PPC64.
30065         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
30066         multiarch implementations.
30067         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30068         (__libc_ifunc_impl_list): Likewise.
30069         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
30070         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
30071         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
30072         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
30073         multiarch wcschr for PPC64.
30075         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
30076         multiarch implementations.
30077         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30078         (__libc_ifunc_impl_list): Likewise.
30079         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
30080         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
30081         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
30082         multiarch strchrnul for PPC64.
30084         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
30085         implementations.
30086         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30087         (__libc_ifunc_impl_list): Likewise.
30088         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
30089         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
30090         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
30091         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
30092         strchr for PPC64.
30094         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
30095         implementations.
30096         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30097         (__libc_ifunc_impl_list): Likewise.
30098         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
30099         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
30100         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
30101         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
30102         strncmp for PPC64.
30104         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
30105         multiarch implementations.
30106         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30107         (__libc_ifunc_impl_list): Likewise.
30108         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
30109         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
30110         strncasecmp for PPC64.
30111         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
30112         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
30113         multiarch strncasecmp_l for PPC64.
30115         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
30116         multiarch implementations.
30117         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30118         (__libc_ifunc_impl_list): Likewise.
30119         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
30120         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
30121         multiarch strcasecmp for PPC64.
30122         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
30123         file.
30124         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
30125         multiarch strcasecmp_l for PPC64.
30127         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
30128         implementations.
30129         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30130         (__libc_ifunc_impl_list): Likewise.
30131         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
30132         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
30133         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
30134         strnlen for PPC64.
30136         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
30137         implementations.
30138         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30139         (__libc_ifunc_impl_list): Likewise.
30140         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
30141         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
30142         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
30143         strlen for PPC64.
30145         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
30146         implementations.
30147         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30148         (__libc_ifunc_impl_list): Likewise.
30149         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
30150         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
30151         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
30152         rawmemrchr for PPC64.
30154         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
30155         implementation.
30156         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30157         (__libc_ifunc_impl_list): Likewise.
30158         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
30159         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
30160         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
30161         memrchr for PPC64.
30163         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
30164         implementation.
30165         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30166         (__libc_ifunc_impl_list): Likewise.
30167         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
30168         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
30169         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
30170         memchr for PPC64.
30172         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
30173         implementation.
30174         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30175         (__libc_ifunc_impl_list): Likewise.
30176         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
30177         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
30178         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
30179         mempcpy for PPC64.
30181         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
30182         avoid cretion of __bzero symbol.
30183         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
30184         Likewise.
30185         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
30186         Likewise.
30187         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
30188         Likewise.
30189         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
30190         multiarch implementations.
30191         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30192         (__libc_ifunc_impl_list): Likewise.
30193         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
30194         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
30195         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
30196         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
30197         bzero for PPC32.
30198         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
30199         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
30200         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
30201         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
30202         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
30203         memset for PPC64.
30204         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
30206         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
30207         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
30208         implementations.
30209         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30210         (__libc_ifunc_impl_list): Likewise.
30211         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
30212         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
30213         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
30214         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
30215         memcmp for PPC64.
30217         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
30218         multiarch for POWER/PPC64.
30219         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
30220         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
30221         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
30222         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
30223         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
30224         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
30225         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
30226         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
30227         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
30228         memcpy for PPC64.
30230         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
30231         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
30232         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
30233         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
30234         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
30235         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
30236         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
30237         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
30238         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
30239         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
30240         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
30241         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
30242         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
30243         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
30244         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
30245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
30246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
30247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
30248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
30249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
30250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
30251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
30253 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30255         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
30257 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30259         * benchtests/Makefile (bench): Add exp2 and log2.
30260         (LDLIBS-bench-exp2): Add -lm.
30261         (LDLIBS-bench-log2): Likewise.
30262         * benchtests/exp2-inputs: New inputs file.
30263         * benchtests/log2-inputs: New inputs file.
30264         * benchtests/log-inputs: Add new inputs.
30265         * benchtests/tan-inputs: Likewise.
30267 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30269         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
30270         definition...
30271         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
30272         (csloww2): ... from here.
30274         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
30275         instead of structures.
30276         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
30277         (POLYNOMIAL): Likewise.
30278         (TAYLOR_SLOW): Likewise.
30279         (__sin): Likewise.
30280         (__cos): Likewise.
30281         (slow1): Likewise.
30282         (slow2): Likewise.
30283         (sloww): Likewise.
30284         (sloww1); Likewise.
30285         (sloww2): Likewise.
30286         (bsloww1): Likewise.
30287         (bsloww2): Likewise.
30288         (cslow2): Likewise.
30289         (csloww): Likewise.
30290         (csloww1): Likewise.
30291         (csloww2): Likewise.
30293 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
30295         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
30296         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
30297         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
30298         * malloc/hooks.c (realloc_check): Likewise.
30300         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
30301         * malloc/arena.c: Remove PER_THREAD conditional.
30302         [!PER_THREAD]: Remove code.
30303         (ptmalloc_unlock_all2): Likewise.
30304         (ptmalloc_init): Likewise.
30305         (_int_new_arena): Likewise.
30306         (arena_get2): Likewise.
30307         * malloc/hooks.c (__malloc_get_state): Likewise.
30308         (__malloc_set_state): Likewise.
30309         * malloc/malloc.c: Likewise.
30310         (struct malloc_state): Likewise.
30311         (struct malloc_par): Likewise.
30312         (__libc_realloc): Likewise.
30313         (__libc_mallopt): Likewise.
30315 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30317         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
30319 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
30321         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
30322         macro to a function.  Check for zero perturb_byte.
30323         (_int_malloc, _int_free): Remove zero perturb_byte checks.
30325         * malloc/malloc.c: (force_reg): Remove.
30326         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
30327         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
30328         force_reg by atomic_forced_read.
30329         * malloc/arena.c (ptmalloc_init): Likewise.
30330         * malloc/hooks.c (top_check): Likewise.
30332 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30334         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30336 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
30338         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30340 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
30342         * math/auto-libm-test-in: Add tests of lgamma.
30343         * math/auto-libm-test-out: Regenerated.
30344         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
30345         (M_LOG_2_SQRT_PIl): Likewise.
30346         (lgamma_test_data): Use AUTO_TESTS_f_f1.
30347         * math/gen-auto-libm-tests.c (func_calc_method): Add value
30348         mpfr_f_f1.
30349         (func_calc_desc): Add mpfr_f_f1 union field.
30350         (ARGS1): New macro.
30351         (ARGS2): Likewise.
30352         (ARGS3): Likewise.
30353         (ARGS4): Likewise.
30354         (RET1): Likewise.
30355         (RET2): Likewise.
30356         (CALC): Likewise.
30357         (FUNC): Likewise.
30358         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
30359         (test_functions): Add lgamma.
30360         (calc_generic_results): Handle mpfr_f_f1.
30361         * sysdeps/i386/fpu/libm-test-ulps: Update.
30362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30364 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30366         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
30367         __mpn_add_n for PowerPC64/POWER7.
30368         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
30369         __mpn_sub_n for PowerPC64/POWER7.
30371         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
30372         __mpn_addmul_1 for PowerPC64.
30373         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
30374         __mpn_submul_1 for PowerPC64.
30375         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
30376         for PowerPC64.
30377         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
30378         for PowerPC64.
30380 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
30382         [BZ #15089]
30383         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
30385 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30387         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
30389         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
30390         add multiarch folders.
30391         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
30392         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
30393         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
30394         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
30395         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
30396         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
30397         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
30398         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
30399         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
30400         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
30401         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
30402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
30403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
30404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
30405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
30406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
30407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
30409         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
30410         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
30411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
30412         New file.
30413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
30414         New file.
30415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
30416         multiarch __ieee754_hypot for PowerPC32.
30417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
30418         New file.
30419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
30420         New file.
30421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
30422         multiarch __ieee754_hypotf for PowerPC32.
30424         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
30425         long_double_symbol only if __logbl is defined.
30426         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
30427         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
30428         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
30429         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
30430         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
30431         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
30432         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
30433         path for implementation.
30434         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
30435         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
30436         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
30437         logb, and logbl multiarch implementations for PowerPC32.
30438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
30439         file.
30440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
30441         file.
30442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
30443         multiarch logb for PowerPC32.
30444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
30445         file.
30446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
30447         file.
30448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
30449         multiarch logbf for PowerPC32.
30450         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
30451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
30452         file.
30453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
30454         multiarch logbl implementation for PowerPC32.
30456         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
30457         and modff multiarch implementations.
30458         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
30459         New file.
30460         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
30461         New file.
30462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
30463         multiarch modf for PowerPC32.
30464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
30465         New file.
30466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
30467         New file.
30468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
30469         multiarch modff for PowerPC32.
30471         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
30472         and lrintf multiarch implementations.
30473         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
30474         New file.
30475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
30476         New file.
30477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
30478         multiarch lrint for PowerPC32.
30479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
30480         file: multiarch lrintf for PowerPC32.
30482         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
30483         and lroundf multiarch implementations.
30484         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
30485         New file.
30486         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
30487         New file.
30488         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
30489         New file.
30490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
30491         multiarch lround for PowerPC32.
30492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
30493         file: multiarch lroundf for PowerPC32.
30495         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
30496         copysign and copysignf multiarch implementations.
30497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
30498         New file.
30499         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
30500         New file.
30501         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
30502         file: multiarch copysign for PowerPC32.
30503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
30504         file: multiarch copysignf for PowerPC32.
30506         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
30507         and truncf multiarch implementations.
30508         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
30509         New file.
30510         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
30511         file.
30512         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
30513         multiarch trunc for PowerPC32.
30514         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
30515         New file.
30516         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
30517         New file.
30518         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
30519         multiarch truncf for PowerPC32.
30521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
30522         and roundf multiarch implementations.
30523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
30524         New file.
30525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
30526         file.
30527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
30528         multiarch round for PowerPC32.
30529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
30530         New file.
30531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
30532         New file.
30533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
30534         multiarch roundf for PowerPC32.
30536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
30537         and floorf multiarch implementations.
30538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
30539         New file.
30540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
30541         file.
30542         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
30543         multiarch floor for PowerPC32.
30544         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
30545         New file.
30546         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
30547         New file.
30548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
30549         multiarch floorf for PowerPC32.
30551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
30552         and ceilf multiarch implementations.
30553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
30554         New file.
30555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
30556         file.
30557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
30558         multiarch ceil for PowerPC32.
30559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
30560         New file.
30561         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
30562         file.
30563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
30564         multiarch ceilf for PowerPC32.
30566         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
30567         is defined.
30568         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
30569         FINITEF is defined.
30570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
30571         and finitef multiarch implementations.
30572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
30573         New file.
30574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
30575         file.
30576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
30577         multiarch finite for PowerPC32.
30578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
30579         New file.
30580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
30581         file: multiarch finitef for PowerPC32.
30583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
30584         and isinff multiarch implementations.
30585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
30586         file.
30587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
30588         file.
30589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
30590         multiarch isinf for PowerPC32.
30591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
30592         New file.
30593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
30594         multiarch isinff for PowerPC32.
30596         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
30597         alias when __isnan is defined.
30598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
30599         and isnanf multiarch implementations.
30600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
30601         file.
30602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
30603         file.
30604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
30605         file.
30606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
30607         file.
30608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
30609         multiarch isnan for PowerPC32.
30610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
30611         New file.
30612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
30613         New file.
30614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
30615         multiarch isnanf for PowerPC32.
30617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
30618         and sqrtf multiarch implementations.
30619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
30620         file.
30621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
30622         file.
30623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
30624         multiarch sqrt for PowerPC32.
30625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
30626         file.
30627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
30628         file.
30629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
30630         multiarch sqrtf for PowerPC32.
30632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
30633         and llroundf multiarch implementations.
30634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
30635         New file.
30636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
30637         New file.
30638         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
30639         New file.
30640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
30641         file: multiarch llround for PowerPC32.
30642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
30643         file: multiarch llroundf for PowerPC32.
30645         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
30646         multiarch PowerPC32 fpu implementations.
30647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
30648         New file.
30649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
30650         New file.
30651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
30652         multiarch llrint for PowerPC32.
30653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
30654         New file.
30655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
30656         New file.
30657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
30658         file.
30660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
30662         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
30663         file.
30664         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
30665         file.
30666         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
30667         file.
30668         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
30669         multiarch wordcopy for PPC32.
30670         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
30671         wordcopy objects.
30672         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30673         (__libc_ifunc_impl_list): Likewise.
30674         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
30675         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
30676         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
30677         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
30678         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
30679         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
30681         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
30682         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
30683         file.
30684         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
30685         file.
30686         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
30687         file.
30688         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
30689         multiarch wcscpy for PPC32.
30690         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
30691         multiarch objects.
30692         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30693         (__libc_ifunc_impl_list): Likewise.
30694         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
30695         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
30696         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
30697         sysdeps/powerpc/power6/wcscpy.c.
30699         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
30700         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
30701         file.
30702         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
30703         file.
30704         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
30705         file.
30706         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
30707         multiarch wcsrchr for PPC32.
30708         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
30709         multiarch objects.
30710         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30711         (__libc_ifunc_impl_list): Likewise.
30712         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
30713         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
30714         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
30715         sysdeps/powerpc/power6/wcsrchr.c.
30717         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
30718         file.
30719         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
30720         file.
30721         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
30722         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
30723         multiarch wcschr for PPc32.
30724         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
30725         multiarch objects.
30726         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30727         (__libc_ifunc_impl_list): Likewise.
30728         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
30729         * sysdeps/powerpc/power6/wcschr.c: ... to here.
30730         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
30731         sysdeps/powerpc/power6/wcschr.c.
30733         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
30734         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
30735         file.
30736         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
30737         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
30738         file: multiarch strchr for PPC32.
30739         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
30740         multiarch objects.
30741         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30742         (__libc_ifunc_impl_list): Likewise.
30744         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
30745         name.
30746         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
30747         file.
30748         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
30749         file.
30750         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
30751         multiarch strchrnul for PPC32.
30752         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
30753         multiarch objects.
30754         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30755         (__libc_ifunc_impl_list): Likewise.
30757         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
30758         file.
30759         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
30760         multiarch strncasecmp for PPC32.
30761         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
30762         file.
30763         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
30764         multiarch strncasecmp_l for PPC32.
30765         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
30766         strncasecmp multiarch objects.
30767         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30768         (__libc_ifunc_impl_list): Likewise.
30770         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
30771         file.
30772         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
30773         multiarch strncasecmp for PPC32.
30774         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
30775         New file.
30776         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
30777         multiarch strcasecmp_l for PPC32.
30778         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
30779         multiarch objects.
30780         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30781         (__libc_ifunc_impl_list): Likewise.
30783         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
30784         file.
30785         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
30786         file.
30787         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
30788         multiarch strncmp for PPC32.
30789         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
30790         multiarch objects.
30791         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30792         (__libc_ifunc_impl_list): Likewise.
30794         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
30795         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
30796         file.
30797         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
30798         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
30799         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
30800         multiarch objects.
30801         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30802         (__libc_ifunc_impl_list): Likewise.
30804         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
30805         file.
30806         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
30807         file.
30808         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
30809         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
30810         multiarch objects.
30811         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30812         (__libc_ifunc_impl_list): Likewise.
30814         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
30815         file.
30816         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
30817         file.
30818         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
30819         multiarch rawmemchr for PPC32.
30820         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
30821         multiarch objects.
30822         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30823         (__libc_ifunc_impl_list): Likewise.
30825         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
30826         file.
30827         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
30828         file.
30829         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
30830         file: memrchr multiarch for PPC32.
30831         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
30832         multiarch objects.
30833         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30834         (__libc_ifunc_impl_list): Likewise.
30836         * string/memchr.c (__memchr): Using macro to redefine symbol name.
30837         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
30838         file.
30839         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
30840         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
30841         multiarch memchr for PPC32.
30842         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
30843         multiarch objects.
30844         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30845         (__libc_ifunc_impl_list): Likewise.
30847         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
30848         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
30849         file.
30850         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
30851         file.
30852         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
30853         file: multiarch mempcpy for PPC32.
30854         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
30855         multiarch objects.
30856         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30857         (__libc_ifunc_impl_list): Likewise.
30859         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
30860         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
30861         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
30862         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
30863         multiarch bzero for PPC32.
30864         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
30865         file.
30866         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
30867         file.
30868         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
30869         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
30870         file: multiarch memset for PPC32.
30871         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
30872         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
30873         memset multiarch objects.
30874         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30875         (__libc_ifunc_impl_list): Likewise.
30877         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
30878         file.
30879         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
30880         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
30881         memcmp for PPC32.
30882         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
30883         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
30884         multiarch objects.
30885         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30886         (__libc_ifunc_impl_list): Likewise.
30888         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
30889         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
30890         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
30891         file.
30892         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
30893         file.
30894         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
30895         file.
30896         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
30897         multiarch memcpy for PPC32.
30898         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
30899         multiarch objects.
30900         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30901         (__libc_ifunc_impl_list): Likewise.
30903         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
30904         support multiarch for POWER/PPC32.
30905         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
30906         Likewise.
30907         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
30908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
30909         Implies file to make multiarch folder appers before the fpu and
30910         default folder for power4 configuration.
30912 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
30914         * scripts/bench.pl: Append volatile keyword to type.
30916 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30918         * sysdeps/sh/sotruss-lib.c: New file.
30919         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
30921 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30923         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30925 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
30927         [BZ #6810]
30928         * math/w_tgamma.c: Include <errno.h>.
30929         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
30930         * math/w_tgammaf.c: Include <errno.h>.
30931         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
30932         * math/w_tgammal.c: Include <errno.h>.
30933         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
30934         * math/auto-libm-test-in: Do not allow missing errno on tgamma
30935         underflow.  Add more tgamma tests.
30936         * math/auto-libm-test-out: Regenerated.
30937         * sysdeps/i386/fpu/libm-test-ulps: Update.
30938         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30940         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
30941         sin, sinh, tan, tanh, tgamma, y0 and y1.
30942         * math/auto-libm-test-out: Regenerated.
30943         * math/libm-test.inc (TEST_COND_x86_64): New macro.
30944         (TEST_COND_x86): Likewise.
30945         (M_E2l): Remove macro.
30946         (M_E3l): Likewise.
30947         (M_2_SQRT_PIl): Likewise.
30948         (M_SQRT_PIl): Likewise.
30949         (M_1_DIV_El): Likewise.
30950         (log_test_data): Use AUTO_TESTS_f_f.
30951         (log10_test_data): Likewise.
30952         (log1p_test_data): Likewise.
30953         (log2_test_data): Likewise.
30954         (sin_test_data): Likewise.
30955         (sin_tonearest_test_data): Likewise.
30956         (sin_towardzero_test_data): Likewise.
30957         (sin_downward_test_data): Likewise.
30958         (sin_upward_test_data): Likewise.
30959         (sinh_test_data): Likewise.
30960         (sinh_tonearest_test_data): Likewise.
30961         (sinh_towardzero_test_data): Likewise.
30962         (sinh_downward_test_data): Likewise.
30963         (sinh_upward_test_data): Likewise.
30964         (tan_test_data): Likewise.
30965         (tan_tonearest_test_data): Likewise.
30966         (tan_towardzero_test_data): Likewise.
30967         (tan_downward_test_data): Likewise.
30968         (tan_upward_test_data): Likewise.
30969         (tanh_test_data): Likewise.
30970         (tgamma_test_data): Likewise.
30971         (y0_test_data): Likewise.
30972         (y1_test_data): Likewise.
30973         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
30974         (special_real_inputs): Add pi/4.
30975         * sysdeps/i386/fpu/libm-test-ulps: Update.
30976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30978 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30980         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
30981         "longjmp_target" static probes.
30982         (__longjmp): Rename to __longjmp_symbol.
30983         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
30984         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
30985         on which longjmp to generate.
30986         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
30987         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
30988         probe.
30989         (__sigsetjmp): Rename to __sigsetjmp_symbol.
30990         (__sigjmp_save): Rename to __sigjmp_save_symbol.
30991         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
30992         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
30993         and __sigjmp_save_symbol based on which sigsetjmp to generated.
30994         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
30995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
30996         __longjmp_symbol based on which __longjmp to generate.
30997         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
30998         probe.
30999         (setjmp): Rename to setjmp_symbol.
31000         (__sigsetjmp): Rename to __sigsetjmp_symbol.
31001         (_setjmp): Rename to _setjmp_symbol.
31002         (__sigsetjmp): Rename to __sigsetjmp_symbol.
31003         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
31004         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
31005         which setjmp to generate.
31006         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
31007         "longjmp_target" static probes.
31009 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31011         * benchtests/README: Add note about output arguments.
31012         * benchtests/bench-sincos.c: Remove file.
31013         * benchtests/sincos-inputs: New file.
31014         * scripts/bench.pl: Identify output arguments and define
31015         static variables for them.
31017         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
31019         [BZ #15941]
31020         * Makefile (INSTALL): Add install-plain.texi as the primary
31021         dependency.
31022         * manual/install-plain.texi: New file.
31023         * manual/install.texi: Include node directive only for
31024         non-plaintext output.
31026 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
31028         * stdlib/longlong.h: Update from GCC.
31030         [BZ #6807]
31031         [BZ #15901]
31032         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
31033         * math/w_j0f.c (y0f): Likewise.
31034         * math/w_j0l.c (__y0l): Likewise.
31035         * math/w_j1.c (y1): Likewise.
31036         * math/w_j1f.c (y1f): Likewise.
31037         * math/w_j1l.c (__y1l): Likewise
31038         * math/w_jn.c (yn): Likewise.
31039         * math/w_jnf.c (ynf): Likewise.
31040         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
31041         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
31042         value for Bessel function domain errors outside _SVID_ mode.
31043         Adjust sign of return value for yn (negative integer, 0).
31044         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
31045         by zero in return for negative x and set sign appropriately for
31046         negative n.
31047         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
31048         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
31049         * math/libm-test.inc (y0_test_data): Add more tests and adjust
31050         expectations in error cases.
31051         (y1_test_data): Likewise.
31052         (yn_test_data): Likewise.
31053         * sysdeps/i386/fpu/libm-test-ulps: Update.
31054         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31056 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
31058         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
31059         "64" to "64-v1".  Add "64-v2".
31060         (abi-64-options): Rename to ...
31061         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
31062         (abi-64-condition): Rename to ...
31063         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
31064         (abi-64-ld-soname): Rename to ...
31065         (abi-64-v1-ld-soname): ... this.
31066         (abi-64-v2-options): Define.
31067         (abi-64-v2-condition): Likewise.
31068         (abi-64-v2-ld-soname): Likewise.
31069         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
31070         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
31071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
31072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
31073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
31075 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
31076             Alan Modra  <amodra@gmail.com>
31078         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
31079         New versions for use with the ELFv2 ABI.
31080         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
31081         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
31082         declaration.
31083         (struct La_ppc64v2_retval): Likewise.
31084         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
31085         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
31086         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
31087         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
31088         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
31089         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
31090         Do not save or restore CR.
31091         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
31092         (_dl_profile_resolve): Do no save or restore CR.  Support extended
31093         return values for ELFv2 ABI.  Fix location of FPR return registers.
31094         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
31095         updated values for _CALL_ELF == 2.
31096         (La_regs, La_retval, int_retval): Likewise.
31098 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
31100         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
31101         (FRAME_MIN_SIZE_PARM): Likewise.
31102         (FRAME_BACKCHAIN): Likewise.
31103         (FRAME_CR_SAVE): Likewise.
31104         (FRAME_LR_SAVE): Likewise.
31105         (FRAME_TOC_SAVE): Likewise.
31106         (FRAME_PARM_SAVE): Likewise.
31107         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
31108         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
31109         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
31110         (call_mcount_parm_offset): New macro.
31111         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
31112         (PROF): Use symbolic stack frame offsets.
31113         (TAIL_CALL_SYSCALL_ERROR): Likewise.
31114         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
31115         Redefine in terms of FRAME_MIN_SIZE.
31116         (_dl_runtime_resolve): Use symbolic stack frame offsets.
31117         (_dl_profile_resolve): Likewise.  Update comment.
31118         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
31119         symbols stack frame offsets.
31120         (__sigsetjmp): Likewise.
31121         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
31122         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
31123         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
31124         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
31126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
31127         (FRAME_BACKCHAIN): Remove.
31128         (FRAME_CR_SAVE): Likewise.
31129         (FRAME_LR_SAVE): Likewise.
31130         (FRAME_COMPILER_DW): Likewise.
31131         (FRAME_LINKER_DW): Likewise.
31132         (FRAME_TOC_SAVE): Likewise.
31133         (FRAME_PARM_SAVE): Likewise.
31134         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
31135         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
31136         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
31137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
31138         (CHECK_SP): Use symbolic stack frame offsets.
31139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
31140         zone" instead of caller's parameter save area for temp storage.
31141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
31142         Likewise.  Also, use symbolic stack frame offsets.
31143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
31144         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
31145         our own stack frame instead of the caller's.
31146         (__socket): Use symbolic stack frame offsets.
31148 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
31149             Alan Modra  <amodra@gmail.com>
31151         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
31152         Define.
31153         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
31154         (PPC64_LOCAL_ENTRY_OFFSET): Define.
31155         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
31156         New function.
31157         (elf_machine_fixup_plt): Call it.
31158         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
31159         reloc arguments.
31160         (elf_machine_rela): Update call to elf_machine_plt_conflict.
31161         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
31162         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
31163         r2 before calling target.
31165 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
31166             Alan Modra  <amodra@gmail.com>
31168         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
31169         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
31170         versions of macros to support ELFv2 ABI.
31171         (LOCALENTRY): New macro.
31172         (ENTRY, EALIGN): Use it.
31173         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
31174         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
31175         fall through into ENTRY entry point.
31176         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
31177         Only define if _CALL_ELF != 2.
31179         (elf_machine_matches_host): Verify ABI version matches.
31180         (RTLD_START): Use LOCALENTRY.
31181         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
31182         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
31183         (PLT_ENTRY_WORDS): New macro.
31184         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
31185         (elf_machine_runtime_setup): Support ELFv2 ABI.
31186         (elf_machine_fixup_plt): Likewise.
31187         (elf_machine_plt_conflict): Likewise.
31188         (resolve_ifunc): Likewise.
31189         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
31190         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
31191         Likewise.
31192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
31193         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
31194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31195         (makecontext): Support ELFv2 ABI.
31196         * elf/elf.h (EF_PPC64_ABI): Define.
31198 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
31200         * sysdeps/powerpc/powerpc64/sysdep.h
31201         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
31202         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
31203         (ENTRY) [ASSEMBLER]: ... but instead here ...
31204         (EALIGN) [ASSEMBLER]: ... and here.
31205         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
31206         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
31207         (ENTRY_2) [!ASSEMBLER]: Use it.
31208         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
31209         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
31210         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
31211         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
31212         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
31213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
31214         Use PPC64_LOAD_FUNCPTR.
31216         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
31218 2013-12-04  Alan Modra  <amodra@gmail.com>
31220         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
31221         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
31222         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
31223         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
31225         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
31226         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
31227         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
31228         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
31229         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
31230         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
31232 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
31234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31235         (__makecontext): Fix incorrect CFI when backtracing out of
31236         context created via makecontext.
31237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
31238         (__setcontext): Fix incorrect CFI during switch to new context.
31239         (__novec_setcontext): Likewise.
31241 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
31243         [BZ #4772]
31244         * time/strptime_l.c (__strptime_internal): Allow modifiers
31245         in strptime.
31246         * time/tst-strptime.c (day_tests): Add testcase.
31248 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31250         * scripts/bench.pl: Skip over blank lines.
31252 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
31254         [BZ #926]
31255         * manual/time.texi (Calendar Time): Clarify what timezone functions
31256         use.
31258 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31260         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31262 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
31264         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
31265         implementation.
31266         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
31267         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
31268         * debug/memset_chk.c (__memset_chk): Likewise.
31269         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
31270         * debug/strncpy_chk.c: Likewise.
31272 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
31274         [BZ #15268]
31275         [BZ #15425]
31276         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
31277         (__ieee754_exp): For possibly underflowing results, check size of
31278         result and force underflow exception if required.
31279         * math/auto-libm-test-in: Add more tests of exp.
31280         * math/auto-libm-test-out: Regenerated.
31281         * sysdeps/i386/fpu/libm-test-ulps: Update.
31282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31284         [BZ #16283]
31285         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
31286         * math/w_exp2f.c (__exp2f): Likewise.
31287         * math/w_exp2l.c (__exp2l): Likewise.
31288         * math/auto-libm-test-in: Do not allow missing errno on exp2
31289         underflow.
31290         * math/auto-libm-test-out: Regenerated.
31292 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
31294         [BZ #16274]
31295         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
31296         handle filename validation.
31297         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
31298         (do_open): Delete.
31300 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
31302         [BZ #6786]
31303         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
31304         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
31305         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
31306         <float.h>.
31307         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
31308         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
31309         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
31310         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
31311         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
31312         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
31313         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
31314         * math/auto-libm-test-in: Don't allow missing errno from erfc.
31315         Add more erfc tests.
31316         * math/auto-libm-test-out: Regenerated.
31317         * sysdeps/i386/fpu/libm-test-ulps: Update.
31318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31320         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
31321         exp2, expm1, j0 and j1.
31322         * math/auto-libm-test-out: Regenerated.
31323         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
31324         (erfc_test_data): Likewise.
31325         (exp_test_data): Likewise.
31326         (exp_tonearest_test_data): Likewise.
31327         (exp_towardzero_test_data): Likewise.
31328         (exp_downward_test_data): Likewise.
31329         (exp_upward_test_data): Likewise.
31330         (exp10_test_data): Likewise.
31331         (exp2_test_data): Likewise.
31332         (expm1_test_data): Likewise.
31333         (j0_test_data): Likewise.
31334         (j1_test_data): Likewise.
31335         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
31336         (input_flag_type): Add flag_xfail_rounding.
31337         (input_flags): Add xfail-rounding.
31338         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
31339         (output_for_one_input_case): Handle flag_xfail_rounding.
31340         * sysdeps/i386/fpu/libm-test-ulps: Update.
31341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31343 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
31345         [BZ #16289]
31346         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
31347         division by 0.
31349 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
31351         [BZ #16195]
31352         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
31353         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
31354         (STAP_PROBE0): New macro.
31355         (STAP_PROBE1): Likewise.
31356         (STAP_PROBE2): Likewise.
31357         (STAP_PROBE3): Likewise.
31358         (STAP_PROBE4): Likewise.
31360 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
31362         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
31364 2013-12-02  Steve Ellcey  <sellcey@mips.com>
31366         * benchtests/Makefile (bench): Add sqrt.
31367         (LDLIBS-bench-sqrt): New.
31368         * benchtests/sqrt-input: New.
31370 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
31372         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
31373         (GAIH_EAI): Likewise.
31374         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
31375         (gaih_inet): Likewise.
31376         (getaddrinfo): Don't use GAIH_EAI.
31378         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
31379         (struct gaih): Remove definition.
31381 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31383         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
31384         Use HERRNOP directly.
31386 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31388         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31390 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
31392         * math/gen-auto-libm-tests.c (test_functions): Add more
31393         single-argument functions.
31394         (special_fill_pi_2): New function.
31395         (special_fill_minus_pi_2): Likewise.
31396         (special_fill_pi_6): Likewise.
31397         (special_fill_minus_pi_6): Likewise.
31398         (special_fill_pi_3): Likewise.
31399         (special_fill_2pi_3): Likewise.
31400         (special_fill_e): Likewise.
31401         (special_fill_1_e): Likewise.
31402         (special_fill_e_minus_1): Likewise.
31403         (special_real_inputs): Add more special inputs.
31404         (output_for_one_input_case): Do not require ERANGE on underflow to
31405         zero if round-to-nearest result does not underflow to zero, unless
31406         exact results required.
31407         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
31408         atan, atanh, cbrt, cos and cosh.
31409         * math/auto-libm-test-out: Regenerated.
31410         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
31411         (acos_tonearest_test_data): Likewise.
31412         (acos_towardzero_test_data): Likewise.
31413         (acos_downward_test_data): Likewise.
31414         (acos_upward_test_data): Likewise.
31415         (acosh_test_data): Likewise.
31416         (asin_test_data): Likewise.
31417         (asin_tonearest_test_data): Likewise.
31418         (asin_towardzero_test_data): Likewise.
31419         (asin_upward_test_data): Likewise.
31420         (asinh_test_data): Likewise.
31421         (atan_test_data): Likewise.
31422         (atanh_test_data): Likewise.
31423         (cbrt_test_data): Likewise.
31424         (cos_test_data): Likewise.
31425         (cos_tonearest_test_data): Likewise.
31426         (cos_towardzero_test_data): Likewise.
31427         (cos_downward_test_data): Likewise.
31428         (cos_upward_test_data): Likewise.
31429         (cosh_test_data): Likewise.
31430         (cosh_tonearest_test_data): Likewise.
31431         (cosh_towardzero_test_data): Likewise.
31432         (cosh_downward_test_data): Likewise.
31433         (cosh_upward_test_data): Likewise.
31434         * sysdeps/i386/fpu/libm-test-ulps: Update.
31435         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31437 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
31439         [BZ #6787]
31440         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
31441         * math/w_exp10f.c (__exp10f): Likewise.
31442         * math/w_exp10l.c (__exp10l): Likewise.
31443         * math/libm-test.inc (exp10_test_data): Add more tests and expect
31444         errno settings in existing tests.
31446         [BZ #14032]
31447         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
31448         precision control set to double precision.
31449         * sysdeps/i386/fpu/w_sqrt.c: New file.
31450         * math/auto-libm-test-in: Add more tests.
31451         * math/auto-libm-test-out: Update.
31453         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
31454         (sqrt_test_tonearest): New function.
31455         (sqrt_towardzero_test_data): New variable.
31456         (sqrt_test_towardzero): New function.
31457         (sqrt_downward_test_data): New variable.
31458         (sqrt_test_downward): New function.
31459         (sqrt_upward_test_data): New variable.
31460         (sqrt_test_upward): New function.
31461         (main): Call the new functions.
31463         * math/gen-auto-libm-tests.c: New file.
31464         * math/auto-libm-test-in: Likewise.
31465         * math/auto-libm-test-out: New generated file.
31466         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
31467         variables.
31468         (%beautify): Add generated representations of zero.
31469         (top level): Set $auto_input and call parse_auto_input.
31470         (beautify): Remove trailing "f" from hex float constants.
31471         (parse_args): Handle XFAIL_TEST.
31472         (convert_condition): New function.
31473         (or_value): Likewise.
31474         (or_cond_value): Likewise.
31475         (generate_testfile): Handle AUTO_TESTS_* lines.
31476         (parse_auto_input): New function.
31477         * math/libm-test.inc (XFAIL_TEST): New macro.
31478         (ERRNO_UNCHANGED): Update value.
31479         (ERRNO_EDOM): Likewise.
31480         (ERRNO_ERANGE): Likewise.
31481         (IGNORE_RESULT): Likewise.
31482         (TEST_COND_flt_32): New macro.
31483         (TEST_COND_dbl_64): Likewise.
31484         (TEST_COND_ldbl_96_intel): Likewise.
31485         (TEST_COND_ldbl_96_m68k): Likewise.
31486         (TEST_COND_ldbl_128): Likewise.
31487         (TEST_COND_ldbl_128ibm): Likewise.
31488         (TEST_COND_long32): Likewise.
31489         (TEST_COND_long64): Likewise.
31490         (TEST_COND_before_rounding): Likewise.
31491         (TEST_COND_after_rounding): Likewise.
31492         (enable_test): Handle XFAIL_TEST flag.
31493         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
31494         with finite results.
31495         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
31496         auto-libm-test-out.
31498 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31499             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31501         [BZ #16214]
31502         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
31503         __tls_get_addr_internal instead of __tls_get_offset in order to
31504         avoid GOT pointer dependency.  Make rtld export
31505         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
31506         __tls_get_addr since we are a __tls_get_offset platform.
31507         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
31508         GOT pointer being set up before.
31509         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
31511 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
31513         * manual/math.texi (Errors in Math Functions): Document accuracy
31514         goals.
31516         [BZ #15004]
31517         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
31518         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
31519         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
31520         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
31521         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
31522         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
31523         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
31524         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
31525         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
31526         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
31527         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
31528         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
31529         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
31530         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
31531         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
31532         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
31534         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
31535         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
31536         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
31537         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
31538         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
31539         Likewise.
31540         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
31541         Likewise.
31542         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
31543         Likewise.
31544         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
31545         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
31546         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
31547         atomic-feupdateenv and flt-rounds.
31548         * sysdeps/powerpc/nofpu/Versions (libc): Add
31549         __atomic_feholdexcept, __atomic_feclearexcept,
31550         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
31551         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
31552         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
31553         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
31554         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
31555         here.
31556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
31557         Update.
31559         * manual/arith.texi (FP Exceptions): Document that exceptions may
31560         not be raised when matherr is used.
31561         (Math Error Reporting): Document overflow in directed rounding
31562         modes.  Document that errno may not be set when finite values are
31563         returned on overflow.  Document intent to set errno on underflow
31564         only for underflow to zero.
31566         [BZ #16271]
31567         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
31568         round-to-nearest then adjust result for other rounding modes.
31569         * include/fenv.h (fegetround): Use libm_hidden_proto.
31570         * math/fegetround.c (fegetround): Use libm_hidden_def.
31571         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
31572         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
31573         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
31574         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
31575         Likewise.
31576         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
31577         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
31578         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
31579         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
31581 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31583         [BZ #16077]
31584         * nss/Versions (libnss_files): Add
31585         _nss_files_gethostbyname3_r.
31586         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
31587         New function.
31588         (HOST_DB_LOOKUP): Remove macro.
31589         (_nss_files_gethostbyname_r): Implement function without the
31590         HOST_DB_LOOKUP macro.
31591         (_nss_files_gethostbyname2_r): Likewise.
31593 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
31595         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
31597 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
31599         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
31600         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
31601         warning.
31603 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31605         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
31606         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
31607         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
31608         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
31609         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
31610         __fe_nomask_env_priv and attribute_hidden.
31611         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
31612         (libc_feupdateenv_test_ppc): Likewise.
31613         (libc_feresetround_ppc): Likewise.
31614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31615         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
31616         compat_symbol macro.
31617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31618         (__fe_nomask_env): Likewise.
31619         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
31621 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
31623         * string/Makefile: Remove ifunc tests.
31624         * string/test-string.h: Define TEST_IFUNC.
31625         * string/test-bcopy-ifunc.c: Remove.
31626         * string/test-bzero-ifunc.c: Likewise.
31627         * string/test-memccpy-ifunc.c: Likewise.
31628         * string/test-memchr-ifunc.c: Likewise.
31629         * string/test-memcmp-ifunc.c: Likewise.
31630         * string/test-memcpy-ifunc.c: Likewise.
31631         * string/test-memmem-ifunc.c: Likewise.
31632         * string/test-memmove-ifunc.c: Likewise.
31633         * string/test-mempcpy-ifunc.c: Likewise.
31634         * string/test-memrchr-ifunc.c: Likewise.
31635         * string/test-memset-ifunc.c: Likewise.
31636         * string/test-rawmemchr-ifunc.c: Likewise.
31637         * string/test-stpcpy-ifunc.c: Likewise.
31638         * string/test-stpncpy-ifunc.c: Likewise.
31639         * string/test-strcasecmp-ifunc.c: Likewise.
31640         * string/test-strcasestr-ifunc.c: Likewise.
31641         * string/test-strcat-ifunc.c: Likewise.
31642         * string/test-strchr-ifunc.c: Likewise.
31643         * string/test-strchrnul-ifunc.c: Likewise.
31644         * string/test-strcmp-ifunc.c: Likewise.
31645         * string/test-strcpy-ifunc.c: Likewise.
31646         * string/test-strcspn-ifunc.c: Likewise.
31647         * string/test-strlen-ifunc.c: Likewise.
31648         * string/test-strncasecmp-ifunc.c: Likewise.
31649         * string/test-strncat-ifunc.c: Likewise.
31650         * string/test-strncmp-ifunc.c: Likewise.
31651         * string/test-strncpy-ifunc.c: Likewise.
31652         * string/test-strnlen-ifunc.c: Likewise.
31653         * string/test-strpbrk-ifunc.c: Likewise.
31654         * string/test-strrchr-ifunc.c: Likewise.
31655         * string/test-strspn-ifunc.c: Likewise.
31656         * string/test-strstr-ifunc.c: Likewise.
31658 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
31660         * benchtests/Makefile: Remove ifunc tests.
31661         * benchtests/bench-string.h: Define TEST_IFUNC.
31662         * benchtests/bench-bcopy-ifunc.c: Remove.
31663         * benchtests/bench-bzero-ifunc.c: Likewise.
31664         * benchtests/bench-memccpy-ifunc.c: Likewise.
31665         * benchtests/bench-memchr-ifunc.c: Likewise.
31666         * benchtests/bench-memcmp-ifunc.c: Likewise.
31667         * benchtests/bench-memcpy-ifunc.c: Likewise.
31668         * benchtests/bench-memmem-ifunc.c: Likewise.
31669         * benchtests/bench-memmove-ifunc.c: Likewise.
31670         * benchtests/bench-mempcpy-ifunc.c: Likewise.
31671         * benchtests/bench-memrchr-ifunc.c: Likewise.
31672         * benchtests/bench-memset-ifunc.c: Likewise.
31673         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
31674         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
31675         * benchtests/bench-stpcpy-ifunc.c: Likewise.
31676         * benchtests/bench-stpncpy-ifunc.c: Likewise.
31677         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
31678         * benchtests/bench-strcasestr-ifunc.c: Likewise.
31679         * benchtests/bench-strcat-ifunc.c: Likewise.
31680         * benchtests/bench-strchr-ifunc.c: Likewise.
31681         * benchtests/bench-strchrnul-ifunc.c: Likewise.
31682         * benchtests/bench-strcmp-ifunc.c: Likewise.
31683         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
31684         * benchtests/bench-strcpy-ifunc.c: Likewise.
31685         * benchtests/bench-strcspn-ifunc.c: Likewise.
31686         * benchtests/bench-strlen-ifunc.c: Likewise.
31687         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
31688         * benchtests/bench-strncat-ifunc.c: Likewise.
31689         * benchtests/bench-strncmp-ifunc.c: Likewise.
31690         * benchtests/bench-strncpy-ifunc.c: Likewise.
31691         * benchtests/bench-strnlen-ifunc.c: Likewise.
31692         * benchtests/bench-strpbrk-ifunc.c: Likewise.
31693         * benchtests/bench-strrchr-ifunc.c: Likewise.
31694         * benchtests/bench-strsep-ifunc.c: Likewise.
31695         * benchtests/bench-strspn-ifunc.c: Likewise.
31696         * benchtests/bench-strstr-ifunc.c: Likewise.
31698 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
31700         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
31702 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
31704         * resolv/netdb.h: Use __glibc_reserved instead __unused.
31705         * rt/aio.h: Likewise.
31706         * sysdeps/gnu/bits/utmp.h: Likewise.
31707         * sysdeps/gnu/bits/utmpx.h: Likewise.
31708         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
31709         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
31710         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
31711         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
31712         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
31713         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
31714         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
31715         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
31716         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
31717         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
31718         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
31719         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
31720         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
31721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
31722         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
31723         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
31724         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
31725         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
31726         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
31727         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
31728         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
31729         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
31730         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
31731         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31732         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
31733         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31734         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
31735         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
31736         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
31737         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
31738         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
31739         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
31740         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
31741         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
31742         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
31743         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
31744         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
31745         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
31746         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
31747         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
31748         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
31749         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
31751 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
31753         [BZ #16245]
31754         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
31755         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
31757 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
31759         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
31760         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
31761         Likewise.
31763 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31765         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
31766         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
31767         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
31768         (__fesetround): Remove define.
31769         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
31770         rounding and exceptions handling.
31771         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
31772         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
31773         (__fe_nomask_env): Likewise.
31774         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
31775         __fegetround instead of fegetround.
31776         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
31777         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
31779 2013-11-21  Roland McGrath  <roland@hack.frob.com>
31781         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
31782         it's there.
31784         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
31786 2013-11-21  Meador Inge  <meadori@codesourcery.com>
31788         [BZ #11157]
31789         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
31790         (encrypt_r): Likewise.
31791         * malloc/obstack.h (obstack_free): Likewise.
31792         * posix/unistd.h (encrypt): Likewise.
31794 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
31796         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
31797         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
31798         DL_CALL_DT_FINI() that call the functions directly.
31799         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
31800         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
31801         * elf/dl-fini.c: Likewise.
31803 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
31805         * malloc/hooks.c (memalign_check): Add alignment rounding.
31806         * malloc/malloc.c (_mid_memalign): New function.
31807         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
31808         Implement by calling _mid_memalign.
31809         * manual/probes.texi (Memory Allocation Probes): Remove
31810         memory_valloc_retry and memory_pvalloc_retry.
31812 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
31814         * locale/programs/locarchive.c (open_archive): Add const
31815         qualifier to ARCHIVEFNAME and copy default fname to
31816         DEFAULT_FNAME.
31818         [BZ #15601]
31819         * libio/tst-widetext.input: Rename Oriya to Odia.
31820         * locale/iso-639.def: Likewise.
31822         * manual/probes.texi (Mathematical Function Probes): Add
31823         documentation for sin, cos, asin and acos probes.
31824         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
31825         (__sin32): Add slowasin probe.
31826         (__cos32): Add slowacos probe.
31827         (__mpsin): Add slowsin probe.
31828         (__mpcos): Add slowcos probe.
31830 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
31832         [BZ #15483]
31833         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
31834         thread-local __sim_exceptions_thread and global
31835         __sim_exceptions_global.
31836         (__sim_disabled_exceptions): Change to thread-local
31837         __sim_disabled_exceptions_thread and global
31838         __sim_disabled_exceptions_global.
31839         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
31840         and global __sim_round_mode_global.
31841         (__simulate_exceptions): Use thread-local floating-point state and
31842         set global state from it as needed.
31843         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
31844         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
31845         __sim_round_mode_thread.
31846         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
31847         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
31848         and global __sim_exceptions_global.
31849         (__sim_disabled_exceptions): Change to thread-local
31850         __sim_disabled_exceptions_thread and global
31851         __sim_disabled_exceptions_global.
31852         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
31853         and global __sim_round_mode_global.
31854         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
31855         (SIM_SET_GLOBAL): Likewise.
31856         * sysdeps/powerpc/soft-fp/sfp-machine.h
31857         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
31858         __sim_round_mode_thread.
31859         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
31860         __sim_disabled_exceptions_thread.
31861         (__sim_exceptions): Change to __sim_exceptions_thread.
31862         (__sim_disabled_exceptions): Change to
31863         __sim_disabled_exceptions_thread.
31864         (__sim_round_mode): Change to __sim_round_mode_thread.
31865         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
31866         thread-local floating-point state and set global state from it as
31867         needed.
31868         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
31869         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
31870         (__sim_disabled_exceptions): Remove extern declaration.
31871         (feenableexcept): Use thread-local floating-point state and set
31872         global state from it as needed.
31873         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
31874         extern declaration.
31875         (__sim_disabled_exceptions): Likewise.
31876         (__sim_round_mode): Likewise.
31877         (__fegetenv): Use thread-local floating-point state.
31878         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
31879         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
31880         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
31881         floating-point state and set global state from it as needed.
31882         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
31883         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
31884         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
31885         Likewise.
31886         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
31887         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
31888         Likewise.
31889         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
31890         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
31891         Use __sim_round_mode_thread.
31892         * math/test-fenv-tls.c: New file.
31893         * math/Makefile (tests): Add test-fenv-tls.
31894         ($(objpfx)test-fenv-tls): Depend on
31895         $(common-objpfx)nptl/libpthread.so.
31897 2013-11-19  Andreas Schwab  <schwab@suse.de>
31899         * locale/programs/locale.c (show_info): Decode wordarray elements.
31900         * locale/categories.def (LC_MONETARY): Add element for
31901         _NL_MONETARY_CRNCYSTR.
31902         * locale/C-monetary.c (conversion_rate): New variable.
31903         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
31904         element.
31906 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
31908         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
31909         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
31911 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
31913         * elf/Makefile (tst-auxv): New test.
31914         * elf/tst-auxv.c: New
31915         * elf/rtld.c (dl_main): Adjust AT_EXECFN
31917 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
31919         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
31920         (hidden_proto): Caller changed.
31921         (hidden_tls_proto): New macro.
31922         (libc_hidden_tls_proto): Likewise.
31923         (rtld_hidden_tls_proto): Likewise.
31924         (libm_hidden_tls_proto): Likewise.
31925         (libresolv_hidden_tls_proto): Likewise.
31926         (librt_hidden_tls_proto): Likewise.
31927         (libdl_hidden_tls_proto): Likewise.
31928         (libnss_files_hidden_tls_proto): Likewise.
31929         (libnsl_hidden_tls_proto): Likewise.
31930         (libnss_nisplus_hidden_tls_proto): Likewise.
31931         (libutil_hidden_tls_proto): Likewise.
31933 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
31935         [BZ #10253]
31936         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
31937         (decompose_rpath): Defer expansion to fillin_rpath.
31938         (_dl_init_paths): Pass linkmap to fillin_rpath.
31940 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31942         * benchtests/Makefile: Add strsep.
31943         * benchtests/bench-strsep.c: New file: strsep benchtest.
31944         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
31946 2013-11-18  Andreas Schwab  <schwab@suse.de>
31948         * locale/programs/locale.c (show_info) [case byte]: Check for
31949         '\377' instead of '\177'.
31950         * locale/C-monetary.c (not_available): Always use "\377".
31951         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
31952         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
31953         detect unavailable sign_posn locale elements.
31954         * locale/localeconv.c (__localeconv): For grouping and
31955         mon_grouping handle "\177" and "\377" like no grouping.
31956         (INT_ELEM): New macro.  Use it to set all numeric members.
31957         * locale/programs/ld-monetary.c (monetary_read)
31958         <tok_mon_grouping>: Normalize single -1 to the empty string.
31959         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
31960         Likewise.
31962 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
31964         [BZ #16055]
31965         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
31966         when we match (nil).
31967         * stdio-common/tst-sscanf.c (struct test): Add testcase.
31969 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
31971         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
31972         (NO_TEST_INLINE): Update value.
31973         (ERRNO_UNCHANGED): Likewise.
31974         (ERRNO_EDOM): Likewise.
31975         (ERRNO_ERANGE): Likewise.
31976         (IGNORE_RESULT): Likewise.
31977         (check_float_internal): Check signs of NaN results if
31978         TEST_NAN_SIGN used.
31979         (check_complex): Pass TEST_NAN_SIGN flag through to second
31980         check_float_internal call.
31981         (copysign_test_data): Add tests with quiet NaNs as second
31982         argument.  Use TEST_NAN_SIGN.
31983         (fabs_test_data): Add test of negative quiet NaN argument.  Use
31984         TEST_NAN_SIGN.
31985         (signbit_test_data): Add tests of quiet NaN argument.
31986         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
31988         * math/gen-libm-test.pl (show_exceptions): Take extra argument
31989         $ignore_result.
31990         (parse_args): Handle function results specified as IGNORE.
31991         * math/libm-test.inc (IGNORE_RESULT): New macro.
31992         (check_float_internal): Do not check numerical result if flag
31993         IGNORE_RESULT set.
31994         (check_complex): Pass through IGNORE_RESULT to second
31995         check_float_internal call.
31996         (check_int): Do not check numerical result if flag IGNORE_RESULT
31997         set.
31998         (check_long): Likewise.
31999         (check_bool): Likewise.
32000         (check_longlong): Likewise.
32001         (lrint_test_data): Add tests of infinite and NaN arguments.
32002         (lrint_tonearest_test_data): Likewise.
32003         (lrint_towardzero_test_data): Likewise.
32004         (lrint_downward_test_data): Likewise.
32005         (lrint_upward_test_data): Likewise.
32006         (llrint_test_data): Likewise.
32007         (llrint_tonearest_test_data): Likewise.
32008         (llrint_towardzero_test_data): Likewise.
32009         (llrint_downward_test_data): Likewise.
32010         (llrint_upward_test_data): Likewise.
32011         (lround_test_data): Likewise.
32012         (llround_test_data): Likewise.
32014         * math/libm-test.inc (NO_TEST_INLINE): New macro.
32015         (ERRNO_UNCHANGED): Update value.
32016         (ERRNO_EDOM): Likewise.
32017         (ERRNO_ERANGE): Likewise.
32018         (NO_TEST_INLINE_FLOAT): New macro.
32019         (NO_TEST_INLINE_DOUBLE): Likewise.
32020         (enable_test): New function.
32021         (RUN_TEST_f_f): Check enable_test before running test.
32022         (RUN_TEST_2_f): Likewise.
32023         (RUN_TEST_fff_f): Likewise.
32024         (RUN_TEST_c_f): Likewise.
32025         (RUN_TEST_f_f1): Likewise.
32026         (RUN_TEST_fF_f1): Likewise.
32027         (RUN_TEST_fI_f1): Likewise.
32028         (RUN_TEST_ffI_f1): Likewise.
32029         (RUN_TEST_c_c): Likewise.
32030         (RUN_TEST_cc_c): Likewise.
32031         (RUN_TEST_f_i): Likewise.
32032         (RUN_TEST_f_i_tg): Likewise.
32033         (RUN_TEST_ff_i_tg): Likewise.
32034         (RUN_TEST_f_b): Likewise.
32035         (RUN_TEST_f_b_tg): Likewise.
32036         (RUN_TEST_f_l): Likewise.
32037         (RUN_TEST_f_L): Likewise.
32038         (RUN_TEST_fFF_11): Likewise.
32039         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
32040         conditionals.
32041         (cosh_test_data): Likewise.
32042         (exp_test_data): Likewise.
32043         (expm1_test_data): Likewise.
32044         (hypot_test_data): Likewise.
32045         (pow_test_data): Likewise.
32046         (sinh_test_data): Likewise.
32047         (tanh_test_data): Likewise.
32048         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
32049         flags argument.
32051         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
32052         tests with quiet NaN input and output.
32053         (acosh_test_data): Likewise.
32054         (asin_test_data): Likewise.
32055         (asinh_test_data): Likewise.
32056         (atan_test_data): Likewise.
32057         (atanh_test_data): Likewise.
32058         (atan2_test_data): Likewise.
32059         (cbrt_test_data): Likewise.
32060         (cos_test_data): Likewise.
32061         (cosh_test_data): Likewise.
32062         (erf_test_data): Likewise.
32063         (erfc_test_data): Likewise.
32064         (exp_test_data): Likewise.
32065         (exp10_test_data): Likewise.
32066         (exp2_test_data): Likewise.
32067         (expm1_test_data): Likewise.
32068         (hypot_test_data): Likewise.
32069         (j0_test_data): Likewise.
32070         (j1_test_data): Likewise.
32071         (jn_test_data): Likewise.
32072         (lgamma_test_data): Likewise.
32073         (log_test_data): Likewise.
32074         (log10_test_data): Likewise.
32075         (log1p_test_data): Likewise.
32076         (log2_test_data): Likewise.
32077         (pow_test_data): Likewise.
32078         (scalb_test_data): Likewise.
32079         (sin_test_data): Likewise.
32080         (sincos_test_data): Likewise.
32081         (sinh_test_data): Likewise.
32082         (tan_test_data): Likewise.
32083         (tanh_test_data): Likewise.
32084         (tgamma_test_data): Likewise.
32085         (y0_test_data): Likewise.
32086         (y1_test_data): Likewise.
32087         (yn_test_data): Likewise.
32089         [BZ #16167]
32090         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
32091         argument being NaN and avoid computations with second argument in
32092         that case.
32093         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32094         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
32095         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
32097 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
32099         * locale/iso-639.def: Add Chitwani Tharu (the).
32101 2013-11-14  Andreas Schwab  <schwab@suse.de>
32103         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
32104         word instead of empty string.
32106 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
32109         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
32110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
32111         (__fe_nomask_env): Likewise.
32113 2013-11-13  Steve Ellcey  <sellcey@mips.com>
32115         * benchtests/bench-timing.h: Include time.h.
32117 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
32119         [BZ #15997]
32120         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
32121         to 3.4.0 for x32.
32122         * sysdeps/unix/sysv/linux/configure: Regenerated.
32124 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
32126         [BZ #16151]
32127         * stdlib/strtod_l.c (round_and_return): Do not consider
32128         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
32129         exponent one less than half the least subnormal exponent.
32130         * stdlib/test-strtod-round-data: Add more tests.
32131         * stdlib/tst-strtod-round.c (tests): Regenerated.
32133 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32135         [BZ #14143]
32136         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
32137         (__fe_mask_env): Likewise.
32138         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
32139         libm_hidden_proto and add function prototype.
32140         (__fe_mask_env): Add function prototype.
32141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
32142         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
32143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
32144         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
32145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
32146         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
32148 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32150         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
32151         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
32153 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32155         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
32156         of htab_find_slot().
32158 2013-11-11  David S. Miller  <davem@davemloft.net>
32160         [BZ #16150]
32161         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
32162         symbol in the non-vis3 case in static builds.
32163         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
32164         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
32165         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
32166         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
32168 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
32170         [BZ #387]
32171         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
32172         it is empty.
32174 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32176         * benchtests/Makefile: Add bench-strtod.
32177         * benchtests/bench-strtod.c: New file: strtod benchtest
32179 2013-11-11  Andreas Schwab  <schwab@suse.de>
32181         [BZ #16153]
32182         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
32183         terminating NUL in key length.
32185 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32187         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
32188         Add artificial ODP entry for vDSO symbol for PPC64.
32189         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
32190         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
32192 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
32194         [BZ #15374]
32195         * nss/getent.c (services_keys): Recognize services starting with digit.
32197 2013-11-06  David S. Miller  <davem@davemloft.net>
32199         [BZ #15985]
32200         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
32201         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
32203 2013-11-06  Will Newton  <will.newton@linaro.org>
32205         * manual/memory.texi (Malloc Examples): Remove register
32206         keyword from examples.
32208 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
32210         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
32212 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
32214         [BZ #6981]
32215         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
32216         depending on [__GCC_IEC_559 > 0].
32217         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
32218         depending on [__GCC_IEC_559_COMPLEX > 0].
32220 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
32222         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
32223         to iso-639.def.
32225 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
32227         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
32229 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
32231         [BZ #16112]
32232         * malloc/malloc (malloc_info): Do not handle first bin as
32233         special case.
32235 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
32237         * locale/iso-639.def: Add Central Nahuatl (nhn).
32239 2013-11-01  Bruno Haible  <bruno@clisp.org>
32241         [BZ #7003]
32242         * manual/math.texi (BSD Random): Specify range upper bound as
32243         in POSIX.
32245 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
32247         * locale/iso-639.def: Add Meadow Mari (mhr).
32249 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
32251         [BZ #14752], [BZ #15763]
32252         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
32253         Validate name.
32254         * rt/tst_shm.c: Add test for escaping directory.
32256 2013-10-31  Andreas Schwab  <schwab@suse.de>
32258         [BZ #15917]
32259         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
32260         followed by 'x' as part of digit sequence.
32261         * stdio-common/tst-sscanf.c (double_tests2): New tests.
32263 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
32265         [BZ #16037]
32266         * configure.ac: allow GNU Make 4.0 and greater.
32267         * configure: Regenerated.
32269 2013-10-30  Will Newton  <will.newton@linaro.org>
32271         [BZ #16038]
32272         * malloc/hooks.c (memalign_check): Limit alignment to the
32273         maximum representable power of two.
32274         * malloc/malloc.c (__libc_memalign): Likewise.
32275         * malloc/tst-memalign.c (do_test): Add test for very
32276         large alignment values.
32277         * malloc/tst-posix_memalign.c (do_test): Likewise.
32279 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
32281         [BZ #11087]
32282         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
32283         (munmap_chunk): Likewise.
32284         (mremap_chunk): Likewise.
32286 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
32288         [BZ #15799]
32289         * stdlib/div.c (div): Remove obsolete code.
32290         * stdlib/ldiv.c (ldiv): Likewise.
32291         * stdlib/lldiv.c (lldiv): Likewise.
32293 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32295         [BZ #16071]
32296         * nss/nss_files/files-XXX.c (get_contents_ret): New
32297         enumerator.
32298         (get_contents): New function.
32299         (internal_getent): Use it.  Expand size of LINEBUFLEN.
32301 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
32303         * configure.in: Moved to ...
32304         * configure.ac: ... here. Change reference to configure.in
32305         to configure.ac.
32306         * sysdeps/arm/preconfigure.ac: ... here.
32307         configure.in to configure.ac.
32308         * sysdeps/gnu/configure.in: Moved to ...
32309         * sysdeps/gnu/configure.ac: ... here.
32310         * sysdeps/i386/configure.in: Moved to ...
32311         * sysdeps/i386/configure.ac: ... here.
32312         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
32313         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
32314         * sysdeps/mach/configure.in: Moved to ...
32315         * sysdeps/mach/configure.ac: ... here.
32316         * sysdeps/mach/hurd/configure.in: Moved to ...
32317         * sysdeps/mach/hurd/configure.ac: ... here.
32318         * sysdeps/powerpc/configure.in: Moved to ...
32319         * sysdeps/powerpc/configure.ac: ... here.
32320         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
32321         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
32322         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
32323         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
32324         * sysdeps/s390/s390-32/configure.in: Moved to ...
32325         * sysdeps/s390/s390-32/configure.ac: ... here.
32326         * sysdeps/s390/s390-64/configure.in: Moved to ...
32327         * sysdeps/s390/s390-64/configure.ac: ... here.
32328         * sysdeps/sh/configure.in: Moved to ...
32329         * sysdeps/sh/configure.ac: ... here.
32330         * sysdeps/sparc/configure.in: Moved to ...
32331         * sysdeps/sparc/configure.ac: ... here.
32332         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
32333         * sysdeps/unix/sysv/linux/configure.ac: ... here.
32334         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
32335         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
32336         * sysdeps/x86_64/configure.in: Moved to ...
32337         * sysdeps/x86_64/configure.ac: ... here.
32338         * sysdeps/x86_64/preconfigure.in: Moved to ...
32339         * sysdeps/x86_64/preconfigure.ac: ... here.
32340         * aclocal.m4: Change reference to configure.in to configure.ac.
32341         * config.h.in: Likewise.
32342         * manual/install.texi: Likewise.
32343         * manual/maint.texi: Likewise.
32344         * Makefile: Likewise.
32345         * malloc/Makefile: Likewise.
32346         * nscd/Makefile: Likewise.
32347         * Makeconfig: Change reference to configure.in and
32348         preconfigure.in to configure.ac and preconfigure.ac
32349         respectively.
32350         * INSTALL: Regenerated.
32351         * configure: Likewise.
32352         * sysdeps/gnu/configure: Likewise.
32353         * sysdeps/i386/configure: Likewise.
32354         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
32355         * sysdeps/mach/configure: Likewise.
32356         * sysdeps/mach/hurd/configure: Likewise.
32357         * sysdeps/powerpc/configure: Likewise.
32358         * sysdeps/powerpc/powerpc32/configure: Likewise.
32359         * sysdeps/powerpc/powerpc64/configure: Likewise.
32360         * sysdeps/s390/s390-32/configure: Likewise.
32361         * sysdeps/s390/s390-64/configure: Likewise.
32362         * sysdeps/sh/configure: Likewise.
32363         * sysdeps/sparc/configure: Likewise.
32364         * sysdeps/unix/sysv/linux/configure: Likewise.
32365         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
32366         * sysdeps/x86_64/configure: Likewise.
32367         * sysdeps/x86_64/preconfigure: Likewise.
32369 2013-10-29  Andreas Schwab  <schwab@suse.de>
32371         * stdio-common/Makefile (tst-swscanf-ENV): Define.
32373 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32375         * benchtests/pow-inputs: Add new inputs.
32377         * benchtests/exp-inputs: Add new inputs.
32379         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
32380         conditional check for return value.
32381         (__cos32): Likewise.
32383 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32385         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
32386         to provide a boost for large inputs with word alignment.
32387         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
32388         implementation based on optimized PPC64 strcpy.
32389         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
32390         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
32391         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
32392         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
32394 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
32396         [BZ #2801]
32397         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
32399 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
32401         [BZ #14876]
32402         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
32403         * time/tst-strptime.c (day_tests): Add testcase.
32405 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
32407         [BZ #14029]
32408         * manual/pattern.texi: Acknowledge that fnmatch can fail.
32410 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
32412         [BZ #16074]
32413         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
32414         MAP_FAILED on error.
32416 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
32418         [BZ #16072]
32419         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
32420         heap for large requests.
32422 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
32424         [BZ #9954]
32425         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
32426         result if the result has no associated interface.
32427         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
32428         interface for all 127.X.Y.Z addresses.
32430 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
32432         * locale/iso-639.def: Add Ligurian (lij)
32434 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
32436         [BZ #15825]
32437         * sunrpc/rpc_main.c: Document rpcgen -5.
32439 2013-10-19  Michael Stahl  <mstahl@redhat.com>
32441         * elf/rtld.c (do_preload): Print the reason why preloading failed.
32443 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
32445         [BZ #10278]
32446         * posix/glob.c: Match only directories when trailing slash is present.
32447         * posix/tst-gnuglob.c (my_opendir): Do not open files.
32448         (main): Add testcase.
32450 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
32452         [BZ #15670]
32453         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
32455 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
32457         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
32458         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
32459         AUTH_DES and cindex for FIPS 140-2.
32460         (DES Encryption): Add cindex FIPS 46-3.
32462         * locale/locarchive.h (struct locarhandle): Add fname.
32463         * locale/programs/localedef.c (main): Pass ARGV[remaining]
32464         if an optional argument was specified to --list-archive,
32465         otherwise NULL.
32466         * locale/programs/locarchive.c (show_archive_content): Take new
32467         argument fname and pass it via ah.fname to open_archive.
32468         * locale/programs/localedef.h: Update decl.
32469         (open_archive): If AH->fname is non-null, open that file
32470         rather than the default file name, and don't ignore ENOENT.
32471         (create_archive): Set AH.fname to NULL.
32472         (delete_locales_from_archive): Likewise.
32473         (add_locales_to_archive): Likewise.
32474         * locale/programs/locfile.c (write_all_categories): Likewise.
32476 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
32477             Aldy Hernandez  <aldyh@redhat.com>
32479         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
32480         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
32481         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
32482         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
32483         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
32484         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
32485         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
32486         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
32487         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
32488         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
32489         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
32490         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
32491         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
32492         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
32493         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
32494         Likewise.
32495         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
32496         Likewise.
32497         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
32498         Likewise.
32499         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
32500         Likewise.
32501         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
32502         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
32503         Likewise.
32504         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
32505         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
32506         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
32507         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
32508         Likewise.
32509         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
32510         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
32511         * sysdeps/powerpc/preconfigure: Likewise.
32512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
32513         Likewise.
32514         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
32515         Replace contents of file by #include of <fenv_libc.h>.
32516         * sysdeps/powerpc/soft-fp/sfp-machine.h
32517         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
32518         and <sys/prctl.h>.
32519         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
32520         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
32521         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
32522         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
32523         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
32524         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
32525         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
32526         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
32527         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
32528         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
32529         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
32530         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
32531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
32532         Allow copysignl PLT reference to be missing.
32534 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
32535             Joseph Myers  <joseph@codesourcery.com
32537         [BZ #15948]
32538         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
32539         single character.
32540         (add_to_tablewc): Assert sequence of wide characters is nonempty.
32542 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
32544         * elf/tst-tls-dlinfo.c: Don't include tls.h.
32545         * elf/tst-tls1.c: Likewise.
32546         * elf/tst-tls10.h: Likewise.
32547         * elf/tst-tls14.c: Likewise.
32548         * elf/tst-tls2.c: Likewise.
32549         * elf/tst-tls3.c: Likewise.
32550         * elf/tst-tls4.c: Likewise.
32551         * elf/tst-tls5.c: Likewise.
32552         * elf/tst-tls6.c: Likewise.
32553         * elf/tst-tls7.c: Likewise.
32554         * elf/tst-tls8.c: Likewise.
32555         * elf/tst-tls9.c: Likewise.
32556         * elf/tst-tlsmod1.c: Likewise.
32557         * elf/tst-tlsmod13.c: Likewise.
32558         * elf/tst-tlsmod13a.c: Likewise.
32559         * elf/tst-tlsmod14a.c: Likewise.
32560         * elf/tst-tlsmod16a.c: Likewise.
32561         * elf/tst-tlsmod16b.c: Likewise.
32562         * elf/tst-tlsmod2.c: Likewise.
32563         * elf/tst-tlsmod3.c: Likewise.
32564         * elf/tst-tlsmod4.c: Likewise.
32565         * elf/tst-tlsmod5.c: Likewise.
32566         * elf/tst-tlsmod6.c: Likewise.
32568 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
32570         [BZ #12486]
32571         * malloc/malloc.c: remove checks for statistics.
32573 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
32575         [BZ #15277]
32576         * inet/inet_net.c (inet_network): Detect additional invalid strings.
32577         * inet/tst-network.c: Add testcase.
32579 2013-10-17  Andreas Schwab  <schwab@suse.de>
32581         [BZ #15218]
32582         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
32583         to determine canonical name.
32585 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
32587         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
32588         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
32589         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32590         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32591         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32592         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32593         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32594         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32595         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
32596         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32597         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
32598         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32599         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32600         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32601         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32602         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32603         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32604         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32605         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
32606         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32607         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32608         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32609         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32610         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
32611         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
32612         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32613         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32614         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
32615         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32616         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
32617         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32618         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32619         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
32620         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32621         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
32622         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32623         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32624         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
32625         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
32626         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32627         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
32628         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
32629         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
32630         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
32631         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
32632         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32633         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
32634         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
32635         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
32636         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
32637         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
32638         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32639         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
32640         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
32641         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32642         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
32643         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32644         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
32646 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
32648         [BZ #16041]
32649         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
32650         make result into a quiet NaN.
32652 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
32654         * soft-fp/adddf3.c: Fix horizontal whitespace.
32655         * soft-fp/addsf3.c: Likewise.
32656         * soft-fp/addtf3.c: Likewise.
32657         * soft-fp/divdf3.c: Likewise.
32658         * soft-fp/divsf3.c: Likewise.
32659         * soft-fp/divtf3.c: Likewise.
32660         * soft-fp/double.h: Likewise.
32661         * soft-fp/eqdf2.c: Likewise.
32662         * soft-fp/eqsf2.c: Likewise.
32663         * soft-fp/eqtf2.c: Likewise.
32664         * soft-fp/extenddftf2.c: Likewise.
32665         * soft-fp/extended.h: Likewise.
32666         * soft-fp/extendsfdf2.c: Likewise.
32667         * soft-fp/extendsftf2.c: Likewise.
32668         * soft-fp/extendxftf2.c: Likewise.
32669         * soft-fp/fixdfdi.c: Likewise.
32670         * soft-fp/fixdfsi.c: Likewise.
32671         * soft-fp/fixdfti.c: Likewise.
32672         * soft-fp/fixsfdi.c: Likewise.
32673         * soft-fp/fixsfsi.c: Likewise.
32674         * soft-fp/fixsfti.c: Likewise.
32675         * soft-fp/fixtfdi.c: Likewise.
32676         * soft-fp/fixtfsi.c: Likewise.
32677         * soft-fp/fixtfti.c: Likewise.
32678         * soft-fp/fixunsdfdi.c: Likewise.
32679         * soft-fp/fixunsdfsi.c: Likewise.
32680         * soft-fp/fixunsdfti.c: Likewise.
32681         * soft-fp/fixunssfdi.c: Likewise.
32682         * soft-fp/fixunssfsi.c: Likewise.
32683         * soft-fp/fixunssfti.c: Likewise.
32684         * soft-fp/fixunstfdi.c: Likewise.
32685         * soft-fp/fixunstfsi.c: Likewise.
32686         * soft-fp/fixunstfti.c: Likewise.
32687         * soft-fp/floatdidf.c: Likewise.
32688         * soft-fp/floatdisf.c: Likewise.
32689         * soft-fp/floatditf.c: Likewise.
32690         * soft-fp/floatsidf.c: Likewise.
32691         * soft-fp/floatsisf.c: Likewise.
32692         * soft-fp/floatsitf.c: Likewise.
32693         * soft-fp/floattidf.c: Likewise.
32694         * soft-fp/floattisf.c: Likewise.
32695         * soft-fp/floattitf.c: Likewise.
32696         * soft-fp/floatundidf.c: Likewise.
32697         * soft-fp/floatundisf.c: Likewise.
32698         * soft-fp/floatunditf.c: Likewise.
32699         * soft-fp/floatunsidf.c: Likewise.
32700         * soft-fp/floatunsisf.c: Likewise.
32701         * soft-fp/floatunsitf.c: Likewise.
32702         * soft-fp/floatuntidf.c: Likewise.
32703         * soft-fp/floatuntisf.c: Likewise.
32704         * soft-fp/floatuntitf.c: Likewise.
32705         * soft-fp/fmadf4.c: Likewise.
32706         * soft-fp/fmasf4.c: Likewise.
32707         * soft-fp/fmatf4.c: Likewise.
32708         * soft-fp/gedf2.c: Likewise.
32709         * soft-fp/gesf2.c: Likewise.
32710         * soft-fp/getf2.c: Likewise.
32711         * soft-fp/ledf2.c: Likewise.
32712         * soft-fp/lesf2.c: Likewise.
32713         * soft-fp/letf2.c: Likewise.
32714         * soft-fp/muldf3.c: Likewise.
32715         * soft-fp/mulsf3.c: Likewise.
32716         * soft-fp/multf3.c: Likewise.
32717         * soft-fp/negdf2.c: Likewise.
32718         * soft-fp/negsf2.c: Likewise.
32719         * soft-fp/negtf2.c: Likewise.
32720         * soft-fp/op-1.h: Likewise.
32721         * soft-fp/op-2.h: Likewise.
32722         * soft-fp/op-4.h: Likewise.
32723         * soft-fp/op-8.h: Likewise.
32724         * soft-fp/op-common.h: Likewise.
32725         * soft-fp/quad.h: Likewise.
32726         * soft-fp/single.h: Likewise.
32727         * soft-fp/soft-fp.h: Likewise.
32728         * soft-fp/sqrtdf2.c: Likewise.
32729         * soft-fp/sqrtsf2.c: Likewise.
32730         * soft-fp/sqrttf2.c: Likewise.
32731         * soft-fp/subdf3.c: Likewise.
32732         * soft-fp/subsf3.c: Likewise.
32733         * soft-fp/subtf3.c: Likewise.
32734         * soft-fp/truncdfsf2.c: Likewise.
32735         * soft-fp/trunctfdf2.c: Likewise.
32736         * soft-fp/trunctfsf2.c: Likewise.
32737         * soft-fp/trunctfxf2.c: Likewise.
32738         * soft-fp/unorddf2.c: Likewise.
32739         * soft-fp/unordsf2.c: Likewise.
32740         * soft-fp/unordtf2.c: Likewise.
32742 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
32744         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
32745         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
32747 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
32749         * elf/dl-libc.c: Clear initfini list after freeing.
32751 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
32753         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
32754         * soft-fp/addsf3.c: Likewise.
32755         * soft-fp/addtf3.c: Likewise.
32756         * soft-fp/divdf3.c: Likewise.
32757         * soft-fp/divsf3.c: Likewise.
32758         * soft-fp/divtf3.c: Likewise.
32759         * soft-fp/double.h: Likewise.
32760         * soft-fp/eqdf2.c: Likewise.
32761         * soft-fp/eqsf2.c: Likewise.
32762         * soft-fp/eqtf2.c: Likewise.
32763         * soft-fp/extenddftf2.c: Likewise.
32764         * soft-fp/extended.h: Likewise.
32765         * soft-fp/extendsfdf2.c: Likewise.
32766         * soft-fp/extendsftf2.c: Likewise.
32767         * soft-fp/extendxftf2.c: Likewise.
32768         * soft-fp/fixdfdi.c: Likewise.
32769         * soft-fp/fixdfsi.c: Likewise.
32770         * soft-fp/fixdfti.c: Likewise.
32771         * soft-fp/fixsfdi.c: Likewise.
32772         * soft-fp/fixsfsi.c: Likewise.
32773         * soft-fp/fixsfti.c: Likewise.
32774         * soft-fp/fixtfdi.c: Likewise.
32775         * soft-fp/fixtfsi.c: Likewise.
32776         * soft-fp/fixtfti.c: Likewise.
32777         * soft-fp/fixunsdfdi.c: Likewise.
32778         * soft-fp/fixunsdfsi.c: Likewise.
32779         * soft-fp/fixunsdfti.c: Likewise.
32780         * soft-fp/fixunssfdi.c: Likewise.
32781         * soft-fp/fixunssfsi.c: Likewise.
32782         * soft-fp/fixunssfti.c: Likewise.
32783         * soft-fp/fixunstfdi.c: Likewise.
32784         * soft-fp/fixunstfsi.c: Likewise.
32785         * soft-fp/fixunstfti.c: Likewise.
32786         * soft-fp/floatdidf.c: Likewise.
32787         * soft-fp/floatdisf.c: Likewise.
32788         * soft-fp/floatditf.c: Likewise.
32789         * soft-fp/floatsidf.c: Likewise.
32790         * soft-fp/floatsisf.c: Likewise.
32791         * soft-fp/floatsitf.c: Likewise.
32792         * soft-fp/floattidf.c: Likewise.
32793         * soft-fp/floattisf.c: Likewise.
32794         * soft-fp/floattitf.c: Likewise.
32795         * soft-fp/floatundidf.c: Likewise.
32796         * soft-fp/floatundisf.c: Likewise.
32797         * soft-fp/floatunsidf.c: Likewise.
32798         * soft-fp/floatunsisf.c: Likewise.
32799         * soft-fp/floatuntidf.c: Likewise.
32800         * soft-fp/floatuntisf.c: Likewise.
32801         * soft-fp/floatuntitf.c: Likewise.
32802         * soft-fp/fmadf4.c: Likewise.
32803         * soft-fp/fmasf4.c: Likewise.
32804         * soft-fp/fmatf4.c: Likewise.
32805         * soft-fp/gedf2.c: Likewise.
32806         * soft-fp/gesf2.c: Likewise.
32807         * soft-fp/getf2.c: Likewise.
32808         * soft-fp/ledf2.c: Likewise.
32809         * soft-fp/lesf2.c: Likewise.
32810         * soft-fp/letf2.c: Likewise.
32811         * soft-fp/muldf3.c: Likewise.
32812         * soft-fp/mulsf3.c: Likewise.
32813         * soft-fp/multf3.c: Likewise.
32814         * soft-fp/negdf2.c: Likewise.
32815         * soft-fp/negsf2.c: Likewise.
32816         * soft-fp/negtf2.c: Likewise.
32817         * soft-fp/op-1.h: Likewise.
32818         * soft-fp/op-2.h: Likewise.
32819         * soft-fp/op-4.h: Likewise.
32820         * soft-fp/op-8.h: Likewise.
32821         * soft-fp/op-common.h: Likewise.
32822         * soft-fp/quad.h: Likewise.
32823         * soft-fp/single.h: Likewise.
32824         * soft-fp/soft-fp.h: Likewise.
32825         * soft-fp/sqrtdf2.c: Likewise.
32826         * soft-fp/sqrtsf2.c: Likewise.
32827         * soft-fp/sqrttf2.c: Likewise.
32828         * soft-fp/subdf3.c: Likewise.
32829         * soft-fp/subsf3.c: Likewise.
32830         * soft-fp/subtf3.c: Likewise.
32831         * soft-fp/truncdfsf2.c: Likewise.
32832         * soft-fp/trunctfdf2.c: Likewise.
32833         * soft-fp/trunctfsf2.c: Likewise.
32834         * soft-fp/trunctfxf2.c: Likewise.
32835         * soft-fp/unorddf2.c: Likewise.
32836         * soft-fp/unordsf2.c: Likewise.
32837         * soft-fp/unordtf2.c: Likewise.
32839 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
32841         [BZ #15672]
32842         * misc/error.c (error_tail): Fix possible buffer overflow.
32844 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
32846         [BZ #13028]
32847         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
32848         address.
32850 2013-10-14  P. J. McDermott  <pj@pehjota.net>
32852         [BZ #832]
32853         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
32854         testing pipefail option.
32856 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
32858         * soft-fp/double.h: Indent preprocessor directives inside #if.
32859         * soft-fp/extended.h: Likewise.
32860         * soft-fp/op-2.h: Likewise.
32861         * soft-fp/op-4.h: Likewise.
32862         * soft-fp/op-common.h: Likewise.
32863         * soft-fp/quad.h: Likewise.
32864         * soft-fp/single.h: Likewise.
32865         * soft-fp/soft-fp.h: Likewise.
32867 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
32869         * iconv/iconv_prog.c: Fix typos.
32870         * stdio-common/psiginfo-data.h: Likewise.
32872 2013-10-12   Reuben Thomas <rrt@sc3d.org>
32874         [BZ #15764]
32875         * locale/setlocale.c: Fix typo.
32877 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
32879         [BZ #16036]
32880         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
32881         signaling NaN arguments.
32882         * soft-fp/unordsf2.c (__unordsf2): Likewise.
32883         * soft-fp/unordtf2.c (__unordtf2): Likewise.
32885         [BZ #14910]
32886         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
32887         unordered operands.
32888         * soft-fp/gesf2.c (__gesf2): Likewise.
32889         * soft-fp/getf2.c (__getf2): Likewise.
32890         * soft-fp/ledf2.c (__ledf2): Likewise.
32891         * soft-fp/lesf2.c (__lesf2): Likewise.
32892         * soft-fp/letf2.c (__letf2): Likewise.
32894         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
32895         * soft-fp/eqsf2.c (__eqsf2): Likewise.
32896         * soft-fp/eqtf2.c (__eqtf2): Likewise.
32897         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
32898         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
32899         * soft-fp/fixdfti.c (__fixdfti): Likewise.
32900         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
32901         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
32902         * soft-fp/fixsfti.c (__fixsfti): Likewise.
32903         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
32904         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
32905         * soft-fp/fixtfti.c (__fixtfti): Likewise.
32906         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
32907         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
32908         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
32909         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
32910         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
32911         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
32912         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
32913         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
32914         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
32915         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
32916         * soft-fp/floatdisf.c (__floatdisf): Likewise.
32917         * soft-fp/floatsisf.c (__floatsisf): Likewise.
32918         * soft-fp/floattidf.c (__floattidf): Likewise.
32919         * soft-fp/floattisf.c (__floattisf): Likewise.
32920         * soft-fp/floattitf.c (__floattitf): Likewise.
32921         * soft-fp/floatundidf.c (__floatundidf): Likewise.
32922         * soft-fp/floatundisf.c (__floatundisf): Likewise.
32923         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
32924         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
32925         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
32926         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
32927         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
32928         * soft-fp/gesf2.c (__gesf2): Likewise.
32929         * soft-fp/getf2.c (__getf2): Likewise.
32930         * soft-fp/ledf2.c (__ledf2): Likewise.
32931         * soft-fp/lesf2.c (__lesf2): Likewise.
32932         * soft-fp/letf2.c (__letf2): Likewise.
32934         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
32935         Undefine and redefine.
32936         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
32937         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
32938         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
32939         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
32940         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32941         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
32942         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32943         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
32944         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32945         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
32946         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32947         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
32948         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32949         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
32950         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32952         [BZ #16032]
32953         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
32954         without decrementing exponent if mantissa >= that for the
32955         denominator, not >.
32956         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
32957         denominator, not >.  Decrement exponent in < case instead of
32958         incrementing in >= case.
32959         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
32960         without decrementing exponent if mantissa >= that for the
32961         denominator, not >.
32963         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
32964         computing saturated result for unsigned overflow.
32966 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32967             Jeff Law  <law@redhat.com>
32969         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
32970         (atan2Mp): Add systemtap probe marker.
32971         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
32972         (__ieee754_log): Add systemtap probe marker.
32973         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
32974         (atanMp): Add systemtap probe marker.
32975         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
32976         (tanMp): Add systemtap probe marker.
32977         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
32978         (__slowexp): Add systemtap probe marker.
32979         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
32980         (__slowpow): Add systemtap probe marker.
32981         * manual/probes.texi: Document probes.
32983 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
32985         [BZ #15362]
32986         * libio/fileops.c (_IO_new_file_write): Return count of bytes
32987         written.
32988         (_IO_new_file_xsputn): Don't return EOF if nothing has been
32989         written.
32990         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
32991         written to buffer but not flushed.
32992         * libio/iofwrite_u.c:  Likewise.
32993         * libio/iopadn.c:  Return bytes returned even if EOF was
32994         encountered.
32995         * libio/iowpadn.c:  Likewise.
32996         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
32997         if _IO_padn does not write the whole buffer.
32998         [!COMPILE_WPRINTF] (PAD): Likewise.
33000 2013-10-10  David S. Miller  <davem@davemloft.net>
33002         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
33003         directory block.
33005 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
33007         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
33008         instead of FSF address.
33009         * soft-fp/fixdfti.c: Likewise.
33010         * soft-fp/fixsfti.c: Likewise.
33011         * soft-fp/fixtfti.c: Likewise.
33012         * soft-fp/fixunsdfti.c: Likewise.
33013         * soft-fp/fixunssfti.c: Likewise.
33014         * soft-fp/fixunstfti.c: Likewise.
33015         * soft-fp/floattidf.c: Likewise.
33016         * soft-fp/floattisf.c: Likewise.
33017         * soft-fp/floattitf.c: Likewise.
33018         * soft-fp/floatuntidf.c: Likewise.
33019         * soft-fp/floatuntisf.c: Likewise.
33020         * soft-fp/floatuntitf.c: Likewise.
33021         * soft-fp/trunctfxf2.c: Likewise.
33023         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
33024         * soft-fp/fixdfti.c: Likewise.
33025         * soft-fp/fixsfti.c: Likewise.
33026         * soft-fp/fixtfti.c: Likewise.
33027         * soft-fp/fixunsdfti.c: Likewise.
33028         * soft-fp/fixunssfti.c: Likewise.
33029         * soft-fp/fixunstfti.c: Likewise.
33030         * soft-fp/floattidf.c: Likewise.
33031         * soft-fp/floattisf.c: Likewise.
33032         * soft-fp/floattitf.c: Likewise.
33033         * soft-fp/floatuntidf.c: Likewise.
33034         * soft-fp/floatuntisf.c: Likewise.
33035         * soft-fp/floatuntitf.c: Likewise.
33036         * soft-fp/trunctfxf2.c: Likewise.
33038 2013-10-10  David S. Miller  <davem@davemloft.net>
33040         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33042 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
33044         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
33045         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
33046         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
33047         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
33048         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
33049         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
33050         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
33052         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
33053         for NaNs before doing comparisons on argument.
33054         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
33055         Likewise.
33057 2013-10-10  Will Newton  <will.newton@linaro.org>
33059         * malloc/hooks.c (memalign_check): Ensure the value of bytes
33060         passed to _int_memalign does not overflow.
33062 2013-10-10  Torvald Riegel  <triegel@redhat.com>
33064         * scripts/bench.pl: Add include-sources directive.
33065         * benchtests/README: Update documentation.
33067 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
33069         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
33070         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
33071         instead of FP_INIT_ROUNDMODE.
33072         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
33073         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
33075         [BZ #16034]
33076         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
33077         copy class of input value.
33078         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
33079         not handle exceptions.
33080         * soft-fp/negsf2.c (__negsf2): Likewise.
33081         * soft-fp/negtf2.c (__negtf2): Likewise.
33082         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
33084 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
33086         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
33087         semicolon.  From Linux kernel.
33089 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
33091         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
33093 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
33095         [BZ #156]
33096         * manual/socket.texi: Added statement about buffer
33097         for gethostbyname2_r.
33099 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
33101         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
33102         Use .p2align directive instead, throughout.
33103         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
33104         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
33105         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
33106         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33107         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33108         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
33109         * sysdeps/x86_64/strchr.S: Likewise.
33110         * sysdeps/x86_64/strrchr.S: Likewise.
33112 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
33114         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
33116         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
33118         * sysdeps/generic/math_private.h (__mpsin1): Remove
33119         declaration.
33120         (__mpcos1): Likewise.
33121         (__mpsin): New argument __range_reduce.
33122         (__mpcos): Likewise.
33123         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33124         (slow): Use __mpsin and __mpcos.
33125         (slow1): Likewise.
33126         (slow2): Likewise.
33127         (sloww): Likewise.
33128         (sloww1): Likewise.
33129         (sloww2): Likewise.
33130         (bsloww): Likewise.
33131         (bsloww1): Likewise.
33132         (bsloww2): Likewise.
33133         (cslow2): Likewise.
33134         (csloww): Likewise.
33135         (csloww1): Likewise.
33136         (csloww2): Likewise.
33137         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
33138         range_reduce.  Merge in __mpsin1.
33139         (__mpcos): Likewise.
33140         (__mpsin1): Remove.
33141         (__mpcos1): Likewise.
33143 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
33145         * locale/loadlocale.c (_nl_intern_locale_data): Use
33146         LOCFILE_ALIGNED_P.
33147         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
33148         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
33149         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
33150         obstack data is appropriately aligned.
33151         (obstack_int32_grow_fast): Likewise.
33152         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
33153         * locale/programs/locfile.c (add_locale_uint32): Likewise.
33154         (add_locale_uint32_array): Likewise.
33156 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
33158         * benchtests/Makefile: Remove ARGLIST and RET variables.
33159         ($(objpfx)bench-%.c): Pass only function name to the script.
33160         * benchtests/README: Update documentation.
33161         * benchtests/acos-inputs: Add new directives.
33162         * benchtests/acosh-inputs: Likewise.
33163         * benchtests/asin-inputs: Likewise.
33164         * benchtests/asinh-inputs: Likewise.
33165         * benchtests/atan-inputs: Likewise.
33166         * benchtests/atanh-inputs: Likewise.
33167         * benchtests/cos-inputs: Likewise.
33168         * benchtests/cosh-inputs: Likewise.
33169         * benchtests/exp-inputs: Likewise.
33170         * benchtests/log-inputs: Likewise.
33171         * benchtests/pow-inputs: Likewise.
33172         * benchtests/rint-inputs: Likewise.
33173         * benchtests/sin-inputs: Likewise.
33174         * benchtests/sinh-inputs: Likewise.
33175         * benchtests/tan-inputs: Likewise.
33176         * benchtests/tanh-inputs: Likewise.
33177         * scripts/bench.pl: Add support for new directives.
33179 2013-10-07  Alan Modra  <amodra@gmail.com>
33181         * README: Fix careless merge.
33183 2013-10-05  Alan Modra  <amodra@gmail.com>
33185         * NEWS: Mention powerpc64le support and bugs fixed.
33186         * README: Both big-endian and little-endian powerpc64 supported.
33188 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33190         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
33191         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
33192         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
33193         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
33195 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
33197         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
33198         match prototype.
33200 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
33202         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
33203         Move -mhard-float appending from
33204         ports/sysdeps/powerpc/powerpc32/Makefile.
33205         [$(with-fp) = yes] (ASFLAGS): Likewise.
33206         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
33207         * sysdeps/powerpc/nofpu: Move directory from
33208         ports/sysdeps/powerpc/nofpu.
33209         * sysdeps/powerpc/soft-fp: Move directory from
33210         ports/sysdeps/powerpc/soft-fp.
33211         * sysdeps/powerpc/powerpc32/405: Move directory from
33212         ports/sysdeps/powerpc/powerpc32/405.
33213         * sysdeps/powerpc/powerpc32/440: Move directory from
33214         ports/sysdeps/powerpc/powerpc32/440.
33215         * sysdeps/powerpc/powerpc32/464: Move directory from
33216         ports/sysdeps/powerpc/powerpc32/464.
33217         * sysdeps/powerpc/powerpc32/476: Move directory from
33218         ports/sysdeps/powerpc/powerpc32/476.
33219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
33220         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
33221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
33222         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
33223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
33224         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
33225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
33226         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
33227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
33228         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
33229         * README: Update for powerpc-*-linux-gnu software floating point
33230         support in libc.
33232         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
33233         case to powerpc/powerpc32*.
33234         * sysdeps/unix/sysv/linux/configure: Regenerated.
33236         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
33237         (_FPU_MASK_OM): Define as 0x04.
33238         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
33239         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
33240         0x00c10080.
33241         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
33242         0x0000003c.
33243         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
33245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
33246         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
33247         getcontext_e500.
33248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
33249         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
33250         setcontext_e500.
33251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
33252         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
33253         and setcontext_e500.
33255 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
33257         * locale/iso-3166.def: Update iso-1366.def and related occurrences
33259 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33261         * manual/threads.texi (Default Thread Attributes): Fix typo.
33263 2013-10-04  Will Newton  <will.newton@linaro.org>
33265         * malloc/Makefile: Add tst-memalign.
33266         * malloc/tst-memalign.c: New file.
33268         * malloc/tst-posix_memalign.c: Add comments.
33269         (do_test): Add comments and call free on all potentially
33270         allocated pointers. Add space after cast.
33272         * malloc/tst-pvalloc.c: Add comments.
33273         (do_test): Add comments and call free on all potentially
33274         allocated pointers. Remove duplicate check for NULL pointer.
33275         Add space after cast.
33277         * malloc/tst-valloc.c: Add comments.
33278         (do_test): Add comments and call free on all potentially
33279         allocated pointers. Remove duplicate check for NULL pointer.
33280         Add space after cast.
33282 2013-10-04  Alan Modra  <amodra@gmail.com>
33284         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
33285         Use stdint types in rather than __attribute__((mode())).
33286         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
33288 2013-10-04  Alan Modra  <amodra@gmail.com>
33290         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
33291         Correct handling of unaligned relocs for little-endian.
33292         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
33294 2013-10-04  Alan Modra  <amodra@gmail.com>
33296         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
33297         * configure: Regenerate.
33298         * nptl/shlib-versions: Powerpc*le starts at 2.18.
33299         * shlib-versions: Likewise.
33301 2013-10-04  Alan Modra  <amodra@gmail.com>
33303         * string/tester.c (test_memrchr): Increment reported test cycle.
33305 2013-10-04  Alan Modra  <amodra@gmail.com>
33307         * string/test-memcpy.c (do_one_test): When reporting errors, print
33308         string address and don't overrun end of string.
33310 2013-10-04  Alan Modra  <amodra@gmail.com>
33312         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
33313         insrdi.  Make better use of reg selection to speed exit slightly.
33314         Schedule entry path a little better.  Remove useless "are we done"
33315         checks on entry to main loop.  Handle wrapping around zero address.
33316         Correct main loop count.  Handle single left-over word from main
33317         loop inline rather than by using loop_small.  Remove extra word
33318         case in loop_small caused by wrong loop count.  Add little-endian
33319         support.
33320         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
33321         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
33322         cache hint.
33323         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
33324         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
33325         support.  Avoid rlwimi.
33326         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
33328 2013-10-04  Alan Modra  <amodra@gmail.com>
33330         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
33331         insrdi.  Formatting.
33332         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
33333         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
33334         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
33335         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
33336         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
33337         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
33339 2013-10-04  Alan Modra  <amodra@gmail.com>
33341         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
33342         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33343         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
33344         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
33345         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
33346         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
33347         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33348         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
33349         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
33350         use of regs.  Use power7 mtocrf.  Tidy function tails.
33352 2013-10-04  Alan Modra  <amodra@gmail.com>
33354         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
33355         Formatting.  Consistently use rXXX register defines or rN defines.
33356         Use early exit labels that avoid restoring unused non-volatile regs.
33357         Make cr field use more consistent with rWORDn compares.  Rename
33358         regs used as shift registers for unaligned loop, using rN defines
33359         for short lifetime/multiple use regs.
33360         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
33361         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
33362         addi 1,1,64 to pop stack frame.  Simplify return value code.
33363         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33365 2013-10-04  Alan Modra  <amodra@gmail.com>
33367         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
33368         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
33369         rather than rlwimi.
33370         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
33371         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
33372         little-endian support.  Correct typos.
33373         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
33374         rather than rlwimi.
33375         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
33376         in loop and entry code to keep "and." results.
33377         (strchr): Add little-endian support.  Comment.  Move cntlzd
33378         earlier in tail.
33379         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
33381 2013-10-04  Alan Modra  <amodra@gmail.com>
33383         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
33384         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
33385         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
33386         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
33388 2013-10-04  Alan Modra  <amodra@gmail.com>
33390         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
33391         (rTMP): Define as r11.
33392         (strcmp): Add little-endian support.  Optimise tail.
33393         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
33394         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
33395         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
33396         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33397         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
33398         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33399         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33401 2013-10-04  Alan Modra  <amodra@gmail.com>
33403         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
33404         little-endian support.  Remove unnecessary "are we done" tests.
33405         Handle "s" wrapping around zero and extremely large "size".
33406         Correct main loop count.  Handle single left-over word from main
33407         loop inline rather than by using small_loop.  Correct comments.
33408         Delete "zero" tail, use "end_max" instead.
33409         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
33411 2013-10-04  Alan Modra  <amodra@gmail.com>
33413         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
33414         support.  Don't branch over align.
33415         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
33416         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
33417         support.  Rearrange tmp reg use to suit.  Comment.
33418         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
33420 2013-10-04  Alan Modra  <amodra@gmail.com>
33422         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
33424 2013-10-04  Alan Modra  <amodra@gmail.com>
33426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
33427         conditional form of branch and link when obtaining pc.
33428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
33430 2013-10-04  Alan Modra  <amodra@gmail.com>
33432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
33433         HIWORD/LOWORD.
33434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
33435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
33437 2013-10-04  Alan Modra  <amodra@gmail.com>
33439         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
33440         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
33441         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
33442         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
33443         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
33444         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
33445         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
33446         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
33447         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
33448         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
33450 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
33451             Alistair Popple <alistair@ozlabs.au.ibm.com>
33452             Alan Modra <amodra@gmail.com>
33454         [BZ #15723]
33455         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
33456         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
33457         _dl_hwcap access for little-endian.
33458         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
33459         destroy vmx regs when saving unaligned.
33460         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
33461         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
33462         destroy vmx regs when saving unaligned.
33464 2013-10-04  Alan Modra  <amodra@gmail.com>
33466         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
33467         Don't use a union to pack hi/low value.
33469 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
33471         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
33472         for little-endian.
33473         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
33474         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
33475         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
33476         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
33477         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
33479 2013-10-04  Alan Modra  <amodra@gmail.com>
33481         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
33482         constants to usual value for .cst8 section, and remove redundant
33483         high address load.
33484         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
33485         constant for 0x1p52.  Load little-endian words of double from
33486         correct stack offsets.
33488 2013-10-04  Alan Modra  <amodra@gmail.com>
33490         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
33491         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
33492         words of double from correct stack offsets.
33493         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
33494         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
33495         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
33496         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
33497         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
33498         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
33499         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
33500         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
33501         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
33502         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
33503         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
33504         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
33505         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
33506         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
33507         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
33508         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
33509         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
33511 2013-10-04  Alan Modra  <amodra@gmail.com>
33513         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
33514         64-bit int/double union.
33515         (_FPU_SETCW): Likewise.
33516         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
33517         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
33519 2013-10-04  Alan Modra  <amodra@gmail.com>
33521         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
33522         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
33524 2013-10-04  Alan Modra  <amodra@gmail.com>
33526         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
33527         use vector int constants.
33528         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
33530 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
33532         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
33533         array with long long.
33534         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
33535         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
33536         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
33537         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
33538         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
33539         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
33540         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
33541         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
33542         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
33543         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
33544         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
33545         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
33546         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
33548 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
33550         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
33551         (__signbit): Likewise.  Correct for little-endian.
33552         (__signbitl): Call __signbit.
33553         (lrint): Correct for little-endian.
33554         (lrintf): Call lrint.
33556 2013-10-04  Alan Modra  <amodra@gmail.com>
33558         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
33559         union 32-bit int array member with 64-bit int array.
33560         (t515, tm256): Double rather than long double.
33561         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
33563 2013-10-04  Alan Modra  <amodra@gmail.com>
33565         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
33566         Delete.
33567         (IEEE854_LONG_DOUBLE_BIAS): Delete.
33568         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
33569         version of math_ldbl.h.
33571 2013-10-04  Alan Modra  <amodra@gmail.com>
33573         [BZ #15734], [BZ #15735]
33574         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
33575         all uses of ieee875 long double macros and unions.  Simplify test
33576         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
33577         ldbl_extract_mantissa value for ix,iy exponents.  Properly
33578         normalize after ldbl_extract_mantissa, and don't add hidden bit
33579         already handled.  Don't treat low word of ieee854 mantissa like
33580         low word of IBM long double and mask off bit when testing for
33581         zero.
33582         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
33583         all uses of ieee875 long double macros and unions.  Simplify tests
33584         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
33585         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
33586         two1022, instead use their values.  Recognise that tests for large
33587         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
33588         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
33589         Rewrite all uses of ieee875 long double macros and unions.  Simplify
33590         test for 0.0L and nan.  Correct negation.
33591         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
33592         ieee875 long double macros and unions.  Correct output for large
33593         magnitude x.  Correct absolute value calculation.
33594         (__erfcl): Likewise.
33595         * math/libm-test.inc: Add tests for errors discovered in IBM long
33596         double versions of fmodl, remainderl, erfl and erfcl.
33598 2013-10-04  Alan Modra  <amodra@gmail.com>
33600         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
33601         all uses of ieee854 long double macros and unions.  Simplify tests
33602         for long doubles that are fully specified by the high double.
33603         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
33604         Likewise.
33605         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
33606         Remove dead code too.
33607         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
33608         (__ieee754_ynl): Likewise.
33609         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
33610         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
33611         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
33612         Remove dead code too.
33613         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
33614         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
33615         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
33616         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
33617         Simplify.
33618         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
33619         Simplify.
33620         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
33621         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
33622         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
33623         Comment on variable precision.
33624         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
33625         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
33626         Likewise.
33627         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
33628         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
33629         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
33630         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
33631         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
33633 2013-10-04  Alan Modra  <amodra@gmail.com>
33635         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
33636         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
33637         all uses of ieee854 long double macros and unions.
33638         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
33639         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
33640         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
33641         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
33642         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
33643         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33644         Likewise.
33645         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
33646         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
33647         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
33648         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
33649         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
33650         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
33651         Simplify sign and nan test too.
33652         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
33653         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
33654         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
33655         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
33656         Likewise.
33657         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
33658         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
33659         Likewise.
33660         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33661         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
33662         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
33663         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
33664         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
33665         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
33667 2013-10-04  Alan Modra  <amodra@gmail.com>
33669         * stdio-common/printf_size.c (__printf_size): Don't use
33670         union ieee854_long_double in fpnum union.
33671         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
33672         signbit macro to retrieve sign from long double.
33673         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
33674         retrieve sign from long double.
33675         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
33676         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
33677         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
33678         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
33679         * math/test-misc.c (main): Don't use union ieee854_long_double.
33681 2013-10-04  Alan Modra  <amodra@gmail.com>
33683         [BZ #15680]
33684         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
33685         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
33686         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
33687         calculation.  Remove unnecessary test for denormal exponent.
33688         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
33689         Correct handling of denormals.  Avoid undefined shift behaviour.
33690         Correct normalisation of low mantissa when low double is denormal.
33691         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
33692         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
33693         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
33694         Correct normalisation of low mantissa.  Test for overflow of high
33695         mantissa and normalise.
33696         (ldbl_nearbyint): Use more readable constant for two52.
33697         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
33698         (__mpn_construct_long_double): Fix test for overflow of high
33699         mantissa and correct normalisation.  Avoid undefined shift.
33701 2013-10-04  Alan Modra  <amodra@gmail.com>
33703         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
33704         (union ibm_extended_long_double): Define as an array of ieee754_double.
33705         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
33706         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
33707         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
33708         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
33709         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33710         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
33711         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
33712         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
33713         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
33714         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
33715         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
33717 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
33719         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
33720         page size instead of calling getpagesize.
33722         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
33723         (LOCFILE_ALIGN_MASK): Likewise.
33724         (LOCFILE_ALIGN_UP): Likewise.
33725         (LOCFILE_ALIGNED_P): Likewise.
33726         * locale/programs/ld-collate.c (collate_output): Use the new
33727         macros instead of __alignof__ (int32_t).
33728         * locale/weight.h (findidx): Likewise.
33730 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
33732         [BZ #431]
33733         * manual/string.texi: Fix strncat and wcsncat.
33735 2013-10-03  Brooks Moses  <bmoses@google.com>
33737         [BZ #15915]
33738         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
33739         * Makerules: ...here, and adjust associated comments.
33741 2013-10-02  Will Newton  <will.newton@linaro.org>
33743         * malloc/Makefile: Add tst-pvalloc.
33744         * malloc/tst-pvalloc.c: New file.
33746 2013-10-02  Will Newton  <will.newton@linaro.org>
33748         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
33749         improve test coverage.
33751 2013-10-02  Will Newton  <will.newton@linaro.org>
33753         * malloc/Makefile: Add tst-posix_memalign.
33754         * malloc/tst-posix_memalign.c: New file.
33756 2013-10-01  Eric Blake  <eblake@redhat.com>
33758         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
33759         Use __THROWNL rather than __THROW on static functions.
33761 2013-09-30  Petr Machata  <pmachata@redhat.com>
33763         * elf/elf.h (R_AARCH64_ABS16): New macro.
33764         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
33765         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
33766         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
33767         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
33768         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
33769         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
33770         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
33771         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
33772         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
33773         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
33774         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
33775         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
33776         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
33777         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
33778         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
33779         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
33780         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
33781         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
33782         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
33783         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
33784         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
33785         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
33786         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
33787         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
33788         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
33789         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
33790         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
33791         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
33792         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
33793         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
33794         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
33795         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
33796         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
33797         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
33798         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
33799         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
33800         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
33801         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
33802         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
33803         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
33804         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
33805         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
33806         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
33807         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
33808         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
33809         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
33810         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
33811         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
33812         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
33813         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
33814         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
33815         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
33816         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
33817         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
33818         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
33819         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
33820         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
33821         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
33822         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
33823         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
33824         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
33825         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
33826         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
33827         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
33828         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
33829         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
33830         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
33831         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
33832         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
33833         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
33834         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
33835         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
33836         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
33837         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
33838         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
33839         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
33840         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
33841         (R_AARCH64_TLSDESC_LDR): Likewise.
33842         (R_AARCH64_TLSDESC_ADD): Likewise.
33843         (R_AARCH64_TLSDESC_CALL): Likewise.
33845 2013-09-30  Andreas Schwab  <schwab@suse.de>
33847         [BZ #15048]
33848         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
33849         the nss database lookup.
33850         * nscd/initgrcache.c (addinitgroupsX): Likewise.
33851         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
33853 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
33855         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
33857 2013-09-28  P. J. McDermott  <pj@pehjota.net>
33859         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
33860         ${Bash-specific parameter/pattern/string} parameter expansion.
33861         * sysdeps/unix/make-syscalls.sh: Likewise.
33863 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33865         * sysdeps/sh/stackguard-macros.h: New file.
33867 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
33869         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
33870         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
33871         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
33872         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
33873         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33874         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
33876 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33878         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
33879         Fix thread ID register.
33881 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
33883         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
33884         [POSIX || UNIX98]: Require rather than permitting all symbols from
33885         <time.h>.
33886         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
33887         element of struct sched_param.
33888         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
33889         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
33890         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
33891         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
33892         constant.
33894 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
33896         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
33897         argument calculation.
33899 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
33901         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
33902         Expect macro.
33903         [POSIX] (pthread_attr_t): Do not require type.
33904         [POSIX] (pthread_cond_t): Likewise.
33905         [POSIX] (pthread_condattr_t): Likewise.
33906         [POSIX] (pthread_key_t): Likewise.
33907         [POSIX] (pthread_mutex_t): Likewise.
33908         [POSIX] (pthread_mutexattr_t): Likewise.
33909         [POSIX] (pthread_once_t): Likewise.
33910         [POSIX] (pthread_t): Likewise.
33911         [POSIX-based standards] (pthread_atfork): Expect function.
33913 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
33914             Richard Sandiford  <richard@codesourcery.com>
33916         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
33917         (swap_endianness_p): New extern variable.
33918         (set_big_endian): New inline function.
33919         (maybe_swap_uint32): Likewise.
33920         (maybe_swap_uint32_array): Likewise.
33921         (maybe_swap_uint32_obstack): Likewise.
33922         * locale/programs/locfile.c: Include <stdbool.h>.
33923         (swap_endianness_p): New variable.
33924         (add_locale_uint32): Call maybe_swap_uint32.
33925         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
33926         (write_locale_data): Call maybe_swap_uint32_array.
33927         * locale/programs/ld-collate.c (obstack_int32_grow): Call
33928         maybe_swap_uint32.
33929         (obstack_int32_grow_fast): Likewise.
33930         (output_weightwc): Call maybe_swap_uint32_obstack.
33931         (collate_output): Likewise.
33932         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
33933         (OPT_LITTLE_ENDIAN): Likewise.
33934         (options): Add --little-endian and --big-endian options.
33935         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
33936         * locale/programs/locarchive.c: Include "locfile.h".
33937         (GET): New macro.
33938         (SET): Likewise.
33939         (INC): Likewise.
33940         (create_archive): Use the new macros to access fields of
33941         structures directly mapped from or written to locale archives.
33942         (oldlocrecentcmp): Likewise.
33943         (enlarge_archive): Likewise.
33944         (insert_name): Likewise.
33945         (add_alias): Likewise.
33946         (add_locale): Likewise.
33947         (delete_locales_from_archive): Likewise.
33948         (show_archive_content): Likewise.
33949         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
33950         locale data.
33952 2013-09-24  Roland McGrath  <roland@hack.frob.com>
33954         * manual/freemanuals.texi: Updated from (newly) canonical copy at
33955         http://www.gnu.org/doc/freemanuals.texi.
33956         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
33958 2013-09-24  Will Newton  <will.newton@linaro.org>
33960         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
33961         macro.
33963 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
33965         * locale/hashval.h (compute_hashval): Interpret bytes of key as
33966         unsigned char.
33968 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
33970         * manual/threads.texi (POSIX Threads): Fix a typo.
33972 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
33974         [BZ #14547]
33975         * string/tst-strcoll-overflow.c: New test case.
33976         * string/Makefile (xtests): Add tst-strcoll-overflow.
33977         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
33978         cache if string sizes may cause integer overflow.
33980         [BZ #14547]
33981         * string/strcoll_l.c (coll_seq): New members rule, idx,
33982         save_idx and back_us.
33983         (get_next_seq_nocache): New function.
33984         (do_compare_nocache): New function.
33985         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
33986         when malloc fails.
33988 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
33990         [BZ #15754]
33991         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
33992         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
33993         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
33995         [BZ #15754]
33996         * elf/Makefile (tests): Add tst-ptrguard1.
33997         (tests-static): Add tst-ptrguard1-static.
33998         (tst-ptrguard1-ARGS): Define.
33999         (tst-ptrguard1-static-ARGS): Define.
34000         * elf/tst-ptrguard1.c: New file.
34001         * elf/tst-ptrguard1-static.c: New file.
34002         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
34003         * sysdeps/i386/stackguard-macros.h: Likewise.
34004         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
34005         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
34006         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
34007         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
34008         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
34009         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
34011 2013-09-23  Hector Marco  <hecmargi@upv.es>
34012             Ismael Ripoll  <iripoll@disca.upv.es>
34013             Carlos O'Donell  <carlos@redhat.com>
34015         [BZ #15754]
34016         * sysdeps/generic/stackguard-macros.h: Define
34017         __pointer_chk_guard_local and POINTER_CHK_GUARD.
34018         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
34019         Define __pointer_chk_guard_local.
34020         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
34021         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
34023 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
34025         [BZ #15859]
34026         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
34028 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
34030         * include/string.h (__ffs): Declare as hidden.
34031         * string/ffs.c (__ffs): Define as hidden.
34032         * sysdeps/i386/ffs.c (__ffs): Likewise.
34033         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
34034         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
34035         * sysdeps/s390/ffs.c (__ffs): Likewise.
34036         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
34038 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
34040         * NEWS: Mention malloc probes.
34042         * malloc/arena.c (new_heap): New memory_heap_new probe.
34043         (grow_heap): New memory_heap_more probe.
34044         (shrink_heap): New memory_heap_less probe.
34045         (heap_trim): New memory_heap_free probe.
34046         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
34047         (systrim): New memory_sbrk_less probe.
34048         * manual/probes.texi: Document them.
34050         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
34051         * manual/probes.texi: Document it.
34053         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
34054         (__libc_realloc): Add memory_realloc_retry probe.
34055         (__libc_memalign): Add memory_memalign_retry probe.
34056         (__libc_valloc): Add memory_valloc_retry probe.
34057         (__libc_pvalloc): Add memory_pvalloc_retry probe.
34058         (__libc_calloc): Add memory_calloc_retry probe.
34059         * manual/probes.texi: Document them.
34061         * malloc/arena.c (get_free_list): Add probe
34062         memory_arena_reuse_free_list.
34063         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
34064         and memory_arena_reuse.
34065         (arena_get2) [!PER_THREAD]: Likewise.
34066         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
34067         memory_arena_reuse_realloc.
34068         * manual/probes.texi: Document them.
34070         * malloc/malloc.c (__libc_free): Add
34071         memory_mallopt_free_dyn_thresholds probe.
34072         (__libc_mallopt): Add multiple memory_mallopt probes.
34073         * manual/probes.texi: Document them.
34075         * malloc/malloc.c: Include stap-probe.h.
34076         (__libc_mallopt): Add memory_mallopt probe.
34077         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
34078         * manual/probes.texi: New.
34079         * manual/Makefile (chapters): Add probes.
34080         * manual/threads.texi: Set next node.
34082 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
34084         [BZ #15963, #13985]
34085         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
34086         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
34087         Add `Chinese' to `nan' entry name.
34089 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
34091         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
34092         (POLYNOMIAL): Likewise.
34093         (TAYLOR_SINCOS): Likewise.
34094         (TAYLOR_SLOW): Likewise.
34095         (__sin): Use TAYLOR_SINCOS.
34096         (__cos): Likewise.
34097         (slow): Use TAYLOR_SLOW.
34098         (sloww): Likewise.
34099         (bsloww): Likewise.
34100         (csloww): Likewise.
34102 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34104         * stdlib/strtod_l.c: Fix buffer overrun.
34106 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
34108         * benchtests/Makefile (bench): Add sincos.
34109         * benchtests/bench-sincos.c: New file.
34111         * math/libm-test.inc (cos_test_data): New test inputs.
34112         (sin_test_data): Likewise.
34114         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
34115         macro.
34116         (__sin): Use it.
34117         (__cos): Likewise.
34118         (slow1): Likewise.
34119         (slow2): Likewise.
34120         (sloww1): Likewise.
34121         (sloww2): Likewise.
34122         (bsloww1): Likewise.
34123         (bsloww2): Likewise.
34124         (cslow2): Likewise.
34125         (csloww1): Likewise.
34126         (csloww2): Likewise.
34128         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
34129         function.
34130         (__sin): Use it.
34131         (__cos): Likewise.
34133         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
34134         gotos.
34135         (__cos): Likewise.
34137 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
34139         * config.h.in (HAVE_MIPS_NAN2008): New macro.
34140         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
34141         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
34142         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
34143         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
34144         * elf/cache.c (print_entry): Handle the new cache flags.
34146 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
34147             Aldy Hernandez  <aldyh@redhat.com>
34149         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
34150         Change condition to [_SOFT_FLOAT].
34151         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
34152         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
34153         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
34154         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
34155         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
34156         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
34157         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
34158         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
34159         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
34160         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
34161         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
34162         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
34163         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
34164         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
34165         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
34166         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
34167         declaration.
34169 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
34171         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
34172         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
34173         (__longjmp): Use LOAD_GP to load saved GPRs.
34174         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
34175         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
34176         (__sigsetjmp): Use SAVE_GP to save GPRs.
34178         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
34179         Do not append -msoft-float.
34180         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
34182 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
34184         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
34186 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
34188         [BZ #15966]
34189         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
34190         (_FPU_GETCW): Use initial "__" on variable and field names but not
34191         on macro parameter name.
34192         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
34193         parentheses around reference to macro parameter.
34195 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
34197         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
34198         prototype.
34199         (ctype_startup): Use uint32_t in cast and sizeof for
34200         ctype->charnames.
34202 2013-09-11  Jia Liu  <proljc@gmail.com>
34204         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
34205         __daddr_t_defined.
34206         [__FreeBSD__]: Likewise.
34208 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
34210         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
34211         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
34212         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
34213         (strchr): Remove __strchr_sse42 ifunc selection.
34214         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
34215         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
34217 2013-09-11  Will Newton  <will.newton@linaro.org>
34219         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
34220         parameter to RES. Remove hardcoded 1000 value.
34221         * benchtests/bench-skeleton.c (main): Pass RES parameter
34222         to TIMING_INIT and multiply result by 1000.
34224 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34226         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34228 2013-09-11  Andreas Schwab  <schwab@suse.de>
34230         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
34231         if not defined.
34232         (O_TMPFILE) [__USE_GNU]: Define.
34233         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
34234         Define.
34236 2013-09-11  Will Newton  <will.newton@linaro.org>
34238         [BZ #15857]
34239         * malloc/malloc.c (__libc_memalign): Check the value of bytes
34240         does not overflow.
34242 2013-09-11  Will Newton  <will.newton@linaro.org>
34244         [BZ #15856]
34245         * malloc/malloc.c (__libc_valloc): Check the value of bytes
34246         does not overflow.
34248 2013-09-11  Will Newton  <will.newton@linaro.org>
34250         [BZ #15855]
34251         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
34252         does not overflow.
34254 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
34256         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
34257         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34258         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
34259         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
34260         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
34262 2013-09-10  Allan McRae  <allan@archlinux.org>
34264         [BZ #15748]
34265         * manual/arith.texi (Parsing of Floats): Clarify
34266         cross-reference.
34268         [BZ #15849]
34269         * manual/install.texi (Running make install): Mention
34270         --enable-pt-chown.
34271         * INSTALL: Regenerated.
34273 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
34275         * csu/init-first.c (_init): Remove the !SHARED condition around
34276         FPU control word initialization.
34277         * elf/dl-support.c (_dl_fpu_control): New variable.
34278         (_dl_aux_init) <AT_FPUCW>: Initialize it.
34279         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
34280         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
34281         * math/test-fpucw-static.c: New file.
34282         * math/test-fpucw-ieee.c: New file.
34283         * math/test-fpucw-ieee-static.c: New file.
34284         * math/Makefile (tests): Add `test-fpucw-ieee' and
34285         `$(tests-static)'.
34286         (tests-static): New variable.
34287         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
34288         dependency to...
34289         [($(build-shared),yes)]
34290         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
34291         ... this.
34292         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
34293         New dependency.
34295 2013-09-09  Allan McRae  <allan@archlinux.org>
34297         [BZ #15939]
34298         * manual/string.texi (Collation Functions): Fix typo in
34299         strcoll example.
34300         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
34302         [BZ #15893]
34303         * stdlib/isomac.c (get_null_defines): Fix memory leak.
34305         [BZ #15892]
34306         * libio/memstream.c (open_memstream): Fix memory leak.
34307         * libio/wmemstream.c (open_wmemstream): Likewise.
34309         [BZ #15895]
34310         * nscd/netgroupcache.c: Fix nesting of ifdefs.
34312 2013-09-09  Will Newton  <will.newton@linaro.org>
34314         * malloc/Makefile: Add tst-realloc to tests.
34315         * malloc/tst-realloc.c: New file.
34317 2013-09-09  Allan McRae  <allan@archlinux.org>
34319         [BZ #15844]
34320         * COPYING: Update from GNU website to fix FSF address.
34321         * COPYING.LIB: Likewise.
34323 2013-09-06  David S. Miller  <davem@davemloft.net>
34325         * po/zh_TW.po: Update Chinese (traditional) translation from
34326         translation project.
34328 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
34329             Joseph Myers  <joseph@codesourcery.com>
34331         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
34332         "localeinfo.h".
34333         (obstack_chunk_alloc): New macro.
34334         (obstack_chunk_free): Likewise.
34335         (record_offset): New function.
34336         (init_locale_data): Likewise.
34337         (align_locale_data): Likewise.
34338         (add_locale_empty): Likewise.
34339         (add_locale_raw_data): Likewise.
34340         (add_locale_raw_obstack): Likewise.
34341         (add_locale_string): Likewise.
34342         (add_locale_wstring): Likewise.
34343         (add_locale_uint32): Likewise.
34344         (add_locale_uint32_array): Likewise.
34345         (add_locale_char): Likewise.
34346         (start_locale_structure): Likewise.
34347         (end_locale_structure): Likewise.
34348         (start_locale_prelude): Likewise.
34349         (end_locale_prelude): Likewise.
34350         (write_locale_data): Take locale_file structure rather than an
34351         iovec.
34352         * locale/programs/locfile.h: Include "obstack.h".
34353         (struct locale_file): Change to store locale file contents instead
34354         of header.
34355         (init_locale_data): New prototype.
34356         (align_locale_data): Likewise.
34357         (add_locale_empty): Likewise.
34358         (add_locale_raw_data): Likewise.
34359         (add_locale_raw_obstack): Likewise.
34360         (add_locale_string): Likewise.
34361         (add_locale_wstring): Likewise.
34362         (add_locale_uint32): Likewise.
34363         (add_locale_uint32_array): Likewise.
34364         (add_locale_char): Likewise.
34365         (start_locale_structure): Likewise.
34366         (end_locale_structure): Likewise.
34367         (start_locale_prelude): Likewise.
34368         (end_locale_prelude): Likewise.
34369         (write_locale_data): Update prototype.
34370         * locale/programs/3level.h (struct TABLE): Remove result field.
34371         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
34372         Use new locale_file interface.
34373         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
34374         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
34375         * locale/programs/ld-address.c (address_output): Use new
34376         locale_file interface.
34377         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
34378         NO_ADD_LOCALE.
34379         (collate_finish): Don't call collseq_table_finalize.
34380         (collate_output): Use new locale_file interface.
34381         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
34382         in file.
34383         (NO_FINALIZE): Change to NO_ADD_LOCALE.
34384         (TABLE): Move defines earlier in file.
34385         (ELEMENT): Likewise.
34386         (DEFAULT): Likewise.
34387         (wctrans_table_add): Move macro and inline function earlier in
34388         file.
34389         (struct wctype_table): Move type earlier in file.
34390         (add_locale_wctype_table): New static prototype.
34391         (struct locale_ctype_t): Use logical types instead of struct iovec
34392         pointers for members.
34393         (ctype_output): Use new locale_file interface.
34394         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
34395         new locale_file interface.
34396         (allocate_arrays): Update for use of new locale_file interface.
34397         * locale/programs/ld-identification.c (identification_output): Use
34398         new locale_file interface.
34399         * locale/programs/ld-measurement.c (measurement_output): Likewise.
34400         * locale/programs/ld-messages.c (messages_output): Likewise.
34401         * locale/programs/ld-monetary.c (monetary_output): Likewise.
34402         * locale/programs/ld-name.c (name_output): Likewise.
34403         * locale/programs/ld-numeric.c (numeric_output): Likewise.
34404         * locale/programs/ld-paper.c (paper_output): Likewise.
34405         * locale/programs/ld-telephone.c (telephone_output): Likewise.
34406         * locale/programs/ld-time.c (time_output): Likewise.
34408 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34410         * benchtests/Makefile: Add memrchr benchmark.
34411         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
34412         benchmark as memrchr.
34413         * benchtests/bench-memrchr-ifunc.c: New file.
34414         * benchtests/bench-memrchr.c: New file.
34416 2013-09-06   Will Newton  <will.newton@linaro.org>
34418         * benchtests/Makefile (string-bench): Add memcpy.
34420 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
34421             Cong Wang  <amwang@redhat.com>
34423         [BZ #15850]
34424         * sysdeps/unix/sysv/linux/bits/in.h
34425         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
34426         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
34427         before __USE_KERNEL_IPV6_DEFS uses.
34428         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
34429         IPPROTO_BEETPH.
34430         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
34431         sockaddr_in6, or ipv6_mreq.
34433 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34435         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
34436         memory access for final bytes in some large inputs.
34437         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
34439 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34441         * string/test-memrchr.c: New file.
34442         * string/test-memrchr-ifunc.c: New file.
34443         * string/Makefile: Add new memrchr testcase.
34445 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
34447         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
34448         fanotify_init returns EPERM.
34450 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
34452         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
34453         errors.
34454         (top level): Treat second token from macro or constant entries for
34455         allowed headers as allowed.
34456         * include/complex.h: Condition internal declarations on
34457         [!_ISOMAC].
34458         * include/fenv.h: Condition include of <stdbool.h> and internal
34459         declarations on [!_ISOMAC].
34461 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
34463         [BZ #15923]
34464         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
34466 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
34468         * configure.in (--enable-versioning): Remove configure option.
34469         (libc_cv_asm_symver_directive): Remove configure test.
34470         (libc_cv_ld_version_script_option): Likewise.
34471         (VERSIONING): Remove variable and AC_SUBST.
34472         (DO_VERSIONING): Remove AC_DEFINE.
34473         * configure: Regenerated.
34474         * config.h.in (DO_VERSIONING): Remove macro.
34475         * Makerules [$(versioning) = yes]: Change conditionals to
34476         [$(build-shared) = yes].
34477         * config.make.in (versioning): Remove variable.
34478         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
34479         [$(build-shared) = yes].
34480         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
34481         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
34482         * elf/Makefile [$(versioning) = yes]: Change conditionals to
34483         [$(build-shared) = yes].
34484         * extra-lib.mk [$(versioning) = yes]: Likewise.
34485         * hurd/Makefile [$(versioning) = yes]: Likewise.
34486         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
34487         [SHARED].
34488         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
34489         [SHARED].
34490         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
34491         [SHARED && !NO_HIDDEN].
34492         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
34493         [SHARED].
34494         [SHARED && DO_VERSIONING]: Likewise..
34495         * libio/Makefile [$(versioning) = yes]: Change conditionals to
34496         [$(build-shared) = yes].
34497         * manual/install.texi (--disable-versioning): Remove
34498         documentation.
34499         * INSTALL: Regenerated.
34500         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
34501         to [SHARED].
34502         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
34503         [$(build-shared) = yes].
34504         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
34505         * sysdeps/i386/i686/multiarch/strstr-c.c
34506         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
34507         [SHARED && !NO_HIDDEN].
34508         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
34509         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
34510         * sysdeps/powerpc/powerpc32/dl-machine.c
34511         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
34512         * sysdeps/powerpc/powerpc32/sysdep.h
34513         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
34514         to [SHARED && PIC && !NO_HIDDEN].
34515         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
34516         conditional to [SHARED].
34518 2013-09-04   Will Newton  <will.newton@linaro.org>
34520         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
34521         * benchtests/bench-string.h: Include bench-timing.h instead
34522         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
34523         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
34524         call to HP_TIMING_DIFF_INIT.
34525         * benchtests/bench-memccpy.c: Use bench-timing.h macros
34526         instead of hp-timing.h macros.
34527         * benchtests/bench-memchr.c: Likewise.
34528         * benchtests/bench-memcmp.c: Likewise.
34529         * benchtests/bench-memcpy.c: Likewise.
34530         * benchtests/bench-memmem.c: Likewise.
34531         * benchtests/bench-memmove.c: Likewise.
34532         * benchtests/bench-memset.c: Likewise.
34533         * benchtests/bench-rawmemchr.c: Likewise.
34534         * benchtests/bench-strcasecmp.c: Likewise.
34535         * benchtests/bench-strcasestr.c: Likewise.
34536         * benchtests/bench-strcat.c: Likewise.
34537         * benchtests/bench-strchr.c: Likewise.
34538         * benchtests/bench-strcmp.c: Likewise.
34539         * benchtests/bench-strcpy.c: Likewise.
34540         * benchtests/bench-strcpy_chk.c: Likewise.
34541         * benchtests/bench-strlen.c: Likewise.
34542         * benchtests/bench-strncasecmp.c: Likewise.
34543         * benchtests/bench-strncat.c: Likewise.
34544         * benchtests/bench-strncmp.c: Likewise.
34545         * benchtests/bench-strncpy.c: Likewise.
34546         * benchtests/bench-strnlen.c: Likewise.
34547         * benchtests/bench-strpbrk.c: Likewise.
34548         * benchtests/bench-strrchr.c: Likewise.
34549         * benchtests/bench-strspn.c: Likewise.
34550         * benchtests/bench-strstr.c: Likewise.
34552 2013-09-04  Will Newton  <will.newton@linaro.org>
34554         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
34556 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
34558         [BZ #15427]
34559         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
34560         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
34561         * math/libm-test.inc (lgamma_test_data): Add more tests.
34562         * sysdeps/i386/fpu/libm-test-ulps: Update.
34563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34565 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
34567         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
34568         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34569         Add ifunc.
34570         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
34571         Add strcmp-sse2-unaligned
34572         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
34574 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
34576         * Versions.def (libc): Add GLIBC_2.19.
34578 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
34580         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
34581         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
34583 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
34585         [BZ #14155]
34586         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
34587         intermediate calculations in recurrence.
34588         (__ieee754_ynf): Likewise.
34589         * math/libm-test.inc (jn_test_data): Do not allow spurious
34590         underflow exception.  Add more tests.
34591         (yn_test_data): Add more tests.
34592         * sysdeps/i386/fpu/libm-test-ulps: Update.
34593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34595 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
34597         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
34599 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
34601         * csu/init-first.c: Fix then/than typos.
34602         * locale/programs/ld-collate.c: Likewise.
34603         * locale/programs/linereader.h: Likewise.
34604         * manual/charset.texi: Likewise.
34605         * manual/filesys.texi: Likewise.
34606         * manual/stdio.texi: Likewise.
34607         * manual/string.texi: Likewise.
34608         * stdlib/fmtmsg.c: Likewise.
34609         * sysdeps/i386/stpncpy.S: Likewise.
34610         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
34611         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
34612         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
34613         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
34615 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
34617         * elf/dl-open.c: Fix typos.
34618         * iconvdata/gbbig5.c: Likewise.
34619         * iconvdata/iso-2022-jp.c: Likewise.
34620         * iconv/gconv_int.h: Likewise.
34621         * iconv/loop.c: Likewise.
34622         * nis/rpcsvc/nis.h: Likewise.
34623         * resolv/ns_name.c: Likewise.
34624         * stdio-common/vfscanf.c: Likewise.
34625         * streams/stropts.h: Likewise.
34626         * sunrpc/rpc_thread.c: Likewise.
34627         * sysdeps/i386/strpbrk.S: Likewise.
34628         * sysdeps/ieee754/k_standard.c: Likewise.
34629         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
34630         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34631         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
34632         * sysdeps/mach/hurd/profil.c: Likewise.
34633         * sysdeps/s390/dl-procinfo.h: Likewise.
34634         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
34635         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
34636         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
34637         * sysdeps/x86_64/dl-trampoline.S: Likewise.
34638         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
34640 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
34642         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
34643         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
34645 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
34647         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
34648         aix specific files.
34649         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
34650         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
34651         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
34652         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
34653         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
34654         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
34655         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
34656         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
34658 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
34659             Roland McGrath  <roland@hack.frob.com>
34661         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
34662         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
34664 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34666         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
34667         __executable_start symbol instead of _start.
34669 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
34671         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
34672         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
34673         Move macros to...
34674         * sysdeps/gnu/ldsodefs.h: ... this new file.
34676         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
34677         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
34678         instead of ELFOSABI_LINUX.
34680         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
34681         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
34682         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
34683         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
34684         Likewise.
34685         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
34686         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
34687         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
34688         Likewise.
34689         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
34690         (ibm_extended_long_double): Add ieee_nan member.
34691         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
34692         (do_test): New function.
34694         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
34695         TEST_TRUNC.
34696         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
34697         functions, renamed from truncdfsf_test, trunctfsf_test,
34698         trunctfdf_test.
34699         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
34700         functions.
34701         (do_test): Run all these.
34703 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
34705         * argp/argp-help.c: Fix typos.
34706         * argp/argp-parse.c: Likewise.
34707         * debug/backtracesyms.c: Likewise.
34708         * elf/elf.h: Likewise.
34709         * malloc/malloc.c: Likewise.
34710         * nis/nis_print.c: Likewise.
34711         * resolv/res_comp.c: Likewise.
34712         * stdlib/stdlib.h: Likewise.
34713         * sunrpc/clnt_tcp.c: Likewise.
34714         * sunrpc/clnt_udp.c: Likewise.
34715         * sunrpc/clnt_unix.c: Likewise.
34716         * sysdeps/unix/bsd/ptsname.c: Likewise.
34717         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
34718         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
34719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
34720         Likewise.
34721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
34722         Likewise.
34723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
34724         Likewise.
34725         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
34727 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34729         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
34730         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
34732 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
34734         [BZ #15897]
34735         * dlfcn/Makefile (tests): Add bug-dl-leaf.
34736         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
34737         ($(objpfx)bug-dl-leaf): New rule.
34738         ($(objpfx)bug-dl-leaf.so): Likewise.
34739         ($(objpfx)bug-dl-leaf.out): Likewise.
34740         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
34741         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
34742         * dlfcn/bug-dl-leaf.c: New test.
34743         * dlfcn/bug-dl-leaf-lib.c: Likewise.
34744         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
34745         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
34746         (dlclose): Likewise.
34747         (dlmopen): Likewise.
34749 2013-08-27  Roland McGrath  <roland@hack.frob.com>
34751         * include/netdb.h [!_ISOMAC]:
34752         Don't include <tls.h>.
34753         (h_errno, __libc_h_errno): Move declaration and macros out of
34754         [_LIBC_REENTRANT].
34756         * include/resolv.h [_RESOLV_H_]:
34757         Don't include <tls.h>.
34758         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
34759         * resolv/res_libc.c: Don't include <tls.h>.
34760         (_res): Use __attribute__ ((nocommon)) in place of
34761         __attribute__ ((section (".bss"))).
34763         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
34764         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
34766         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
34768         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
34769         only under [SIOCGIFCONF && SIOCGIFNETMASK].
34771         * resolv/res_mkquery.c: Include <sys/time.h>.
34773         * inet/ifreq.c: Moved to ...
34774         * sysdeps/unix/ifreq.c: ... here.
34775         * inet/ifreq.c: New file, true stub version.
34777         * socket/sa_len.c: New file.
34778         * socket/Makefile (aux): Add it.
34779         * sysdeps/unix/sysv/linux/Makefile
34780         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
34781         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
34782         and #include <socket/sa_len.c>.
34783         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
34784         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
34786         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
34787         * bits/socket.h: ... here.
34789         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
34790         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
34791         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
34793 2013-08-27  Andreas Schwab  <schwab@suse.de>
34795         [BZ #15736]
34796         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
34797         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
34798         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
34799         * string/test-strcasecmp.c (test_main): Run tests in several
34800         locales.
34801         * string/test-strncasecmp.c (test_main): Likewise.
34803         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
34804         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
34805         to __strcasecmp_nonascii and __strncasecmp_nonascii.
34806         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
34807         (__strncasecmp_ssse3) [PIC]: Likewise.
34809 2013-08-26  Roland McGrath  <roland@hack.frob.com>
34811         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
34813         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
34814         instead of explicitly declaring xdecrypt.
34815         * nis/nss_nis/nis-publickey.c: Likewise.
34817 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34819         [BZ #15890]
34820         * nscd/aicache.c: Include res_hconf.h.
34821         (addhstaiX): Initialize res_hconf.
34823 2013-08-26  Andreas Schwab  <schwab@suse.de>
34825         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
34826         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
34828 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34830         * nscd/aicache.c (addhstaiX): Fix indentation.
34832 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
34834         * configure.ac: Quote $build_pt_chown test.
34835         * configure: Regenerated.
34837 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
34839         [BZ #15532]
34840         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
34841         * math/s_cexpf.c (__cexpf): Likewise.
34842         * math/s_cexpl.c (__cexpl): Likewise.
34843         * math/libm-test.inc (cexp_test_data): Correct expected return
34844         value for NaN + i0.  Add another test.
34846 2013-08-22  David S. Miller  <davem@davemloft.net>
34848         * po/ca.po: Update Catalan translation from translation project.
34849         * po/uk.po: Add Ukrainian translations from translation project.
34851 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
34853         [BZ #15797]
34854         * math/s_fdim.c (__fdim): Check for infinite arguments if result
34855         is infinite, not alongside NaN test.
34856         * math/s_fdimf.c (__fdimf): Likewise.
34857         * math/s_fdiml.c (__fdiml): Likewise.
34858         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
34859         errno is unchanged.
34861 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
34863         * argp/argp-help.c: Fix typos.
34864         * crypt/speeds.c: Likewise.
34865         * csu/check_fds.c: Likewise.
34866         * elf/dl-load.c: Likewise.
34867         * elf/dl-open.c: Likewise.
34868         * elf/reldep3.c: Likewise.
34869         * elf/reldep.c: Likewise.
34870         * elf/sprof.c: Likewise.
34871         * iconv/iconv_charmap.c: Likewise.
34872         * iconv/skeleton.c: Likewise.
34873         * iconv/strtab.c: Likewise.
34874         * io/lockf64.c: Likewise.
34875         * libio/libioP.h: Likewise.
34876         * resolv/gai_notify.c: Likewise.
34877         * resolv/ns_name.c: Likewise.
34878         * resolv/ns_samedomain.c: Likewise.
34879         * resolv/res_send.c: Likewise.
34880         * stdlib/random.c: Likewise.
34881         * sunrpc/rpc/xdr.h: Likewise.
34882         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
34883         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
34884         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34885         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34886         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34887         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
34888         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
34889         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34890         * sysdeps/mach/hurd/check_fds.c: Likewise.
34891         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
34892         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
34893         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34894         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
34895         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
34896         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
34897         * sysdeps/pthread/aio_notify.c: Likewise.
34898         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
34899         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
34900         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
34901         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34902         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
34904 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34906         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
34907         version if bit_Slow_SSE4_2 is set.
34908         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34909         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34911 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34913         [BZ #15867]
34914         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
34915         trampoline stack frame information.
34916         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
34917         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
34918         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
34919         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
34920         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
34921         * sysdeps/unix/sysv/linux/powerpc/init-first.c
34922         (_libc_vdso_platform_setup): Initialize the signal trampolines.
34923         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
34924         sa_flags value.
34925         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
34926         interrupting a syscall and set with option SA_SIGINFO.
34928 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
34930         [BZ #15531]
34931         * math/s_cproj.c (__cproj): Only return an infinity if one part of
34932         argument is infinite.
34933         * math/s_cprojf.c (__cprojf): Likewise.
34934         * math/s_cprojl.c (__cprojl): Likewise.
34935         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
34936         * math/libm-test.inc (cproj_test_data): Add more tests.
34938         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
34940         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
34941         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
34942         size.  Use __ffs to determine corresponding shift.
34944 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
34945             Roland McGrath  <roland@hack.frob.com>
34947         * Makefile (INSTALL): Remove trailing blank lines from output of
34948         makeinfo.
34950 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34952         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
34953         Align 32 bit compat elf_greg to 8 bytes.
34955 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
34957         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
34959 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
34961         * string/strcoll_l.c (coll_seq): New structure.
34962         (get_next_seq_cached): New function.
34963         (get_next_seq): New function.
34964         (do_compare): New function.
34965         (STRCOLL): Use GNU style definition.  Simplify implementation
34966         by using get_next_seq, get_next_seq_cached and do_compare.
34968 2013-08-16  Florian Weimer  <fweimer@redhat.com>
34970         [BZ #14699]
34971         CVE-2013-4237
34972         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
34973         member.
34974         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
34975         member.
34976         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
34977         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
34978         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
34979         conditional.
34980         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
34981         GETDENTS_64BIT_ALIGNED.
34982         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
34983         * manual/filesys.texi (Reading/Closing Directory): Document
34984         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
34985         strongly.
34986         * manual/conf.texi (Limits for Files): Add portability note to
34987         NAME_MAX, PATH_MAX.
34988         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
34990 2013-08-13  Andreas Schwab  <schwab@suse.de>
34992         [BZ #15749]
34993         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
34994         of fabs.
34995         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
34996         LDBL_MAX_EXP >= 16384]: Add tests for it.
34998 2013-08-12  David S. Miller  <davem@davemloft.net>
35000         * version.h (RELEASE): Set to "development".
35001         (VERSION): Set to "2.18.90".
35002         * NEWS: Add 2.19 section.
35004 2013-08-03  David S. Miller  <davem@davemloft.net>
35006         * po/ko.po: Update Korean translation from translation project.
35008 2013-08-01  David S. Miller  <davem@davemloft.net>
35010         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
35011         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
35012         Bilka.
35014 2013-07-30  David S. Miller  <davem@davemloft.net>
35016         * po/fr.po: Update French translation from translation project.
35018 2013-07-28  David S. Miller  <davem@davemloft.net>
35020         * po/cs.po: Update Czech translation from translation project.
35022         * po/sv.po: Update Swedish translation from translation project.
35024 2013-07-27  David S. Miller  <davem@davemloft.net>
35026         * po/eo.po: Update Esperanto translation from translation project.
35028         * po/vi.po: Update Vietnamese translation from translation project.
35030         * po/de.po: Update German translation from translation project.
35032 2013-07-26  David S. Miller  <davem@davemloft.net>
35034         * po/bg.po: Update Bulgarian translation from translation project.
35036         * po/nl.po: Update Dutch translation from translation project.
35037         * po/pl.po: Update Polish translation from translation project.
35038         * po/ru.po: Update Russian translation from translation project.
35040 2013-07-24  David S. Miller  <davem@davemloft.net>
35042         * po/libc.pot: Update.
35044 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35046         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
35047         variable page size.
35048         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
35049         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
35050         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
35052 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35054         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
35056 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35057             Andreas Schwab  <schwab@suse.de>
35058             Roland McGrath  <roland@hack.frob.com>
35059             Joseph Myers  <joseph@codesourcery.com>
35060             Carlos O'Donell  <carlos@redhat.com>
35062         [BZ #15755]
35063         * config.h.in: Define HAVE_PT_CHOWN.
35064         * config.make.in (build-pt-chown): New variable.
35065         * configure.in (--enable-pt_chown): New configure option.
35066         * configure: Regenerate.
35067         * login/Makefile: Include Makeconfig.  Build pt_chown only if
35068         build-pt-chown is enabled.
35069         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
35070         pt_chown to fix pty ownership.
35071         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
35072         CLOSE_ALL_FDS.
35073         * manual/install.texi (Configuring and compiling): Mention
35074         --enable-pt_chown. Add @findex for grantpt.
35075         * INSTALL: Regenerate.
35077 2013-07-20  David S. Miller  <davem@davemloft.net>
35079         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
35080         difference between 32-bit and 64-bit.
35082 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
35084         [BZ #15711]
35085         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
35086         Avoid system header dependency with -ffreestanding.
35087         ($(objpfx)bits/syscall%d): Likewise.
35089 2013-07-13  David S. Miller  <davem@davemloft.net>
35091         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
35092         underflows from atanl/atan2l due to bug 15319.
35093         (casinh_test_data): Likewise.
35095 2013-07-07  David S. Miller  <davem@davemloft.net>
35097         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
35099 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
35101         * sysdeps/i386/fpu/libm-test-ulps: Update.
35102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35104 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
35106         * configure.in (--enable-lock-elision): Fix message text.
35107         * INSTALL: Regenerate.
35108         * configure: Regenerate.
35110 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35112         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35114 2013-07-03  Andreas Jaeger  <aj@suse.de>
35116         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
35117         define.
35118         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
35119         (ptrace_peeksiginfo_args): Add.
35120         (__ptrace_peeksiginfo_flags): Add.
35121         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35122         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35123         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35125 2013-07-03  Allan McRae  <allan@archlinux.org>
35127         * sysdeps/i386/fpu/libm-test-ulps: Update.
35129 2013-07-02  David S. Miller  <davem@davemloft.net>
35131         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35133 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
35135         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35137 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
35139         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
35140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35142 2013-07-02  Andi Kleen <ak@linux.intel.com>
35144         * config.h.in (ENABLE_LOCK_ELISION): Add.
35145         * configure.in (--enable-lock-elision): Add option.
35146         * manual/install.texi: Document --enable lock elision.
35147         * configure: Regenerate
35148         * INSTALL: Regenerate.
35150 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
35152         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
35153         SSE4.2 strcasecmp for libc.a.
35154         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
35156 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
35158         [BZ #13304]
35159         * soft-fp/op-common.h (_FP_FMA): New macro.
35160         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
35161         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
35162         (_FP_MUL_MEAT_1_imm): ... here.
35163         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
35164         (_FP_MUL_MEAT_1_wide): ... here.
35165         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
35166         (_FP_MUL_MEAT_1_hard): ... here.
35167         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
35168         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
35169         (_FP_MUL_MEAT_2_wide): ... here.
35170         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
35171         (_FP_MUL_MEAT_2_wide_3mul): ... here.
35172         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
35173         (_FP_MUL_MEAT_2_gmp): ... here.
35174         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
35175         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
35176         (_FP_MUL_MEAT_4_wide): ... here.
35177         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
35178         (_FP_MUL_MEAT_4_gmp): ... here.
35179         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
35180         (_FP_WFRACBITS_DW_S): Likewise.
35181         (_FP_WFRACXBITS_DW_S): Likewise.
35182         (_FP_HIGHBIT_DW_S): Likewise.
35183         (FP_FMA_S): Likewise.
35184         (_FP_FRAC_HIGH_DW_S): Likewise.
35185         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
35186         (_FP_WFRACBITS_DW_D): Likewise.
35187         (_FP_WFRACXBITS_DW_D): Likewise.
35188         (_FP_HIGHBIT_DW_D): Likewise.
35189         (FP_FMA_D): Likewise.
35190         (_FP_FRAC_HIGH_DW_D): Likewise.
35191         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
35192         (_FP_WFRACBITS_DW_E): Likewise.
35193         (_FP_WFRACXBITS_DW_E): Likewise.
35194         (_FP_HIGHBIT_DW_E): Likewise.
35195         (FP_FMA_E): Likewise.
35196         (_FP_FRAC_HIGH_DW_E): Likewise.
35197         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
35198         (_FP_WFRACBITS_DW_Q): Likewise.
35199         (_FP_WFRACXBITS_DW_Q): Likewise.
35200         (_FP_HIGHBIT_DW_Q): Likewise.
35201         (FP_FMA_Q): Likewise.
35202         (_FP_FRAC_HIGH_DW_Q): Likewise.
35203         * soft-fp/fmasf4.c: New file.
35204         * soft-fp/fmadf4.c: Likewise.
35205         * soft-fp/fmatf4.c: Likewise.
35207 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35209         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
35210         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
35211         Silvermont.
35212         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
35213         macro.
35214         (index_Slow_SSE4_2): Likewise.
35215         (index_Prefer_PMINUB_for_stringop): Likewise.
35216         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
35217         bit_Slow_SSE4_2 is set.
35218         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
35219         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35221 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
35223         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
35224         rtld_global._dl_hwcap2.
35225         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
35226         POWER8.
35227         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
35228         POWER8 feature descriptions defined in _dl_hwcap2.
35229         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
35230         string handling for POWER8 feature bits.
35231         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
35232         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
35233         _dl_powerpc_cap_flags.
35234         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
35235         * sysdeps/powerpc/rtld-global-offsets.sym
35236         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
35237         _dl_hwcap2 in the rtld_global_ro structure.
35239 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
35241         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
35242         hardware capabilities in support of AT_HWCAP2.
35243         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
35244         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
35245         GLRO(dl_hwcap2).
35246         (_dl_show_auxv): Add support for calling _dl_procinfo to display
35247         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
35248         explicitly the unknown a_type display mechanism is used.
35249         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
35250         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
35251         struct member.
35252         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
35253         to macro prototype for AT_HWCAP2 support.
35254         * sysdeps/i386/dl-procinfo.h: Likewise.
35255         * sysdeps/s390/dl-procinfo.h: Likewise.
35256         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
35257         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
35258         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
35259         return -1 for unknown a_type display fallback.
35260         * sysdeps/sparc/dl-procinfo.h: Likewise.
35261         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
35262         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
35264 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
35266         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
35267         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
35269 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
35271         [BZ #12492]
35272         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
35273         mprotect making __stack_prot writable.
35275 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
35276             Joseph Myers  <joseph@codesourcery.com>
35278         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
35279         as being properly aligned.
35281 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
35283         * dlfcn/modstatic5.c: New file.
35284         * dlfcn/tststatic5.c: New file.
35285         * dlfcn/Makefile (tests): Add tststatic5.
35286         (tests-static): Likewise.
35287         (modules-names): Add modstatic5.
35288         (tststatic5-ENV): New variable.
35289         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
35291         [BZ #15022]
35292         * elf/dl-support.c (_dl_main_map): New variable.
35293         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
35294         (_dl_nns, _dl_load_adds): Set to 1.
35295         (_dl_initial_searchlist): Refer to _dl_main_map.
35296         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
35297         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
35298         call to _dl_get_origin.
35299         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
35300         around call_map.
35301         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
35302         * dlfcn/modstatic3.c: New file.
35303         * dlfcn/tststatic3.c: New file.
35304         * dlfcn/tststatic4.c: New file.
35305         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
35306         (tests-static): Likewise.
35307         (modules-names): Add modstatic3.
35308         (tststatic3-ENV, tststatic4-ENV): New variables.
35309         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
35310         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
35312 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
35314         * configure.in (CC): Require GCC version 4.4 or later.
35315         * configure: Regenerated.
35316         * manual/install.texi (Tools for Compilation): Update GCC version
35317         requirement.
35318         * INSTALL: Regenerated.
35320 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35322         [BZ #15674]
35323         * string/test-memcmp.c (check2): New.
35324         (main): Call check2.
35326         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
35328 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
35330         [BZ #15022]
35331         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
35332         over to...
35333         (dl_open_worker) [!SHARED]: ... here.
35335 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
35337         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
35339 2013-06-25  Richard Henderson  <rth@redhat.com>
35341         * locale/programs/locarchive.c: Include <libc-internal.h>
35343 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
35345         * manual/texinfo.tex: Update to version 2013-06-21.17, with
35346         trailing whitespace removed.
35348 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
35350         [BZ #10283]
35351         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
35352         * locale/programs/locarchive.c: Include libc-mmap.h.
35353         (prepare_address_space): Take two new outputs (the mmap base and len).
35354         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
35355         values.
35356         (create_archive): Declare new mmap base and len values for
35357         prepare_address_space, and store the result in ah.
35358         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
35359         (enlarge_archive): If ah->mmap_base is not NULL, use that and
35360         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
35361         Declare new mmap base and len values for
35362         prepare_address_space, and store the result in new_ah.
35363         (open_archive): Declare new mmap base and len values for
35364         prepare_address_space, and store the result in ah.
35365         (close_archive): If ah->mmap_base is not NULL, use that and
35366         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
35367         * sysdeps/generic/libc-mmap.h: New file.
35369 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
35371         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
35372         (ALIGN_UP): Likewise.
35373         (PTR_ALIGN_DOWN): Likewise.
35374         (PTR_ALIGN_UP): Likewise.
35376 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
35378         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
35379         entry mapped to PPC_PLATFORM_POWER8.
35380         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
35381         POWER8.
35382         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
35383         (_dl_string_platform): Add case for exporting platform position for
35384         POWER8.
35385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
35386         search path to sysdeps/powerpc/powerpc32/power8 directory.
35387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
35388         search path to sysdeps/powerpc/powerpc64/power8 directory.
35389         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
35390         power7 directories.
35391         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
35392         power7 directories.
35394 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35396         * INSTALL: Regenerate.
35398         * nscd/connections.c (nscd_init): Fix comment.
35400 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
35402         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
35404         [BZ #15667]
35405         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
35406         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
35408 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
35410         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
35411         DL_DST_REQ_STATIC.
35412         (DL_DST_REQ_STATIC): Remove macro.
35414 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
35416         [BZ #7006]
35417         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
35418         with a shift of 0 bits.
35420 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
35422         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
35423         $(tststatic-ENV).
35425 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35427         [BZ #15655]
35428         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
35430 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35432         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
35433         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
35434         accepts -fno-tree-loop-distribute-patterns.
35435         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
35436         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
35437         recursive call.
35438         * string/memset.c (memset): Likewise.
35439         * string/test-memmove.c (simple_memmove): Disable loop transformation
35440         to library calls.
35441         * string/test-memset.c (simple_memset): Likewise.
35442         * benchtests/bench-memmove.c (simple_memmove): Likewise.
35443         * benchtests/bench-memset.c (simple_memset): Likewise.
35444         * configure: Regenerated.
35446 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
35448         * math/test-misc.c (main): Ignore fesetround failure when failures
35449         of subsequent rounding tests would be ignored.
35451         [BZ #15654]
35452         * math/fedisblxcpt.c (fedisableexcept): Return 0.
35453         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
35454         * math/fegetenv.c (__fegetenv): Return 0.
35455         * math/fegetexcept.c (fegetexcept): Return 0.
35456         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
35457         FE_TONEAREST.
35458         * math/feholdexcpt.c (feholdexcept): Return 0.
35459         * math/fesetenv.c (__fesetenv): Return 0.
35460         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
35461         argument FE_TONEAREST.
35462         * math/feupdateenv.c (__feupdateenv): Return 0.
35463         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
35465 2013-06-18  Roland McGrath  <roland@hack.frob.com>
35467         * elf/rtld-Rules (rtld-compile-command.S): New variable.
35468         (rtld-compile-command.s, rtld-compile-command.c): New variables.
35469         ($(objpfx)rtld-%.os rules): Use them.
35471 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35473         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
35474         fields.
35476 2013-06-17  Roland McGrath  <roland@hack.frob.com>
35478         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
35479         length of target pattern, then descending length of dependency pattern.
35480         * configure.in (AWK): Require gawk 3.1.2 or newer.
35481         * manual/install.texi (Tools for Compilation): Say that we do.
35482         * configure: Regenerated.
35484         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
35485         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
35486         * scripts/sysd-rules.awk: ... this new script.
35487         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
35488         than a glob-style pattern.
35490 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
35492         * math/test-misc.c (main): Do not treat incorrectly rounded
35493         conversions as failure unless ROUNDING_TESTS passes.
35495 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
35497         [BZ #15631]
35498         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
35499         restore exception state around main square root computation, then
35500         check for inexactness explicitly.
35502         * math/libm-test.inc (fma_test_data): Add another test.
35504 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35506         * manual/threads.texi (Non-POSIX Extensions): New document
35507         node.  Document pthread_getattr_default_np and
35508         pthread_setattr_default_np.
35510         * Versions.def (libpthread): Add GLIBC_2.18.
35511         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
35512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
35513         Likewise.
35514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35515         Likewise.
35516         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35517         Likewise.
35518         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35519         Likewise.
35520         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
35521         Likewise.
35522         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
35523         Likewise.
35524         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
35525         Likewise.
35526         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
35527         Likewise.
35528         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
35529         Likewise.
35531 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35533         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35534         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
35536 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
35537             H.J. Lu  <hjl.tools@gmail.com>
35539         [BZ #15627]
35540         * sysdeps/x86_64/rtld-memset.c: Remove file.
35541         * sysdeps/x86_64/rtld-memset.S: New file.
35543 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
35545         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
35546         (test_in_one_mode): Take arguments for whether the rounding mode
35547         is supported for each floating-point type.
35548         (do_test): Pass new arguments to test_in_one_mode using
35549         ROUNDING_TESTS.
35551 2013-06-13  Roland McGrath  <roland@hack.frob.com>
35553         * posix/tst-waitid.c (do_test): Distinguish different instances of
35554         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
35555         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
35556         before entering the kernel for waitpid.
35558 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
35560         * NEWS: Fix note on clock function precision.  Text by Roland
35561         McGrath.
35563 2013-06-13  Roland McGrath  <roland@hack.frob.com>
35565         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
35566         it into place only when and if the sanity check passes.
35568 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
35570         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
35571         output for whether conversion result is exact.  Take argument
35572         indicating whether type is IBM long double.
35573         (round_for_all): Change need_exact field to ibm_ld.
35574         * stdlib/tst-strtod-round.c (struct exactness): New type.
35575         (struct test): Change bool ld_ok field to struct exactness exact.
35576         (TEST): Update all definitions for change to field.
35577         (tests): Regenerate array contents.
35578         (test_in_one_mode): Take pointer to new field instead of old ld_ok
35579         field value.  Check for IBM long double here.
35580         (do_test): Update calls to test_in_one_mode.
35582 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
35584         [BZ #12515]
35585         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
35586         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
35588 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35590         [BZ #15605]
35591         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
35592         generated by the compiler on loop optimizations.
35593         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
35594         general definitions.
35596 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
35598         * math/bug-nextafter.c: Include <math-tests.h>.
35599         (main): Only test for exceptions if EXCEPTION_TESTS is true for
35600         the relevant type.
35601         * math/bug-nexttoward.c: Include <math-tests.h>.
35602         (main): Only test for exceptions if EXCEPTION_TESTS is true for
35603         the relevant type.
35604         * math/test-misc.c: Include <math-tests.h>.
35605         (main): Only test for exceptions if EXCEPTION_TESTS is true for
35606         the relevant type.
35608 2013-06-12  Andreas Jaeger  <aj@suse.de>
35610         * po/ia.po: Update Interlingua translation from translation
35611         project.
35613 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35615         * include/fenv.h: Include stdbool.h.
35616         (struct rm_ctx): New structure.
35617         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
35618         Define macro.
35619         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
35620         (SET_RESTORE_ROUNDF): Likewise.
35621         (SET_RESTORE_ROUNDL): Likewise.
35622         (SET_RESTORE_ROUND_NOEX): Likewise.
35623         (SET_RESTORE_ROUND_NOEXF): Likewise.
35624         (SET_RESTORE_ROUND_NOEXL): Likewise.
35625         (SET_RESTORE_ROUND_53BIT): Likewise.
35626         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
35627         (libc_feresetround_noexf_ctx): Likewise.
35628         (libc_feresetround_noexl_ctx): Likewise.
35629         (libc_feholdsetround_53bit_ctx): Likewise.
35630         (libc_feresetround_53bit_ctx): Likewise.
35631         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
35632         (libc_feholdexcept_setround_sse_ctx): New function.
35633         (libc_fesetenv_sse_ctx): Likewise.
35634         (libc_feupdateenv_sse_ctx): Likewise.
35635         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
35636         (libc_feholdexcept_setround_387_ctx): Likewise.
35637         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
35638         (libc_feholdsetround_387_prec_ctx): Likewise.
35639         (libc_feholdsetround_387_ctx): Likewise.
35640         (libc_feholdsetround_387_53bit_ctx): Likewise.
35641         (libc_feholdsetround_sse_ctx): Likewise.
35642         (libc_feresetround_sse_ctx): Likewise.
35643         (libc_feresetround_387_ctx): Likewise.
35644         (libc_feupdateenv_387_ctx): Likewise.
35645         (libc_feholdexcept_setroundf_ctx): Define macro.
35646         (libc_fesetenvf_ctx): Likewise.
35647         (libc_feupdateenvf_ctx): Likewise.
35648         (libc_feholdsetroundf_ctx): Likewise.
35649         (libc_feresetroundf_ctx): Likewise.
35650         (libc_feholdexcept_setround_ctx): Likewise.
35651         (libc_fesetenv_ctx): Likewise.
35652         (libc_feupdateenv_ctx): Likewise.
35653         (libc_feholdsetround_ctx): Likewise.
35654         (libc_feresetround_ctx): Likewise.
35655         (libc_feholdexcept_setroundl_ctx): Likewise.
35656         (libc_feupdateenvl_ctx): Likewise.
35657         (libc_feholdsetroundl_ctx): Likewise.
35658         (libc_feresetroundl_ctx): Likewise.
35659         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
35660         (libc_feresetround_53bit_ctx): Likewise.
35662 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35664         * locale/iso-639.def: Convert to UTF-8.
35666 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
35668         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
35669         (EXCEPTION_TESTS_double): Likewise.
35670         (EXCEPTION_TESTS_long_double): Likewise.
35671         (EXCEPTION_TESTS): Likewise.
35672         * math/libm-test.inc (test_exceptions): Only test exceptions if
35673         EXCEPTION_TESTS (FLOAT).
35675 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35677         * benchtests/Makefile (string-bench): Add strcpy_chk and
35678         stpcpy_chk.
35679         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
35680         * benchtests/bench-stpcpy_chk.c: New file.
35681         * benchtests/bench-strcpy_chk-ifunc.c: New file.
35682         * benchtests/bench-strcpy_chk.c: New file.
35683         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
35684         code.
35685         (do_test): Likewise.
35687 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
35689         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
35690         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
35691         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
35692         with tabs where appropriate.
35693         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
35694         dl-procinfo.h.
35695         [PPC_PLATFORM_PPC440]: Likewise.
35696         [PPC_PLATFORM_PPC464]: Likewise.
35697         [PPC_PLATFORM_PPC476]: Likewise.
35698         (_dl_string_platform): Add support for detecting ppc405, ppc440,
35699         ppc464, and ppc476 platform strings merging from ports/
35700         dl-procinfo.h.
35702 2013-06-11  Andreas Schwab  <schwab@suse.de>
35704         [BZ #14991]
35705         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
35706         (from_ucs4_idx): Regenerate.
35707         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
35708         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
35709         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
35710         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
35711         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
35712         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
35713         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
35714         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
35715         from FROM_LOOP and TO_LOOP specific macros.
35716         (BODY): Handle combining characters.
35717         * iconvdata/BIG5HKSCS.irreversible: Update.
35718         * iconvdata/BIG5HKSCS.precomposed: New file.
35719         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
35720         characters.
35721         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
35723 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35725         * include/sys/time.h: Fix indentation and add copyright header.
35727         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
35728         (do_test): Likewise.
35729         * string/test-memchr.c (do_one_test): Likewise.
35730         (do_test): Likewise.
35731         * string/test-memcmp.c (do_one_test): Likewise.
35732         (do_test): Likewise.
35733         * string/test-memcpy.c (do_one_test): Likewise.
35734         (do_test): Likewise.
35735         * string/test-memmem.c (do_one_test): Likewise.
35736         (do_test): Likewise.
35737         (do_random_tests): Likewise.
35738         * string/test-memmove.c (do_one_test): Likewise.
35739         (do_test): Likewise.
35740         * string/test-memset.c (do_one_test): Likewise.
35741         (do_test): Likewise.
35742         * string/test-rawmemchr.c (do_one_test): Likewise.
35743         (do_test): Likewise.
35744         * string/test-strcasecmp.c (do_one_test): Likewise.
35745         (do_test): Likewise.
35746         * string/test-strcasestr.c (do_one_test): Likewise.
35747         (do_test): Likewise.
35748         * string/test-strcat.c (do_one_test): Likewise.
35749         (do_test): Likewise.
35750         * string/test-strchr.c (do_one_test): Likewise.
35751         (do_test): Likewise.
35752         * string/test-strcmp.c (do_one_test): Likewise.
35753         (do_test): Likewise.
35754         * string/test-strcpy.c (do_one_test): Likewise.
35755         (do_test): Likewise.
35756         * string/test-string.h: Likewise.
35757         (test_init): Likewise.
35758         * string/test-strlen.c (do_one_test): Likewise.
35759         (do_test): Likewise.
35760         * string/test-strncasecmp.c (do_one_test): Likewise.
35761         (do_test): Likewise.
35762         * string/test-strncat.c (do_one_test): Likewise.
35763         (do_test): Likewise.
35764         * string/test-strncmp.c (do_one_test): Likewise.
35765         (do_test_limit): Likewise.
35766         (do_test): Likewise.
35767         * string/test-strncpy.c (do_one_test): Likewise.
35768         (do_test): Likewise.
35769         * string/test-strnlen.c (do_one_test): Likewise.
35770         (do_test): Likewise.
35771         * string/test-strpbrk.c (do_one_test): Likewise.
35772         (do_test): Likewise.
35773         * string/test-strrchr.c (do_one_test): Likewise.
35774         (do_test): Likewise.
35775         * string/test-strspn.c (do_one_test): Likewise.
35776         (do_test): Likewise.
35777         * string/test-strstr.c (do_one_test): Likewise.
35778         (do_test): Likewise.
35780         * benchtests/Makefile (string-bench): Add string benchmarks.
35781         * benchtests/bench-bcopy-ifunc.c: New file.
35782         * benchtests/bench-bcopy.c: New file.
35783         * benchtests/bench-bzero-ifunc.c: New file.
35784         * benchtests/bench-bzero.c: New file.
35785         * benchtests/bench-memccpy-ifunc.c: New file.
35786         * benchtests/bench-memccpy.c: New file.
35787         * benchtests/bench-memchr-ifunc.c: New file.
35788         * benchtests/bench-memchr.c: New file.
35789         * benchtests/bench-memcmp-ifunc.c: New file.
35790         * benchtests/bench-memcmp.c: New file.
35791         * benchtests/bench-memmem-ifunc.c: New file.
35792         * benchtests/bench-memmem.c: New file.
35793         * benchtests/bench-memmove-ifunc.c: New file.
35794         * benchtests/bench-memmove.c: New file.
35795         * benchtests/bench-mempcpy-ifunc.c: New file.
35796         * benchtests/bench-mempcpy.c: New file.
35797         * benchtests/bench-memset-ifunc.c: New file.
35798         * benchtests/bench-memset.c: New file.
35799         * benchtests/bench-rawmemchr-ifunc.c: New file.
35800         * benchtests/bench-rawmemchr.c: New file.
35801         * benchtests/bench-stpcpy-ifunc.c: New file.
35802         * benchtests/bench-stpcpy.c: New file.
35803         * benchtests/bench-stpncpy-ifunc.c: New file.
35804         * benchtests/bench-stpncpy.c: New file.
35805         * benchtests/bench-strcasecmp-ifunc.c: New file.
35806         * benchtests/bench-strcasecmp.c: New file.
35807         * benchtests/bench-strcasestr-ifunc.c: New file.
35808         * benchtests/bench-strcasestr.c: New file.
35809         * benchtests/bench-strcat-ifunc.c: New file.
35810         * benchtests/bench-strcat.c: New file.
35811         * benchtests/bench-strchr-ifunc.c: New file.
35812         * benchtests/bench-strchr.c: New file.
35813         * benchtests/bench-strchrnul-ifunc.c: New file.
35814         * benchtests/bench-strchrnul.c: New file.
35815         * benchtests/bench-strcmp-ifunc.c: New file.
35816         * benchtests/bench-strcmp.c: New file.
35817         * benchtests/bench-strcpy-ifunc.c: New file.
35818         * benchtests/bench-strcpy.c: New file.
35819         * benchtests/bench-strcspn-ifunc.c: New file.
35820         * benchtests/bench-strcspn.c: New file.
35821         * benchtests/bench-strlen-ifunc.c: New file.
35822         * benchtests/bench-strlen.c: New file.
35823         * benchtests/bench-strncasecmp-ifunc.c: New file.
35824         * benchtests/bench-strncasecmp.c: New file.
35825         * benchtests/bench-strncat-ifunc.c: New file.
35826         * benchtests/bench-strncat.c: New file.
35827         * benchtests/bench-strncmp-ifunc.c: New file.
35828         * benchtests/bench-strncmp.c: New file.
35829         * benchtests/bench-strncpy-ifunc.c: New file.
35830         * benchtests/bench-strncpy.c: New file.
35831         * benchtests/bench-strnlen-ifunc.c: New file.
35832         * benchtests/bench-strnlen.c: New file.
35833         * benchtests/bench-strpbrk-ifunc.c: New file.
35834         * benchtests/bench-strpbrk.c: New file.
35835         * benchtests/bench-strrchr-ifunc.c: New file.
35836         * benchtests/bench-strrchr.c: New file.
35837         * benchtests/bench-strspn-ifunc.c: New file.
35838         * benchtests/bench-strspn.c: New file.
35839         * benchtests/bench-strstr-ifunc.c: New file.
35840         * benchtests/bench-strstr.c: New file.
35842         * benchtests/Makefile: Disable parallel execution of targets.
35843         (string-bench): Add memcpy.
35844         (benchset): New variable to store a list of benchmark sets.
35845         (bench-func): Renamed from bench.
35846         (bench-set): New target.
35847         (bench): Depend on bench-func and bench-set.
35848         * benchtests/README: Add section on benchmark sets.
35849         * benchtests/bench-memcpy-ifunc.c: New file.
35850         * benchtests/bench-memcpy.c: New file.
35851         * benchtests/bench-string.h: New file.
35853 2013-06-11  Andreas Schwab  <schwab@suse.de>
35855         [BZ #15577]
35856         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
35857         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
35858         values in the triple.
35859         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
35860         terminator in the group key.
35862 2013-06-11  Andreas Jaeger  <aj@suse.de>
35864         * po/zh_TW.po: Update Chinese (traditional) translation from
35865         translation project.
35867 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35869         * include/time.h (__clock_gettime): Add libc_hidden_proto.
35870         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
35871         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
35872         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35873         (clock_getcpuclockid): Likewise.
35874         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
35875         Add weak_alias and libc_hidden_def.
35876         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
35877         * rt/clock_gettime.c (clock_gettime): Rename to
35878         __clock_gettime.  Add weak_alias and libc_hidden_def.
35879         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
35880         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
35881         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
35882         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
35883         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
35884         Likewise.
35885         * rt/clock_settime.c (clock_settime): Rename to
35886         __clock_settime.  Add weak_alias and libc_hidden_def.
35887         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
35889 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
35891         * mach/err_boot.sub: Remove trailing whitespace.
35892         * mach/err_ipc.sub: Likewise.
35893         * mach/err_mach.sub: Likewise.
35895         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
35896         (ROUNDING_TESTS_double): Likewise.
35897         (ROUNDING_TESTS_long_double): Likewise.
35898         (ROUNDING_TESTS): Likewise.
35899         * math/libm-test.inc: Include <math-tests.h>.
35900         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
35901         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
35902         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
35903         (IF_ROUND_INIT_FE_UPWARD): Likewise.
35905 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35907         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
35908         of assigning.
35910 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
35912         * sysdeps/gnu/errlist.awk: Do not generate space at end of
35913         otherwise empty TRANS lines.
35914         * sysdeps/gnu/errlist.c: Regenerated.
35916         * catgets/gencat.c (error_print): Use (void) in function
35917         definition.
35918         * crypt/crypt_util.c (__init_des): Likewise.
35919         * crypt/speeds.c (Stop): Likewise.
35920         (main): Likewise.
35921         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
35922         * inet/ruserpass.c (token): Likewise.
35923         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
35924         * intl/localealias.c (extend_alias_table): Likewise.
35925         * intl/plural-exp.c (init_germanic_plural): Likewise.
35926         * libio/fcloseall.c (__fcloseall): Likewise.
35927         * libio/genops.c (_IO_flush_all): Likewise.
35928         (_IO_flush_all_linebuffered): Likewise.
35929         (_IO_cleanup): Likewise.
35930         (_IO_iter_begin): Likewise.
35931         (_IO_iter_end): Likewise.
35932         (_IO_list_lock): Likewise.
35933         (_IO_list_unlock): Likewise.
35934         (_IO_list_resetlock): Likewise.
35935         * libio/getchar.c (getchar): Likewise.
35936         * libio/getchar_u.c (getchar_unlocked): Likewise.
35937         * libio/getwchar.c (getwchar): Likewise.
35938         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
35939         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
35940         * login/getpt.c (__getpt): Likewise.
35941         * login/tst-utmp.c (main): Likewise.
35942         * malloc/hooks.c (__malloc_check_init): Likewise.
35943         * malloc/malloc.c (__malloc_stats): Likewise.
35944         * malloc/mtrace.c (tr_break): Likewise.
35945         (mtrace): Likewise.
35946         (muntrace): Likewise.
35947         * misc/fstab.c (endfsent): Likewise.
35948         * misc/getclktck.c (__getclktck): Likewise.
35949         * misc/getdtsz.c (__getdtablesize): Likewise.
35950         * misc/gethostid.c (gethostid): Likewise.
35951         * misc/getpagesize.c (__getpagesize): Likewise.
35952         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
35953         (__get_nprocs): Likewise.
35954         (__get_phys_pages): Likewise.
35955         (__get_avphys_pages): Likewise.
35956         * misc/getttyent.c (getttyent): Likewise.
35957         (setttyent): Likewise.
35958         (endttyent): Likewise.
35959         * misc/getusershell.c (getusershell): Likewise.
35960         (endusershell): Likewise.
35961         (setusershell): Likewise.
35962         (initshells): Likewise.
35963         * misc/hsearch.c (__hdestroy): Likewise.
35964         * misc/sync.c (sync): Likewise.
35965         * misc/syslog.c (closelog_internal): Likewise.
35966         (closelog): Likewise.
35967         * misc/ttyslot.c (ttyslot): Likewise.
35968         * misc/vhangup.c (vhangup): Likewise.
35969         * posix/fork.c (__fork): Likewise.
35970         * posix/getegid.c (__getegid): Likewise.
35971         * posix/geteuid.c (__geteuid): Likewise.
35972         * posix/getgid.c (__getgid): Likewise.
35973         * posix/getpid.c (__getpid): Likewise.
35974         * posix/getppid.c (__getppid): Likewise.
35975         * posix/getuid.c (__getuid): Likewise.
35976         * posix/pause.c (pause): Likewise.
35977         * posix/setpgrp.c (setpgrp): Likewise.
35978         * posix/setsid.c (__setsid): Likewise.
35979         * posix/test-vfork.c (noop): Likewise.
35980         * resolv/gethnamaddr.c (_endhtent): Likewise.
35981         (_gethtent): Likewise.
35982         (ht_endhostent): Likewise.
35983         (gethostent): Likewise.
35984         (dns_service): Likewise.
35985         * stdlib/drand48.c (drand48): Likewise.
35986         * stdlib/lrand48.c (lrand48): Likewise.
35987         * stdlib/mrand48.c (mrand48): Likewise.
35988         * stdlib/rand.c (rand): Likewise.
35989         * stdlib/random.c (__random): Likewise.
35990         * stdlib/setenv.c (clearenv): Likewise.
35991         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
35992         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
35993         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
35994         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
35995         (__get_nprocs): Likewise.
35996         (__get_phys_pages): Likewise.
35997         (__get_avphys_pages): Likewise.
35998         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
35999         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
36000         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
36001         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
36002         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
36003         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
36004         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
36005         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
36006         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
36007         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
36008         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
36009         * sysdeps/mach/hurd/sync.c (sync): Likewise.
36010         * sysdeps/posix/clock.c (clock): Likewise.
36011         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
36012         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
36013         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
36014         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
36015         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
36016         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
36017         (__get_nprocs_conf): Likewise.
36018         (__get_phys_pages): Likewise.
36019         (__get_avphys_pages): Likewise.
36020         * time/clock.c (clock): Likewise.
36021         * time/tzset.c (__tzname_max): Likewise.
36023 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
36025         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
36026         (__bswap_32): Do not use "register".
36027         * crypt/crypt.c (_ufc_doit_r): Likewise.
36028         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
36029         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
36030         * gmon/gmon.c (__monstartup): Likewise.
36031         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
36032         * hurd/hurdmalloc.c (more_memory): Likewise.
36033         (malloc): Likewise.
36034         (free): Likewise.
36035         (realloc): Likewise.
36036         (malloc_fork_prepare): Likewise.
36037         (malloc_fork_parent): Likewise.
36038         (malloc_fork_child): Likewise.
36039         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
36040         (_svcauth_des): Likewise.
36041         * inet/inet_lnaof.c (inet_lnaof): Likewise.
36042         * inet/inet_net.c (inet_network): Likewise.
36043         * inet/inet_netof.c (inet_netof): Likewise.
36044         * inet/rcmd.c (__validuser2_sa): Likewise.
36045         * io/fts.c (fts_open): Likewise.
36046         (fts_load): Likewise.
36047         (fts_close): Likewise.
36048         (fts_read): Likewise.
36049         (fts_children): Likewise.
36050         (fts_build): Likewise.
36051         (fts_stat): Likewise.
36052         (fts_sort): Likewise.
36053         (fts_alloc): Likewise.
36054         (fts_lfree): Likewise.
36055         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
36056         (_IO_file_xsgetn): Likewise.
36057         (_IO_file_xsgetn_mmap): Likewise.
36058         * libio/iofopncook.c (_IO_cookie_read): Likewise.
36059         (_IO_cookie_write): Likewise.
36060         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
36061         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
36062         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
36063         * malloc/obstack.c (_obstack_begin): Likewise.
36064         (_obstack_begin_1): Likewise.
36065         (_obstack_newchunk): Likewise.
36066         (_obstack_allocated_p): Likewise.
36067         (obstack_free): Likewise.
36068         (_obstack_memory_used): Likewise.
36069         * misc/getttyent.c (getttynam): Likewise.
36070         (getttyent): Likewise.
36071         (skip): Likewise.
36072         (value): Likewise.
36073         * misc/getusershell.c (initshells): Likewise.
36074         * misc/syslog.c (__vsyslog_chk): Likewise.
36075         * misc/ttyslot.c (ttyslot): Likewise.
36076         * nis/nis_hash.c (__nis_hash): Likewise.
36077         * posix/fnmatch_loop.c (FCT): Likewise.
36078         * posix/getconf.c (print_all): Likewise.
36079         (main): Likewise.
36080         * posix/getopt.c (exchange): Likewise.
36081         * posix/glob.c (globfree): Likewise.
36082         (prefix_array): Likewise.
36083         (__glob_pattern_type): Likewise.
36084         * resolv/arpa/nameser.h (NS_GET16): Likewise.
36085         (NS_GET32): Likewise.
36086         (NS_PUT16): Likewise.
36087         (NS_PUT32): Likewise.
36088         * resolv/gethnamaddr.c (getanswer): Likewise.
36089         (gethostbyname2): Likewise.
36090         (gethostbyaddr): Likewise.
36091         (_gethtent): Likewise.
36092         (_gethtbyname2): Likewise.
36093         (_gethtbyaddr): Likewise.
36094         * resolv/ns_print.c (dst_s_get_int16): Likewise.
36095         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
36096         * resolv/res_init.c (__res_vinit): Likewise.
36097         (net_mask): Likewise.
36098         * resolv/res_mkquery.c (outchar): Likewise.
36099         (PRINT): Likewise.
36100         * stdio-common/printf_fp.c (outchar): Likewise.
36101         (PRINT): Likewise.
36102         * stdio-common/printf_fphex.c (outchar): Likewise.
36103         (PRINT): Likewise.
36104         * stdio-common/printf_size.c (outchar): Likewise.
36105         (PRINT): Likewise.
36106         * stdio-common/test_rdwr.c (main): Likewise.
36107         * stdio-common/tfformat.c (matches): Likewise.
36108         * stdio-common/vfprintf.c (outchar): Likewise.
36109         (printf_unknown): Likewise.
36110         (buffered_vfprintf): Likewise.
36111         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
36112         * stdio-common/xbug.c (AppendToBuffer): Likewise.
36113         (ReadFile): Likewise.
36114         * stdlib/qsort.c (SWAP): Likewise.
36115         (_quicksort): Likewise.
36116         * stdlib/setenv.c (__add_to_environ): Likewise.
36117         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
36118         * stdlib/strtol_l.c (__strtol_l): Likewise.
36119         * stdlib/tst-strtod.c (main): Likewise.
36120         * stdlib/tst-strtol.c (main): Likewise.
36121         * stdlib/tst-strtoll.c (main): Likewise.
36122         * string/bits/string2.h (__strcmp_cc): Likewise.
36123         (__strcmp_cg): Likewise.
36124         (__strcspn_c1): Likewise.
36125         (__strcspn_c2): Likewise.
36126         (__strcspn_c3): Likewise.
36127         (__strspn_c1): Likewise.
36128         (__strspn_c2): Likewise.
36129         (__strspn_c3): Likewise.
36130         (__strsep_1c): Likewise.
36131         (__strsep_2c): Likewise.
36132         (__strsep_3c): Likewise.
36133         * string/memccpy.c (__memccpy): Likewise.
36134         * string/stpcpy.c (__stpcpy): Likewise.
36135         * string/strcmp.c (strcmp): Likewise.
36136         * string/strrchr.c (strrchr): Likewise.
36137         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
36138         Likewise.
36139         * sysdeps/mach/hurd/getcwd.c
36140         (_hurd_canonicalize_directory_name_internal): Likewise.
36141         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
36142         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
36143         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
36144         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
36145         Likewise, in both definitions.
36146         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
36147         definitions.
36148         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
36149         64] (__bswap_64): Likewise.
36150         * time/test_time.c (main): Likewise.
36151         * time/tzfile.c (__tzfile_read): Likewise.
36152         (__tzfile_compute): Likewise.
36153         * time/tzset.c (__tzset_parse_tz): Likewise.
36154         (tzset_internal): Likewise.
36155         (compute_change): Likewise.
36156         * wcsmbs/wcscat.c (__wcscat): Likewise.
36157         * wcsmbs/wcschr.c (wcschr): Likewise.
36158         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
36159         * wcsmbs/wcscspn.c (wcscspn): Likewise.
36160         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
36161         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
36162         * wcsmbs/wcsspn.c (wcsspn): Likewise.
36163         * wcsmbs/wcsstr.c (wcsstr): Likewise.
36164         * wcsmbs/wmemchr.c (wmemchr): Likewise.
36165         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
36166         * wcsmbs/wmemset.c (wmemset): Likewise.
36168 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
36170         * scripts/config.guess: Update to version 2013-05-16.
36171         * scripts/config.sub: Update to version 2013-04-24.
36172         * scripts/install-sh: Update to version 2011-11-20.07.
36173         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
36174         * scripts/move-if-change: Update to version 2012-01-06 07:23.
36176 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
36178         * debug/fgetws_u_chk.c: Fix leading whitespaces.
36179         * elf/sln.c: Likewise.
36180         * hurd/hurd/ioctl.h: Likewise.
36181         * hurd/hurdmalloc.c: Likewise.
36182         * hurd/xattr.c: Likewise.
36183         * include/shlib-compat.h: Likewise.
36184         * inet/ruserpass.c: Likewise.
36185         * libio/iofgets_u.c: Likewise.
36186         * libio/iofgetws_u.c: Likewise.
36187         * locale/programs/ld-identification.c: Likewise.
36188         * locale/programs/ld-time.c: Likewise.
36189         * mach/msg-destroy.c: Likewise.
36190         * nss/nss_files/files-netgrp.c: Likewise.
36191         * resolv/res_data.c: Likewise.
36192         * soft-fp/op-1.h: Likewise.
36193         * soft-fp/op-2.h: Likewise.
36194         * soft-fp/op-4.h: Likewise.
36195         * soft-fp/op-common.h: Likewise.
36196         * stdio-common/printf_fphex.c: Likewise.
36197         * stdlib/strtod_l.c: Likewise.
36198         * sunrpc/rpc/clnt.h: Likewise.
36199         * sysdeps/generic/framestate.c: Likewise.
36200         * sysdeps/i386/bsd-_setjmp.S: Likewise.
36201         * sysdeps/i386/bsd-setjmp.S: Likewise.
36202         * sysdeps/i386/__longjmp.S: Likewise.
36203         * sysdeps/i386/setjmp.S: Likewise.
36204         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36205         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
36206         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36207         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
36208         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
36209         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
36210         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36211         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36212         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36213         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
36214         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
36215         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
36216         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
36217         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
36218         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
36219         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36220         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
36221         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
36222         * sysdeps/ieee754/support.c: Likewise.
36223         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
36224         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
36225         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
36226         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
36227         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
36228         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
36229         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
36230         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
36231         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
36232         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
36233         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
36234         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
36235         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
36236         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
36237         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
36238         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
36239         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
36240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
36242 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
36244         * posix/transbug.c: Remove executable mode.
36246 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
36248         * crypt/speeds.c: Remove trailing whitespace.
36249         * dlfcn/default.c: Likewise.
36250         * elf/ifuncdep2.c: Likewise.
36251         * elf/ifuncmain1.c: Likewise.
36252         * elf/ifuncmain1vis.c: Likewise.
36253         * elf/testobj.h: Likewise.
36254         * elf/tst-stackguard1.c: Likewise.
36255         * gmon/sys/gmon.h: Likewise.
36256         * hurd/hurdmsg.c: Likewise.
36257         * hurd/new-fd.c: Likewise.
36258         * hurd/ports-get.c: Likewise.
36259         * iconvdata/ibm1008_420.c: Likewise.
36260         * inet/tst-getni1.c: Likewise.
36261         * inet/tst-getni2.c: Likewise.
36262         * libio/ioungetc.c: Likewise.
36263         * libio/wfiledoalloc.c: Likewise.
36264         * manual/libm-err-tab.pl: Likewise.
36265         * math/w_dremf.c: Likewise.
36266         * misc/ftruncate.c: Likewise.
36267         * posix/bug-glob2.c: Likewise.
36268         * posix/tst-pcre.c: Likewise.
36269         * posix/wait4.c: Likewise.
36270         * resolv/README: Likewise.
36271         * resolv/res_debug.h: Likewise.
36272         * resolv/tst-inet_ntop.c: Likewise.
36273         * setjmp/bug269-setjmp.c: Likewise.
36274         * soft-fp/extended.h: Likewise.
36275         * soft-fp/op-1.h: Likewise.
36276         * soft-fp/op-2.h: Likewise.
36277         * soft-fp/op-4.h: Likewise.
36278         * soft-fp/op-8.h: Likewise.
36279         * soft-fp/testit.c: Likewise.
36280         * stdio-common/bug16.c: Likewise.
36281         * stdlib/random.c: Likewise.
36282         * sunrpc/rpcsvc/rquota.x: Likewise.
36283         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
36284         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
36285         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36286         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
36287         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
36288         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
36289         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
36290         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
36291         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
36292         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
36293         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
36294         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
36295         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36296         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
36297         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36298         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
36299         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
36300         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36301         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
36302         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36303         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36304         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36305         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
36306         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
36307         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
36308         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
36309         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
36310         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
36311         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36312         * sysdeps/ieee754/s_lib_version.c: Likewise.
36313         * sysdeps/mach/hurd/check_fds.c: Likewise.
36314         * sysdeps/mach/hurd/getsockname.c: Likewise.
36315         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
36316         * sysdeps/mach/hurd/recvfrom.c: Likewise.
36317         * sysdeps/powerpc/bits/link.h: Likewise.
36318         * sysdeps/powerpc/dl-procinfo.c: Likewise.
36319         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
36320         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
36321         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
36322         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
36323         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
36324         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
36325         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
36326         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
36327         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36328         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
36329         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
36330         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
36331         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36332         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36333         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36334         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
36335         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
36336         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36337         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36338         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36339         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
36340         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
36341         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
36342         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
36343         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
36344         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
36345         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36346         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36347         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
36348         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
36349         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
36350         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
36351         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36352         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
36353         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
36354         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
36355         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
36356         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
36357         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
36358         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
36359         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
36360         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
36361         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
36362         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
36363         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
36364         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
36365         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
36366         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
36367         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
36368         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36369         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36370         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
36371         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
36372         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
36373         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
36374         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
36375         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
36376         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
36377         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
36378         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
36379         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
36380         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
36381         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
36382         * sysdeps/powerpc/sysdep.h: Likewise.
36383         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
36384         * sysdeps/s390/s390-64/sub_n.S: Likewise.
36385         * sysdeps/sh/dl-trampoline.S: Likewise.
36386         * sysdeps/sh/memset.S: Likewise.
36387         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
36388         * sysdeps/sh/strlen.S: Likewise.
36389         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
36390         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
36391         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
36392         * sysdeps/sparc/sparc32/rem.S: Likewise.
36393         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
36394         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
36395         * sysdeps/sparc/sparc32/strchr.S: Likewise.
36396         * sysdeps/sparc/sparc32/udiv.S: Likewise.
36397         * sysdeps/sparc/sparc32/urem.S: Likewise.
36398         * sysdeps/sparc/sparc64/add_n.S: Likewise.
36399         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
36400         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
36401         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
36402         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
36403         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
36404         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
36405         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
36406         * sysdeps/unix/bsd/times.c: Likewise.
36407         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
36408         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
36409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
36410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
36411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
36412         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
36413         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
36414         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
36415         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
36416         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
36417         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
36418         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
36419         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
36420         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
36421         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
36422         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
36423         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
36424         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
36425         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
36426         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
36427         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
36428         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
36429         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
36430         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
36431         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
36432         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
36433         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
36434         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36435         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
36436         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
36437         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
36438         * sysdeps/x86_64/strcspn.S: Likewise.
36440 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
36442         * locale/C-translit.h: Revert #include <stdint.h> because this is a
36443         generated file.  Regenerate properly from gen-translit.pl.
36444         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
36445         locale/C-translit.h.
36447 2013-06-05  Andreas Schwab  <schwab@suse.de>
36449         [BZ #15100]
36450         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
36451         week as 6 instead of -1.
36452         * time/tst-strptime.c (day_tests): Add test case.
36454 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
36456         * sysdeps/generic/math_private.h
36457         (libc_feholdexcept_setround_53bit): Replace with
36458         libc_feholdsetround_53bit.
36459         (libc_feupdateenv_53bit): Replace with
36460         libc_feresetround_53bit.
36461         (SET_RESTORE_ROUND_53BIT): Adjust.
36463 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
36465         * string/test-strchrnul.c: Add copyright header.
36467         * posix/tst-getaddrinfo4.c: Increase test timeout.
36469 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
36471         [BZ #15536]
36472         * math/libm-test.inc (MAX_EXP): Remove
36473         (MIN_EXP): Define.
36474         (ulp): Use MIN_EXP - MANT_DIG.
36475         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
36477 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
36479         * po/be.po: Revert last change.
36480         * po/zh_CN.po: Likewise.
36481         * po/header.pot: Likewise.
36483 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
36485         * Makefile ($(common-objpfx)linkobj/libc.so): Define
36486         link-libc-deps to empty as target-specific variable.
36487         * Makerules (link-libc-args): New variable.
36488         (libc-for-link): Likewise.
36489         (link-libc-deps): Likewise.
36490         (lib%.so): Depend on $(link-libc-deps).  Link with
36491         $(link-libc-args).
36492         (build-module): Link with $(link-libc-args).
36493         (build-module-asneeded): Likewise.
36494         (build-module-helper-objlist): Filter out $(link-libc-deps) from
36495         list of objects.
36496         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
36497         target-specific variable.
36498         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
36499         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
36500         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
36501         libc.
36502         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
36503         libc and ld.so.
36504         ($(objpfx)libpcprofile.so): Likewise.
36505         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
36506         libc_nonshared.a.
36507         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
36508         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
36509         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
36510         $(link-libc-deps).
36511         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
36512         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
36513         * login/Makefile ($(objpfx)libutil.so): Likewise.
36514         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
36515         * math/Makefile ($(objpfx)libm.so): Likewise.
36516         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
36517         $(objpfx)libnsl.so): Define libc-for-link as target-specific
36518         variable instead of depending directly on libc.
36519         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
36520         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
36521         $(link-libc-deps).
36522         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
36523         libc.
36524         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
36525         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
36526         ($(objpfx)libanl.so): Likewise.
36527         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
36528         ld.so.
36529         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
36530         $(link-libc-deps).
36531         * sysdeps/i386/fpu/Makefile: Remove file.
36532         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
36533         ($(objpfx)libm.so): Remove dependency on ld.so.
36535 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
36537         [BZ # 15553]
36538         * nis/yp_xdr.c (XDRMAXNAME): Define.
36539         (XDRMAXRECORD): Define.
36540         (xdr_domainname): Use XDRMAXNAME.
36541         (xdr_mapname): Likewise.
36542         (xdr_peername): Likewise.
36543         (xdr_keydat): Use XDRMAXRECORD.
36544         (xdr_valdat): Likewise.
36546 2013-05-30  Jeff Law  <law@redhat.com>
36548         [BZ #14256]
36549         * manual/errno.texi (ESTALE): Update to account for more than
36550         just NFS file systems.
36551         * sysdeps/gnu/errlist.c: Regenerated.
36553 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36555         [BZ #15465]
36556         * elf/Makefile (tests): Add tst-null-argv.
36557         (modules-names):  Add tst-null-argv-lib.
36558         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
36559         (tst-null-argv-ENV): Set environment for tst-null-argv.
36560         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
36561         (RTLD_PROGNAME): New macro.
36562         * elf/tst-null-argv.c: New test case.
36563         * elf/tst-null-argv-lib.c: Library for test case.
36564         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
36565         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
36566         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
36567         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
36568         * elf/dl-init.c (call_init): Likewise.
36569         (_dl_init): Likewise.
36570         * elf/dl-load.c (print_search_path): Likewise.
36571         (_dl_map_object): Likewise.
36572         * elf/dl-lookup.c (do_lookup_x): Likewise.
36573         (add_dependency): Likewise.
36574         (_dl_lookup_symbol_x): Likewise.
36575         (_dl_debug_bindings): Likewise.
36576         * elf/dl-open.c (_dl_show_scope): Likewise.
36577         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
36578         * elf/dl-version.c (match_symbol): Likewise.
36579         (_dl_check_map_versions): Likewise.
36580         * elf/rtld.c (dl_main): Likewise.
36581         (print_unresolved): Use RTLD_PROGNAME.
36582         (print_missing_version): Likewise.
36583         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
36584         (elf_machine_rela): Likewise.
36585         * sysdeps/powerpc/powerpc32/dl-machine.c
36586         (__process_machine_rela): Likewise.
36587         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
36588         Likewise.
36589         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
36590         Likewise.
36591         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
36592         Likewise.
36593         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
36594         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
36595         Likewise.
36596         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
36597         Likewise.
36598         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
36600 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
36602         * po/be.po: Add descriptive title.
36603         * po/zh_CN.po: Likewise.
36604         * po/header.pot: Likewise.
36606 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
36608         * locale/programs/locarchive.c (create_archive): Inlucde fname in
36609         error message.
36610         (enlarge_archive): Likewise.
36612 2013-05-28  Ben North  <ben@redfrontdoor.org>
36614         * manual/arith.texi (frexp): It is the magnitude of the return
36615         value which lies in [0.5, 1), not the return value itself.
36617 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36619         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36621 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
36623         * stdio-common/bug26.c (main): Correct fscanf template.
36625         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
36626         declare _dl_skip_args.
36628         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
36629         Don't declare.
36631         * manual/platform.texi: Add missing @end deftypefun.
36633 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
36635         [BZ #15529]
36636         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
36637         bit of mantissa of 2^16382.
36638         * math/libm-test.inc (hypot_test_data): Add more tests.
36640         * math/libm-test.inc: Add drem and pow10 to list of tested
36641         functions.
36642         (pow10_test): New function.
36643         (drem_test): Likewise.
36644         (drem_test_tonearest): Likewise.
36645         (drem_test_towardzero): Likewise.
36646         (drem_test_downward): Likewise.
36647         (drem_test_upward): Likewise.
36648         (main): Call the new functions.
36650         * math/libm-test.inc (finite_test_data): Remove.
36651         (finite_test): Run tests from isfinite_test_data.
36652         (gamma_test_data): Remove.
36653         (gamma_test): Run tests from lgamma_test_data.
36654         * sysdeps/i386/fpu/libm-test-ulps: Update.
36655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36657 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36659         * manual/platform.texi: Add PowerPC PPR function set documentation.
36660         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
36661         implementation.
36663 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
36665         * math/libm-test.inc (MAX_EXP): Define.
36666         (ULPDIFF): Define.
36667         (ulp): New function.
36668         (check_float_internal): Use ULPDIFF.
36669         (cpow_test): Disable failing test.
36670         (check_ulp): Test ulp() implemetnation.
36671         (main): Call check_ulp before starting tests.
36673 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
36675         * math/gen-libm-test.pl (generate_testfile): Do not handle
36676         START_DATA and END_DATA.
36677         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
36678         END_DATA.
36679         (acos_tonearest_test_data): Likewise.
36680         (acos_towardzero_test_data): Likewise.
36681         (acos_downward_test_data): Likewise.
36682         (acos_upward_test_data): Likewise.
36683         (acosh_test_data): Likewise.
36684         (asin_test_data): Likewise.
36685         (asin_tonearest_test_data): Likewise.
36686         (asin_towardzero_test_data): Likewise.
36687         (asin_downward_test_data): Likewise.
36688         (asin_upward_test_data): Likewise.
36689         (asinh_test_data): Likewise.
36690         (atan_test_data): Likewise.
36691         (atanh_test_data): Likewise.
36692         (atan2_test_data): Likewise.
36693         (cabs_test_data): Likewise.
36694         (cacos_test_data): Likewise.
36695         (cacosh_test_data): Likewise.
36696         (carg_test_data): Likewise.
36697         (casin_test_data): Likewise.
36698         (casinh_test_data): Likewise.
36699         (catan_test_data): Likewise.
36700         (catanh_test_data): Likewise.
36701         (cbrt_test_data): Likewise.
36702         (ccos_test_data): Likewise.
36703         (ccosh_test_data): Likewise.
36704         (ceil_test_data): Likewise.
36705         (cexp_test_data): Likewise.
36706         (cimag_test_data): Likewise.
36707         (clog_test_data): Likewise.
36708         (clog10_test_data): Likewise.
36709         (conj_test_data): Likewise.
36710         (copysign_test_data): Likewise.
36711         (cos_test_data): Likewise.
36712         (cos_tonearest_test_data): Likewise.
36713         (cos_towardzero_test_data): Likewise.
36714         (cos_downward_test_data): Likewise.
36715         (cos_upward_test_data): Likewise.
36716         (cosh_test_data): Likewise.
36717         (cosh_tonearest_test_data): Likewise.
36718         (cosh_towardzero_test_data): Likewise.
36719         (cosh_downward_test_data): Likewise.
36720         (cosh_upward_test_data): Likewise.
36721         (cpow_test_data): Likewise.
36722         (cproj_test_data): Likewise.
36723         (creal_test_data): Likewise.
36724         (csin_test_data): Likewise.
36725         (csinh_test_data): Likewise.
36726         (csqrt_test_data): Likewise.
36727         (ctan_test_data): Likewise.
36728         (ctan_tonearest_test_data): Likewise.
36729         (ctan_towardzero_test_data): Likewise.
36730         (ctan_downward_test_data): Likewise.
36731         (ctan_upward_test_data): Likewise.
36732         (ctanh_test_data): Likewise.
36733         (ctanh_tonearest_test_data): Likewise.
36734         (ctanh_towardzero_test_data): Likewise.
36735         (ctanh_downward_test_data): Likewise.
36736         (ctanh_upward_test_data): Likewise.
36737         (erf_test_data): Likewise.
36738         (erfc_test_data): Likewise.
36739         (exp_test_data): Likewise.
36740         (exp_tonearest_test_data): Likewise.
36741         (exp_towardzero_test_data): Likewise.
36742         (exp_downward_test_data): Likewise.
36743         (exp_upward_test_data): Likewise.
36744         (exp10_test_data): Likewise.
36745         (exp2_test_data): Likewise.
36746         (expm1_test_data): Likewise.
36747         (fabs_test_data): Likewise.
36748         (fdim_test_data): Likewise.
36749         (finite_test_data): Likewise.
36750         (floor_test_data): Likewise.
36751         (fma_test_data): Likewise.
36752         (fma_towardzero_test_data): Likewise.
36753         (fma_downward_test_data): Likewise.
36754         (fma_upward_test_data): Likewise.
36755         (fmax_test_data): Likewise.
36756         (fmin_test_data): Likewise.
36757         (fmod_test_data): Likewise.
36758         (fpclassify_test_data): Likewise.
36759         (frexp_test_data): Likewise.
36760         (gamma_test_data): Likewise.
36761         (hypot_test_data): Likewise.
36762         (ilogb_test_data): Likewise.
36763         (isfinite_test_data): Likewise.
36764         (isgreater_test_data): Likewise.
36765         (isgreaterequal_test_data): Likewise.
36766         (isinf_test_data): Likewise.
36767         (isless_test_data): Likewise.
36768         (islessequal_test_data): Likewise.
36769         (islessgreater_test_data): Likewise.
36770         (isnan_test_data): Likewise.
36771         (isnormal_test_data): Likewise.
36772         (issignaling_test_data): Likewise.
36773         (isunordered_test_data): Likewise.
36774         (j0_test_data): Likewise.
36775         (j1_test_data): Likewise.
36776         (jn_test_data): Likewise.
36777         (ldexp_test_data): Likewise.
36778         (lgamma_test_data): Likewise.
36779         (lrint_test_data): Likewise.
36780         (lrint_tonearest_test_data): Likewise.
36781         (lrint_towardzero_test_data): Likewise.
36782         (lrint_downward_test_data): Likewise.
36783         (lrint_upward_test_data): Likewise.
36784         (llrint_test_data): Likewise.
36785         (llrint_tonearest_test_data): Likewise.
36786         (llrint_towardzero_test_data): Likewise.
36787         (llrint_downward_test_data): Likewise.
36788         (llrint_upward_test_data): Likewise.
36789         (log_test_data): Likewise.
36790         (log10_test_data): Likewise.
36791         (log1p_test_data): Likewise.
36792         (log2_test_data): Likewise.
36793         (logb_test_data): Likewise.
36794         (logb_downward_test_data): Likewise.
36795         (lround_test_data): Likewise.
36796         (llround_test_data): Likewise.
36797         (modf_test_data): Likewise.
36798         (nearbyint_test_data): Likewise.
36799         (nextafter_test_data): Likewise.
36800         (nexttoward_test_data): Likewise.
36801         (pow_test_data): Likewise.
36802         (pow_tonearest_test_data): Likewise.
36803         (pow_towardzero_test_data): Likewise.
36804         (pow_downward_test_data): Likewise.
36805         (pow_upward_test_data): Likewise.
36806         (remainder_test_data): Likewise.
36807         (remainder_tonearest_test_data): Likewise.
36808         (remainder_towardzero_test_data): Likewise.
36809         (remainder_downward_test_data): Likewise.
36810         (remainder_upward_test_data): Likewise.
36811         (remquo_test_data): Likewise.
36812         (rint_test_data): Likewise.
36813         (rint_tonearest_test_data): Likewise.
36814         (rint_towardzero_test_data): Likewise.
36815         (rint_downward_test_data): Likewise.
36816         (rint_upward_test_data): Likewise.
36817         (round_test_data): Likewise.
36818         (scalb_test_data): Likewise.
36819         (scalbn_test_data): Likewise.
36820         (scalbln_test_data): Likewise.
36821         (signbit_test_data): Likewise.
36822         (sin_test_data): Likewise.
36823         (sin_tonearest_test_data): Likewise.
36824         (sin_towardzero_test_data): Likewise.
36825         (sin_downward_test_data): Likewise.
36826         (sin_upward_test_data): Likewise.
36827         (sincos_test_data): Likewise.
36828         (sinh_test_data): Likewise.
36829         (sinh_tonearest_test_data): Likewise.
36830         (sinh_towardzero_test_data): Likewise.
36831         (sinh_downward_test_data): Likewise.
36832         (sinh_upward_test_data): Likewise.
36833         (sqrt_test_data): Likewise.
36834         (tan_test_data): Likewise.
36835         (tan_tonearest_test_data): Likewise.
36836         (tan_towardzero_test_data): Likewise.
36837         (tan_downward_test_data): Likewise.
36838         (tan_upward_test_data): Likewise.
36839         (tanh_test_data): Likewise.
36840         (tgamma_test_data): Likewise.
36841         (trunc_test_data): Likewise.
36842         (y0_test_data): Likewise.
36843         (y1_test_data): Likewise.
36844         (yn_test_data): Likewise.
36845         (significand_test_data): Likewise.
36847         * math/gen-libm-test.pl (@functions): Remove variable.
36848         (generate_testfile): Don't handle START and END lines.
36849         * math/libm-test.inc (START): New macro.
36850         (END): Likewise.
36851         (END_COMPLEX): Likewise.
36852         (acos_test): Use END macro without arguments.
36853         (acos_test_tonearest): Likewise.
36854         (acos_test_towardzero): Likewise.
36855         (acos_test_downward): Likewise.
36856         (acos_test_upward): Likewise.
36857         (acosh_test): Likewise.
36858         (asin_test): Likewise.
36859         (asin_test_tonearest): Likewise.
36860         (asin_test_towardzero): Likewise.
36861         (asin_test_downward): Likewise.
36862         (asin_test_upward): Likewise.
36863         (asinh_test): Likewise.
36864         (atan_test): Likewise.
36865         (atanh_test): Likewise.
36866         (atan2_test): Likewise.
36867         (cabs_test): Likewise.
36868         (cacos_test): Use END_COMPLEX macro without arguments.
36869         (cacosh_test): Likewise.
36870         (carg_test): Use END macro without arguments.
36871         (casin_test): Use END_COMPLEX macro without arguments.
36872         (casinh_test): Likewise.
36873         (catan_test): Likewise.
36874         (catanh_test): Likewise.
36875         (cbrt_test): Use END macro without arguments.
36876         (ccos_test): Use END_COMPLEX macro without arguments.
36877         (ccosh_test): Likewise.
36878         (ceil_test): Use END macro without arguments.
36879         (cexp_test): Use END_COMPLEX macro without arguments.
36880         (cimag_test): Use END macro without arguments.
36881         (clog_test): Use END_COMPLEX macro without arguments.
36882         (clog10_test): Likewise.
36883         (conj_test): Likewise.
36884         (copysign_test): Use END macro without arguments.
36885         (cos_test): Likewise.
36886         (cos_test_tonearest): Likewise.
36887         (cos_test_towardzero): Likewise.
36888         (cos_test_downward): Likewise.
36889         (cos_test_upward): Likewise.
36890         (cosh_test): Likewise.
36891         (cosh_test_tonearest): Likewise.
36892         (cosh_test_towardzero): Likewise.
36893         (cosh_test_downward): Likewise.
36894         (cosh_test_upward): Likewise.
36895         (cpow_test): Use END_COMPLEX macro without arguments.
36896         (cproj_test): Likewise.
36897         (creal_test): Use END macro without arguments.
36898         (csin_test): Use END_COMPLEX macro without arguments.
36899         (csinh_test): Likewise.
36900         (csqrt_test): Likewise.
36901         (ctan_test): Likewise.
36902         (ctan_test_tonearest): Likewise.
36903         (ctan_test_towardzero): Likewise.
36904         (ctan_test_downward): Likewise.
36905         (ctan_test_upward): Likewise.
36906         (ctanh_test): Likewise.
36907         (ctanh_test_tonearest): Likewise.
36908         (ctanh_test_towardzero): Likewise.
36909         (ctanh_test_downward): Likewise.
36910         (ctanh_test_upward): Likewise.
36911         (erf_test): Use END macro without arguments.
36912         (erfc_test): Likewise.
36913         (exp_test): Likewise.
36914         (exp_test_tonearest): Likewise.
36915         (exp_test_towardzero): Likewise.
36916         (exp_test_downward): Likewise.
36917         (exp_test_upward): Likewise.
36918         (exp10_test): Likewise.
36919         (exp2_test): Likewise.
36920         (expm1_test): Likewise.
36921         (fabs_test): Likewise.
36922         (fdim_test): Likewise.
36923         (finite_test): Likewise.
36924         (floor_test): Likewise.
36925         (fma_test): Likewise.
36926         (fma_test_towardzero): Likewise.
36927         (fma_test_downward): Likewise.
36928         (fma_test_upward): Likewise.
36929         (fmax_test): Likewise.
36930         (fmin_test): Likewise.
36931         (fmod_test): Likewise.
36932         (fpclassify_test): Likewise.
36933         (frexp_test): Likewise.
36934         (gamma_test): Likewise.
36935         (hypot_test): Likewise.
36936         (ilogb_test): Likewise.
36937         (isfinite_test): Likewise.
36938         (isgreater_test): Likewise.
36939         (isgreaterequal_test): Likewise.
36940         (isinf_test): Likewise.
36941         (isless_test): Likewise.
36942         (islessequal_test): Likewise.
36943         (islessgreater_test): Likewise.
36944         (isnan_test): Likewise.
36945         (isnormal_test): Likewise.
36946         (issignaling_test): Likewise.
36947         (isunordered_test): Likewise.
36948         (j0_test): Likewise.
36949         (j1_test): Likewise.
36950         (jn_test): Likewise.
36951         (ldexp_test): Likewise.
36952         (lgamma_test): Likewise.
36953         (lrint_test): Likewise.
36954         (lrint_test_tonearest): Likewise.
36955         (lrint_test_towardzero): Likewise.
36956         (lrint_test_downward): Likewise.
36957         (lrint_test_upward): Likewise.
36958         (llrint_test): Likewise.
36959         (llrint_test_tonearest): Likewise.
36960         (llrint_test_towardzero): Likewise.
36961         (llrint_test_downward): Likewise.
36962         (llrint_test_upward): Likewise.
36963         (log_test): Likewise.
36964         (log10_test): Likewise.
36965         (log1p_test): Likewise.
36966         (log2_test): Likewise.
36967         (logb_test): Likewise.
36968         (logb_test_downward): Likewise.
36969         (lround_test): Likewise.
36970         (llround_test): Likewise.
36971         (modf_test): Likewise.
36972         (nearbyint_test): Likewise.
36973         (nextafter_test): Likewise.
36974         (nexttoward_test): Likewise.
36975         (pow_test): Likewise.
36976         (pow_test_tonearest): Likewise.
36977         (pow_test_towardzero): Likewise.
36978         (pow_test_downward): Likewise.
36979         (pow_test_upward): Likewise.
36980         (remainder_test): Likewise.
36981         (remainder_test_tonearest): Likewise.
36982         (remainder_test_towardzero): Likewise.
36983         (remainder_test_downward): Likewise.
36984         (remainder_test_upward): Likewise.
36985         (remquo_test): Likewise.
36986         (rint_test): Likewise.
36987         (rint_test_tonearest): Likewise.
36988         (rint_test_towardzero): Likewise.
36989         (rint_test_downward): Likewise.
36990         (rint_test_upward): Likewise.
36991         (round_test): Likewise.
36992         (scalb_test): Likewise.
36993         (scalbn_test): Likewise.
36994         (scalbln_test): Likewise.
36995         (signbit_test): Likewise.
36996         (sin_test): Likewise.
36997         (sin_test_tonearest): Likewise.
36998         (sin_test_towardzero): Likewise.
36999         (sin_test_downward): Likewise.
37000         (sin_test_upward): Likewise.
37001         (sincos_test): Likewise.
37002         (sinh_test): Likewise.
37003         (sinh_test_tonearest): Likewise.
37004         (sinh_test_towardzero): Likewise.
37005         (sinh_test_downward): Likewise.
37006         (sinh_test_upward): Likewise.
37007         (sqrt_test): Likewise.
37008         (tan_test): Likewise.
37009         (tan_test_tonearest): Likewise.
37010         (tan_test_towardzero): Likewise.
37011         (tan_test_downward): Likewise.
37012         (tan_test_upward): Likewise.
37013         (tanh_test): Likewise.
37014         (tgamma_test): Likewise.
37015         (trunc_test): Likewise.
37016         (y0_test): Likewise.
37017         (y1_test): Likewise.
37018         (yn_test): Likewise.
37019         (significand_test): Likewise.
37021 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
37023         [BZ #15381]
37024         * libio/genops.c (_IO_no_init): Initialize wide struct info.
37026 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
37028         [BZ #14894]
37029         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
37030         __ppc_mdoio and __ppc_mdoom.
37031         * manual/platform.texi: Document new functions __ppc_yield,
37032         __ppc_mdoio and __ppc_mdoom.
37034 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
37036         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
37037         (main): Mention "tls" pseudo-hwcap is legacy.
37038         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
37040 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
37042         * math/gen-libm-test.pl (parse_args): Output only string of
37043         arguments as text for test name, not full call or descriptions of
37044         tests for extra outputs.
37045         (generate_testfile): Do not pass function name to parse_args.
37046         Generate this_func variable from START.
37047         * math/libm-test.inc (struct test_f_f_data): Rename test_name
37048         field to arg_str.
37049         (struct test_ff_f_data): Likewise.
37050         (test_ff_f_data_nexttoward): Likewise.
37051         (struct test_fi_f_data): Likewise.
37052         (struct test_fl_f_data): Likewise.
37053         (struct test_if_f_data): Likewise.
37054         (struct test_fff_f_data): Likewise.
37055         (struct test_c_f_data): Likewise.
37056         (struct test_f_f1_data): Likewise.  Remove field extra_name.
37057         (struct test_fF_f1_data): Likewise.
37058         (struct test_ffI_f1_data): Likewise.
37059         (struct test_c_c_data): Rename test_name field to arg_str.
37060         (struct test_cc_c_data): Likewise.
37061         (struct test_f_i_data): Likewise.
37062         (struct test_ff_i_data): Likewise.
37063         (struct test_f_l_data): Likewise.
37064         (struct test_f_L_data): Likewise.
37065         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
37066         and extra2_name.
37067         (COMMON_TEST_SETUP): New macro.
37068         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
37069         (COMMON_TEST_CLEANUP): Likewise.
37070         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
37071         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
37072         macros.
37073         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
37074         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
37075         macros.
37076         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
37077         (RUN_TEST_fff_f): Take argument string.  Call new setup and
37078         cleanup macros.
37079         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
37080         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
37081         macros.
37082         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
37083         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
37084         macros.
37085         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
37086         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
37087         cleanup macros.
37088         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
37089         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
37090         cleanup macros.
37091         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
37092         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
37093         cleanup macros.
37094         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
37095         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
37096         macros.
37097         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
37098         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
37099         macros.
37100         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
37101         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
37102         macros.
37103         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
37104         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
37105         cleanup macros.
37106         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
37107         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
37108         cleanup macros.
37109         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
37110         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
37111         macros.
37112         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
37113         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
37114         cleanup macros.
37115         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
37116         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
37117         macros.
37118         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
37119         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
37120         macros.
37121         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
37122         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
37123         cleanup macros.
37124         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
37126 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
37128         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
37129         to _sifields.sigfault.
37130         (si_addr_lsb): Define new macro.
37131         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
37132         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
37133         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
37135 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
37137         [BZ #15441]
37138         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
37139         returns -1.
37140         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
37141         null return -1.
37142         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
37143         loading the domain.
37145 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
37147         * math/gen-libm-test.pl (parse_args): Do not include expected
37148         result in test name.
37149         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
37150         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37151         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
37152         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
37153         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
37154         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37156 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
37158         * benchtests/Makefile: Sort function entries.
37160         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
37161         tanh, asinh, acosh, atanh.
37162         * benchtests/acos-inputs: New file.
37163         * benchtests/acosh-inputs: New file.
37164         * benchtests/asin-inputs: New file.
37165         * benchtests/asinh-inputs: New file.
37166         * benchtests/atanh-inputs: New file.
37167         * benchtests/cosh-inputs: New file.
37168         * benchtests/log-inputs: New file.
37169         * benchtests/sinh-inputs: New file.
37170         * benchtests/tanh-inputs: New file.
37172 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
37174         [BZ #15339]
37175         * posix/tst-getaddrinfo4.c: New test.
37176         * posix/Makefile (tests): Add it.
37178 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37180         [BZ #15339]
37181         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
37182         when no services were used.
37183         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
37184         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
37186 2013-05-21  Andreas Schwab  <schwab@suse.de>
37188         [BZ #15014]
37189         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
37190         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
37191         successful.
37192         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
37193         redundant variable declarations and reallocation of buffer when
37194         parsing as IPv6 address.  Always set NSS status when called from
37195         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
37196         buffer too small.  Correct computation of needed size.
37197         * nss/Makefile (tests): Add test-digits-dots.
37198         * nss/test-digits-dots.c: New test.
37200 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37202         * benchtests/Makefile: Remove instructions for adding
37203         benchmark tests.
37204         * benchtests/README: New file to explain how to execute and
37205         enhance the benchmark tests.
37207 2013-05-21  Andreas Schwab  <schwab@suse.de>
37209         [BZ #15493]
37210         * setjmp/Makefile (tests): Add tst-sigsetjmp.
37211         * setjmp/tst-sigsetjmp.c: New test.
37213 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
37215         * sysdeps/x86_64/memset.S (memset): New implementation.
37216         (__bzero): Likewise.
37217         (__memset_tail): New function.
37219 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
37221         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
37222         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
37223         __memcpy_sse2_unaligned ifunc selection.
37224         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
37225         Add memcpy-sse2-unaligned.S.
37226         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
37227         Add: __memcpy_sse2_unaligned.
37229 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
37231         [BZ #15490]
37232         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
37233         math_force_eval before restoring floating-point envrionment.
37234         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
37235         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
37236         Likewise.
37237         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
37238         <math_private.h>.
37239         (__nearbyintl): Use math_force_eval before restoring
37240         floating-point environment.
37241         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
37243         * math/gen-libm-test.pl (special_functions): Remove.
37244         (parse_args): Don't handle TEST_extra.  Handle functions with no
37245         return value.
37246         * math/libm-test.inc (struct test_sincos_data): Replace with
37247         struct test_fFF_11_data.
37248         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
37249         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
37250         (sincos_test_data): Change element type to struct
37251         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
37252         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
37253         RUN_TEST_LOOP_sincos.
37254         * math/README.libm-test: Don't mention special handling of
37255         individual functions.
37256         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
37257         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37258         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
37259         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
37260         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
37261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37263         * math/gen-libm-test.pl (get_variable): Remove function.
37264         (parse_args): Don't show pointer parameters to call in test
37265         names.  Use "extra output N" in test names for extra outputs
37266         rather than naming variables.
37268 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
37270         [BZ #15488]
37271         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
37272         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
37273         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
37274         double tests.
37275         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
37276         disable.
37277         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
37278         check_long_double.
37280         * math/gen-libm-test.pl (@tests): Remove variable.
37281         ($count): Likewise.
37282         (new_test): Remove function.
37283         (show_exceptions): New function.
37284         (special_functions): Use show_exceptions instead of new_test.
37285         (parse_args): Likewise.
37286         (generate_testfile): Pass only function name in generated call to
37287         print_max_error or print_complex_max_error.
37288         (get_ulps): Do not handle complex tests specially.
37289         (output_test): Rename to ...
37290         (get_all_ulps_for_test): ... this.  Return a string rather than
37291         printing to a file.  Require ulps to be present.
37292         (output_ulps): Generate arrays rather than #defines.
37293         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
37294         (struct ulp_data): New type.
37295         (BUILD_COMPLEX_ULP): Remove macro.
37296         (compare_ulp_data): New function.
37297         (find_ulps): Likewise.
37298         (find_test_ulps): Likewise.
37299         (find_function_ulps): Likewise.
37300         (find_complex_function_ulps): Likewise.
37301         (print_max_error): Determine allowed ulps using
37302         find_function_ulps.
37303         (print_complex_max_error): Determine allowed ulps using
37304         find_complex_function_ulps.
37305         (check_float_internal): Determine max ulps using find_test_ulps.
37306         (check_float): Do not take max_ulp parameter.  Update call to
37307         check_float_internal.
37308         (check_complex): Likewise.
37309         (check_int): Do not take max_ulp parameter.
37310         (check_long): Likewise.
37311         (check_bool): Likewise.
37312         (check_longlong): Likewise.
37313         (struct test_f_f_data): Remove max_ulp field.
37314         (struct test_ff_f_data): Likewise.
37315         (struct test_ff_f_data_nexttoward): Likewise.
37316         (struct test_fi_f_data): Likewise.
37317         (struct test_fl_f_data): Likewise.
37318         (struct test_if_f_data): Likewise.
37319         (struct test_fff_f_data): Likewise.
37320         (struct test_c_f_data): Likewise.
37321         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
37322         (struct test_fF_f1_data): Likewise.
37323         (struct test_ffI_f1_data): Likewise.
37324         (struct test_c_c_data): Remove max_ulp field.
37325         (struct test_cc_c_data): Likewise.
37326         (struct test_f_i_data): Likewise.
37327         (struct test_ff_i_data): Likewise.
37328         (struct test_f_l_data): Likewise.
37329         (struct test_f_L_data): Likewise.
37330         (struct test_sincos_data): Likewise.
37331         (RUN_TEST_f_f): Do not handle ulps.
37332         (RUN_TEST_LOOP_f_f): Likewise.
37333         (RUN_TEST_2_f): Likewise.
37334         (RUN_TEST_LOOP_2_f): Likewise.
37335         (RUN_TEST_fff_f): Likewise.
37336         (RUN_TEST_LOOP_fff_f): Likewise.
37337         (RUN_TEST_c_f): Likewise.
37338         (RUN_TEST_LOOP_c_f): Likewise.
37339         (RUN_TEST_f_f1): Likewise.
37340         (RUN_TEST_LOOP_f_f1): Likewise.
37341         (RUN_TEST_fF_f1): Likewise.
37342         (RUN_TEST_LOOP_fF_f1): Likewise.
37343         (RUN_TEST_fI_f1): Likewise.
37344         (RUN_TEST_LOOP_fI_f1): Likewise.
37345         (RUN_TEST_ffI_f1): Likewise.
37346         (RUN_TEST_LOOP_ffI_f1): Likewise.
37347         (RUN_TEST_c_c): Likewise.
37348         (RUN_TEST_LOOP_c_c): Likewise.
37349         (RUN_TEST_cc_c): Likewise.
37350         (RUN_TEST_LOOP_cc_c): Likewise.
37351         (RUN_TEST_f_i): Likewise.
37352         (RUN_TEST_LOOP_f_i): Likewise.
37353         (RUN_TEST_f_i_tg): Likewise.
37354         (RUN_TEST_LOOP_f_i_tg): Likewise.
37355         (RUN_TEST_ff_i_tg): Likewise.
37356         (RUN_TEST_LOOP_ff_i_tg): Likewise.
37357         (RUN_TEST_f_b): Likewise.
37358         (RUN_TEST_LOOP_f_b): Likewise.
37359         (RUN_TEST_f_b_tg): Likewise.
37360         (RUN_TEST_LOOP_f_b_tg): Likewise.
37361         (RUN_TEST_f_l): Likewise.
37362         (RUN_TEST_LOOP_f_l): Likewise.
37363         (RUN_TEST_f_L): Likewise.
37364         (RUN_TEST_LOOP_f_L): Likewise.
37365         (RUN_TEST_sincos): Likewise.
37366         (RUN_TEST_LOOP_sincos): Likewise.
37368 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
37370         [BZ #15480]
37371         [BZ #15485]
37372         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
37373         main case of finite arguments, set rounding mode to FE_TONEAREST
37374         and discard exceptions.
37375         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
37376         exceptions.
37377         (remainder_tonearest_test_data): New variable.
37378         (remainder_test_tonearest): New function.
37379         (remainder_towardzero_test_data): New variable.
37380         (remainder_test_towardzero): New function.
37381         (remainder_downward_test_data): New variable.
37382         (remainder_test_downward): New function.
37383         (remainder_upward_test_data): New variable.
37384         (remainder_test_upward): New function.
37385         (main): Call the new test functions.
37387         * math/libm-test.inc (struct test_f_f1_data): Remove field
37388         extra_init.
37389         (struct test_fF_f1_data): Likewise.
37390         (struct test_ffI_f1_data): Likewise.
37391         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
37392         based on value of EXTRA_EXPECTED.
37393         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
37394         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
37395         EXTRA_VAR based on value of EXTRA_EXPECTED.
37396         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
37397         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
37398         EXTRA_VAR based on value of EXTRA_EXPECTED.
37399         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
37400         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
37401         EXTRA_VAR based on value of EXTRA_EXPECTED.
37402         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
37403         * math/gen-libm-test.pl (parse_args): Don't output initializers
37404         for extra output values.
37406         * math/libm-test.inc (check_int): Expect result to be exactly
37407         equal to expected value and do not handle ulps.
37408         (check_long): Likewise.
37409         (check_longlong): Likewise.
37411         * math/libm-test.inc (ceil_test_data): Test for "inexact"
37412         exceptions.
37413         (cimag_test_data): Likewise.
37414         (conj_test_data): Likewise.
37415         (copysign_test_data): Likewise.
37416         (cproj_test_data): Likewise.
37417         (creal_test_data): Likewise.
37418         (fabs_test_data): Likewise.
37419         (fdim_test_data): Likewise.
37420         (finite_test_data): Likewise.
37421         (floor_test_data): Likewise.
37422         (fmax_test_data): Likewise.
37423         (fmin_test_data): Likewise.
37424         (fmod_test_data): Likewise.
37425         (fpclassify_test_data): Likewise.
37426         (frexp_test_data): Likewise.
37427         (ilogb_test_data): Likewise.
37428         (isfinite_test_data): Likewise.
37429         (isgreater_test_data): Likewise.
37430         (isgreaterequal_test_data): Likewise.
37431         (isinf_test_data): Likewise.
37432         (isless_test_data): Likewise.
37433         (islessequal_test_data): Likewise.
37434         (islessgreater_test_data): Likewise.
37435         (isnan_test_data): Likewise.
37436         (isnormal_test_data): Likewise.
37437         (issignaling_test_data): Likewise.
37438         (isunordered_test_data): Likewise.
37439         (ldexp_test_data): Likewise.
37440         (lrint_test_data): Likewise.
37441         (lrint_test_data) [TEST_FLOAT]: Disable one test.
37442         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
37443         (lrint_tonearest_test_data): Test for "inexact" exceptions.
37444         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
37445         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
37446         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
37447         test input.
37448         (lrint_towardzero_test_data): Test for "inexact" exceptions.
37449         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
37450         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
37451         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
37452         that test input.
37453         (lrint_downward_test_data): Test for "inexact" exceptions.
37454         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
37455         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
37456         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
37457         test input.
37458         (lrint_upward_test_data): Test for "inexact" exceptions.
37459         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
37460         test input.
37461         (llrint_test_data): Test for "inexact" exceptions.
37462         (llrint_test_data) [TEST_FLOAT]: Disable one test.
37463         (llrint_tonearest_test_data): Test for "inexact" exceptions.
37464         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
37465         (llrint_towardzero_test_data): Test for "inexact" exceptions.
37466         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
37467         (llrint_downward_test_data): Test for "inexact" exceptions.
37468         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
37469         (llrint_upward_test_data): Test for "inexact" exceptions.
37470         (logb_test_data): Likewise.
37471         (logb_downward_test_data): Likewise.
37472         (nextafter_test_data): Likewise.
37473         (nexttoward_test_data): Likewise.
37474         (remainder_test_data): Likewise.
37475         (remquo_test_data): Likewise.
37476         (scalbn_test_data): Likewise.
37477         (scalbln_test_data): Likewise.
37478         (signbit_test_data): Likewise.
37479         (sqrt_test_data): Likewise.
37480         (significand_test_data): Likewise.
37482 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
37484         [BZ #15424]
37485         * benchtests/bench-modf.c (struct args): Mark arg0 as
37486         volatile.
37487         * scripts/bench.pl: Mark members of struct args as volatile.
37489 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37491         [BZ # 15497]
37492         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
37493         negative infinity on POWER6 or lower.
37494         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
37496 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
37498         [BZ #15442]
37499         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
37500         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
37501         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
37502         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
37503         (_FP_SETQNAN): New macro.
37504         (_FP_SETQNAN_SEMIRAW): Likewise.
37505         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
37506         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
37507         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
37508         (FP_EXTEND): Use _FP_FRAC_SNANP.
37509         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
37510         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
37511         into account.
37512         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
37513         New macro.
37514         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
37515         Likewise.
37517 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
37519         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
37520         with DIVIDE_BY_ZERO_EXCEPTION.
37521         (gamma_test_data): Likewise.
37522         (lgamma_test_data): Likewise.
37523         (log_test_data): Likewise.
37524         (log10_test_data): Likewise.
37525         (log2_test_data): Likewise.
37526         (tgamma_test_data): Likewise.
37528         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
37529         (acos_test_tonearest): Likewise.
37530         (acos_test_towardzero): Likewise.
37531         (acos_test_downward): Likewise.
37532         (acos_test_upward): Likewise.
37533         (acosh_test): Likewise.
37534         (asin_test): Likewise.
37535         (asin_test_tonearest): Likewise.
37536         (asin_test_towardzero): Likewise.
37537         (asin_test_downward): Likewise.
37538         (asin_test_upward): Likewise.
37539         (asinh_test): Likewise.
37540         (atan_test): Likewise.
37541         (atanh_test): Likewise.
37542         (atan2_test): Likewise.
37543         (cabs_test): Likewise.
37544         (cacos_test): Likewise.
37545         (cacosh_test): Likewise.
37546         (casin_test): Likewise.
37547         (casinh_test): Likewise.
37548         (catan_test): Likewise.
37549         (catanh_test): Likewise.
37550         (cbrt_test): Likewise.
37551         (ccos_test): Likewise.
37552         (ccosh_test): Likewise.
37553         (cexp_test): Likewise.
37554         (clog_test): Likewise.
37555         (clog10_test): Likewise.
37556         (cos_test): Likewise.
37557         (cos_test_tonearest): Likewise.
37558         (cos_test_towardzero): Likewise.
37559         (cos_test_downward): Likewise.
37560         (cos_test_upward): Likewise.
37561         (cosh_test): Likewise.
37562         (cosh_test_tonearest): Likewise.
37563         (cosh_test_towardzero): Likewise.
37564         (cosh_test_downward): Likewise.
37565         (cosh_test_upward): Likewise.
37566         (cpow_test): Likewise.
37567         (csin_test): Likewise.
37568         (csinh_test): Likewise.
37569         (csqrt_test): Likewise.
37570         (ctan_test): Likewise.
37571         (ctan_test_tonearest): Likewise.
37572         (ctan_test_towardzero): Likewise.
37573         (ctan_test_downward): Likewise.
37574         (ctan_test_upward): Likewise.
37575         (ctanh_test): Likewise.
37576         (ctanh_test_tonearest): Likewise.
37577         (ctanh_test_towardzero): Likewise.
37578         (ctanh_test_downward): Likewise.
37579         (ctanh_test_upward): Likewise.
37580         (erf_test): Likewise.
37581         (erfc_test): Likewise.
37582         (exp_test): Likewise.
37583         (exp_test_tonearest): Likewise.
37584         (exp_test_towardzero): Likewise.
37585         (exp_test_downward): Likewise.
37586         (exp_test_upward): Likewise.
37587         (exp10_test): Likewise.
37588         (exp2_test): Likewise.
37589         (expm1_test): Likewise.
37590         (fmod_test): Likewise.
37591         (gamma_test): Likewise.
37592         (hypot_test): Likewise.
37593         (j0_test): Likewise.
37594         (j1_test): Likewise.
37595         (jn_test): Likewise.
37596         (lgamma_test): Likewise.
37597         (log_test): Likewise.
37598         (log10_test): Likewise.
37599         (log1p_test): Likewise.
37600         (log2_test): Likewise.
37601         (logb_test_downward): Likewise.
37602         (pow_test): Likewise.
37603         (pow_test_tonearest): Likewise.
37604         (pow_test_towardzero): Likewise.
37605         (pow_test_downward): Likewise.
37606         (pow_test_upward): Likewise.
37607         (remainder_test): Likewise.
37608         (remquo_test): Likewise.
37609         (sin_test): Likewise.
37610         (sin_test_tonearest): Likewise.
37611         (sin_test_towardzero): Likewise.
37612         (sin_test_downward): Likewise.
37613         (sin_test_upward): Likewise.
37614         (sincos_test): Likewise.
37615         (sinh_test): Likewise.
37616         (sinh_test_tonearest): Likewise.
37617         (sinh_test_towardzero): Likewise.
37618         (sinh_test_downward): Likewise.
37619         (sinh_test_upward): Likewise.
37620         (sqrt_test): Likewise.
37621         (tan_test): Likewise.
37622         (tan_test_tonearest): Likewise.
37623         (tan_test_towardzero): Likewise.
37624         (tan_test_downward): Likewise.
37625         (tan_test_upward): Likewise.
37626         (tanh_test): Likewise.
37627         (tgamma_test): Likewise.
37628         (y0_test): Likewise.
37629         (y1_test): Likewise.
37630         (yn_test): Likewise.
37632         * math/gen-libm-test.pl (adjust_arg): Remove function.
37633         (special_function): Remove argument $in_func.  Only handle
37634         generating output for tables of tests, not inside functions.
37635         (parse_args): Likewise.
37636         (generate_testfile): Remove variable $in_func.  Update call to
37637         parse_args.
37638         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
37639         (MINUS_ZERO_INIT): Rename macro to minus_zero.
37640         (PLUS_INFTY_INIT): Rename macro to plus_infty.
37641         (MINUS_INFTY_INIT): Rename macro to minus_infty.
37642         (QNAN_VALUE_INIT): Rename macro to qnan_value.
37643         (MAX_VALUE_INIT): Rename macro to max_value.
37644         (MIN_VALUE_INIT): Rename macro to min_value.
37645         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
37646         (plus_zero): Remove variable.
37647         (minus_zero): Likewise.
37648         (plus_infty): Likewise.
37649         (minus_infty): Likewise.
37650         (qnan_value): Likewise.
37651         (max_value): Likewise.
37652         (min_value): Likewise.
37653         (min_subnorm_value): Likewise.
37655 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37657         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
37658         uint64_t or uint32_t usage.
37659         * crypt/sha256-block.c: Likewise.
37660         * crypt/sha256-crypt.c: Likewise.
37661         * crypt/sha256.c: Likewise.
37662         * crypt/sha512-block.c: Likewise.
37663         * crypt/sha512-crypt.c: Likewise.
37664         * crypt/sha512.c: Likewise.
37665         * debug/backtrace-tst.c: Likewise.
37666         * debug/pcprofiledump.c: Likewise.
37667         * elf/cache.c: Likewise.
37668         * elf/dl-cache.c: Likewise.
37669         * elf/dl-misc.c: Likewise.
37670         * elf/dl-profile.c: Likewise.
37671         * elf/dl-support.c: Likewise.
37672         * elf/ldconfig.c: Likewise.
37673         * elf/sprof.c: Likewise.
37674         * iconv/dummy-repertoire.c: Likewise.
37675         * iconv/iconv_charmap.c: Likewise.
37676         * iconv/skeleton.c: Likewise.
37677         * iconvdata/8bit-generic.c: Likewise.
37678         * iconvdata/cp737.h: Likewise.
37679         * iconvdata/cp775.h: Likewise.
37680         * iconvdata/ibm1008.h: Likewise.
37681         * iconvdata/ibm1025.h: Likewise.
37682         * iconvdata/ibm1046.h: Likewise.
37683         * iconvdata/ibm1097.h: Likewise.
37684         * iconvdata/ibm1112.h: Likewise.
37685         * iconvdata/ibm1122.h: Likewise.
37686         * iconvdata/ibm1123.h: Likewise.
37687         * iconvdata/ibm1124.h: Likewise.
37688         * iconvdata/ibm1129.h: Likewise.
37689         * iconvdata/ibm1130.h: Likewise.
37690         * iconvdata/ibm1132.h: Likewise.
37691         * iconvdata/ibm1133.h: Likewise.
37692         * iconvdata/ibm1137.h: Likewise.
37693         * iconvdata/ibm1140.h: Likewise.
37694         * iconvdata/ibm1141.h: Likewise.
37695         * iconvdata/ibm1142.h: Likewise.
37696         * iconvdata/ibm1143.h: Likewise.
37697         * iconvdata/ibm1144.h: Likewise.
37698         * iconvdata/ibm1145.h: Likewise.
37699         * iconvdata/ibm1146.h: Likewise.
37700         * iconvdata/ibm1147.h: Likewise.
37701         * iconvdata/ibm1148.h: Likewise.
37702         * iconvdata/ibm1149.h: Likewise.
37703         * iconvdata/ibm1153.h: Likewise.
37704         * iconvdata/ibm1154.h: Likewise.
37705         * iconvdata/ibm1155.h: Likewise.
37706         * iconvdata/ibm1156.h: Likewise.
37707         * iconvdata/ibm1157.h: Likewise.
37708         * iconvdata/ibm1158.h: Likewise.
37709         * iconvdata/ibm1160.h: Likewise.
37710         * iconvdata/ibm1161.h: Likewise.
37711         * iconvdata/ibm1162.h: Likewise.
37712         * iconvdata/ibm1163.h: Likewise.
37713         * iconvdata/ibm1164.h: Likewise.
37714         * iconvdata/ibm1166.h: Likewise.
37715         * iconvdata/ibm1167.h: Likewise.
37716         * iconvdata/ibm12712.h: Likewise.
37717         * iconvdata/ibm1390.h: Likewise.
37718         * iconvdata/ibm1399.h: Likewise.
37719         * iconvdata/ibm16804.h: Likewise.
37720         * iconvdata/ibm4517.h: Likewise.
37721         * iconvdata/ibm4899.h: Likewise.
37722         * iconvdata/ibm4909.h: Likewise.
37723         * iconvdata/ibm4971.h: Likewise.
37724         * iconvdata/ibm5347.h: Likewise.
37725         * iconvdata/ibm803.h: Likewise.
37726         * iconvdata/ibm856.h: Likewise.
37727         * iconvdata/ibm901.h: Likewise.
37728         * iconvdata/ibm902.h: Likewise.
37729         * iconvdata/ibm9030.h: Likewise.
37730         * iconvdata/ibm9066.h: Likewise.
37731         * iconvdata/ibm921.h: Likewise.
37732         * iconvdata/ibm922.h: Likewise.
37733         * iconvdata/ibm9448.h: Likewise.
37734         * iconvdata/isiri-3342.h: Likewise.
37735         * iconvdata/jis0201.h: Likewise.
37736         * include/link.h: Likewise.
37737         * include/netdb.h: Likewise.
37738         * inet/check_native.c: Likewise.
37739         * inet/check_pf.c: Likewise.
37740         * inet/getipv4sourcefilter.c: Likewise.
37741         * inet/getnameinfo.c: Likewise.
37742         * inet/getsourcefilter.c: Likewise.
37743         * inet/htonl.c: Likewise.
37744         * inet/setipv4sourcefilter.c: Likewise.
37745         * inet/setsourcefilter.c: Likewise.
37746         * inet/test-inet6_opt.c: Likewise.
37747         * inet/tst-network.c: Likewise.
37748         * locale/C-collate.c: Likewise.
37749         * locale/C-ctype.c: Likewise.
37750         * locale/C-time.c: Likewise.
37751         * locale/C-translit.h: Likewise.
37752         * locale/loadarchive.c: Likewise.
37753         * locale/programs/3level.h: Likewise.
37754         * locale/programs/charmap.c: Likewise.
37755         * locale/programs/charmap.h: Likewise.
37756         * locale/programs/ld-address.c: Likewise.
37757         * locale/programs/ld-collate.c: Likewise.
37758         * locale/programs/ld-ctype.c: Likewise.
37759         * locale/programs/ld-identification.c: Likewise.
37760         * locale/programs/ld-measurement.c: Likewise.
37761         * locale/programs/ld-messages.c: Likewise.
37762         * locale/programs/ld-monetary.c: Likewise.
37763         * locale/programs/ld-name.c: Likewise.
37764         * locale/programs/ld-numeric.c: Likewise.
37765         * locale/programs/ld-paper.c: Likewise.
37766         * locale/programs/ld-telephone.c: Likewise.
37767         * locale/programs/ld-time.c: Likewise.
37768         * locale/programs/linereader.c: Likewise.
37769         * locale/programs/locale.c: Likewise.
37770         * locale/programs/locarchive.c: Likewise.
37771         * locale/programs/locfile.h: Likewise.
37772         * locale/programs/repertoire.c: Likewise.
37773         * locale/programs/simple-hash.c: Likewise.
37774         * locale/programs/simple-hash.h: Likewise.
37775         * malloc/memusage.c: Likewise.
37776         * malloc/memusagestat.c: Likewise.
37777         * nis/nis_defaults.c: Likewise.
37778         * nis/nis_hash.c: Likewise.
37779         * nis/nis_print.c: Likewise.
37780         * nis/nis_xdr.c: Likewise.
37781         * nscd/connections.c: Likewise.
37782         * nscd/hstcache.c: Likewise.
37783         * nscd/nscd_gethst_r.c: Likewise.
37784         * nscd/nscd_getserv_r.c: Likewise.
37785         * nscd/nscd_helper.c: Likewise.
37786         * nscd/servicescache.c: Likewise.
37787         * nss/makedb.c: Likewise.
37788         * nss/nss_db/db-XXX.c: Likewise.
37789         * nss/nss_db/db-initgroups.c: Likewise.
37790         * nss/nss_db/db-netgrp.c: Likewise.
37791         * nss/nss_files/files-network.c: Likewise.
37792         * nss/nss_files/files-parse.c: Likewise.
37793         * posix/bug-regex5.c: Likewise.
37794         * posix/fnmatch_loop.c: Likewise.
37795         * posix/regcomp.c: Likewise.
37796         * posix/regexec.c: Likewise.
37797         * posix/tst-rfc3484-2.c: Likewise.
37798         * posix/tst-rfc3484-3.c: Likewise.
37799         * posix/tst-rfc3484.c: Likewise.
37800         * resolv/nss_dns/dns-canon.c: Likewise.
37801         * resolv/nss_dns/dns-network.c: Likewise.
37802         * resolv/res_init.c: Likewise.
37803         * resolv/res_mkquery.c: Likewise.
37804         * resolv/tst-aton.c: Likewise.
37805         * stdlib/cxa_atexit.c: Likewise.
37806         * stdlib/cxa_finalize.c: Likewise.
37807         * stdlib/gen-fpioconst.c: Likewise.
37808         * stdlib/strtol_l.c: Likewise.
37809         * string/tst-endian.c: Likewise.
37810         * sunrpc/auth_des.c: Likewise.
37811         * sunrpc/clnt_udp.c: Likewise.
37812         * sunrpc/rtime.c: Likewise.
37813         * sunrpc/svcauth_des.c: Likewise.
37814         * sunrpc/xdr.c: Likewise.
37815         * sunrpc/xdr_intXX_t.c: Likewise.
37816         * sunrpc/xdr_rec.c: Likewise.
37817         * sysdeps/generic/ldconfig.h: Likewise.
37818         * sysdeps/generic/ldsodefs.h: Likewise.
37819         * sysdeps/generic/memusage.h: Likewise.
37820         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
37821         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
37822         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
37823         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
37824         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37825         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37826         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
37827         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
37828         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37829         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
37830         * sysdeps/posix/getaddrinfo.c: Likewise.
37831         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37832         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37833         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
37834         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37835         * sysdeps/powerpc/test-gettimebase.c: Likewise.
37836         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
37837         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
37838         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
37839         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
37840         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
37841         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
37842         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
37843         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
37844         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
37845         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
37846         * sysdeps/x86_64/dl-tls.h: Likewise.
37847         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
37848         * time/alt_digit.c: Likewise.
37849         * time/era.c: Likewise.
37850         * wcsmbs/tst-c16c32-1.c: Likewise.
37852 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
37854         * math/libm-test.inc (struct test_sincos_data): New type.
37855         (RUN_TEST_LOOP_sincos): New macro.
37856         (sincos_test_data): New variable.
37857         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
37859 2013-05-16  Richard Henderson  <rth@redhat.com>
37861         * math/atest-exp2.c (LIMB64): New macro.
37862         (CONSTSZ): New macro.
37863         (mp_exp1, mp_exp_m1, mp_log2): New variables.
37864         (hexdig): Move ...
37865         (print_mpn_fp): ... to function scope.
37866         (read_mpn_hex): Remove.
37867         (get_log2): Remove.
37868         (exp2_mpn): Use mp_log2.
37869         (main): Use mp_exp1.
37871 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
37873         * math/libm-test.inc: Remove comment about not testing "inexact"
37874         exceptions.
37875         (INEXACT_EXCEPTION): New macro.
37876         (NO_INEXACT_EXCEPTION): Likewise.
37877         (INVALID_EXCEPTION_OK): Update value.
37878         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37879         (OVERFLOW_EXCEPTION_OK): Likewise.
37880         (UNDERFLOW_EXCEPTION_OK): Likewise.
37881         (IGNORE_ZERO_INF_SIGN): Likewise.
37882         (ERRNO_UNCHANGED): Likewise.
37883         (ERRNO_EDOM): Likewise.
37884         (ERRNO_ERANGE): Likewise.
37885         (test_exceptions): Handle testing "inexact" exceptions.
37886         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
37887         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
37888         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
37889         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
37890         INEXACT_EXCEPTION.
37891         (rint_towardzero_test_data): Likewise.
37892         (rint_downward_test_data): Likewise.
37893         (rint_upward_test_data): Likewise.
37895         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
37896         with OVERFLOW_EXCEPTION.
37897         (exp10_test_data): Likewise.
37898         (exp2_test_data): Likewise.
37899         (expm1_test_data): Likewise.
37900         (lgamma_test_data): Likewise.
37901         (pow_test_data): Likewise.
37902         (tgamma_test_data): Likewise.
37903         (yn_test_data): Remove duplicate test of overflow.
37905         * math/libm-test.inc (struct test_cc_c_data): New type.
37906         (RUN_TEST_LOOP_cc_c): New macro.
37907         (cpow_test_data): New variable.
37908         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
37910         * math/libm-test.inc (struct test_f_L_data): New type.
37911         (RUN_TEST_LOOP_f_L): New macro.
37912         (llrint_test_data): New variable.
37913         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
37914         (llrint_tonearest_test_data): New variable.
37915         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
37916         (llrint_towardzero_test_data): New variable.
37917         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
37918         (llrint_downward_test_data): New variable.
37919         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
37920         (llrint_upward_test_data): New variable.
37921         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
37922         (llround_test_data): New variable.
37923         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
37925 2013-05-13  Peter Collingbourne  <pcc@google.com>
37927         * math/atest-exp2.c (get_log2): Remove const attribute.
37929 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
37931         * math/libm-test.inc (struct test_f_l_data): New type.
37932         (RUN_TEST_LOOP_f_l): New macro.
37933         (lrint_test_data): New variable.
37934         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
37935         (lrint_tonearest_test_data): New variable.
37936         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
37937         (lrint_towardzero_test_data): New variable.
37938         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
37939         (lrint_downward_test_data): New variable.
37940         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
37941         (lrint_upward_test_data): New variable.
37942         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
37943         (lround_test_data): New variable.
37944         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
37946 2013-05-15  Peter Collingbourne  <pcc@google.com>
37948         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
37949         (EXTRACT_WORDS64) Use where appropriate.
37950         (INSERT_WORDS64) Likewise.
37952         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
37953         constraints with x constraints.
37954         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
37956         * malloc/obstack.c (_obstack_compat): Add initializer.
37958 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
37960         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
37961         si_trapno and add si_addr_lsb to _sifields.sigfault.
37962         (si_trapno): Remove macro.
37963         (si_addr_lsb): Define new macro.
37964         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
37966 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
37968         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
37969         instead of TEST_f_l.
37970         (llrint_test_tonearest): Likewise.
37971         (llrint_test_towardzero): Likewise.
37972         (llrint_test_downward): Likewise.
37973         (llrint_test_upward): Likewise.
37974         (llround_test): Likewise.
37976         * math/libm-test.inc (struct test_f_i_data): Add comment.
37977         (RUN_TEST_LOOP_f_b): New macro.
37978         (RUN_TEST_LOOP_f_b_tg): Likewise.
37979         (finite_test_data): New variable.
37980         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
37981         (isfinite_test_data): New variable.
37982         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37983         (isinf_test_data): New variable.
37984         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37985         (isnan_test_data): New variable.
37986         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37987         (isnormal_test_data): New variable.
37988         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37989         (issignaling_test_data): New variable.
37990         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37991         (signbit_test_data): New variable.
37992         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37994         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
37995         with INVALID_EXCEPTION.
37996         (acosh_test_data): Likewise.
37997         (asin_test_data): Likewise.
37998         (atanh_test_data): Likewise.
37999         (fmod_test_data): Likewise.
38000         (log_test_data): Likewise.
38001         (log10_test_data): Likewise.
38002         (log2_test_data): Likewise.
38003         (pow_test_data): Likewise.
38004         (sqrt_test_data): Likewise.
38005         (y0_test_data): Likewise.
38006         (y1_test_data): Likewise.
38007         (yn_test_data): Likewise.
38009         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
38010         function contents.
38012         * math/libm-test.inc (struct test_ff_i_data): New type.
38013         (RUN_TEST_LOOP_ff_i_tg): New macro.
38014         (isgreater_test_data): New variable.
38015         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
38016         (isgreaterequal_test_data): New variable.
38017         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
38018         (isless_test_data): New variable.
38019         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
38020         (islessequal_test_data): New variable.
38021         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
38022         (islessgreater_test_data): New variable.
38023         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
38024         (isunordered_test_data): New variable.
38025         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
38027 2013-05-14  David S. Miller  <davem@davemloft.net>
38029         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38031 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
38033         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
38035         * math/libm-test.inc (struct test_fF_f1_data): Change type of
38036         extra_test to int.
38037         (struct test_f_i_data): Change type of max_ulp to int.
38039         * math/libm-test.inc (test_ffI_f1_data): New type.
38040         (RUN_TEST_LOOP_ffI_f1): New macro.
38041         (remquo_test_data): New variable.
38042         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
38044         * setjmp/tst-setjmp-fp.c: New file.
38045         * setjmp/Makefile (tests): Add tst-setjmp-fp.
38046         (link-libm): New variable.
38047         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
38049         * math/libm-test.inc (struct test_f_i_data): New type.
38050         (RUN_TEST_LOOP_f_i): New macro.
38051         (RUN_TEST_LOOP_f_i_tg): Likewise.
38052         (fpclassify_test_data): New variable.
38053         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
38054         (ilogb_test_data): New variable.
38055         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
38057         * math/libm-test.inc (scalbln_test): Correct function name in END
38058         call.
38060         * math/libm-test.inc (struct test_f_f1_data): Add comment.
38061         (RUN_TEST_LOOP_fI_f1): New macro.
38062         (frexp_test_data): New variable.
38063         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
38065         * math/libm-test.inc (struct test_fF_f1_data): New type.
38066         (RUN_TEST_LOOP_fF_f1): New macro.
38067         (modf_test_data): New variable.
38068         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
38070         * math/libm-test.inc (struct test_f_f1_data): New type.
38071         (RUN_TEST_LOOP_f_f1): New macro.
38072         (gamma_test_data): New variable.
38073         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
38074         (lgamma_test_data): New variable.
38075         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
38077 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
38079         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
38080         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
38081         (main): Comment "tls" pseudo-hwcap.
38083 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
38085         * math/libm-test.inc (struct test_fl_f_data): New type.
38086         (RUN_TEST_LOOP_fl_f): New variable.
38087         (scalbln_test_data): New variable.
38088         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
38090         * math/libm-test.inc (struct test_fi_f_data): New type.
38091         (RUN_TEST_LOOP_fi_f): New macro.
38092         (ldexp_test_data): New variable.
38093         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
38094         (scalbn_test_data): New variable.
38095         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
38097         * math/libm-test.inc (struct test_c_f_data): New type.
38098         (RUN_TEST_LOOP_c_f): New macro.
38099         (cabs_test_data): New variable.
38100         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
38101         (carg_test_data): New variable.
38102         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
38103         (cimag_test_data): New variable.
38104         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
38105         (creal_test_data): New variable.
38106         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
38108         * math/libm-test.inc (struct test_if_f_data): New type.
38109         (RUN_TEST_LOOP_if_f): New macro.
38110         (jn_test_data): New variable.
38111         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
38112         (yn_test_data): New variable.
38113         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
38115         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
38117 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38119         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
38120         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
38122 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
38124         * benchtests/Makefile (CPPFLAGS-nonlib): Add
38125         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
38126         (bench-deps): Add bench-timing.h.
38127         * benchtests-bench-skeleton.c: Include bench-timing.h.
38128         (main): Use TIMING_* macros instead of clock_gettime.
38129         * benchtests/bench-timing.h: New file.
38131         [BZ #14582]
38132         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
38133         Renamed from _LIB_VERSION.
38134         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
38136 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
38138         * math/libm-test.inc (struct test_fff_f_data): New type.
38139         (RUN_TEST_LOOP_fff_f): New macro.
38140         (fma_test_data): New variable.
38141         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
38142         (fma_towardzero_test_data): New variable.
38143         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
38144         (fma_downward_test_data): New variable.
38145         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
38146         (fma_upward_test_data): New variable.
38147         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
38149         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
38150         (struct test_c_c_data): New type.
38151         (RUN_TEST_LOOP_c_c): New macro.
38152         (cacos_test_data): New variable.
38153         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
38154         (cacosh_test_data): New variable.
38155         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
38156         (casin_test_data): New variable.
38157         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
38158         (casinh_test_data): New variable.
38159         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
38160         (catan_test_data): New variable.
38161         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
38162         (catanh_test_data): New variable.
38163         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
38164         (ccos_test_data): New variable.
38165         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
38166         (ccosh_test_data): New variable.
38167         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
38168         (cexp_test_data): New variable.
38169         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
38170         (clog_test_data): New variable.
38171         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
38172         (clog10_test_data): New variable.
38173         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
38174         (conj_test_data): New variable.
38175         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
38176         (cproj_test_data): New variable.
38177         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
38178         (csin_test_data): New variable.
38179         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
38180         (csinh_test_data): New variable.
38181         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
38182         (csqrt_test_data): New variable.
38183         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
38184         (ctan_test_data): New variable.
38185         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
38186         (ctan_tonearest_test_data): New variable.
38187         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
38188         (ctan_towardzero_test_data): New variable.
38189         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
38190         (ctan_downward_test_data): New variable.
38191         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
38192         (ctan_upward_test_data): New variable.
38193         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
38194         (ctanh_test_data): New variable.
38195         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
38196         (ctanh_tonearest_test_data): New variable.
38197         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
38198         (ctanh_towardzero_test_data): New variable.
38199         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
38200         (ctanh_downward_test_data): New variable.
38201         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
38202         (ctanh_upward_test_data): New variable.
38203         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
38204         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
38205         of BUILD_COMPLEX.
38207         * math/libm-test.inc (struct test_ff_f_data): New type.
38208         (struct test_ff_f_data_nexttoward): Likewise.
38209         (RUN_TEST_LOOP_2_f): New macro.
38210         (RUN_TEST_LOOP_ff_f): Likewise.
38211         (atan2_test_data): New variable.
38212         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
38213         (copysign_test_data): New variable.
38214         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
38215         (fdim_test_data): New variable.
38216         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
38217         (fmax_test_data): New variable.
38218         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
38219         (fmin_test_data): New variable.
38220         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
38221         (fmod_test_data): New variable.
38222         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
38223         (hypot_test_data): New variable.
38224         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
38225         (nextafter_test_data): New variable.
38226         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
38227         (nexttoward_test_data): New variable.
38228         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
38229         (pow_test_data): New variable.
38230         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
38231         (pow_tonearest_test_data): New variable.
38232         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
38233         (pow_towardzero_test_data): New variable.
38234         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
38235         (pow_downward_test_data): New variable.
38236         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
38237         (pow_upward_test_data): New variable.
38238         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
38239         (remainder_test_data): New variable.
38240         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
38241         (scalb_test_data): New variable.
38242         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
38243         * sysdeps/i386/fpu/libm-test-ulps: Update.
38245 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
38247         * math/libm-test.inc (fma_test): Use max_value instead of local
38248         variable fltmax.
38249         (nextafter_test): Likewise.
38251         * math/libm-test.inc (acos_towardzero_test_data): New variable.
38252         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
38253         (acos_downward_test_data): New variable.
38254         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
38255         (acos_upward_test_data): New variable.
38256         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
38257         (acosh_test_data): New variable.
38258         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
38259         (asin_test_data): New variable.
38260         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
38261         (asin_tonearest_test_data): New variable.
38262         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
38263         (asin_towardzero_test_data): New variable.
38264         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
38265         (asin_downward_test_data): New variable.
38266         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
38267         (asin_upward_test_data): New variable.
38268         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
38269         (asinh_test_data): New variable.
38270         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
38271         (atan_test_data): New variable.
38272         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
38273         (atanh_test_data): New variable.
38274         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
38275         (cbrt_test_data): New variable.
38276         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
38277         (ceil_test_data): New variable.
38278         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
38279         (cos_test_data): New variable.
38280         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
38281         (cos_tonearest_test_data): New variable.
38282         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
38283         (cos_towardzero_test_data): New variable.
38284         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
38285         (cos_downward_test_data): New variable.
38286         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
38287         (cos_upward_test_data): New variable.
38288         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
38289         (cosh_test_data): New variable.
38290         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
38291         (cosh_tonearest_test_data): New variable.
38292         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
38293         (cosh_towardzero_test_data): New variable.
38294         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
38295         (cosh_downward_test_data): New variable.
38296         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
38297         (cosh_upward_test_data): New variable.
38298         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
38299         (erf_test_data): New variable.
38300         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
38301         (erfc_test_data): New variable.
38302         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
38303         (exp_test_data): New variable.
38304         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
38305         (exp_tonearest_test_data): New variable.
38306         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
38307         (exp_towardzero_test_data): New variable.
38308         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
38309         (exp_downward_test_data): New variable.
38310         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
38311         (exp_upward_test_data): New variable.
38312         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
38313         (exp10_test_data): New variable.
38314         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
38315         (exp2_test_data): New variable.
38316         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
38317         (expm1_test_data): New variable.
38318         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
38319         (fabs_test_data): New variable.
38320         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
38321         (floor_test_data): New variable.
38322         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
38323         (j0_test_data): New variable.
38324         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
38325         (j1_test_data): New variable.
38326         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
38327         (log_test_data): New variable.
38328         (log_test): Run tests with RUN_TEST_LOOP_f_f.
38329         (log10_test_data): New variable.
38330         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
38331         (log1p_test_data): New variable.
38332         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
38333         (log2_test_data): New variable.
38334         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
38335         (logb_test_data): New variable.
38336         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
38337         (logb_downward_test_data): New variable.
38338         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
38339         (nearbyint_test_data): New variable.
38340         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
38341         (rint_test_data): New variable.
38342         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
38343         (rint_tonearest_test_data): New variable.
38344         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
38345         (rint_towardzero_test_data): New variable.
38346         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
38347         (rint_downward_test_data): New variable.
38348         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
38349         (rint_upward_test_data): New variable.
38350         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
38351         (round_test_data): New variable.
38352         (round_test): Run tests with RUN_TEST_LOOP_f_f.
38353         (sin_test_data): New variable.
38354         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
38355         (sin_tonearest_test_data): New variable.
38356         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
38357         (sin_towardzero_test_data): New variable.
38358         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
38359         (sin_downward_test_data): New variable.
38360         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
38361         (sin_upward_test_data): New variable.
38362         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
38363         (sinh_test_data): New variable.
38364         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
38365         (sinh_tonearest_test_data): New variable.
38366         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
38367         (sinh_towardzero_test_data): New variable.
38368         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
38369         (sinh_downward_test_data): New variable.
38370         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
38371         (sinh_upward_test_data): New variable.
38372         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
38373         (sqrt_test_data): New variable.
38374         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
38375         (tan_test_data): New variable.
38376         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
38377         (tan_tonearest_test_data): New variable.
38378         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
38379         (tan_towardzero_test_data): New variable.
38380         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
38381         (tan_downward_test_data): New variable.
38382         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
38383         (tan_upward_test_data): New variable.
38384         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
38385         (tanh_test_data): New variable.
38386         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
38387         (tgamma_test_data): New variable.
38388         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
38389         (trunc_test_data): New variable.
38390         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
38391         (y0_test_data): New variable.
38392         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
38393         (y1_test_data): New variable.
38394         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
38395         (significand_test_data): New variable.
38396         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
38398 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
38400         [BZ #12387]
38401         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
38403 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
38405         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
38407 2013-05-10  Andreas Jaeger  <aj@suse.de>
38409         [BZ #15448]
38410         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
38411         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
38413 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
38415         * math/gen-libm-test.pl (adjust_arg): New function.
38416         (special_functions): Handle generating output in both functions
38417         and arrays.
38418         (parse_args): Likewise.
38419         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
38420         $in_func argument to parse_args.
38421         * math/libm-test.inc (struct test_f_f_data): New type.
38422         (IF_ROUND_INIT_): New macro.
38423         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
38424         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
38425         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
38426         (IF_ROUND_INIT_FE_UPWARD): Likewise.
38427         (ROUND_RESTORE_): Likewise.
38428         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
38429         (ROUND_RESTORE_FE_TONEAREST): Likewise.
38430         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
38431         (ROUND_RESTORE_FE_UPWARD): Likewise.
38432         (RUN_TEST_LOOP_f_f): New macro.
38433         (acos_test_data): New variable.
38434         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
38435         (acos_tonearest_test_data): New variable.
38436         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
38438 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38440         * benchtests/bench-skeleton.c (startup): Fix coding style.
38442 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
38444         [BZ #6809]
38445         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
38446         negative infinity argument.
38447         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
38448         negative infinity argument.
38449         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
38450         negative infinity argument.
38451         * math/libm-test.inc (tgamma_test): Expect errno to be set for
38452         domain errors.
38454 2013-05-10  Florian Weimer  <fweimer@redhat.com>
38456         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
38457         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
38458         * iconv/iconv_prog.c (main): Likewise.
38459         * locale/programs/charmap-dir.c (charmap_readdir)
38460         (fopen_uncompressed): Likewise.
38461         * locale/programs/locfile.c (siblings_uncached)
38462         (write_locale_data): Use lstat64 instead of lstat.
38463         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
38464         stat.
38466 2013-05-10  Andreas Jaeger  <aj@suse.de>
38468         [BZ #15395]
38469         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
38470         localization.
38471         Include <locale.h>.
38473 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
38475         * elf/dl-close.c (_dl_close_worker): Add comments.
38477 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
38479         [BZ #15359]
38480         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
38481         high part of pi/2.
38482         (__ieee754_rem_pio2l): Update comments.
38484         [BZ #15429]
38485         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
38486         high part of pi/2.
38487         (__ieee754_rem_pio2l): Update comments.
38489         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
38490         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
38492         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
38493         M_PI_4l.
38495         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
38496         (M_PI_34_LOG10El): Likewise.
38497         (M_PI2_LOG10El): Likewise.
38498         (M_PI4_LOG10El): Likewise.
38499         (M_PI_LOG10El): Likewise.
38501 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38503         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38505 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
38507         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
38508         (MINUS_ZERO_INIT): Likewise.
38509         (PLUS_INFTY_INIT): Likewise.
38510         (MINUS_INFTY_INIT): Likewise.
38511         (QNAN_VALUE_INIT): Likewise.
38512         (MAX_VALUE_INIT): Likewise.
38513         (MIN_VALUE_INIT): Likewise.
38514         (MIN_SUBNORM_VALUE_INIT): Likewise.
38515         (plus_zero): Initialize with PLUS_ZERO_INIT.
38516         (minus_zero): Initialize with MINUS_ZERO_INIT.
38517         (plus_infty): Initialize with PLUS_INFTY_INIT.
38518         (minus_infty): Initialize with MINUS_INFTY_INIT.
38519         (qnan_value): Initialize with QNAN_VALUE_INIT.
38520         (max_value): Initialize with MAX_VALUE_INIT.
38521         (min_value): Initialize with MIN_VALUE_INIT.
38522         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
38524         * math/libm-test.inc (RUN_TEST_if_f): New macro.
38525         (jn_test): Use TEST_if_f instead of TEST_ff_f.
38526         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
38527         (yn_test): Use TEST_if_f instead of TEST_ff_f.
38529         * math/libm-test.inc (RUN_TEST_f_f): New macro.
38530         (RUN_TEST_2_f): Likewise.
38531         (RUN_TEST_ff_f): Likewise.
38532         (RUN_TEST_fi_f): Likewise.
38533         (RUN_TEST_fl_f): Likewise.
38534         (RUN_TEST_fff_f): Likewise.
38535         (RUN_TEST_c_f): Likewise.
38536         (RUN_TEST_f_f1): Likewise.
38537         (RUN_TEST_fF_f1): Likewise.
38538         (RUN_TEST_fI_f1): Likewise.
38539         (RUN_TEST_ffI_f1): Likewise.
38540         (RUN_TEST_c_c): Likewise.
38541         (RUN_TEST_cc_c): Likewise.
38542         (RUN_TEST_f_i): Likewise.
38543         (RUN_TEST_f_i_tg): Likewise.
38544         (RUN_TEST_ff_i_tg): Likewise.
38545         (RUN_TEST_f_b): Likewise.
38546         (RUN_TEST_f_b_tg): Likewise.
38547         (RUN_TEST_f_l): Likewise.
38548         (RUN_TEST_f_L): Likewise.
38549         (RUN_TEST_sincos): Likewise.
38550         * math/gen-libm-test.pl (new_test): Take new argument to indicate
38551         whether to show exceptions.  Do not include ");\n" in return
38552         value.
38553         (special_functions): Output call to RUN_TEST_sincos instead of
38554         check_float calls.  Update calls to new_test.
38555         (parse_args): Output call to single RUN_TEST_* macro instead of
38556         check_* calls and other assignments.  Update calls to new_test.
38558         [BZ #2546]
38559         [BZ #2560]
38560         [BZ #5159]
38561         [BZ #15426]
38562         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
38563         input to result for tgamma overflow.
38564         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
38565         (gamma_coeff): New variable.
38566         (NCOEFF): New macro.
38567         (gamma_positive): New function.
38568         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
38569         underflow here.  Use gamma_positive instead of exp (lgamma) for
38570         other arguments.
38571         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
38572         (gamma_coeff): New variable.
38573         (NCOEFF): New macro.
38574         (gammaf_positive): New function.
38575         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
38576         underflow here.  Use gamma_positive instead of exp (lgamma) for
38577         other arguments.
38578         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
38579         (gamma_coeff): New variable.
38580         (NCOEFF): New macro.
38581         (gammal_positive): New function.
38582         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
38583         underflow here.  Use gamma_positive instead of exp (lgamma) for
38584         other arguments.
38585         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
38586         (gamma_coeff): New variable.
38587         (NCOEFF): New macro.
38588         (gammal_positive): New function.
38589         (__ieee754_gammal_r): Handle positive infinity, overflow and
38590         underflow here.  Handle NaN the same as positive infinity.  Remove
38591         check x < 0xffffffff for negative integers.  Use gamma_positive
38592         instead of exp (lgamma) for other arguments.
38593         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
38594         (gamma_coeff): New variable.
38595         (NCOEFF): New macro.
38596         (gammal_positive): New function.
38597         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
38598         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
38599         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
38600         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
38601         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
38602         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
38603         * sysdeps/generic/math_private.h (__gamma_productf): New
38604         prototype.
38605         (__gamma_product): Likewise.
38606         (__gamma_productl): Likewise.
38607         * math/Makefile (libm-calls): Add gamma_product.
38608         * math/libm-test.inc (tgamma_test): Add more tests.
38609         * sysdeps/i386/fpu/libm-test-ulps: Update.
38610         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38612 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
38614         * benchtests/bench-skeleton.c (main): Preheat CPU.
38616 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
38618         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
38620 2013-05-07  Roland McGrath  <roland@hack.frob.com>
38622         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
38623         and _dl_skip_args_internal.
38625 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
38627         * manual/message.texi (Message Translation): Talk about users.
38628         Message to key mapping impacts design.
38630 2013-05-06  Roland McGrath  <roland@hack.frob.com>
38632         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
38634         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
38636         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
38637         * sysdeps/wordsize-64/glob64.c: ... here.
38639         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
38640         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
38641         New macros.
38643         * debug/getlogin_r_chk.c: Moved to ...
38644         * login/getlogin_r_chk.c: ... here.
38645         * debug/Makefile (routines): Move getlogin_r_chk to ...
38646         * login/Makefile (routines): ... here.
38647         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
38648         * login/Versions (libc: GLIBC_2.4): ... here.
38650         * io/poll.c (__poll): Renamed from poll.
38651         Add libc_hidden_def.
38652         (poll): Define as weak alias.
38654         * debug/ptsname_r_chk.c: Moved to ...
38655         * login/ptsname_r_chk.c: ... here.
38656         * debug/Makefile (routines): Move ptsname_r_chk to ...
38657         * login/Makefile (routines): ... here.
38658         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
38659         * login/Versions (libc: GLIBC_2.4): ... here.
38661         * posix/getlogin.c: Moved to ...
38662         * login/getlogin.c: ... here.
38663         * posix/getlogin_r.c: Moved to ...
38664         * login/getlogin_r.c: ... here.
38665         * posix/getlogin_r.c: Moved to ...
38666         * login/getlogin_r.c: ... here.
38667         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
38668         * login/Makefile (routines): ... here.
38669         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
38670         * login/Versions (libc: GLIBC_2.0): ... here.
38672         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
38673         (setrlimit): Define as weak alias.
38675         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
38676         Call __ names for open, ftruncate, and close.
38677         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
38678         (truncate): Define as weak alias.
38680 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
38682         * math/gen-libm-test.pl (parse_args): Initialize x before each
38683         test of frexp, modf and remquo.
38685         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
38686         test signgam value.
38688 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38690         [BZ #15418]
38691         [BZ #15419]
38692         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
38693         internal tests.
38694         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38696 2013-05-06  Roland McGrath  <roland@hack.frob.com>
38698         * elf/dl-writev.h: New file.
38699         * elf/dl-misc.c: Include it.
38700         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
38701         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
38703 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
38705         * math/libm-test.inc (noXFails): Remove variable.
38706         (noXPasses): Likewise.
38707         (BUILD_COMPLEX_INT): Remove macro.
38708         (print_screen): Remove xfail argument.
38709         (print_screen_max_error): Likewise.
38710         (update_stats): Likewise.
38711         (print_max_error): Likewise.  Update calls to other affected
38712         functions.
38713         (print_complex_max_error): Likewise.
38714         (test_single_exception): Update calls to print_screen.
38715         (test_single_errno): Likewise.
38716         (check_float_internal): Remove xfail argument.  Update calls to
38717         other affected functions.
38718         (check_float): Likewise.
38719         (check_complex): Likewise.
38720         (check_int): Likewise.
38721         (check_long): Likewise.
38722         (check_bool): Likewise.
38723         (check_longlong): Likewise.
38724         (main): Don't print noXFails and noXPasses.
38725         * math/gen-libm-test.pl (top level): Don't mention expected
38726         failure handling in comment.
38727         (new_test): Don't handle expected failures.
38728         (parse_args): Don't mention expected failure handling in comment.
38729         (generate_testfile): Don't handle expected failures.
38730         (parse_ulps): Likewise.
38731         (print_ulps_file): Likewise.
38732         (get_failure): Remove function.
38733         (output_test): Don't handle expected failures.
38734         * make/README.libm-test: Don't mention expected failure handling.
38736         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
38737         (minus_zero): Likewise.
38738         (plus_infty): Likewise.
38739         (minus_infty): Likewise.
38740         (qnan_value): Likewise.
38741         (max_value): Likewise.
38742         (min_value): Likewise.
38743         (min_subnorm_value): Likewise.
38744         (initialize): Do not initialize those variables dynamically.
38746 2013-05-03  Roland McGrath  <roland@hack.frob.com>
38748         * io/open.c (__open_2): Moved to ...
38749         * io/open_2.c: ... this new file.
38750         * io/open64.c (__open64_2): Moved to ...
38751         * io/open64_2.c: ... this new file.
38752         * io/openat.c (__openat_2): Moved to ...
38753         * io/openat_2.c: ... this new file.
38754         * io/openat64.c (__openat64_2): Moved to ...
38755         * io/openat64_2.c: ... this new file.
38756         * io/Makefile (routines): Add them.
38757         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
38758         * sysdeps/unix/sysv/linux/open_2.c: File removed.
38759         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
38760         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
38761         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
38762         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
38763         (__openat64): Add hidden_ver.
38764         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
38765         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
38767         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
38768         Separately conditionalize setting of GLRO(dl_sysinfo) so
38769         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
38770         as well, but the actual setting is only under [NEED_DL_SYSINFO].
38772 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38774         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
38775         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
38776         definition.
38777         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
38778         * sysdeps/unix/sysv/linux/powerpc/init-first.c
38779         (_libc_vdso_platform_setup): Add __vdso_time initialization.
38780         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
38781         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
38783 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
38785         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
38786         test signgam value.
38788         * math/libm-test.inc (hypot_test): Do not use
38789         IGNORE_ZERO_INF_SIGN.
38791 2013-05-03  Andreas Jaeger  <aj@suse.de>
38793         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
38794         Linux 3.9.
38795         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
38796         (PF_MAX): Adjust for VSOCK change.
38798 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38800         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38802 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
38804         [BZ #15264]
38805         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
38806         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
38807         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
38809 2013-05-02  David S. Miller  <davem@davemloft.net>
38811         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38813 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
38815         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
38817 2013-05-01  Roland McGrath  <roland@hack.frob.com>
38819         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
38821 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
38823         [BZ #14952]
38824         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
38825         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
38826         Use __attribute__ ((__gnu_inline__)).
38827         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
38828         Don't use __attribute__ ((__gnu_inline__)).
38830 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
38832         [BZ #15423]
38833         * math/s_catan.c (__catan): Handle small real or imaginary part of
38834         input specially to avoid spurious underflow.
38835         * math/s_catanf.c (__catanf): Likewise.
38836         * math/s_catanh.c (__catanh): Likewise.
38837         * math/s_catanhf.c (__catanhf): Likewise.
38838         * math/s_catanhl.c (__catanhl): Likewise.
38839         * math/s_catanl.c (__catanl): Likewise.
38840         * math/libm-test.inc (catan_test): Add more tests.
38841         (catanh_test): Likewise.
38842         * sysdeps/i386/fpu/libm-test-ulps: Update.
38843         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38845 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38847         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38849 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
38851         [BZ #15416]
38852         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
38853         accurately for denominator in atan2.
38854         * math/s_catanf.c (__catanf): Likewise.
38855         * math/s_catanh.c (__catanh): Likewise.
38856         * math/s_catanhf.c (__catanhf): Likewise.
38857         * math/s_catanhl.c (__catanhl): Likewise.
38858         * math/s_catanl.c (__catanl): Likewise.
38859         * math/libm-test.inc (catan_test): Add more tests.
38860         (catanh_test): Likewise.
38861         * sysdeps/i386/fpu/libm-test-ulps: Update.
38862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38864 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38866         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
38868         * benchtests/Makefile (bench): Remove slow benchmarks.
38869         * benchtests/atan-inputs: Add slow benchmark inputs.
38870         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
38871         (BENCH_FUNC): Accept variant offset.
38872         (VARIANT): Define.
38873         * benchtests/bench-skeleton.c (main): Run benchmark for each
38874         variant.
38875         * benchtests/cos-inputs: Add slow benchmark inputs.
38876         * benchtests/exp-inputs: Likewise.
38877         * benchtests/pow-inputs: Likewise.
38878         * benchtests/sin-inputs: Likewise.
38879         * benchtests/slowatan-inputs: Remove.
38880         * benchtests/slowatan.c: Remove.
38881         * benchtests/slowcos-inputs: Remove.
38882         * benchtests/slowcos.c: Remove.
38883         * benchtests/slowexp-inputs: Remove.
38884         * benchtests/slowexp.c: Remove.
38885         * benchtests/slowpow-inputs: Remove.
38886         * benchtests/slowpow.c: Remove.
38887         * benchtests/slowsin-inputs: Remove.
38888         * benchtests/slowsin.c: Remove.
38889         * benchtests/slowtan-inputs: Remove.
38890         * benchtests/slowtan.c: Remove.
38891         * benchtests/tan-inputs: Add slow benchmark inputs.
38892         * scripts/bench.pl: Parse comments and directives.
38894         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
38895         in CPPFLAGS.
38896         ($(objpfx)bench-%.c): Remove *-ITER.
38897         * benchtests/bench-modf.c: Remove definition of ITER.
38898         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
38899         (main): Loop for DURATION seconds instead of fixed number of
38900         iterations.
38901         * scripts/bench.pl: Don't expect iterations in parameters.
38903 2013-04-29  Roland McGrath  <roland@hack.frob.com>
38905         * io/fchdir.c (__fchdir): Renamed from fchdir.
38906         (fchdir): Define as weak alias.
38908 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
38910         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
38911         (ERRNO_EDOM): Likewise.
38912         (ERRNO_ERANGE): Likewise.
38913         (noErrnoTests): New variable.
38914         (init_max_error): Set errno to 0.
38915         (test_single_errno): New function.
38916         (test_errno): Likewise.
38917         (check_float_internal): Call test_errno.  Set errno to 0.
38918         (check_complex): Refer to errno tests in comment.
38919         (check_int): Call test_errno.  Set errno to 0.
38920         (check_long): Likewise.
38921         (check_bool): Likewise.
38922         (check_longlong): Likewise.
38923         (cos_test): Use ERRNO_* flags for errno tests instead of
38924         check_int.
38925         (expm1_test): Likewise.
38926         (fmod_test): Likewise.
38927         (ilogb_test): Likewise.
38928         (lgamma_test): Likewise.
38929         (pow_test): Likewise.
38930         (remainder_test): Likewise.
38931         (sin_test): Likewise.
38932         (tan_test): Likewise.
38933         (yn_test): Likewise.
38934         (initialize): Set errno to 0.
38935         (main): Print number of errno tests.
38936         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
38938 2013-04-29  Andreas Jaeger  <aj@suse.de>
38940         [BZ #15084]
38941         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
38942         and RES_USEVC.
38944         [BZ #15085]
38945         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
38946         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
38947         unimplemented.
38949         [BZ #15380]
38950         * stdlib/random.c (__initstate): Return NULL if
38951         __initstate fails.
38953         [BZ #15086]
38954         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
38955         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
38956         RES_SNGLKUPREOP.
38958 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38960         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38962 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
38964         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
38965         of individual tests.
38966         (casin_test): Likewise.
38967         (casinh_test): Likewise.
38969 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
38971         [BZ #15409]
38972         * math/s_catan.c (__catan): Handle arguments with large real or
38973         imaginary part separately without squaring.
38974         * math/s_catanf.c (__catanf): Likewise.
38975         * math/s_catanh.c (__catanh): Likewise.
38976         * math/s_catanhf.c (__catanhf): Likewise.
38977         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
38978         and redefine.
38979         (__catanhl): Handle arguments with large real or imaginary part
38980         separately without squaring.
38981         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
38982         and redefine.
38983         (__catanl): Handle arguments with large real or imaginary part
38984         separately without squaring.
38985         * math/libm-test.inc (catan_test): Add more tests.
38986         (catanh_test): Likewise.
38987         * sysdeps/i386/fpu/libm-test-ulps: Update.
38988         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38990 2013-04-27  Andreas Jaeger  <aj@suse.de>
38992         [BZ #15007]
38993         * stdlib/stdlib.h: Update guards for qecvt.
38994         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
38995         <stdlib.h>.
38997 2013-04-27  Allan McRae  <allan@archlinux.org>
38999         * sysdeps/i386/fpu/libm-test-ulps: Update.
39001 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
39003         [BZ #15406]
39004         * math/s_catan.c: Include <float.h>.
39005         (__catan): Ensure underflow exception occurs for underflowed
39006         result.
39007         * math/s_catanf.c: Include <float.h>.
39008         (__catanf): Ensure underflow exception occurs for underflowed
39009         result.
39010         * math/s_catanh.c: Include <float.h>.
39011         (__catanh): Ensure underflow exception occurs for underflowed
39012         result.
39013         * math/s_catanhf.c: Include <float.h>.
39014         (__catanhf): Ensure underflow exception occurs for underflowed
39015         result.
39016         * math/s_catanhl.c: Include <float.h>.
39017         (__catanhl): Ensure underflow exception occurs for underflowed
39018         result.
39019         * math/s_catanl.c: Include <float.h>.
39020         (__catanl): Ensure underflow exception occurs for underflowed
39021         result.
39022         * math/libm-test.inc (catan_test): Add more tests.
39023         (catanh_test): Likewise.
39025         [BZ #15405]
39026         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
39027         underflowed result.
39028         * math/s_ccoshf.c (__ccoshf): Likewise.
39029         * math/s_ccoshl.c (__ccoshl): Likewise.
39030         * math/s_csin.c (__csin): Likewise.
39031         * math/s_csinf.c (__csinf): Likewise.
39032         * math/s_csinh.c (__csinh): Likewise.
39033         * math/s_csinhf.c (__csinhf): Likewise.
39034         * math/s_csinhl.c (__csinhl): Likewise.
39035         * math/s_csinl.c (__csinl): Likewise.
39036         * math/libm-test.inc (ccos_test): Add more tests.
39037         (ccosh_test): Likewise.
39038         (csin_test): Likewise.
39039         (csinh_test): Likewise.
39041 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39043         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
39044         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
39045         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
39046         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
39047         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
39048         powerpc/power5+/fpu folders.
39049         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
39052 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
39054         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39056 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
39058         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
39059         additions to variable.
39060         [$(config-machine) = x86_64] (modules-names): Likewise.
39061         ($(objpfx)tst-audit3): Remove dependency.
39062         ($(objpfx)tst-audit3.out): Likewise.
39063         ($(objpfx)tst-audit4): Likewise.
39064         ($(objpfx)tst-audit4.out): Likewise.
39065         ($(objpfx)tst-audit5): Likewise.
39066         ($(objpfx)tst-audit5.out): Likewise.
39067         ($(objpfx)tst-audit6): Likewise.
39068         ($(objpfx)tst-audit6.out): Likewise.
39069         ($(objpfx)tst-audit7): Likewise.
39070         ($(objpfx)tst-audit7.out): Likewise.
39071         (tst-audit3-ENV): Remove variable.
39072         (tst-audit4-ENV): Likewise.
39073         (tst-audit5-ENV): Likewise.
39074         (tst-audit6-ENV): Likewise.
39075         (tst-audit7-ENV): Likewise.
39076         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
39077         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
39078         addition to variable.
39079         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
39080         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
39081         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
39082         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
39083         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
39084         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
39085         tst-audit3, tst-audit4 and tst-audit5.
39086         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
39087         tst-audit6 and tst-audit7.
39088         [$(subdir) = elf] (modules-names): Add audit modules for those
39089         tests.
39090         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
39091         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
39092         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
39093         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
39094         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
39095         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
39096         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
39097         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
39098         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
39099         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
39100         [$(subdir) = elf] (tst-audit3-ENV): New variable.
39101         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
39102         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
39103         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
39104         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
39105         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
39106         Likewise.
39107         [$(subdir) = elf && $(config-cflags-avx) = yes]
39108         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
39109         [$(subdir) = elf && $(config-cflags-avx) = yes]
39110         (CFLAGS-tst-auditmod4a.c): Likewise.
39111         [$(subdir) = elf && $(config-cflags-avx) = yes]
39112         (CFLAGS-tst-auditmod4b.c): Likewise.
39113         [$(subdir) = elf && $(config-cflags-avx) = yes]
39114         (CFLAGS-tst-auditmod6b.c): Likewise.
39115         [$(subdir) = elf && $(config-cflags-avx) = yes]
39116         (CFLAGS-tst-auditmod6c.c): Likewise.
39117         [$(subdir) = elf && $(config-cflags-avx) = yes]
39118         (CFLAGS-tst-auditmod7b.c): Likewise.
39119         * elf/tst-audit3.c: Move to ...
39120         * sysdeps/x86_64/tst-audit3.c: ... here.
39121         * elf/tst-audit4.c: Move to ...
39122         * sysdeps/x86_64/tst-audit4.c: ... here.
39123         * elf/tst-audit5.c: Move to ...
39124         * sysdeps/x86_64/tst-audit5.c: ... here.
39125         * elf/tst-audit6.c: Move to ...
39126         * sysdeps/x86_64/tst-audit6.c: ... here.
39127         * elf/tst-audit7.c: Move to ...
39128         * sysdeps/x86_64/tst-audit7.c: ... here.
39129         * elf/tst-auditmod3a.c: Move to ...
39130         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
39131         * elf/tst-auditmod3b.c: Move to ...
39132         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
39133         * elf/tst-auditmod4a.c: Move to ...
39134         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
39135         * elf/tst-auditmod4b.c: Move to ...
39136         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
39137         * elf/tst-auditmod5a.c: Move to ...
39138         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
39139         * elf/tst-auditmod5b.c: Move to ...
39140         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
39141         * elf/tst-auditmod6a.c: Move to ...
39142         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
39143         * elf/tst-auditmod6b.c: Move to ...
39144         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
39145         * elf/tst-auditmod6c.c: Move to ...
39146         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
39147         * elf/tst-auditmod7a.c: Move to ...
39148         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
39149         * elf/tst-auditmod7b.c: Move to ...
39150         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
39152 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
39154         [BZ #15366]
39155         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
39156         define unconditionally.
39157         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
39158         define unconditionally.
39159         (INT8_C, INT16_C, etc.): Likewise.
39161 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
39163         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
39164         __ehdr_start with hidden visibility.
39166         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
39168 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
39170         * math/libm-test.inc (cos_test): Use accurate hex constants.
39171         (sincost_test): Likewise.
39173 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
39175         * math/libm-test.inc (catan_test): Add more tests.
39176         (catanh_test): Likewise.
39178         * math/s_catanf.c (__catanf): Use suffixed floating-point
39179         constants.
39180         * math/s_catanhf.c (__catanhf): Likewise.
39181         * math/s_catanhl.c (__catanhl): Likewise.
39182         * math/s_catanl.c (__catanl): Likewise.
39184         [BZ #15394]
39185         * math/s_catan.c (__catan): Calculate imaginary part of result
39186         with log1p not log unless computing log of number close to 0.
39187         * math/s_catanf.c (__catanf): Likewise.
39188         * math/s_catanl.c (__catanl): Likewise.
39189         * math/s_catanh.c (__catanh): Calculate real part of result with
39190         log1p not log unless computing log of number close to 0.
39191         * math/s_catanhf.c (__catanhf): Likewise.
39192         * math/s_catanhl.c (__catanhl): Likewise.
39193         * math/libm-test.inc (catan_test): Add more tests.
39194         (catanh_test): Likewise.
39195         * sysdeps/i386/fpu/libm-test-ulps: Update.
39196         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39198 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
39200         * benchtests/Makefile: Mention files in which fast and slow
39201         paths of math functions are implemented.
39203 2013-04-23  Roland McGrath  <roland@hack.frob.com>
39205         * sysdeps/posix/timespec_get.c: New file.
39207 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39209         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
39210         POWER.
39211         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
39212         for POWER.
39213         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
39214         powerpc/power5/fpu folders.
39215         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
39216         * benchtests/Makefile: Add modf testcase.
39217         * benchtests/bench-modf.c: New file: Benchmark test for mo
39219 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
39221         [BZ #14888]
39222         * time/Makefile (tests): Add tst-strptime-whitespace.
39223         * time/strptime_l.c (get_number): Use ISSPACE.
39224         (__strptime_internal): Likewise.
39225         * time/tst-strptime-whitespace.c: New test case.
39227 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
39229         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
39230         member.
39231         (_nss_files_init): Set it here.
39233 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
39235         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
39236         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
39237         unsigned.
39239 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
39241         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
39243 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
39245         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
39246         size just once.
39248 2013-04-21  David S. Miller  <davem@davemloft.net>
39250         * po/ru.po: Update Russion translation from translation project.
39252 2013-04-17  Adam Conrad  <adconrad@0c3.net>
39254         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
39255         and setfsgid.
39257 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
39259         * configure.in: Remove i386 configure warning. Remove i386 case.
39260         * configure: Regenerate.
39261         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
39262         Add example to error message.
39263         * sysdeps/i386/configure: Regenerate.
39265 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
39267         * benchtests/Makefile (bench): Add cos, tan, slowcos and
39268         slowtan.
39269         * benchtests/cos-inputs: New file.
39270         * benchtests/slowcos-inputs: New file.
39271         * benchtests/slowcos.c: New file.
39272         * benchtests/slowtan-inputs: New file.
39273         * benchtests/slowtan.c: New file.
39274         * benchtests/tan-inputs: New file.
39276 2013-04-16  Roland McGrath  <roland@hack.frob.com>
39278         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
39279         considered kosher.
39281 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39283         * benchtests/Makefile: Include cppflags-iterator.mk to add
39284         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
39286         * Makefile.in (bench-clean): New target.
39287         * benchtests/Makefile (bench-clean): Likewise.
39289 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
39291         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
39293 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
39295         * stdio-common/tstdiomisc.c: Fix coding-style violation.
39297 2013-04-15  Andreas Schwab  <schwab@suse.de>
39299         * nscd/grpcache.c (cache_addgr): Properly check for short write.
39300         * nscd/initgrcache.c (addinitgroupsX): Likewise.
39301         * nscd/pwdcache.c (cache_addpw): Likewise.
39302         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
39303         more than recsize.
39305 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
39307         * benchtests/Makefile (bench): Write all output to
39308         bench-out.tmp together.
39310 2013-04-15  Andreas Schwab  <schwab@suse.de>
39312         * nscd/nscd.c (main): Don't fork again after closing files.
39314 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
39316         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
39318         * benchtests/Rules (bench-deps): Collect dependencies into a
39319         single variable.  Add Makefile to dependencies.
39320         ($(objpfx)bench-%.c): Depend on bench-deps.
39322 2013-04-12  Roland McGrath  <roland@hack.frob.com>
39323             Xavier Roche  <roche+kml2@exalead.com>
39325         [BZ #15361]
39326         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
39327         just that it's a file descriptor.
39328         * manual/llio.texi (Synchronizing AIO Operations): Update description
39329         for EBADF error from aio_fsync.
39331 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
39333         * Rules (bench): Move target definition...
39334         * benchtests/Makefile: ... here.
39336 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
39338         * math/libm-test.inc (cos_test): Fix PI/2 test.
39339         (sincos_test): Likewise.
39340         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
39341         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
39343 2013-04-11  Andreas Schwab  <schwab@suse.de>
39345         [BZ #13988]
39346         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
39347         accept exponent character only when digits were seen.
39348         * stdio-common/Makefile (tests): Add bug26.
39349         * stdio-common/bug26.c: New file.
39351         [BZ #14293]
39352         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
39353         non-freeable.
39355 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39357         * Makeconfig (rtld-prefix): Define built linker prefix.
39358         * Rules (run-bench): Use it.
39359         * math/Makefile (run-regen-ulps): Likewise.
39361         * Rules (bench): Remove eval.
39363 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39364             Roland McGrath  <roland@hack.frob.com>
39365             Ondrej Bilka  <neleai@seznam.cz>
39367         [BZ #15346]
39368         * time/getdate.c: Include ctype.h and alloca.h.
39369         (__getdate_r): Trim leading and trailing spaces of input.
39370         * time/tst-getdate.c (tests): Add tests with leading and
39371         trailing spaces.
39373 2013-04-08  Roland McGrath  <roland@hack.frob.com>
39375         [BZ #14280]
39376         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
39377         when computing value.
39379 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
39381         * math/README.libm-test (How can I generate "libm-test-ulps"?):
39382         Use testrun.sh to run libm tests.
39384         [BZ #15309]
39385         * elf/dl-open.c (dl_open_worker): memset all of seen array.
39387 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
39389         [BZ #15264]
39390         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
39392 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
39394         * Makefile.in (regen-ulps): New target.
39395         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
39396         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
39397         [ifneq (no,$(PERL)] (regen-ulps): New target.
39398         [ifeq (no,$(PERL)] (regen-ulps): New target.
39399         * math/libm-test.inc (ulps_file_name): Define.
39400         (output_dir): New variable.
39401         (options): Add "output-dir" option.
39402         (parse_opt): Handle 'o' case.
39403         (main): If output_dir is non-NULL use it as a prefix
39404         otherwise use "".
39405         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
39407 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
39409         [BZ #10060, #10062]
39410         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
39411         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
39412         fail configure if __sync_val_compare_and_swap is not inlined.
39413         * sysdeps/i386/configure: Regenerate.
39414         * configure.in: Build for i686 when configured for i386.
39415         * configure: Regenerate.
39416         * README: Remove i386 reference.
39418 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
39420         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
39421         * sysdeps/s390/s390-64/sysdep.h: Likewise.
39423 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
39425         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
39426         (lmsnanval): New variables.
39427         (F): Add conversion tests.
39428         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
39429         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
39431         * stdio-common/tstdiomisc.c (F): Properly collect individual
39432         tests' results.
39434         [BZ #14686, #15336]
39435         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
39436         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
39437         Instead, use input NaN values or generate a qNaN by arithmetic
39438         operation.  Also fix bugs to comply with the standard.
39439         * math/libm-test.inc (remainder_test): Add more tests.
39441         [BZ #15335, #15342]
39442         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
39443         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
39444         input NaN values or generate a qNaN by arithmetic operation.
39446         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
39447         unreachable code.
39449         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
39450         definitions.
39452 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
39454         [BZ #14478]
39455         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
39456         underflowed result.
39457         * math/s_cexpf.c (__cexpf): Likewise.
39458         * math/s_cexpl.c (__cexpl): Likewise.
39459         * math/libm-test.inc (cexp_test): Add more tests.
39461 2013-04-03  Andreas Schwab  <schwab@suse.de>
39463         [BZ #15330]
39464         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
39465         order arrays from heap if bigger than alloca cutoff.
39467 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
39469         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
39470         (SNAN_TESTS_double): Refer to GCC PR56831.
39471         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
39472         GCC PR56828.
39474 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
39476         * Rules (bench): Move bench.out after the run is complete.
39478         * Rules (bench): Echo currently running benchmark.
39480         * benchtests/Makefile (bench): Add atan and slowatan.
39481         * benchtests/atan-inputs: New file.
39482         * benchtests/slowatan-inputs: New file.
39483         * benchtests/slowatan.c: New file.
39485         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
39486         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
39487         its value.
39489         [BZ #15305]
39490         * sysdeps/unix/sysv/linux/kernel-features.h
39491         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
39492         __ASSUME_XFS_RESTRICTED_CHOWN.
39493         * sysdeps/unix/sysv/linux/pathconf.c
39494         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
39495         Save and restore errno.
39497 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
39499         [BZ #15327]
39500         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
39501         arguments using __kernel_casinh.
39502         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
39503         arguments using __kernel_casinhf.
39504         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
39505         arguments using __kernel_casinhl.
39506         * math/libm-test.inc (cacosh_test): Add more tests.
39507         * sysdeps/i386/fpu/libm-test-ulps: Update.
39508         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39510 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39512         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
39513         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
39515         * bench/Makefile (bench): Add sin and slowsin.
39516         * benchtests/sin-inputs: New file.
39517         * benchtests/slowsin-inputs: New file.
39518         * benchtests/slowsin.c: New file.
39520         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
39521         (bench): Add slowexp and slowpow.
39522         (exp-ITER): Increase iterations.
39523         (pow-ITER): Likewise.
39524         * benchtests/exp-inputs: Change input.
39525         * benchtests/pow-inputs: Likewise.
39526         * benchtests/slowexp-inputs: New file.
39527         * benchtests/slowexp.c: New file.
39528         * benchtests/slowpow-inputs: New file.
39529         * benchtests/slowpow.c: New file.
39531 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39533         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
39534         instructions.
39535         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
39536         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
39537         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
39538         * benchtests/Makefile: Add rint benchtest.
39539         * benchtests/rint-inputs: Input for rint benchtest.
39541 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
39543         * Versions.def (libm): Add GLIBC_2.18.
39544         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
39545         hidden libm prototypes.
39546         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
39547         * math/Makefile (libm-calls): Add s_issignaling.
39548         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
39549         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
39550         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
39551         declaration.
39552         * math/math.h [__USE_GNU] (issignaling): New macro.
39553         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
39554         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
39555         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
39556         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
39557         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
39558         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
39559         * manual/arith.texi (issignaling): New section.
39560         * manual/libm-err-tab.pl (@all_functions): Update comment.
39561         * math/gen-libm-test.pl (parse_args): Apply special handling for
39562         issignaling.
39563         * math/libm-test.inc (print_float, issignaling_test): New
39564         functions.
39565         (check_float_internal): Add issignaling checks.
39566         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
39567         default definition.
39568         * sysdeps/powerpc/math-tests.h: New file.
39569         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
39570         tests.
39571         * math/test-snan.c (TEST_FUNC): Likewise.
39573 2013-03-30  David S. Miller  <davem@davemloft.net>
39575         * po/de.po: Update from translation team.
39577 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
39579         [BZ #10357]
39580         * math/k_casinh.c (__kernel_casinh): Handle arguments with
39581         imaginary part less than 1.0 and real part less than 0.5
39582         specially.
39583         * math/k_casinhf.c (__kernel_casinhf): Likewise.
39584         * math/k_casinhl.c (__kernel_casinhl): Likewise.
39585         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
39586         (cacos_test): Add more tests.
39587         (casin_test): Likewise.
39588         (casinh_test): Likewise.
39589         * sysdeps/i386/fpu/libm-test-ulps: Update.
39590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39592 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
39594         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
39595         ONE with its value.
39597         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
39598         (__pow_mp): Replace ONE and MONE with their values.
39599         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
39600         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
39601         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
39602         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
39603         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
39604         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
39606         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
39608         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
39609         (__pow_mp): Replace ZERO and MZERO with their values.
39610         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
39611         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
39612         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
39613         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
39614         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
39615         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
39616         (__sqr): Likewise.
39618         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
39620         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
39622 2013-03-28  Roland McGrath  <roland@hack.frob.com>
39624         * include/stdlib.h [!SHARED] (__call_tls_dtors):
39625         Declare with __attribute__ ((weak)).
39626         * stdlib/exit.c (__libc_atexit) [!SHARED]:
39627         Call __call_tls_dtors only if it's not NULL.
39629 2013-03-28  Roland McGrath  <roland@hack.frob.com>
39631         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
39632         didn't do it already, then set _dl_phdr and _dl_phnum based on the
39633         magic __ehdr_start linker symbol if it's defined.
39634         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
39635         them up here if it was already done.
39637         * elf/dl-support.c (_dl_phdr): Make pointer to const.
39638         (_dl_aux_init): Use const in cast when setting it.
39639         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
39640         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
39641         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
39643         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
39644         Declare them here.
39645         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
39646         * csu/libc-tls.c: Nor here.
39647         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
39649         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
39650         (__libc_message): Never call vsyslog.
39652 2013-03-28  Alan Modra  <amodra@gmail.com>
39654         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
39655         Define as empty.
39656         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
39657         Likewise.
39659 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39661         [BZ #15214]
39662         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
39663         underflow.
39664         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39666 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39668         [BZ #15304]
39669         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
39670         Don't add gid passed as argument.
39672         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
39674 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
39676         [BZ #15307]
39677         * math/k_casinh.c (__kernel_casinh): Handle arguments with
39678         imaginary part between 1.0 and 1.5 and real part less than 0.5
39679         specially.
39680         * math/k_casinhf.c (__kernel_casinhf): Likewise.
39681         * math/k_casinhl.c (__kernel_casinhl): Likewise.
39682         * math/libm-test.inc (cacos_test): Add more tests.
39683         (casin_test): Likewise.
39684         (casinh_test): Likewise.
39685         * sysdeps/i386/fpu/libm-test-ulps: Update.
39686         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39688 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39690         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
39691         constants.
39692         (norm): Likewise.
39693         (denorm): Likewise.
39694         (__dbl_mp): Likewise.
39695         (add_magnitudes): Likewise.
39696         (sub_magnitudes): Likewise.
39697         (__add): Likewise.
39698         (__sub): Likewise.
39699         (__mul): Likewise.
39700         (__sqr): Likewise.
39701         (__inv): Likewise.
39702         (__dvd): Likewise.
39704         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
39705         commented code.
39706         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
39707         (__dubcos): Likewise.
39708         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
39709         (__ieee754_acos): Likewise.
39710         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
39711         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
39712         (__exp1): Likewise.
39713         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
39714         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39715         (log1): Likewise.
39716         (my_log2): Likewise.
39717         (checkint): Likewise.
39718         * sysdeps/ieee754/dbl-64/e_remainder.c
39719         (__ieee754_remainder): Likewise.
39720         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
39721         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
39722         (bsloww): Likewise.
39723         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
39725         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
39726         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
39727         MANTISSA_STORE_T to store computations on mantissa.  Use
39728         macros for rounding and division.
39729         (denorm): Likewise.
39730         (__dbl_mp): Likewise.
39731         (add_magnitudes): Likewise.
39732         (sub_magnitudes): Likewise.
39733         (__mul): Likewise.
39734         (__sqr): Likewise.
39735         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
39736         powers of two in terms of TWOPOW macro.
39737         (mp_no): Make type of mantissa as MANTISSA_T.
39738         [!RADIXI]: Define RADIXI.
39739         [!TWO52]: Define TWO52.
39740         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
39742 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39744         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
39745         llroundl symbol when building for PPC32.
39747 2013-03-24  Mark H Weaver  <mhw@netris.org>
39749         * manual/arith.texi (Normalization Functions): Fix prototypes for
39750         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
39752 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39754         [BZ #13889]
39755         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
39756         high value to check if expl overflow.
39757         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
39758         to check for underflow and overflow.
39759         * math/libm-test.inc: Add exp test.
39761 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
39763         [BZ #11120]
39764         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
39765         with NOT_IN_libc.
39767 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39769         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
39770         symbol.
39772 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
39774         * math/gen-libm-test.pl (parse_args, special_functions): Properly
39775         wrap blocks consisting of several statements.
39777         * sysdeps/generic/math-tests.h: New file.
39778         * sysdeps/i386/fpu/math-tests.h: Likewise.
39779         * math/test-snan.c: Include it.
39780         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
39782 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
39784         [BZ #15285]
39785         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
39786         (__ieee754_j0l): Do not improve calculations using cos of twice
39787         input for inputs above LDBL_MAX / 2.0L.
39788         (__ieee754_y0l): Likewise.
39789         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
39790         (__ieee754_j1l): Do not improve calculations using cos of twice
39791         input for inputs above LDBL_MAX / 2.0L.
39792         (__ieee754_y1l): Likewise.
39793         * math/libm-test.inc (j0_test): Add another test.
39794         (j1_test): Likewise.
39795         (y0_test): Likewise.
39796         (y1_test): Likewise.
39797         * sysdeps/i386/fpu/libm-test-ulps: Update.
39799 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39801         * Rules ($(objpfx)bench-%.c): Include code from a C source
39802         file.
39804 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
39806         [BZ #15287]
39807         * math/k_casinh.c (__kernel_casinh): Handle arguments with
39808         imaginary part 1.0 and real part less than 0.5 specially.
39809         * math/k_casinhf.c (__kernel_casinhf): Likewise.
39810         * math/k_casinhl.c (__kernel_casinhl): Likewise.
39811         * math/libm-test.inc (cacos_test): Add more tests.
39812         (casin_test): Likewise.
39813         (casinh_test): Likewise.
39814         * sysdeps/i386/fpu/libm-test-ulps: Update.
39815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39817 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39819         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
39820         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
39822 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
39824         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
39825         * config.make.in (config-cflags-sse4): Remove variable.
39826         (config-cflags-avx): Likewise.
39827         (config-cflags-sse2avx): Likewise.
39828         (config-cflags-novzeroupper): Likewise.
39829         (config-asflags-i686): Likewise.
39830         (have-mfma4): Likewise.
39831         (have-as-vis3): Likewise.
39832         (MIG): Likewise.
39833         * configure.in (MIG): Do not AC_SUBST.
39834         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
39835         (libc_cv_cc_sse4): Do not AC_SUBST.
39836         (libc_cv_cc_avx): Likewise.
39837         (libc_cv_cc_sse2avx): Likewise.
39838         (libc_cv_cc_novzeroupper): Likewise.
39839         (libc_cv_cc_fma4): Likewise.
39840         (libc_cv_as_i686): Likewise.
39841         (libc_cv_sparc_as_vis3): Likewise.
39842         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
39843         LIBC_CONFIG_VAR.
39844         (config-asflags-i686): Likewise.
39845         (config-cflags-avx): Likewise.
39846         (config-cflags-sse2avx): Likewise.
39847         (have-mfma4): Likewise.
39848         (config-cflags-novzeroupper): Likewise.
39849         * sysdeps/mach/configure.in (MIG): Likewise.
39850         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
39851         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
39852         LIBC_CONFIG_VAR.
39853         (config-cflags-avx): Likewise.
39854         (config-cflags-sse2avx): Likewise.
39855         (have-mfma4): Likewise.
39856         (config-cflags-novzeroupper): Likewise.
39857         * configure: Regenerated.
39858         * sysdeps/i386/configure: Likewise.
39859         * sysdeps/mach/configure: Likewise.
39860         * sysdeps/sparc/configure: Likewise.
39861         * sysdeps/x86_64/configure: Likewise.
39863 2013-03-20  Roland McGrath  <roland@hack.frob.com>
39865         [BZ #14812]
39866         * locale/programs/localedef.c (options): Put N_ translation marker
39867         on argument names, not just descriptions.
39869 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39871         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
39873 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
39875         [BZ #14176]
39876         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
39878 2013-03-19  Roland McGrath  <roland@hack.frob.com>
39880         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
39881         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
39882         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
39883         [!BEFORE_ABORT] (before_abort): New function.
39884         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
39885         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
39886         (writev_for_fatal): New function.
39887         (WRITEV_FOR_FATAL): New macro; call that.
39888         (backtrace_and_maps): New function.
39889         (BEFORE_ABORT): New macro; call that.
39890         (struct str_list): Type removed.
39891         (__libc_message, __libc_fatal): Functions removed.
39892         Include <sysdeps/posix/libc_fatal.c> instead.
39894 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
39896         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
39897         constants.
39898         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
39899         double constants.
39901 2013-03-19  Andreas Schwab  <schwab@suse.de>
39903         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
39904         * sysdeps/gnu/configure: Regenerate.
39906         * configure.in: Substitute libc_cv_rtlddir.
39907         * configure: Regenerate.
39908         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
39909         * Makeconfig (rtlddir, inst_rtlddir): New variables.
39910         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
39911         * elf/Makefile (install-others, CFLAGS-interp.c)
39912         (ldso_install, common-ldd-rewrite): Likewise.
39913         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
39914         $(inst_slibdir)/$(rtld-installed-name).
39915         * scripts/rellns-sh: Add -p option.
39916         * Makerules (make-shlib-link): Use rellns-sh to get relative name
39917         for source.
39919 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
39921         * manual/nptl.texi: Renamed to ...
39922         * manual/threads.texi: ... this.
39923         * manual/Makefile (chapters): Update.
39925 2013-03-18  Roland McGrath  <roland@hack.frob.com>
39927         [BZ #14812]
39928         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
39929         on argument names, not just descriptions.
39930         * malloc/memusagestat.c (options): Likewise.
39931         * nss/getent.c (options): Likewise.
39933 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
39935         [BZ #14812]
39936         * iconv/iconv_prog.c (options): Put N_ translation marker
39937         on argument names, not just descriptions.
39938         * iconv/iconvconfig.c (options): Likewise.
39940 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
39942         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
39943         implementation which is faster on all x86_64 architectures.
39944         Tested on AMD, Intel Nehalem, SNB, IVB.
39945         * sysdeps/x86_64/strnlen.S: Likewise.
39947         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
39948         Remove all multiarch strlen and strnlen versions.
39949         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
39950         Remove strlen and strnlen related parts.
39952         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
39953         Inline strlen part.
39954         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
39956         * sysdeps/x86_64/multiarch/strlen.S: Remove.
39957         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
39958         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
39959         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
39960         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
39961         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
39963 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
39965         * manual/memory.texi (Malloc Tunable Parameters):
39966         Sort parameters alphabetically. Add comments for missing entries.
39968 2013-03-17  David S. Miller  <davem@davemloft.net>
39970         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39972 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
39974         [BZ #15283]
39975         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
39976         for arguments at most half maximum finite value.
39977         * math/libm-test.inc (j0_test): Add more tests.
39978         (j1_test): Likewise.
39979         (y0_test): Likewise.
39980         (y1_test): Likewise.
39981         * sysdeps/i386/fpu/libm-test-ulps: Update.
39982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39984         [BZ #14155]
39985         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
39986         1 / x and functions P and Q for arguments above 0x1p256L.
39987         (__ieee754_y0l): Likewise.
39988         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
39989         (__ieee754_y1l): Likewise.
39990         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
39991         (j1_test): Likewise.
39992         (y0_test): Likewise.
39993         (y1_test): Likewise.
39995 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
39997         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
39998         variable.
40000 2013-03-15  Roland McGrath  <roland@hack.frob.com>
40002         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
40003         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
40004         zero since it's initialized to EXEC_PAGESIZE.
40006         * sysdeps/unix/sysv/linux/ldsodefs.h
40007         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
40008         * sysdeps/generic/ldsodefs.h: ... here.
40010 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
40012         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
40014         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
40015         math/test-snan.c.
40016         * math/test-snan.c: Renamed from
40017         sysdeps/powerpc/fpu/test-powerpc-snan.c.
40018         * math/Makefile (tests): Add test-snan.
40019         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
40020         test-powerpc-snan.
40022         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
40023         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
40024         functions.
40025         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
40026         __builtin_nan family of functions.
40027         * math/libm-test.inc (initialize): Initialize qnan_value with
40028         __builtin_nan family of functions.
40029         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
40030         Remove variables.
40031         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
40032         Remove functions.
40033         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
40034         storage class.  Initialize qNaN_var and sNaN_var with
40035         __builtin_nan and __builtin_nans families of functions,
40036         respectively.
40038         * math/libm-test.inc (acosh_test): Also test with qNaN input.
40039         (sqrt_test): Remove duplicate test with qNaN input.
40040         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
40041         (round_test, signbit_test, significand_test): Note missing +/-Inf
40042         as well as qNaN tests.
40044         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
40045         qNaN_var.  Fix a few strings, too.
40046         * math/libm-test.inc (nan_value): Rename to qnan_value.
40047         * math/gen-libm-test.pl (%beautify): Adjust to that.
40048         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
40049         * math/test-misc.c (main): Likewise.
40050         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
40051         to __qnan_bytes, and __qnan_union, respectively.
40052         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
40053         Likewise.
40054         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
40055         and lqnanval, respectively.
40056         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
40057         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
40058         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
40059         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
40061         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
40062         * math/test-misc.c (main) [__x86_64__]: Enable test for long
40063         doubles.
40065         * math/test-misc.c (main): Fix copy'n'pastos.
40066         * misc/tst-efgcvt.c (special): Likewise.
40068         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
40069         Remove declarations.
40071 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
40073         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
40074         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
40075         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
40076         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
40078 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40080         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
40081         macro to return vdso values correctly in IFUNC implementations.
40082         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
40083         Optimization by using IFUNC.
40085 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
40086             Richard Henderson  <rth@redhat.com>
40087             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40089         * Makefile.in (bench): New target.
40090         * NEWS: Mention the benchmark framework.
40091         * Rules (bench): Likewise.
40092         (binaries-bench): Generate binaries for functions to
40093         benchmark.
40094         * benchtests/Makefile: New makefile for benchmark tests.
40095         * benchtests/bench-skeleton.c: New skeleton file for benchmark
40096         programs.
40097         * benchtests/exp-inputs: New input file for EXP function.
40098         * benchtests/pow-inputs: New input file for POW function.
40099         * scripts/bench.pl: New script to generate source files for
40100         benchmark programs.
40102 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
40104         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
40105         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
40106         computations on mantissa.  Use macros for rounding and
40107         division.
40108         (denorm): Likewise.
40109         (__dbl_mp): Likewise.
40110         (add_magnitudes): Likewise.
40111         (sub_magnitudes): Likewise.
40112         (__mul): Likewise.
40113         (__sqr): Likewise.
40114         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
40115         powers of two in terms of TWOPOW macro.
40116         (mp_no): Make type of mantissa as MANTISSA_T.
40117         [!RADIXI]: Define RADIXI.
40118         [!TWO52]: Define TWO52.
40119         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
40121         * manual/nptl.texi (cindex): Modify threads to pthreads.
40123 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
40125         * sysdeps/x86_64/preconfigure: Regenerated.
40127 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
40129         [BZ #14155]
40130         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
40131         0x1p28 and above.
40132         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
40133         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
40134         0x1p28 and above.
40135         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
40136         * math/libm-test.inc (j0_test): Do not allow one spurious
40137         underflow exception.
40138         (y1_test): Likewise.
40140 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
40142         * manual/Makefile (chapters): Add nptl.
40143         * manual/debug.texi (Debugging Support): Add link to Threads
40144         chapter.
40145         * manual/nptl.texi: New file.
40147         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
40149 2013-03-14  Petr Baudis  <pasky@ucw.cz>
40151         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
40152         for non-NULL pointer before the memory validity test. Pointed
40153         out by Holger Brunck <holger.brunck@keymile.com>.
40155 2013-03-13  Andreas Schwab  <schwab@suse.de>
40157         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
40158         instead of .os.
40160 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
40162         * timezone/zic.c: Update from tzcode 2013b.
40164 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
40166         * manual/install.texi (Configuring and compiling):
40167         Mention i686 and i586.
40168         * INSTALL: Regenerate.
40170 2013-03-12  Roland McGrath  <roland@hack.frob.com>
40172         * sysdeps/init_array/elf-init.c: New file.
40173         * csu/elf-init.c
40174         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
40175         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
40177         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
40178         __gmon_start__ as global, but as static with a .preinit_array pointer.
40179         * sysdeps/init_array/gmon-start.c: New file.  Use that.
40180         * sysdeps/init_array/crti.S: New file, empty except for comments.
40181         * sysdeps/init_array/crtn.S: Likewise.
40183 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
40185         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
40186         definining bcopy.
40187         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40188         Remove Prefer_SSE_for_memop.
40189         * sysdeps/x86_64/multiarch/init-arch.h: Remove
40190         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
40191         HAS_PREFER_SSE_FOR_MEMOP.
40192         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
40193         memset-x86-64.
40194         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
40195         Remove bzero, memset ifunc support.
40196         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
40197         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
40198         * sysdeps/x86_64/multiarch/memset.S: Likewise.
40199         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
40201 2013-03-11  Andreas Schwab  <schwab@suse.de>
40203         [BZ #15234]
40204         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
40205         by SHLIB_COMPAT.
40206         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
40207         (GLIBC_2.16): Remove pthread_atfork.
40209 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
40211         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
40212         (ptestcases.h): Likewise.
40214 2013-03-08  Roland McGrath  <roland@hack.frob.com>
40216         * Makeconfig ($(common-objpfx)config.status): Depend on
40217         sysdeps/*/preconfigure{,.in} too.
40219 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
40221         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
40222         (__free_hook): Use void * instead of __malloc_ptr_t.
40223         (__malloc_hook): Likewise.
40224         (__realloc_hook): Likewise.
40225         (__memalign_hook): Likewise.
40226         (__after_morecore_hook): Likewise.
40227         * malloc/arena.c (save_malloc_hook): Likewise.
40228         (save_free_hook): Likewise.
40229         * malloc/hooks.c (malloc_hook_ini): Likewise.
40230         (realloc_hook_ini): Likewise.
40231         (memalign_hook_ini): Likewise.
40232         * malloc/malloc.c (malloc_hook_ini): Likewise.
40233         (realloc_hook_ini): Likewise.
40234         (memalign_hook_ini): Likewise.
40235         (__free_hook): Likewise.
40236         (__malloc_hook): Likewise.
40237         (__realloc_hook): Likewise.
40238         (__memalign_hook): Likewise.
40239         (__libc_malloc): Likewise.
40240         (__libc_free): Likewise.
40241         (__libc_realloc): Likewise.
40242         (__libc_memalign): Likewise.
40243         (__libc_valloc): Likewise.
40244         (__libc_pvalloc): Likewise.
40245         (__libc_calloc): Likewise.
40246         (__posix_memalign): Likewise.
40247         * malloc/morecore.c (__sbrk): Likewise.
40248         (__default_morecore): Likewise.
40250         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
40252         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
40253         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
40254         __malloc_ptrdiff_t.
40256         * malloc/malloc.h (__malloc_size_t): Remove macro.
40257         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
40258         __malloc_size_t.
40259         (old_memalign_hook): Likewise.
40260         (old_realloc_hook): Likewise.
40261         (struct hdr): Likewise.
40262         (flood): Likewise.
40263         (mallochook): Likewise.
40264         (memalignhook): Likewise.
40265         (reallochook): Likewise.
40266         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
40267         (tr_old_realloc_hook): Likewise.
40268         (tr_old_memalign_hook): Likewise.
40269         (tr_mallochook): Likewise.
40270         (tr_reallochook): Likewise.
40271         (tr_memalignhook): Likewise.
40273 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40275         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
40276         default_ldbl_pack and using as default implementation.
40277         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
40278         implementation.
40279         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
40280         redundant definition.
40281         (ldbl_insert_mantissa): Likewise.
40282         (ldbl_canonicalize): Likewise.
40283         (ldbl_nearbyint): Likewise.
40284         (ldbl_pack): Rename to ldbl_pack_ppc.
40285         (ldbl_unpack): Rename to ldbl_unpack_ppc.
40286         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
40287         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
40289 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
40291         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
40292         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
40293         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
40294         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
40295         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
40296         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
40297         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
40298         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
40300 2013-03-07  Andreas Jaeger  <aj@suse.de>
40302         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40303         bits/mman-linux.h.
40305 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
40307         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
40308         Include mpa.h and declare __MPEXP.
40309         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
40310         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
40311         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
40312         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
40313         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
40314         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
40315         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
40317         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
40318         (__slowpow): Use long double EXPL and LOGL functions to
40319         compute POW.
40320         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
40321         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
40322         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
40323         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
40324         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
40325         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
40327         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
40328         intermediate variable to calculate exponent.
40329         (__sqr): Likewise.
40330         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
40331         Likewise.
40332         (__sqr): Likewise.
40334         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
40335         [!NO__SQR]: Define __sqr.
40336         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
40337         and NO__SQR.  Remove all code except __mul and __sqr.  Include
40338         sysdeps/ieee754/dbl-64/mpa.c.
40339         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40341         [BZ #12723]
40342         * posix/Makefile (tests): Add tst-pathconf.
40343         * posix/tst-pathconf.c: New test case.
40344         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
40345         _PC_PIPE_BUF.
40346         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
40348 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
40350         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
40352 2013-03-06  Andreas Jaeger  <aj@suse.de>
40354         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
40355         definition via __MAP_ANONYMOUS.
40357         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
40358         it's not part of Linux headers.
40360         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
40361         (MAP_HUGE_MASK): Define.
40363         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
40364         Define.
40365         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
40366         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
40367         Define.
40368         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
40369         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
40370         Define.
40371         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
40372         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
40373         Define.
40374         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
40376         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
40377         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
40378         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
40379         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
40380         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
40381         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
40383         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
40384         Handle f2fs.
40386         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40387         Handle f2fs and efivarfs.
40389         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
40390         f2fs.
40392         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
40393         (EFIVARFS_MAGIC): Add.
40394         (F2FS_LINK_MAX): Add.
40396 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
40398         * stdio-common/vfprintf.c: Replace __builtin_expect with
40399         __glibc_unlikely.
40401 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
40403         [BZ #13550]
40404         * sysdeps/generic/bp-sym.h: Remove file.
40405         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
40406         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
40407         <bp-sym.h> and <bp-asm.h>.
40408         (__longjmp): Don't use BP_SYM.
40409         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
40410         and <bp-asm.h>.
40411         (memcpy): Don't use BP_SYM.
40412         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
40413         <bp-sym.h> and <bp-asm.h>.
40414         (memcpy): Don't use BP_SYM.
40415         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
40416         <bp-asm.h>.
40417         (memcpy): Don't use BP_SYM.
40418         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
40419         <bp-asm.h>.
40420         (memset): Don't use BP_SYM.
40421         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
40422         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
40423         (__bzero): Don't use BP_SYM.
40424         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
40425         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
40426         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
40427         <bp-sym.h> and <bp-asm.h>.
40428         (memcmp): Don't use BP_SYM.  Remove comment about bounded
40429         pointers.
40430         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
40431         <bp-sym.h> and <bp-asm.h>.
40432         (memcpy): Don't use BP_SYM.
40433         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
40434         <bp-sym.h> and <bp-asm.h>.
40435         (memset): Don't use BP_SYM.
40436         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
40437         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
40438         (__bzero): Don't use BP_SYM.
40439         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
40440         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
40441         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
40442         <bp-sym.h> and <bp-asm.h>.
40443         (strncmp): Don't use BP_SYM.  Remove comment about bounded
40444         pointers.
40445         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
40446         <bp-sym.h> and <bp-asm.h>.
40447         (memcpy): Don't use BP_SYM.
40448         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
40449         <bp-sym.h> and <bp-asm.h>.
40450         (memset): Don't use BP_SYM.
40451         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
40452         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
40453         (__bzero): Don't use BP_SYM.
40454         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
40455         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
40456         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
40457         <bp-sym.h> and <bp-asm.h>.
40458         (__memchr): Don't use BP_SYM.
40459         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
40460         <bp-sym.h> and <bp-asm.h>.
40461         (memcmp): Don't use BP_SYM.  Remove comment about bounded
40462         pointers.
40463         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
40464         <bp-sym.h> and <bp-asm.h>.
40465         (memcpy): Don't use BP_SYM.
40466         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
40467         <bp-sym.h> and <bp-asm.h>.
40468         (__mempcpy): Don't use BP_SYM.
40469         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
40470         <bp-sym.h> and <bp-asm.h>.
40471         (__memrchr): Don't use BP_SYM.
40472         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
40473         <bp-sym.h> and <bp-asm.h>.
40474         (memset): Don't use BP_SYM.
40475         (__bzero): Likewise.
40476         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
40477         <bp-sym.h> and <bp-asm.h>.
40478         (__rawmemchr): Don't use BP_SYM.
40479         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
40480         <bp-sym.h> and <bp-asm.h>.
40481         (__STRCMP): Don't use BP_SYM.
40482         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
40483         <bp-sym.h> and <bp-asm.h>.
40484         (strchr): Don't use BP_SYM.
40485         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
40486         <bp-sym.h> and <bp-asm.h>.
40487         (__strchrnul): Don't use BP_SYM.
40488         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
40489         <bp-sym.h> and <bp-asm.h>.
40490         (strlen): Don't use BP_SYM.
40491         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
40492         <bp-sym.h> and <bp-asm.h>.
40493         (strncmp): Don't use BP_SYM.  Remove comment about bounded
40494         pointers.
40495         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
40496         <bp-sym.h> and <bp-asm.h>.
40497         (__strnlen): Don't use BP_SYM.
40498         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
40499         <bp-sym.h> and <bp-asm.h>.
40500         (__GI__setjmp): Don't use BP_SYM.
40501         (_setjmp): Likewise.
40502         (__sigsetjmp): Likewise.
40503         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
40504         (L(start_addresses)): Don't use BP_SYM.
40505         (_start): Likewise.
40506         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
40507         <bp-asm.h>.
40508         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
40509         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
40510         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
40511         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
40512         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
40513         <bp-asm.h>.
40514         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
40515         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
40516         about bounded pointers.
40517         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
40518         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
40519         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
40520         <bp-asm.h>.
40521         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
40522         about bounded pointers.  Remove GKM FIXME comments.
40523         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
40524         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
40525         <bp-asm.h>.
40526         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
40527         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
40528         Remove GKM FIXME comments.
40529         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
40530         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
40531         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
40532         <bp-asm.h>.
40533         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
40534         about bounded pointers.  Remove GKM FIXME comment.
40535         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
40536         and <bp-asm.h>.
40537         (strncmp): Don't use BP_SYM.  Remove comment about bounded
40538         pointers.
40539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
40540         <bp-sym.h> and <bp-asm.h>.
40541         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
40542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
40543         <bp-sym.h> and <bp-asm.h>.
40544         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
40545         comment.
40547 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
40549         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
40550         call free(NULL).
40552 2013-03-05  David S. Miller  <davem@davemloft.net>
40554         * po/es.po: Update from translation team.
40556 2013-03-05  Andreas Jaeger  <aj@suse.de>
40558         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
40559         <bits/mman-linux.h>.
40560         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
40561         is fine.
40562         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
40563         <bits/mman-linux.h> to end of file.
40564         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
40565         is fine.
40566         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
40567         <bits/mman-linux.h> to end of file.
40568         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
40569         is fine.
40570         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
40571         <bits/mman-linux.h> to end of file.
40573         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
40574         (MCL_CURRENT, MCL_FUTURE): Define here.
40576 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40578         [BZ #15232]
40579         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
40580         attribute_hidden.
40581         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
40583 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40585         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
40586         fourth parameter needed for rt_sigprocmask syscall.
40587         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
40588         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
40589         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
40590         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
40591         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
40592         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
40594 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
40596         [BZ #13550]
40597         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
40598         comment about bounded pointers.
40599         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
40600         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
40602 2013-03-04  Andreas Jaeger  <aj@suse.de>
40604         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
40605         common definitions.
40607         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
40608         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
40609         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
40610         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
40611         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
40612         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
40614 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40616         [BZ #15055]
40617         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
40618         __ieee754_sqrl instead of __sqrl.
40620 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
40622         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
40623         * sysdeps/powerpc/fpu_control.h: ... here.
40624         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
40625         * sysdeps/powerpc/bits/fenvinline.h: ... here.
40626         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
40627         * sysdeps/powerpc/bits/mathinline.h: ... here.
40629 2013-03-01  Roland McGrath  <roland@hack.frob.com>
40631         * elf/dl-hwcaps.c (_dl_important_hwcaps):
40632         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
40633         to just [NEED_DL_SYSINFO_DSO].
40634         * elf/dl-support.c: Likewise.
40635         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
40636         * elf/rtld.c (dl_main): Likewise.
40637         * elf/setup-vdso.h (setup_vdso): Likewise.
40638         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
40639         * sysdeps/unix/sysv/linux/dl-sysdep.c
40640         (_dl_discover_osversion): Likewise.
40642 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
40644         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
40645         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
40647 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
40649         * NEWS: Mention libm performance improvements and non-x86 PI
40650         futex support.
40652         * csu/libc-start.c (__pthread_initialize_minimal): Change
40653         function arguments.
40654         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
40656 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
40658         [BZ #13550]
40659         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
40660         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
40661         <bp-sym.h> and <bp-asm.h>.
40662         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
40663         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
40664         and <bp-asm.h>.
40665         (memcpy): Don't use BP_SYM.
40666         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
40667         <bp-asm.h>.
40668         (__mpn_add_n): Don't use BP_SYM.
40669         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
40670         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
40671         and <bp-asm.h>.
40672         (__mpn_addmul_1): Don't use BP_SYM.
40673         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40674         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
40675         <bp-sym.h>.
40676         (_setjmp): Don't use BP_SYM.
40677         (__novmx_setjmp): Likewise.
40678         (__GI__setjmp): Likewise.
40679         (__vmx_setjmp): Likewise.
40680         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
40681         <bp-sym.h>.
40682         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
40683         (__bzero): Don't use BP_SYM.
40684         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
40685         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
40686         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
40687         <bp-sym.h> and <bp-asm.h>.
40688         (memcpy): Don't use BP_SYM.
40689         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
40690         <bp-sym.h> and <bp-asm.h>.
40691         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
40692         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
40693         <bp-sym.h> and <bp-asm.h>.
40694         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
40695         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
40696         <bp-asm.h>.
40697         (__mpn_lshift): Don't use BP_SYM.
40698         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40699         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
40700         <bp-asm.h>.
40701         (memset): Don't use BP_SYM.
40702         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
40703         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
40704         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
40705         <bp-asm.h>.
40706         (__mpn_mul_1): Don't use BP_SYM.
40707         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40708         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
40709         <bp-sym.h> and <bp-asm.h>.
40710         (memcmp): Don't use BP_SYM.
40711         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
40712         <bp-sym.h> and <bp-asm.h>.
40713         (memcpy): Don't use BP_SYM.
40714         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
40715         <bp-sym.h> and <bp-asm.h>.
40716         (memset): Don't use BP_SYM.
40717         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
40718         <bp-sym.h> and <bp-asm.h>.
40719         (strncmp): Don't use BP_SYM.
40720         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
40721         <bp-sym.h> and <bp-asm.h>.
40722         (memcpy): Don't use BP_SYM.
40723         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
40724         <bp-sym.h> and <bp-asm.h>.
40725         (memset): Don't use BP_SYM.
40726         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
40727         <bp-sym.h> and <bp-asm.h>.
40728         (__memchr): Don't use BP_SYM.
40729         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
40730         <bp-sym.h> and <bp-asm.h>.
40731         (memcmp): Don't use BP_SYM.
40732         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
40733         <bp-sym.h> and <bp-asm.h>.
40734         (memcpy): Don't use BP_SYM.
40735         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
40736         <bp-sym.h> and <bp-asm.h>.
40737         (__mempcpy): Don't use BP_SYM.
40738         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
40739         <bp-sym.h> and <bp-asm.h>.
40740         (__memrchr): Don't use BP_SYM.
40741         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
40742         <bp-sym.h> and <bp-asm.h>.
40743         (memset): Don't use BP_SYM.
40744         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
40745         <bp-sym.h> and <bp-asm.h>.
40746         (__rawmemchr): Don't use BP_SYM.
40747         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
40748         <bp-sym.h> and <bp-asm.h>.
40749         (__STRCMP): Don't use BP_SYM.
40750         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
40751         <bp-sym.h> and <bp-asm.h>.
40752         (strchr): Don't use BP_SYM.
40753         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
40754         <bp-sym.h> and <bp-asm.h>.
40755         (__strchrnul): Don't use BP_SYM.
40756         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
40757         <bp-sym.h> and <bp-asm.h>.
40758         (strlen): Don't use BP_SYM.
40759         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
40760         <bp-sym.h> and <bp-asm.h>.
40761         (strncmp): Don't use BP_SYM.
40762         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
40763         <bp-sym.h> and <bp-asm.h>.
40764         (__strnlen): Don't use BP_SYM.
40765         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
40766         <bp-asm.h>.
40767         (__mpn_rshift): Don't use BP_SYM.
40768         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40769         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
40770         <bp-sym.h> and <bp-asm.h>.
40771         (__sigsetjmp): Don't use BP_SYM.
40772         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
40773         (L(start_addresses)): Don't use BP_SYM.
40774         (_start): Likewise.
40775         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
40776         <bp-asm.h>.
40777         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
40778         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
40779         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
40780         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
40781         <bp-asm.h>.
40782         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
40783         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
40784         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
40785         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
40786         <bp-asm.h>.
40787         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
40788         comments.
40789         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
40790         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
40791         <bp-asm.h>.
40792         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
40793         FIXME comments.
40794         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
40795         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
40796         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
40797         <bp-asm.h>.
40798         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
40799         comment.
40800         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
40801         and <bp-asm.h>.
40802         (strncmp): Don't use BP_SYM,
40803         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
40804         <bp-asm.h>.
40805         (__mpn_sub_n): Don't use BP_SYM.
40806         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40807         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
40808         and <bp-asm.h>.
40809         (__mpn_submul_1): Don't use BP_SYM.
40810         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
40812         <bp-sym.h> and <bp-asm.h>.
40813         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
40814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
40815         <bp-sym.h> and <bp-asm.h>.
40816         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
40817         comment.
40819 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40821         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
40822         Use ZK to minimize writes to Z.
40823         (sub_magnitudes): Simplify code a bit.
40824         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
40825         Use ZK to minimize writes to Z.
40826         (sub_magnitudes): Simplify code a bit.
40828 2013-02-27  Roland McGrath  <roland@hack.frob.com>
40830         * csu/gmon-start.c: Add special exception to license text.
40832 2013-02-27  Richard Henderson  <rth@redhat.com>
40834         * scripts/config.guess: Update from config.git.
40835         * scripts/config.sub: Likewise.
40837 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40839         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
40841         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
40843         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
40845         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
40847         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
40849 2013-02-26  Roland McGrath  <roland@hack.frob.com>
40851         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
40852         [$(build-shared = yes].
40854 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40856         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
40857         (__mul): Reduce iterations for calculating mantissa.
40859         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
40860         MPTWO.
40861         (__mpranred): Likewise.
40863         [BZ #15160]
40864         * malloc/memusagestat.c (main): Draw graphs for heap and stack
40865         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
40867 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
40869         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
40870         Define __attribute__.
40872 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40874         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
40875         unused.
40876         * posix/regex_internal.h (__attribute): Remove.
40877         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
40878         (re_string_context_at): Likewise.
40879         (bitset_not): Use __attribute__ and mark function as possibly
40880         unused.
40881         (bitset_merge): Likewise.
40882         (bitset_mask): Likewise.
40883         (re_string_char_size_at): Likewise.
40884         (re_string_wchar_at): Likewise.
40885         (re_string_elem_size_at): Likewise.
40887 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
40889         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
40890         code.
40891         (cc32): Likewise.
40893         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
40894         (__acr): Likewise.
40895         (__cpy): Likewise.
40896         (norm): Likewise.
40897         (denorm): Likewise.
40898         (__dbl_mp): Likewise.
40899         (add_magnitudes): Likewise.
40900         (sub_magnitudes): Likewise.
40901         (__mul): Likewise.
40902         (__inv): Likewise.
40904         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
40905         style.
40907         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
40908         style.
40910         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
40911         code.
40913         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
40914         up changes with default code.
40915         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
40916         Likewise.
40918 2013-02-24  Allan McRae  <allan@archlinux.org>
40920         * manual/socket.texi (The Internet Namespace): Order menu items
40921         to match that in the file.
40923         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
40924         node listing of the info page menu.
40926 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
40928         [BZ #13550]
40929         * sysdeps/i386/bp-asm.h: Remove file.
40930         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
40931         (PARMS): Do not use macros from bp-asm.h.
40932         (S1): Likewise.
40933         (S2): Likewise.
40934         (SIZE): Likewise.
40935         (__mpn_add_n): Do not use BP_SYM
40936         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
40937         "bp-asm.h".
40938         (PARMS): Do not use macros from bp-asm.h.
40939         (S1): Likewise.
40940         (SIZE): Likewise.
40941         (__mpn_addmul_1): Do not use BP_SYM
40942         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
40943         "bp-asm.h".
40944         (PARMS): Do not use macros from bp-asm.h.
40945         (SIGMSK): Likewise.
40946         (_setjmp): Likewise.  Do not use BP_SYM.
40947         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
40948         "bp-asm.h".
40949         (PARMS): Do not use macros from bp-asm.h.
40950         (SIGMSK): Likewise.
40951         (setjmp): Likewise.  Do not use BP_SYM.
40952         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
40953         "bp-asm.h".
40954         (PARMS): Do not use macros from bp-asm.h.
40955         (__frexp): Do not use BP_SYM.
40956         (frexp): Likewise.
40957         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
40958         "bp-asm.h".
40959         (PARMS): Do not use macros from bp-asm.h.
40960         (__frexpf): Do not use BP_SYM.
40961         (frexpf): Likewise.
40962         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
40963         "bp-asm.h".
40964         (PARMS): Do not use macros from bp-asm.h.
40965         (__frexpl): Do not use BP_SYM.
40966         (frexpl): Likewise.
40967         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
40968         "bp-asm.h".
40969         (PARMS): Do not use macros from bp-asm.h.
40970         (__remquo): Do not use BP_SYM.
40971         (remquo): Likewise.
40972         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
40973         "bp-asm.h".
40974         (PARMS): Do not use macros from bp-asm.h.
40975         (__remquof): Do not use BP_SYM.
40976         (remquof): Likewise.
40977         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
40978         "bp-asm.h".
40979         (PARMS): Do not use macros from bp-asm.h.
40980         (__remquol): Do not use BP_SYM.
40981         (remquol): Likewise.
40982         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
40983         "bp-asm.h".
40984         (PARMS): Do not use macros from bp-asm.h.
40985         (DEST): Likewise.
40986         (SRC): Likewise.
40987         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
40988         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
40989         "bp-asm.h".
40990         (PARMS): Do not use macros from bp-asm.h.
40991         (strlen): Do not use BP_SYM.
40992         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
40993         "bp-asm.h".
40994         (PARMS): Do not use macros from bp-asm.h.
40995         (S1): Likewise.
40996         (S2): Likewise.
40997         (SIZE): Likewise.
40998         (__mpn_add_n): Do not use BP_SYM.
40999         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
41000         "bp-asm.h".
41001         (PARMS): Do not use macros from bp-asm.h.
41002         (S1): Likewise.
41003         (SIZE): Likewise.
41004         (__mpn_addmul_1): Do not use BP_SYM.
41005         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
41006         weak_alias.
41007         (bzero): Likewise.
41008         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
41009         "bp-asm.h".
41010         (PARMS): Do not use macros from bp-asm.h.
41011         (S): Likewise.
41012         (SIZE): Likewise.
41013         (__mpn_lshift): Do not use BP_SYM.
41014         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
41015         "bp-asm.h".
41016         (PARMS): Do not use macros from bp-asm.h.
41017         (DEST): Likewise.
41018         (SRC): Likewise.
41019         (LEN): Likewise.
41020         (memcpy): Likewise.  Do not use BP_SYM.
41021         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
41022         libc_hidden_def and weak_alias.
41023         (mempcpy): Do not use BP_SYM in weak_alias.
41024         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
41025         "bp-asm.h".
41026         (PARMS): Do not use macros from bp-asm.h.
41027         (DEST): Likewise.
41028         (LEN): Likewise.
41029         [!BZERO_P] (CHR): Likewise.
41030         (memset): Likewise.  Do not use BP_SYM.
41031         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
41032         "bp-asm.h".
41033         (PARMS): Do not use macros from bp-asm.h.
41034         (S1): Likewise.
41035         (SIZE): Likewise.
41036         (__mpn_mul_1): Do not use BP_SYM.
41037         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
41038         "bp-asm.h".
41039         (PARMS): Do not use macros from bp-asm.h.
41040         (S): Likewise.
41041         (SIZE): Likewise.
41042         (__mpn_rshift): Do not use BP_SYM.
41043         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
41044         "bp-asm.h".
41045         (PARMS): Do not use macros from bp-asm.h.
41046         (STR): Likewise.
41047         (CHR): Likewise.
41048         (strchr): Likewise.  Do not use BP_SYM.
41049         (index): Do not use BP_SYM in weak_alias.
41050         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
41051         "bp-asm.h".
41052         (PARMS): Do not use macros from bp-asm.h.
41053         (DEST): Likewise.
41054         (SRC): Likewise.
41055         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
41056         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
41057         "bp-asm.h".
41058         (PARMS): Do not use macros from bp-asm.h.
41059         (strlen): Do not use BP_SYM.
41060         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
41061         "bp-asm.h".
41062         (PARMS): Do not use macros from bp-asm.h.
41063         (S1): Likewise.
41064         (S2): Likewise.
41065         (SIZE): Likewise.
41066         (__mpn_sub_n): Do not use BP_SYM.
41067         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
41068         "bp-asm.h".
41069         (PARMS): Do not use macros from bp-asm.h.
41070         (S1): Likewise.
41071         (SIZE): Likewise.
41072         (__mpn_submul_1): Do not use BP_SYM.
41073         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
41074         "bp-asm.h".
41075         (PARMS): Do not use macros from bp-asm.h.
41076         (S1): Likewise.
41077         (S2): Likewise.
41078         (SIZE): Likewise.
41079         (__mpn_add_n): Do not use BP_SYM.
41080         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
41081         weak_alias.
41082         (bzero): Likewise.
41083         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
41084         "bp-asm.h".
41085         (PARMS): Do not use macros from bp-asm.h.
41086         (BLK2): Likewise.
41087         (LEN): Likewise.
41088         (memcmp): Do not use BP_SYM.
41089         (bcmp): Do not use BP_SYM in weak_alias.
41090         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
41091         "bp-asm.h".
41092         (PARMS): Do not use macros from bp-asm.h.
41093         (DEST): Likewise.
41094         (SRC): Likewise.
41095         (LEN): Likewise.
41096         (memcpy): Likewise.  Do not use BP_SYM.
41097         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
41098         "bp-asm.h".
41099         (PARMS): Do not use macros from bp-asm.h.
41100         (DEST): Likewise.
41101         (SRC): Likewise.
41102         (LEN): Likewise.
41103         (memmove): Likewise.  Do not use BP_SYM.
41104         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
41105         "bp-asm.h".
41106         (PARMS): Do not use macros from bp-asm.h.
41107         (DEST): Likewise.
41108         (SRC): Likewise.
41109         (LEN): Likewise.
41110         (__mempcpy): Likewise.  Do not use BP_SYM.
41111         (mempcpy): Do not use BP_SYM in weak_alias.
41112         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
41113         "bp-asm.h".
41114         (PARMS): Do not use macros from bp-asm.h.
41115         (DEST): Likewise.
41116         (LEN): Likewise.
41117         [!BZERO_P] (CHR): Likewise.
41118         (memset): Likewise.  Do not use BP_SYM.
41119         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
41120         "bp-asm.h".
41121         (PARMS): Do not use macros from bp-asm.h.
41122         (STR2): Likewise.
41123         (strcmp): Do not use BP_SYM.
41124         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
41125         "bp-asm.h".
41126         (PARMS): Do not use macros from bp-asm.h.
41127         (STR): Likewise.
41128         (DELIM): Likewise.
41129         [USE_AS_STRTOK_R] (SAVE): Likewise.
41130         (FUNCTION): Likewise.  Do not use BP_SYM.
41131         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
41132         aliases.
41133         (strtok_r): Likewise.
41134         (__GI___strtok_r): Likewise.
41135         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
41136         (PARMS): Do not use macros from bp-asm.h.
41137         (S): Likewise.
41138         (SIZE): Likewise.
41139         (__mpn_lshift): Do not use BP_SYM.
41140         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
41141         (PARMS): Do not use macros from bp-asm.h.
41142         (STR): Likewise.
41143         (CHR): Likewise.
41144         (__memchr): Do not use BP_SYM.
41145         (memchr): Do not use BP_SYM in weak_alias.
41146         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
41147         (PARMS): Do not use macros from bp-asm.h.
41148         (BLK2): Likewise.
41149         (LEN): Likewise.
41150         (memcmp): Do not use BP_SYM.
41151         (bcmp): Do not use BP_SYM in weak_alias.
41152         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
41153         (PARMS): Do not use macros from bp-asm.h.
41154         (S1): Likewise.
41155         (SIZE): Likewise.
41156         (__mpn_mul_1): Do not use BP_SYM.
41157         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
41158         "bp-asm.h".
41159         (PARMS): Do not use macros from bp-asm.h.
41160         (STR): Likewise.
41161         (CHR): Likewise.
41162         (__rawmemchr): Do not use BP_SYM.
41163         (rawmemchr): Do not use BP_SYM in weak_alias.
41164         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
41165         (PARMS): Do not use macros from bp-asm.h.
41166         (S): Likewise.
41167         (SIZE): Likewise.
41168         (__mpn_rshift): Do not use BP_SYM.
41169         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
41170         (PARMS): Do not use macros from bp-asm.h.
41171         (SIGMSK): Likewise.
41172         (__sigsetjmp): Likewise.  Do not use BP_SYM.
41173         * sysdeps/i386/start.S: Do not include "bp-sym.h".
41174         (_start): Do not use BP_SYM.
41175         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
41176         (PARMS): Do not use macros from bp-asm.h.
41177         (DEST): Likewise.
41178         (SRC): Likewise.
41179         (__stpcpy): Likewise.  Do not use BP_SYM.
41180         (stpcpy): Do not use BP_SYM in weak_alias.
41181         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
41182         "bp-asm.h".
41183         (PARMS): Do not use macros from bp-asm.h.
41184         (DEST): Likewise.
41185         (SRC): Likewise.
41186         (LEN): Likewise.
41187         (__stpncpy): Likewise.  Do not use BP_SYM.
41188         (stpncpy): Do not use BP_SYM in weak_alias.
41189         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
41190         (PARMS): Do not use macros from bp-asm.h.
41191         (STR): Likewise.
41192         (CHR): Likewise.
41193         (strchr): Likewise.  Do not use BP_SYM.
41194         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
41195         "bp-asm.h".
41196         (PARMS): Do not use macros from bp-asm.h.
41197         (STR): Likewise.
41198         (CHR): Likewise.
41199         (__strchrnul): Likewise.  Do not use BP_SYM.
41200         (strchrnul): Do not use BP_SYM in weak_alias.
41201         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
41202         "bp-asm.h".
41203         (PARMS): Do not use macros from bp-asm.h.
41204         (STOP): Likewise.
41205         (strcspn): Do not use BP_SYM.
41206         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
41207         "bp-asm.h".
41208         (PARMS): Do not use macros from bp-asm.h.
41209         (STR): Likewise.
41210         (STOP): Likewise.
41211         (strpbrk): Likewise.  Do not use BP_SYM.
41212         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
41213         "bp-asm.h".
41214         (PARMS): Do not use macros from bp-asm.h.
41215         (STR): Likewise.
41216         (CHR): Likewise.
41217         (strrchr): Likewise.  Do not use BP_SYM.
41218         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
41219         (PARMS): Do not use macros from bp-asm.h.
41220         (SKIP): Likewise.
41221         (strspn): Do not use BP_SYM.
41222         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
41223         (PARMS): Do not use macros from bp-asm.h.
41224         (STR): Likewise.
41225         (DELIM): Likewise.
41226         (SAVE): Likewise.
41227         (FUNCTION): Likewise.  Do not use BP_SYM.
41228         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
41229         aliases.
41230         (strtok_r): Likewise.
41231         (__GI___strtok_r): Likewise.
41232         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
41233         (PARMS): Do not use macros from bp-asm.h.
41234         (S1): Likewise.
41235         (S2): Likewise.
41236         (SIZE): Likewise.
41237         (__mpn_sub_n): Do not use BP_SYM.
41238         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
41239         "bp-asm.h".
41240         (PARMS): Do not use macros from bp-asm.h.
41241         (S1): Likewise.
41242         (SIZE): Likewise.
41243         (__mpn_submul_1): Do not use BP_SYM.
41244         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
41245         <bp-sym.h>.
41246         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
41247         and <bp-asm.h>.
41248         (PARMS): Do not use macros from bp-asm.h.
41249         (FLAGS): Likewise.
41250         (PTID): Likewise.
41251         (TLS): Likewise.
41252         (CTID): Likewise.
41253         (__clone): Do not use BP_SYM.
41254         (clone): Do not use BP_SYM in weak_alias.
41255         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
41256         and <bp-asm.h>.
41257         (PARMS): Do not use macros from bp-asm.h.
41258         (LEN): Likewise.
41259         (__mmap64): Do not use BP_SYM.
41260         (mmap64): Do not use BP_SYM in weak_alias.
41261         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
41262         <bp-sym.h> and <bp-asm.h>.
41263         (PARMS): Do not use macros from bp-asm.h.
41264         (__posix_fadvise64_l64): Do not use BP_SYM.
41265         * sysdeps/unix/sysv/linux/i386/semtimedop.S
41266         (PARMS): Do not use macros from bp-asm.h.
41267         (NSOPS): Likewise.
41268         (semtimedop): Do not use BP_SYM.
41269         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
41270         and <bp-asm.h>.
41272 2013-02-21  Allan McRae  <allan@archlinux.org>
41274         * manual/message.texi (Charset conversion in gettext):
41275         Move @end statement to beginning of line.
41277 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41279         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
41280         static.
41281         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
41282         Likewise.
41284         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
41285         (denorm): Likewise.
41286         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
41287         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
41289 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41291         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
41292         tail-call to the resolved function if pltexit isn't needed.
41294 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41296         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
41297         or Y being zero as being unlikely.
41298         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
41299         Likewise.
41301 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
41303         * manual/nss.texi (System Databases and Name Service Switch):
41304         Remove frobnicate @pxref.
41306 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
41308         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
41309         __attribute__ ((unused)) to __attribute__ ((__unused__)).
41311 2013-02-20  Petr Machata  <pmachata@redhat.com>
41313         * elf/elf.h (R_ARM_TARGET1): New macro.
41314         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
41315         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
41316         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
41317         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
41318         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
41319         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
41320         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
41321         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
41322         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
41323         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
41324         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
41325         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
41326         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
41327         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
41328         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
41329         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
41330         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
41331         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
41332         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
41333         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
41334         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
41335         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
41336         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
41337         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
41338         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
41339         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
41340         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
41341         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
41342         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
41343         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
41344         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
41345         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
41346         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
41347         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
41348         (R_ARM_THM_GOT_BREL12): Likewise.
41349         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
41350         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
41351         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
41352         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
41353         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
41354         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
41355         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
41356         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
41357         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
41359 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
41361         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
41362         __attribute_used__ to __attribute__ ((unused)).
41364 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
41366         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
41367         powerpc mpa.c.
41368         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
41369         comment formatting.
41370         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
41372 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
41374         [BZ #13550]
41375         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
41376         Remove macro.
41377         (ENTER): Remove both macro definitions.
41378         (LEAVE): Likewise.
41379         (CHECK_BOUNDS_LOW): Likewise.
41380         (CHECK_BOUNDS_HIGH): Likewise.
41381         (CHECK_BOUNDS_BOTH): Likewise.
41382         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
41383         (RETURN_BOUNDED_POINTER): Likewise.
41384         (RETURN_NULL_BOUNDED_POINTER): Likewise.
41385         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
41386         (POP_ERRNO_LOCATION_RETURN): Likewise.
41387         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
41388         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
41389         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
41390         macros.
41391         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
41392         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
41393         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
41394         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
41395         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
41396         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
41397         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
41398         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
41399         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
41400         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
41401         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
41402         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
41403         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
41404         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
41405         removed macros.
41406         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
41407         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
41408         macros.
41409         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
41410         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
41411         * sysdeps/i386/i586/memset.S (memset): Likewise.
41412         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
41413         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
41414         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
41415         macros.
41416         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
41417         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
41418         Change uses of L(2) to L(out).
41419         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
41420         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
41421         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
41422         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
41423         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
41424         removed macros.
41425         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
41426         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
41427         macros.
41428         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
41429         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
41430         (RETURN): Do not use macro LEAVE.
41431         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
41432         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
41433         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
41434         * sysdeps/i386/i686/memset.S (memset): Likewise.
41435         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
41436         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
41437         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
41438         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
41439         Likewise.
41440         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
41441         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
41442         L(1_2) and L(1_3) into L(1).
41443         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
41444         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
41445         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
41446         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
41447         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
41448         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
41449         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
41450         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
41451         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
41452         macros.
41453         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
41454         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
41455         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
41456         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
41457         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
41458         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
41459         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
41460         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
41461         * sysdeps/i386/strcspn.S (strcspn): Likewise.
41462         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
41463         * sysdeps/i386/strrchr.S (strrchr): Likewise.
41464         * sysdeps/i386/strspn.S (strspn): Likewise.
41465         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
41466         conditional code.
41467         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
41468         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
41469         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
41470         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
41471         L(1_3) into L(1_1).
41472         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
41473         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
41474         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
41475         macros.
41476         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
41478 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
41480         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
41481         macro.
41483 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
41485         * math/atest-exp.c (exp_mpn): Remove ROUND.
41486         * math/atest-exp2.c (exp_mpn): Likewise.
41487         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
41489         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
41490         * stdlib/tst-tls-atexit-lib.c: Likewise.
41491         * stdlib/tst-tls-atexit.c: Likewise.
41493 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
41495         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
41496         and __attribute_alloc_size__.
41498 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
41500         * include/programs/xmalloc.h: Change __attribute_alloc_size to
41501         __attribute_alloc_size__.
41502         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
41503         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
41505 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
41507         * include/programs/xmalloc.h: New file.
41508         * catgets/gencat.c: Include it.
41509         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
41510         * elf/pldd.c: Likewise.
41511         * iconv/iconv_charmap.c: Likewise.
41512         * iconv/iconvconfig.c: Likewise.
41513         * iconv/strtab.c: Likewise.
41514         * locale/programs/locale.c: Likewise.
41515         * locale/programs/localedef.h: Likewise.
41516         * locale/programs/simple-hash.c: Likewise.
41517         * nscd/nscd.h: Likewise.
41518         * nss/makedb.c: Likewise.
41519         * sysdeps/generic/ldconfig.h: Likewise.
41521 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
41523         * Versions.def: Add GLIBC_2.18.
41524         * include/link.h (struct link_map): New member l_tls_dtor_count.
41525         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
41526         (__call_tls_dtors): Likewise.
41527         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
41528         __cxa_thread_atexit_impl.
41529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41530         Likewise.
41531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41532         Likewise.
41533         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
41534         Likewise.
41535         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
41536         Likewise.
41537         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
41538         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
41539         Likewise.
41540         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
41541         Likewise.
41542         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
41543         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
41544         Likewise.
41545         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
41546         (tests): Add test case tst-tls-atexit.
41547         (modules-names): Add shared library for tst-tls-atexit.
41548         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
41549         (GLIBC_PRIVATE): Add __call_tls_dtors.
41550         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
41551         for libstdc++.
41552         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
41553         * stdlib/tst-tls-atexit.c: New test case.
41554         * stdlib/tst-tls-atexit-lib.c: New test case.
41556         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
41558         * elf/Versions (ld): Add _dl_find_dso_for_object.
41559         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
41560         * elf/dl-open.c (_dl_find_dso_for_object): New function.
41561         (dl_open_worker): Use _dl_find_dso_for_object.
41562         * elf/dl-sym.c (do_sym): Likewise.
41563         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
41565 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41567         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
41568         Syntactic changes only.
41569         (_dl_runtime_profile): Do a tail-call to the resolved function.
41571 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
41573         [BZ #13550]
41574         * sysdeps/x86_64/bp-asm.h: Remove file.
41575         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
41576         <bp-sym.h> and <bp-asm.h>.
41577         (__clone): Do not use BP_SYM.
41578         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
41579         <bp-sym.h> and <bp-asm.h>.
41580         * sysdeps/unix/x86_64/sysdep.S: Likewise.
41581         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
41582         "bp-asm.h".
41583         (_setjmp): Do not use BP_SYM.
41584         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
41585         "bp-asm.h".
41586         (setjmp): Do not use BP_SYM.
41587         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
41588         libc_hidden_def.
41589         (mempcpy): Do not use BP_SYM in weak_alias.
41590         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
41591         "bp-asm.h".
41592         (strchr): Do not use BP_SYM.
41593         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
41594         "bp-asm.h".
41595         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
41596         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
41597         (_start): Do not use BP_SYM.
41598         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
41599         "bp-asm.h".
41600         (strcat): Do not use BP_SYM.
41601         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
41602         "bp-asm.h".
41603         (STRCMP): Do not use BP_SYM.
41604         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
41605         "bp-asm.h".
41606         (STRCPY): Do not use BP_SYM.
41607         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
41608         "bp-asm.h".
41609         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
41610         "bp-asm.h".
41611         (FUNCTION): Do not use BP_SYM.
41612         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
41613         weak_alias.
41614         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
41616 2013-02-17  Andreas Jaeger  <aj@suse.de>
41618         * time/Versions: Sort entries.
41619         * string/Versions: Likewise.
41620         * resolv/Versions: Likewise.
41621         * posix/Versions: Likewise.
41622         * iconv/Versions: Likewise.
41623         * elf/Versions: Likewise.
41624         * wcsmbs/Versions: Likewise.
41626 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
41628         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
41629         loop termination condition.
41631         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
41632         variable to calculate EZ.
41633         (__sqr): Likewise.
41635         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
41636         the lower precision input.
41638 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
41640         [BZ #13550]
41641         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
41642         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
41643         (run-via-rtld-prefix): Do not handle %-bp tests.
41644         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
41645         (all-object-suffixes): Remove .ob.
41646         (bppfx): Remove variable.
41647         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
41648         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
41649         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
41650         [$(build-bounded) = yes] (libtype.ob): Likewise.
41651         * Makerules (elide-routines.ob): Remove variable.
41652         (do-tests-clean): Do not handle *-bp.out.
41653         (common-mostlyclean): Do not handle *-bp and *-bp.out.
41654         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
41655         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
41656         (tests): Do not include $(tests-bp.out).
41657         (xtests): Do not include $(xtests-bp.out).
41658         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
41659         [$(build-bounded) = yes] ($(addprefix
41660         $(objpfx),$(binaries-bounded))): Remove rule.
41661         ($(objpfx)%-bp.out): Remove rule.
41662         * config.make.in (build-bounded): Remove variable.
41663         * crypt/Makefile [$(build-bounded) = yes]
41664         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
41665         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
41666         append to variable.
41667         [$(build-bounded) = yes] (install-lib): Likewise.
41668         [$(build-bounded) = yes] (generated): Likewise.
41669         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
41670         Remove rule.
41671         * intl/Makefile [$(build-bounded) = yes]
41672         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
41673         * math/Makefile [$(build-bounded) = yes]
41674         ($(tests:%=$(objpfx)%-bp): Likewise.
41675         * misc/Makefile [$(build-bounded) = yes]
41676         ($(objpfx)tst-tsearch-bp): Likewise.
41677         * nptl/Makeconfig (bounded-thread-library): Remove variable.
41678         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
41679         Remove dependency.
41680         * string/Makefile (o-objects.ob): Remove variable.
41681         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
41682         (CFLAGS-.ob): Remove variable.
41683         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
41684         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
41685         both definitions of variable.
41686         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
41687         (ASFLAGS-.ob): Remove variable.
41689 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
41691         [BZ #13550]
41692         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
41693         Remove __BOUNDED_POINTERS__ from condition.
41694         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
41695         * string/bits/string2.h [!__NO_STRING_INLINES &&
41696         !__BOUNDED_POINTERS__]: Likewise.
41697         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
41698         Likewise.
41699         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
41700         Remove conditional code.
41701         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
41702         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
41703         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
41704         condition.
41706         [BZ #13550]
41707         * csu/libc-start.c: Do not include <bp-sym.h>.
41708         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
41709         * elf/dl-open.c: Do not include <bp-sym.h>.
41710         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
41711         * math/fegetenv.c: Do not include <bp-sym.h>.
41712         (fegetenv): Do not use BP_SYM in versioned symbols.
41713         * nptl/sysdeps/pthread/bits/libc-lockP.h
41714         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
41715         <bp-sym.h>.
41716         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41717         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
41718         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41719         (__pthread_mutex_destroy): Likewise.
41720         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41721         (__pthread_mutex_lock): Likewise.
41722         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41723         (__pthread_mutex_trylock): Likewise.
41724         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41725         (__pthread_mutex_unlock): Likewise.
41726         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41727         (__pthread_mutexattr_init): Likewise.
41728         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41729         (__pthread_mutexattr_destroy): Likewise.
41730         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41731         (__pthread_mutexattr_settype): Likewise.
41732         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41733         (__pthread_rwlock_init): Likewise.
41734         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41735         (__pthread_rwlock_destroy): Likewise.
41736         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41737         (__pthread_rwlock_rdlock): Likewise.
41738         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41739         (__pthread_rwlock_tryrdlock): Likewise.
41740         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41741         (__pthread_rwlock_wrlock): Likewise.
41742         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41743         (__pthread_rwlock_trywrlock): Likewise.
41744         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41745         (__pthread_rwlock_unlock): Likewise.
41746         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41747         (__pthread_key_create): Likewise.
41748         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41749         (__pthread_setspecific): Likewise.
41750         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41751         (__pthread_getspecific): Likewise.
41752         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
41753         Likewise.
41754         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41755         (_pthread_cleanup_push_defer): Likewise.
41756         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41757         (_pthread_cleanup_pop_restore): Likewise.
41758         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41759         (pthread_setcancelstate): Likewise.
41760         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
41761         <bp-sym.h>.
41762         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
41763         (memchr): Do not use BP_SYM in weak_alias.
41764         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
41765         (fegetenv): Do not use BP_SYM in versioned symbols.
41766         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
41767         (fesetenv): Do not use BP_SYM in versioned symbols.
41768         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
41769         (feupdateenv): Do not use BP_SYM in versioned symbols.
41770         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
41771         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
41772         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
41773         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
41774         (open64): Do not use BP_SYM in weak_alias.
41775         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
41776         (fegetenv): Do not use BP_SYM in versioned symbols.
41777         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
41778         (fesetenv): Do not use BP_SYM in versioned symbols.
41779         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
41780         (feupdateenv): Do not use BP_SYM in versioned symbols.
41781         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
41782         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
41783         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
41784         (feraiseexcept): Do not use BP_SYM in versioned symbols.
41785         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
41786         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
41787         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
41788         <bp-sym.h>.
41789         (__libc_start_main): Do not use BP_SYM.
41791 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
41793         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
41794         redundant return line.
41795         (norm): Likewise.
41796         (denorm): Likewise.
41797         (dbl_mp): Likewise.
41798         (sub_magnitudes): Likewise.
41799         (__add): Likewise.
41800         (__sub): Likewise.
41801         (__mul): Likewise.
41802         (__inv): Likewise.
41803         (__dvd): Likewise.
41804         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
41805         (norm): Likewise.
41806         (denorm): Likewise.
41807         (dbl_mp): Likewise.
41808         (sub_magnitudes): Likewise.
41809         (__add): Likewise.
41810         (__sub): Likewise.
41811         (__mul): Likewise.
41812         (__inv): Likewise.
41813         (__dvd): Likewise.
41815         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
41816         instead of __mul.
41817         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
41818         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
41819         (cc32): Likewise.
41821         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
41822         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
41823         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
41824         of __mul for squares.
41825         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
41826         function
41827         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
41828         Likewise.
41829         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
41830         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
41832 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
41834         [BZ #13550]
41835         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
41836         code.
41837         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
41838         prototype or function definition.  Rename ubp_* variables and
41839         parameters.  Remove argv definitions conditional on
41840         [__BOUNDED_POINTERS__].
41841         * debug/backtrace.c (__backtrace): Do not use __unbounded.
41842         * elf/dl-runtime.c (_dl_fixup): Likewise.
41843         * include/set-hooks.h (RUN_HOOK): Likewise.
41844         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
41845         definition.
41846         * string/strcpy.c (strcpy): Do not use __unbounded.
41847         * sysdeps/generic/frame.h (struct layout): Likewise.
41848         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
41849         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
41850         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
41851         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
41852         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
41853         (__backtrace): Likewise.
41854         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
41855         use __ptrvalue.
41856         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
41857         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
41858         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
41859         Likewise.
41860         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
41861         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
41862         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
41863         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
41864         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
41865         Do not use __unbounded.
41866         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
41867         Rename __unboundedrlimits parameter to rlimits in prototype.
41868         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
41869         Do not use __unbounded.
41870         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
41871         not use __ptrvalue.
41872         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
41873         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
41874         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
41875         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
41876         __ptrvalue or __unbounded.
41877         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
41878         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
41879         use __unbounded.
41880         (__new_msgctl): Do not use __ptrvalue.
41881         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
41882         __unbounded.
41883         (__libc_msgrcv): Do not use __ptrvalue.
41884         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
41885         startup_info): Do not use __unbounded.
41886         (__libc_start_main): Likewise.  Rename ubp_* variables and
41887         parameters.  Remove argv definitions conditional on
41888         [__BOUNDED_POINTERS__].
41889         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
41890         __ptrvalue.
41891         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
41892         use __unbounded.
41893         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
41894         or __ptrvalue.
41895         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
41896         use __unbounded.
41897         (__new_shmctl): Do not use __ptrvalue.
41898         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
41899         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
41900         Likewise.
41901         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
41902         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
41903         (__libc_sigaction): Likewise.
41904         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
41905         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
41906         Likewise.
41907         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
41909 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
41911         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
41913         * string/mempcpy.c: Implement by calling memcpy.
41915 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
41917         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
41919         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
41920         evaluation.
41922         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
41923         values in the mantissa.
41925         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
41926         minimize writes to Z.
41927         (sub_magnitudes): Simplify code a bit.
41929 2013-02-12  Roland McGrath  <roland@hack.frob.com>
41931         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
41932         from the message.  The linker prefixes all warnings with that already.
41934 2013-02-12  Andreas Schwab  <schwab@suse.de>
41936         [BZ #15078]
41937         * posix/regexec.c (extend_buffers): Add parameter min_len.
41938         (check_matching): Pass minimum needed length.
41939         (clean_state_log_if_needed): Likewise.
41940         (get_subexp): Likewise.
41941         * posix/Makefile (tests): Add bug-regex34.
41942         (bug-regex34-ENV): Define.
41943         * posix/bug-regex34.c: New file.
41945         [BZ #11561]
41946         * posix/regcomp.c (parse_bracket_exp): When looking up collating
41947         elements compare against the byte sequence of it, not its name.
41948         * posix/Makefile (tests): Add bug-regex35.
41949         (bug-regex35-ENV): Define.
41950         * posix/bug-regex35.c: New file.
41952 2013-02-11  Tom de Vries  <tom@codesourcery.com>
41954         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
41955         comment.
41956         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
41957         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
41958         (CHECK_EOL): Add undef.
41960 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
41962         * bits/stdlib-bsearch.h: New file.
41963         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
41964         * stdlib/stdlib.h: Likewise.
41966 2013-02-11  Roland McGrath  <roland@hack.frob.com>
41968         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
41969         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
41970         declaration.
41971         * manual/search.texi (Array Search Function): Add missing const in
41972         lfind prototype.
41973         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
41974         declaration to use rlim_t.
41975         (Basic Scheduling Functions): Remove erroneous const from
41976         sched_getparam prototype.  Remove erroneous * from
41977         sched_get_priority_max and sched_get_priority_min prototypes.
41978         (Resource Usage): Fix summary @comment on vtimes to refer to
41979         sys/vtimes.h rather than vtimes.h.
41980         Add missing *s in vtimes prototype.
41981         (Limits on Resources): Fix ulimit prototype to return long int.
41982         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
41983         prototypes to use long int rather than double.
41984         (BSD Random): Fix initstate and setstate to use char *, not void *.
41985         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
41986         prototype to make second argument 'struct aiocb64 *const[]'.
41987         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
41988         (Status of AIO Operations): Remove erroneous const in aio_return and
41989         aio_return64 prototypes.
41990         (Synchronizing I/O): Fix sync prototype to return void.
41991         * manual/startup.texi (Suboptions): Remove an erroneous const in
41992         getsubopt prototype.
41993         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
41994         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
41995         use size_t rather than int.
41996         (Scanning All Users): Likewise for getpwent_r.
41997         (Setting Groups): Add missing const to setgroups prototype.
41998         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
41999         * manual/socket.texi (Host Names): Fix gethostbyaddr and
42000         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
42001         'const void *' rather than 'const char *'.
42002         (Host Address Functions): Likewise for inet_ntop.
42003         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
42004         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
42005         ssize_t for return value.
42006         (Sending Data): Likewise for send, sendto, sendmsg.
42007         (Socket Option Functions): Add a missing const in setsockopt prototype.
42008         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
42009         use wchar_t for the argument.
42010         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
42011         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
42012         take no arguments.
42013         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
42014         double/float/long double for second argument.
42015         Fix return types of significand, significandf, significandl.
42016         * manual/filesys.texi (Setting Permissions): Use mode_t for second
42017         argument in fchmod prototype.
42018         (File Owner): Use uid_t and gid_t in fchown prototype.
42019         (File Times): Add const to utimes, futimes, and lutimes prototypes.
42020         (Making Special Files): Use mode_t and dev_t in mknod prototype.
42021         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
42022         use 'const struct dirent **' as argument types to CMP function pointer
42023         argument.
42024         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
42025         (File Times): Fix summary magic @comment for struct utimbuf and utime
42026         to refer to utime.h, not time.h.
42027         * manual/string.texi (Argz Functions): Add missing const in
42028         argz_extract and argz_next prototypes.
42029         (Finding Tokens in a String): Likewise for basename.
42030         (String/Array Comparison): Fix typo in wcscasecmp prototype.
42031         (Copying and Concatenation): Fix typo in wmemmove prototype.
42032         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
42033         (Signal Stack): Remove erroneous const in sigstack prototype.
42034         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
42035         prototype.
42036         (Simple Calendar Time): Likewise for stime.
42037         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
42038         prototype.
42039         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
42040         say sys/sysctl.h instead.
42041         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
42042         and vsyslog prototypes.
42044 2013-02-11  Tom de Vries  <tom@codesourcery.com>
42046         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
42047         Remove.
42049 2013-02-11  Roland McGrath  <roland@hack.frob.com>
42051         * misc/sys/mman.h: Fix typo in mremap comment.
42053 2013-02-08  Roland McGrath  <roland@hack.frob.com>
42055         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
42056         the '\0' terminator.
42058 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
42060         [BZ #13550]
42061         * debug/segfault.c: Don't include <bp-checks.h>.
42062         * sysdeps/generic/bp-checks.h: Remove file.
42063         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
42064         (__GETDENTS): Don't use CHECK_N.
42065         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
42066         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
42067         (__getgroups): Don't use CHECK_N.
42068         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
42069         (setgroups): Don't use CHECK_N.
42070         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
42071         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
42072         (__libc_msgrcv): Don't use CHECK_N.
42073         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
42074         (__libc_msgsnd): Don't use CHECK_N.
42075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
42076         <bp-checks.h>.
42077         (__libc_pread): Don't use CHECK_N.
42078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
42079         include <bp-checks.h>.
42080         (__libc_pread64): Don't use CHECK_N.
42081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
42082         include <bp-checks.h>.
42083         (__libc_pwrite): Don't use CHECK_N.
42084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
42085         include <bp-checks.h>.
42086         (__libc_pwrite64): Don't use CHECK_N.
42087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
42088         <bp-checks.h>.
42089         (__libc_pread): Don't use CHECK_N.
42090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
42091         include <bp-checks.h>.
42092         (__libc_pread64): Don't use CHECK_N.
42093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
42094         include <bp-checks.h>.
42095         (__libc_pwrite): Don't use CHECK_N.
42096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
42097         include <bp-checks.h>.
42098         (__libc_pwrite64): Don't use CHECK_N.
42099         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
42100         (do_pread): Don't use CHECK_N.
42101         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
42102         (do_pread64): Don't use CHECK_N.
42103         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
42104         (do_pwrite): Don't use CHECK_N.
42105         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
42106         (do_pwrite64): Don't use CHECK_N.
42107         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
42108         (__libc_readv): Don't use CHECK_N.
42109         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
42110         (semop): Don't use CHECK_N.
42111         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
42112         <bp-checks.h>.
42113         (semtimedop): Don't use CHECK_N.
42114         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
42115         (__libc_pread): Don't use CHECK_N.
42116         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
42117         <bp-checks.h>.
42118         (__libc_pread64): Don't use CHECK_N.
42119         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
42120         <bp-checks.h>.
42121         (__libc_pwrite): Don't use CHECK_N.
42122         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
42123         <bp-checks.h>.
42124         (__libc_pwrite64): Don't use CHECK_N.
42125         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
42126         <bp-checks.h>.
42127         (__libc_msgrcv): Don't use CHECK_N.
42128         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
42129         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
42130         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
42131         (__libc_writev): Don't use CHECK_N.
42133 2013-02-08  Roland McGrath  <roland@hack.frob.com>
42135         * string/strcpy.c: Removed unused variable.
42137         * Makeconfig (+sysdep-includes): Define with := rather than =.
42138         Use an existing include/ subdir of each sysdeps dir before it.
42140 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
42142         * nscd/connection.c (register_traced_file): Comment function.
42143         [HAVE_INOTIFY] (union __inev): Define.
42144         [HAVE_INOTIFY] (inotify_check_files): New function.
42145         [HAVE_INOTIFY] (clear_db_cache): Likewise.
42146         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
42147         clear_db_cache.
42148         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
42150 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
42152         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
42153         loaded if not already and that a failure is permanent.
42155 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
42157         [BZ #15006]
42158         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
42159         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
42161 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
42163         [BZ #13550]
42164         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
42165         (CHECK_1_NULL_OK): Likewise.
42166         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
42167         (__fxstat): Do not use CHECK_1.
42168         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
42169         <bp-checks.h>.
42170         (___fxstat64): Do not use CHECK_1.
42171         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
42172         <bp-checks.h>.
42173         (__fxstatat): Do not use CHECK_1.
42174         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
42175         <bp-checks.h>.
42176         (__fxstatat64): Do not use CHECK_1.
42177         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
42178         <bp-checks.h>.
42179         (__fxstat): Do not use CHECK_1.
42180         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
42181         <bp-checks.h>.
42182         (__fxstatat): Do not use CHECK_1.
42183         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
42184         <bp-checks.h>.
42185         (__getresgid): Do not use CHECK_1.
42186         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
42187         <bp-checks.h>.
42188         (__getresuid): Do not use CHECK_1.
42189         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
42190         <bp-checks.h>.
42191         (__lxstat): Do not use CHECK_1.
42192         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
42193         <bp-checks.h>.
42194         (__old_msgctl): Do not use CHECK_1.
42195         (__new_msgctl): Likewise.
42196         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
42197         <bp-checks.h>.
42198         (__new_setrlimit): Do not use CHECK_1.
42199         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
42200         <bp-checks.h>.
42201         (__old_shmctl): Do not use CHECK_1.
42202         (__new_shmctl): Likewise.
42203         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
42204         <bp-checks.h>.
42205         (__xstat): Do not use CHECK_1.
42206         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
42207         (__lxstat): Do not use CHECK_1.
42208         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
42209         <bp-checks.h>.
42210         (___lxstat64): Do not use CHECK_1.
42211         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
42212         (__old_msgctl): Do not use CHECK_1.
42213         (__new_msgctl): Likewise.
42214         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
42215         <bp-checks.h>.
42216         (__gettimeofday): Do not use CHECK_1.
42217         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
42218         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
42219         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
42220         <bp-checks.h>.
42221         (__gettimeofday): Do not use CHECK_1.
42222         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
42223         (__old_shmctl): Do not use CHECK_1_NULL_OK.
42224         (__new_shmctl): Do not use CHECK_1.
42225         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
42226         <bp-checks.h>.
42227         (do_sigtimedwait): Do not use CHECK_1.
42228         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
42229         <bp-checks.h>.
42230         (do_sigwaitinfo): Do not use CHECK_1.
42231         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
42232         <bp-checks.h>.
42233         (msgctl): Do not use CHECK_1.
42234         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
42235         <bp-checks.h>.
42236         (shmctl): Do not use CHECK_1.
42237         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
42238         (ustat): Do not use CHECK_1.
42239         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
42240         <bp-checks.h>.
42241         (__fxstat): Do not use CHECK_1.
42242         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
42243         <bp-checks.h>.
42244         (__fxstatat): Do not use CHECK_1.
42245         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
42246         <bp-checks.h>.
42247         (__lxstat): Do not use CHECK_1.
42248         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
42249         <bp-checks.h>.
42250         (__xstat): Do not use CHECK_1.
42251         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
42252         (__xstat): Do not use CHECK_1.
42253         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
42254         (___xstat64): Do not use CHECK_1.
42256         [BZ #13550]
42257         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
42258         definitions.
42259         (CHECK_BOUNDS_HIGH): Likewise.
42260         * string/strcpy.c: Do not include <bp-checks.h>.
42261         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
42263 2013-02-07  Roland McGrath  <roland@hack.frob.com>
42265         * nscd/nscd-client.h (__nscd_drop_map_ref):
42266         Add __attribute__ ((unused)).
42267         * nis/nss-nisplus.h (niserr2nss): Likewise.
42269         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
42270         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
42272         * csu/libc-tls.c (init_static_tls, init_slotinfo):
42273         Remove inline keyword.
42274         * include/rounding-mode.h (round_away): Likewise.
42275         * libio/wfileops.c (adjust_wide_data): Likewise.
42276         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
42277         (__m128i_strloadu_tolower): Likewise.
42278         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
42279         (__m128i_strloadu_tolower): Likewise.
42280         * time/mktime.c (ydhms_diff): Likewise.
42281         * locale/elem-hash.h (elem_hash): Likewise.
42282         * locale/setlocale.c (setdata): Likewise.
42283         * posix/regex_internal.h (re_string_char_size_at): Likewise.
42284         (re_string_wchar_at): Likewise.
42285         (bitset_not, bitset_merge, bitset_mask): Likewise.
42286         [!(__GNUC__ > 3)] (inline): Remove macro.
42287         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
42288         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
42289         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
42290         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
42291         * string/memcmp.c (memcmp_bytes): Likewise.
42292         * locale/programs/locarchive.c (compute_hashval): Likewise.
42293         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
42294         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
42295         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
42296         * nss/getent.c (print_rpc, print_protocols): Likewise.
42297         (print_passwd, print_group, print_aliases): Likewise.
42298         * nis/nss-nisplus.h (niserr2nss): Likewise.
42299         * nscd/connections.c (restart_p): Likewise.
42300         Change return type to bool.
42302 2013-02-05  Roland McGrath  <roland@hack.frob.com>
42304         * Makeconfig (all-Depend-files): Add existing
42305         $(sorted-subdirs:=/Depend) files.
42306         (all-subdirs): Remove nss.
42307         * sysdeps/unix/inet/Subdirs: Add it here instead.
42308         * hesiod/Depend: New file.
42310         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
42311         instead of calling alloca.
42313         * io/lseek.c (__lseek): Rename to __libc_lseek.
42314         Define __lseek as an alias.
42316         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
42318 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
42320         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
42321         else clause and remove check for non-standard endianness.
42323 2013-02-04  David S. Miller  <davem@davemloft.net>
42325         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42327 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
42329         [BZ #13550]
42330         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
42331         (__ubp_memchr): Remove prototype.
42332         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
42333         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
42334         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
42335         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
42336         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
42337         Remove alias.
42338         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
42339         (__ubp_memchr): Likewise.
42340         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
42341         (__ubp_memchr): Likewise.
42342         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
42343         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
42344         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
42345         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
42346         CHECK_STRING.
42347         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
42348         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
42349         (__getcwd): Do not use CHECK_STRING.
42350         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
42351         <bp-checks.h>.
42352         (__real_chown): Do not use CHECK_STRING.
42353         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
42354         <bp-checks.h>.
42355         (fchownat): Do not use CHECK_STRING.
42356         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
42357         CHECK_STRING.
42358         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
42359         <bp-checks.h>.
42360         (__lchown): Do not use CHECK_STRING.
42361         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
42362         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
42363         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
42364         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
42365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
42366         include <bp-checks.h>.
42367         (truncate64): Do not use CHECK_STRING.
42368         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
42369         <bp-checks.h>.
42370         (__real_chown): Do not use CHECK_STRING.
42371         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
42372         <bp-checks.h>.
42373         (__lchown): Do not use CHECK_STRING.
42374         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
42375         <bp-checks.h>.
42376         (__chown): Do not use CHECK_STRING.
42377         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
42378         <bp-checks.h>.
42379         (truncate64): Do not use CHECK_STRING.
42380         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
42381         Likewise.
42382         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
42383         (__xmknod): Do not use CHECK_STRING.
42384         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
42385         <bp-checks.h>.
42386         (__xmknodat): Do not use CHECK_STRING.
42387         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
42388         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
42390 2013-02-04  Andreas Schwab  <schwab@suse.de>
42392         [BZ #14142]
42393         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
42394         * include/netdb.h: Likewise for h_errno.
42395         * elf/tst-stackguard1.c: Include <tls.h>.
42397 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
42399         * elf/link.h (struct link_map): Extend the l_addr comment.
42400         * include/link.h (struct link_map): Likewise.
42402 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
42404         [BZ #13550]
42405         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
42406         (BOUNDED_1): Remove macro.
42407         * debug/backtrace.c: Don't include <bp-checks.h>.
42408         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
42409         (__backtrace): Likewise.
42410         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
42411         <bp-checks.h>.
42412         (__backtrace): Don't use BOUNDED_1.
42413         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
42414         <bp-checks.h>.
42415         (__backtrace): Don't use BOUNDED_1.
42416         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
42417         (__backtrace): Don't use BOUNDED_1.
42418         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
42419         (shmat): Don't use BOUNDED_N.
42421 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
42423         [BZ #13550]
42424         * sysdeps/generic/bp-start.h: Remove file.
42425         * csu/libc-start.c: Don't include <bp-start.h>.
42426         (LIBC_START_MAIN): Set up __environ directly instead of using
42427         INIT_ARGV_and_ENVIRON.
42428         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
42429         <bp-start.h>.
42431         [BZ #13550]
42432         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
42433         definitions.
42434         (CHECK_FCNTL): Likewise.
42435         (CHECK_N_PAGES): Likewise.
42437         [BZ #13550]
42438         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
42439         definitions.
42440         (CHECK_SIGSET_NULL_OK): Likewise.
42441         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
42442         <bp-checks.h>.
42443         (sigpending): Don't use CHECK_SIGSET.
42444         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
42445         <bp-checks.h>.
42446         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
42447         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
42448         <bp-checks.h>.
42449         (do_sigsuspend): Don't use CHECK_SIGSET.
42450         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
42451         use CHECK_SIGSET.
42452         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
42453         (do_sigwait): Don't use CHECK_SIGSET.
42454         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
42455         use CHECK_SIGSET.
42456         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
42457         include <bp-checks.h>.
42458         (sigpending): Don't use CHECK_SIGSET.
42459         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
42460         include <bp-checks.h>.
42461         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
42462         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
42463         <bp-checks.h>.
42464         (sigpending): Don't use CHECK_SIGSET.
42465         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
42466         <bp-checks.h>.
42467         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
42469         [BZ #13550]
42470         * sysdeps/generic/bp-semctl.h: Remove file.
42471         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
42472         <bp-checks.h> and <bp-semctl.h>.
42473         (__old_semctl): Don't use CHECK_SEMCTL.
42474         (__new_semctl): Likewise.
42475         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
42476         and <bp-semctl.h>.
42477         (__old_semctl): Don't use CHECK_SEMCTL.
42478         (__new_semctl): Likewise.
42479         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
42480         <bp-checks.h> and <bp-semctl.h>.
42481         (__old_semctl): Don't use CHECK_SEMCTL.
42482         (__new_semctl): Likewise.
42483         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
42484         <bp-checks.h> and <bp-semctl.h>.
42485         (semctl): Don't use CHECK_SEMCTL.
42487         [BZ #13550]
42488         * Makerules (elide-bp-thunks): Remove variable.
42489         (elide-routines.oS): Don't use $(elide-bp-thunks).
42490         (elide-routines.os): Likewise.
42491         (elide-routines.o): Likewise.
42492         (elide-routines.op): Likewise.
42493         (elide-routines.og): Likewise.
42494         (objects): Don't use $(bp-thunks).
42495         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
42496         include.
42497         (common-generated): Do not add s-proto-bp.d.
42498         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
42499         (int): Likewise.
42500         (typ): Likewise.
42501         Do not generate makefile rules for bounded-pointer thunks.
42502         * sysdeps/generic/bp-thunks.h: Remove file.
42503         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
42504         * sysdeps/unix/s-proto-bp.S: Likewise.
42506         [BZ #15062]
42507         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
42508         parts of result separately when argument is not close to line from
42509         -i to i and one part of argument is small.
42510         * math/k_casinhf.c (__kernel_casinhf): Likewise.
42511         * math/k_casinhl.c (__kernel_casinhl): Likewise.
42512         * math/libm-test.inc (cacos_test): Add more tests.
42513         (casin_test): Likewise.
42514         (casinh_test): Likewise.
42515         * sysdeps/i386/fpu/libm-test-ulps: Update.
42516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42518 2013-01-31  David S. Miller  <davem@davemloft.net>
42520         * po/de.po: Update from translation team.
42522 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
42524         * time/tzfile.c: Include stdint.h for SIZE_MAX.
42526 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
42528         * configure.in (_AC_PROG_CC_C89): New definition.
42529         * configure: Regenerate.
42531         * configure.in (AC_PROG_CPP): New definition.
42532         * configure: Regenerate.
42534 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
42536         * debug/tst-backtrace.h: New file.
42537         * debug/tst-backtrace2.c: Include tst-backtrace.h.
42538         (ret): Remove variable.
42539         (x): Likewise.
42540         (FAIL): Remove macro.
42541         (NO_INLINE): Likewise.
42542         (fn1): Use match function instead of strstr.
42543         * debug/tst-backtrace3.c: Include tst-backtrace.h.
42544         (ret): Remove variable.
42545         (x): Likewise.
42546         (FAIL): Remove macro.
42547         (NO_INLINE): Likewise.
42548         (fn): Use match function instead of strstr.
42549         * debug/tst-backtrace4.c: Include tst-backtrace.h.
42550         (ret): Remove variable.
42551         (x): Likewise.
42552         (FAIL): Remove macro.
42553         (NO_INLINE): Likewise.
42554         (handle_signal): Use match function instead of strstr.
42555         * debug/tst-backtrace5.c: Include tst-backtrace.h.
42556         (ret): Remove variable.
42557         (x): Likewise.
42558         (FAIL): Remove macro.
42559         (NO_INLINE): Likewise.
42560         (handle_signal): Use match function instead of strstr.
42562 2013-01-23  Roland McGrath  <roland@hack.frob.com>
42564         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
42566 2013-01-23  David S. Miller  <davem@davemloft.net>
42568         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
42569         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
42570         argument of CAS if possible.
42571         * sysdeps/sparc/sparc64/bits/atomic.h
42572         (__arch_compare_and_exchange_val_32_acq): Likewise.
42573         (__arch_compare_and_exchange_val_64_acq): Likewise.
42575 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
42577         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
42578         * sysdeps/posix/ulimit.c: ... this.
42579         Include <limits.h>.
42580         * sysdeps/unix/bsd/ulimit.c: Remove file.
42582 2013-01-23  Adam Conrad  <adconrad@0c3.net>
42584         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
42585         (LDFLAGS-tst-array5): Likewise.
42587 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
42589         [BZ #15036]
42590         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
42591         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
42592         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
42593         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
42595 2013-01-21  David S. Miller  <davem@davemloft.net>
42597         * sysdeps/sparc/backtrace.c: New file.
42598         * sysdeps/sparc/sparc32/backtrace.h: New file.
42599         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
42600         * sysdeps/sparc/sparc64/backtrace.h: New file.
42601         * sysdeps/sparc/sparc64/backtrace.c: Delete.
42602         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
42603         -funwind-tables.
42605 2013-01-21  Andreas Schwab  <schwab@suse.de>
42607         [BZ #15020]
42608         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
42609         closed its stdout.
42611 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
42613         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
42614         "mpa2.h".
42615         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
42617 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
42618             Mark Mitchell  <mark@codesourcery.com>
42619             Tom de Vries  <tom@codesourcery.com>
42620             Paul Pluzhnikov  <ppluzhnikov@google.com>
42622         * debug/tst-backtrace2.c: New file.
42623         * debug/tst-backtrace3.c: Likewise.
42624         * debug/tst-backtrace4.c: Likewise.
42625         * debug/tst-backtrace5.c: Likewise.
42626         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
42627         (CFLAGS-tst-backtrace3.c): Likewise.
42628         (CFLAGS-tst-backtrace4.c): Likewise.
42629         (CFLAGS-tst-backtrace5.c): Likewise.
42630         (LDFLAGS-tst-backtrace2): Likewise.
42631         (LDFLAGS-tst-backtrace3): Likewise.
42632         (LDFLAGS-tst-backtrace4): Likewise.
42633         (LDFLAGS-tst-backtrace5): Likewise.
42634         (tests): Add new tests tst-backtrace2, tst-backtrace3,
42635         tst-backtrace4 and tst-backtrace5.
42637 2013-01-18  Anton Blanchard  <anton@samba.org>
42638             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42640         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
42641         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
42642         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
42643         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
42644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
42645         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
42646         "+r" and remove output regs list as redundant.  Add explicit inline
42647         asm to specify register of return val to work around compiler codegen
42648         bug.  Remove (int) cast on return value.  Add return type parameter to
42649         use in macro so that this macro does not truncate return value for
42650         64-bit values.
42651         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
42652         pass to INTERNAL_VSYSCALL_NCS.
42653         (INLINE_VSYSCALL): Add 'long int' as return type to
42654         INTERNAL_VSYSCALL_NCS macro invocation.
42655         (INTERNAL_VSYSCALL): Add 'long int' as return type to
42656         INTERNAL_VSYSCALL_NCS macro invocation.
42657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42659 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
42661         [BZ #14496]
42662         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
42663         Fix application of SIMD FP exception mask.
42665         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
42666         mp_no from a power of two.
42667         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
42668         __mpexp_twomm1.  Use __pow_mp.
42670         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
42671         multiplication.
42673 2013-01-17  David S. Miller  <davem@davemloft.net>
42675         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42677 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
42679         [BZ #15023]
42680         * include/complex.h: Condition contents on [!_COMPLEX_H].
42681         (__kernel_casinhf): New prototype.
42682         (__kernel_casinh): Likewise.
42683         (__kernel_casinhl): Likewise.
42684         * math/Makefile (libm_calls): Add k_casinh.
42685         * math/k_casinh.c: New file.
42686         * math/k_casinhf.c: Likewise.
42687         * math/k_casinhl.c: Likewise.
42688         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
42689         finite nonzero arguments.
42690         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
42691         finite nonzero arguments.
42692         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
42693         finite nonzero arguments.
42694         * math/s_casinh.c: Do not include <float.h>.
42695         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
42696         * math/s_casinhf.c: Do not include <float.h>.
42697         (__casinhf): Move code for finite nonzero arguments to
42698         k_casinhf.c.
42699         * math/s_casinhl.c: Do not include <float.h>.
42700         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
42701         redefine.
42702         (__casinhl): Move code for finite nonzero arguments to
42703         k_casinhl.c.
42704         * math/libm-test.inc (cacos_test): Add more tests.
42705         * sysdeps/i386/fpu/libm-test-ulps: Update.
42706         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42708 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
42710         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
42711         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
42712         [!HAVE_MREMAP]: Remove [defined linux] case.
42713         * malloc/arena.c: Do not include <malloc-sysdep.h>.
42715 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
42717         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
42719 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
42721         * elf/elf.h (R_386_SIZE32): New relocation.
42722         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
42723         R_386_SIZE32.
42724         (elf_machine_rela): Likewise.
42725         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
42726         R_X86_64_SIZE64 and R_X86_64_SIZE32.
42728 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
42730         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
42731         (FP_FAST_FMA): Do not define.
42732         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
42733         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
42734         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
42735         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
42736         !_SOFT_FLOAT]: Likewise.
42737         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
42738         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
42739         value.
42740         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
42741         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
42742         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
42743         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
42744         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
42745         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
42746         file.
42748 2013-01-16  Andreas Schwab  <schwab@suse.de>
42750         [BZ #14327]
42751         * include/stdlib.h (__mktemp): Add declaration.
42752         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
42753         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
42755 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42757         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
42758         definitions.
42759         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
42760         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
42761         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
42762         definitions here.
42763         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
42764         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
42765         definitions.
42766         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
42767         and ONE.
42768         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
42769         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
42770         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
42771         definitions.
42772         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
42773         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
42774         definitions.
42775         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
42777         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
42779 2013-01-15  David S. Miller  <davem@davemloft.net>
42781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
42782         trunc{,f} to libm-sysdep_routes.
42783         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
42784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
42785         file.
42786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
42787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
42788         file.
42789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
42790         file.
42791         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
42792         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
42793         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
42794         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
42795         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
42796         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
42797         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
42798         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
42800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
42801         nearbyint{,f} to libm-sysdep_routes.
42802         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
42803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
42804         New file.
42805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
42806         file.
42807         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
42808         New file.
42809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
42810         file.
42811         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
42812         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
42813         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
42814         file.
42815         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
42816         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
42817         file.
42818         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
42819         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
42820         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
42822         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
42823         libc_feholdexcept and libc_fesetenv.
42825 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
42827         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
42829 2013-01-14  David S. Miller  <davem@davemloft.net>
42831         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
42832         (SPARC_ASM_VIS2_IFUNC): Likewise.
42833         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
42834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
42835         use of 'siam' instruction.
42836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
42837         Likewise.
42838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
42839         Likewise.
42840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
42841         Likewise.
42842         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
42843         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
42844         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
42845         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
42846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
42847         file.
42848         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
42849         file.
42850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
42851         file.
42852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
42853         file.
42854         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
42855         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
42856         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
42857         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
42858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
42859         new VIS2 routines.
42860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
42861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
42862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
42863         Likewise.
42864         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
42865         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
42866         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
42867         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
42868         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
42869         routines to libm-sysdep_routines.
42870         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
42872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
42873         fdim/fdimf to libm-sysdep_routines.
42874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
42875         file.
42876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
42877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
42878         file.
42879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
42880         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
42881         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
42882         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
42883         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
42884         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
42885         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
42887 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
42889         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
42890         to optimize copies.
42892         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
42893         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
42894         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
42896         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
42897         local variable MPTWO.
42898         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
42899         Likewise.
42901 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
42903         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
42904         GLOB_NOESCAPE.
42906 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
42908         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
42910 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
42912         * manual/pattern.texi (glob_t): Document gl_flags.
42913         (glob64_t): Likewise.
42915 2013-01-11  David S. Miller  <davem@davemloft.net>
42917         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
42918         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
42919         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
42920         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
42921         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
42922         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
42923         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
42924         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
42925         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
42926         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
42927         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
42928         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
42929         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
42931         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
42932         sparc V9 rather than using V8 code.
42933         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
42934         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
42936         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
42937         Move to...
42938         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
42939         Here.
42941 2013-01-11  Roland McGrath  <roland@hack.frob.com>
42943         [BZ #14941]
42944         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
42945         not in the main loop.
42946         * configure: Regenerated.
42948 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
42950         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
42951         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
42952         to just #else.
42953         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
42954         [!__GLIBC_HAVE_LONG_LONG] case.
42955         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
42956         condition to just #else.
42957         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
42958         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
42959         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
42960         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
42961         unconditional.
42962         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
42963         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
42964         #elif condition to just #else.
42965         * sysdeps/unix/sysv/linux/sys/sysmacros.h
42966         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
42967         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
42968         #elif condition to just #else.
42970 2013-01-11  Steve Ellcey  <sellcey@mips.com>
42972         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
42973         (EF_MIPS_ARCH_64): Fix value.
42974         (EF_MIPS_ARCH_32R2): New.
42975         (EF_MIPS_ARCH_64R2): New.
42977 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
42979         * Makeconfig (+link-pie-before-libc): New.
42980         (+link-pie-after-libc): Likewise.
42981         (+link-pie-tests): Likewise.
42982         (+link-pie): Rewritten.
42983         (link-before-libc): Remove $(config-LDFLAGS).
42984         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
42985         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
42986         (config-LDFLAGS): Renamed to ...
42987         (rtld-LDFLAGS): This.
42988         (rtld-tests-LDFLAGS): New macro.
42989         (link-libc-rpath-link): Likewise.
42990         (link-libc-tests-rpath-link): Likewise.
42991         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
42992         (link-libc): Prepand $(link-libc-rpath-link).
42993         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
42994         (test-program-prefix): New macro.
42995         (test-via-rtld-prefix): Likewise.
42996         (test-program-cmd): Likewise.
42997         (host-test-program-cmd): Likewise.
42998         * Makefile ($(common-objpfx)testrun.sh): Replace
42999         $(run-program-prefix) with $(test-program-prefix).
43000         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
43001         $(rtld-LDFLAGS).
43002         ($(common-objpfx)shlib.lds): Likewise.
43003         (build-module-helper): Likewise.
43004         ($(common-objpfx)format.lds): Likewise.
43005         * Rules (binaries-pie-tests): New.
43006         (binaries-pie-notests): Likewise.
43007         (binaries-pie): Rewritten.
43008         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
43009         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
43010         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
43011         (make-test-out): Replace $(host-built-program-cmd) with
43012         $(host-test-program-cmd).
43013         * config.make.in (build-hardcoded-path-in-tests): New variable.
43014         * configure.in (--enable-hardcoded-path-in-tests): New configure
43015         option.
43016         (hardcoded_path_in_tests): New AC_SUBST.
43017         * configure: Regenerated.
43018         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
43019         $(built-program-cmd) with $(test-program-cmd).
43020         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
43021         (test_program_cmd): This.
43022         * elf/Makefile ($(objpfx)order.out): Run test with
43023         $(test-program-prefix).
43024         ($(objpfx)order2.out): Likewise.
43025         ($(objpfx)tst-initorder.out): Likewise.
43026         ($(objpfx)tst-initorder2.out): Likewise.
43027         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
43028         $(test-program-cmd).
43029         ($(objpfx)tst-array1-static.out): Likewise.
43030         ($(objpfx)tst-array2.out): Likewise.
43031         ($(objpfx)tst-array3.out): Likewise.
43032         ($(objpfx)tst-array4.out): Likewise.
43033         ($(objpfx)tst-array5.out): Likewise.
43034         ($(objpfx)tst-array5-static.out): Likewise.
43035         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
43036         $(test-program-cmd).
43037         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
43038         $(run-program-prefix) with $(test-program-prefix).
43039         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
43040         (test_program_prefix): This.
43041         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
43042         $(run-program-prefix) with $(test-program-prefix).
43043         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
43044         (test_program_prefix): This.
43045         * iconvdata/tst-tables.sh: Likewise.
43046         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
43047         $(run-program-prefix) with $(test-program-prefix).
43048         ($(objpfx)tst-translit.out): Likewise.
43049         ($(objpfx)tst-gettext2.out): Likewise.
43050         ($(objpfx)tst-gettext4.out): Likewise.
43051         ($(objpfx)tst-gettext6.out): Likewise.
43052         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
43053         (test_program_prefix): This.
43054         * intl/tst-gettext2.sh: Likewise.
43055         * intl/tst-gettext4.sh  Likewise.
43056         * intl/tst-gettext6.sh: Likewise.
43057         * intl/tst-translit.sh: Likewise.
43058         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
43059         with $(test-program-cmd).
43060         * libio/Makefile ($(objpfx)test-freopen.out): Replace
43061         $(run-program-prefix) with $(test-program-prefix).
43062         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
43063         (test_program_prefix): This.
43064         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
43065         $(run-program-prefix) with $(test-program-prefix).
43066         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
43067         (test_program_prefix): This.
43068         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
43069         * posix/Makefile ($(objpfx)globtest.out): Replace
43070         $(run-via-rtld-prefix) and $(test-wrapper) with
43071         $(test-program-prefix) and $(test-via-rtld-prefix).
43072         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
43073         $(test-program-prefix).
43074         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
43075         $(host-test-program-cmd).
43076         (tst-spawn-ARGS): Likewise.
43077         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
43078         $(test-program-prefix).
43079         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
43080         (test_via_rtld_prefix): This.
43081         (test_wrapper): Renamed to ...
43082         (test_program_prefix): This.
43083         (run_program_prefix): Replaced by test_program_prefix.
43084         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
43085         (test_program_prefix): This.
43086         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
43087         with $(host-test-program-cmd).
43088         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
43089         $(run-program-prefix) with $(test-program-prefix).
43090         ($(objpfx)tst-printf.out): Likewise.
43091         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
43092         $(test-program-cmd).
43093         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
43094         (test_program_prefix): This.
43095         * stdio-common/tst-unbputc.sh: Likewise.
43096         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
43097         $(run-program-prefix) with $(test-program-prefix).
43098         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
43099         (test_program_prefix): This.
43100         * string/Makefile ($(objpfx)tst-svc.out):  Replace
43101         $(built-program-cmd) with $(test-program-cmd).
43103 2013-01-11  Andreas Jaeger  <aj@suse.de>
43105         [BZ #15003]
43106         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
43107         value. Sync with Linux 3.7.
43109 2013-01-10  David S. Miller  <davem@davemloft.net>
43111         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
43112         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
43113         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
43115 2013-01-10  Roland McGrath  <roland@hack.frob.com>
43117         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
43118         never set.
43119         * configure: Regenerated.
43121 2013-01-10  David S. Miller  <davem@davemloft.net>
43123         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
43124         sparc V9 rather than using V8 code.
43125         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
43126         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
43128 2013-01-10  Roland McGrath  <roland@hack.frob.com>
43130         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
43131         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
43132         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
43133         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
43134         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
43135         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
43136         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
43137         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
43138         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
43139         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
43140         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
43141         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
43142         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
43143         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
43144         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
43145         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
43146         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
43147         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
43148         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
43149         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
43150         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
43151         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
43152         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
43153         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
43154         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
43155         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
43156         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
43158 2013-01-10  David S. Miller  <davem@davemloft.net>
43160         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43162 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
43164         * posix/Makefile (tests-static): New variable.
43165         (tests): Add $(tests-static).
43166         (tst-exec-static-ARGS): New variable.
43167         (tst-spawn-static-ARGS): Likewise.
43168         * posix/tst-exec-static.c: New file.
43169         * posix/tst-spawn-static.c: Likewise.
43170         * posix/tst-exec.c: Support run directly.
43171         * posix/tst-spawn.c: Likewise.
43173 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
43175         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
43176         long.
43177         * math/bits/mathcalls.h (llrint): Likewise.
43178         (llround): Likewise.
43179         * stdlib/stdlib.h (struct drand48_data): Likewise.
43180         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
43181         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
43182         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
43183         Likewise.
43184         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
43185         Likewise.
43186         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
43187         (elf_greg_t): Likewise.
43188         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
43189         (__jmp_buf): Likewise.
43190         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
43191         definitions.
43192         (llrint): Likewise, for all definitions.
43193         (llrintl): Likewise.
43195         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
43196         Remove [__GNUC__] condition.
43197         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
43198         condition to just [__USE_ISOC99].
43199         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
43201 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
43203         [BZ #14200]
43204         * sysdeps/unix/sysv/linux/x86/bits/environments.h
43205         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
43206         defined.
43207         (_POSIX_V6_ILP32_OFF32): Likewise.
43208         (_XBS5_ILP32_OFF32): Likewise.
43209         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
43210         (__ILP32_OFFBIG_LDFLAGS): Likewise.
43212 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43214         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
43216         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
43217         doubles __mpexp_twomm1.  Adjust usage.
43218         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
43219         Remove.
43221 2013-01-10  Andreas Schwab  <schwab@suse.de>
43223         [BZ #14964]
43224         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
43225         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
43227 2013-01-09  David S. Miller  <davem@davemloft.net>
43229         [BZ #15003]
43230         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
43231         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
43232         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
43233         (TCP_FASTOPEN): Define.
43234         (tcp_repair_opt): New structure.
43235         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
43236         enum values.
43237         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
43238         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
43239         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
43240         (tcp_cookie_transactions): New structure.
43242 2013-01-09  Anton Blanchard  <anton@samba.org>
43244         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
43245         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
43246         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
43247         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
43249 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
43251         * include/features.h (__USE_ANSI): Remove.
43253 2013-01-09  Roland McGrath  <roland@hack.frob.com>
43255         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
43257         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
43259 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
43261         * sysdeps/s390/fpu/libm-test-ulps: Update.
43263         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43265         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
43266         (__acr): Likewise.
43267         (__cpy): Likewise.
43268         (norm): Likewise.
43269         (denorm): Likewise.
43270         (__mp_dbl): Likewise.
43271         (__dbl_mp): Likewise.
43272         (add_magnitudes): Likewise.
43273         (sub_magnitudes): Likewise.
43274         (__add): Likewise.
43275         (__sub): Likewise.
43276         (__mul): Likewise.
43277         (__inv): Likewise.
43278         (__dvd): Likewise.
43279         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
43280         (__acr): Likewise.
43281         (__cpy): Likewise.
43282         (norm): Likewise.
43283         (denorm): Likewise.
43284         (__mp_dbl): Likewise.
43285         (__dbl_mp): Likewise.
43286         (add_magnitudes): Likewise.
43287         (sub_magnitudes): Likewise.
43288         (__add): Likewise.
43289         (__sub): Likewise.
43290         (__mul): Likewise.
43291         (__inv): Likewise.
43292         (__dvd): Likewise.
43293         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
43294         (__acr): Likewise.
43295         (__cpy): Likewise.
43296         (norm): Likewise.
43297         (denorm): Likewise.
43298         (__mp_dbl): Likewise.
43299         (__dbl_mp): Likewise.
43300         (add_magnitudes): Likewise.
43301         (sub_magnitudes): Likewise.
43302         (__add): Likewise.
43303         (__sub): Likewise.
43304         (__mul): Likewise.
43305         (__inv): Likewise.
43306         (__dvd): Likewise.
43308 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
43310         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
43311         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
43312         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
43313         2 && __USE_EXTERN_INLINES]: Likewise.
43315 2013-01-08  Andreas Jaeger  <aj@suse.de>
43317         [BZ# 14985]
43318         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
43319         Remove.
43320         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
43321         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
43323 2013-01-07  Anton Blanchard  <anton@samba.org>
43325         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
43326         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
43327         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
43328         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
43329         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
43330         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
43331         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
43332         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
43333         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
43334         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
43335         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43336         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43337         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
43338         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
43339         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
43340         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43341         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43342         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
43343         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
43344         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
43345         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
43346         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
43347         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
43348         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
43349         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
43350         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
43351         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
43352         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
43353         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
43354         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
43355         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
43356         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
43357         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
43358         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
43359         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
43360         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
43361         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
43362         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
43363         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
43364         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
43365         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
43366         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43367         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
43369 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
43371         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
43372         (__MALLOC_PMT): Likewise.
43373         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
43374         [__GNUC__], only on [_LIBC].
43375         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
43376         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
43377         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
43378         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
43379         forward declaration.
43380         (realloc_hook_ini): Likewise.
43381         (memalign_hook_ini): Likewise.
43382         (__libc_memalign): Do not use __MALLOC_PMT in variable
43383         declaration.
43384         (__libc_valloc): Likewise.
43385         (__libc_pvalloc): Likewise.
43386         (__libc_calloc): Likewise.
43387         (__posix_memalign): Likewise.
43389         [BZ #14996]
43390         * math/s_casinh.c: Include <float.h>.
43391         (__casinh): Do not do computation with squaring and square root
43392         for large arguments.
43393         * math/s_casinhf.c: Include <float.h>.
43394         (__casinhf): Do not do computation with squaring and square root
43395         for large arguments.
43396         * math/s_casinhl.c: Include <float.h>.
43397         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
43398         (__casinhl): Do not do computation with squaring and square root
43399         for large arguments.
43400         * math/libm-test.inc (casin_test): Add more tests.
43401         (casinh_test): Likewise.
43402         * sysdeps/i386/fpu/libm-test-ulps: Update.
43403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43405 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
43407         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
43408         (__x86_64_raw_data_cache_size): Likewise.
43409         (__x86_64_data_cache_size_half): Likewise.
43410         (__x86_64_raw_data_cache_size_half): Likewise.
43411         (__x86_64_shared_cache_size): Likewise.
43412         (__x86_64_raw_shared_cache_size): Likewise.
43413         (__x86_64_shared_cache_size_half): Likewise.
43414         (__x86_64_raw_shared_cache_size_half): Likewise.
43415         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
43416         to ...
43417         (__x86_data_cache_size): This.
43418         (__x86_64_raw_data_cache_size): Renamed to ...
43419         (__x86_raw_data_cache_size): This.
43420         (__x86_64_data_cache_size_half): Renamed to ...
43421         (__x86_data_cache_size_half): This.
43422         (__x86_64_raw_data_cache_size_half): Renamed to ...
43423         (__x86_raw_data_cache_size_half): This.
43424         (__x86_64_shared_cache_size): Renamed to ...
43425         (__x86_shared_cache_size): This.
43426         (__x86_64_raw_shared_cache_size): Renamed to ...
43427         (__x86_raw_shared_cache_size): This.
43428         (__x86_64_shared_cache_size_half): Renamed to ...
43429         (__x86_shared_cache_size_half): This.
43430         (__x86_64_raw_shared_cache_size_half): Renamed to ...
43431         (__x86_raw_shared_cache_size_half): This.
43432         * sysdeps/x86_64/memcpy.S: Updated.
43433         * sysdeps/x86_64/memset.S: Likewise.
43434         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
43435         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43436         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43438 2013-01-04  David S. Miller  <davem@davemloft.net>
43440         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43442 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
43444         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
43445         1 to avoid redefinition warning.
43446         (__USE_GNU): Don't define.
43447         (init_signaling_nan): Protoize.
43449         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43451 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43453         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
43454         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
43455         (__cpymn): Likewise.
43456         (norm): Remove commented code.
43457         (denorm): Likewise.
43458         (__mp_dbl): Likewise.
43459         (__inv): Likewise.
43460         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
43461         (__cpymn): Likewise.
43462         (norm): Remove commented code.
43463         (denorm): Likewise.
43464         (__mp_dbl): Likewise.
43465         (__inv): Likewise.
43467         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
43468         mp_no value for 1.0 and 2.0.
43469         (norm): Use RADIXI instead of radixi.d.
43470         (denorm): Likewise.
43471         (__mul): Use 0.0 instead of zero.d.
43472         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
43473         mp_no value for 1.0 and 2.0.
43474         (norm): Use RADIXI instead of radixi.d.
43475         (denorm): Likewise.
43476         (__mul): Use 0.0 instead of zero.d.
43478 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
43480         [BZ #14994]
43481         * math/s_casinh.c (__casinh): Reduce finite argument to first
43482         quadrant then set signs of results at the end.
43483         * math/s_casinhf.c (__casinhf): Likewise.
43484         * math/s_casinhl.c (__casinhl): Likewise.
43485         * math/libm-test.inc (casin_test): Add more tests.
43486         (casinh_test): Likewise.
43487         * sysdeps/i386/fpu/libm-test-ulps: Update.
43488         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43490 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43492         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
43494         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
43496         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
43497         declarations.
43498         (denorm): Likewise.
43499         (__mp_dbl): Likewise.
43500         (__inv): Likewise.
43502         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
43503         and adjust the header comment.
43505         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
43506         variable name from declaration.
43508 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
43510         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43511         Initialize COMMON_CPUID_INDEX_7 element.
43512         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
43513         (CPUID_RTM): Likewise.
43514         (HAS_RTM): Likewise.
43515         (COMMON_CPUID_INDEX_7): New enum.
43517 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
43519         [BZ #14981]
43520         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
43521         size is zero, record memory as freed.
43523 2013-01-03  Andreas Jaeger  <aj@suse.de>
43525         * po/ia.po: Add new Interlingua translation.
43527 2012-01-03  Allan McRae  <allan@archlinux.org>
43529         * locale/programs/localedef.c: Fix description of '--posix' flag.
43531 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
43533         * NEWS: Update dates in second copyright notice.
43534         * README: Update copyright dates in example.
43535         * manual/libc.texinfo: Update copyright dates.
43536         * scripts/test-installation.pl: Update copyright date in --version
43537         output.
43539         * hurd/ctty-input.c: Fix copyright notice formatting.
43540         * hurd/ctty-output.c: Likewise.
43541         * hurd/dtable.c: Likewise.
43542         * hurd/hurd-raise.c: Likewise.
43543         * hurd/hurdprio.c: Likewise.
43544         * hurd/msgportdemux.c: Likewise.
43545         * misc/sys/file.h: Likewise.
43546         * misc/sys/ioctl.h: Likewise.
43547         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
43548         * sysdeps/mach/hurd/chdir.c: Likewise.
43549         * sysdeps/mach/hurd/fchdir.c: Likewise.
43550         * sysdeps/mach/hurd/rename.c: Likewise.
43551         * sysdeps/mach/hurd/rmdir.c: Likewise.
43552         * sysdeps/mach/hurd/seekdir.c: Likewise.
43553         * sysdeps/mach/hurd/setsid.c: Likewise.
43554         * sysdeps/posix/wait3.c: Likewise.
43556         * All files with FSF copyright notices: Update copyright dates
43557         using scripts/update-copyrights.
43558         * intl/plural.c: Regenerated.
43559         * locale/programs/charmap-kw.h: Likewise.
43560         * locale/programs/locfile-kw.h: Likewise.
43562 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43564         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
43565         four values.
43567         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
43568         calculation loop and add branch prediction.
43570         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
43571         check access beyond bounds of m1np.
43573         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
43574         MPTWO.
43575         (__inv): Remove local variable MPTWO to use the global
43576         constant.
43577         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
43578         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
43579         variable MPTWO.
43580         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
43581         MP3HALFS static const.
43583 2013-01-01  David S. Miller  <davem@davemloft.net>
43585         * po/ca.po: Update from translation team.
43587 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
43589         * scripts/update-copyrights: New file.
43590         * Makeconfig: Reformat copyright notice.
43591         * ctype/ctype.h: Likewise.
43592         * debug/swprintf_chk.c: Likewise.
43593         * elf/dl-cache.c: Likewise.
43594         * elf/dl-debug.c: Likewise.
43595         * elf/dl-object.c: Likewise.
43596         * grp/initgroups.c: Likewise.
43597         * hurd/Makefile: Likewise.
43598         * hurd/hurd/signal.h: Likewise.
43599         * hurd/hurdfault.c: Likewise.
43600         * hurd/hurdioctl.c: Likewise.
43601         * hurd/hurdlookup.c: Likewise.
43602         * hurd/intr-msg.c: Likewise.
43603         * iconv/gconv_open.c: Likewise.
43604         * libio/swprintf.c: Likewise.
43605         * locale/lc-ctype.c: Likewise.
43606         * locale/nl_langinfo.c: Likewise.
43607         * mach/Machrules: Likewise.
43608         * mach/Makefile: Likewise.
43609         * malloc/obstack.h: Likewise.
43610         * manual/Makefile: Likewise.
43611         * manual/tsort.awk: Likewise.
43612         * misc/bits/stab.def: Likewise.
43613         * nis/nis_print_group_entry.c: Likewise.
43614         * nis/nis_table.c: Likewise.
43615         * nis/nss_compat/compat-pwd.c: Likewise.
43616         * nis/nss_compat/compat-spwd.c: Likewise.
43617         * po/Makefile: Likewise.
43618         * posix/fnmatch.c: Likewise.
43619         * posix/regex.h: Likewise.
43620         * resolv/Makefile: Likewise.
43621         * resolv/nss_dns/dns-network.c: Likewise.
43622         * resolv/res_hconf.c: Likewise.
43623         * scripts/gen-sorted.awk: Likewise.
43624         * soft-fp/soft-fp.h: Likewise.
43625         * stdio-common/printf.h: Likewise.
43626         * stdlib/monetary.h: Likewise.
43627         * stdlib/random.c: Likewise.
43628         * stdlib/random_r.c: Likewise.
43629         * sysdeps/generic/Makefile: Likewise.
43630         * sysdeps/gnu/Makefile: Likewise.
43631         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43632         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43633         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43634         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43635         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43636         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43637         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43638         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43639         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43640         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43641         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43642         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43643         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43644         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43645         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
43646         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43647         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43648         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43649         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43650         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43651         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43652         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43653         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43654         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
43655         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
43656         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
43657         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
43658         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
43659         * sysdeps/mach/hurd/errnos.awk: Likewise.
43660         * sysdeps/mach/hurd/fork.c: Likewise.
43661         * sysdeps/mach/hurd/getcwd.c: Likewise.
43662         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
43663         * sysdeps/mach/hurd/mmap.c: Likewise.
43664         * sysdeps/mach/hurd/utimes.c: Likewise.
43665         * sysdeps/mach/hurd/xmknod.c: Likewise.
43666         * sysdeps/posix/profil.c: Likewise.
43667         * sysdeps/posix/readdir_r.c: Likewise.
43668         * sysdeps/powerpc/bits/mathdef.h: Likewise.
43669         * sysdeps/powerpc/bits/setjmp.h: Likewise.
43670         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
43671         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
43672         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
43673         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
43674         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
43675         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
43676         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
43677         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
43678         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
43679         * sysdeps/pthread/lio_listio.c: Likewise.
43680         * sysdeps/sparc/dl-procinfo.h: Likewise.
43681         * sysdeps/unix/i386/sysdep.S: Likewise.
43682         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
43683         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
43684         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
43685         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
43686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43687         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
43688         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
43689         * sysdeps/unix/sysv/linux/speed.c: Likewise.
43690         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
43691         * sysdeps/wordsize-32/divdi3.c: Likewise.
43692         * time/sys/time.h: Likewise.
43693         * wcsmbs/Makefile: Likewise.
43695 2013-01-01  David S. Miller  <davem@davemloft.net>
43697         * po/fr.po: Update from translation team.
43699         * catgets/gencat.c: Update copyright year.
43700         * csu/version.c: Likewise.
43701         * debug/catchsegv.sh: Likewise.
43702         * debug/pcprofiledump.c: Likewise.
43703         * debug/xtrace.sh: Likewise.
43704         * elf/ldconfig.c: Likewise.
43705         * elf/ldd.bash.in: Likewise.
43706         * elf/pldd.c: Likewise.
43707         * elf/sotruss.ksh: Likewise.
43708         * elf/sprof.c: Likewise.
43709         * iconv/iconv_prog.c: Likewise.
43710         * iconv/iconvconfig.c: Likewise.
43711         * locale/programs/locale.c: Likewise.
43712         * locale/programs/localedef.c: Likewise.
43713         * login/programs/pt_chown.c: Likewise.
43714         * malloc/memusage.sh: Likewise.
43715         * malloc/memusagestat.c: Likewise.
43716         * malloc/mtrace.pl: Likewise.
43717         * nscd/nscd.c: Likewise.
43718         * nss/getent.c: Likewise.
43719         * nss/makedb.c: Likewise.
43720         * posix/getconf.c: Likewise.
43722 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
43724         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
43725         numbers.
43727 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
43729         * math/bits/mathcalls.h (modf): Use __nonnull.
43731 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
43733         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
43734         (split): Use macro CN instead of the bare value.
43735         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
43736         could be used.
43737         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
43738         instead of the bare value.
43739         (power1): Likewise.
43741 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43743         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
43744         __ATAN_TWOM.
43745         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43747         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
43748         their values.
43749         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
43750         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
43751         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
43752         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
43754 2012-12-28  Andreas Jaeger  <aj@suse.de>
43756         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
43757         values are from Linux 3.7.
43759         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
43760         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
43762 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43764         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
43765         TRUE case.
43767         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
43768         (norm): Likewise.
43769         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
43770         variables with preprocessor constants.
43771         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43772         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43773         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43775 2012-12-27  Bruno Haible  <bruno@clisp.org>
43777         [BZ #14317]
43778         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
43779         only if needed.
43781 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
43783         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
43784         and use variable directly.
43785         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
43787         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
43788         MPONE.
43789         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
43790         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
43791         variable MPONE.
43792         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
43793         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
43794         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
43795         include directive.  Remove local variable MPONE.
43796         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
43797         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
43798         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43800 2012-12-25  David S. Miller  <davem@davemloft.net>
43802         * version.h (RELEASE): Set to "development".
43803         (VERSION): Set to "2.17.90".
43804         * NEWS: Add 2.18 section.
43806 2012-12-21  David S. Miller  <davem@davemloft.net>
43808         * po/hr.po: Update from translation team.
43810 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43812         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
43814 2012-12-19  Steve Ellcey  <sellcey@mips.com>
43816         * NEWS:  Mention new memcpy for MIPS.
43818 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
43820         * manual/contrib.texi (Contributors): Spelling correction.
43822 2012-12-15  David S. Miller  <davem@davemloft.net>
43824         * po/ru.po: Update from translation team.
43826 2012-12-13  David S. Miller  <davem@davemloft.net>
43828         * NEWS: Mention IFUNC testsuite enhancements.
43830         * po/pl.po: Update from translation team.
43831         * po/bg.po: Likewise.
43833         * manual/contrib.texi (Contributors): Update entries for Hongjiu
43834         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
43836 2012-12-11  David S. Miller  <davem@davemloft.net>
43838         * po/sv.po: Update from translation team.
43840         * po/vi.po: Update from translation team.
43842         * po/cs.po: Update from translation team.
43844         * po/de.po: Update from translation team.
43845         * po/eo.po: Likewise.
43846         * po/nl.po: Likewise.
43848 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43850         [BZ #14246]
43851         * manual/argp.texi (Argp Helper Functions): Move node to follow
43852         Argp Parsing State.
43854         [BZ #14872]
43855         * manual/conf.texi (Limits on File System Capacity): Mention if
43856         terminating null is included in the max size.
43858 2012-12-10  Andreas Jaeger  <aj@suse.de>
43860         * po/cs.po: Update from translation team.
43862 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
43864         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
43865         void pointer and cast to uintptr_t.
43866         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
43867         path.
43868         * sysdeps/s390/s390-64/memcpy.S: Likewise.
43869         * sysdeps/s390/s390-64/memset.S: Likewise.
43871 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
43873         [BZ #14833]
43874         * menual/message.texi (Message Translation): Fix typos.
43875         (Helper programs for gettext): Likewise.
43877 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
43879         [BZ #14898]
43880         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
43881         Change to -1.
43883 2012-12-07  David S. Miller  <davem@davemloft.net>
43885         * po/libc.pot: Update.
43887 2012-12-07  Richard Henderson  <rth@redhat.com>
43889         [BZ #10114]
43890         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
43891         normal/normal case to before the switch.
43892         (_FP_DIV): Likewise.
43894 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
43895             Mike Frysinger  <vapier@gentoo.org>
43897         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
43898         check for __NR_fadvise64_64.
43900 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
43902         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
43903         0, not just to plain "0" as a statement.
43904         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
43905         with cw.
43907 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
43909         * NEWS: Use sourceware.org in Bugzilla URL.
43911 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
43913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
43914         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
43916         * stdio-common/tst-put-error.c (do_test): Add newline to the
43917         padded test to ensure flush.
43919 2012-12-05  Jeff Law  <law@redhat.com>
43921         * sunrpc/etc.rpc (fedfs_admin): Add entry.
43923 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
43925         * README: Don't refer to ports add-on as distributed separately.
43926         Mention AArch64 in list of systems supported in the ports add-on.
43928         * LICENSES: Add more non-FSF copyright and license notices.
43930         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
43931         ((unused)).
43933         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
43935         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
43936         10000 as width of padded output.
43938 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
43940         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
43942         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
43943         variable LX with __attribute__ ((unused)).
43944         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
43945         Likewise.
43946         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
43947         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43948         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
43949         with __attribute__ ((unused)).
43951 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
43953         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
43955 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
43957         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
43958         (CFLAGS-nldbl-acos.c): New variable.
43959         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
43960         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
43961         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
43962         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
43963         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
43964         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
43965         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
43966         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
43967         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
43968         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
43969         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
43970         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
43971         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
43972         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
43973         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
43974         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
43975         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
43976         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
43977         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
43978         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
43979         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
43980         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
43981         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
43982         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
43983         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
43984         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
43985         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
43986         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
43987         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
43988         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
43989         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
43990         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
43991         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
43992         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
43993         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
43994         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
43995         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
43996         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
43997         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
43998         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
43999         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
44000         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
44001         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
44002         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
44003         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
44004         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
44005         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
44006         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
44007         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
44008         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
44009         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
44010         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
44011         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
44012         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
44013         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
44014         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
44015         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
44016         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
44017         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
44018         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
44019         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
44020         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
44021         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
44022         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
44023         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
44024         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
44025         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
44026         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
44027         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
44028         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
44029         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
44030         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
44031         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
44032         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
44033         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
44034         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
44035         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
44036         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
44037         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
44038         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
44039         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
44040         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
44041         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
44042         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
44043         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
44044         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
44045         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
44046         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
44047         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
44048         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
44049         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
44050         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
44051         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
44052         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
44053         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
44054         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
44055         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
44057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
44058         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
44060         [BZ #14914]
44061         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
44062         whole low double instead of just low 47 bits when splitting values
44063         into two parts.
44065 2012-12-03  Allan McRae  <allan@archlinux.org>
44067         * manual/stdio.texi (Predefined Printf Handlers): Remove
44068         @hsep and @vsep usage.
44070 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
44072         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
44073         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
44075 2012-12-03  Jeff Law  <law@redhat.com>
44077         * time/sys/time.h (settimeofday): Do not mark TV argument
44078         as __nonnull.
44080 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
44082         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
44083         when currently writing and seek to current position when not.
44084         * libio/Makefile (tests): Remove bug-fclose1.
44085         * libio/bug-fclose1.c: Delete.
44087 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
44089         * manual/arith.texi (feenableexcept): Fix typo.
44090         (fedisableexcept): Likewise.
44092 2012-11-30  Roland McGrath  <roland@hack.frob.com>
44094         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
44095         second, differently-typed declaration, rather than a cast.
44097 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
44099         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
44100         * include/rpc/svc.h: ... here.
44102 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
44104         [BZ #13013]
44105         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
44106         depending n and resplen2 to catch cases where answer
44107         equals answerp2.
44109 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
44111         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
44112         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
44114 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
44116         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
44118 2012-11-29  Roland McGrath  <roland@hack.frob.com>
44120         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
44122 2012-11-28  Jeff Law  <law@redhat.com>
44124         [BZ #13761]
44125         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
44126         dataset_temporary.  Track alloca usage into alloca_used.
44127         If dataset is large allocate and release it via malloc/free.
44129 2012-06-04  Florian Weimer  <fweimer@redhat.com>
44131         [BZ #14197]
44132         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
44134 2012-11-28  David S. Miller  <davem@davemloft.net>
44136         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44138 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
44140         [BZ #14803]
44141         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
44142         of pi/2 rounded to nearest to 64 bits.
44143         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
44144         nearest to 64 bits.
44145         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
44146         bits.
44148 2012-11-28  Jeff Law <law@redhat.com>
44149             Martin Osvald <mosvald@redhat.com>
44151         [BZ #14889]
44152         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
44153         * sunrpc/svc.c: Include time.h.
44154         (__svc_accept_failed): New function.
44155         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
44156         any reason other than EINTR, call __svc_accept_failed.
44157         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
44158         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
44160 2012-11-28  Andreas Schwab  <schwab@suse.de>
44162         * scripts/abilist.awk: Also handle indirect functions in .opd
44163         section.
44165 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
44167         [BZ #13881]
44168         * sysdeps/x86/fpu/powl_helper.c: New file.
44169         * sysdeps/x86/fpu/Makefile: Likewise.
44170         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
44171         (p3): New object.
44172         (__ieee754_powl): Use __powl_helper for finite arguments except
44173         integer exponents below 8.
44174         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
44175         (p3): New object.
44176         (__ieee754_powl): Use __powl_helper for finite arguments except
44177         integer exponents below 8.
44178         * math/libm-test.inc (pow_test): Add more tests and enable some
44179         previously disabled tests.
44180         * sysdeps/i386/fpu/libm-test-ulps: Update.
44181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44183 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44184             Carlos O'Donell  <carlos_odonell@mentor.com>
44186         * nss/makedb.c (is_prime): Assert that input is odd and greater
44187         than 4.  Note that fact in a comment too.
44188         (next_prime): Add 4 to input.
44190 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
44192         [BZ #11741]
44193         * libio/Makefile (tests): Add test case tst-fwrite-error.
44194         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
44195         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
44196         * libio/tst-fwrite-error.c: New test case.
44198 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
44200         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
44201         before casting to void *.
44202         * include/libc-internal.h (__pointer_type): New macro.
44203         (__integer_if_pointer_type_sub): Likewise.
44204         (__integer_if_pointer_type): Likewise.
44205         (cast_to_integer): Likewise.
44206         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
44207         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
44208         before casting to atomic64_t.
44209         (atomic_exchange_acq): Likewise.
44210         (__arch_exchange_and_add_body): Likewise.
44211         (__arch_add_body): Likewise.
44212         (atomic_add_negative): Likewise.
44213         (atomic_add_zero): Likewise.
44215 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
44217         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
44218         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
44219         (add_fdes): Likewise.
44220         (linear_search_fdes): Likewise.
44221         (binary_search_unencoded_fdes): Likewise.
44223 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
44225         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
44227 2012-11-24  Adam Conrad  <adconrad@0c3.net>
44229         * configure.in: Autodetect C++ header directories.
44230         * configure: Regenerated.
44232 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
44234         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
44236 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
44238         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44240 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
44242         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
44243         LDBL_MANT_DIG == 106]: Disable some tests.
44244         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
44245         Likewise.
44246         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
44247         Likewise.
44249         [BZ #14871]
44250         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
44251         input for small inputs.  Return +/- pi/2 for large inputs.
44252         * math/libm-test.inc (atan_test): Add more tests.
44254         * sysdeps/generic/unwind-dw2-fde-glibc.c
44255         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
44256         __attribute__ ((unused)).
44258         [BZ #14645]
44259         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
44260         x * y if x and y are nonzero and z is zero.
44262         [BZ #14811]
44263         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
44264         nonzero exponents with absolute value below 0x1p-117 to +/-
44265         0x1p-117.
44267         [BZ #14869]
44268         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
44269         up arguments below 2**-450, not just those below 2**-500.
44270         * math/libm-test.inc (hypot_test): Add another test.
44272         [BZ #14868]
44273         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
44274         Return a+b for ratio over 2**120, not 2**60.
44275         * math/libm-test.inc (hypot_test): Add another test.
44277         * math/libm-test.inc (clog_test): Use
44278         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
44279         (clog10_test): Likewise.
44281         [BZ #6778]
44282         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
44284 2012-11-22  Andreas Schwab  <schwab@suse.de>
44286         * sysdeps/i386/fpu/libm-test-ulps: Update.
44288 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
44290         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
44291         printf output with newline.
44293 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
44295         [BZ #14865]
44296         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
44297         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
44298         -z nodlopen, -z initfirst and -z execstack support.
44299         * configure: Regenerated.
44301         * elf/elf.h (DF_1_NODIRECT): New macro.
44302         (DF_1_IGNMULDEF): Likewise.
44303         (DF_1_NOKSYMS): Likewise.
44304         (DF_1_NOHDR): Likewise.
44305         (DF_1_EDITED): Likewise.
44306         (DF_1_NORELOC): Likewise.
44307         (DF_1_SYMINTPOSE): Likewise.
44308         (DF_1_GLOBAUDIT): Likewise.
44309         (DF_1_SINGLETON): Likewise.
44310         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
44311         DT_1_SUPPORTED_MASK bits.
44312         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
44314 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
44316         * sysdeps/unix/make-syscalls.sh: Document prefixes.
44318 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
44320         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
44321         macro.
44323         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
44324         (sendmmsg): Move declarations...
44325         * socket/sys/socket.h: ... here.
44326         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
44327         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
44328         include it from...
44329         * socket/recvmmsg.c: ... this new file.
44330         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
44331         (sendmmsg): Rename to __sendmmsg, create weak alias and make
44332         definition of __sendmmsg hidden.
44333         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
44334         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
44335         Move ENOSYS stub into and include it from...
44336         * socket/sendmmsg.c: ... this new file.
44337         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
44338         (sysdep_routines): Move recvmmsg and sendmmsg...
44339         * socket/Makefile (routines): ... here.
44340         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
44341         (GLIBC_PRIVATE): Add __sendmmsg.
44342         * include/sys/socket.h (__sendmmsg): Add declarations.
44343         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
44344         sendmmsg.
44346 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
44348         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
44349         variable I1 with __attribute__ ((unused)).
44350         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
44352 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
44354         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
44355         DUMMY variables with __attribute__ ((unused)).
44357         * bits/byteswap.h: Include <bits/types.h>.
44358         (__bswap_64): Use __uint64_t instead of unsigned long long int.
44360 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
44362         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
44363         string_t.  Do not manually set errno.
44364         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
44365         length with __strnlen.  Make sure to both set errno and return it on
44366         failure.
44368 2012-11-19  David S. Miller  <davem@davemloft.net>
44370         With help from Joseph Myers.
44371         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
44372         very large arguments properly.
44373         * math/libm-test.inc (atan_test): New tests.
44374         (atan2_test): New tests.
44375         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44376         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44378 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
44380         [BZ #14856]
44381         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
44382         Define to 3.
44384         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
44385         [POSIX] (EADDRNOTAVAIL): Likewise.
44386         [POSIX] (EAFNOSUPPORT): Likewise.
44387         [POSIX] (EALREADY): Likewise.
44388         [POSIX] (ECONNABORTED): Likewise.
44389         [POSIX] (ECONNREFUSED): Likewise.
44390         [POSIX] (ECONNRESET): Likewise.
44391         [POSIX] (EDESTADDRREQ): Likewise.
44392         [POSIX] (EDQUOT): Likewise.
44393         [POSIX] (EHOSTUNREACH): Likewise.
44394         [POSIX] (EIDRM): Likewise.
44395         [POSIX] (EISCONN): Likewise.
44396         [POSIX] (ELOOP): Likewise.
44397         [POSIX] (EMULTIHOP): Likewise.
44398         [POSIX] (ENETDOWN): Likewise.
44399         [POSIX] (ENETUNREACH): Likewise.
44400         [POSIX] (ENOBUFS): Likewise.
44401         [POSIX] (ENODATA): Likewise.
44402         [POSIX] (ENOLINK): Likewise.
44403         [POSIX] (ENOMSG): Likewise.
44404         [POSIX] (ENOPROTOOPT): Likewise.
44405         [POSIX] (ENOSR): Likewise.
44406         [POSIX] (ENOSTR): Likewise.
44407         [POSIX] (ENOTCONN): Likewise.
44408         [POSIX] (ENOTSOCK): Likewise.
44409         [POSIX] (EOPNOTSUPP): Likewise.
44410         [POSIX] (EOVERFLOW): Likewise.
44411         [POSIX] (EPROTO): Likewise.
44412         [POSIX] (EPROTONOSUPPORT): Likewise.
44413         [POSIX] (EPROTOTYPE): Likewise.
44414         [POSIX] (ESTALE): Likewise.
44415         [POSIX] (ETIME): Likewise.
44416         [POSIX] (ETXTBSY): Likewise.
44417         [POSIX] (EWOULDBLOCK): Likewise.
44418         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
44419         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
44420         [POSIX] (SEEK_CUR): Likewise.
44421         [POSIX] (SEEK_END): Likewise.
44422         [POSIX || UNIX98] (mode_t): Do not require.
44423         [POSIX] (off_t): Likewise.
44424         [POSIX] (pid_t): Likewise.
44425         [POSIX] (sys/stat.h): Do not allow header.
44426         [POSIX] (unistd.h): Likewise.
44427         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
44428         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
44429         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
44430         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
44431         require.
44432         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
44433         sigevent): Specify elements.
44434         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
44435         entry.
44436         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
44437         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
44439         * conform/data/cpio.h-data [POSIX]: Disable whole file.
44440         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
44441         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
44442         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
44443         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
44444         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
44445         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
44446         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
44447         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
44448         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
44449         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
44450         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
44451         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
44452         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
44453         Likewise.
44454         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
44455         Likewise.
44456         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
44457         Likewise.
44458         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
44459         Likewise.
44460         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
44461         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
44462         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
44463         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
44464         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
44465         Specify lower bound on value.
44466         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
44467         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
44468         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
44469         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
44470         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
44471         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
44472         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
44473         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
44474         value.
44475         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
44476         as optional.
44477         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
44478         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
44479         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
44480         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
44481         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
44482         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
44483         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
44484         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
44485         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
44486         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
44487         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
44488         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
44489         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
44490         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
44491         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
44492         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
44493         entry.
44494         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
44495         optional.
44496         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
44497         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
44498         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
44499         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
44500         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
44501         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
44502         Likewise.
44503         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
44504         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
44505         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
44506         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
44507         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
44508         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
44509         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
44510         as optional.
44511         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
44512         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
44513         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
44514         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
44515         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
44516         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
44517         specify as optional.
44518         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
44519         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
44520         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
44521         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
44522         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
44523         [XPG3] (NL_LANGMAX): Likewise.
44524         [POSIX || XPG3] (NL_MSGMAX): Likewise.
44525         [POSIX || XPG3] (NL_NMAX): Likewise.
44526         [POSIX || XPG3] (NL_SETMAX): Likewise.
44527         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
44528         [XPG3] (NZERO): Likewise.
44529         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
44530         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
44531         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
44532         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
44533         (REG_ERANGE): Expect.
44534         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
44535         optional-constant.
44536         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
44537         Use (void) in prototype.
44538         [POSIX] (*_t): Allow.
44539         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
44540         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
44541         (WRDE_BADVAL): Expect.
44543         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
44544         expect.
44545         [XPG3 || XPG4] (O_RSYNC): Likewise.
44546         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
44547         Likewise.
44548         [XPG3 || XPG4] (pthread_sigmask): Likewise.
44549         [XPG3 || XPG4] (sigqueue): Likewise.
44550         [XPG3 || XPG4] (sigtimedwait): Likewise.
44551         [XPG3 || XPG4] (sigwaitinfo): Likewise.
44552         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
44553         [XPG3 || XPG4] (vsnprintf): Likewise.
44554         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
44555         Likewise.
44556         [XPG3 || XPG4] (blksize_t): Likewise.
44557         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
44558         Likewise.
44559         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
44560         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
44561         [XPG3 || XPG4] (struct itimerspec): Likewise.
44562         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
44563         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
44564         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
44565         [XPG3 || XPG4] (clockid_t): Likewise.
44566         [XPG3 || XPG4] (timer_t): Likewise.
44567         [XPG3 || XPG4] (clock_getres): Likewise.
44568         [XPG3 || XPG4] (clock_gettime): Likewise.
44569         [XPG3 || XPG4] (clock_settime): Likewise.
44570         [XPG3 || XPG4] (nanosleep): Likewise.
44571         [XPG3 || XPG4] (timer_create): Likewise.
44572         [XPG3 || XPG4] (timer_delete): Likewise.
44573         [XPG3 || XPG4] (timer_gettime): Likewise.
44574         [XPG3 || XPG4] (timer_getoverrun): Likewise.
44575         [XPG3 || XPG4] (timer_settime): Likewise.
44576         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
44577         [XPG3 || XPG4] (getlogin_r): Likewise.
44578         [XPG3 || XPG4] (pread): Likewise.
44579         [XPG3 || XPG4] (pthread_atfork): Likewise.
44580         [XPG3 || XPG4] (pwrite): Likewise.
44582         [BZ #14835]
44583         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
44584         <bits/siginfo.h>.
44586 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
44588         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
44589         finalizing MALLSTREAM.
44591         * sysdeps/mach/hurd/syncfs.c: New file.
44593 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44595         [BZ #14719]
44596         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
44597         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
44598         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
44599         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
44600         (_nss_dns_gethostbyname4_r): Likewise.
44601         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
44602         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
44604 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
44606         [BZ #13763]
44607         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
44609 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
44611         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
44612         * elf/cache.c (print_entry): Print ",AArch64" for
44613         FLAG_AARCH64_LIB64
44615         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
44616         * elf/cache.c (print_entry): Print ",hard-float" for
44617         FLAG_ARM_LIBHF.
44619 2012-11-18  David S. Miller  <davem@davemloft.net>
44621         With help from Joseph Myers.
44622         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
44623         cutoff to 2**-13.
44624         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
44625         cutoff to 2**-25.
44626         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
44627         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
44628         small.
44629         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
44630         * math/libm-test.inc (y0_test): New tests.
44631         (y1_test): New tests.
44632         * sysdeps/i386/fpu/libm-test-ulps: Update.
44633         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44634         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44636 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
44638         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
44639         64-bit targets.
44640         * configure: Regenerated.
44642 2012-11-17  David S. Miller  <davem@davemloft.net>
44644         [BZ #14811]
44645         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
44646         nonzero exponents with absolute value below 0x1p-128 to +/-
44647         0x1p-128.
44649 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
44651         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
44653         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
44655         * posix/getconf-speclist.c: New file.
44656         * posix/posix-envs.def: Likewise.
44657         * posix/confstr.c (START_ENV_GROUP): New macro.
44658         (END_ENV_GROUP): Likewise.
44659         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
44660         (KNOWN_PRESENT_ENV_STRING): Likewise.
44661         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
44662         (UNKNOWN_ENVIRONMENT): Likewise.
44663         (confstr): Include posix-envs.def instead of handling
44664         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
44665         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
44666         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
44667         (END_ENV_GROUP): Likewise.
44668         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
44669         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
44670         (UNKNOWN_ENVIRONMENT): Likewise.
44671         (__sysconf): Include posix-envs.def instead of handling associated
44672         cases directly here.
44673         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
44674         preprocessing getconf-speclist.c rather than running getconf or
44675         generating empty file.
44677 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
44679         * scripts/check-local-headers.sh: Ignore 'mach' headers.
44681 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
44683         [BZ #14672]
44684         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
44686 2012-11-16  David S. Miller  <davem@davemloft.net>
44688         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
44689         smaller than LDBL_EPSILON/2.0L, just return xm1.
44691 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
44693         * elf/tst-array1.c (init): Set constructor priority to 1000.
44694         (fini): Set destructor priority to 1000.
44695         * elf/tst-array2dep.c: Likewise.
44697 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44699         [BZ #11741]
44700         * libio/fileops.c (_IO_new_file_write): Correctly return error.
44701         (_IO_new_file_xsputn): Also return EOF if none of the input
44702         data was written when overflow failed.
44703         * libio/iopadn.c (_IO_padn): Likewise.
44704         * libio/iowpadn.c (_IO_wpadn): Likewise.
44705         * stdio-common/tst-put-error.c: Add copyright notice.
44706         (do_test): Add case for printing padded string.
44707         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
44708         _IO_padn returned error.
44709         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
44710         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
44711         return EOF.
44713 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44715         * libio/libioP.h: Add comment note that the references to C++
44716         bits are now obsolete.
44718 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44720         * math/libm-test.inc (check_complex): Use asprintf.
44722 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
44724         * debug/pcprofiledump.c (print_version): Update copyright year.
44725         * malloc/memusagestat.c (print_version): Likewise.
44727 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
44729         [BZ #14831]
44730         * elf/Makefile (tests): Add tst-audit8.
44731         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
44732         ($(objpfx)tst-audit8.out): New target.
44733         (tst-audit8-ENV): New variable.
44734         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
44735         audit if l_reloc_result is NULL.
44736         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
44737         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
44738         * elf/tst-audit8.c: New file.
44740 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44742         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
44743         * misc/Makefile (CFLAGS-select.c): Define.
44744         * posix/Makefile (CFLAGS-pause.c): Define.
44746 2012-11-13  David S. Miller  <davem@davemloft.net>
44748         * crypt/Makefile: Move test targets after toplevel Rules
44749         inclusion.  Grab any necessary sysdep routines when linking.
44750         * crypt/md5.c (md5_process_block): Remove define, we will always
44751         name it __md5_process_block.
44752         (md5_finish_ctx): Update md5_process_block call.
44753         (md5_stream): Likewise.
44754         (md5_process_bytes): Likewise.
44755         (md5_process_block): Rename to __md5_process_block and move to ...
44756         * crypt/md5-block.c: ... here.
44757         * crypt/sha256.c (sha256_process_block): Move to ...
44758         * crypt/sha256-block.c: ... here.
44759         * crypt/sha512.c (sha512_process_block): Move to ...
44760         * crypt/sha512-block.c: ... here.
44761         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
44762         path.
44763         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
44764         * sysdeps/sparc/sparc64/multiarch/Makefile
44765         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
44766         crypt subdir.
44767         (localedef-aux): Add md5 crypto assembler when in locale subdir.
44768         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
44769         multiarch changes.
44770         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
44771         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
44772         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
44773         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
44774         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
44775         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
44776         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
44777         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
44778         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
44779         file.
44780         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
44781         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
44782         file.
44783         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
44785 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
44787         * timezone/tzselect.ksh: Update from tzcode git revision
44788         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
44789         * timezone/zdump.c: Likewise.
44790         * timezone/zic.c: Likewise.
44791         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
44792         in TZVERSION setting, not $(PKGVERSION).
44793         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
44794         REPORT_BUGS_TO settings.
44796         [BZ #14838]
44797         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
44798         macro.
44800 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44802         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
44803         detection to immediately after _FP_ROUND().
44804         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
44805         bits are 0.
44807 2012-11-11  David S. Miller  <davem@davemloft.net>
44809         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
44810         inttypes.h
44811         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
44812         __close rather than their public counterparts.
44814 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
44816         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
44817         file.
44818         [UNIX98] (sem_timedwait): Do not expect.
44819         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
44820         [XPG4 || UNIX98] (sockatmark): Do not expect.
44821         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
44822         (clock_getcpuclockid): Do not expect.
44823         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
44824         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
44825         Do not expect.
44826         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
44827         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
44828         [UNIX98] (vwscanf): Likewise.
44829         [UNIX98] (vswscanf): Likewise.
44831 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
44833         * timezone/version.h: Remove file.
44834         * timezone/README: Do not refer to version.h.
44835         * timezone/Makefile ($(objpfx)zic.o): New dependency on
44836         $(objpfx)version.h.
44837         ($(objpfx)zdump.o): Likewise.
44838         ($(objpfx)version.h): New target.
44840         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
44841         2012i.
44842         * timezone/README: Don't mention modification to tzselect.ksh.
44843         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
44844         work on unmodified tzselect.ksh.  Substitute version numbers in
44845         tzselect.ksh.
44847         * Makefile (format-me): Remove.
44848         (INSTALL): Adjust indentation.  Use commands directly instead of
44849         using $(format-me).
44851         * aclocal.m4 (ACX_PKGVERSION): New macro.
44852         (ACX_BUGURL): Likewise.
44853         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
44854         (PKGVERSION): New AC_DEFINE_UNQUOTED.
44855         (REPORT_BUGS_TO): Likewise.
44856         * configure: Regenerated.
44857         * config.h.in (PKGVERSION): New macro.
44858         (REPORT_BUGS_TO): Likewise.
44859         * config.make.in (PKGVERSION): New variable.
44860         (PKGVERSION_TEXI): Likewise.
44861         (REPORT_BUGS_TO): Likewise.
44862         (REPORT_BUGS_TEXI): Likewise.
44863         * Makefile (format-me): Use -I$(common-objpfx)manual.
44864         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
44865         ($(common-objpfx)manual/%): New target.
44866         (manual/%): Remove target.
44867         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
44868         (print_version): Use PKGVERSION.
44869         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
44870         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
44871         and REPORT_BUGS_TO.
44872         ($(objpfx)xtrace): Likewise.
44873         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
44874         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
44875         (print_version): Use PKGVERSION.
44876         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
44877         (do_version): Use PKGVERSION.
44878         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
44879         REPORT_BUGS_TO.
44880         (common-ldd-rewrite): Likewise.
44881         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
44882         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
44883         (print_version): Use PKGVERSION.
44884         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
44885         * elf/pldd.c (argp_program_bug_address): Remove variable.
44886         (more_help): New function.
44887         (argp): Use more_help.
44888         (print_version): Use PKGVERSION.
44889         * elf/sln.c (main): Use PKGVERSION.
44890         (usage): Use REPORT_BUGS_TO.
44891         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
44892         (top level): Use PKGVERSION.
44893         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
44894         (print_version): Use PKGVERSION.
44895         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
44896         (print_version): Use PKGVERSION.
44897         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
44898         (print_version): Use PKGVERSION.
44899         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
44900         (print_version): Use PKGVERSION.
44901         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
44902         (print_version): Use PKGVERSION.
44903         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
44904         (print_version): Use PKGVERSION.
44905         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
44906         and BUGURL.
44907         ($(objpfx)memusage): Likewise.
44908         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
44909         (do_version): Use PKGVERSION.
44910         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
44911         (print_version): Use PKGVERSION.
44912         * malloc/mtrace.pl ($PACKAGE): Remove variable.
44913         ($PKGVERSION): New variable.
44914         ($REPORT_BUGS_TO): Likewise.
44915         (usage): Use $REPORT_BUGS_TO.
44916         (top level): Use $PKGVERSION.
44917         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
44918         ($(objpfx)pkgvers.texi): New rule.
44919         ($(objpfx)stamp-pkgvers): Likewise.
44920         * manual/install.texi: Include pkgvers.texi.
44921         (--with-pkgversion): Document new configure option.
44922         (--with-bugurl): Likewise.
44923         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
44924         than necessarily for this particular distribution.  Use
44925         REPORT_BUGS_TO for where to report bugs.
44926         * INSTALL: Regenerated.
44927         * manual/libc.texinfo: Include pkgvers.texi.
44928         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
44929         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
44930         (print_version): Use PKGVERSION.
44931         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
44932         (print_version): Use PKGVERSION.
44933         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
44934         (print_version): Use PKGVERSION.
44935         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
44936         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
44937         macro.
44938         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
44939         (print_version): Use PKGVERSION.
44940         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
44941         (print_version): Use PKGVERSION.
44942         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
44943         and PKGVERSION.
44945         * timezone/checktab.awk: Update from tzcode 2012i.
44946         * timezone/ialloc.c: Likewise.
44947         * timezone/private.h: Likewise.
44948         * timezone/scheck.c: Likewise.
44949         * timezone/tzfile.h: Likewise.
44950         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
44951         (TZVERSION): Hardcode tzcode version number.
44952         * timezone/zdump.c: Update from tzcode 2012i.
44953         * timezone/zic.c: Likewise.
44954         * timezone/version.h: New file.
44955         * timezone/README: Describe version.h.  Update upstream location.
44957         [BZ #14824]
44958         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
44959         (mktemp): Enable declaration.
44960         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
44961         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
44962         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
44963         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
44964         Likewise.
44965         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
44966         Likewise.
44967         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
44968         Likewise.
44969         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
44970         Likewise.
44971         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
44972         Likewise.
44973         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
44974         Likewise.
44976         [BZ #14821]
44977         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
44978         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
44979         for copies of such integer values.
44980         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
44981         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
44983 2012-11-09  Andreas Jaeger  <aj@suse.de>
44985         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
44986         definitions and declarations that are provided by
44987         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
44989 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44991         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
44992         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
44993         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
44994         definition.
44996 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44998         * elf/elf.h: Update comment before AArch64 relocations.
45000 2012-11-07  David S. Miller  <davem@davemloft.net>
45002         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
45003         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
45004         (__start_context): Declare.
45005         (__makecontext_ret): Delete.
45006         (__makecontext): Hook up __start_context instead of
45007         __makecontext_ret.
45008         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
45009         (sysdep_routines): Add __start_context when in stdlib.
45011 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
45013         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
45014         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
45015         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
45016         hardcoded "nm".
45017         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
45018         (READELF): New variable.  Use it instead of hardcoded "readelf".
45020 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
45022         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
45023         * sysdeps/x86/Makefile: Here.
45024         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
45025         * sysdeps/x86/tst-xmmymm.sh: This.
45027 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
45029         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
45030         expectations.
45031         [UNIX98] (pthread_barrier_t): Do not expect.
45032         [UNIX98] (pthread_barrierattr_t): Likewise.
45033         [UNIX98] (pthread_spinlock_t): Likewise.
45034         [UNIX98] (pthread_barrier_destroy): Likewise.
45035         [UNIX98] (pthread_barrier_init): Likewise.
45036         [UNIX98] (pthread_barrier_wait): Likewise.
45037         [UNIX98] (pthread_barrierattr_destroy): Likewise.
45038         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
45039         [UNIX98] (pthread_barrierattr_init): Likewise.
45040         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
45041         [UNIX98] (pthread_getcpuclockid): Likewise.
45042         [UNIX98] (pthread_mutex_timedlock): Likewise.
45043         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
45044         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
45045         [UNIX98] (pthread_sigmask): Likewise.
45046         [UNIX98] (pthread_spin_destroy): Likewise.
45047         [UNIX98] (pthread_spin_init): Likewise.
45048         [UNIX98] (pthread_spin_lock): Likewise.
45049         [UNIX98] (pthread_spin_trylock): Likewise.
45050         [UNIX98] (pthread_spin_unlock): Likewise.
45051         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
45052         Do not expect.
45053         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
45054         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
45055         [XPG3 || XPG4] (pthread_cond_t): Likewise.
45056         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
45057         [XPG3 || XPG4] (pthread_key_t): Likewise.
45058         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
45059         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
45060         [XPG3 || XPG4] (pthread_once_t): Likewise.
45061         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
45062         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
45063         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
45064         [XPG3 || XPG4] (pthread_t): Likewise.
45066         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
45067         not expect.
45068         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
45070         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
45071         Change function return type to int.
45073         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
45074         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
45075         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
45076         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
45077         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
45078         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
45079         [!POSIX] (posix_madvise): Likewise.
45080         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
45081         && !UNIX98].
45082         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
45083         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
45084         (mode_t): Likewise.
45085         (posix_mem_offset): Likewise.
45086         (posix_typed_mem_get_info): Likewise.
45087         (posix_typed_mem_open): Likewise.
45089         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
45090         Change condition to [XOPEN2K8].
45092         * conform/conformtest.pl: Preprocess allow-header data with -x c
45093         instead of from stdin.
45094         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
45095         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
45096         [C99-based standards] (cerfc): Likewise.
45097         [C99-based standards] (cexp2): Likewise.
45098         [C99-based standards] (cexpm1): Likewise.
45099         [C99-based standards] (clog10): Likewise.
45100         [C99-based standards] (clog1p): Likewise.
45101         [C99-based standards] (clog2): Likewise.
45102         [C99-based standards] (clgamma): Likewise.
45103         [C99-based standards] (ctgamma): Likewise.
45104         [C99-based standards] (cerff): Likewise.
45105         [C99-based standards] (cerfcf): Likewise.
45106         [C99-based standards] (cexp2f): Likewise.
45107         [C99-based standards] (cexpm1f): Likewise.
45108         [C99-based standards] (clog10f): Likewise.
45109         [C99-based standards] (clog1pf): Likewise.
45110         [C99-based standards] (clog2f): Likewise.
45111         [C99-based standards] (clgammaf): Likewise.
45112         [C99-based standards] (ctgammaf): Likewise.
45113         [C99-based standards] (cerfl): Likewise.
45114         [C99-based standards] (cerfcl): Likewise.
45115         [C99-based standards] (cexp2l): Likewise.
45116         [C99-based standards] (cexpm1l): Likewise.
45117         [C99-based standards] (clog10l): Likewise.
45118         [C99-based standards] (clog1pl): Likewise.
45119         [C99-based standards] (clog2l): Likewise.
45120         [C99-based standards] (clgammal): Likewise.
45121         [C99-based standards] (ctgammal): Likewise.
45122         * conform/data/inttypes.h-data [C99-based standards]: Include
45123         stdint.h-data.  Remove all expectations for stdint.h contents.
45124         [C99-based standards] (PRI*): Do not allow.
45125         [C99-based standards] (SCN*): Likewise.
45126         [C99-based standards] (*_t): Likewise.
45127         [C99-based-standards] (PRId8): Expect macro.
45128         [C99-based-standards] (PRIi8): Likewise.
45129         [C99-based-standards] (PRIo8): Likewise.
45130         [C99-based-standards] (PRIu8): Likewise.
45131         [C99-based-standards] (PRIx8): Likewise.
45132         [C99-based-standards] (PRIX8): Likewise.
45133         [C99-based-standards] (SCNd8): Likewise.
45134         [C99-based-standards] (SCNi8): Likewise.
45135         [C99-based-standards] (SCNo8): Likewise.
45136         [C99-based-standards] (SCNu8): Likewise.
45137         [C99-based-standards] (SCNx8): Likewise.
45138         [C99-based-standards] (PRIdLEAST8): Likewise.
45139         [C99-based-standards] (PRIiLEAST8): Likewise.
45140         [C99-based-standards] (PRIoLEAST8): Likewise.
45141         [C99-based-standards] (PRIuLEAST8): Likewise.
45142         [C99-based-standards] (PRIxLEAST8): Likewise.
45143         [C99-based-standards] (PRIXLEAST8): Likewise.
45144         [C99-based-standards] (SCNdLEAST8): Likewise.
45145         [C99-based-standards] (SCNiLEAST8): Likewise.
45146         [C99-based-standards] (SCNoLEAST8): Likewise.
45147         [C99-based-standards] (SCNuLEAST8): Likewise.
45148         [C99-based-standards] (SCNxLEAST8): Likewise.
45149         [C99-based-standards] (PRIdFAST8): Likewise.
45150         [C99-based-standards] (PRIiFAST8): Likewise.
45151         [C99-based-standards] (PRIoFAST8): Likewise.
45152         [C99-based-standards] (PRIuFAST8): Likewise.
45153         [C99-based-standards] (PRIxFAST8): Likewise.
45154         [C99-based-standards] (PRIXFAST8): Likewise.
45155         [C99-based-standards] (SCNdFAST8): Likewise.
45156         [C99-based-standards] (SCNiFAST8): Likewise.
45157         [C99-based-standards] (SCNoFAST8): Likewise.
45158         [C99-based-standards] (SCNuFAST8): Likewise.
45159         [C99-based-standards] (SCNxFAST8): Likewise.
45160         [C99-based-standards] (PRId16): Likewise.
45161         [C99-based-standards] (PRIi16): Likewise.
45162         [C99-based-standards] (PRIo16): Likewise.
45163         [C99-based-standards] (PRIu16): Likewise.
45164         [C99-based-standards] (PRIx16): Likewise.
45165         [C99-based-standards] (PRIX16): Likewise.
45166         [C99-based-standards] (SCNd16): Likewise.
45167         [C99-based-standards] (SCNi16): Likewise.
45168         [C99-based-standards] (SCNo16): Likewise.
45169         [C99-based-standards] (SCNu16): Likewise.
45170         [C99-based-standards] (SCNx16): Likewise.
45171         [C99-based-standards] (PRIdLEAST16): Likewise.
45172         [C99-based-standards] (PRIiLEAST16): Likewise.
45173         [C99-based-standards] (PRIoLEAST16): Likewise.
45174         [C99-based-standards] (PRIuLEAST16): Likewise.
45175         [C99-based-standards] (PRIxLEAST16): Likewise.
45176         [C99-based-standards] (PRIXLEAST16): Likewise.
45177         [C99-based-standards] (SCNdLEAST16): Likewise.
45178         [C99-based-standards] (SCNiLEAST16): Likewise.
45179         [C99-based-standards] (SCNoLEAST16): Likewise.
45180         [C99-based-standards] (SCNuLEAST16): Likewise.
45181         [C99-based-standards] (SCNxLEAST16): Likewise.
45182         [C99-based-standards] (PRIdFAST16): Likewise.
45183         [C99-based-standards] (PRIiFAST16): Likewise.
45184         [C99-based-standards] (PRIoFAST16): Likewise.
45185         [C99-based-standards] (PRIuFAST16): Likewise.
45186         [C99-based-standards] (PRIxFAST16): Likewise.
45187         [C99-based-standards] (PRIXFAST16): Likewise.
45188         [C99-based-standards] (SCNdFAST16): Likewise.
45189         [C99-based-standards] (SCNiFAST16): Likewise.
45190         [C99-based-standards] (SCNoFAST16): Likewise.
45191         [C99-based-standards] (SCNuFAST16): Likewise.
45192         [C99-based-standards] (SCNxFAST16): Likewise.
45193         [C99-based-standards] (PRId32): Likewise.
45194         [C99-based-standards] (PRIi32): Likewise.
45195         [C99-based-standards] (PRIo32): Likewise.
45196         [C99-based-standards] (PRIu32): Likewise.
45197         [C99-based-standards] (PRIx32): Likewise.
45198         [C99-based-standards] (PRIX32): Likewise.
45199         [C99-based-standards] (SCNd32): Likewise.
45200         [C99-based-standards] (SCNi32): Likewise.
45201         [C99-based-standards] (SCNo32): Likewise.
45202         [C99-based-standards] (SCNu32): Likewise.
45203         [C99-based-standards] (SCNx32): Likewise.
45204         [C99-based-standards] (PRIdLEAST32): Likewise.
45205         [C99-based-standards] (PRIiLEAST32): Likewise.
45206         [C99-based-standards] (PRIoLEAST32): Likewise.
45207         [C99-based-standards] (PRIuLEAST32): Likewise.
45208         [C99-based-standards] (PRIxLEAST32): Likewise.
45209         [C99-based-standards] (PRIXLEAST32): Likewise.
45210         [C99-based-standards] (SCNdLEAST32): Likewise.
45211         [C99-based-standards] (SCNiLEAST32): Likewise.
45212         [C99-based-standards] (SCNoLEAST32): Likewise.
45213         [C99-based-standards] (SCNuLEAST32): Likewise.
45214         [C99-based-standards] (SCNxLEAST32): Likewise.
45215         [C99-based-standards] (PRIdFAST32): Likewise.
45216         [C99-based-standards] (PRIiFAST32): Likewise.
45217         [C99-based-standards] (PRIoFAST32): Likewise.
45218         [C99-based-standards] (PRIuFAST32): Likewise.
45219         [C99-based-standards] (PRIxFAST32): Likewise.
45220         [C99-based-standards] (PRIXFAST32): Likewise.
45221         [C99-based-standards] (SCNdFAST32): Likewise.
45222         [C99-based-standards] (SCNiFAST32): Likewise.
45223         [C99-based-standards] (SCNoFAST32): Likewise.
45224         [C99-based-standards] (SCNuFAST32): Likewise.
45225         [C99-based-standards] (SCNxFAST32): Likewise.
45226         [C99-based-standards] (PRId64): Likewise.
45227         [C99-based-standards] (PRIi64): Likewise.
45228         [C99-based-standards] (PRIo64): Likewise.
45229         [C99-based-standards] (PRIu64): Likewise.
45230         [C99-based-standards] (PRIx64): Likewise.
45231         [C99-based-standards] (PRIX64): Likewise.
45232         [C99-based-standards] (SCNd64): Likewise.
45233         [C99-based-standards] (SCNi64): Likewise.
45234         [C99-based-standards] (SCNo64): Likewise.
45235         [C99-based-standards] (SCNu64): Likewise.
45236         [C99-based-standards] (SCNx64): Likewise.
45237         [C99-based-standards] (PRIdLEAST64): Likewise.
45238         [C99-based-standards] (PRIiLEAST64): Likewise.
45239         [C99-based-standards] (PRIoLEAST64): Likewise.
45240         [C99-based-standards] (PRIuLEAST64): Likewise.
45241         [C99-based-standards] (PRIxLEAST64): Likewise.
45242         [C99-based-standards] (PRIXLEAST64): Likewise.
45243         [C99-based-standards] (SCNdLEAST64): Likewise.
45244         [C99-based-standards] (SCNiLEAST64): Likewise.
45245         [C99-based-standards] (SCNoLEAST64): Likewise.
45246         [C99-based-standards] (SCNuLEAST64): Likewise.
45247         [C99-based-standards] (SCNxLEAST64): Likewise.
45248         [C99-based-standards] (PRIdFAST64): Likewise.
45249         [C99-based-standards] (PRIiFAST64): Likewise.
45250         [C99-based-standards] (PRIoFAST64): Likewise.
45251         [C99-based-standards] (PRIuFAST64): Likewise.
45252         [C99-based-standards] (PRIxFAST64): Likewise.
45253         [C99-based-standards] (PRIXFAST64): Likewise.
45254         [C99-based-standards] (SCNdFAST64): Likewise.
45255         [C99-based-standards] (SCNiFAST64): Likewise.
45256         [C99-based-standards] (SCNoFAST64): Likewise.
45257         [C99-based-standards] (SCNuFAST64): Likewise.
45258         [C99-based-standards] (SCNxFAST64): Likewise.
45259         [C99-based-standards] (PRIdMAX): Likewise.
45260         [C99-based-standards] (PRIiMAX): Likewise.
45261         [C99-based-standards] (PRIoMAX): Likewise.
45262         [C99-based-standards] (PRIuMAX): Likewise.
45263         [C99-based-standards] (PRIxMAX): Likewise.
45264         [C99-based-standards] (PRIXMAX): Likewise.
45265         [C99-based-standards] (SCNdMAX): Likewise.
45266         [C99-based-standards] (SCNiMAX): Likewise.
45267         [C99-based-standards] (SCNoMAX): Likewise.
45268         [C99-based-standards] (SCNuMAX): Likewise.
45269         [C99-based-standards] (SCNxMAX): Likewise.
45270         [C99-based-standards] (PRIdPTR): Likewise.
45271         [C99-based-standards] (PRIiPTR): Likewise.
45272         [C99-based-standards] (PRIoPTR): Likewise.
45273         [C99-based-standards] (PRIuPTR): Likewise.
45274         [C99-based-standards] (PRIxPTR): Likewise.
45275         [C99-based-standards] (PRIXPTR): Likewise.
45276         [C99-based-standards] (SCNdPTR): Likewise.
45277         [C99-based-standards] (SCNiPTR): Likewise.
45278         [C99-based-standards] (SCNoPTR): Likewise.
45279         [C99-based-standards] (SCNuPTR): Likewise.
45280         [C99-based-standards] (SCNxPTR): Likewise.
45281         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
45282         allow.
45283         * conform/data/stdint.h-data: Update comments to clarify
45284         requirements.
45285         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
45286         type.
45287         [C99-based standards] (INT8_MAX): Likewise.
45288         [C99-based standards] (INT16_MIN): Likewise.
45289         [C99-based standards] (INT16_MAX): Likewise.
45290         [C99-based standards] (INT32_MIN): Likewise.
45291         [C99-based standards] (INT32_MAX): Likewise.
45292         [C99-based standards] (INT64_MIN): Likewise.
45293         [C99-based standards] (INT64_MAX): Likewise.
45294         [C99-based standards] (UINT8_MAX): Likewise.
45295         [C99-based standards] (UINT16_MAX): Likewise.
45296         [C99-based standards] (UINT32_MAX): Likewise.
45297         [C99-based standards] (UINT64_MAX): Likewise.
45298         [C99-based standards] (INT_LEAST8_MIN): Likewise.
45299         [C99-based standards] (INT_LEAST8_MAX): Likewise.
45300         [C99-based standards] (INT_LEAST16_MIN): Likewise.
45301         [C99-based standards] (INT_LEAST16_MAX): Likewise.
45302         [C99-based standards] (INT_LEAST32_MIN): Likewise.
45303         [C99-based standards] (INT_LEAST32_MAX): Likewise.
45304         [C99-based standards] (INT_LEAST64_MIN): Likewise.
45305         [C99-based standards] (INT_LEAST64_MAX): Likewise.
45306         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
45307         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
45308         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
45309         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
45310         [C99-based standards] (INT_FAST8_MIN): Likewise.
45311         [C99-based standards] (INT_FAST8_MAX): Likewise.
45312         [C99-based standards] (INT_FAST16_MIN): Likewise.
45313         [C99-based standards] (INT_FAST16_MAX): Likewise.
45314         [C99-based standards] (INT_FAST32_MIN): Likewise.
45315         [C99-based standards] (INT_FAST32_MAX): Likewise.
45316         [C99-based standards] (INT_FAST64_MIN): Likewise.
45317         [C99-based standards] (INT_FAST64_MAX): Likewise.
45318         [C99-based standards] (UINT_FAST8_MAX): Likewise.
45319         [C99-based standards] (UINT_FAST16_MAX): Likewise.
45320         [C99-based standards] (UINT_FAST32_MAX): Likewise.
45321         [C99-based standards] (UINT_FAST64_MAX): Likewise.
45322         [C99-based standards] (INTPTR_MIN): Likewise.
45323         [C99-based standards] (INTPTR_MAX): Likewise.
45324         [C99-based standards] (UINTPTR_MAX): Likewise.
45325         [C99-based standards] (INTMAX_MIN): Likewise.
45326         [C99-based standards] (INTMAX_MAX): Likewise.
45327         [C99-based standards] (UINTMAX_MAX): Likewise.
45328         [C99-based standards] (PTRDIFF_MIN): Likewise.
45329         [C99-based standards] (PTRDIFF_MAX): Likewise.
45330         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
45331         [C99-based standards] (SIZE_MAX): Likewise.
45332         [C99-based standards] (WCHAR_MAX): Likewise.
45333         [C99-based standards] (WINT_MAX): Likewise.
45334         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
45335         constraint on value.
45336         [C99-based standards] (WCHAR_MIN): Likewise.
45337         [C99-based standards] (WINT_MIN): Likewise.
45338         [C99-based standards] (*_t): Allow.
45339         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
45340         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
45341         Include math.h-data and complex.h-data.  Remove all expectations
45342         of math.h and complex.h contents.
45343         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
45344         at end of line.
45345         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
45346         (struct tm): Expect tag.
45347         [C99-based-standards] (wcstof): Expect function.
45348         [C99-based-standards] (wcstold): Likewise.
45349         [C99-based-standards] (wcstoll): Likewise.
45350         [C99-based-standards] (wcstoull): Likewise.
45351         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
45352         macro-int-constant.  Specify type.
45353         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
45354         constraint on value.
45355         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
45356         Specify type.
45357         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
45358         Specify value.
45359         [ISO C standards]: Do not allow headers.
45360         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
45361         wcs[abcdefghijklmnopqrstuvwxyz]*.
45362         [ISO C standards] (*_t): Do not allow.
45363         * conform/data/wctype.h-data [C99-based standards] (iswblank):
45364         Expect function.
45365         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
45366         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
45367         Specify type.
45368         [ISO C standards]: Do not allow headers.
45369         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
45370         is[abcdefghijklmnopqrstuvwxyz]*.
45371         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
45372         to[abcdefghijklmnopqrstuvwxyz]*.
45373         [ISO C standards] (*_t): Do not allow.
45374         * conform/data/stdalign.h-data: New file.
45375         * conform/data/stdbool.h-data: Likewise.
45376         * conform/data/stdnoreturn.h-data: Likewise.
45378 2012-11-07  Roland McGrath  <roland@hack.frob.com>
45380         [BZ #14815]
45381         * manual/filesys.texi (Directory Entries): Typo fix.
45382         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
45384 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45386         * elf/elf.h (EM_AARCH64): New macro.
45387         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
45388         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
45389         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
45390         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
45391         (R_AARCH64_TLSDESC): Likewise.
45392         (NT_ARM_TLS): Likewise.
45393         (NT_ARM_HW_BREAK): Likewise.
45394         (NT_ARM_HW_WATCH): Likewise.
45396 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
45398         [BZ #14811]
45399         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
45400         (__ieee754_powl): Saturate nonzero exponents with absolute value
45401         below 0x1p-79 to +/- 0x1p-79.
45402         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
45403         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
45404         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
45405         nonzero exponents with absolute value below 0x1p-32 to +/-
45406         0x1p-32.
45407         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
45408         (__ieee754_powl): Saturate nonzero exponents with absolute value
45409         below 0x1p-79 to +/- 0x1p-79.
45410         * math/libm-test.inc (pow_test): Add more tests.
45412 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45414         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
45415         _dl_s390_cap_flags with kernel. Increase string length.
45416         (_dl_s390_platforms): Add z196 and zEC12.
45418 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
45420         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
45421         Change XOPEN21K to XOPEN2K.
45423 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
45425         * string/memmove.c: Use memcpy when possible.
45427 2012-11-06  Andreas Jaeger  <aj@suse.de>
45429         * po/eo.po: Update from translation team.
45431 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
45433         [BZ #14793]
45434         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
45435         exponent and small x and y exponents, scale x or y up.  Increase
45436         by 2 the exponent used in scaling up.
45437         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45438         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45439         * math/libm-test.inc (fma_test): Add more tests.
45440         (fma_test_towardzero): Likewise.
45441         (fma_test_downward): Likewise.
45442         (fma_test_upward): Likewise.
45444 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
45446         [BZ #14805]
45447         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
45448         fenv_t *.
45450         [BZ #14801]
45451         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
45452         namespace for names of struct fields.
45453         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
45454         fenv_t fields.
45455         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
45456         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
45458 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45460         [BZ #3665]
45461         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
45463 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
45465         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
45466         PTR_DEMANGLE.
45468         [BZ #5246]
45469         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
45470         PTR_DEMANGLE.
45472 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
45474         [BZ #14797]
45475         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
45476         definitely overflow as x * y not x * y + z.
45477         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45478         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45479         * math/libm-test.inc (fma_test): Add more tests.
45480         (fma_test_towardzero): Likewise.
45481         (fma_test_downward): Likewise.
45482         (fma_test_upward): Likewise.
45484 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
45486         [BZ #157]
45488         * include/stub-tag.h: Remove file.
45489         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
45490         '#include' of it.
45491         * manual/maint.texi (Porting): Don't reference it.
45492         * Makerules ($(objpfx)stubs): Likewise.
45493         * dirent/closedir.c: Don't include <stub-tag.h>.
45494         * dirent/dirfd.c: Likewise.
45495         * dirent/fdopendir.c: Likewise.
45496         * dirent/getdents.c: Likewise.
45497         * dirent/getdents64.c: Likewise.
45498         * dirent/opendir.c: Likewise.
45499         * dirent/readdir.c: Likewise.
45500         * dirent/readdir64.c: Likewise.
45501         * dirent/readdir64_r.c: Likewise.
45502         * dirent/readdir_r.c: Likewise.
45503         * dirent/rewinddir.c: Likewise.
45504         * dirent/seekdir.c: Likewise.
45505         * dirent/telldir.c: Likewise.
45506         * gmon/profil.c: Likewise.
45507         * grp/setgroups.c: Likewise.
45508         * inet/if_index.c: Likewise.
45509         * io/access.c: Likewise.
45510         * io/chdir.c: Likewise.
45511         * io/chmod.c: Likewise.
45512         * io/chown.c: Likewise.
45513         * io/close.c: Likewise.
45514         * io/dup.c: Likewise.
45515         * io/dup2.c: Likewise.
45516         * io/dup3.c: Likewise.
45517         * io/euidaccess.c: Likewise.
45518         * io/faccessat.c: Likewise.
45519         * io/fchdir.c: Likewise.
45520         * io/fchmod.c: Likewise.
45521         * io/fchmodat.c: Likewise.
45522         * io/fchown.c: Likewise.
45523         * io/fchownat.c: Likewise.
45524         * io/fcntl.c: Likewise.
45525         * io/flock.c: Likewise.
45526         * io/fstatfs.c: Likewise.
45527         * io/fstatfs64.c: Likewise.
45528         * io/fstatvfs.c: Likewise.
45529         * io/fstatvfs64.c: Likewise.
45530         * io/futimens.c: Likewise.
45531         * io/fxstat.c: Likewise.
45532         * io/fxstat64.c: Likewise.
45533         * io/fxstatat.c: Likewise.
45534         * io/fxstatat64.c: Likewise.
45535         * io/getcwd.c: Likewise.
45536         * io/isatty.c: Likewise.
45537         * io/lchmod.c: Likewise.
45538         * io/lchown.c: Likewise.
45539         * io/link.c: Likewise.
45540         * io/linkat.c: Likewise.
45541         * io/lseek.c: Likewise.
45542         * io/lseek64.c: Likewise.
45543         * io/lxstat64.c: Likewise.
45544         * io/mkdir.c: Likewise.
45545         * io/mkdirat.c: Likewise.
45546         * io/mkfifo.c: Likewise.
45547         * io/mkfifoat.c: Likewise.
45548         * io/open.c: Likewise.
45549         * io/open64.c: Likewise.
45550         * io/openat.c: Likewise.
45551         * io/openat64.c: Likewise.
45552         * io/pipe.c: Likewise.
45553         * io/pipe2.c: Likewise.
45554         * io/poll.c: Likewise.
45555         * io/posix_fadvise.c: Likewise.
45556         * io/posix_fadvise64.c: Likewise.
45557         * io/posix_fallocate.c: Likewise.
45558         * io/posix_fallocate64.c: Likewise.
45559         * io/read.c: Likewise.
45560         * io/readlink.c: Likewise.
45561         * io/readlinkat.c: Likewise.
45562         * io/rmdir.c: Likewise.
45563         * io/sendfile.c: Likewise.
45564         * io/sendfile64.c: Likewise.
45565         * io/statfs.c: Likewise.
45566         * io/statfs64.c: Likewise.
45567         * io/statvfs.c: Likewise.
45568         * io/statvfs64.c: Likewise.
45569         * io/symlink.c: Likewise.
45570         * io/symlinkat.c: Likewise.
45571         * io/ttyname.c: Likewise.
45572         * io/ttyname_r.c: Likewise.
45573         * io/umask.c: Likewise.
45574         * io/unlink.c: Likewise.
45575         * io/unlinkat.c: Likewise.
45576         * io/utime.c: Likewise.
45577         * io/utimensat.c: Likewise.
45578         * io/write.c: Likewise.
45579         * io/xmknod.c: Likewise.
45580         * io/xmknodat.c: Likewise.
45581         * io/xstat.c: Likewise.
45582         * io/xstat64.c: Likewise.
45583         * login/getpt.c: Likewise.
45584         * login/grantpt.c: Likewise.
45585         * login/unlockpt.c: Likewise.
45586         * math/e_acoshl.c: Likewise.
45587         * math/e_acosl.c: Likewise.
45588         * math/e_asinl.c: Likewise.
45589         * math/e_atan2l.c: Likewise.
45590         * math/e_atanhl.c: Likewise.
45591         * math/e_coshl.c: Likewise.
45592         * math/e_expl.c: Likewise.
45593         * math/e_fmodl.c: Likewise.
45594         * math/e_gammal_r.c: Likewise.
45595         * math/e_hypotl.c: Likewise.
45596         * math/e_j0l.c: Likewise.
45597         * math/e_j1l.c: Likewise.
45598         * math/e_jnl.c: Likewise.
45599         * math/e_lgammal_r.c: Likewise.
45600         * math/e_log10l.c: Likewise.
45601         * math/e_log2l.c: Likewise.
45602         * math/e_logl.c: Likewise.
45603         * math/e_powl.c: Likewise.
45604         * math/e_rem_pio2l.c: Likewise.
45605         * math/e_sinhl.c: Likewise.
45606         * math/e_sqrtl.c: Likewise.
45607         * math/fclrexcpt.c: Likewise.
45608         * math/fedisblxcpt.c: Likewise.
45609         * math/feenablxcpt.c: Likewise.
45610         * math/fegetenv.c: Likewise.
45611         * math/fegetexcept.c: Likewise.
45612         * math/fegetround.c: Likewise.
45613         * math/feholdexcpt.c: Likewise.
45614         * math/fesetenv.c: Likewise.
45615         * math/fesetround.c: Likewise.
45616         * math/feupdateenv.c: Likewise.
45617         * math/fgetexcptflg.c: Likewise.
45618         * math/fraiseexcpt.c: Likewise.
45619         * math/fsetexcptflg.c: Likewise.
45620         * math/ftestexcept.c: Likewise.
45621         * math/k_cosl.c: Likewise.
45622         * math/k_rem_pio2l.c: Likewise.
45623         * math/k_sinl.c: Likewise.
45624         * math/k_tanl.c: Likewise.
45625         * math/s_asinhl.c: Likewise.
45626         * math/s_atanl.c: Likewise.
45627         * math/s_cbrtl.c: Likewise.
45628         * math/s_erfl.c: Likewise.
45629         * math/s_expm1l.c: Likewise.
45630         * math/s_log1pl.c: Likewise.
45631         * math/s_tanhl.c: Likewise.
45632         * misc/acct.c: Likewise.
45633         * misc/brk.c: Likewise.
45634         * misc/chflags.c: Likewise.
45635         * misc/chroot.c: Likewise.
45636         * misc/fchflags.c: Likewise.
45637         * misc/fgetxattr.c: Likewise.
45638         * misc/flistxattr.c: Likewise.
45639         * misc/fremovexattr.c: Likewise.
45640         * misc/fsetxattr.c: Likewise.
45641         * misc/fsync.c: Likewise.
45642         * misc/ftruncate.c: Likewise.
45643         * misc/futimes.c: Likewise.
45644         * misc/futimesat.c: Likewise.
45645         * misc/getdomain.c: Likewise.
45646         * misc/getdtsz.c: Likewise.
45647         * misc/gethostid.c: Likewise.
45648         * misc/gethostname.c: Likewise.
45649         * misc/getloadavg.c: Likewise.
45650         * misc/getpagesize.c: Likewise.
45651         * misc/getsysstats.c: Likewise.
45652         * misc/getxattr.c: Likewise.
45653         * misc/gtty.c: Likewise.
45654         * misc/ioctl.c: Likewise.
45655         * misc/lgetxattr.c: Likewise.
45656         * misc/listxattr.c: Likewise.
45657         * misc/llistxattr.c: Likewise.
45658         * misc/lremovexattr.c: Likewise.
45659         * misc/lsetxattr.c: Likewise.
45660         * misc/lutimes.c: Likewise.
45661         * misc/madvise.c: Likewise.
45662         * misc/mincore.c: Likewise.
45663         * misc/mlock.c: Likewise.
45664         * misc/mlockall.c: Likewise.
45665         * misc/mmap.c: Likewise.
45666         * misc/mprotect.c: Likewise.
45667         * misc/msync.c: Likewise.
45668         * misc/munlock.c: Likewise.
45669         * misc/munlockall.c: Likewise.
45670         * misc/munmap.c: Likewise.
45671         * misc/preadv.c: Likewise.
45672         * misc/preadv64.c: Likewise.
45673         * misc/ptrace.c: Likewise.
45674         * misc/pwritev.c: Likewise.
45675         * misc/pwritev64.c: Likewise.
45676         * misc/readv.c: Likewise.
45677         * misc/reboot.c: Likewise.
45678         * misc/remap_file_pages.c: Likewise.
45679         * misc/removexattr.c: Likewise.
45680         * misc/revoke.c: Likewise.
45681         * misc/select.c: Likewise.
45682         * misc/setdomain.c: Likewise.
45683         * misc/setegid.c: Likewise.
45684         * misc/seteuid.c: Likewise.
45685         * misc/sethostid.c: Likewise.
45686         * misc/sethostname.c: Likewise.
45687         * misc/setregid.c: Likewise.
45688         * misc/setreuid.c: Likewise.
45689         * misc/setxattr.c: Likewise.
45690         * misc/sstk.c: Likewise.
45691         * misc/stty.c: Likewise.
45692         * misc/swapoff.c: Likewise.
45693         * misc/swapon.c: Likewise.
45694         * misc/sync.c: Likewise.
45695         * misc/syncfs.c: Likewise.
45696         * misc/syscall.c: Likewise.
45697         * misc/truncate.c: Likewise.
45698         * misc/ualarm.c: Likewise.
45699         * misc/usleep.c: Likewise.
45700         * misc/ustat.c: Likewise.
45701         * misc/utimes.c: Likewise.
45702         * misc/vhangup.c: Likewise.
45703         * misc/writev.c: Likewise.
45704         * posix/_exit.c: Likewise.
45705         * posix/alarm.c: Likewise.
45706         * posix/execve.c: Likewise.
45707         * posix/fexecve.c: Likewise.
45708         * posix/fork.c: Likewise.
45709         * posix/fpathconf.c: Likewise.
45710         * posix/getaddrinfo.c: Likewise.
45711         * posix/getegid.c: Likewise.
45712         * posix/geteuid.c: Likewise.
45713         * posix/getgid.c: Likewise.
45714         * posix/getgroups.c: Likewise.
45715         * posix/getlogin.c: Likewise.
45716         * posix/getlogin_r.c: Likewise.
45717         * posix/getpgid.c: Likewise.
45718         * posix/getpid.c: Likewise.
45719         * posix/getppid.c: Likewise.
45720         * posix/getresgid.c: Likewise.
45721         * posix/getresuid.c: Likewise.
45722         * posix/getsid.c: Likewise.
45723         * posix/getuid.c: Likewise.
45724         * posix/glob64.c: Likewise.
45725         * posix/nanosleep.c: Likewise.
45726         * posix/pathconf.c: Likewise.
45727         * posix/pause.c: Likewise.
45728         * posix/posix_madvise.c: Likewise.
45729         * posix/pread.c: Likewise.
45730         * posix/pread64.c: Likewise.
45731         * posix/pwrite.c: Likewise.
45732         * posix/pwrite64.c: Likewise.
45733         * posix/sched_getaffinity.c: Likewise.
45734         * posix/sched_getp.c: Likewise.
45735         * posix/sched_gets.c: Likewise.
45736         * posix/sched_primax.c: Likewise.
45737         * posix/sched_primin.c: Likewise.
45738         * posix/sched_rr_gi.c: Likewise.
45739         * posix/sched_setaffinity.c: Likewise.
45740         * posix/sched_setp.c: Likewise.
45741         * posix/sched_sets.c: Likewise.
45742         * posix/sched_yield.c: Likewise.
45743         * posix/setgid.c: Likewise.
45744         * posix/setlogin.c: Likewise.
45745         * posix/setpgid.c: Likewise.
45746         * posix/setresgid.c: Likewise.
45747         * posix/setresuid.c: Likewise.
45748         * posix/setsid.c: Likewise.
45749         * posix/setuid.c: Likewise.
45750         * posix/sleep.c: Likewise.
45751         * posix/spawni.c: Likewise.
45752         * posix/sysconf.c: Likewise.
45753         * posix/times.c: Likewise.
45754         * posix/wait.c: Likewise.
45755         * posix/wait3.c: Likewise.
45756         * posix/wait4.c: Likewise.
45757         * posix/waitpid.c: Likewise.
45758         * resolv/gai_sigqueue.c: Likewise.
45759         * resource/getpriority.c: Likewise.
45760         * resource/getrlimit.c: Likewise.
45761         * resource/getrusage.c: Likewise.
45762         * resource/nice.c: Likewise.
45763         * resource/setpriority.c: Likewise.
45764         * resource/setrlimit.c: Likewise.
45765         * resource/ulimit.c: Likewise.
45766         * rt/aio_cancel.c: Likewise.
45767         * rt/aio_fsync.c: Likewise.
45768         * rt/aio_read.c: Likewise.
45769         * rt/aio_sigqueue.c: Likewise.
45770         * rt/aio_suspend.c: Likewise.
45771         * rt/aio_write.c: Likewise.
45772         * rt/clock_getres.c: Likewise.
45773         * rt/clock_gettime.c: Likewise.
45774         * rt/clock_nanosleep.c: Likewise.
45775         * rt/clock_settime.c: Likewise.
45776         * rt/lio_listio.c: Likewise.
45777         * rt/mq_close.c: Likewise.
45778         * rt/mq_getattr.c: Likewise.
45779         * rt/mq_notify.c: Likewise.
45780         * rt/mq_open.c: Likewise.
45781         * rt/mq_receive.c: Likewise.
45782         * rt/mq_send.c: Likewise.
45783         * rt/mq_setattr.c: Likewise.
45784         * rt/mq_timedreceive.c: Likewise.
45785         * rt/mq_timedsend.c: Likewise.
45786         * rt/mq_unlink.c: Likewise.
45787         * rt/shm_open.c: Likewise.
45788         * rt/shm_unlink.c: Likewise.
45789         * rt/timer_create.c: Likewise.
45790         * rt/timer_delete.c: Likewise.
45791         * rt/timer_getoverr.c: Likewise.
45792         * rt/timer_gettime.c: Likewise.
45793         * rt/timer_settime.c: Likewise.
45794         * setjmp/__longjmp.c: Likewise.
45795         * setjmp/setjmp.c: Likewise.
45796         * signal/kill.c: Likewise.
45797         * signal/killpg.c: Likewise.
45798         * signal/raise.c: Likewise.
45799         * signal/sigaction.c: Likewise.
45800         * signal/sigaltstack.c: Likewise.
45801         * signal/sigblock.c: Likewise.
45802         * signal/sigignore.c: Likewise.
45803         * signal/sigintr.c: Likewise.
45804         * signal/signal.c: Likewise.
45805         * signal/sigpause.c: Likewise.
45806         * signal/sigpending.c: Likewise.
45807         * signal/sigqueue.c: Likewise.
45808         * signal/sigreturn.c: Likewise.
45809         * signal/sigset.c: Likewise.
45810         * signal/sigsetmask.c: Likewise.
45811         * signal/sigstack.c: Likewise.
45812         * signal/sigsuspend.c: Likewise.
45813         * signal/sigtimedwait.c: Likewise.
45814         * signal/sigvec.c: Likewise.
45815         * signal/sigwait.c: Likewise.
45816         * signal/sigwaitinfo.c: Likewise.
45817         * signal/sysv_signal.c: Likewise.
45818         * socket/accept.c: Likewise.
45819         * socket/accept4.c: Likewise.
45820         * socket/bind.c: Likewise.
45821         * socket/connect.c: Likewise.
45822         * socket/getpeername.c: Likewise.
45823         * socket/getsockname.c: Likewise.
45824         * socket/getsockopt.c: Likewise.
45825         * socket/isfdtype.c: Likewise.
45826         * socket/listen.c: Likewise.
45827         * socket/recv.c: Likewise.
45828         * socket/recvfrom.c: Likewise.
45829         * socket/recvmsg.c: Likewise.
45830         * socket/send.c: Likewise.
45831         * socket/sendmsg.c: Likewise.
45832         * socket/sendto.c: Likewise.
45833         * socket/setsockopt.c: Likewise.
45834         * socket/shutdown.c: Likewise.
45835         * socket/sockatmark.c: Likewise.
45836         * socket/socket.c: Likewise.
45837         * socket/socketpair.c: Likewise.
45838         * stdio-common/ctermid.c: Likewise.
45839         * stdio-common/cuserid.c: Likewise.
45840         * stdio-common/remove.c: Likewise.
45841         * stdio-common/rename.c: Likewise.
45842         * stdio-common/renameat.c: Likewise.
45843         * stdio-common/tempname.c: Likewise.
45844         * stdlib/getcontext.c: Likewise.
45845         * stdlib/makecontext.c: Likewise.
45846         * stdlib/setcontext.c: Likewise.
45847         * stdlib/swapcontext.c: Likewise.
45848         * stdlib/system.c: Likewise.
45849         * streams/fattach.c: Likewise.
45850         * streams/fdetach.c: Likewise.
45851         * streams/getmsg.c: Likewise.
45852         * streams/getpmsg.c: Likewise.
45853         * streams/putmsg.c: Likewise.
45854         * streams/putpmsg.c: Likewise.
45855         * sysdeps/unix/bsd/getpt.c: Likewise.
45856         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
45857         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
45858         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
45859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
45860         Likewise.
45861         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
45862         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
45863         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
45864         * sysvipc/msgctl.c: Likewise.
45865         * sysvipc/msgget.c: Likewise.
45866         * sysvipc/msgrcv.c: Likewise.
45867         * sysvipc/msgsnd.c: Likewise.
45868         * sysvipc/semctl.c: Likewise.
45869         * sysvipc/semget.c: Likewise.
45870         * sysvipc/semop.c: Likewise.
45871         * sysvipc/semtimedop.c: Likewise.
45872         * sysvipc/shmat.c: Likewise.
45873         * sysvipc/shmctl.c: Likewise.
45874         * sysvipc/shmdt.c: Likewise.
45875         * sysvipc/shmget.c: Likewise.
45876         * termios/tcdrain.c: Likewise.
45877         * termios/tcflow.c: Likewise.
45878         * termios/tcflush.c: Likewise.
45879         * termios/tcgetattr.c: Likewise.
45880         * termios/tcgetpgrp.c: Likewise.
45881         * termios/tcsendbrk.c: Likewise.
45882         * termios/tcsetattr.c: Likewise.
45883         * termios/tcsetpgrp.c: Likewise.
45884         * time/adjtime.c: Likewise.
45885         * time/clock.c: Likewise.
45886         * time/getitimer.c: Likewise.
45887         * time/gettimeofday.c: Likewise.
45888         * time/setitimer.c: Likewise.
45889         * time/settimeofday.c: Likewise.
45890         * time/stime.c: Likewise.
45891         * time/time.c: Likewise.
45893 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
45895         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
45896         /usr/old/bin.
45898         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
45899         instead of spaces.
45900         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
45902 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
45904         [BZ #14796]
45905         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
45906         FE_TONEAREST before applying Dekker multiplication and Knuth
45907         addition.  Clear inexact exceptions and check for exact zero
45908         results afterwards.
45909         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45910         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
45911         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45912         * math/libm-test.inc (fma_test): Add more tests.
45913         (fma_test_towardzero): Likewise.
45914         (fma_test_downward): Likewise.
45915         (fma_test_upward): Likewise.
45916         * sysdeps/generic/math_private.h (default_libc_fesetround): New
45917         function.
45918         (libc_fesetround): New macro.
45919         (libc_fesetroundf): Likewise.
45920         (libc_fesetroundl): Likewise.
45921         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
45922         function.
45923         (libc_fesetround_387): Likewise.
45924         (libc_fesetroundf): New macro.
45925         (libc_fesetround): Likewise.
45926         (libc_fesetroundl): Likewise.
45927         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
45928         function.
45929         (libc_fesetroundf): New macro.
45930         (libc_fesetround): Likewise.
45931         (libc_fesetroundl): Likewise.
45932         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
45933         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
45934         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
45935         libm_hidden_ver.
45936         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
45937         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
45938         libm_hidden_def.
45939         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
45940         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
45941         libm_hidden_ver.
45942         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
45943         libm_hidden_def.
45945         [BZ #3439]
45946         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
45947         integer constant usable in #if and use that to give value to enum
45948         constant.
45949         (FE_DIVBYZERO): Likewise.
45950         (FE_UNDERFLOW): Likewise.
45951         (FE_OVERFLOW): Likewise.
45952         (FE_INVALID): Likewise.
45953         (FE_INVALID_SNAN): Likewise.
45954         (FE_INVALID_ISI): Likewise.
45955         (FE_INVALID_IDI): Likewise.
45956         (FE_INVALID_ZDZ): Likewise.
45957         (FE_INVALID_IMZ): Likewise.
45958         (FE_INVALID_COMPARE): Likewise.
45959         (FE_INVALID_SOFTWARE): Likewise.
45960         (FE_INVALID_SQRT): Likewise.
45961         (FE_INVALID_INTEGER_CONVERSION): Likewise.
45962         (FE_TONEAREST): Likewise.
45963         (FE_TOWARDZERO): Likewise.
45964         (FE_UPWARD): Likewise.
45965         (FE_DOWNWARD): Likewise.
45966         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
45967         (FE_DIVBYZERO): Likewise.
45968         (FE_OVERFLOW): Likewise.
45969         (FE_UNDERFLOW): Likewise.
45970         (FE_INEXACT): Likewise.
45971         (FE_TONEAREST): Likewise.
45972         (FE_DOWNWARD): Likewise.
45973         (FE_UPWARD): Likewise.
45974         (FE_TOWARDZERO): Likewise.
45975         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
45976         (FE_UNDERFLOW): Likewise.
45977         (FE_OVERFLOW): Likewise.
45978         (FE_DIVBYZERO): Likewise.
45979         (FE_INVALID): Likewise.
45980         (FE_TONEAREST): Likewise.
45981         (FE_TOWARDZERO): Likewise.
45982         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
45983         (FE_OVERFLOW): Likewise.
45984         (FE_UNDERFLOW): Likewise.
45985         (FE_DIVBYZERO): Likewise.
45986         (FE_INEXACT): Likewise.
45987         (FE_TONEAREST): Likewise.
45988         (FE_TOWARDZERO): Likewise.
45989         (FE_UPWARD): Likewise.
45990         (FE_DOWNWARD): Likewise.
45991         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
45992         (FE_DIVBYZERO): Likewise.
45993         (FE_OVERFLOW): Likewise.
45994         (FE_UNDERFLOW): Likewise.
45995         (FE_INEXACT): Likewise.
45996         (FE_TONEAREST): Likewise.
45997         (FE_DOWNWARD): Likewise.
45998         (FE_UPWARD): Likewise.
45999         (FE_TOWARDZERO): Likewise.
46001 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
46003         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
46005 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
46007         * scripts/cross-test-ssh.sh (command): Use newlines to separate
46008         commands.  Quote $PWD.
46009         (blacklist_exports): Don't use remove_newlines.  Replace "declare
46010         -x" by "export".
46011         (remove_newlines): Remove.
46013 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
46015         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
46016         * stdlib/stdlib.h (atof): Moved to ...
46017         * include/bits/stdlib-float.h: Here.  New file.
46018         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
46019         * stdlib/bits/stdlib-float.h: New file.
46020         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
46021         -mno-sse -mno-mmx.
46022         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
46023         <xmmintrin.h>.
46025 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
46027         * conform/conformtest.pl (@headers): Add fenv.h.
46028         * conform/data/fenv.h-data: New file.
46029         * include/fenv.h [_ISOMAC]: Disable all contents of file except
46030         include of <math/fenv.h>.
46032         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
46033         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
46034         && !UNIX98].  Enables tests for XOPEN2K8.
46035         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
46036         POSIX2008]: Likewise.
46038         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
46039         (struct rusage): Do not expect type or its members.
46041         [BZ #3439]
46042         * math/math.h (FP_NAN): Define macro to integer constant usable in
46043         #if and use that to give value to enum constant.
46044         (FP_INFINITE): Likewise.
46045         (FP_ZERO): Likewise.
46046         (FP_SUBNORMAL): Likewise.
46047         (FP_NORMAL): Likewise.
46049 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
46051         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
46052         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
46053         arguments.
46055 2012-11-02  Roland McGrath  <roland@hack.frob.com>
46057         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
46058         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
46059         autoconf-time if not.
46060         * configure.in: Remove AC_PREREQ.
46062 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
46064         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
46065         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
46066         of the internal implementation.
46068 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
46070         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
46071         except include of <misc/sys/syslog.h>.
46073 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
46075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
46076         function returns with a NULL context exit with zero.
46078 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
46080         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
46082 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
46084         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
46085         (run_program_cmd): This.
46086         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
46087         (tst_langinfo): New variable.  Use it.
46089 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
46091         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
46092         floating point opcodes.
46094 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
46096         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
46097         variable.
46099         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
46101         * sysdeps/mach/hurd/powerpc: Remove directory.
46102         * sysdeps/mach/powerpc: Likewise.
46104 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
46106         * scripts/check-local-headers.sh: Ignore c++ headers.
46108 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
46110         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
46111         __libc_cleanup_region_start argument.
46113 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
46115         [BZ #14784]
46116         [BZ #14785]
46117         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
46118         x * y using scaling, not as x * y + z.
46119         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
46120         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46121         * math/libm-test.inc (fma_test): Add more tests.
46122         (fma_test_towardzero): Likewise.
46123         (fma_test_downward): Likewise.
46124         (fma_test_upward): Likewise.
46126 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
46128         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
46130 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
46132         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
46133         New variable.
46135 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
46137         * rt/tst-shm.c (worker): Correct checking for mmap failure.
46139 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
46141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46142         Fix sort order.
46143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
46144         Likewise.
46146 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
46148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46149         Fix the order of the list for glibc 2.17.
46150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
46151         Likewise.
46153 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
46155         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46157 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
46159         [BZ #14610]
46160         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
46161         for low part of x being zero before using __atanl (y).
46162         * math/libm-test.inc (atan2_test): Add another test.
46164         * manual/install.texi (Configuring and compiling): Document
46165         general use of test-wrapper and test-wrapper-env.
46166         * INSTALL: Regenerated.
46168         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
46169         (__fma): Do not extract and scale down low bits on after-rounding
46170         systems when result rounded to normal precision would have normal
46171         exponent.
46172         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
46173         (__fmal): Do not extract and scale down low bits on after-rounding
46174         systems when result rounded to normal precision would have normal
46175         exponent.
46176         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
46177         (__fmal): Do not extract and scale down low bits on after-rounding
46178         systems when result rounded to normal precision would have normal
46179         exponent.
46180         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
46181         macro.
46182         (fma_test): Add more tests.
46183         (fma_test_towardzero): Likewise.
46184         (fma_test_downward): Likewise.
46185         (fma_test_upward): Likewise.
46187 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
46189         * sysdeps/i386/tininess.h: Renamed to ...
46190         * sysdeps/x86/tininess.h: This.
46191         * sysdeps/x86_64/tininess.h: Removed.
46193 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
46195         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
46196         input.  Use $(build-program-cmd).
46197         ($(objpfx)tst-array1-static.out): Likewise.
46198         ($(objpfx)tst-array2.out): Likewise.
46199         ($(objpfx)tst-array3.out): Likewise.
46200         ($(objpfx)tst-array4.out): Likewise.
46201         ($(objpfx)tst-array5.out): Likewise.
46202         ($(objpfx)tst-array5-static.out): Likewise.
46204 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
46206         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
46207         if defined.
46209         * nss/nsswitch.h (nss_interface_function): Provide new
46210         macro for use with NSS functions.
46211         * grp/initgroups.c: Use new macro.
46212         * nss/getXXbyYY.c: Likewise.
46213         * nss/getXXbyYY_r.c: Likewise.
46214         * nss/getXXent.c: Likewise.
46215         * nss/getXXent_r.c: Likewise.
46216         * sysdeps/posix/getaddrinfo.c: Likewise.
46218 2012-10-30  Andreas Jaeger  <aj@suse.de>
46220         * po/ru.po: Update Russion translation from translation project.
46222 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
46224         [BZ #14152]
46225         [BZ #14783]
46226         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
46227         result and shift together with sticky bit instead of replicating
46228         round-to-nearest rounding.
46229         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
46230         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46231         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
46232         missing underflow exceptions.
46233         (fma_test_towardzero): Add more tests.
46234         (fma_test_downward): Likewise.
46235         (fma_test_upward): Likewise.
46237         [BZ #14047]
46238         * sysdeps/generic/tininess.h: New file.
46239         * sysdeps/i386/tininess.h: Likewise.
46240         * sysdeps/sh/tininess.h: Likewise.
46241         * sysdeps/x86_64/tininess.h: Likewise.
46242         * stdlib/tst-strtod-underflow.c: Likewise.
46243         * stdlib/tst-tininess.c: Likewise.
46244         * stdlib/strtod_l.c: Include <tininess.h>.
46245         (round_and_return): Do not set errno for exact underflow cases.
46246         Force an underflow exception when setting errno for underflow.
46247         Determine underflow based on rounding to normal precision if
46248         TININESS_AFTER_ROUNDING.
46249         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
46250         ERANGE for exact underflow cases.
46251         * stdlib/Makefile (tests): Add tst-tininess and
46252         tst-strtod-underflow.
46253         ($(objpfx)tst-tininess): Use $(link-libm).
46254         ($(objpfx)tst-strtod-underflow): Likewise.
46256 2012-10-30  Andreas Jaeger  <aj@suse.de>
46258         [BZ#14767]
46259         * elf/Makefile (tests): Remove conditional for have-initfini-array
46260         since this is now always required and the variable does not exist
46261         anymore.
46262         (tests-static): Likewise.
46263         (modules-names): Likewise.
46265         * po/eo.po: Add Esperanto translation from translation project.
46267         * elf/tst-array1.c (fini_array): Make writeable so that it can be
46268         merged with constructor/destructor.
46269         (init_array): Likewise.
46270         * elf/tst-array2dep.c (fini_array): Likewise.
46271         (init_array): Likewise.
46273 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
46275         * manual/message.texi: Delete @cartouche tags.
46277 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
46279         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
46280         EOPNOTSUPP.
46281         * sysdeps/mach/hurd/fsync.c: Likewise.
46283         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
46284         [_POSIX_REALTIME_SIGNALS]: Change condition to
46285         [_POSIX_REALTIME_SIGNALS > 0].
46287 2012-10-27  Andreas Jaeger  <aj@suse.de>
46289         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
46290         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
46291         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
46292         [__WORDSIZE != 64]: Likewise.
46294 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
46296         *  iconvdata/tst-table.sh: Remove ${SHELL}.
46297         *  iconvdata/tst-tables.sh: Likewise.
46299 2012-10-25  David S. Miller  <davem@davemloft.net>
46301         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46302         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
46303         of strtoull.
46305         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
46306         ifunc-impl-list.c
46307         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46308         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
46309         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
46310         file.
46312 2012-10-25  Roland McGrath  <roland@hack.frob.com>
46314         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46315         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
46316         __getdirentries.
46318 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
46319             Jim Blandy  <jimb@codesourcery.com>
46321         * scripts/cross-test-ssh.sh: New file.
46322         * manual/install.texi (Configuring and compiling): Document use of
46323         cross-test-ssh.sh.
46324         * INSTALL: Regenerated.
46326 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
46328         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
46329         EOPNOTSUPP.
46331 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
46333         * Makeconfig (run-program-prefix): Fix comment.
46335 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
46336             Jim Blandy  <jimb@codesourcery.com>
46338         * Makeconfig (test-wrapper): New variable,
46339         (test-wrapper-env): Likewise.
46340         [$(cross-compiling) = yes && $(test-wrapper) != ""]
46341         (run-built-tests): Define to yes.
46342         (run-program-prefix): Use $(test-wrapper).
46343         (built-program-cmd): Likewise.
46344         * Rules (make-test-out): Use $(test-wrapper-env) and
46345         $(host-built-program-cmd).
46346         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
46347         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
46348         tst-pathopt.sh.
46349         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
46350         $(test-wrapper-env) to tst-rtld-load-self.sh.
46351         ($(objpfx)order2.out): Use $(test-wrapper).
46352         ($(objpfx)tst-initorder.out): Likewise.
46353         ($(objpfx)tst-initorder2.out): Likewise.
46354         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
46355         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
46356         (test_wrapper_env): New variable.  Use it to run ld.so.
46357         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
46358         Use it to run ld.so.
46359         (test_wrapper_env): Likewise.
46360         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
46361         $(test-wrapper) to run-iconv-test.sh.
46362         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
46363         (ICONV): Use $test_wrapper.
46364         * posix/Makefile ($(objpfx)globtest.out): Pass
46365         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
46366         globtest.sh, not $(run-program-prefix).
46367         * posix/globtest.sh (run_via_rtld_prefix): New variable.
46368         (test_wrapper): Likewise.
46369         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
46370         set together with run_via_rtld_prefix.
46371         (run_program_prefix): Define in terms of test_wrapper and
46372         run_via_rtld_prefix.
46374 2012-10-24  Roland McGrath  <roland@hack.frob.com>
46376         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
46377         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
46378         Targets removed.
46380         [BZ #14743]
46381         * include/time.h: Remove librt_hidden_proto (clock_gettime).
46382         Declare __clock_getres, __clock_gettime, __clock_settime,
46383         __clock_nanosleep, and __clock_getcpuclockid.
46384         * rt/clock_gettime.c: Define __clock_gettime as an alias.
46385         Remove librt_hidden_def (clock_gettime).
46386         * sysdeps/unix/clock_gettime.c: Likewise.
46387         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
46388         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
46389         * rt/clock_getres.c: Define __clock_getres as an alias.
46390         * sysdeps/posix/clock_getres.c: Likewise.
46391         * rt/clock_settime.c: Define __clock_settime as an alias.
46392         * sysdeps/unix/clock_settime.c: Likewise.
46393         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
46394         * sysdeps/unix/clock_nanosleep.c: Likewise.
46395         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
46396         * rt/clock-compat.c: New file.
46397         * rt/Makefile (librt-routines): Add clock-compat and move
46398         $(clock-routines) to ...
46399         (routines): ... here, new variable.
46400         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
46401         Don't add get_clockfreq here.
46402         * rt/Versions (libc: GLIBC_2.17): New version set.
46403         Add clock_* symbols here.
46404         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
46405         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
46406         (GLIBC_2.17): Add clock_* symbols.
46407         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
46408         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
46409         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
46410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
46411         Likewise.
46412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46413         Likewise.
46414         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
46415         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
46416         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
46417         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
46418         * NEWS: Mention the move.
46420         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
46421         Use __open, __read, __close rather than their public counterparts.
46422         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46423         (__get_clockfreq_via_cpuinfo): Likewise.
46424         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
46425         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
46427         * config.h.in (HAVE_IFUNC): New #undef.
46428         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
46429         was successful.
46430         * configure: Regenerated.
46432 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
46434         * configure.in: Move READELF check to start of file.
46435         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
46436         libc_cv_asm_gnu_indirect_function in the process.
46437         * configure: Regenerated.
46439 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
46441         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
46442         send the output to /dev/null.
46443         (libc_cv_cc_with_libunwind): Likewise.
46444         (libc_cv_as_noexecstack): Likewise.
46445         * configure: Regenerate.
46447 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
46449         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
46451         * posix/globtest.sh (TMPDIR): Do not set.
46452         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
46453         (testout): Likewise.
46455 2012-10-24  Andreas Jaeger  <aj@suse.de>
46457         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
46458         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
46459         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
46460         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
46461         posix_fadvise64, posix_fallocate64.
46463         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
46464         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
46465         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
46466         Likewise.
46467         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
46468         Likewise.
46469         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
46471         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
46472         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
46473         <bits/fcntl-linux.h>.
46474         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
46476         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
46477         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
46478         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
46479         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
46480         [__WORDSIZE != 64]: Likewise.
46482 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
46484         * Makeconfig (run-built-tests): New variable.
46485         * Rules [$(cross-compiling) = yes]: Change condition to
46486         [$(run-built-tests) = no].
46487         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
46488         to [$(run-built-tests) = yes].
46489         * elf/Makefile [$(cross-compiling) = no]: Likewise
46490         * grp/Makefile [$(cross-compiling) = no]: Likewise.
46491         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
46492         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
46493         * intl/Makefile [$(cross-compiling) = no]: Likewise.
46494         * io/Makefile [$(cross-compiling) = no]: Likewise.
46495         * libio/Makefile [$(cross-compiling) = no]: Likewise.
46496         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
46497         * misc/Makefile [$(cross-compiling) = no]: Likewise.
46498         * posix/Makefile [$(cross-compiling) = no]: Likewise.
46499         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
46500         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
46501         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
46502         * string/Makefile [$(cross-compiling) = no]: Likewise.
46504         * posix/Makefile ($(objpfx)globtest.out): Pass
46505         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
46506         $(rtld-installed-name).
46507         * posix/globtest.sh (elf_objpfx): Remove variable.
46508         (rtld_installed_name): Likewise.
46509         (library_path): Likewise.
46510         (run_program_prefix): New variable.  Use for running globtest
46511         binary.
46513 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
46514             Joseph Myers  <joseph@codesourcery.com>
46516         * Makeconfig (host-built-program-cmd): New variable.
46517         * elf/Makefile (tst-stackguard1-ARGS): Use
46518         $(host-built-program-cmd).
46519         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
46520         (tst-spawn-ARGS): Likewise.
46521         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
46523 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
46524             Jim Blandy  <jimb@codesourcery.com>
46526         * Makeconfig (run-via-rtld-prefix): New variable.
46527         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
46528         (built-program-cmd): Likewise.
46530 2012-10-22  Andreas Jaeger  <aj@suse.de>
46532         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
46533         __O_RSYNC if it exists, otherwise to O_SYNC.
46535 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
46536             Joseph Myers  <joseph@codesourcery.com>
46538         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
46539         /dev/null.
46540         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
46541         from /dev/null
46542         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
46543         /dev/null.
46545 2012-10-22  Andreas Jaeger  <aj@suse.de>
46547         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
46548         Define always.
46549         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
46551         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46552         bits/fcntl-linux.h.
46554         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
46555         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
46557         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
46558         to __O_LARGEFILE.
46559         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
46560         to __O_LARGEFILE.
46562 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
46563             Joseph Myers  <joseph@codesourcery.com>
46565         * config.make.in (NM): New variable.
46567 2012-10-21  Andreas Jaeger  <aj@suse.de>
46569         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
46570         definitions and declarations that are provided by
46571         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
46573 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
46575         [BZ #14683]
46576         * elf/Makefile (tests-static): Add tst-leaks1-static.
46577         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
46578         ($(objpfx)tst-leaks1-static): New rule.
46579         ($(objpfx)tst-leaks1-static-mem): Likewise.
46580         (tst-leaks1-static-ENV): New macro.
46581         * elf/dl-open.c (dl_open_worker): Check the main application
46582         only if SHARED is defined.
46583         * elf/tst-leaks1-static.c: New file.
46585 2012-10-20  Andreas Jaeger  <aj@suse.de>
46587         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
46588         generic values for Linux.
46589         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
46590         and declarations that are provided by <bits/fcntl-linux.h> and
46591         include <bits/fcntl-linux.h>.
46592         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46593         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46595 2012-10-20  Roland McGrath  <roland@hack.frob.com>
46597         * io/fcntl.h: Move include of <bits/types.h> to the top and
46598         include it unconditionally.
46600 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
46602         * wcsmbs/Makefile (tests-ifunc): New variable.
46603         (tests): Add $(tests-ifunc).
46604         * wcsmbs/test-wcschr-ifunc.c: New file.
46605         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
46606         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
46607         * wcsmbs/test-wcslen-ifunc.c: Likewise.
46608         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
46609         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
46611         * string/Makefile (tests-ifunc): New variable.
46612         (tests): Add $(tests-ifunc).
46613         * string/test-memccpy.c (TEST_NAME): New macro.
46614         * string/test-memchr.c (TEST_NAME): Likewise.
46615         * string/test-memcmp.c (TEST_NAME): Likewise.
46616         * string/test-memcpy.c (TEST_NAME): Likewise.
46617         * string/test-memmem.c (TEST_NAME): Likewise.
46618         * string/test-memmove.c (TEST_NAME): Likewise.
46619         * string/test-memset.c (TEST_NAME): Likewise.
46620         * string/test-rawmemchr.c (TEST_NAME): Likewise.
46621         * string/test-stpcpy.c (TEST_NAME): Likewise.
46622         * string/test-stpncpy.c (TEST_NAME): Likewise.
46623         * string/test-strcasecmp.c (TEST_NAME): Likewise.
46624         * string/test-strcasestr.c (TEST_NAME): Likewise.
46625         * string/test-strcat.c (TEST_NAME): Likewise.
46626         * string/test-strchr.c (TEST_NAME): Likewise.
46627         * string/test-strcmp.c(TEST_NAME): Likewise.
46628         * string/test-strcpy.c (TEST_NAME): Likewise.
46629         * string/test-strcspn.c (TEST_NAME): Likewise.
46630         * string/test-strlen.c (TEST_NAME): Likewise.
46631         * string/test-strncasecmp.c (TEST_NAME): Likewise.
46632         * string/test-strncmp.c (TEST_NAME): Likewise.
46633         * string/test-strncpy.c (TEST_NAME): Likewise.
46634         * string/test-strnlen.c (TEST_NAME): Likewise.
46635         * string/test-strpbrk.c (TEST_NAME): Likewise.
46636         * string/test-strrchr.c (TEST_NAME): Likewise.
46637         * string/test-strspn.c (TEST_NAME): Likewise.
46638         * string/test-strstr.c (TEST_NAME): Likewise.
46639         * string/test-bcopy-ifunc.c: New file.
46640         * string/test-bzero-ifunc.c: Likewise.
46641         * string/test-memccpy-ifunc.c: Likewise.
46642         * string/test-memchr-ifunc.c: Likewise.
46643         * string/test-memcmp-ifunc.c: Likewise.
46644         * string/test-memcpy-ifunc.c: Likewise.
46645         * string/test-memmem-ifunc.c: Likewise.
46646         * string/test-memmove-ifunc.c: Likewise.
46647         * string/test-mempcpy-ifunc.c: Likewise.
46648         * string/test-memset-ifunc.c: Likewise.
46649         * string/test-rawmemchr-ifunc.c: Likewise.
46650         * string/test-stpcpy-ifunc.c: Likewise.
46651         * string/test-stpncpy-ifunc.c: Likewise.
46652         * string/test-strcasecmp-ifunc.c: Likewise.
46653         * string/test-strcasestr-ifunc.c: Likewise.
46654         * string/test-strcat-ifunc.c: Likewise.
46655         * string/test-strchr-ifunc.c: Likewise.
46656         * string/test-strchrnul-ifunc.c: Likewise.
46657         * string/test-strcmp-ifunc.c: Likewise.
46658         * string/test-strcpy-ifunc.c: Likewise.
46659         * string/test-strcspn-ifunc.c: Likewise.
46660         * string/test-strlen-ifunc.c: Likewise.
46661         * string/test-strncasecmp-ifunc.c: Likewise.
46662         * string/test-strncat-ifunc.c: Likewise.
46663         * string/test-strncmp-ifunc.c: Likewise.
46664         * string/test-strncpy-ifunc.c: Likewise.
46665         * string/test-strnlen-ifunc.c: Likewise.
46666         * string/test-strpbrk-ifunc.c: Likewise.
46667         * string/test-strrchr-ifunc.c: Likewise.
46668         * string/test-strspn-ifunc.c: Likewise.
46669         * string/test-strstr-ifunc.c: Likewise.
46671         * debug/Makefile (tests-ifunc): New variable.
46672         (tests): Add $(tests-ifunc).
46673         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
46674         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
46675         * debug/test-stpcpy_chk-ifunc.c: New file.
46676         * debug/test-strcpy_chk-ifunc.c: Likewise.
46678 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
46680         [BZ #13601]
46681         * elf/dl-load.c (open_verify): Retry read if the entire ELF
46682         header is not read in.
46684 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
46686         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
46687         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
46688         directly.  Pass built executable to script as
46689         $(built-program-cmd).
46690         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
46691         $testprogram without using LD_LIBRARY_PATH and $ldso.
46693         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
46694         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
46695         $(rtld-installed-name).
46696         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
46697         (rtld_installed_name): Likewise.
46698         (library_path): Likewise.
46699         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
46700         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
46701         $(run-program-prefix) to tst-tables.sh.
46702         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
46703         it to run tst-table-from and tst-table-to.
46704         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
46705         Pass it to tst-table.sh.
46706         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
46707         $(run-program-prefix) to tst-gettext.sh.
46708         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
46709         tst-translit.sh.
46710         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
46711         tst-gettext2.sh.
46712         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
46713         to run tst-gettext.
46714         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
46715         to run tst-gettext2.
46716         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
46717         to run tst-translit.
46718         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
46719         $(run-program-prefix) to tst-mtrace.sh.
46720         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
46721         to run tst-mtrace.
46722         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
46723         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
46724         $(rtld-installed-name).
46725         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
46726         (rtld_installed_name): Likewise.
46727         (run_program_prefix): New variable.  Use it to run wordexp-test.
46729         * Makeconfig (ARCH): Remove all definitions.
46730         (machine): Likewise.
46731         [ARCH]: Remove conditional code.
46732         [!objdir]: Give error.
46733         [!objdir] (objpfx): Remove.
46734         [!objdir] (common-objpfx): Likewise.
46735         [!objdir] (common-objdir): Likewise.
46736         * configure.in (config_makefile): Remove.  Hardcode Makefile in
46737         AC_CONFIG_FILES call.
46738         * configure: Regenerated.
46740         [BZ #13888]
46741         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
46742         or TMPDIR.
46743         (testout): Likewise.
46745         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
46746         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
46747         $(rtld-installed-name).
46748         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
46749         (rtld_installed_name): Likwise.
46750         (runit): Remove function.
46751         (run_getconf): New variable,  Use it for running getconf binary.
46753 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
46755         [BZ #14716]
46756         * string/test-memmem.c (check_result): New function.
46757         (do_one_test): Use it.
46758         (check1): New function.
46759         (test_main): Use it.
46761 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
46763         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
46765 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
46767         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
46768         (_G_LSEEK64): Likewise.
46769         (_G_MMAP64): Likewise.
46770         (_G_FSTAT64): Likewise.
46771         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
46772         (_G_LSEEK64): Likewise.
46773         (_G_MMAP64): Likewise.
46774         (_G_FSTAT64): Likewise.
46775         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
46776         unconditional.  Call __mmap64 directly.
46777         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
46778         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
46779         __lseek64 directly.
46780         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
46781         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
46782         __mmap64 directly.
46783         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
46784         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
46785         __lseek64 directly.
46786         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
46787         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
46788         __lseek64 directly.
46789         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
46790         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
46791         __lseek64 directly.
46792         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
46793         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
46794         __fxstat64 directly.
46795         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
46796         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
46797         unconditional.
46798         (freopen64) [!_G_OPEN64]: Remove conditional code.
46799         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
46800         unconditional.
46801         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
46802         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
46803         unconditional.
46804         (ftello64) [!_G_LSEEK64]: Remove conditional code.
46805         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
46806         unconditional.
46807         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
46808         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
46809         unconditional.
46810         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
46811         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
46812         unconditional.
46813         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
46814         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
46815         unconditional.
46816         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
46817         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
46818         unconditional.
46819         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
46821 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
46823         [BZ #12140]
46824         * manual/memory.texi (Malloc Tunable Parameters): Add note
46825         about free list pointers overwriting some perturb bytes.
46826         Wording suggested by Roland McGrath.
46828 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
46830         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
46831         (lgamma_test): Likewise.
46832         (tgamma_test): Likewise.
46834 2012-10-16  Florian Weimer  <fweimer@redhat.com>
46836         [BZ #14700]
46837         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
46838         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
46840 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
46842         * NEWS: Mention BZ #14716.
46843         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
46844         when removing AVAILABLE1_USES_J macro.
46846 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
46848         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
46849         (__bswap_64): __uint64_t for unsigned 64-bit int.
46851 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
46853         * include/string.h (memmem): Declare libc hidden alias.
46854         * string/memmem.c (memmem): Define libc hidden alias.
46855         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
46856         __read, __close instead of open, read, close.
46858 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
46860         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
46861         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
46862         global and hidden.
46863         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
46864         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
46865         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
46866         Likewise.
46867         (__rawmemchr_sse2): Likewise.
46868         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
46869         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
46870         (__strchr_sse2): Likewise.
46871         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
46872         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
46873         (__strcasecmp_sse2): Likewise.
46874         (__strncasecmp_sse2): Likewise.
46875         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
46876         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
46877         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
46878         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
46879         (__strrchr_sse2): Likewise.
46880         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
46881         ifunc-impl-list.c.
46882         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
46883         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
46884         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
46885         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
46886         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
46887         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
46888         * sysdeps/x86_64/multiarch/memset.S: Likewise.
46889         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
46890         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
46891         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
46892         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
46893         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
46894         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
46895         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
46896         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
46897         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
46898         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
46899         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
46900         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
46901         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
46902         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
46903         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
46904         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
46905         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
46906         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
46907         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46908         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
46909         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
46910         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
46911         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
46913         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
46914         global and hidden.
46915         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
46916         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
46917         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
46918         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
46919         Likewise.
46920         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
46921         Likewise.
46922         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
46923         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
46924         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
46925         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
46926         ifunc-impl-list.c.
46927         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
46928         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
46929         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
46930         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
46931         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
46932         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
46933         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
46934         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
46935         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
46936         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
46937         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
46938         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
46939         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
46940         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
46941         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
46942         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
46943         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
46944         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
46945         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
46946         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
46947         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46948         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
46949         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
46950         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
46951         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46952         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
46953         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
46954         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
46955         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
46956         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
46957         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
46958         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
46959         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
46960         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
46961         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
46962         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
46963         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
46964         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
46965         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
46966         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
46967         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
46969         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
46970         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
46971         * include/ifunc-impl-list.h: New file.
46972         * misc/ifunc-impl-list.c: Likewise.
46973         * misc/Makefile (routines): Add ifunc-impl-list.
46974         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
46975         * string/test-string.h: Include <ifunc-impl-list.h>.
46976         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
46977         TEST_NAME]: New variables.
46978         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
46979         are defined.
46980         (test_init): Call __libc_ifunc_impl_list to initialize
46981         func_list if TEST_IFUNC and TEST_NAME are defined.
46983         * string/Makefile (strop-tests): Add bcopy and bzero.
46984         * string/test-bcopy.c: New file.
46985         * string/test-bzero.c: Likewise.
46986         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
46987         defined.
46988         * string/test-memset.c: Support bzero test if TEST_BZERO is
46989         defined.
46990         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
46991         __libc_memmove.
46992         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
46993         __libc_memset.
46994         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
46995         of memset.
46997 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
46999         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
47000         * configure: Regenerated.
47002         * Makeconfig (+link-static-before-libc): Don't include
47003         $(link-static-libc).
47005         * libio/libio.h (_IO_pos_t): Remove.
47007 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
47009         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
47010         McGrath.
47012 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
47014         * crypt/crypt-entry.c: Include fips-private.h.
47015         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
47016         * crypt/md5c-test.c (main): Tolerate disabled MD5.
47017         * sysdeps/unix/sysv/linux/fips-private.h: New file.
47018         * sysdeps/generic/fips-private.h: New file, dummy fallback.
47020 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
47022         * crypt/crypt-private.h: Include stdbool.h.
47023         (_ufc_setup_salt_r): Return bool.
47024         * crypt/crypt-entry.c: Include errno.h.
47025         (__crypt_r): Return NULL with EINVAL for bad salt.
47026         * crypt/crypt_util.c (bad_for_salt): New.
47027         (_ufc_setup_salt_r): Check that salt is long enough and within
47028         the specified alphabet.
47029         * crypt/badsalttest.c: New file.
47030         * crypt/Makefile (tests): Add it.
47031         ($(objpfx)badsalttest): New.
47033 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
47035         * NEWS: Add entry for BZ #14602.
47037 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
47039         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
47040         type-generic.
47041         * math/libm-test.inc: Update comment listing what functions and
47042         macros are tested.
47043         (isgreater_test): New function.
47044         (isgreaterequal_test): Likewise.
47045         (isless_test): Likewise.
47046         (islessequal_test): Likewise.
47047         (islessgreater_test): Likewise.
47048         (isunordered_test): Likewise.
47049         (main): Call the new functions.
47051 2012-10-09  Roland McGrath  <roland@hack.frob.com>
47053         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
47054         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
47055         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
47056         * sysdeps/i386/configure: Regenerated.
47057         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
47058         * sysdeps/mach/configure: Regenerated.
47059         * sysdeps/mach/hurd/configure: Regenerated.
47060         * sysdeps/powerpc/configure: Regenerated.
47061         * sysdeps/powerpc/powerpc32/configure: Regenerated.
47062         * sysdeps/powerpc/powerpc64/configure: Regenerated.
47063         * sysdeps/s390/s390-32/configure: Regenerated.
47064         * sysdeps/s390/s390-64/configure: Regenerated.
47065         * sysdeps/sh/configure: Regenerated.
47066         * sysdeps/sparc/configure: Regenerated.
47067         * sysdeps/unix/sysv/linux/configure: Regenerated.
47068         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
47069         * sysdeps/x86_64/configure: Regenerated.
47071         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
47072         defined.  Don't check if MAP is NULL.
47074 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
47076         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
47077         (_G_stat64): Likewise.
47078         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
47079         (_G_stat64): Likewise.
47080         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
47081         instead of struct _G_stat64.
47082         * libio/fileops.c (mmap_remap_check): Likewise.
47083         (decide_maybe_mmap): Likewise.
47084         (_IO_new_file_seekoff): Likewise.
47085         (_IO_file_stat): Likewise.
47086         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
47087         _G_off64_t.
47088         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
47089         instead of struct _G_stat64.
47090         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
47092 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
47094         [BZ #14602]
47095         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
47096         Replace with ...
47097         (CHECK_EOL): New macro.
47098         (two_way_short_needle): Check beginning of haystack for EOL.  Use
47099         CHECK_EOL.
47100         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
47101         Replace with CHECK_EOL.
47102         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
47103         Replace with CHECK_EOL.
47105 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
47107         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
47108         type-generic.
47109         * math/libm-test.inc: Update comment listing what functions and
47110         macros are tested.
47111         (finite_test): New function.
47112         (isinf_test): Likewise.
47113         (isnan_test): Likewise.
47114         (fpclassify_test): Test subnormal input.
47115         (isfinite_test): Likewise.
47116         (isnormal_test): Likewise.
47117         (main): Call the new functions.
47119 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
47121         [BZ #14660]
47122         * Makerules (%.dynsym): Force C locale when running
47123         $(OBJDUMP) --dynamic-syms.
47125 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
47127         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
47128         <stdint.h>.
47130 2012-10-06  David S. Miller  <davem@davemloft.net>
47132         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
47133         upper 32-bits of the length value in %o2 since we use branch-on-register
47134         tests which consider the entire 64-bit register.
47136 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
47138         * string/test-strstr.c (check2): Add a test for page boundary.
47140 2012-10-05  David S. Miller  <davem@davemloft.net>
47142         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
47143         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
47144         file.
47145         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
47146         sysdep_routines.
47147         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
47148         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
47149         and bzero when HWCAP_SPARC_CRYPTO is present.
47151 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
47153         [BZ #14602]
47154         * string/test-strstr.c (check2): New function.
47155         (test_main): Call check2.
47157         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
47158         and bug-strchr1.
47159         * string/bug-strcasestr1.c (do_test): Moved to ...
47160         * string/test-strcasestr.c (check1): Here.  New function.
47161         (do_one_test): Break out result checking code into ...
47162         (check_result): This.  New function.
47163         (do_one_test): Call check_result.
47164         (test_main): Call check1.
47165         * string/bug-strchr1.c (do_test): Moved to ...
47166         * string/test-strchr.c (check1): Here.  New function.
47167         (do_one_test): Break out result checking code into ...
47168         (check_result): This.  New function.
47169         (do_one_test): Call check_result.
47170         (test_main): Call check1.
47171         * string/bug-strstr1.c (main): Moved to ...
47172         * string/test-strstr.c (check1): Here.  New function.
47173         (do_one_test): Break out result checking code into ...
47174         (check_result): This.  New function.
47175         (do_one_test): Call check_result.
47176         (test_main): Call check1.
47177         * string/bug-strcasestr1.c: Removed.
47178         * string/bug-strchr1.c: Likewise.
47179         * string/bug-strstr1.c: Likewise.
47181         * elf/Makefile (dl-routines): Add hwcaps.
47182         * elf/dl-support.c (_dl_important_hwcaps): Removed.
47183         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
47184         (_dl_important_hwcaps): Moved to ...
47185         * elf/dl-hwcaps.c: Here.  New file.
47186         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
47188         [BZ #14557]
47189         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
47190         if IS_IN_rtld isn't defined.
47192         * elf/dl-support.c (_dl_sysinfo_map): New.
47193         Include "get-dynamic-info.h" and "setup-vdso.h".
47194         (_dl_non_dynamic_init): Call setup_vdso.
47195         * elf/dynamic-link.h: Don't include <assert.h>.
47196         (elf_get_dynamic_info): Moved to ...
47197         * elf/get-dynamic-info.h: Here.  New file.
47198         * elf/dynamic-link.h: Include "get-dynamic-info.h".
47199         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
47200         * elf/setup-vdso.h: Here.  New file.
47201         * elf/rtld.c: Include "setup-vdso.h".
47202         (dl_main): Call setup_vdso.
47204 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
47206         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
47207         creal in comment listing functions tested.  List finite, isinf,
47208         isnan, isless, islessequal, isgreater, isgreaterequal,
47209         islessgreater, isunordered, lgamma_r and pow10 as functions and
47210         macros not tested.  Mention which functions not tested are aliases
47211         for other functions.  Fix typo.  Note that signs of NaNs are not
47212         tested.
47214         * scripts/config.guess: Update from config.git.
47215         * scripts/config.sub: Likewise.
47217 2012-10-04  Roland McGrath  <roland@hack.frob.com>
47219         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
47220         * misc/madvise.c (madvise): Renamed to __madvise.
47221         Make madvise a weak alias.
47222         * include/sys/mman.h: Declare __madvise.
47223         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
47224         * sysdeps/unix/syscalls.list
47225         (madvise): Make __madvise the strong name, and madvise a weak alias.
47226         * sysdeps/unix/sysv/linux/syscalls.list
47227         (madvise, mmap): Remove redundant entries.
47228         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
47229         * malloc/malloc.c (mtrim): Likewise.
47230         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
47232 2012-10-03  Roland McGrath  <roland@hack.frob.com>
47234         * sysdeps/mach/hurd/dl-cache.c: File removed.
47235         * config.h.in (USE_LDCONFIG): New #undef.
47236         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
47237         * configure: Regenerated.
47238         * elf/Makefile (dl-routines): Add dl-cache only under
47239         [$(use-ldconfig) = yes].
47240         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
47241         cache on [USE_LDCONFIG].
47242         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
47243         [USE_LDCONFIG].
47244         * elf/rtld.c (dl_main): Likewise.
47246 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
47248         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
47249         _SC_LEVEL4_CACHE_LINESIZE.
47251 2012-10-03  Roland McGrath  <roland@hack.frob.com>
47253         * sysdeps/unix/bsd/confstr.h: File removed.
47255 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
47257         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
47258         sys/sdt-config.h.
47260 2012-10-02  Roland McGrath  <roland@hack.frob.com>
47262         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
47263         Make 'mapoff' field ElfW(Off) rather than off_t.
47265 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
47267         * nscd/Makefile: Remove nscd-cflags and all its users.
47268         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
47269         (CFLAGS-nonlib): Add compiler flags for nscd modules.
47271         [BZ #10631]
47272         * malloc.c (malloc_printerr): Clarify error message.
47274 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
47276         [BZ #14648]
47277         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47278         Set bit_FMA_Usable if FMA is supported.
47279         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
47280         macro.
47281         (bit_FMA4_Usable): Updated.
47282         (index_FMA_Usable): New macro.
47283         (CPUID_FMA): Likewise
47284         (HAS_FMA): Defined with bit_FMA_Usable.
47286 2012-10-01  Roland McGrath  <roland@hack.frob.com>
47288         * bits/types.h (__swblk_t): Type removed.
47289         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
47290         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
47291         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47292         (__SWBLK_T_TYPE): Likewise.
47293         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
47294         (__SWBLK_T_TYPE): Likewise.
47295         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47296         (__SWBLK_T_TYPE): Likewise.
47297         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47298         (__SWBLK_T_TYPE): Likewise.
47300 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
47301             Honza Horak <hhorak@redhat.com>
47303         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
47304         (xdr_mapname): Use YPMAXMAP as maxsize.
47305         (xdr_peername): Use YPMAXPEER as maxsize.
47306         (xdr_keydat): Use YPAXRECORD as maxsize.
47307         (xdr_valdat): Use YPMAXRECORD as maxsize.
47309 2012-10-01  Roland McGrath  <roland@hack.frob.com>
47311         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
47313         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
47314         * csu/init-first.c: ... here.
47315         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
47316         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
47317         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
47318         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
47319         * sysdeps/i386/init-first.c: File removed.
47320         * sysdeps/sh/init-first.c: File removed.
47322 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
47324         [BZ #14645]
47325         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
47326         if x * y might underflow to zero and z is zero.
47327         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
47328         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
47329         * math/libm-test.inc (min_subnorm_value): New variable.
47330         (fma_test): Add more tests.
47331         (fma_test_towardzero): Likewise.
47332         (fma_test_downward): Likewise
47333         (fma_test_upward): Likewise.
47334         (initialize): Set min_subnorm_value.
47336 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
47338         [BZ #14638]
47339         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
47340         0 + 0.
47341         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
47342         mode for addition resulting in exact zero.
47343         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
47344         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
47345         exact 0 + 0.
47346         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
47347         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
47348         * math/libm-test.inc (fma_test): Add more tests.
47349         (fma_test_towardzero): New function.
47350         (fma_test_downward): Likewise.
47351         (fma_test_upward): Likewise.
47352         (main): Call the new functions.
47354 2012-09-28  David S. Miller  <davem@davemloft.net>
47356         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
47358 2012-09-28  Roland McGrath  <roland@hack.frob.com>
47360         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
47361         instead of SIGALRM.
47363         * sysdeps/gnu/_G_config.h: Moved to ...
47364         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
47365         * sysdeps/mach/hurd/_G_config.h: Moved to ...
47366         * sysdeps/generic/_G_config.h: ... here.
47368         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
47370         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
47372         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
47373         Conditionalize target on [libnss_test1.so-version].
47375         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
47377         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
47378         (elfobjdir): Move out of conditionals.
47380         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
47381         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
47382         (__nss_lookup_function): Conditionalize label remove_from_tree on
47383         [!DO_STATIC_NSS || SHARED], matching its only use.
47385 2012-09-28  David S. Miller  <davem@davemloft.net>
47387         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
47388         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
47389         file.
47390         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
47391         sysdep_routines.
47392         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
47393         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
47394         when HWCAP_SPARC_CRYPTO is present.
47396 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
47398         * io/tst-mknodat.c: Create a FIFO instead of a socket.
47400 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
47402         [BZ #6530]
47403         * stdio-common/vfprintf.c (process_string_arg): Revert
47404         2000-07-22 change.
47406 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
47408         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
47409         for testcase.
47410         * stdio-common/tst-sprintf.c: Include <locale.h>
47411         (main): Test sprintf's handling of incomplete multibyte
47412         characters.
47414 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
47416         * elf/dl-runtime.c (VERSYMIDX): Removed.
47417         * elf/dl-version.c (VERSYMIDX): Likewise.
47418         * elf/do-rel.h (VERSYMIDX): Likewise.
47419         (VALIDX): Likewise.
47420         * elf/dynamic-link.h (VERSYMIDX): Likewise.
47421         * elf/rtld.c (VALIDX): Likewise.
47422         (ADDRIDX): Likewise.
47423         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
47424         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
47425         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
47426         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
47427         (VALIDX): Likewise.
47428         (ADDRIDX): Likewise.
47430 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
47432         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
47434 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
47436         [BZ #11438]
47437         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
47438         to global scope.
47439         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
47440         addresses are in the same scope as 192.0.2/24.
47441         * posix/gai.conf: Document new scope table defaults.
47443 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47445         [BZ #5298]
47446         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
47447         for ftell.  Compute offsets from write pointers instead.
47448         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
47450 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47452         [BZ #14543]
47453         * libio/Makefile (tests): New test case tst-fseek.
47454         * libio/tst-fseek.c: New test case to verify that fseek/ftell
47455         combination works in wide mode.
47456         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
47457         state when the external buffer state changes.
47459 2012-09-27  David S. Miller  <davem@davemloft.net>
47461         [BZ #14376]
47462         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
47463         pass reloc->r_addend in as the 'high' argument to
47464         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
47466         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47468 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
47470         * rt/tst-aio2.c: Include <pthread.h>.
47471         * rt/tst-aio3.c: Likewise.
47473 2012-09-27  Steve Ellcey  <sellcey@mips.com>
47475         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
47477 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
47479         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
47480         contents on [SHARED].
47482 2012-09-26  Marek Polacek  <polacek@redhat.com>
47484         [BZ #14530]
47485         [BZ #13741]
47486         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
47487         for C++ and GCC <4.3 as well as for non GCC compilers.
47489 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
47491         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47493 2012-09-25  Roland McGrath  <roland@hack.frob.com>
47495         * Makefile.in (all, install): Declare with .PHONY.
47496         Reported by Michael Hope <michael.hope@linaro.org>.
47498 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47500         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
47501         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
47502         system header.
47503         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
47504         Likewise.
47505         (sydep_routines): Add the new and the internal functions.
47506         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
47507         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
47508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
47509         (GLIBC_2.17): Add the new function.
47510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
47511         (GLIBC_2.17): Likewise.
47512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
47513         (GLIBC_2.17): Likewise.
47514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
47515         (GLIBC_2.17): Likewise.
47516         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
47518 2012-09-25  Alan Modra  <amodra@gmail.com>
47520         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
47521         Add release barrier before setting once_control to say
47522         initialisation is done.  Add hints on lwarx.  Use macro in
47523         place of isync.
47524         (clear_once_control): Add release barrier.
47526 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
47528         [BZ #13629]
47529         * math/s_clog.c (__clog): Handle more values close to |z| = 1
47530         specially.
47531         * math/s_clog10.c (__clog10): Likewise.
47532         * math/s_clog10f.c (__clog10f): Likewise.
47533         * math/s_clog10l.c (__clog10l): Likewise.
47534         * math/s_clogf.c (__clogf): Likewise.
47535         * math/s_clogl.c (__clogl): Likewise.
47536         * math/Makefile (libm-calls): Add x2y2m1.
47537         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
47538         (__x2y2m1): Likewise.
47539         (__x2y2m1l): Likewise.
47540         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
47541         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
47542         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
47543         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
47544         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
47545         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
47546         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
47547         * sysdeps/i386/fpu/libm-test-ulps: Update.
47548         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47550         [BZ #14621]
47551         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
47552         int as type of variable DEPTH.
47553         (glob): Use size_t instead of int as type of variables NEWCOUNT
47554         and OLD_PATHC.
47556 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47558         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
47559         Add s_sincosf-sse2.
47560         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
47561         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
47562         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
47563         macros for using routine as __sincosf_ia32.
47564         Use macro for function declaration and weak_alias.
47565         * sysdeps/i386/fpu/libm-test-ulps: Update.
47567         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
47568         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47570         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
47571         subnormal argument.
47572         * math/s_cexpf.c (__cexpf): Likewise.
47573         * math/s_csinf.c (__csinf): Likewise.
47574         * math/s_csinhf.c (__csinhf): Likewise.
47575         * math/s_ctanf.c (__ctanf): Likewise.
47576         * math/s_ctanhf.c (__ctanhf): Likewise.
47577         * math/s_ccosh.c (__ccoshf): Likewise.
47578         * math/s_cexp.c (__cexpl): Likewise.
47579         * math/s_csin.c (__csin): Likewise.
47580         * math/s_csinh.c (__csinh): Likewise.
47581         * math/s_ctan.c (__ctan): Likewise.
47582         * math/s_ctanh.c (ctanh): Likewise.
47583         * math/s_ccoshl.c (__ccoshl): Likewise.
47584         * math/s_cexpl.c (__cexpl): Likewise.
47585         * math/s_csinl.c (__csinl): Likewise.
47586         * math/s_csinhl.c (__csinhl): Likewise.
47587         * math/s_ctanl.c (__ctanl): Likewise.
47588         * math/s_ctanhl.c (__ctanhl): Likewise.
47590 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
47592         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
47593         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
47594         (_IO_off_t): Define to __off_t, not _G_off_t.
47595         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
47596         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
47597         (_IO_wint_t): Define to wint_t, not _G_wint_t.
47598         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
47599         type of __dummy and __dummy2 fields.
47600         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
47601         (_G_ssize_t): Likewise.
47602         (_G_off_t): Likewise.
47603         (_G_pid_t): Likewise.
47604         (_G_uid_t): Likewise.
47605         (_G_wchar_t): Likewise.
47606         (_G_wint_t): Likewise.
47607         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
47608         (_G_ssize_t): Likewise.
47609         (_G_off_t): Likewise.
47610         (_G_pid_t): Likewise.
47611         (_G_uid_t): Likewise.
47612         (_G_wchar_t): Likewise.
47613         (_G_wint_t): Likewise.
47614         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
47615         (_G_ssize_t): Likewise.
47616         (_G_off_t): Likewise.
47617         (_G_pid_t): Likewise.
47618         (_G_uid_t): Likewise.
47619         (_G_wchar_t): Likewise.
47620         (_G_wint_t): Likewise.
47622 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
47624         * malloc/arena.c: Include malloc-sysdep.h.
47625         (shrink_heap): Use check_may_shrink_heap to decide if madvise
47626         is sufficient to shrink the heap or an unmap is needed.
47627         * sysdeps/generic/malloc-sysdep.h: New file.  Define
47628         new function check_may_shrink_heap.
47629         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
47630         new function check_may_shrink_heap.
47632 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
47634         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
47635         comments.
47637 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
47639         * catgets/test-gencat.sh: Add "set -e".
47640         * elf/tst-pathopt.sh: Likewise.
47641         * grp/tst_fgetgrent.sh: Likewise.
47642         * iconvdata/run-iconv-test.sh: Likewise.
47643         * intl/tst-gettext.sh: Likewise.
47644         * intl/tst-gettext2.sh: Likewise.
47645         * intl/tst-gettext4.sh: Likewise.
47646         * intl/tst-gettext6.sh: Likewise.
47647         * intl/tst-translit.sh: Likewise.
47648         * io/ftwtest-sh: Likewise.
47649         * libio/test-freopen.sh: Likewise.
47650         * malloc/tst-mtrace.sh: Likewise.
47651         * posix/globtest.sh: Likewise.
47652         * posix/tst-getconf.sh: Likewise.
47653         * posix/wordexp-tst.sh: Likewise.
47654         * stdio-common/tst-printf.sh: Likewise.
47655         * stdio-common/tst-unbputc.sh: Likewise.
47656         * stdlib/tst-fmtmsg.sh: Likewise.
47657         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
47658         * catgets/Makefile: Do not specify -e option when running
47659         testsuite shell scripts.
47660         * elf/Makefile: Likewise.
47661         * grp/Makefile: Likewise.
47662         * iconvdata/Makefile: Likewise.
47663         * intl/Makefile: Likewise.
47664         * io/Makefile: Likewise.
47665         * libio/Makefile: Likewise.
47666         * malloc/Makefile: Likewise.
47667         * posix/Makefile: Likewise.
47668         * stdio-common/Makefile: Likewise.
47669         * stdlib/Makefile: Likewise.
47670         * sysdeps/x86_64/Makefile: Likewise.
47672         * io/ftwtest-sh: Add copyright header.
47673         * posix/globtest.sh: Likewise.
47674         * posix/tst-getconf.sh: Likewise.
47675         * posix/wordexp-tst.sh: Likewise.
47676         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
47678 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
47680         [BZ #13679]
47681         * Makeconfig (+link): Defined as $(+link-static) if
47682         $(build-shared) isn't yes.
47683         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
47684         isn't yes.
47685         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
47687         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
47689         [BZ #14562]
47690         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
47691         new chunk size with MALLOC_ALIGN_MASK.
47693 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
47695         [BZ #5044]
47696         * stdio-common/printf_fphex.c: Include <stdbool.h> and
47697         <rounding-mode.h>.
47698         (__printf_fphex): Determine rounding using get_rounding_mode and
47699         round_away.
47700         * stdio-common/tst-printf-round.c (struct hex_test): New
47701         structure.
47702         (hex_tests): New variable.
47703         (test_hex_in_one_mode): New function.
47704         (do_test): Also run tests for hex float output.
47706 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
47708         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
47709         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
47710         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
47711         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
47712         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
47713         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
47714         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
47715         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
47717 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
47719         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
47720         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
47721         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
47722         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
47724 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
47726         [BZ #14579]
47727         * elf/rtld.c (dl_main): Limit the check for self loading to normal
47728         mode only.
47729         * elf/tst-rtld-load-self.sh: New test.
47730         * elf/Makefile: Run it.
47732 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
47734         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
47735         (tst-writev-ENV): Remove.
47736         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
47738 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
47740         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
47742 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
47744         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
47745         unconditional.
47746         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
47747         Likewise.
47748         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
47749         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
47750         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
47751         Likewise.
47753 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
47755         [BZ #14587]
47756         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
47757         * config.make.in (have-cpp-asm-debuginfo): Removed.
47758         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
47759         * configure: Regenerated.
47761 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
47763         [BZ #5044]
47764         * stdio-common/printf_fp.c: Include <stdbool.h> and
47765         <rounding-mode.h>.
47766         (___printf_fp): Determine rounding using get_rounding_mode and
47767         round_away.
47768         * stdio-common/tst-printf-round.c: New file.
47769         * stdio-common/Makefile (tests): Add tst-printf-round.
47770         (link-libm): New variable.
47771         ($(objpfx)tst-printf-round): Depend in $(link-libm).
47773 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
47775         [BZ #14576]
47776         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
47777         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
47778         Likewise.
47779         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
47780         Likewise.
47782 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
47784         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
47785         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
47786         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
47787         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
47789 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
47791         [BZ #14518]
47792         * include/rounding-mode.h: New file.
47793         * sysdeps/generic/get-rounding-mode.h: Likewise.
47794         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
47795         * stdlib/strtod_l.c: Include <rounding-mode.h>.
47796         (MAX_VALUE): New macro.
47797         (MIN_VALUE): Likewise.
47798         (overflow_value): New function.
47799         (underflow_value): Likewise.
47800         (round_and_return): Use overflow_value and underflow_value to
47801         determine return values in overflow and underflow cases.  Use
47802         round_away to determine rounding depending on rounding mode.
47803         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
47804         determine return values in overflow and underflow cases.
47805         * stdlib/tst-strtod-round.c: Include <fenv.h>.
47806         (struct test_results): New structure.
47807         (struct test): Use struct test_results to store expected results
47808         for all rounding modes.
47809         (TEST): Include expected results for all rounding modes.
47810         (test_in_one_mode): New function.
47811         (do_test): Use test_in_one_mode to compute and check results.
47812         Check results for all rounding modes.
47813         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
47814         $(link-libm).
47816 2012-12-09  Allan McRae  <allan@archlinux.org>
47818         * sysdeps/i386/fpu/libm-test-ulps: Update
47820 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
47822         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
47823         (_G_int32_t): Likewise.
47824         (_G_uint16_t): Likewise.
47825         (_G_uint32_t): Likewise.
47826         (_G_HAVE_BOOL): Likewise.
47827         (_G_HAVE_ATEXIT): Likewise.
47828         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
47829         (_G_HAVE_IO_FILE_OPEN): Likewise.
47830         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
47831         (_G_int32_t): Likewise.
47832         (_G_uint16_t): Likewise.
47833         (_G_uint32_t): Likewise.
47834         (_G_HAVE_BOOL): Likewise.
47835         (_G_HAVE_ATEXIT): Likewise.
47836         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
47837         (_G_HAVE_IO_FILE_OPEN): Likewise.
47838         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
47839         (_G_int32_t): Likewise.
47840         (_G_uint16_t): Likewise.
47841         (_G_uint32_t): Likewise.
47842         (_G_HAVE_BOOL): Likewise.
47843         (_G_HAVE_ATEXIT): Likewise.
47844         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
47845         (_G_HAVE_IO_FILE_OPEN): Likewise.
47847 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
47849         * csu/libc-tls.c: Update copyright years.
47851 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
47853         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
47854         [!_G_USING_THUNKS]: Remove conditional code.
47855         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
47856         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
47858         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
47859         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
47860         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
47861         (_G_VTABLE_LABEL_PREFIX): Likewise.
47862         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
47863         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
47864         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
47865         (_G_VTABLE_LABEL_PREFIX): Likewise.
47866         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
47867         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
47868         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
47869         (_G_VTABLE_LABEL_PREFIX): Likewise.
47870         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
47872 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
47874         * libio/Makefile: Include ../Makeconfig before tests.
47875         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
47876         only if $(build-shared) is yes.
47878         * iconv/gconv_db.c: Update copyright years.
47880 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47882         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
47883         unwind info if defined PIC. Fix special cases description.
47884         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
47886         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
47887         DP_HI_MASK entry.
47888         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
47890 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
47892         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
47894         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
47895         is NULL.
47897         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
47898         (LDLIBS-tst-chk4): This.
47899         (LDFLAGS-tst-chk5): Renamed to ...
47900         (LDLIBS-tst-chk5): This.
47901         (LDFLAGS-tst-chk6): Renamed to ...
47902         (LDLIBS-tst-chk6): This.
47903         (LDFLAGS-tst-lfschk4): Renamed to ...
47904         (LDLIBS-tst-lfschk4): This.
47905         (LDFLAGS-tst-lfschk5): Renamed to ...
47906         (LDLIBS-tst-lfschk5): This.
47907         (LDFLAGS-tst-lfschk6): Renamed to ...
47908         (LDLIBS-tst-lfschk6): This.
47910         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
47911         on $(common-objpfx)soversions.mk.
47913 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
47915         [BZ #10014]
47916         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
47917         example host name.
47919 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
47921         * malloc/arena.c (arena_get_retry): New function that gets
47922         another arena for the caller to try its request on.
47923         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
47924         current arena cannot fulfill the request.
47925         (__libc_memalign): Likewise.
47926         (__libc_memalign): Likewise.
47927         (__libc_pvalloc): Likewise.
47928         (__libc_calloc): Likewise.
47930 2012-09-05  John Tobey  <john.tobey@gmail.com>
47932         [BZ #13542]
47933         * manual/arith.texi (Operations on Complex): Fix description
47934         of carg branch cut.
47936 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
47938         [BZ #10014]
47939         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
47940         host name.
47942         [BZ #10038]
47943         * manual/memory.texi (Memory): Make order of menu items match
47944         order of sections.
47946 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
47948         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
47949         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
47950         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
47952 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
47954         * csu/libc-tls.c (static_dtv): Renamed to ...
47955         (_dl_static_dtv): This.  Make it global.
47956         (_dl_initial_dtv): Removed.
47957         (__libc_setup_tls): Updated.
47958         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
47959         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
47960         DL_INITIAL_DTV.
47962 2012-09-06  Petr Machata  <pmachata@redhat.com>
47964         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
47965         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
47966         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
47967         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
47969 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
47971         [BZ #14545]
47972         * csu/libc-tls.c (_dl_initial_dtv): New variable.
47973         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
47974         freeing dtv[-1].
47976 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
47978         [BZ #14544]
47979         * Makeconfig (link-static-before-libc): Replace $(+prector)
47980         with $(+prectorT).
47981         (link-static-after-libc): Replace $(+postctor) with
47982         $(+postctorT).
47983         (link-bounded): Replace $(+prector)/$(+postctor) with
47984         $(+prectorT)/$(+postctorT).
47985         (+prectorT): New macro.
47986         (+postctorT): Likewise.
47988 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
47990         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
47991         (round_str): Handle values above the maximum for IBM long double
47992         as inexact.
47993         * stdlib/tst-strtod-round.c (tests): Regenerated.
47995 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47997         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
47998         assembler flag.
47999         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
48000         zarch_nohighgprs around the zarch optimized routines.
48001         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
48002         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
48003         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
48004         for zarch.
48006 2012-09-05  David S. Miller  <davem@davemloft.net>
48008         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48010         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
48011         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
48012         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
48013         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
48014         entries.
48016 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
48018         * malloc/arena.c: Fold copyright years.
48019         * malloc/mcheck.c, malloc/memusage.c: Likewise.
48021 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
48023         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
48025 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
48027         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
48029 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
48031         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
48032         change internal state upon failure.
48034 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
48036         * malloc/mcheck.c (mcheck_check_all): Fix typo.
48037         * malloc/memusage.c (mmap): Likewise.
48038         (mmap64, mremap): Likewise.  Adjust name in comment.
48040 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
48042         * libio/fileops.c: Fix typos in comments.
48043         * libio/oldfileops.c: Likewise.
48044         * libio/wfileops.c: Likewise.
48046 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
48048         [BZ #1349]
48049         * malloc/Makefile (tests): Add tst-malloc-usable test case.
48050         (tst-malloc-usable-ENV): Set environment for test case.
48051         * malloc/hooks.c (malloc_check_get_size): New function to get
48052         requested size.
48053         * malloc/malloc.c (musable): Use malloc_check_get_size.
48054         * malloc/tst-malloc-usable.c: New test case.
48056 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
48058         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
48060 2012-09-05  Allan McRae  <allan@archlinux.org>
48062         [BZ #13966]
48063         * configure.in (CXX_SYSINCLUDES): Use compiler output to
48064         determine header location.
48065         * configure: Regenerated.
48067 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
48069         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
48070         float format.
48071         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
48072         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
48073         format.
48074         (test): Regenerate.
48076 2012-09-04  David S. Miller  <davem@davemloft.net>
48078         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
48079         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
48080         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
48082 2012-09-04  Florian Weimer  <fweimer@redhat.com>
48084         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
48085         failures.
48087         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
48089 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
48091         [BZ #9914]
48092         * libio/iogetdelim.c: Include <limits.h>.
48093         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
48094         + len + 1 would overflow.
48096 2012-09-03  Andreas Jaeger  <aj@suse.de>
48098         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48099         * sysdeps/i386/fpu/libm-test-ulps: Update.
48101 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48103         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
48104         Add s_sinf-sse2, s_conf-sse2.
48106         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
48107         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
48108         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
48109         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
48111         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
48112         for using routine as __sinf_ia32.
48113         Use macro for function declaration and weak_alias.
48114         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
48115         for using routine as __cosf_ia32.
48116         Use macro for function declaration and weak_alias.
48118         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
48119         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
48121         * sysdeps/x86_64/fpu/s_sinf.S: New file.
48122         * sysdeps/x86_64/fpu/s_cosf.S: New file.
48123         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48125         * math/libm-test.inc (cos_test): Add more test cases.
48126         (sin_test): Likewise.
48127         (sincos_test): Likewise.
48129 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48131         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
48132         (IFUNC_RESOLVE): Make pointers to the specialized implementations
48133         hidden.
48134         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
48136 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
48138         [BZ #14538]
48139         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
48140         first element of the GOT.
48141         (elf_machine_load_address): Return the difference between
48142         the runtime address of _DYNAMIC and elf_machine_dynamic ().
48144 2012-09-01  Allan McRae  <allan@archlinux.org>
48146         [BZ #13412]
48147         * configure.in (AWK): Require gawk version 3.0 or later.
48148         * configure: Regenerated.
48150 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
48152         * sysdeps/unix/sysv/linux/kernel-features.h
48153         (__ASSUME_POSIX_CPU_TIMERS): Remove.
48154         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
48155         [__NR_clock_getres]: Make code unconditional.
48156         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
48157         (clock_getcpuclockid): Remove code left unreachable by removal of
48158         conditionals.
48159         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
48160         code unconditional.
48161         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
48162         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
48163         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
48164         Make code unconditional.
48165         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
48166         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
48167         * sysdeps/unix/sysv/linux/clock_settime.c
48168         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
48169         conditional code.
48170         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
48171         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
48173 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
48175         [BZ #14476]
48176         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
48177         scripts/test-installation.pl.
48179         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
48180         and $ld_so_version if it is set.
48182 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
48184         [BZ #14516]
48185         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
48186         failure if reading from procfs failed.
48187         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
48189 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
48191         * sysdeps/unix/sysv/linux/kernel-features.h
48192         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
48193         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
48194         Remove conditional code.
48195         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
48196         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
48197         Remove conditional code.
48198         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
48199         * sysdeps/unix/sysv/linux/i386/fxstat.c
48200         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
48201         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
48202         * sysdeps/unix/sysv/linux/i386/fxstatat.c
48203         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
48204         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
48205         * sysdeps/unix/sysv/linux/i386/lxstat.c
48206         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
48207         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
48208         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
48209         Remove conditional code.
48210         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
48211         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
48212         Remove conditional code.
48213         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
48214         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
48215         <kernel-features.h>.
48216         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
48217         Remove.
48218         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
48219         Remove conditional code.
48220         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
48221         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
48222         Remove conditional.
48224 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
48226         [BZ #5400]
48227         * NEWS: Add fixed bug number.
48229 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
48231         [BZ #14519]
48232         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
48233         underflowing exponent in case of negative sign.
48234         * stdlib/tst-strtod-round-data: Add more tests.
48235         * stdlib/tst-strtod-round.c (tests): Regenerated.
48237         [BZ #3479]
48238         * stdlib/strtod_l.c (NDIG): Remove.
48239         (HEXNDIG): Likewise.
48240         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
48241         smallest representable value.
48242         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
48243         lie within an exact representation of 1/2 ulp of the result.
48244         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
48245         unconditionally.
48246         (TENS_P9_IDX): Define unconditionally.
48247         (TENS_P9_SIZE): Likewise.
48248         (TENS_P10_IDX): Likewise.
48249         (TENS_P10_SIZE): Likewise.
48250         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
48251         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
48252         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
48253         entries for 10^2^13 and 10^2^14.
48254         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
48255         (TENS_P13_IDX): Define.
48256         (TENS_P13_SIZE): Likewise.
48257         (TENS_P14_IDX): Likewise.
48258         (TENS_P14_SIZE): Likewise.
48259         (_fpioconst_pow10): Change array size to
48260         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
48261         unconditional.
48262         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
48263         1024]: Add entries for 10^2^13 and 10^2^14.
48264         [LAST_POW10 > _LAST_POW10]: Remove #error.
48265         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
48266         (_fpioconst_pow10): Change array size to
48267         FPIOCONST_POW10_ARRAY_SIZE.
48268         * stdlib/gen-fpioconst.c: New file.
48269         * stdlib/gen-tst-strtod-round.c: Likewise.
48270         * stdlib/tst-strtod-round-data: Likewise.
48271         * stdlib/tst-strtod-round.c: Likewise.
48272         * stdlib/Makefile (tests): Add tst-strtod-round.
48274         [BZ #14459]
48275         * stdlib/strtod_l.c: Include <stdint.h>.
48276         (NDEBUG): Do not define.
48277         (round_and_return): Change EXPONENT parameter to type intmax_t.
48278         Rearrange calculations to avoid internal overflow possibilities.
48279         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
48280         Rearrange calculations to avoid internal overflow possibilities.
48281         Assert that number fits inside MPNSIZE limbs.
48282         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
48283         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
48284         calculations and add assertions to avoid internal overflow
48285         possibilities.  Add casts to avoid signed/unsigned operations.
48286         * stdlib/tst-strtod-overflow.c: New file.
48287         * stdlib/Makefile (tests): Add tst-strtod-overflow.
48289 2012-08-25  Marek Polacek  <polacek@redhat.com>
48291         * time/time.h: Fix some typos in comments.
48293 2012-08-23  Roland McGrath  <roland@hack.frob.com>
48295         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
48296         * posix/tst-rfc3484-2.c: Likewise.
48297         * posix/tst-rfc3484-3.c: Likewise.
48299 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
48301         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
48302         (EF_ARM_ABI_FLOAT_HARD): Likewise.
48304 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
48306         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
48307         #include of fxstatat64.c.
48309 2012-08-22  Roland McGrath  <roland@hack.frob.com>
48311         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
48312         * shadow/getspent_r.c: Likewise.
48313         * shadow/getspnam.c: Likewise.
48314         * shadow/getspnam_r.c: Likewise.
48315         * gshadow/getsgent.c: Likewise.
48316         * gshadow/getsgent_r.c: Likewise.
48317         * gshadow/getsgnam.c: Likewise.
48318         * gshadow/getsgnam_r.c: Likewise.
48319         * inet/getnetbyad.c: Likewise.
48320         * inet/getnetbyad_r.c: Likewise.
48321         * inet/getnetbynm.c: Likewise.
48322         * inet/getnetbynm_r.c: Likewise.
48323         * inet/getnetent.c: Likewise.
48324         * inet/getnetent_r.c: Likewise.
48325         * inet/getproto.c: Likewise.
48326         * inet/getproto_r.c: Likewise.
48327         * inet/getprtent.c: Likewise.
48328         * inet/getprtent_r.c: Likewise.
48329         * inet/getprtname.c: Likewise.
48330         * inet/getprtname_r.c: Likewise.
48331         * inet/getrpcbyname.c: Likewise.
48332         * inet/getrpcbyname_r.c: Likewise.
48333         * inet/getrpcbynumber.c: Likewise.
48334         * inet/getrpcbynumber_r.c: Likewise.
48335         * inet/getrpcent.c: Likewise.
48336         * inet/getrpcent_r.c: Likewise.
48337         * inet/getaliasent.c: Likewise.
48338         * inet/getaliasent_r.c: Likewise.
48339         * inet/getaliasname.c: Likewise.
48340         * inet/getaliasname_r.c: Likewise.
48341         * nscd/getgrgid_r.c: Likewise.
48342         * nscd/getgrnam_r.c: Likewise.
48343         * nscd/gethstbyad_r.c: Likewise.
48344         * nscd/gethstbynm3_r.c: Likewise.
48345         * nscd/getpwnam_r.c: Likewise.
48346         * nscd/getpwuid_r.c: Likewise.
48347         * nscd/getsrvbynm_r.c: Likewise.
48348         * nscd/getsrvbypt_r.c: Likewise.
48349         * nscd/gai.c: Likewise.
48351         * configure.in (build_nscd): New substituted variable, set
48352         by --disable-build-nscd and defaults to $use_nscd.
48353         * configure: Regenerated.
48354         * config.make.in (build-nscd): New substituted variable.
48355         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
48356         Change conditional to require [$(build-nscd) = yes] as well.
48357         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
48359         [BZ# 13696]
48360         * configure.in (use_nscd): New substituted variable, set by
48361         --disable-nscd.  If enabled, define USE_NSCD.
48362         * configure: Regenerated.
48363         * config.h.in: Add USE_NSCD.
48364         * config.make.in (use-nscd): New substituted variable.
48365         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
48366         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
48367         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
48368         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
48369         (CFLAGS-getgrnam_r.c): Likewise.
48370         (CFLAGS-initgroups.c): Likewise.
48371         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
48372         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
48373         Variables removed.
48374         * inet/getnetgrent_r.c
48375         (nscd_setnetgrent): New function, broken out of ...
48376         (setnetgrent): ... here.  Call it.
48377         (innetgr): Conditionalize nscd bits on [USE_NSCD].
48378         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
48379         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
48380         * nscd/Makefile (routines, aux): Move definitions after include of
48381         Makeconfig.  Conditionalize on [$(use-nscd) != no].
48382         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
48383         Conditionalize on [USE_NSCD].
48384         (is_nscd, nscd_init_cb): Likewise.
48385         (nss_load_library): Conditionalize init callback on [USE_NSCD].
48386         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
48387         * nss/nss_db/db-init.c: Likewise.
48388         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
48389         [USE_NSCD].
48390         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
48391         (make_request): Use it.
48392         (cache_valid_p): New function.
48393         (__check_pf): Use it.
48394         * NEWS: Add item for --disable-nscd.
48396 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
48398         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
48399         to support sed >= 4.2.1-20-ga9bf076.
48400         * configure: Regenerated.
48402 2012-08-22  Roland McGrath  <roland@hack.frob.com>
48404         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
48405         Conditionalize whole body on [IREL].
48407 2012-08-22  Jeff Law <law@redhat.com>
48409         [BZ #14505]
48410         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
48411         if the family is PF_UNSPEC.
48413 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
48415         * Makerules (lib-version): Rename from V.
48416         (install-lib-nosubdir): Change V to lib-version.
48418 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
48420         [BZ #14252]
48421         * powerpc32/power6/wcschr.c: New file.
48422         * powerpc32/power6/wcscpy.c: New file.
48423         * powerpc32/power6/wcsrchr.c: New file.
48424         * powerpc64/power6/wcschr.c: New file.
48425         * powerpc64/power6/wcscpy.c: New file.
48426         * powerpc64/power6/wcsrchr.c: New file.
48428 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
48430         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
48431         (two_way_short_needle): Use it.
48432         * string/strstr.c (AVAILABLE1_USES_J): Define.
48433         * string/strcasestr.c: Likewise.
48435         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
48436         array references.
48437         * string/strcasestr.c (TOLOWER): Make side-effect safe.
48439         [BZ #11607]
48440         * NEWS: Add an entry.
48441         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
48442         define their defaults.
48443         (two_way_short_needle): Detect end-of-string on-the-fly.
48444         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
48445         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
48446         * string/bug-strcasestr1.c: New test.
48447         * string/Makefile: Run it.
48449 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
48451         [BZ #11607]
48452         * string/str-two-way.h (two_way_short_needle): Optimize matching of
48453         the first character.
48455 2012-08-21  Roland McGrath  <roland@hack.frob.com>
48457         * csu/elf-init.c (__libc_csu_irel): Function removed.
48458         * csu/libc-start.c (apply_irel): New function.
48459         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
48461 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
48463         * sysdeps/unix/sysv/linux/kernel-features.h
48464         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
48465         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
48466         <kernel-features.h>.
48467         [__NR_fadvise64_64]: Make code unconditional.
48468         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
48469         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
48470         !__NR_fadvise64_64)]: Likewise.
48471         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
48472         !__NR_fadvise64_64))]: Likewise.
48473         [__NR_fadvise64]: Make code unconditional.
48474         [!__NR_fadvise64]: Remove conditional code.
48475         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
48476         <kernel-features.h>.
48477         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
48478         unconditional.
48479         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
48480         conditional code.
48481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
48482         not include <kernel-features.h>.
48483         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
48484         unconditional.
48485         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
48486         conditional code.
48487         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
48488         include <kernel-features.h>.
48489         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
48490         unconditional.
48491         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
48492         conditional code.
48494 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
48496         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
48497         slight instruction rearrangements per scrollpipe analysis.
48498         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
48500 2012-08-20  Roland McGrath  <roland@hack.frob.com>
48502         * manual/syslog.texi (syslog; vsyslog, closelog):
48503         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
48504         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
48506         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
48507         DSOCAPS to match condition on defining it.
48509 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
48511         * sysdeps/unix/sysv/linux/kernel-features.h
48512         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
48513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
48514         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
48515         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
48516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
48517         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
48518         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
48519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
48520         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
48521         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
48523         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
48524         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
48526         * sysdeps/unix/sysv/linux/kernel-features.h
48527         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
48528         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
48529         unconditional.
48530         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
48531         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
48532         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
48533         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
48534         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
48535         Make code unconditional.
48536         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
48537         (__mmap64) [!__NR_mmap2]: Likewise.
48538         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
48539         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
48540         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
48541         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
48542         [__NR_mmap2]: Make code unconditional.
48543         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
48544         (__mmap64) [!__NR_mmap2]: Likewise.
48546 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48548         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
48550 2012-08-18  Andreas Jaeger  <aj@suse.de>
48552         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
48554 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
48556         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
48557         * include/unistd.h (__have_sock_cloexec): Likewise.
48558         (__have_pipe2): Likewise.
48559         (__have_dup3): Likewise.
48561 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
48563         [BZ #9685]
48564         * include/unistd.h (__have_pipe2): Change define into an extern int.
48565         (__have_dup3): Likewise.
48566         * socket/have_sock_cloexec.c: Include fcntl.h.
48567         (__have_pipe2): New variable.
48568         (__have_dup3): Likewise.
48570 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
48572         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
48574 2012-08-17  Marek Polacek  <polacek@redhat.com>
48576         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
48577         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
48579 2012-08-17  Roland McGrath  <roland@hack.frob.com>
48581         * configure.in: Add AC_SUBST for sysheaders.
48582         * configure: Regenerated.
48583         * config.make.in (sysheaders): New substituted variable.
48585         * sysdeps/unix/mkfifo.c: Moved ...
48586         * sysdeps/posix/mkfifo.c: ... here.
48587         * sysdeps/unix/mkfifoat.c: Moved ...
48588         * sysdeps/posix/mkfifoat.c: ... here.
48590         * sysdeps/unix/utime.c: Moved ...
48591         * sysdeps/posix/utime.c: ... here.
48593         * sysdeps/unix/time.c: Moved ...
48594         * sysdeps/posix/time.c: ... here.
48595         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
48596         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
48598         * sysdeps/unix/nice.c: Moved ...
48599         * sysdeps/posix/nice.c: ... here.
48601         * sysdeps/unix/alarm.c: Moved ...
48602         * sysdeps/posix/alarm.c: ... here.
48604         * intl/Makefile ($(codeset_mo)): Depend on the input file.
48606 2012-08-17  Jeff Law <law@redhat.com>
48608         * intl/Makefile (codeset_mo): New variable.
48609         ($(codeset_mo)): New target.
48610         (tst-codeset.out): Depend on that.  Remove explicit rule.
48611         (tst-gettext3.out, tst-gettext5.out): Likewise.
48612         (LOCPATH-ENV, tst-codeset-ENV): New variables.
48613         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
48614         * intl/tst-codeset.sh: Remove.
48615         * intl/tst-gettext3.sh: Likewise.
48616         * intl/tst-gettext5.sh: Likewise.
48618 2012-08-17  Roland McGrath  <roland@hack.frob.com>
48620         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
48621         * sysdeps/unix/syscalls.list: ... here.
48623         * sysdeps/posix/getaddrinfo.c
48624         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
48625         (gaiconf_init, gaiconf_reload): Use them.
48626         [!_STATBUF_ST_NSEC]
48627         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
48628         Define using time_t rather than struct timespec.
48630         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
48631         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
48632         Macros removed.
48633         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
48634         [!NO_THREADS].
48635         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
48636         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
48637         Likewise.
48639         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
48640         __libc_cleanup_push argument.
48642         * bits/param.h: New file.
48643         * misc/sys/param.h: New file.
48644         * include/sys/param.h: New file.
48645         * misc/Makefile (headers): Add bits/param.h.
48646         * sysdeps/generic/sys/param.h: File removed.
48647         * sysdeps/unix/sysv/linux/bits/param.h: New file.
48648         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
48649         * sysdeps/mach/hurd/bits/param.h: New file.
48650         * sysdeps/mach/hurd/sys/param.h: File removed.
48652         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
48653         last change.
48655         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
48656         [_IO_MTSAFE_IO].
48657         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
48658         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
48659         New macros.
48661         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
48662         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
48663         rather than -D_IO_MTSAFE_IO conditionally.
48664         * stdio-common/Makefile (CPPFLAGS): Likewise.
48665         * wcsmbs/Makefile (CPPFLAGS): Likewise.
48666         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
48667         Use $(libio-mtsafe).
48668         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
48669         of -D_IO_MTSAFE_IO.
48670         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
48671         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
48672         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
48673         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
48674         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
48675         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
48676         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
48677         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
48678         (CFLAGS-fread_u_chk.c): Likewise.
48679         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
48680         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
48681         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
48682         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
48683         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
48684         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
48685         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
48686         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
48687         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
48689         * libio/Makefile: Test [$(libc-reentrant) = yes]
48690         instead of [$(filter %REENTRANT, $(defines)) nonempty].
48692         * Makeconfig
48693         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
48694         * sysdeps/pthread/configure: File removed.
48695         * sysdeps/pthread/Makeconfig: New file.
48696         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
48697         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
48699 2012-08-16  Gary Benson  <gbenson@redhat.com>
48701         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
48702         unmapping the first object in a namespace.
48704 2012-08-16  Roland McGrath  <roland@hack.frob.com>
48706         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
48707         (__internal_setnetgrent): ... this.  Add internal_function to
48708         definition.  Add libc_hidden_def.
48709         (setnetgrent): Update caller.
48710         (internal_endnetgrent): Renamed to ...
48711         (__internal_endnetgrent): ... this.  Add internal_function to
48712         definition.  Add libc_hidden_def.
48713         (endnetgrent): Update caller.
48714         (internal_getnetgrent_r): Renamed to ...
48715         (__internal_getnetgrent_r): ... this.  Add internal_function to
48716         definition.  Add libc_hidden_def.
48717         (__getnetgrent_r): Update caller.
48718         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
48720 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
48722         * stdlib/longlong.h: Update from GCC.
48724 2012-08-16  Roland McGrath  <roland@hack.frob.com>
48726         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
48727         on _QL, which is set by umul_ppmm but never used.
48728         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
48729         variables, which are set by GMP macros but never used.
48730         * stdio-common/_itowa.c (_itowa): Likewise.
48731         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
48732         * stdlib/mod_1.c (mpn_mod_1): Likewise.
48734 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
48736         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
48737         struct La_sh_regs is not constant.
48738         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
48739         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
48740         and struct La_sparc64_regs are not constant.
48742 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
48744         * sysdeps/unix/sysv/linux/kernel-features.h
48745         (__ASSUME_POSIX_TIMERS): Remove.
48746         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
48747         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
48748         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
48749         Make code unconditional.
48750         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
48751         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
48752         Make code unconditional.
48753         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
48754         * sysdeps/unix/sysv/linux/clock_nanosleep.c
48755         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
48756         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
48757         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
48758         Make code unconditional.
48759         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
48760         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
48761         (__libc_missing_posix_timers): Remove.
48763 2012-08-15  Roland McGrath  <roland@hack.frob.com>
48765         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
48766         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
48768         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
48770         * elf/dl-sym.c: Include <stdlib.h>.
48772         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
48773         constants, which avoids warnings in 32-bit builds.
48775         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
48776         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
48778         * misc/lseek.c: File moved to ...
48779         * io/lseek.c: ... here.
48781         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
48783         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
48784         shifting LEN more than 31 bits at once.
48786 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48788         [BZ #14195]
48789         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
48790         segmentation fault for a case of two empty input strings.
48791         * string/test-strncasecmp.c (check1): Renamed to...
48792         (bz12205): ...this.
48793         (bz14195): Add new testcase for two empty input strings and N > 0.
48794         (test_main): Call new testcase, adapt for renamed function.
48796 2012-08-15  Andreas Jaeger  <aj@suse.de>
48798         [BZ #14090]
48799         * crypt/md5test2.c: New test, based on test supplied by Serge
48800         Belyshev <belyshev@depni.sinp.msu.ru>.
48801         * crypt/Makefile (xtests): Add md5test-giant..
48802         * crypt/Makefile ($(objpfx)md5test-giant): Add.
48804 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
48806         [BZ #14090]
48807         * crypt/md5.c (md5_process_block): Don't assume the buffer
48808         length is less than 2**32.
48809         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
48810         length is less than 2**64.
48812 2012-08-15  Roland McGrath  <roland@hack.frob.com>
48814         * string/str-two-way.h: Include <sys/param.h>.
48815         (MAX): Macro removed.
48817         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
48818         Move #define and #undef of memmove to just before and after
48819         including <string.h>.
48821         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
48822         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
48823         and after including <string.h>.  Move declarations of
48824         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
48825         to before #include "string/memmove.c".
48827         * include/dirent.h: Declare __getdirentries.
48829         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
48830         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
48832 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
48834         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
48835         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
48836         * sysdeps/i386/configure: Regenerated.
48837         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
48838         STABS_CURRENT_FILE, and STABS_FUN.
48839         (END): Remove call to STABS_FUN_END.
48840         (STABS_CURRENT_FILE1): Delete.
48841         (STABS_CURRENT_FILE): Likewise.
48842         (STABS_FUN): Likewise.
48843         (STABS_FUN_END): Likewise.
48844         (STABS_FUN2): Likewise.
48845         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
48846         * sysdeps/x86_64/configure: Regenerated.
48848 2012-08-14  Roland McGrath  <roland@hack.frob.com>
48850         * elf/dl-open.c: Include <atomic.h>.
48851         * elf/dl-lookup.c: Likewise.
48853 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
48855         * sysdeps/unix/sysv/linux/kernel-features.h
48856         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
48857         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
48858         unconditionally.
48859         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
48860         unconditionally.
48861         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
48862         condition on __ASSUME_CLONE_THREAD_FLAGS.
48864 2012-08-14  Andreas Jaeger  <aj@suse.de>
48866         * sysdeps/i386/fpu/libm-test-ulps: Update.
48868 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
48870         * include/atomic.h (atomic_exchange_and_add): Split into ...
48871         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
48872         New atomic macros.
48874 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
48876         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48878 2012-08-13  Jeff Law <law@redhat.com>
48880         * manual/stdio.texi (snprintf): Clarify handling of the trailing
48881         null byte in the output string.
48883 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
48885         * sysdeps/unix/sysv/linux/kernel-features.h
48886         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
48887         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
48888         (__ASSUME_ARG_MAX_STACK_BASED): Define.
48889         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
48890         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
48891         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
48892         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
48894 2012-08-09  Jeff Law <law@redhat.com>
48896         [BZ #13939]
48897         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
48898         When avoid_arena is set, don't retry in the that arena.  Pick the
48899         next one, whatever it might be.
48900         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
48901         (arena_lock): Pass in new parameter to arena_get2.
48902         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
48903         arena_get2.
48904         (__libc_malloc): Unify retrying after main arena failure with
48905         __libc_memalign version.
48906         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
48908 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
48910         [BZ #14166]
48911         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
48912         to __redirect_strstr.
48913         (__strstr_sse42): Use typeof __redirect_strstr.
48914         (__strstr_ia32): Likewise.
48915         (__libc_strstr): New prototype.
48916         (strstr): Renamed to ...
48917         (__libc_strstr): This.
48918         (strstr): New strong alias of __libc_strstr.
48919         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
48920         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
48921         __redirect_time.
48922         Include <time.h>.
48923         (__libc_time): New prototype.
48924         (time_ifunc): Replace time with __libc_time.
48925         (time): New strong alias and hidden definition of __libc_time.
48926         (__GI_time): Remove strong alias.
48927         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
48928         Include <stddef.h>.
48929         (memmove): Redefined to __redirect_memmove.
48930         (__memmove_sse2): Use typeof __redirect_memmove.
48931         (__memmove_ssse3): Likewise.
48932         (__memmove_ssse3_back): Likewise.
48933         (__libc_memmove): New prototype.
48934         (memmove): Renamed to ...
48935         (__libc_memmove): This.
48936         (memmove): New strong alias of __libc_memmove.
48938 2012-08-08  Mark Salter  <msalter@redhat.com>
48940         * elf/elf.h
48941         (R_MN10300_TLS_GD): Define.
48942         (R_MN10300_TLS_LD): Likewise.
48943         (R_MN10300_TLS_LDO): Likewise.
48944         (R_MN10300_TLS_GOTIE): Likewise.
48945         (R_MN10300_TLS_IE): Likewise.
48946         (R_MN10300_TLS_LE): Likewise.
48947         (R_MN10300_TLS_DTPMOD): Likewise.
48948         (R_MN10300_TLS_DTPOFF): Likewise.
48949         (R_MN10300_TLS_TPOFF): Likewise.
48950         (R_MN10300_SYM_DIFF): Likewise.
48951         (R_MN10300_ALIGN): Likewise.
48952         (R_MN10300_NUM): Update.
48954 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
48956         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
48957         Remove.
48959 2012-08-08  Roland McGrath  <roland@hack.frob.com>
48961         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
48963         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
48964         sysdeps/unix -> sysdeps/posix move.
48965         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
48967 2012-08-07      Allan McRae     <allan@archlinux.org>
48969         [BZ #14303]
48970         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
48971         (SUNOS_CPP): Likewise.
48972         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
48973         not found.
48974         (open_input): Call CPP using execvp.
48976 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
48978         * sysdeps/unix/sysv/linux/kernel-features.h
48979         (__ASSUME_PROT_GROWSUPDOWN): Remove.
48980         (__ASSUME_NO_CLONE_DETACHED): Likewise.
48981         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
48982         (__ASSUME_WAITID_SYSCALL): Likewise.
48983         * sysdeps/unix/sysv/linux/dl-execstack.c
48984         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
48985         code unconditional.
48986         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
48987         conditional code.
48988         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
48989         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
48990         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
48991         code.
48992         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
48993         unconditional.
48994         [__ASSUME_WAITID_SYSCALL]: Likewise.
48995         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
48997 2012-08-07  Roland McGrath  <roland@hack.frob.com>
48999         * sysdeps/unix/closedir.c: Renamed to ...
49000         * sysdeps/posix/closedir.c: ... here.
49001         * sysdeps/unix/dirfd.c: Renamed to ...
49002         * sysdeps/posix/dirfd.c: ... here.
49003         * sysdeps/unix/dirstream.h: Renamed to ...
49004         * sysdeps/posix/dirstream.h: ... here.
49005         * sysdeps/unix/fdopendir.c: Renamed to ...
49006         * sysdeps/posix/fdopendir.c: ... here.
49007         * sysdeps/unix/opendir.c: Renamed to ...
49008         * sysdeps/posix/opendir.c: ... here.
49009         * sysdeps/unix/readdir.c: Renamed to ...
49010         * sysdeps/posix/readdir.c: ... here.
49011         * sysdeps/unix/readdir_r.c: Renamed to ...
49012         * sysdeps/posix/readdir_r.c: ... here.
49013         * sysdeps/unix/rewinddir.c: Renamed to ...
49014         * sysdeps/posix/rewinddir.c: ... here.
49015         * sysdeps/unix/seekdir.c: Renamed to ...
49016         * sysdeps/posix/seekdir.c: ... here.
49017         * sysdeps/unix/telldir.c: Renamed to ...
49018         * sysdeps/posix/telldir.c: ... here.
49019         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
49020         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
49021         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
49022         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
49024         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
49025         * bits/fcntl.h: ... here.
49027         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
49028         not 0.
49029         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
49030         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
49031         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
49032         (struct flock): Move l_start, l_len to the beginning.
49033         Use __pid_t for l_pid.
49034         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
49035         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
49036         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
49037         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
49038         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
49039         [__USE_LARGEFILE64] (struct flock64): New type.
49040         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
49042         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
49043         * bits/dirent.h: ... here.
49045         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
49046         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
49048 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
49050         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
49051         Change from 2.6.0 to 2.6.16.
49052         * sysdeps/unix/sysv/linux/configure: Regenerated.
49053         * sysdeps/unix/sysv/linux/kernel-features.h
49054         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
49055         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
49056         version.
49057         (__ASSUME_UTIMES): Likewise.
49058         (__ASSUME_CLONE_STOPPED): Remove.
49059         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
49060         architectures, not kernel version.
49061         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
49062         (__ASSUME_NO_CLONE_DETACHED): Likewise.
49063         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
49064         (__ASSUME_WAITID_SYSCALL): Likewise.
49065         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
49066         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
49067         * README: State 2.6.16 as minimum Linux kernel version.  Do not
49068         refer to older versions.
49070 2012-08-06  Roland McGrath  <roland@hack.frob.com>
49072         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
49073         Define alphasort64 as an alias.
49074         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
49075         Define versionsort64 as an alias.
49076         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
49077         Define scandir64 as an alias.
49078         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
49079         Define scandirat64 as an alias.
49080         * dirent/alphasort64.c (alphasort64):
49081         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
49082         * dirent/versionsort64.c: Likewise.
49083         * dirent/scandir64.c: Likewise.
49084         * dirent/scandirat64.c: Likewise.
49085         * sysdeps/wordsize-64/alphasort.c: File removed.
49086         * sysdeps/wordsize-64/alphasort64.c: File removed.
49087         * sysdeps/wordsize-64/scandir.c: File removed.
49088         * sysdeps/wordsize-64/scandir64.c: File removed.
49089         * sysdeps/wordsize-64/scandirat.c: File removed.
49090         * sysdeps/wordsize-64/scandirat64.c: File removed.
49091         * sysdeps/wordsize-64/versionsort.c: File removed.
49092         * sysdeps/wordsize-64/versionsort64.c: File removed.
49093         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
49094         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
49095         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
49096         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
49097         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
49098         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
49099         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
49100         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
49102         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
49103         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
49104         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
49105         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49106         [defined __arch64__ || defined __sparcv9]
49107         (__INO_T_MATCHES_INO64_T): New macro.
49108         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
49109         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
49110         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
49111         * sysdeps/unix/sysv/linux/bits/dirent.h
49112         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
49113         (_DIRENT_MATCHES_DIRENT64): New macro.
49115         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
49116         Define lockf64 as an alias.
49117         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
49118         Define fseeko64 as an alias.
49119         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
49120         Define ftello64 as an alias.
49121         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
49122         Define _IO_fgetpos64 and fgetpos64 as aliases.
49123         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
49124         Define _IO_fsetpos64 and fsetpos64 as aliases.
49125         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
49126         Conditionalize body on this.
49127         * libio/fseeko64.c: Likewise.
49128         * libio/ftello64.c: Likewise.
49129         * libio/iofgetpos64.c: Likewise.
49130         * libio/iofsetpos64.c: Likewise.
49131         * sysdeps/wordsize-64/lockf.c: File removed.
49132         * sysdeps/wordsize-64/lockf64.c: File removed.
49133         * sysdeps/wordsize-64/fseeko.c: File removed.
49134         * sysdeps/wordsize-64/fseeko64.c: File removed.
49135         * sysdeps/wordsize-64/ftello.c: File removed.
49136         * sysdeps/wordsize-64/ftello64.c: File removed.
49137         * sysdeps/wordsize-64/iofgetpos.c: File removed.
49138         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
49139         * sysdeps/wordsize-64/iofsetpos.c: File removed.
49140         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
49141         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
49142         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
49143         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
49144         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
49145         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
49146         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
49147         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
49148         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
49149         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
49150         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
49152         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
49153         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
49154         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
49155         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49156         [defined __arch64__ || defined __sparcv9]
49157         (__OFF_T_MATCHES_OFF64_T): New macro.
49158         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
49159         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
49160         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49161         (__OFF_T_MATCHES_OFF64_T): New macro.
49163 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
49165         * stdlib/secure-getenv.c (__secure_getenv): Replace
49166         GLIBC_2_16 with GLIBC_2_17.
49168 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
49170         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
49171         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
49173 2012-08-03  David S. Miller  <davem@davemloft.net>
49175         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49177 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
49179         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
49180         Remove.
49181         (__ASSUME_CORRECT_SI_PID): Likewise.
49182         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
49183         (__ASSUME_TMPFS_NAME): Likewise.
49184         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
49185         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
49186         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
49187         (HAVE_AUX_SECURE): Make definition unconditional.
49188         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
49189         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
49191 2012-08-03  Roland McGrath  <roland@hack.frob.com>
49193         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
49194         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
49195         * sysdeps/mach/hurd/eloop-threshold.h: New file.
49196         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
49197         __eloop_threshold instead of SYMLOOP_MAX.
49199         * sysdeps/generic/eloop-threshold.h: New file.
49200         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
49201         of MAXSYMLINKS.
49202         * elf/chroot_canon.c (chroot_canon): Likewise.
49204 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
49206         [BZ #13717]
49207         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
49208         Change to 2.6.0 everywhere.
49209         * sysdeps/unix/sysv/linux/configure: Regenerated.
49210         * sysdeps/unix/sysv/linux/kernel-features.h
49211         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
49212         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
49213         kernel versions.
49214         (__ASSUME_POSIX_TIMERS): Define unconditionally.
49215         (__ASSUME_FUTEX_REQUEUE): Remove.
49216         (__ASSUME_STATFS64): Define unconditionally.
49217         (__ASSUME_AT_SECURE): Likewise.
49218         (__ASSUME_CORRECT_SI_PID): Likewise.
49219         (__ASSUME_TGKILL): Define without depending on kernel version for
49220         i386.
49221         (__ASSUME_UTIMES): Likewise.
49222         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
49223         kernel version.
49224         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
49225         (__ASSUME_TMPFS_NAME): Likewise.
49226         * README: Update reference to Linux kernel versions.
49228 2012-08-02  Marek Polacek  <polacek@redhat.com>
49230         [BZ# 14150]
49231         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
49232         libc_cv_asm_type_prefix with %.
49233         * configure: Regenerated.
49234         * include/libc-symbols.h: Remove comment about
49235         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
49236         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
49237         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
49238         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
49239         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
49240         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
49241         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
49242         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
49243         * elf/tst-unique2mod1.c: Likewise.
49244         * elf/tst-unique1mod2.c: Likewise.
49245         * elf/tst-unique1mod1.c: Likewise.
49246         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
49247         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
49248         Replace ASM_TYPE_DIRECTIVE with .type.
49249         * sysdeps/s390/s390-64/sysdep.h: Likewise.
49250         * sysdeps/i386/sysdep.h: Likewise.
49251         * sysdeps/x86_64/sysdep.h: Likewise.
49252         * sysdeps/sh/sysdep.h: Likewise.
49253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
49254         Do not define ASM_TYPE_DIRECTIVE.
49255         * sysdeps/powerpc/sysdep.h: Likewise.
49256         * sysdeps/powerpc/powerpc32/sysdep.h:
49257         Replace ASM_TYPE_DIRECTIVE with .type.
49258         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
49259         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
49260         * sysdeps/i386/fpu/e_powf.S: Likewise.
49261         * sysdeps/i386/fpu/e_expl.S: Likewise.
49262         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
49263         * sysdeps/i386/fpu/e_acosh.S: Likewise.
49264         * sysdeps/i386/fpu/e_pow.S: Likewise.
49265         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
49266         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
49267         * sysdeps/i386/fpu/s_expm1.S: Likewise.
49268         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
49269         * sysdeps/i386/fpu/e_log2.S: Likewise.
49270         * sysdeps/i386/fpu/e_log2l.S: Likewise.
49271         * sysdeps/i386/fpu/e_scalb.S: Likewise.
49272         * sysdeps/i386/fpu/e_powl.S: Likewise.
49273         * sysdeps/i386/fpu/e_log10f.S: Likewise.
49274         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
49275         * sysdeps/i386/fpu/e_logl.S: Likewise.
49276         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
49277         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
49278         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
49279         * sysdeps/i386/fpu/e_log2f.S: Likewise.
49280         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
49281         * sysdeps/i386/fpu/e_log.S: Likewise.
49282         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
49283         * sysdeps/i386/fpu/e_logf.S: Likewise.
49284         * sysdeps/i386/fpu/e_log10l.S: Likewise.
49285         * sysdeps/i386/fpu/e_atanh.S: Likewise.
49286         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
49287         * sysdeps/i386/fpu/e_log10.S: Likewise.
49288         * sysdeps/i386/fpu/s_frexp.S: Likewise.
49289         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
49290         * sysdeps/i386/fpu/s_asinh.S: Likewise.
49291         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
49292         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
49293         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
49294         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
49295         * sysdeps/i386/i686/strtok.S: Likewise.
49296         * sysdeps/i386/i386-mcount.S: Likewise.
49297         * sysdeps/i386/strtok.S: Likewise.
49298         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
49299         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
49300         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49301         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
49302         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
49303         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
49304         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
49305         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
49306         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
49307         * sysdeps/x86_64/_mcount.S: Likewise.
49308         * sysdeps/x86_64/strtok.S: Likewise.
49309         * sysdeps/sh/_mcount.S: Likewise.
49311 2012-08-01  Roland McGrath  <roland@hack.frob.com>
49313         * libio/iofopen.c: Include <fcntl.h>.
49314         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
49315         (_IO_fopen64, fopen64): Define as aliases.
49316         * libio/iofopen64.c: Include <fcntl.h>.
49317         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
49318         Conditionalize body on this.
49319         * sysdeps/wordsize-64/iofopen.c: File removed.
49320         * sysdeps/wordsize-64/iofopen64.c: File removed.
49322 2012-08-01  Marek Polacek  <polacek@redhat.com>
49324         * libc/Makeconfig: Use elf in place of binfmt-subdir.
49325         Use dlfcn directly instead of a variable.
49326         (binfmt-subdir): Do not define.
49327         (dlfcn): Likewise.
49329 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
49331         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
49332         Remove all definitions.
49333         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
49334         <kernel-features.h>.
49335         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
49336         (miss_F_GETOWN_EX): Remove all definitions.
49337         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
49338         macro definition.
49339         [!__ASSUME_FCNTL64]: Remove conditional code.
49340         [__ASSUME_FCNTL64]: Make code unconditional.
49341         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
49342         <kernel-features.h>.
49343         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
49344         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
49345         (lockf64) [__NR_fcntl64]: Make code unconditional.
49346         (lockf64) [__ASSUME_FCNTL64]: Likewise.
49348         * sysdeps/unix/sysv/linux/kernel-features.h
49349         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
49350         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
49351         Make code unconditional.
49352         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
49353         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
49354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
49355         [__NR_vfork]: Make code unconditional.
49356         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
49357         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
49358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
49359         [__NR_vfork]: Make code unconditional.
49360         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
49361         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
49363 2012-08-01  Roland McGrath  <roland@hack.frob.com>
49365         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
49366         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
49368         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
49369         Define mkstemp64 as an alias.
49370         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
49371         Define mkstemps64 as an alias.
49372         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
49373         Define mkostemp64 as an alias.
49374         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
49375         Define mkostemps64 as an alias.
49376         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
49377         Conditionalize body on this.
49378         * misc/mkostemp64.c: Likewise.
49379         * misc/mkostemps64.c: Likewise.
49380         * misc/mkstemps64.c: Likewise.
49381         * sysdeps/wordsize-64/mkstemp64.c: File removed.
49382         * sysdeps/wordsize-64/mkostemp64.c: File removed.
49383         * sysdeps/wordsize-64/mkostemp.c: File removed.
49384         * sysdeps/wordsize-64/mkstemp.c: File removed.
49385         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
49386         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
49387         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
49388         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
49390         [BZ #14138]
49391         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
49392         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
49393         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
49394         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
49396         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
49397         compat_symbol macros from <shlib-compat.h> rather than the underlying
49398         default_symbol_version and symbol_version macros, so that DEFAULT
49399         lines in shlib-versions are respected.
49400         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
49402 2012-08-01  Florian Weimer  <fweimer@redhat.com>
49404         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
49405         Declare with warn_unused_result.
49406         (setgid, setregid, setegid, setresgid): Likewise.
49407         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
49408         Likewise.
49409         * WUR-REPORT: Remove set*id functions.
49411 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
49413         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
49415 2012-07-31  Roland McGrath  <roland@hack.frob.com>
49417         [BZ #10191]
49418         * include/sys/socket.h (__libc_accept, __libc_accept4):
49419         Add attribute_hidden.
49420         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
49422         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
49423         use of PTR_MANGLE.
49424         * inet/getnetgrent_r.c (setup): Likewise.
49426         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
49428 2012-07-31  David S. Miller  <davem@davemloft.net>
49430         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49432 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
49434         [BZ #13629]
49435         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
49436         value between 1.0 and 2.0 and smaller part has absolute value less
49437         than 1.0.
49438         * math/s_clog10.c (__clog10): Likewise.
49439         * math/s_clog10f.c (__clog10f): Likewise.
49440         * math/s_clog10l.c (__clog10l): Likewise.
49441         * math/s_clogf.c (__clogf): Likewise.
49442         * math/s_clogl.c (__clogl): Likewise.
49443         * math/libm-test.inc (clog_test): Add more tests.
49444         (clog10_test): Likewise.
49445         * sysdeps/i386/fpu/libm-test-ulps: Update.
49446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49448 2012-07-31  Florian Weimer  <fweimer@redhat.com>
49450         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
49451         Exit with zero in case no suitable GID is found, and write a
49452         message to standard error.
49454 2012-07-30  Roland McGrath  <roland@hack.frob.com>
49456         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
49457         rather than to 1.
49458         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
49459         (MAXPATHLEN): Removed.
49460         (NOGROUP, NODEV): New macros.
49461         (setbit, clrbit, isset, isclr): New macros.
49462         (howmany, roundup, powerof2): New macros.
49463         (DEV_BSIZE): New macro.
49465         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
49466         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
49468         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
49469         definition on [!__NO_LONG_DOUBLE_MATH].
49471         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
49472         PTR_MANGLE and PTR_DEMANGLE.
49474         * socket/accept4.c (accept4): Rename to __libc_accept4.
49475         Define accept4 as a weak alias.
49477         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
49478         on [_DIRENT_HAVE_D_TYPE].
49479         * io/ftw.c (ftw_dir): Likewise.
49481         * io/xmknod.c (__xmknod): Don't check PATH for being null.
49483         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
49485         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
49486         Use the BSD numbers rather than the arbitrary ones we had.
49487         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
49488         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
49489         (SIGXCPU, SIGXFSZ): New macros.
49490         (_NSIG): Now 32.
49492         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
49493         initializer on [_LIBC_REENTRANT].
49495         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
49496         definitions inside [_POSIX_MAPPED_FILES].
49498         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
49500         * dirent/opendir.c: Include <fcntl.h>.
49502         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
49503         (__libc_getspecific): Likewise.
49504         (__libc_key_create): Likewise.
49506         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
49507         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
49508         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
49509         (tmpfile64): Define as alias.
49510         * sysdeps/wordsize-64/tmpfile.c: File removed.
49511         * sysdeps/wordsize-64/tmpfile64.c: File removed.
49512         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
49513         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
49515         * stdio-common/vfscanf.c: Include <stdbool.h>.
49516         * nss/makedb.c: Likewise.
49517         * stdio-common/_i18n_number.h: Likewise.
49518         * argp/argp-help.c: Likewise.
49519         * posix/wordexp.c: Likewise.
49520         * sysdeps/posix/spawni.c: Likewise.
49521         * nss/nss_files/files-initgroups.c: Likewise.
49522         * stdio-common/reg-modifier.c: Include <stdlib.h>.
49523         * nss/nss_files/files-initgroups.c: Likewise.
49524         * nss/nss_db/db-netgrp.c: Likewise.
49525         * nss/nss_db/db-initgroups.c: Likewise.
49526         * io/fchmodat.c: Include <sys/stat.h>.
49528         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
49529         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
49531         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
49532         [HAVE_MMAP].
49534         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
49535         Add multiple inclusion protection.
49537 2012-07-27  David S. Miller  <davem@davemloft.net>
49539         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49541 2012-07-27  Gary Benson  <gbenson@redhat.com>
49543         [BZ #14298]
49544         * elf/rtld.c: Include <stap-probe.h>.
49545         (dl_main): Added static probes "init_start" and "init_complete".
49546         * elf/dl-load.c: Include <stap-probe.h>.
49547         (lose): Take new parameter "nsid".
49548         Added static probe "map_failed".
49549         (_dl_map_object_from_fd): Pass namespace id to lose.
49550         Added static probe "map_start".
49551         (open_verify): Pass namespace id to lose.
49552         * elf/dl-open.c: Include <stap-probe.h>.
49553         (dl_open_worker) Added static probes "map_complete", "reloc_start"
49554         and "reloc_complete".
49555         * elf/dl-close.c: Include <stap-probe.h>.
49556         (_dl_close_worker): Added static probes "unmap_start" and
49557         "unmap_complete".
49558         * elf/rtld-debugger-interface.txt: New file documenting the above.
49560 2012-07-26  Roland McGrath  <roland@hack.frob.com>
49562         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
49563         rather than a string variable.
49564         * sunrpc/rpc_main.c (h_output): Likewise.
49565         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
49567 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
49569         * inet/check_native.c: New file.
49571 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
49573         [BZ #13629]
49574         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
49575         if larger part has absolute value 1.0.
49576         * math/s_clog10.c (__clog10): Likewise.
49577         * math/s_clog10f.c (__clog10f): Likewise.
49578         * math/s_clog10l.c (__clog10l): Likewise.
49579         * math/s_clogf.c (__clogf): Likewise.
49580         * math/s_clogl.c (__clogl): Likewise.
49581         * math/libm-test.inc (clog_test): Add more tests.
49582         (clog10_test): Likewise.
49583         * sysdeps/i386/fpu/libm-test-ulps: Update.
49584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49586         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
49587         (pltexit): Likewise.
49588         (La_regs): Likewise.
49589         (La_retval): Likewise.
49590         (int_retval): Likewise.
49591         Update #error for removed macros to refer only to definitions in
49592         tst-audit.h.
49593         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
49594         macro.
49595         (pltexit): Likewise.
49596         (La_regs): Likewise.
49597         (La_retval): Likewise.
49598         (int_retval): Likewise.
49599         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
49600         macro.
49601         (pltexit): Likewise.
49602         (La_regs): Likewise.
49603         (La_retval): Likewise.
49604         (int_retval): Likewise.
49605         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
49606         macro.
49607         (pltexit): Likewise.
49608         (La_regs): Likewise.
49609         (La_retval): Likewise.
49610         (int_retval): Likewise.
49611         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
49612         macro.
49613         (pltexit): Likewise.
49614         (La_regs): Likewise.
49615         (La_retval): Likewise.
49616         (int_retval): Likewise.
49617         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
49618         macro.
49619         (pltexit): Likewise.
49620         (La_regs): Likewise.
49621         (La_retval): Likewise.
49622         (int_retval): Likewise.
49623         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
49624         macro.
49625         (pltexit): Likewise.
49626         (La_regs): Likewise.
49627         (La_retval): Likewise.
49628         (int_retval): Likewise.
49629         * sysdeps/generic/tst-audit.h: Update comment to refer only to
49630         macro definitions in tst-audit.h.
49631         * sysdeps/i386/tst-audit.h: New file.
49632         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
49633         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
49634         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
49635         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
49636         * sysdeps/sh/tst-audit.h: Likewise.
49637         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
49638         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
49639         * sysdeps/x86_64/tst-audit.h: Likewise.
49641 2012-07-26  Andreas Jaeger  <aj@suse.de>
49643         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
49644         ptrace.
49646         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
49647         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
49648         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
49649         PTRACE_O_MASK.
49650         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
49651         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
49652         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
49654         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
49655         value.
49657         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
49658         _sigsys.
49659         (si_call_addr, si_syscall, si_arch): Define new macro.
49660         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
49661         _sigsys.
49662         (si_call_addr, si_syscall, si_arch): Define new marcro.
49663         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
49664         _sigsys.
49665         (si_call_addr, si_syscall, si_arch): Define new macro.
49666         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
49667         _sigsys.
49668         (si_call_addr, si_syscall, si_arch): Define new macro.
49670 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
49672         [BZ #13717]
49673         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
49674         Change to 2.4.21 where previously 2.4.1.
49675         * sysdeps/unix/sysv/linux/configure: Regenerated.
49676         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
49677         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
49678         Linux kernel version.
49679         (__ASSUME_STD_AUXV): Remove.
49680         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
49681         kernel version.
49682         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
49683         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
49684         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
49685         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
49686         (__ASSUME_NETLINK_SUPPORT): Likewise.
49687         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
49688         (__no_netlink_support): Remove conditional definition.
49689         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
49690         Remove.
49691         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
49692         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
49693         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
49694         (if_nameindex_ioctl): Remove.
49695         (if_nameindex_netlink): Do not handle __no_netlink_support.
49696         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
49697         code.
49698         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
49699         Remove conditional code.
49700         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
49701         code.
49702         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
49703         unconditional.
49704         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
49705         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
49706         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
49707         Remove.
49708         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
49709         [!__ASSUME_STD_AUXV]: Remove conditional code.
49710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
49711         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
49712         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
49713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
49714         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
49715         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
49716         code.
49717         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
49718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
49719         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
49720         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
49721         conditional code.
49722         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
49723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
49724         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
49725         code.
49726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
49727         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
49728         conditional code.
49729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
49730         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
49731         code unconditional.
49732         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49733         conditional code.
49734         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
49735         unconditional.
49736         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49737         conditional code.
49738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49739         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
49740         unconditional.
49741         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49742         conditional code.
49743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
49744         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
49745         code unconditional.
49746         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49747         conditional code.
49748         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
49749         unconditional.
49750         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49751         conditional code.
49752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
49753         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
49754         code unconditional.
49755         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49756         conditional code.
49757         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
49758         unconditional.
49759         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49760         conditional code.
49762 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
49764         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
49765         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
49766         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
49767         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
49768         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
49769         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
49770         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
49771         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
49772         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
49773         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
49774         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
49775         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
49776         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
49777         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
49778         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
49779         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
49780         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
49781         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
49782         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
49783         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
49784         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
49785         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
49786         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
49788 2012-07-25  Florian Weimer  <fweimer@redhat.com>
49790         * Versions.def: Add GLIBC_2.17.
49791         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
49792         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
49793         Introduce __libc_secure_getenv.
49794         * stdlib/Versions (2.17): Add secure_getenv
49795         (GLIBC_PRIVATE): Add __libc_secure_getenv.
49796         * stdlib/secure-getenv.c: Rename __secure_getenv to
49797         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
49798         symbol __secure_getenv for GLIBC_2.0.
49799         * stdlib/tst-secure-getenv.c: New.
49800         * stdlib/Makefile (tests): Add testcase.
49801         * manual/startup.texi (Environment Access): Document
49802         secure_getenv.
49803         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
49804         __libc_secure_getenv.
49805         * inet/ruserpass.c (ruserpass): Likewise.
49806         * malloc/mtrace.c (mtrace): Likewise.
49807         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
49808         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
49809         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
49810         * sysdeps/posix/tempname.c: Likewise.  Evaluate
49811         HAVE_SECURE_GETENV.
49812         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
49813         __secure_getenv to __libc_secure_getenv.
49814         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
49815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49816         Likewise.
49817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49818         Likewise.
49819         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
49820         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
49821         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
49822         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
49823         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
49824         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
49825         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
49827 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
49829         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
49830         (struct La_i86_retval): Likewise.
49831         (struct La_x86_64_regs): Likewise.
49832         (struct La_x86_64_retval): Likewise.
49833         (struct La_x32_regs): Likewise.
49834         (struct La_x32_retval): Likewise.
49835         (struct La_ppc32_regs): Likewise.
49836         (struct La_ppc32_retval): Likewise.
49837         (struct La_ppc64_regs): Likewise.
49838         (struct La_ppc64_retval): Likewise.
49839         (struct La_sh_regs): Likewise.
49840         (struct La_sh_retval): Likewise.
49841         (struct La_s390_32_regs): Likewise.
49842         (struct La_s390_32_retval): Likewise.
49843         (struct La_s390_64_regs): Likewise.
49844         (struct La_s390_64_retval): Likewise.
49845         (struct La_sparc32_regs): Likewise.
49846         (struct La_sparc32_retval): Likewise.
49847         (struct La_sparc64_regs): Likewise.
49848         (struct La_sparc64_retval): Likewise.
49849         (struct audit_ifaces): Remove architecture-specific pltenter and
49850         pltexit members.
49851         * sysdeps/i386/ldsodefs.h: New file.
49852         * sysdeps/powerpc/ldsodefs.h: Likewise.
49853         * sysdeps/s390/ldsodefs.h: Likewise.
49854         * sysdeps/sh/ldsodefs.h: Likewise.
49855         * sysdeps/sparc/ldsodefs.h: Likewise.
49856         * sysdeps/x86_64/ldsodefs.h: Likewise.
49858 2012-07-25  Marek Polacek  <polacek@redhat.com>
49860         [BZ #6808]
49861         * math/libm-test.inc (yn_test): Add another test.
49862         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
49863         to ERANGE when the result is +-Inf.
49864         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
49865         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
49866         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
49867         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
49869 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
49871         * conform/data/time.h-data (NULL): Use macro-constant.  Require
49872         equal to 0.
49873         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
49874         clock_t.
49875         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
49877 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
49879         * configure.in <sysdeps resolving>: Correct printing
49880         Implies_before.
49881         * configure: Regenerate.
49883 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
49885         * math/w_ilogb.c: Include <limits.h>.
49886         * math/w_ilogbl.c: Likewise.
49888 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
49890         * manual/lang.texi (__va_copy): Document primarily as ISO C99
49891         va_copy.  Document allowing for unavailable va_copy only as
49892         pre-C99 compatibility.
49893         * manual/string.texi (Copying and Concatenation): Use va_copy
49894         instead of __va_copy in concat example.
49896 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
49898         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
49899         (__sendto): Use create_address_port.  Initialize APORT and deallocate
49900         it if not null.
49902         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
49903         with O_NOLINK passed to __file_name_lookup.
49905         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
49906         with O_NOLINK passed to __file_name_lookup.
49908         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
49909         negative N or less than NGIDS.
49911         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
49912         type to string_t.  Set ERANGE as errno and return it if NAME is not big
49913         enough.  Use memcpy instead of strncpy.
49915 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
49917         * elf/Makefile (check-data): Remove.
49918         (localplt.data): New vpath directive.
49919         ($(objpfx)check-localplt.out): Use localplt.data from vpath
49920         instead of $(check-data).
49921         * scripts/data/localplt-generic.data: Move to ...
49922         * sysdeps/generic/localplt.data: ... here.
49923         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
49924         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
49925         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
49926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
49927         ... here.
49928         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
49929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
49930         ... here.
49931         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
49932         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
49933         ... here.
49934         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
49935         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
49936         ... here.
49937         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
49938         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
49939         ... here.
49940         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
49941         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
49942         ... here.
49944 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49946         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
49947         PPC32 and PPC64 files.
49948         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
49949         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
49951 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49953         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
49954         __makecontext_ret to ...
49955         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
49956         ... here and call exit if uc_link is NULL.  New file.
49957         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
49958         __makecontext_ret.S.
49959         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
49960         __makecontext_ret to ...
49961         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
49962         ... here and call exit if uc_link is NULL.  New file.
49963         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
49964         __makecontext_ret.S.
49966 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49968         * elf/elf.h (R_390_IRELATIVE): New definition.
49969         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
49970         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
49971         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
49972         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
49973         (elf_machine_lazy_rel): Likewise.
49974         * sysdeps/s390/dl-irel.h: New file.
49975         * sysdeps/s390/s390-64/memcpy.S: New asm code.
49976         * sysdeps/s390/s390-64/memset.S: New asm code.
49977         * sysdeps/s390/s390-64/memcmp.S: New asm code.
49978         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
49979         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
49980         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
49981         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
49982         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
49983         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
49984         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
49985         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
49986         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
49987         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
49988         * sysdeps/s390/s390-32/memcpy.S: New asm code.
49989         * sysdeps/s390/s390-32/memset.S: New asm code.
49990         * sysdeps/s390/s390-32/memcmp.S: New asm code.
49992 2012-07-17  Marek Polacek  <polacek@redhat.com>
49994         [BZ #14349]
49995         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
49996         * sysdeps/s390/s390-64/configure.in: Likewise.
49997         * sysdeps/sparc/configure.in: Likewise.
49998         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
49999         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
50000         * sysdeps/i386/configure.in: Likewise.
50001         * sysdeps/x86_64/configure.in: Likewise.
50002         * sysdeps/sh/configure.in: Likewise.
50003         * sysdeps/s390/s390-32/configure: Regenerated.
50004         * sysdeps/s390/s390-64/configure: Likewise.
50005         * sysdeps/x86_64/configure: Likewise.
50006         * sysdeps/sh/configure: Likewise.
50007         * sysdeps/powerpc/powerpc64/configure: Likewise.
50008         * sysdeps/powerpc/powerpc32/configure: Likewise.
50009         * sysdeps/sparc/configure: Likwise.
50010         * sysdeps/i386/configure: Likewise.
50012         * elf/dl-open.c: Comment fixes.
50014 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
50016         * Makefile [CXX] (check-data): Remove.
50017         [CXX] (c++-types.data): New vpath directive.
50018         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
50019         vpath.  Do not allow for C++ type data being missing.
50020         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
50021         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
50022         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
50023         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
50024         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
50025         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
50026         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
50027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
50028         ... here.
50029         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
50030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
50031         ... here.
50032         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
50033         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
50034         ... here.
50035         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
50036         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
50037         ... here.
50038         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
50039         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
50040         ... here.
50041         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
50042         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
50043         ... here.
50044         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
50045         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
50046         ... here.
50047         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
50048         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
50050         * elf/tls-macros.h (TLS_LE): Move architecture-specific
50051         definitions to architecture-specific files.
50052         (TLS_IE): Likewise.
50053         (TLS_LD): Likewise.
50054         (TLS_GD): Likewise.
50055         * sysdeps/i386/tls-macros.h: New file.
50056         * sysdeps/powerpc/tls-macros.h: Likewise.
50057         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
50058         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
50059         * sysdeps/sh/tls-macros.h: Likewise.
50060         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
50061         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
50062         * sysdeps/x86_64/tls-macros.h: Likewise.
50064 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
50066         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
50067         zero value for regular exit case.
50069         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
50070         (__start_context): Preserve zero value for regular exit case.
50072 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
50073             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50075         * manual/setjmp.texi (setcontext): Clarify normal process
50076         termination when uc_link is the null pointer.
50077         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
50078         exit call.
50080 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
50082         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
50083         preprocessor.  Test for each exception mask separately.
50085 2012-07-16  Andreas Jaeger  <aj@suse.de>
50087         * po/ru.po: Update from translation team.
50089 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
50091         * conform/data/string.h-data (NULL): Use macro-constant.  Require
50092         equal to 0.
50093         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
50094         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
50095         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
50096         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
50097         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50099 2012-07-13  Andreas Jaeger  <aj@suse.de>
50101         * po/fr.po: Update from translation team.
50103 2012-07-12  Marek Polacek  <polacek@redhat.com>
50105         [BZ #14173]
50106         * math/libm-test.inc (yn_test): Add test for BZ #14173.
50107         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
50108         loop condition.
50110 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
50112         [BZ #13717]
50113         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
50114         Change to 2.4.1 where previously 2.4.0.
50115         * sysdeps/unix/sysv/linux/configure: Regenerated.
50116         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
50117         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
50118         version.
50119         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
50120         (__ASSUME_AT_CLKTCK): Remove.
50121         (__ASSUME_AT_PAGESIZE): Likewise.
50122         (__ASSUME_AT_XID): Likewise.
50123         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
50124         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
50125         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
50126         unconditionally.
50127         (HAVE_AUX_PAGESIZE): Likewise.
50128         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
50129         [__ASSUME_AT_CLKTCK]: Make code unconditional.
50130         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
50132 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
50134         [BZ #14307]
50135         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
50136         the temporary buffer used to invoke __gethostbyname2_r,
50137         __gethostbyaddr_r and gethostbyname4_r to make room for struct
50138         host_data / struct gaih_addrtuple.
50139         * resolv/nss_dns/dns-host.c (global scope): Move definition of
50140         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
50141         header file nss/nsswitch.h.
50142         * nss/nsswitch.h (global scope): Add definition of implementation
50143         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
50144         resolv/nss_dns/dns-host.c).
50146 2012-07-11  Andreas Jaeger  <aj@suse.de>
50148         * po/fr.po: Update from translation team.
50150         * po/sv.po: Update from translation team
50151         * po/fr.po: Another update from translation team.
50153 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50155         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
50156         for subnormals or multiply small sinh result by itself.
50157         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
50158         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50160 2012-07-11  David S. Miller  <davem@davemloft.net>
50162         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50164 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
50166         [BZ #14347]
50167         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
50168         (INTERNAL_MARK): Shift it here.
50170 2012-07-10  Marek Polacek  <polacek@redhat.com>
50172         [BZ #14151]
50173         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
50174         libc_cv_asm_global_directive with .globl.
50175         * configure: Regenerated.
50176         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
50177         with .globl.
50178         * sysdeps/i386/configure: Regenerated.
50179         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
50180         with .globl.
50181         * sysdeps/x86_64/configure: Regenerated.
50182         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
50183         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
50184         * elf/tst-unique2mod2.c: Likewise.
50185         * elf/tst-unique2mod1.c: Likewise.
50186         * elf/tst-unique1mod2.c: Likewise.
50187         * elf/tst-unique1mod1.c: Likewise.
50188         * sysdeps/s390/s390-32/sysdep.h: Likewise.
50189         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
50190         * sysdeps/s390/s390-64/sysdep.h: Likewise.
50191         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
50192         * sysdeps/mach/sysdep.h: Likewise.
50193         * sysdeps/i386/sysdep.h: Likewise.
50194         * sysdeps/i386/i386-mcount.S: Likewise.
50195         * sysdeps/x86_64/_mcount.S: Likewise.
50196         * sysdeps/x86_64/sysdep.h: Likewise.
50197         * sysdeps/sh/_mcount.S: Likewise.
50198         * sysdeps/sh/sysdep.h: Likewise.
50199         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
50200         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
50201         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
50202         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
50203         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
50204         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
50205         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
50206         * locale/localeinfo.h: Likewise.
50207         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
50208         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
50210 2012-07-09  Roland McGrath  <roland@hack.frob.com>
50212         [BZ #14336]
50213         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
50214         system".
50215         * manual/message.texi (The Uniforum approach): Likewise.
50216         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
50217         (glibc iconv Implementation): Likewise.
50219 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
50221         [BZ #14337]
50222         * math/s_clog.c (__clog): Avoid scaling a value down where that
50223         could result in underflow.
50224         * math/s_clog10.c (__clog10): Likewise.
50225         * math/s_clog10f.c (__clog10f): Likewise.
50226         * math/s_clog10l.c (__clog10l): Likewise.
50227         * math/s_clogf.c (__clogf): Likewise.
50228         * math/s_clogl.c (__clogl): Likewise.
50229         * math/libm-test.inc (clog_test): Add more tests.
50230         (clog10_test): Likewise.
50231         * sysdeps/i386/fpu/libm-test-ulps: Update.
50232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50234 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
50236         [BZ #14283]
50237         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
50238         by 7 not 8 to examine high bit of fractional part.
50240         [BZ #14042]
50241         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
50242         for call to __mcount_internal.
50243         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
50244         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
50245         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
50247 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
50249         [BZ #14154]
50250         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
50251         approximation for values within 0x1p-13f of an odd multiple of
50252         pi/4.
50253         * math/libm-test.inc (tan_test): Do not allow spurious underflow
50254         exception.  Add more tests.
50255         * sysdeps/i386/fpu/libm-test-ulps: Update.
50257         [BZ #6778]
50258         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
50259         inputs and return -1 for them.  Do not check for +Inf in case not
50260         reachable for +Inf.
50261         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
50262         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
50263         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
50264         and return -1 for them.  Do not check for +Inf in case not
50265         reachable for +Inf.
50266         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
50267         define.
50268         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
50269         and return -1 for them.  Do not check for +Inf in case not
50270         reachable for +Inf.
50271         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
50272         spurious underflow.
50273         * sysdeps/i386/fpu/libm-test-ulps: Update.
50274         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50276 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
50278         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
50280 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
50282         [BZ #14157]
50283         [BZ #14331]
50284         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
50285         could result in spurious underflow.  Scale down values above
50286         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
50287         * math/s_csqrtf.c (__csqrtf): Likewise.
50288         * math/s_csqrtl.c (__csqrtl): Likewise.
50289         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
50290         spurious underflow.
50291         * sysdeps/i386/fpu/libm-test-ulps: Update.
50292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50294 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
50296         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
50297         xopen-msg.sed.
50298         * catgets/xopen-msg.awk: New file.
50299         * catgets/xopen-msg.sed: Removed.
50301         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
50302         po2text.sed.
50303         * intl/po2test.awk: New file.
50304         * intl/po2test.sed: Removed.
50306 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
50308         [BZ #14328]
50309         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
50310         or multiply small sinh result by itself.
50311         * math/s_ctanf.c (__ctanf): Likewise.
50312         * math/s_ctanh.c (__ctanh): Likewise.
50313         * math/s_ctanhf.c (__ctanhf): Likewise.
50314         * math/s_ctanhl.c (__ctanhl): Likewise.
50315         * math/s_ctanl.c (__ctanl): Likewise.
50316         * math/libm-test.inc (ctan_test_tonearest): New function.
50317         (ctan_test_towardzero): Likewise.
50318         (ctan_test_downward): Likewise.
50319         (ctan_test_upward): Likewise.
50320         (ctanh_test_tonearest): Likewise.
50321         (ctanh_test_towardzero): Likewise.
50322         (ctanh_test_downward): Likewise.
50323         (ctanh_test_upward): Likewise.
50324         (main): Call these new functions.
50325         * sysdeps/i386/fpu/libm-test-ulps: Update.
50326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50328 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
50330         * .gitignore: Delete /ports entry.
50332 2012-07-03  Andreas Jaeger  <aj@suse.de>
50334         * po/bg.po: Update from translation team.
50335         * po/cs.po: Likewise.
50336         * po/de.po: Likewise.
50337         * po/hr.po: Likewise.
50338         * po/nl.pl: Likewise.
50339         * po/pl.po: Likewise.
50340         * po/vi.po: Likewise.
50342 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
50344         * Makeconfig [!+link] (+link-before-libc): New variable.
50345         [!+link] (+link-after-libc): Likewise.
50346         [!+link] (+link-tests): Likewise.
50347         [!+link] (+link): Define in terms of $(+link-before-libc) and
50348         $(+link-after-libc).
50349         [!+link-static] (+link-static-before-libc): New variable.
50350         [!+link-static] (+link-static-after-libc): Likewise.
50351         [!+link-static] (+link-static-tests): Likewise.
50352         [!+link-static] (+link-static): Define in terms of
50353         $(+link-static-before-libc) and $(+link-static-after-libc).
50354         [build-shared] (link-libc-before-gnulib): New variable.
50355         [build-shared] (link-libc-tests): Likewise.
50356         [build-shared] (link-libc): Define in terms of
50357         $(link-libc-before-gnulib).
50358         [!build-shared] (link-libc-tests): New variable.
50359         (link-libc-static-tests): New variable.
50360         [!gnulib] (gnulib-arch): New variable.
50361         [!gnulib] (gnulib-tests): Likewise.
50362         [!gnulib] (static-gnulib-arch): Likewise.
50363         [!gnulib] (static-gnulib-tests): Likewise.
50364         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
50365         Define with "=" instead of ":=".
50366         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
50367         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
50368         * Rules (binaries-all-notests): New variable.
50369         (binaries-all-tests): Likewise.
50370         (binaries-static-notests): Likewise.
50371         (binaries-static-tests): Likewise.
50372         (binaries-all): Define using $(binaries-all-notests) and
50373         $(binaries-all-tests).
50374         (binaries-static): Define using $(binaries-static-notests) and
50375         $(binaries-static-tests).
50376         (binaries-shared-tests): New variable.
50377         (binaries-shared-notests): Likewise.
50378         (binaries-shared): Remove variable.
50379         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
50380         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
50381         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
50382         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
50383         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
50384         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
50385         * elf/Makefile (sln-modules): New variable.
50386         (extra-objs): Add $(sln-modules:=.o).
50387         (ldconfig-modules): Add static-stubs.
50388         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
50389         * elf/static-stubs.c: New file.
50391         [BZ #14283]
50392         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
50393         by 7 not 8 to examine high bit of fractional part.  Use volatile
50394         variables when splitting into final array of floats if
50395         __FLT_EVAL_METHOD__ != 0.
50396         * math/libm-test.inc (cos_test): Add another test.
50397         (sin_test): Likewise.
50398         * sysdeps/i386/fpu/libm-test-ulps: Update.
50400         [BZ #14273]
50401         * math/libm-test.inc (cosh_test): Add more tests.
50403         * version.h (RELEASE): Set to "development".
50404         (VERSION): Set to "2.16.90".
50406 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
50408         * NEWS: Update copyright. Remove last-updated date.
50409         Mention math library bug fixes and timezone data changes.
50410         * README: Mention GNU/Hurd, x32, and HPPA support status.
50412 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
50414         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
50416 2012-06-27  Andreas Jaeger  <aj@suse.de>
50418         * manual/contrib.texi (Contributors): Add Samuel Thibault.
50420 2012-06-25  Andreas Jaeger  <aj@suse.de>
50422         * sysdeps/s390/fpu/libm-test-ulps: Update.
50424 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
50425             Thomas Schwinge  <thomas@codesourcery.com>
50427         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
50428         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
50429         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
50430         fanotify_mark.
50432 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
50434         * sysdeps/mach/start.c: Remove file.
50435         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
50436         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
50437         * sysdeps/sh/init-first.c: Likewise.
50439         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
50440         registers for frame unwinding purposes, add CFI directives.
50441         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
50442         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
50443         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
50444         Likewise.
50446         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
50447         __fortify_fail returning.
50448         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
50450         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
50451         sysdeps/sh/____longjmp_chk.S.
50452         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
50453         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
50454         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
50455         (gen-as-const-headers): Append sigaltstack-offsets.sym.
50457         * sysdeps/sh/abort-instr.h: New file.
50458         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
50459         process in case exit returns.
50461         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
50462         initialize the GOT register before use.
50464         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
50465         calculation of ARGC > 4.
50467         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
50468         meaningful names to some local labels.
50470 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
50471             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50473         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
50474         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
50475         (__arch_compare_and_exchange_val_16_acq): Likewise.
50476         (__arch_compare_and_exchange_val_32_acq): Likewise.
50477         (atomic_exchange_and_add): Fix gUSA sequence.
50478         (atomic_add): Likewise.
50479         (atomic_add_negative): Likewise.
50480         (atomic_add_zero): Likewise.
50481         (atomic_bit_test_set): Likewise.
50483 2012-06-22  Andreas Schwab  <schwab@redhat.com>
50485         [BZ #13579]
50486         * include/link.h (struct link_map): Add l_free_initfini.
50487         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
50488         l_initfini.
50489         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
50490         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
50491         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
50492         set.
50494 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
50496         * configure.in: Use AC_LANG_SOURCE.
50497         * configure: Regenerate.
50499 2012-06-22  Roland McGrath  <roland@hack.frob.com>
50501         * configure.in (libc_cv_localstatedir): New substituted variable.
50502         * configure: Regenerated.
50503         * config.make.in (localstatedir): New variable, substituted from
50504         libc_cv_localstatedir.
50505         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
50506         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
50507         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
50508         * sysdeps/gnu/configure: Regenerated.
50510 2012-06-21  Jeff Law  <law@redhat.com>
50512         [BZ #14277]
50513         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
50514         free.  Simplify list management for _LIBC case.
50516 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
50518         [BZ #14273]
50519         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
50520         Clear sign bit of 64-bit integer value before comparing against
50521         overflow value.
50523         * sysdeps/mach/configure: Regenerated.
50525 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
50527         [BZ #14278]
50528         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
50530 2012-06-21  Jeff Law  <law@redhat.com>
50532         [BZ #13882]
50533         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
50534         uint16_t for elements in the "seen" array to avoid char overflows.
50535         * elf/dl-fini.c (_dl_sort_fini): Likewise.
50536         * elf/dl-open.c (dl_open_worker): Likewise.
50538 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
50540         * scripts/list-sources.sh: Scan PORTS for translations.
50541         * po/libc.pot: Regenerated.
50543 2012-06-21  Andreas Jaeger  <aj@suse.de>
50545         [BZ #12194]
50546         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
50547         warning.
50548         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
50549         * bits/byteswap-16.h (__bswap_16): Likewise.
50550         * bits/byteswap.h (__bswap_constant_16): Likewise.
50552 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
50554         [BZ #14117]
50555         * sysdeps/i386/fpu_control.h: Removed.
50556         * sysdeps/x86_64/fpu_control.h: Moved to ...
50557         * sysdeps/x86/fpu_control.h: Here.
50559         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
50560         (_FPU_SETCW): Likewise.
50562 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
50564         [BZ #14117]
50565         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
50566         * sysdeps/x86/fpu/bits/mathinline.h: This.
50567         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
50569         [BZ #14050]
50570         [BZ #14117]
50571         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
50572         functions if __x86_64__ is defined.
50574 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
50576         * string/endian.h: Add !__ASSEMBLER__ condition for including
50577         conversion interfaces.
50579 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
50581         [BZ #14241]
50582         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
50583         of ABS(x) in calculating zero to negative powers other than odd
50584         integers.
50585         * math/libm-test.inc (pow_test): Add more tests.
50587 2012-06-15  Andreas Jaeger  <aj@suse.de>
50589         * manual/contrib.texi (Contributors): Update entry of Liubov
50590         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
50591         Machado Filho.
50593 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
50595         * string/string.h: Add __wur to GNU version of strerror_r.
50597 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
50599         [BZ #14229]
50600         * string/Makefile (tests): Add tst-strtok_r.
50601         * string/tst-strtok_r.c: New file.
50602         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
50603         RAX_LP/RDX_LP on SAVE_PTR.
50605 2012-06-14  Roland McGrath  <roland@hack.frob.com>
50607         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
50609 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
50611         * libm_test.inc (csqrt_test): Allow more spurious underflow
50612         exceptions.
50613         (j0_test): Likewise.
50614         (j1_test): Likewise.
50615         (y0_test): Likewise.
50616         (y1_test): Likewise.
50618 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
50620         * po/Makefile (libc.pot): Use UTF-8 charset.
50622 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
50624         [BZ #14210]
50625         Suppress sign-conversion warning from FD_SET.
50626         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
50627         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
50628         not unsigned long int.
50629         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
50631 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
50633         [BZ #14050]
50634         [BZ #14117]
50635         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
50636         __extern_always_inline instead of __extern_inline.
50637         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
50638         (__signbit): Likewise.
50639         (__signbitl): Support C++ namespace.
50640         (lrintf): New inline function.
50641         (lrint): Likewise.
50642         (llrintf): Likewise.
50643         (llrint): Likewise.
50644         (fmaxf): Likewise.
50645         (fmax): Likewise.
50646         (fminf): Likewise.
50647         (fmin): Likewise.
50648         (rint): Likewise.
50649         (rintf): Likewise.
50650         (ceil): Likewise.
50651         (ceilf): Likewise.
50652         (floor): Likewise.
50653         (floorf): Likewise.
50654         (nearbyint): Likewise.
50655         (nearbyintf): Likewise.
50657 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
50659         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
50660         non-default versions.
50662 2012-06-11  Roland McGrath  <roland@hack.frob.com>
50664         [BZ #14218]
50665         * manual/argp.texi (Argp): Reword argp_parse description slightly.
50667 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
50669         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
50670         (FE_UPWARD, FE_DOWNWARD): Don't define.
50671         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
50672         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
50674         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
50675         reading it.
50676         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
50677         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
50679 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50681         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
50682         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
50683         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
50684         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
50686 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
50688         [BZ #14117]
50689         * sysdeps/i386/fpu/bits/fenv.h: Removed.
50690         * sysdeps/i386/fpu/Implies: New file.
50691         * sysdeps/x86_64/fpu/Implies: Likewise.
50692         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
50693         * sysdeps/x86/fpu/bits/fenv.h: This.
50695         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
50696         __SSE_MATH__.
50698 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
50700         [BZ #14134]
50701         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
50702         character 0xffff that matches the last element of the
50703         conversion table.
50705 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50707         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
50708         fmodl commit.
50710 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50712         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
50713         values higher than 25.6283.
50715 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50717         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
50718         subnormal exponent extraction and add some __builtin_expect.
50719         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
50720         Fix for subnormal mantissa calculation.
50722 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
50724         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
50725         cpu2 is -1 and errno is not ENOSYS.
50727 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
50729         [BZ #14117]
50730         * sysdeps/i386/i486/bits/string.h: Renamed to ...
50731         * sysdeps/x86/bits/string.h: This.
50732         * sysdeps/x86_64/bits/string.h: Removed.
50734         * sysdeps/i386/i486/bits/string.h: Define inline functions only
50735         if not compiling for x86-64, but compiling for >= i486.
50737         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
50738         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
50740         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
50741         New macro from Linux kernel 3.4.0.
50742         (FP_XSTATE_MAGIC2): Likewise.
50743         (FP_XSTATE_MAGIC2_SIZE): Likewise.
50744         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
50745         (struct _fpx_sw_bytes): New struct.
50746         (struct _xsave_hdr): Likewise.
50747         (struct _ymmh_state): Likewise.
50748         (struct _xstate): Likewise.
50750         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
50751         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
50752         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
50753         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
50754         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
50755         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
50757         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
50758         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
50759         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
50760         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
50761         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
50762         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
50764 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50766         [BZ #13743]
50767         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
50768         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
50769         (sysdep_headers): Include sys/platform/ppc.h.
50770         * sysdeps/powerpc/test-gettimebase.c: Test for
50771         __ppc_get_timebase() to catch future ISA opcode/insn changes.
50772         * manual/Makefile (appendices): Include platform.texi.
50773         * manual/contrib.texi (Contributors): Update @node pointers.
50774         * manual/maint.texi (Maintenance): Likewise.
50775         (Platform): New node.
50776         * manual/platform.texi: New file.  Document the new features.
50778 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
50779             Jakub Jelinek  <jakub@redhat.com>
50781         [BZ #14188]
50782         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
50783         where __builtin_expect is unavailable.
50785 2012-06-03  David S. Miller  <davem@davemloft.net>
50787         * stdlib/longlong.h: Updated from GCC.
50789 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
50791         [BZ #14042]
50792         * sysdeps/powerpc/powerpc32/mcount.c: New file.
50793         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
50794         __mcount_internal.
50795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
50796         (GLIBC_2.16): Likewise.
50798 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
50800         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
50802 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
50804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
50805         (default-abi): New variable.
50806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
50807         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
50808         variable.
50809         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
50810         Likewise.
50811         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
50812         Likewise.
50813         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
50814         Likewise.
50816         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
50817         definition.  Document in comment.
50819 2012-06-01  David S. Miller  <davem@davemloft.net>
50821         * stdlib/longlong.h: Updated from GCC.
50823 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
50825         [BZ #14117]
50826         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
50827         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
50828         sys/debugreg.h sys/io.h here.
50829         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
50830         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
50831         sys/io.h.
50832         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
50833         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
50834         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
50835         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
50836         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
50837         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
50839         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
50840         Define only if __x86_64__ is defined.
50842 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
50844         [BZ #14048]
50845         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
50846         Use int64_t for variable i.
50847         * math/libm-test.inc (fmod_test): Add more tests.
50849         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
50850         z computation is not scheduled after fetestexcept.
50851         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
50852         Use math_force_eval instead of asm to ensure calculation scheduled
50853         before exception test.
50854         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
50855         Ensure a1 + u.d computation is not scheduled after fetestexcept.
50857 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
50859         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
50860         computation is not scheduled after fetestexcept.
50862 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
50864         [BZ #14117]
50865         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
50866         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
50868 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50870         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
50871         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
50873 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
50875         [BZ #14117]
50876         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
50877         <bits/wordsize.h>.
50878         (__WCHAR_MIN): Support __WORDSIZE == 64.
50879         (__WCHAR_MAX): Likewise.
50881         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
50882         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
50884         [BZ #14183]
50885         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
50886         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
50888         [BZ #14117]
50889         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
50890         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
50892         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
50893         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
50895         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
50896         Defined to 1 if __x86_64__ isn't defined.
50897         (_STAT_VER_LINUX_OLD): New.
50898         (st_atime): Remove duplicate.
50899         (st_mtime): Likewise.
50900         (st_ctime): Likewise.
50902 2012-05-31  David S. Miller  <davem@davemloft.net>
50904         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
50905         entries.
50907 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
50909         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
50910         gen-libm-test.pl.
50912         [BZ #14132]
50913         * elf/dl-reloc.c: Include <_itoa.h>.
50914         (_dl_reloc_bad_type): Remove use of INTUSE.
50915         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
50916         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
50917         * stdio-common/psiginfo.c (psiginfo): Likewise.
50918         * stdio-common/psignal.c (psignal): Likewise.
50919         * string/strsignal.c (strsignal): Likewise.
50920         * include/signal.h (_sys_siglist): Declare hidden proto.
50921         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
50922         INTVARDEF with libc_hidden_data_def.
50923         * stdio-common/itoa-udigits.c: Likewise.
50924         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
50925         (_itoa_lower_digits_internal): Remove declaration.
50926         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
50927         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
50928         (_sys_sigabbrev_internal): Remove aliases.
50929         (_sys_siglist): Define hidden alias.
50931 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
50933         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50934         bits/sysctl.h.
50936 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
50938         [BZ #14117]
50939         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
50940         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
50942         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
50943         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
50944         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
50945         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
50946         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
50947         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
50949         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
50950         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
50951         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
50953         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
50954         with __addr.
50955         (insw): Likewise.
50956         (insl): Likewise.
50957         (outsb): Likewise.
50958         (outsw): Likewise.
50959         (outsl): Likewise.
50961         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
50962         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
50963         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
50965         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
50966         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
50967         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
50968         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
50969         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
50970         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
50972         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
50973         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
50975         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
50976         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
50978         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
50979         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
50980         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
50982         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
50983         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
50984         to ...
50985         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
50987         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
50988         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
50989         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
50991         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
50992         for x86-64.
50993         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
50995 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
50997         * math/math.h (M_El): Use two more decimal places.
50998         (M_LOG2El): Likewise.
50999         (M_LOG10El): Likewise.
51000         (M_LN2l): Likewise.
51001         (M_LN10l): Likewise.
51002         (M_PIl): Likewise.
51003         (M_PI_2l): Likewise.
51004         (M_PI_4l): Likewise.
51005         (M_1_PIl): Likewise.
51006         (M_2_PIl): Likewise.
51007         (M_2_SQRTPIl): Likewise.
51008         (M_SQRT2l): Likewise.
51009         (M_SQRT1_2l): Likewise.
51011 2012-05-31  David S. Miller  <davem@davemloft.net>
51013         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
51014         values between float registers.
51015         * sysdeps/sparc/sparc64/memset.S: Likewise.
51016         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
51018 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
51020         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
51021         -D_FORTIFY_SOURCE=1.
51022         (CPPFLAGS-tst-longjmp_chk.c): Define.
51023         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
51024         (CPPFLAGS-tst-longjmp_chk2.c): Define.
51025         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
51026         CFLAGS-tst-wchar-h.c.
51028 2012-05-31  Marek Polacek  <polacek@redhat.com>
51030         [BZ #14132]
51031         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
51032         __endmntent_internal): Remove declaration.
51033         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
51034         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
51035         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
51037 2012-05-30  David S. Miller  <davem@davemloft.net>
51039         * sysdeps/sparc/sparc32/soft-fp/q_util.c
51040         (___Q_simulate_exceptions): Use real FP ops rather than writing
51041         into the %fsr.
51042         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
51043         Likewise.
51045 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
51047         [BZ #14117]
51048         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
51049         * sysdeps/x86/bits/xtitypes.h: This.
51051         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
51052         * sysdeps/x86/bits/wordsize.h: This.
51054         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
51055         * sysdeps/x86/bits/huge_vall.h: This.
51057         * sysdeps/i386/bits/select.h: Removed.
51058         * sysdeps/x86_64/bits/select.h: Renamed to ...
51059         * sysdeps/x86/bits/select.h: This.
51061         * sysdeps/i386/bits/setjmp.h: Removed.
51062         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
51063         * sysdeps/x86/bits/setjmp.h: This.
51065         * sysdeps/i386/bits/mathdef.h: Removed.
51066         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
51067         * sysdeps/x86/bits/mathdef.h: This.
51069 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
51071         [BZ #14132]
51072         * include/sys/socket.h (__connect_internal)
51073         (__libc_sa_len_internal): Remove declaration.
51074         (__connect, __libc_sa_len): Declare hidden_proto.
51075         (SA_LEN): Remove use of INTUSE.
51076         * socket/connect.c: Add libc_hidden_def.
51077         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
51078         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
51079         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
51080         alias.
51081         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
51082         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
51083         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
51084         of adding _internal alias.
51086 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
51088         [BZ #14117]
51089         * sysdeps/i386/bits/link.h: Removed.
51090         * sysdeps/i386/bits/linkmap.h: Likewise.
51091         * sysdeps/x86_64/bits/link.h: Renamed to ...
51092         * sysdeps/x86/bits/link.h: This.
51093         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
51094         * sysdeps/x86/bits/linkmap.h: This.
51096         * sysdeps/i386/bits/endian.h: Removed.
51097         * sysdeps/x86_64/bits/endian.h: Renamed to ...
51098         * sysdeps/x86/bits/endian.h: This.
51100         * sysdeps/i386/bits/byteswap.h: Removed.
51101         * sysdeps/i386/bits/byteswap-16.h: Likewise.
51102         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
51103         * sysdeps/x86/bits/byteswap.h: This.
51104         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
51105         * sysdeps/x86/bits/byteswap-16.h: This.
51106         * sysdeps/i386/Implies: Add x86.
51107         * sysdeps/x86_64/Implies: Likewise.
51109 2012-05-30  David S. Miller  <davem@davemloft.net>
51111         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
51112         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
51113         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
51114         (FP_TRAPPING_EXCEPTIONS): Define.
51115         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
51116         (FP_TRAPPING_EXCEPTIONS): Define.
51117         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
51118         subnormals only when inexact has been signalled or underflow
51119         exceptions are enabled.
51120         (_FP_PACK_CANONICAL): Likewise.
51122 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
51124         [BZ #14183]
51125         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
51126         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
51128 2012-05-30  Richard Henderson  <rth@twiddle.net>
51130         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
51131         with #ifndef NOT_IN_libc.
51133         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
51134         marked to avoid plt entry.
51136 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
51138         [BZ #14112]
51139         * Makeconfig (default-abi): New macro.
51140         (abi-includes): Likewise.
51141         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
51142         $(abi-$(default-abi)-lib-soname) for soname if defined.
51143         ($(common-objpfx)gnu/lib-names.stmp): Generate from
51144         abi-variants.
51145         * Makefile (installed-stubs): Likewise.
51146         * include/stubs-biarch.h: Removed.
51147         * scripts/lib-names.awk: Only handle one library at a time.
51148         * scripts/soversions.awk: Remove WORDSIZE support.
51149         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
51150         entries.
51151         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
51152         Removed.
51153         (syscall-list-default-condition): Likewise.
51154         (syscall-list-default-condition): Likewise.
51155         (syscall-list-includes): Likewise.
51156         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
51157         syscall-list-* with abi-*.  Handle undefined abi-variants.
51158         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
51159         * sysdeps/unix/sysv/linux/i386/Implies: New file.
51160         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
51161         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
51162         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
51163         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
51164         Removed.
51165         (syscall-list-32-options): Likewise.
51166         (syscall-list-32-condition): Likewise.
51167         (syscall-list-64-options): Likewise.
51168         (syscall-list-64-condition): Likewise.
51169         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
51170         macro.
51171         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
51172         Renamed to ...
51173         (abi-*): This.
51174         (abi-64-ld-soname): New macro.
51175         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
51176         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
51177         Renamed to ...
51178         (abi-*): This.
51179         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
51180         * sysdeps/x86_64/x32/shlib-versions: Likewise.
51182 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
51184         * sysdeps/unix/sysv/linux/kernel-features.h
51185         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
51186         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
51187         include <kernel-features.h>.
51188         [!__NR_ftruncate64]: Remove conditional code.
51189         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
51190         [__NR_ftruncate64]: Make code unconditional.
51191         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
51192         * sysdeps/unix/sysv/linux/truncate64.c: Do not
51193         include <kernel-features.h>.
51194         [!__NR_ftruncate64]: Remove conditional code.
51195         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
51196         [__NR_ftruncate64]: Make code unconditional.
51197         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
51198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
51199         include <kernel-features.h>.
51200         [!__NR_ftruncate64]: Remove conditional code.
51201         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
51202         [__NR_ftruncate64]: Make code unconditional.
51203         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
51204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
51205         include <kernel-features.h>.
51206         [!__NR_ftruncate64]: Remove conditional code.
51207         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
51208         [__NR_ftruncate64]: Make code unconditional.
51209         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
51211         * configure.in (libc_cv_fpie): Weaken to a compile test using
51212         LIBC_TRY_CC_OPTION.
51213         * configure: Regenerated.
51215 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51217         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
51218         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
51219         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
51220         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
51221         Refreshed.
51222         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
51223         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
51224         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
51225         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
51226         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
51227         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
51228         Refreshed.
51230 2012-05-27  David S. Miller  <davem@davemloft.net>
51232         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
51233         (___Q_zero): New.
51234         (__Q_simulate_exceptions): Return void.  Change to simulate
51235         exceptions by writing into the %fsr.
51236         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
51237         (__Qp_handle_exceptions): Likewise.
51238         (numbers): Delete.
51239         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
51240         __Qp_handle_exceptions.
51241         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
51242         __Qp_handle_exceptions.
51243         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
51244         as unused and give dummy FP_RND_NEAREST initializer.
51245         (FP_INHIBIT_RESULTS): Define.
51246         (___Q_simulate_exceptions): Update declaration.
51247         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
51248         formatting.
51249         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
51250         as unused and give dummy FP_RND_NEAREST initializer.
51251         (__Qp_handle_exceptions): Update declaration.
51252         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
51253         formatting.
51255 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
51257         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
51258         the temporary FPU control word.
51259         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
51260         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
51261         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
51262         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
51263         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
51264         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
51265         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
51266         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
51267         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
51268         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
51269         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
51271 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51273         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
51274         fields.
51276 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
51278         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
51279         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
51280         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
51281         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
51282         Likewise.
51283         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
51284         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
51285         Likewise.
51287 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
51289         * po/h.po: Update from translation team.
51291 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
51293         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
51295         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
51296         handling of denormals.
51297         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
51298         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
51299         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
51300         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
51301         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
51302         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
51303         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
51304         Likewise.
51306 2012-05-26  Marek Polacek  <polacek@redhat.com>
51308         [BZ #14152]
51309         * math/libm-test.inc (fma_test): Don't always expect underflow
51310         exception.
51312 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51314         [BZ #12416]
51315         * elf/tst-execstack.c: Include stackinfo.h.
51316         (do_test): Adjust test case to ensure that pthread_getattr_np
51317         behaviour remains the same after marking stack executable.
51319 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
51321         * sysdeps/unix/sysv/linux/kernel-features.h
51322         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
51323         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
51324         kernel-features.h.
51325         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
51326         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
51327         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
51328         kernel-features.h.
51329         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
51330         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
51332 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
51334         * configure.in: Define the default includes to being none.
51335         * configure: Regenerated.
51337 2012-05-25  Roland McGrath  <roland@hack.frob.com>
51339         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
51340         * sysdeps/x86_64/setjmp.S: Likewise.
51341         * sysdeps/i386/bsd-setjmp.S: Likewise.
51342         * sysdeps/i386/bsd-_setjmp.S: Likewise.
51343         * sysdeps/i386/setjmp.S: Likewise.
51344         * sysdeps/i386/__longjmp.S: Likewise.
51345         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
51346         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
51348         * include/stap-probe.h: New file.
51349         * configure.in: Handle --enable-systemtap.
51350         * configure: Regenerated.
51351         * config.h.in (USE_STAP_PROBE): New #undef.
51352         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
51353         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
51354         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
51356 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
51358         [BZ #13717]
51359         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
51360         to 2.4.0 where earlier.
51361         * sysdeps/unix/sysv/linux/configure: Regenerated.
51362         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
51363         <kernel-features.h>.
51364         [__ASSUME_32BITUIDS]: Make code unconditional.
51365         [!__ASSUME_32BITUIDS]: Remove conditional code.
51366         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
51367         <kernel-features.h>.
51368         [__ASSUME_32BITUIDS]: Make code unconditional.
51369         [!__ASSUME_32BITUIDS]: Remove conditional code.
51370         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
51371         [__ASSUME_32BITUIDS]: Make code unconditional.
51372         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
51373         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
51374         <kernel-features.h>.
51375         [__ASSUME_32BITUIDS]: Make code unconditional.
51376         [!__ASSUME_32BITUIDS]: Remove conditional code.
51377         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
51378         <kernel-features.h>.
51379         [__ASSUME_32BITUIDS]: Make code unconditional.
51380         [!__ASSUME_32BITUIDS]: Remove conditional code.
51381         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
51382         <kernel-features.h>.
51383         [__ASSUME_32BITUIDS]: Make code unconditional.
51384         [!__ASSUME_32BITUIDS]: Remove conditional code.
51385         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
51386         <kernel-features.h>.
51387         [__ASSUME_32BITUIDS]: Make code unconditional.
51388         [!__ASSUME_32BITUIDS]: Remove conditional code.
51389         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
51390         <kernel-features.h>.
51391         [__ASSUME_32BITUIDS]: Make code unconditional.
51392         [!__ASSUME_32BITUIDS]: Remove conditional code.
51393         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
51394         <kernel-features.h>.
51395         [__ASSUME_32BITUIDS]: Make code unconditional.
51396         [!__ASSUME_32BITUIDS]: Remove conditional code.
51397         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
51398         <kernel-features.h>.
51399         [__ASSUME_32BITUIDS]: Make code unconditional.
51400         [!__ASSUME_32BITUIDS]: Remove conditional code.
51401         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
51402         <kernel-features.h>.
51403         [__ASSUME_32BITUIDS]: Make code unconditional.
51404         [!__ASSUME_32BITUIDS]: Remove conditional code.
51405         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
51406         <kernel-features.h>.
51407         [__ASSUME_32BITUIDS]: Make code unconditional.
51408         [!__ASSUME_32BITUIDS]: Remove conditional code.
51409         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
51410         <kernel-features.h>.
51411         [__ASSUME_32BITUIDS]: Make code unconditional.
51412         [!__ASSUME_32BITUIDS]: Remove conditional code.
51413         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
51414         <kernel-features.h>.
51415         [__NR_setresgid] (__setresgid): Do not declare.
51416         [__ASSUME_32BITUIDS]: Make code unconditional.
51417         [!__ASSUME_32BITUIDS]: Remove conditional code.
51418         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
51419         <kernel-features.h>.
51420         [__NR_setresuid] (__setresuid): Do not declare.
51421         [__ASSUME_32BITUIDS]: Make code unconditional.
51422         [!__ASSUME_32BITUIDS]: Remove conditional code.
51423         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
51424         <kernel-features.h>.
51425         [__ASSUME_32BITUIDS]: Make code unconditional.
51426         [!__ASSUME_32BITUIDS]: Remove conditional code.
51427         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
51428         <kernel-features.h>.
51429         [__ASSUME_32BITUIDS]: Make code unconditional.
51430         [!__ASSUME_32BITUIDS]: Remove conditional code.
51431         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
51432         <kernel-features.h>.
51433         [__ASSUME_32BITUIDS]: Make code unconditional.
51434         [!__ASSUME_32BITUIDS]: Remove conditional code.
51435         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
51436         <kernel-features.h>.
51437         [__ASSUME_32BITUIDS]: Make code unconditional.
51438         [!__ASSUME_32BITUIDS]: Remove conditional code.
51439         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
51440         <kernel-features.h>.
51441         [__ASSUME_32BITUIDS]: Make code unconditional.
51442         [!__ASSUME_32BITUIDS]: Remove conditional code.
51443         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
51444         <kernel-features.h>.
51445         [__ASSUME_32BITUIDS]: Make code unconditional.
51446         [!__ASSUME_32BITUIDS]: Remove conditional code.
51447         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
51448         <kernel-features.h>.
51449         [__ASSUME_32BITUIDS]: Make code unconditional.
51450         [!__ASSUME_32BITUIDS]: Remove conditional code.
51451         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
51452         <kernel-features.h>.
51453         [__ASSUME_32BITUIDS]: Make code unconditional.
51454         [!__ASSUME_32BITUIDS]: Remove conditional code.
51455         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
51456         <kernel-features.h>.
51457         [__ASSUME_32BITUIDS]: Make code unconditional.
51458         [!__ASSUME_32BITUIDS]: Remove conditional code.
51459         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
51460         <kernel-features.h>.
51461         [__ASSUME_32BITUIDS]: Make code unconditional.
51462         [!__ASSUME_32BITUIDS]: Remove conditional code.
51463         * sysdeps/unix/sysv/linux/kernel-features.h
51464         (__ASSUME_SETRESUID_SYSCALL): Remove.
51465         (__ASSUME_SETRESGID_SYSCALL): Likewise.
51466         (__ASSUME_32BITUIDS): Likewise.
51467         (__ASSUME_LDT_WORKS): Likewise.
51468         (__ASSUME_O_DIRECTORY): Likewise.
51469         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
51470         architecture but not kernel version.
51471         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
51472         (__ASSUME_MMAP2_SYSCALL): Likewise.
51473         (__ASSUME_STAT64_SYSCALL): Likewise.
51474         (__ASSUME_IPC64): Likewise.
51475         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
51476         <kernel-features.h>.
51477         [__ASSUME_32BITUIDS]: Make code unconditional.
51478         [!__ASSUME_32BITUIDS]: Remove conditional code.
51479         * sysdeps/unix/sysv/linux/opendir.c: Do not include
51480         <kernel-features.h>.
51481         [__ASSUME_O_DIRECTORY]: Make code unconditional.
51482         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
51483         132096]: Remove conditional code.
51484         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
51485         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
51486         <kernel-features.h>.
51487         [__ASSUME_32BITUIDS]: Make code unconditional.
51488         [!__ASSUME_32BITUIDS]: Remove conditional code.
51489         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
51490         <kernel-features.h>.
51491         [__ASSUME_32BITUIDS]: Make code unconditional.
51492         [!__ASSUME_32BITUIDS]: Remove conditional code.
51493         * sysdeps/unix/sysv/linux/setegid.c: Do not include
51494         <kernel-features.h>.
51495         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
51496         unconditional.
51497         (__setresgid): Do not declare.
51498         [__ASSUME_32BITUIDS]: Make code unconditional.
51499         [!__ASSUME_32BITUIDS]: Remove conditional code.
51500         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
51501         <kernel-features.h>.
51502         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
51503         unconditional.
51504         (__setresuid): Do not declare.
51505         [__ASSUME_32BITUIDS]: Make code unconditional.
51506         [!__ASSUME_32BITUIDS]: Remove conditional code.
51507         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
51508         <kernel-features.h>.
51509         [__ASSUME_32BITUIDS]: Make code unconditional.
51510         [!__ASSUME_32BITUIDS]: Remove conditional code.
51511         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
51512         <kernel-features.h>.
51513         [__ASSUME_32BITUIDS]: Make code unconditional.
51514         [!__ASSUME_32BITUIDS]: Remove conditional code.
51516 2012-05-25  Richard Henderson  <rth@twiddle.net>
51518         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
51519         dl_hwcap to ifunc resolver.
51520         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
51521         elf_ifunc_invoke.
51522         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
51523         dl_hwcap to ifunc resolver.
51524         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
51526 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
51528         [BZ #14153]
51529         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
51530         for |x| <= 2**-26, not 2**-57.
51531         * math/libm-test.inc (acos_test): Do not allow spurious underflow
51532         exception.
51534 2012-05-24  Jeff Law  <law@redhat.com>
51536         * stdio-common/Makefile (tests): Add bug25.
51537         * stdio-common/bug25.c: New test.
51539 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
51541         [BZ #13576]
51542         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
51543         multiple of MALLOC_ALIGNMENT in size.
51544         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
51546 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
51548         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
51549         Require >= 256.
51550         (FILENAME_MAX): Use macro-int-constant.
51551         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
51552         (_IOFBF): Use macro-int-constant.
51553         (_IOLBF): Likewise.
51554         (_IONBF): Likewise.
51555         (SEEK_CUR): Likewise.
51556         (SEEK_END): Likewise.
51557         (SEEK_SET): Likewise.
51558         (TMP_MAX): Likewise.
51559         (EOF): Use macro-int-constant.  Require < 0.
51560         (NULL): Use macro-constant.  Require == 0.
51561         (stdin): Require type to be FILE *.
51562         (stdout): Likewise.
51563         (stderr): Likewise.
51564         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
51565         macro-int-constant.
51566         (EXIT_SUCCESS): Likewise.
51567         (NULL): Use macro-constant.  Require == 0.
51568         (RAND_MAX): Use macro-int-constant.
51569         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
51570         [C99-based standards] (strtof): Require function.
51571         [C99-based standards] (strtold): Likewise.
51572         [C99-based standards] (strtoll): Likewise.
51573         [C99-based standards] (strtoull): Likewise.
51574         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
51575         [ISO || ISO99 || ISO11] (limits.h): Likewise.
51576         [ISO || ISO99 || ISO11] (math.h): Likewise.
51577         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
51578         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
51579         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51581 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
51583         [BZ #14132]
51584         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
51585         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
51586         * intl/dgettext.c (DCGETTEXT): Likewise.
51587         * intl/gettext.c (DCGETTEXT): Likewise.
51588         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
51589         * posix/regex_internal.h (gettext): Likewise.
51590         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
51591         Remove declaration.
51592         * include/argz.h (__argz_count_internal)
51593         (__argz_stringify_internal): Remove declaration.
51594         (__argz_count, __argz_stringify): Declare hidden proto.
51595         * intl/dcgettext.c: Remove use of INTDEF.
51596         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
51597         * string/argz-stringify.c: Likewise.
51598         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
51599         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
51600         Declare hidden proto.
51601         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
51602         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
51603         Declare hidden proto.
51604         * include/stdio.h (__asprintf_internal): Don't declare.
51605         (__asprintf): Don't define as macro.  Declare hidden proto.
51606         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
51607         (__fsetlocking): Declare hidden proto.
51608         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
51609         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
51610         hidden proto.
51611         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
51612         (_IO_setlinebuf): Remove use of INTUSE.
51613         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
51614         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
51615         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
51616         Remove declaration.
51617         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
51618         (_IO_do_flush): Remove use of INTUSE.
51619         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
51620         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
51621         (_IO_adjust_column, _IO_least_wmarker)
51622         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
51623         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
51624         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
51625         (_IO_default_doallocate, _IO_wdefault_doallocate)
51626         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
51627         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
51628         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
51629         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
51630         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
51631         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
51632         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
51633         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
51634         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
51635         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
51636         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
51637         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
51638         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
51639         proto.
51640         (_IO_flush_all_internal, _IO_adjust_column_internal)
51641         (_IO_default_uflow_internal, _IO_default_finish_internal)
51642         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
51643         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
51644         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
51645         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
51646         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
51647         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
51648         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
51649         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
51650         (_IO_file_close_internal, _IO_file_close_it_internal)
51651         (_IO_file_underflow_internal, _IO_file_overflow_internal)
51652         (_IO_file_init_internal, _IO_file_attach_internal)
51653         (_IO_file_fopen_internal, _IO_file_read_internal)
51654         (_IO_file_sync_internal, _IO_file_seek_internal)
51655         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
51656         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
51657         (_IO_str_underflow_internal, _IO_str_overflow_internal)
51658         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
51659         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
51660         (_IO_list_all_internal, _IO_link_in_internal)
51661         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
51662         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
51663         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
51664         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
51665         (_IO_do_write_internal, _IO_padn_internal)
51666         (_IO_getline_info_internal, _IO_getline_internal)
51667         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
51668         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
51669         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
51670         (_IO_vfscanf_internal, _IO_vfprintf_internal)
51671         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
51672         (_IO_init_internal, _IO_un_link_internal): Don't declare.
51673         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
51674         with libc_hidden_ver, remove use of INTUSE.
51675         * libio/genops.c: Likewise.
51676         * libio/freopen.c: Likewise.
51677         * libio/freopen64.c: Likewise.
51678         * libio/iofclose.c: Likewise.
51679         * libio/iofdopen.c: Likewise.
51680         * libio/iofflush.c: Likewise.
51681         * libio/iofflush_u.c: Likewise.
51682         * libio/iofgets.c: Likewise.
51683         * libio/iofgets_u.c: Likewise.
51684         * libio/iofopen.c: Likewise.
51685         * libio/iofopncook.c: Likewise.
51686         * libio/iofread.c: Likewise.
51687         * libio/iofread_u.c: Likewise.
51688         * libio/ioftell.c: Likewise.
51689         * libio/iofwrite.c: Likewise.
51690         * libio/iogetline.c: Likewise.
51691         * libio/iogets.c: Likewise.
51692         * libio/iogetwline.c: Likewise.
51693         * libio/iopadn.c: Likewise.
51694         * libio/iopopen.c: Likewise.
51695         * libio/ioseekoff.c: Likewise.
51696         * libio/ioseekpos.c: Likewise.
51697         * libio/iosetbuffer.c: Likewise.
51698         * libio/iosetvbuf.c: Likewise.
51699         * libio/ioungetc.c: Likewise.
51700         * libio/ioungetwc.c: Likewise.
51701         * libio/iovdprintf.c: Likewise.
51702         * libio/iovsprintf.c: Likewise.
51703         * libio/iovsscanf.c: Likewise.
51704         * libio/memstream.c: Likewise.
51705         * libio/obprintf.c: Likewise.
51706         * libio/oldfileops.c: Likewise.
51707         * libio/oldiofclose.c: Likewise.
51708         * libio/oldiofdopen.c: Likewise.
51709         * libio/oldiofopen.c: Likewise.
51710         * libio/oldiopopen.c: Likewise.
51711         * libio/oldstdfiles.c: Likewise.
51712         * libio/putc.c: Likewise.
51713         * libio/setbuf.c: Likewise.
51714         * libio/setlinebuf.c: Likewise.
51715         * libio/stdfiles.c: Likewise.
51716         * libio/strops.c: Likewise.
51717         * libio/vasprintf.c: Likewise.
51718         * libio/vscanf.c: Likewise.
51719         * libio/vsnprintf.c: Likewise.
51720         * libio/vswprintf.c: Likewise.
51721         * libio/wfiledoalloc.c: Likewise.
51722         * libio/wfileops.c: Likewise.
51723         * libio/wgenops.c: Likewise.
51724         * libio/wmemstream.c: Likewise.
51725         * libio/wstrops.c: Likewise.
51726         * libio/__fpurge.c: Likewise.
51727         * libio/__fsetlocking.c: Likewise.
51728         * assert/assert.c: Likewise.
51729         * debug/fgets_chk.c: Likewise.
51730         * debug/fgets_u_chk.c: Likewise.
51731         * debug/fread_chk.c: Likewise.
51732         * debug/fread_u_chk.c: Likewise.
51733         * debug/gets_chk.c: Likewise.
51734         * debug/obprintf_chk.c: Likewise.
51735         * debug/vasprintf_chk.c: Likewise.
51736         * debug/vdprintf_chk.c: Likewise.
51737         * debug/vsnprintf_chk.c: Likewise.
51738         * debug/vsprintf_chk.c: Likewise.
51739         * malloc/mtrace.c: Likewise.
51740         * misc/error.c: Likewise.
51741         * misc/syslog.c: Likewise.
51742         * stdio-common/asprintf.c: Likewise.
51743         * stdio-common/fxprintf.c: Likewise.
51744         * stdio-common/getw.c: Likewise.
51745         * stdio-common/isoc99_fscanf.c: Likewise.
51746         * stdio-common/isoc99_scanf.c: Likewise.
51747         * stdio-common/isoc99_vfscanf.c: Likewise.
51748         * stdio-common/isoc99_vscanf.c: Likewise.
51749         * stdio-common/isoc99_vsscanf.c: Likewise.
51750         * stdio-common/printf-prs.c: Likewise.
51751         * stdio-common/printf_fp.c: Likewise.
51752         * stdio-common/printf_fphex.c: Likewise.
51753         * stdio-common/printf_size.c: Likewise.
51754         * stdio-common/putw.c: Likewise.
51755         * stdio-common/scanf.c: Likewise.
51756         * stdio-common/sprintf.c: Likewise.
51757         * stdio-common/tmpfile.c: Likewise.
51758         * stdio-common/vfprintf.c: Likewise.
51759         * stdio-common/vfscanf.c: Likewise.
51760         * stdlib/strfmon_l.c: Likewise.
51761         * sunrpc/openchild.c: Likewise.
51762         * sunrpc/xdr_stdio.c: Likewise.
51763         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
51764         * sysdeps/mach/hurd/tmpfile.c: Likewise.
51766 2012-05-24  Roland McGrath  <roland@hack.frob.com>
51768         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
51770         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
51771         in the third column, to generate for the shared library an IFUNC
51772         that uses _dl_vdso_vsym.
51773         * Makerules (COMPILE.c, compile-stdin.c): New variables.
51774         * Makeconfig (object-suffixes-noshared): New variable.
51776         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
51777         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
51778         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
51779         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
51781         [BZ #14132]
51782         * include/sys/time.h (__gettimeofday): Remove macro.
51783         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
51784         * time/gettimeofday.c (__gettimeofday): Remove #undef.
51785         Remove INTDEF.
51786         (__gettimeofday): Add libc_hidden_def.
51787         (gettimeofday): Add libc_hidden_weak.
51788         * sysdeps/mach/gettimeofday.c: Likewise.
51789         * sysdeps/posix/gettimeofday.c: Likewise.
51790         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
51791         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
51792         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
51793         (__gettimeofday_internal): Remove strong_alias.
51794         (__gettimeofday): Add libc_hidden_def.
51795         (gettimeofday): Add libc_hidden_weak.
51796         * sysdeps/unix/syscalls.list (gettimeofday):
51797         Remove __gettimeofday_internal alias.
51799 2012-05-24  Daniel Jacobowitz  <drow@false.org>
51800             H.J. Lu  <hongjiu.lu@intel.com>
51802         [BZ #12495]
51803         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
51804         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
51805         (largebin_index_32_big): New.
51806         (largebin_index): Use it for 16-byte alignment.
51807         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
51808         correction with front_misalign.
51810 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
51812         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
51813         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
51814         Likewise.
51815         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
51816         Likewise.
51817         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
51818         Likewise.
51819         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
51820         Likewise.
51821         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
51822         Likewise.
51823         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
51824         Likewise.
51825         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
51826         Likewise.
51827         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
51828         Likewise.
51829         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
51830         Likewise.
51831         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
51832         Likewise.
51833         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
51834         Likewise.
51835         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
51836         Likewise.
51838         * scripts/data/c++-types-x32-linux-gnu.data: New file.
51839         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
51841 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
51843         [BZ #10846]
51844         [BZ #14036]
51845         * math/libm-test.inc (exp_test): Add test from bug 14036.
51846         (pow_test): Add test from bug 10846.
51848         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
51849         and other flags.
51850         (special_function): Do not include flags in test name.
51851         (parse_args): Likewise.
51852         * sysdeps/i386/fpu/libm-test-ulps: Update.
51853         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51854         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
51855         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
51856         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51858         * math/gen-libm-test.pl (%beautify): Add entries for underflow
51859         exceptions.
51860         * math/libm-test.inc ("Philosophy"): Update comment about
51861         exception testing.
51862         (UNDERFLOW_EXCEPTION): New macro.
51863         (UNDERFLOW_EXCEPTION_OK): Likewise.
51864         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
51865         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
51866         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
51867         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
51868         (INVALID_EXCEPTION_OK): Update value.
51869         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
51870         (OVERFLOW_EXCEPTION_OK): Likewise.
51871         (IGNORE_ZERO_INF_SIGN): Likewise.
51872         (test_exceptions): Handle underflow exceptions.
51873         (acos_test): Update for underflow exception expectations.
51874         (cexp_test): Likewise.
51875         (clog_test): Likewise.
51876         (clog10_test): Likewise.
51877         (csqrt_test): Likewise.
51878         (ctan_test): Likewise.
51879         (ctanh_test): Likewise.
51880         (exp_test): Likewise.
51881         (exp10_test): Likewise.
51882         (exp2_test): Likewise.
51883         (expm1_test): Likewise.
51884         (fma_test): Likewise.
51885         (j0_test): Likewise.
51886         (jn_test): Likewise.
51887         (nexttoward_test): Likewise.
51888         (pow_test): Likewise.
51889         (scalbn_test): Likewise.
51890         (scalbln_test): Likewise.
51891         (tan_test): Likewise.
51892         (y1_test): Likewise.
51893         * sysdeps/i386/fpu/libm-test-ulps: Update.
51894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51896 2012-05-23  David S. Miller  <davem@davemloft.net>
51898         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
51899         (__libc_sigaction): Remove unused local variables.
51901 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
51903         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
51905 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
51907         mktime: avoid signed integer overflow
51908         * time/mktime.c (__mktime_internal): Do not mishandle the case
51909         where diff == INT_MIN.
51911         mktime: simplify computation of average
51912         * time/mktime.c (ranged_convert): Use new time_t_avg function
51913         instead of rolling our own (probably-slower) code.
51915         mktime: do not assume signed right shift propagates sign bit
51916         * time/mktime.c (isdst_differ): New static function.
51917         (__mktime_internal): No need to normalize tm_isdst now.
51918         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
51919         tm_isdst values.
51921         mktime: merge another wrapv change from gnulib
51922         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
51923         from some compilers.
51925         mktime: remove incorrect attempt at unusual arithmetics
51926         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
51927         The code didn't really work on such machines anyway.
51928         (TYPE_MINIMUM): Assume two's complement.
51929         (twos_complement_arithmetic): Verify that long_int and time_t
51930         are two's complement (or unsigned, in the latter case).
51932         mktime: check signed shifts on long_int and time_t, too
51933         * time/mktime.c (SHR): Check that shifts work as desired
51934         on the types long_int and time_t too, as SHR is used on
51935         such types.
51937         mktime: do not assume 'long' is wide enough
51938         * time/mktime.c (verify): Move decl up.
51939         (long_int): New type.
51940         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
51941         to remove assumption in the code that 'long' is wide enough to
51942         store year values.  This assumption is not true on x32 and on
51943         some non-glibc platforms.
51945         mktime: merge wrapv change from gnulib
51946         * time/mktime.c (WRAPV): New macro.
51947         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
51948         (guess_time_tm, __mktime_internal): Do not assume that signed
51949         integer overflow wraps around; modern compilers generate code
51950         where this assumption is no longer valid.
51952 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
51954         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
51955         Replace "jmp L(pseudo_end)" with "ret".
51956         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
51957         Likewise.
51959 2012-05-23  Andreas Jaeger  <aj@suse.de>
51961         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
51962         * sysdeps/unix/sysv/linux/poll.c: Remove file.
51964 2012-05-23  Andreas Jaeger  <aj@suse.de>
51965             Maximilian Attems  <max@stro.at>
51967         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
51968         New macros.
51970 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
51972         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
51973         code so that pseudo_end is just ret and the stack pointer is
51974         correct also for static library in error case.
51976 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
51978         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
51979         move to syscalls.list.
51980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
51981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
51982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
51983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
51985         * manual/install.texi (Running make install): Do not mention Linux
51986         kernel version for which pt_chown is not needed.
51987         (Linux): Do not mention problems with nscd with 2.0 kernels.
51988         * INSTALL: Regenerated.
51990 2012-05-23  Andreas Jaeger  <aj@suse.de>
51992         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
51993         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
51994         macro.
51995         * sysdeps/unix/sysv/linux/s390/bits/mman.h
51996         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51997         * sysdeps/unix/sysv/linux/sh/bits/mman.h
51998         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51999         * sysdeps/unix/sysv/linux/i386/bits/mman.h
52000         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
52001         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
52002         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
52003         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
52004         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
52005         * sysdeps/unix/sysv/linux/bits/in.h
52006         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
52008 2012-05-22  Roland McGrath  <roland@hack.frob.com>
52010         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
52011         (PREPARE_VERSION): Just use assert instead, it will be elided
52012         under [NDEBUG] anyway.
52014 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
52016         * sysdeps/unix/sysv/linux/Makefile: Include
52017         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
52018         (sysdep_routines): Remove sysctl.
52019         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
52020         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
52021         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
52022         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
52023         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
52025 2012-05-22  Andreas Jaeger  <aj@suse.de>
52027         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
52028         that pseudo_end is just ret and the stack pointer is correct also
52029         for static library in error case.
52031 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
52033         [BZ #14122]
52034         * nss/nsswitch.c (defconfig_entries): New variable.
52035         (__nss_database_lookup): Don't leak defconfig entries.
52036         (nss_parse_service_list): Don't leak on error paths.
52037         (free_database_entries): New function.
52038         (free_defconfig): New function.
52039         (free_mem): Move common code to free_database_entries.
52041 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
52043         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
52044         Add arch_prctl.
52045         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
52047         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
52048         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
52049         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
52050         New macro.
52051         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
52052         (INTERNAL_SYSCALL_TYPES): Likewise.
52053         (LOAD_ARGS_TYPES_[1-6]): Likewise.
52054         (LOAD_REGS_TYPES_[1-6]): Likewise.
52055         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
52056         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
52058 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52060         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
52061         copysignl for GLIBC_2_0.
52062         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
52063         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
52064         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
52065         logbl for GLIBC_2_0.
52066         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
52067         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
52069 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
52071         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
52072         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
52074         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
52075         Use "neg %eax".
52077         * time/mktime.c: Update copyright years.
52079 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
52081         mktime: merge comment-quoting-style change from gnulib
52082         * time/mktime.c: Quote 'like this' in comments.
52083         The GNU coding standards suggest that we no longer quote `like this',
52084         as "`" and "'" are typically rendered asymmetrically nowadays.
52085         The typical gnulib style is to quote 'like this' when quoting
52086         code, and "like this" when quoting English.
52088         * time/mktime.c (compile-command): Add "-I.".
52090         mktime: merge mktime-internal.h change from gnulib
52091         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
52093         mktime: merge time_r change from gnulib
52094         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
52096         mktime: merge DEBUG change from gnulib
52097         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
52098         case system <time.h> has a #define.
52100         mktime: merge <sys/types.h> change from gnulib
52101         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
52102         since <time.t> is now guaranteed to define time_t.
52104         mktime: merge HAVE_CONFIG_H change from gnulib
52105         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
52107 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
52109         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
52110         Use "neg %eax".
52112         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
52113         __rlim_t cast.
52114         (struct rusage): Use anonymous union to pad each field to
52115         __syscall_slong_t.
52117 2012-05-21  David S. Miller  <davem@davemloft.net>
52119         * Makefules (o-iterator): Remove .s cases.
52120         (compile-command.s): Delete.
52121         (COMPILE.s): Delete.
52122         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
52124 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
52126         * configure.in (libc_cv_predef_stack_protector): Only consider
52127         "foobar" and "__stack_chk_fail" lines in libc_undefs.
52128         * configure: Regenerated.
52130 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
52132         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
52133         New macro.  Use R*LP on int and pointer.
52134         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
52135         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
52136         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
52137         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
52139         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
52140         [__WORDSIZE_TIME64_COMPAT32] instead of
52141         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
52142         (struct utmp): Likewise.
52143         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
52144         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
52145         Renamed to ...
52146         (__WORDSIZE_TIME64_COMPAT32): This.
52147         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
52148         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
52149         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
52150         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
52151         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
52152         (__WORDSIZE_TIME64_COMPAT32): New macro.
52154 2012-05-21  Andreas Jaeger  <aj@suse.de>
52156         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
52157         only if [SHARED]. Add prototype for __wcschr_ia32.
52159 2012-05-21  Roland McGrath  <roland@hack.frob.com>
52161         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
52162         of %rbp unmolested in the jmp_buf while mangling the low bits.
52163         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
52164         unmolested high bits of %rbp while demangling the low bits.
52165         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
52167 2012-05-21  Andreas Jaeger  <aj@suse.de>
52169         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
52170         * sunrpc/svc_simple.c: Use it for registerrpc.
52171         * sunrpc/xcrypt.c: Use it for passwd2des.
52173         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
52175 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
52177         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
52178         Don't define if [__SYSCALL_WORDSIZE != 32].
52179         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
52180         New macro.
52182 2012-05-21  Bruno Haible  <bruno@clisp.org>
52183             Andreas Jaeger  <aj@suse.de>
52185         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
52186         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
52187         inptr and inend for must_buffer_ch.
52188         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
52189         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
52190         * stdio-common/Makefile (tests): Remove bug15.
52191         (bug15-ENV): Remove macro.
52192         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
52193         anymore.
52195 2012-05-19  Andreas Jaeger  <aj@suse.de>
52196             Roland McGrath  <roland@hack.frob.com>
52198         * manual/contrib.texi: Completely rewritten. It contains now an
52199         alphabetical list of contributors and their contributions.
52201 2012-05-21  Richard Henderson  <rth@twiddle.net>
52203         * misc/getauxval.c (__getauxval): Use unsigned long int.
52204         * misc/sys/auxv.h: Include <sys/cdefs.h>.
52205         (getauxval): Use unsigned long int.
52207 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
52209         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
52211 2012-05-21  Roland McGrath  <roland@hack.frob.com>
52213         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
52214         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
52215         __alignof__ (long double).
52217 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52219         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52221 2012-05-20  Richard Henderson  <rth@twiddle.net>
52223         * misc/getauxval.c: New file.
52224         * misc/sys/auxv.h: New file.
52225         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
52226         (routines): Add getauxval.
52227         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
52228         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
52229         * elf/dl-sysdep.c (_dl_auxv): Remove.
52230         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
52231         * elf/dl-support.c (_dl_auxv): New variable.
52232         (_dl_aux_init): Initialize it.
52233         * manual/startup.texi (Auxiliary Vector): New node.
52234         * sysdeps/generic/bits/hwcap.h: New file.
52235         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
52236         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
52237         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
52238         * sysdeps/sparc/sysdep.h: ... here.  Include it.
52239         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
52240         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
52241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52242         Update.
52243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
52244         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
52245         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
52246         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
52247         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
52248         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
52249         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
52250         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
52252 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52254         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52256 2012-05-19  David S. Miller  <davem@davemloft.net>
52258         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52260 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
52262         [BZ #14123]
52263         * math/s_ccosh.c: Include <float.h>
52264         (__ccosh): Avoid internal overflow calculating sinh and cosh
52265         values before multiplying by sin and cos values.
52266         * math/s_ccoshf.c: Likewise.
52267         * math/s_ccoshl.c: Likewise.
52268         * math/s_csin.c: Likewise.
52269         * math/s_csinf.c: Likewise.
52270         * math/s_csinl.c: Likewise.
52271         * math/s_csinh.c: Likewise.
52272         * math/s_csinhf.c: Likewise.
52273         * math/s_csinhl.c: Likewise.
52274         * math/libm-test.inc (ccos_test): Add more tests.
52275         (ccosh_test): Likewise.
52276         (csin_test): Likewise.
52277         (csinh_test): Likewise.
52278         * sysdeps/i386/fpu/libm-test-ulps: Update.
52279         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52281 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
52283         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
52284         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
52286         * sysdeps/x86_64/x32/_itoa.h: Add comment.
52288 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
52290         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
52291         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
52292         * sysdeps/powerpc/soft-fp/Versions: Likewise.
52293         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
52294         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
52295         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
52296         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
52297         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
52298         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
52299         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
52300         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
52301         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
52302         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
52303         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
52304         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
52305         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
52306         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
52307         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
52308         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
52309         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
52310         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
52311         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
52312         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
52313         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
52314         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
52315         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
52316         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
52317         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
52318         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
52319         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
52320         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
52322 2012-05-18  Andreas Jaeger  <aj@suse.de>
52324         * csu/.gitignore: Delete.
52326 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
52328         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
52329         (timex): Use __syscall_slong_t.
52331 2012-05-18  Andreas Jaeger  <aj@suse.de>
52332             Carlos O'Donell  <carlos_odonell@mentor.com>
52334         * manual/install.texi (Configuring and compiling): Update
52335         description about files modified in the source directory.
52336         * INSTALL: Regenerated.
52338 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
52340         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
52341         value.  Use "or" to set return value to -1.
52342         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
52343         negate return value.
52345 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52347         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
52348         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
52349         failure if the compiler has Graphite support disabled.
52350         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
52351         Likewise.
52352         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
52353         (CFLAGS-memmove.c): Likewise.
52354         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
52355         Likewise.
52357 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
52359         * sysdeps/x86_64/x32/_itoa.h: New file.
52361         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
52362         getdents system call only if kernel and user dirents have the
52363         same d_ino and d_off.
52365         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
52366         LLONG_MAX != LONG_MAX.
52367         (_itoa_word): Use _ITOA_WORD_TYPE on value.
52368         (_fitoa_word): Likewise.
52370         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
52371         years.
52372         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
52373         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
52374         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
52376         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
52377         include <bits/wordsize.h>.  Check __x86_64__ instead of
52378         __WORDSIZE.
52379         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
52380         if __x86_64__ is defined.  Use anonymous union on fpstate.
52382         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
52383         anonymous union.
52385 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
52387         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
52388         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
52389         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
52390         Refer to _rtld_local_ro instead of _rtld_global_ro.
52391         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
52392         Likewise.
52393         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
52394         Likewise.
52395         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
52396         Likewise.
52397         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
52398         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
52399         of _rtld_global, and rtld_progname instead of _dl_argv[0].
52401         [BZ #10882]
52402         * sysdeps/powerpc/powerpc32/dl-machine.c
52403         (__elf_machine_runtime_setup) [PROF]: Don't reference
52404         _dl_prof_resolve.
52406 2012-05-18  Andreas Jaeger  <aj@suse.de>
52408         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
52409         function only available for GCCs before 3.4 since GCC 3.4
52410         introduced a builtin.
52411         (lrint): Likewise.
52412         (llrintf): Likewise.
52413         (llrint): Likewise.
52414         (fmaxf): Likewise.
52415         (fmax): Likewise.
52416         (fminf): Likewise.
52417         (fmin): Likewise.
52418         (rint): Likewise.
52419         (rintf): Likewise.
52420         (nearbyint): Likewise.
52421         (nearbyintf): Likewise.
52422         (ceil): Likewise.
52423         (ceilf): Likewise.
52424         (floor): Likewise.
52425         (floorf): Likewise.
52427 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
52429         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
52430         on both fields and cast pointer to __syscall_ulong_t.
52432         * bits/types.h (__fsword_t): New type.
52433         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
52434         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
52435         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52436         (__FSWORD_T_TYPE): Likewise.
52437         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52438         (__FSWORD_T_TYPE): Likewise.
52439         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52440         (__FSWORD_T_TYPE): Likewise.
52441         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
52442         (__FSWORD_T_TYPE): Likewise.
52443         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
52444         __SWORD_TYPE with __fsword_t.
52445         (statfs64): Likewise.
52447 2012-05-17  David S. Miller  <davem@davemloft.net>
52449         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
52451 2012-05-17  Andreas Jaeger  <aj@suse.de>
52453         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
52454         warning.
52456 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
52458         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
52460 2012-05-17  Andreas Jaeger  <aj@suse.de>
52462         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
52463         when it is used.
52465 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
52467         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
52469 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
52471         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
52472         * sysdeps/x86_64/tst-mallocalign1.c: New file.
52474 2012-05-17  Andreas Jaeger  <aj@suse.de>
52475             Carlos O'Donell  <carlos_odonell@mentor.com>
52477         [BZ #14059]
52478         * sysdeps/x86_64/multiarch/init-arch.h
52479         (bit_YMM_Usable): Rename to...
52480         (bit_AVX_Usable): ... this.
52481         (bit_FMA4_Usable): New macro.
52482         (bit_XMM_state): New macro.
52483         (bit_YMM_state): New macro.
52484         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
52485         [__ASSEMBLER__] (index_AVX_Usable): ... this.
52486         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
52487         (CPUID_OSXSAVE): New macro.
52488         (CPUID_AVX): New macro.
52489         (CPUID_FMA4): New macro.
52490         (index_YMM_Usable): Rename to...
52491         (index_AVX_Usable): ... this.
52492         (HAS_AVX): Use HAS_ARCH_FEATURE.
52493         (HAS_FMA4): Likewise.
52494         (HAS_YMM_USABLE): Remove.
52495         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52496         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
52497         are present.
52498         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
52499         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
52500         * sysdeps/x86_64/multiarch/Makefile: Likewise.
52501         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
52502         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
52504 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
52506         * math/libm-test.c: Support platforms without multiple rounding modes.
52507         * math/bug-nextafter.c: Support platforms without FP exceptions.
52508         * math/bug-nexttoward.c: Likewise.
52509         * math/test-fenv.c: Likewise.
52510         * math/test-misc.c: Likewise.
52511         * stdlib/bug-getcontext.c: Likewise.
52513 2012-05-17  Andreas Jaeger  <aj@suse.de>
52515         * manual/examples/search.c (critter_cmp): Change signature to
52516         avoid warnings.
52517         * manual/string.texi (Collation Functions): Likewise.
52519 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
52521         * bits/types.h: Fold copyright years.
52522         * bits/typesizes.h: Likewise.
52523         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
52524         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
52525         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
52526         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
52527         * time/time.h: Likewise.
52529 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
52531         [BZ #208]
52532         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
52533         in instead of returning them.  Return void.
52534         (__libc_mallinfo): Accumulate over all arenas.
52535         (__malloc_stats): Adjust for change in int_mallinfo interface.
52537 2012-05-16  Roland McGrath  <roland@hack.frob.com>
52539         [BZ #10375]
52540         * configure.in (NM): Add AC_CHECK_TOOL for it.
52541         (libc_extra_cflags): New substituted variable.
52542         Check for -fstack-protector being used implicitly.
52543         * configure: Regenerated.
52544         * config.make.in (config-extra-cflags): New variable,
52545         gets @libc_extra_cflags@.
52546         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
52548         [BZ #10375]
52549         * configure.in: Check for _FORTIFY_SOURCE being predefined.
52550         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
52551         * configure: Regenerated.
52552         * config.make.in (CPPUNDEFS): New substituted variable.
52553         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
52554         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
52555         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
52557 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
52559         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
52560         (mq_attr): Use __syscall_slong_t.
52562 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
52564         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
52565         Check __x86_64__ instead of __WORDSIZE.
52566         (_STAT_VER_LINUX): Likewise.
52567         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
52568         __syscall_ulong_t and __syscall_slong_t.
52569         (stat64): Likewise.
52571 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
52573         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
52575 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
52577         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
52579 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
52581         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
52582         __syscall_ulong_t.
52584         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
52585         include <bits/wordsize.h>.  Check __x86_64__ instead of
52586         __WORDSIZE.
52587         (greg_t): Use "__extension__ long long int" if __x86_64__ is
52588         defined.
52589         (mcontext_t): Replace "unsigned long" with "unsigned long long".
52591         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
52592         include <bits/wordsize.h>.  Check __x86_64__ instead of
52593         __WORDSIZE.
52594         (user_regs_struct): Use "__extension__ unsigned long long"
52595         instead of "unsigned long" if __x86_64__ is defined.
52596         (user): Likewise.  Pad after pointer field if __ILP32__ is
52597         defined.
52599 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
52601         * configure.in (makeinfo): Require version 4.5 or later.  Allow
52602         versions 5 to 9.
52603         * configure: Regenerated.
52604         * manual/install.texi (texinfo): Increase version requirement to
52605         4.5 or later.
52606         * INSTALL: Regenerated.
52608         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
52610 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
52612         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
52614         * sysdeps/x86_64/x32/ffs.c: New file.
52616         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
52617         __syscall_ulong_t.
52618         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
52619         defined.  Use __syscall_ulong_t.
52620         (shminfo): Use __syscall_ulong_t.
52621         (shm_info): Likewise.
52623         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
52624         __syscall_ulong_t.
52626         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
52627         <bits/wordsize.h>.
52628         (msgqnum_t): Use __syscall_ulong_t.
52629         (msglen_t): Likewise.
52630         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
52631         __syscall_ulong_t.
52633         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
52634         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
52636         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
52638         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
52639         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
52641         * sysvipc/sys/msg.h (msgbuf): Replace long int with
52642         __syscall_slong_t.
52644         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
52645         include <bits/wordsize.h>.  Check __x86_64__ instead of
52646         __WORDSIZE.
52648         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
52649         "unsigned long long int" if __x86_64__ is defined.
52650         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
52652         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
52653         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
52654         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
52656         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
52657         <stdint.h>.
52658         (GET_PC): Cast to uintptr_t first.
52659         (GET_FRAME): Likewise.
52660         (GET_STACK): Likewise.
52662         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
52663         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
52664         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
52665         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
52666         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
52667         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
52668         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
52669         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
52670         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
52671         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
52672         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
52673         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
52674         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
52675         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
52676         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
52677         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
52678         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
52679         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
52680         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
52681         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
52682         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
52683         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
52684         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
52685         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
52686         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
52687         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
52688         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
52689         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
52690         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
52692 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
52694         * Makerules (+depfiles): Also collect depfiles from .oS in
52695         $(extra-objs).
52696         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
52697         .oS, $(libnldbl-routines)).
52699         * Makerules (native-compile-mkdep-flags): Define.
52700         * sunrpc/Makefile (extra-objs): Add $(addprefix
52701         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
52702         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
52703         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
52704         calling $(make-target-directory).
52706 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52708         * bits/types.h (__snseconds_t): Removed.
52709         * time/time.h (struct timespec): Replace __snseconds_t with
52710         __syscall_slong_t.
52711         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
52712         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
52713         Likewise.
52714         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52715         (__SNSECONDS_T_TYPE): Likewise.
52716         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52717         (__SNSECONDS_T_TYPE): Likewise.
52718         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52719         (__SNSECONDS_T_TYPE): Likewise.
52721 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52723         * sysdeps/mach/hurd/bits/typesizes.h
52724         (__SYSCALL_SLONG_TYPE): New macro.
52725         (__SYSCALL_ULONG_TYPE): Likewise.
52727 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52729         * bits/types.h (__syscall_slong_t): New type.
52730         (__syscall_ulong_t): Likewise.
52732         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
52733         (__SYSCALL_ULONG_TYPE): Likewise.
52734         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52735         (__SYSCALL_SLONG_TYPE): Likewise.
52736         (__SYSCALL_ULONG_TYPE): Likewise.
52737         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52738         (__SYSCALL_SLONG_TYPE): Likewise.
52739         (__SYSCALL_ULONG_TYPE): Likewise.
52740         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52741         (__SYSCALL_SLONG_TYPE): Likewise.
52742         (__SYSCALL_ULONG_TYPE): Likewise.
52744 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52746         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
52747         Add sigaltstack-offsets.sym.
52748         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
52749         <sigaltstack-offsets.h>.
52750         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
52751         longjmp_msg pointer.
52752         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
52753         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
52754         signal stack.
52755         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
52757 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
52759         * elf/stackguard-macros.h: Remove file.
52760         * sysdeps/generic/stackguard-macros.h: New file.
52761         * sysdeps/i386/stackguard-macros.h: Likewise.
52762         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
52763         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
52764         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
52765         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
52766         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
52767         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
52768         * sysdeps/x86_64/stackguard-macros.h: Likewise.
52769         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
52770         <elf/stackguard-macros.h>.
52772         [BZ #14109]
52773         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
52774         __aligned__ in attribute.
52775         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
52776         (gregset_t): Likewise.
52778 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52780         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
52781         * sysdeps/x86_64/64/Implies-after: Here.  New file.
52782         * sysdeps/x86_64/x32/Implies-after: New file.
52784 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52786         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
52787         and access return value for _dl_profile_fixup.  Use R10_LP to
52788         load frame size.
52790 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52792         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
52794 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52796         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
52797         * sysdeps/x86_64/x32/sysdep.h: New file.
52799 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52801         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
52802         * sysdeps/x86_64/setjmp.S: Likewise.
52804 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52806         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
52807         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
52808         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
52809         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
52810         remove unused global constant.
52812 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
52814         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
52815         include of <not-cancel.h>.
52817 2012-05-15  Roland McGrath  <roland@hack.frob.com>
52819         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
52821 2012-05-15  Jeff Law  <law@redhat.com>
52822             Andreas Jaeger  <aj@suse.de>
52824         [BZ #13594]
52825         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
52826         out from...
52827         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
52828         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
52829         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
52830         code changing __hst_map_handle.map.
52832 2012-05-15  Roland McGrath  <roland@hack.frob.com>
52834         * configure.in (sysnames): Look for Implies-before and Implies-after
52835         files.
52836         * configure: Regenerated.
52838 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52840         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
52841         8-byte data alignment with LP_SIZE alignment.
52843 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52845         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
52846         into R10_LP.
52848 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52850         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
52852 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52854         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
52855         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
52856         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
52857         Likewise.
52858         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
52860 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52862         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
52863         (stackinfo_sub_sp): Likewise.
52865 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52867         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
52868         RAX_LP.
52870 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52872         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
52873         into R*_LP.
52875 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52877         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
52878         sizes into R*_LP.
52880 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52882         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
52884 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52886         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
52887         into R11_LP and load __x86_64_shared_cache_size_half into
52888         R8_LP.
52890 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52892         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
52893         R8_LP.
52895 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52897         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
52898         logb for POWER7.
52899         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
52900         logbf for POWER7.
52901         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
52902         logbl for POWER7.
52903         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
52904         powerpc32/power7/fpu/s_logb.c via #include.
52905         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
52906         powerpc32/power7/fpu/s_logbf.c via #include.
52907         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
52908         powerpc32/power7/fpu/s_logbl.c via #include.
52910 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
52912         * README.libm: Remove file.
52914 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
52916         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
52917         count for x32.  Use R*_LP and omit operand-size suffix.
52919 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
52921         * shlib-versions: Move x86_64-.*-linux.* entries to ...
52922         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
52923         * sysdeps/x86_64/x32/shlib-versions: New file.
52925 2012-05-14  Roland McGrath  <roland@hack.frob.com>
52927         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
52928         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
52929         Use _dl_fatal_printf instead.
52931 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
52933         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
52934         set if not set by the user.  Do not allow for being unset.
52935         * sysdeps/unix/sysv/linux/configure: Regenerated.
52937 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
52939         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
52940         the `q' suffix from lea and replace .quad with ASM_ADDR.
52942 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
52944         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
52945         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
52946         instead of $17.
52947         (PTR_DEMANGLE): Likewise.
52949 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
52951         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
52952         (LP_OP): Likewise.
52953         (ASM_ADDR): Likewise.
52954         (RAX_LP): Likewise.
52955         (RBP_LP): Likewise.
52956         (RBX_LP): Likewise.
52957         (RCX_LP): Likewise.
52958         (RDI_LP): Likewise.
52959         (RSI_LP): Likewise.
52960         (RSP_LP): Likewise.
52961         (R8_LP): Likewise.
52962         (R9_LP): Likewise.
52963         (R10_LP): Likewise.
52964         (R10_LP): Likewise.
52965         (R11_LP): Likewise.
52966         (R12_LP): Likewise.
52967         (R13_LP): Likewise.
52968         (R14_LP): Likewise.
52969         (R15_LP): Likewise.
52971 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
52973         * sysdeps/x86_64/x32/dl-machine.h: New file.
52975 2012-05-14  Andreas Jaeger  <aj@suse.de>
52977         * manual/Makefile (subdir): Remove export of subdir.
52978         (all): Remove target.
52979         (.PHONY): Remove all from list.
52980         (mkinstalldirs): Remove.
52981         (.PHONY): Remove installdirs from list.
52982         ($(inst_infodir)/libc.info): Use make-target-directory.
52983         (installdirs): Remove.
52984         (subdir_%): Remove.
52985         (glibc-targets): Remove.
52986         (lib): Remove.
52987         (stubs): Remove.
52988         ($(objpfx)stubs ../po/manual.pot): Remove.
52989         ($(objpfx)stamp%): Remove.
52990         (make-target-directory): Remove.
52991         (subdir_install): Remove.
52992         (routines): Remove.
52993         (aux): Remove.
52994         (sources): Remove.
52995         (objects): Remove.
52996         (headers): Remove.
52998         [BZ #13750]
52999         * manual/.gitignore: Remove, it's not needed anymore.
53000         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
53001         all files in it.
53002         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
53003         directory.
53004         (texis): Renamed to $(objpfx)texis.
53005         (texis-path): New, contains path to generated files.
53006         (chapters.%): Use texis-path for complete path, add extra argument
53007         libc-texinfo.sh.
53008         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
53009         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
53010         (summary,texi, stamp-summary): Use complete path of
53011         files. Generate files in build dir.
53012         (dir-add.texi): Build in build dir.
53013         (libm-err.texi,stamp-libm-err): Likewise.
53014         (version.texi, stamp-version): Likewise.
53015         (.%c.texi): Likewise.
53016         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
53017         (mostlyclean): Remove target.
53018         (realclean): Remove target.
53019         (generated): Add new variable with contents from mostlyclean and
53020         realclean, remove entries duplicated in common-mostlyclean, add
53021         stamp-libm-err and stamp-version.
53022         (generated-dirs): Add libc directory.
53023         ($(inst_infodir)/libc.info): Install files from build dir.
53025         * manual/install.texi (Configuring and compiling): Adjust since
53026         the info files are not part of the tar ball anymore.
53028 2012-05-14  Andreas Jaeger  <aj@suse.de>
53030         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
53031         variable.
53033 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
53035         [BZ #13717]
53036         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
53037         to 2.2.0 where earlier.
53038         * sysdeps/unix/sysv/linux/configure: Regenerated.
53039         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
53040         Remove conditional code.
53041         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
53042         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
53043         Remove conditional code.
53044         [!__NR_lchown]: Likewise.
53045         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
53046         [__NR_lchown]: Likewise.
53047         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
53048         comment referencing __ASSUME_LCHOWN_SYSCALL.
53049         * sysdeps/unix/sysv/linux/i386/sigaction.c
53050         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
53051         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
53052         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
53053         Remove conditional code.
53054         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
53055         (__protocol_available): Remove #if 0 code.
53056         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
53057         conditional code.
53058         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
53059         * sysdeps/unix/sysv/linux/kernel-features.h
53060         (__ASSUME_GETCWD_SYSCALL): Don't define.
53061         (__ASSUME_REALTIME_SIGNALS): Likewise.
53062         (__ASSUME_PREAD_SYSCALL): Likewise.
53063         (__ASSUME_PWRITE_SYSCALL): Likewise.
53064         (__ASSUME_POLL_SYSCALL): Likewise.
53065         (__ASSUME_LCHOWN_SYSCALL): Likewise.
53066         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
53067         non-SPARC.
53068         (__ASSUME_SIOCGIFNAME): Don't define.
53069         (__ASSUME_MSG_NOSIGNAL): Likewise.
53070         (__ASSUME_SENDFILE): Define unconditionally.
53071         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
53072         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
53073         conditional code.
53074         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
53075         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
53076         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
53077         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
53078         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
53079         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
53080         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
53081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
53082         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
53083         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
53084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
53085         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
53086         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
53087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
53088         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
53089         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
53090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
53091         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
53092         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
53093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
53094         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
53095         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
53096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
53097         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
53098         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
53099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
53100         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
53101         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
53102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
53103         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
53104         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
53105         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
53106         Remove conditional code.
53107         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
53108         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
53109         Remove conditional code.
53110         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
53111         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
53112         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
53113         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
53114         Remove conditional code.
53115         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
53116         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
53117         Remove conditional code.
53118         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
53119         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
53120         Remove conditional code.
53121         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
53122         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
53123         Remove conditional code.
53124         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
53125         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
53126         Remove conditional code.
53127         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
53128         * sysdeps/unix/sysv/linux/sh/pwrite64.c
53129         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
53130         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
53131         * sysdeps/unix/sysv/linux/sigaction.c
53132         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
53133         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
53134         * sysdeps/unix/sysv/linux/sigpending.c
53135         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
53136         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
53137         * sysdeps/unix/sysv/linux/sigprocmask.c
53138         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
53139         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
53140         * sysdeps/unix/sysv/linux/sigsuspend.c
53141         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
53142         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
53143         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
53144         (__libc_missing_rt_sigs): Remove.
53145         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
53146         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
53147         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
53148         Remove conditional code.
53149         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
53150         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
53151         return 1.
53152         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
53153         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
53154         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
53155         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
53157 2012-05-14  Andreas Jaeger  <aj@suse.de>
53159         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
53160         it's not used in glibc.
53161         (__coshm1): Likewise.
53162         (__acosh1p): Likewise.
53163         (__sgn): Likewise.
53165         * manual/string.texi (Copying and Concatenation): Add missing
53166         variable in concat example.
53167         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
53169 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
53171         [BZ #14103]
53172         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
53173         __builtin_clzl with __builtin_clzll.
53175 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
53177         [BZ #14104]
53178         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
53179         libc_freeres_ptr.
53181 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53183         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
53184         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
53185         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
53186         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
53188 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
53190         * NEWS: Update ia64 info.
53192 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
53194         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
53195         used as bcopy.
53197 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
53199         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
53200         * sysdeps/unix/syscalls.list (dup3): Likewise.
53201         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
53202         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
53204 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
53206         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
53207         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
53209 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
53211         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
53212         thread pointer.
53213         (TLS_IE): Use mov/add instead of movq/addq to load thread
53214         pointer.
53215         (TLS_GD_PREFIX): New.
53216         (TLS_GD): Use it.
53218 2012-05-11  David S. Miller  <davem@davemloft.net>
53220         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
53221         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
53222         (_FPU_SETCW): Likewise.
53224 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
53226         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
53227         is 32-byte aligned.
53229 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
53231         [BZ #11837]
53232         * iconvdata/gb18030.c: Update tables.
53233         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
53234         characters specially.
53235         (BODY for TO_LOOP): Add encoding of missing ranges.
53237 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
53239         [BZ #13673]
53240         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
53241         * sysdeps/mach/hurd/dup3.c: Likewise.
53242         * sysdeps/mach/hurd/readlinkat.c: Likewise.
53243         * sysdeps/powerpc/memmove.c:: Likewise.
53245 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
53247         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
53248         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
53250 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
53252         * elf/elf.h (R_X86_64_RELATIVE64): New.
53253         (R_X86_64_NUM): Updated.
53254         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
53255         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
53256         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
53257         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
53258         tst-quad1pie tst-quad2pie
53259         (modules-names): Add tst-quadmod1 tst-quadmod2.
53260         ($(objpfx)tst-quad1): New dependency.
53261         ($(objpfx)tst-quad2): Likewise.
53262         ($(objpfx)tst-quad1pie): Likewise.
53263         ($(objpfx)tst-quad2pie): Likewise.
53264         * sysdeps/x86_64/tst-quad1.c: New file.
53265         * sysdeps/x86_64/tst-quad1pie.c: New file.
53266         * sysdeps/x86_64/tst-quad2.c: Likewise.
53267         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
53268         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
53269         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
53270         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
53271         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
53273 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53275         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
53276         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
53277         * streams/stropts.h (t_scalar_t): Define type.
53279         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
53280         (_PATH_PRESERVE): Set to "/var/lib".
53281         (_PATH_RWHODIR): Set to "/var/spool/rwho".
53283         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
53284         instead of int.
53286         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
53287         if __dir_mkfile succeeded.
53289         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
53290         checking for _hurd_dtablesize.  Unlock it right after having
53291         finished _hurd_dtable allocation.
53293 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
53295         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
53296         * sysdeps/mach/hurd/configure: Regenerated.
53297         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
53298         special-casing to...
53299         * sysdeps/gnu/configure.in: ... this new file.
53300         * sysdeps/unix/sysv/linux/configure: Regenerated.
53301         * sysdeps/gnu/configure: New generated file.
53303         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
53304         for Linux: use nsec instead of usec, as well as:
53305         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
53306         members of type struct timespec.
53307         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
53308         New macros.
53309         (struct stat64): Likewise.
53310         (_STATBUF_ST_NSEC): New macro.
53311         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
53313         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
53314         __strtoul_internal rather than strtoul.
53316 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
53318         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
53319         and reject them.
53321 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53323         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
53324         which preserves existing values.
53325         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
53327 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
53329         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
53330         TIMEOUT values.  Return EINVAL for NFDS values either negative or
53331         greater than FD_SETSIZE.
53333 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53335         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
53336         allocated, call __vm_protect to finish enabling the existing space, and
53337         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
53338         allocate the remainder.
53340 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
53342         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
53343         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
53345 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53347         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
53348         sysdeps/mach/hurd/readlink.c.
53350         * posix/tst-sysconf.c (posix_options): Only use
53351         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
53352         _POSIX_SYNCHRONIZED_IO when they are defined
53353         * sysdeps/mach/hurd/bits/posix_opt.h:
53354         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
53355         (_XOPEN_REALTIME): Undefine macro.
53356         (_XOPEN_REALTIME_THREADS): Undefine macro.
53357         (_XOPEN_SHM): Undefine macro.
53358         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
53359         macro to -1.
53360         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
53361         macro to -1.
53362         (_POSIX_ASYNC_IO): Undefine macro.
53363         (_POSIX_PRIORITIZED_IO): Undefine macro.
53364         (_POSIX_SPIN_LOCKS): Define macro to -1.
53366         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
53367         SA_NODEFER, SA_RESETHAND.
53368         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
53369         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
53370         F_DUPFD_CLOEXEC.
53372 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
53374         * elf/Makefile (pldd-modules): Define unconditionally.
53376 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
53378         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
53380 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53382         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
53383         Return ENOENT when name is empty.
53384         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
53386 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
53388         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
53390         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
53392 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53394         Fix mlock in all cases except non-readable pages.
53395         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
53396         instead of VM_PROT_ALL as parameter to __vm_wire function.
53398         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
53399         (__mkdir): When path is `/', just fail with EEXIST.
53400         * sysdeps/mach/hurd/mkdirat.c: Likewise.
53402 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
53404         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
53405         <sys/uio.h> (for writev).
53406         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
53407         and <sys/param.h> (for MIN).
53409 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
53411         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
53412         REQUESTED_TIME.  Properly set the remaining time and return EINTR
53413         if interrupted.
53415 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
53417         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
53418         Depend on against $(link-rpcuserlibs).
53420 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53422         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
53423         (__libc_stack_end): Do not use attribute_relro.
53424         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
53425         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
53426         to libthread-provided value.
53427         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
53428         attribute_relro.
53430 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
53432         [BZ #3748]
53433         * bits/libc-lock.h (__libc_once_get): New macro.
53434         * sysdeps/mach/bits/libc-lock.h: Likewise.
53435         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
53436         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
53437         instead of using implementation details.
53439         * libio/fileops.c: Unconditionally include <kernel-features.h>.
53440         * libio/freopen.c: Likewise.
53441         * libio/freopen64.c: Likewise.
53442         * misc/syslog.c: Likewise.
53443         * nscd/connections.c: Likewise.
53444         * nscd/netgroupcache.c: Likewise.
53445         * sysdeps/posix/getcwd.c: Likewise.
53447 2012-05-10  Roland McGrath  <roland@hack.frob.com>
53449         * math/w_ilogbf.c: Add #include <limits.h>.
53451 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53453         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
53454         path instead of returning without unlocking.
53456         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
53457         immediate-write ioctls.
53458         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
53460 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
53462         * sysdeps/mach/hurd/i386/init-first.c (init): Use
53463         __builtin_frame_address instead of making assumptions about the
53464         location of the return address relative to DATA.  Force early load of
53465         the return address.
53466         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
53467         __builtin_frame_address.
53469         dup3 for GNU Hurd.
53470         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
53471         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
53472         implement dup3 and do some further code clean-ups.
53473         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
53474         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
53476 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53478         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
53480         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
53481         HURD_CRITICAL_END around holding _hurd_dtable_lock.
53482         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
53483         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
53484         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
53485         d->port.lock.
53487         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
53488         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
53489         when handler == SIG_ERR, not when handler != SIG_ERR.
53491 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
53493         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
53494         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
53495         definitions.
53497         accept4 for GNU Hurd.
53498         * include/sys/socket.h (__libc_accept4): New prototype.
53499         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
53500         to implement __libc_accept4.
53501         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
53502         __libc_accept4.
53503         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
53505         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
53506         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
53507         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
53508         signal-defines.sym.
53510 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53512         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
53514 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
53516         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
53517         assertion on O_CLOEXEC flag.
53518         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
53519         * hurd/intern-fd.c: Likewise.
53520         * hurd/port2fd.c: Likewise.
53522 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53524         [BZ #3906]
53525         * bits/in.h (IPV6_PKTINFO): Define new macro.
53526         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
53528 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53530         [BZ #13954]
53531         [BZ #13955]
53532         [BZ #13956]
53533         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
53534         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
53535         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
53536         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
53537         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
53538         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
53539         * math/libm-test.inc (logb_test) : Additional logb tests.
53541 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
53542             Andreas Jaeger  <aj@suse.de>
53544         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
53545         * configure: Regenerated.
53546         * config.h.in (LINK_OBSOLETE_RPC): New macro.
53547         * config.make.in (link-obsolete-rpc): New substituted variable.
53548         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
53549         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
53550         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
53551         (shared-only-routines): Don't set it under [link-obsolete-rpc],
53552         so that libc.a contains the symbols.
53553         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
53554         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
53555         * sunrpc/auth_none.c: Likewise.
53556         * sunrpc/auth_unix.c: Likewise.
53557         * sunrpc/authdes_prot.c: Likewise.
53558         * sunrpc/authuxprot.c: Likewise.
53559         * sunrpc/clnt_gen.c: Likewise.
53560         * sunrpc/clnt_perr.c: Likewise.
53561         * sunrpc/clnt_raw.c: Likewise.
53562         * sunrpc/clnt_simp.c: Likewise.
53563         * sunrpc/clnt_tcp.c: Likewise.
53564         * sunrpc/clnt_udp.c: Likewise.
53565         * sunrpc/clnt_unix.c: Likewise.
53566         * sunrpc/des_crypt.c: Likewise.
53567         * sunrpc/des_soft.c: Likewise.
53568         * sunrpc/get_myaddr.c: Likewise.
53569         * sunrpc/key_call.c: Likewise.
53570         * sunrpc/key_prot.c: Likewise.
53571         * sunrpc/netname.c: Likewise.
53572         * sunrpc/pm_getmaps.c: Likewise.
53573         * sunrpc/pm_getport.c: Likewise.
53574         * sunrpc/pmap_clnt.c: Likewise.
53575         * sunrpc/pmap_prot.c: Likewise.
53576         * sunrpc/pmap_prot2.c: Likewise.
53577         * sunrpc/pmap_rmt.c: Likewise.
53578         * sunrpc/publickey.c: Likewise.
53579         * sunrpc/rpc_cmsg.c: Likewise.
53580         * sunrpc/rpc_common.c: Likewise.
53581         * sunrpc/rpc_dtable.c: Likewise.
53582         * sunrpc/rpc_prot.c: Likewise.
53583         * sunrpc/rpc_thread.c: Likewise.
53584         * sunrpc/rtime.c: Likewise.
53585         * sunrpc/svc.c: Likewise.
53586         * sunrpc/svc_auth.c: Likewise.
53587         * sunrpc/svc_raw.c: Likewise.
53588         * sunrpc/svc_run.c: Likewise.
53589         * sunrpc/svc_tcp.c: Likewise.
53590         * sunrpc/svc_udp.c: Likewise.
53591         * sunrpc/svc_unix.c: Likewise.
53592         * sunrpc/svcauth_des.c: Likewise.
53593         * sunrpc/xcrypt.c: Likewise.
53594         * sunrpc/xdr.c: Likewise.
53595         * sunrpc/xdr_array.c: Likewise.
53596         * sunrpc/xdr_float.c: Likewise.
53597         * sunrpc/xdr_intXX_t.c: Likewise.
53598         * sunrpc/xdr_mem.c: Likewise.
53599         * sunrpc/xdr_rec.c: Likewise.
53600         * sunrpc/xdr_ref.c: Likewise.
53601         * sunrpc/xdr_sizeof.c: Likewise.
53602         * sunrpc/xdr_stdio.c: Likewise.
53604 2012-05-10  Roland McGrath  <roland@hack.frob.com>
53606         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
53607         change.  Update copyright years.
53609 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
53611         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
53613 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
53614             Joseph Myers  <joseph@codesourcery.com>
53615             Paul Pluzhnikov  <ppluzhnikov@google.com>
53617         [BZ #14012]
53618         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
53619         requiring rpcgen.
53620         [cross-compiling] (extra-libs): Likewise.
53621         [cross-compiling] (extra-libs-others): Likewise.
53622         [cross-compiling] (librpcsvc-routines): Likewise.
53623         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
53624         [cross-compiling] (omit-deps): Likewise.
53625         (sunrpc-CPPFLAGS): New variable.
53626         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
53627         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
53628         (cross-rpcgen-objs): New variable.
53629         (extra-objs): Append $(cross-rpcgen-objs).
53630         ($(cross-rpcgen-objs)): New rule.
53631         ($(objpfx)cross-rpcgen): Likewise.
53632         (rpcgen-cmd): Define to use $(built-program-file).  Expand
53633         comment.
53634         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
53635         ($(objpfx)x%.stmp): Likewise.
53636         * sunrpc/proto.h [IS_IN_build] (_): Define.
53637         [IS_IN_build] (_libc_intl_domainname): Likewise.
53639 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
53641         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
53642         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
53643         and R_X86_64_TPOFF64.
53645 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
53647         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
53648         sysdeps/unix/sysv/syscalls.list.
53649         (stime): Likewise.
53650         (utime): Likewise.
53651         * sysdeps/unix/sysv/syscalls.list: Remove file.
53653 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
53655         [BZ #3440]
53656         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
53657         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
53658         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
53659         (__LC_IDENTIFICATION): Make these macros useful in #if
53660         expressions, as required by C99.
53662 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
53664         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
53665         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
53666         after this.
53668 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
53670         * stdlib/longlong.h: Updated from GCC.
53672 2012-05-09  Andreas Jaeger  <aj@suse.de>
53674         * nscd/nscd.c (run_modes): Make named enum, reorder so that
53675         default is first entry.
53676         (run_mode): Set type.
53677         (main): Remove informal message about syslog.
53678         (options): Fix typo.
53680         [BZ #14053]
53681         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
53682         to asm.
53683         (lrint): Likewise.
53684         (llrintf): Likewise.
53685         (llrint): Likewise.
53686         (rint): Likewise.
53687         (rintf): Likewise.
53688         (nearbyint): Likewise.
53689         (nearbyintf): Likewise.
53691 2012-05-09  Andreas Jaeger  <aj@suse.de>
53692             Pedro Alves  <palves@redhat.com>
53694         * nscd/nscd.c (run_mode): Use enum.
53695         (main): Cleanup coding style issue.
53697 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
53698             Andreas Jaeger  <aj@suse.de>
53700         * nscd/nscd.c (go_background): Replaced with...
53701         (run_mode): ... this.
53702         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
53703         (options): Add -F --foreground.
53704         (main): Implement it.
53705         (parse_opt): Parse it.
53707 2012-05-09  Andreas Jaeger  <aj@suse.de>
53709         [BZ #14083]
53710         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
53711         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
53712         -Wconversion warning.
53713         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
53714         Likewise.
53716 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
53718         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
53719         == 0.
53720         (LC_ALL): Use macro-int-constant.
53721         (LC_COLLATE): Likewise.
53722         (LC_CTYPE): Likewise.
53723         (LC_MESSAGES): Likewise.
53724         (LC_MONETARY): Likewise.
53725         (LC_NUMERIC): Likewise.
53726         (LC_TIME): Likewise.
53727         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
53728         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
53729         [ISO || ISO99 || ISO11] (*_t): Do not allow.
53730         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
53731         Specify type.
53732         [C99-based standards] (float_t): Expect type.
53733         [C99-based standards] (double_t): Expect type.
53734         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
53735         type.
53736         [C99-based standards] (HUGE_VALL): Likewise.
53737         [C99-based standards] (INFINITY): Likewise.
53738         [C99-based standards] (NAN): Likewise.
53739         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
53740         [C99-based standards] (FP_NAN): Likewise.
53741         [C99-based standards] (FP_NORMAL): Likewise.
53742         [C99-based standards] (FP_SUBNORMAL): Likewise.
53743         [C99-based standards] (FP_ZERO): Likewise.
53744         [C99-based standards] (FP_FAST_FMA): Use
53745         optional-macro-int-constant.  Specify type.  Require == 1.
53746         [C99-based standards] (FP_FAST_FMAF): Likewise.
53747         [C99-based standards] (FP_FAST_FMAL): Likewise.
53748         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
53749         [C99-based standards] (FP_ILOGBNAN): Likewise.
53750         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
53751         Specify type.
53752         [C99-based standards] (MATH_ERREXCEPT): Likewise.
53753         [C99-based standards] (math_errhandling): Specify type.
53754         [ISO99 || ISO11] (signgam): Do not allow.
53755         [non-C99-based standards] (copysignf): Do not allow.
53756         [non-C99-based standards] (exp2f): Likewise.
53757         [non-C99-based standards] (log2f): Likewise.
53758         [non-C99-based standards] (modff): Allow.
53759         [non-C99-based standards] (erff): Do not allow.
53760         [non-C99-based standards] (erfcf): Likewise.
53761         [non-C99-based standards] (gammaf): Likewise.
53762         [non-C99-based standards] (hypotf): Likewise.
53763         [non-C99-based standards] (j0f): Likewise.
53764         [non-C99-based standards] (j1f): Likewise.
53765         [non-C99-based standards] (jnf): Likewise.
53766         [non-C99-based standards] (lgammaf): Likewise.
53767         [non-C99-based standards] (tgammaf): Likewise.
53768         [non-C99-based standards] (y0f): Likewise.
53769         [non-C99-based standards] (y1f): Likewise.
53770         [non-C99-based standards] (ynf): Likewise.
53771         [non-C99-based standards] (isnanf): Likewise.
53772         [non-C99-based standards] (acoshf): Likewise.
53773         [non-C99-based standards] (asinhf): Likewise.
53774         [non-C99-based standards] (atanhf): Likewise.
53775         [non-C99-based standards] (cbrtf): Likewise.
53776         [non-C99-based standards] (expm1f): Likewise.
53777         [non-C99-based standards] (ilogbf): Likewise.
53778         [non-C99-based standards] (log1pf): Likewise.
53779         [non-C99-based standards] (logbf): Likewise.
53780         [non-C99-based standards] (nextafterf): Likewise.
53781         [non-C99-based standards] (remainderf): Likewise.
53782         [non-C99-based standards] (rintf): Likewise.
53783         [non-C99-based standards] (scalbf): Likewise.
53784         [non-C99-based standards] (copysignl): Likewise.
53785         [non-C99-based standards] (exp2l): Likewise.
53786         [non-C99-based standards] (log2l): Likewise.
53787         [non-C99-based standards] (modfl): Allow.
53788         [non-C99-based standards] (erfl): Do not allow.
53789         [non-C99-based standards] (erfcl): Likewise.
53790         [non-C99-based standards] (gammal): Likewise.
53791         [non-C99-based standards] (hypotl): Likewise.
53792         [non-C99-based standards] (j0l): Likewise.
53793         [non-C99-based standards] (j1l): Likewise.
53794         [non-C99-based standards] (jnl): Likewise.
53795         [non-C99-based standards] (lgammal): Likewise.
53796         [non-C99-based standards] (tgammal): Likewise.
53797         [non-C99-based standards] (y0l): Likewise.
53798         [non-C99-based standards] (y1l): Likewise.
53799         [non-C99-based standards] (ynl): Likewise.
53800         [non-C99-based standards] (isnanl): Likewise.
53801         [non-C99-based standards] (acoshl): Likewise.
53802         [non-C99-based standards] (asinhl): Likewise.
53803         [non-C99-based standards] (atanhl): Likewise.
53804         [non-C99-based standards] (cbrtl): Likewise.
53805         [non-C99-based standards] (expm1l): Likewise.
53806         [non-C99-based standards] (ilogbl): Likewise.
53807         [non-C99-based standards] (log1pl): Likewise.
53808         [non-C99-based standards] (logbl): Likewise.
53809         [non-C99-based standards] (nextafterl): Likewise.
53810         [non-C99-based standards] (remainderl): Likewise.
53811         [non-C99-based standards] (rintl): Likewise.
53812         [non-C99-based standards] (scalbl): Likewise.
53813         [ISO || ISO99 || ISO11] (*_t): Do not allow.
53814         [non-C99-based standards] (FP_*): Do not allow.
53815         [C99-based standards] (FP_*): Change to
53816         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
53817         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
53818         allow.
53819         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
53820         (SIG_ERR): Likewise.
53821         [X/Open-based standards] (SIG_HOLD): Likewise.
53822         (SIG_IGN): Likewise.
53823         (SIGABRT): Use macro-int-constant.  Specify type.  Require
53824         positive value.
53825         (SIGFPE): Likewise.
53826         (SIGILL): Likewise.
53827         (SIGINT): Likewise.
53828         (SIGSEGV): Likewise.
53829         (SIGTER): Likewise.
53830         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
53831         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
53832         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
53833         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
53834         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
53835         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
53836         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
53837         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
53838         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
53839         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
53840         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
53841         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
53842         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
53843         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
53844         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
53845         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
53846         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
53847         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
53848         [X/Open-based standards] (SIGTRAP): Likewise.
53849         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
53850         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
53851         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
53852         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
53853         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
53854         allow.
53856 2012-05-08  Ian Wienand  <ianw@vmware.com>
53858         [BZ #14080]
53859         * time/tzset.c (__tzset_parse_tz): Update default rules for
53860         daylight time changes in the Energy Policy Act of 2005.
53862 2012-05-09  Andreas Jaeger  <aj@suse.de>
53864         [BZ #13983]
53865         * elf/ldconfig.c (parse_conf): Change string to make clear that
53866         ldconfig only issued a warning if ld.so.conf does not exist.
53868 2012-05-08  David S. Miller  <davem@davemloft.net>
53870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
53871         movxtod instead of popping the value on the stack.
53873         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53875 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
53877         * config.h.in: Add HAVE_ARM_PCS_VFP.
53879 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
53881         [BZ #13979]
53882         * include/features.h: Warn if user requests __FORTIFY_SOURCE
53883         checking but the checks are disabled for any reason.
53885 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
53887         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
53888         and ELF64_R_TYPE with ELFW(R_TYPE).
53890 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
53892         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
53893         (ulimit): Likewise.
53895         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
53896         (settimeofday): Likewise.
53898 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
53900         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
53901         a struct th_u2 inside the union, and move tu_block/tu_code into
53902         a new th_u3 union of tu_block/tu_code inside of that.  Move
53903         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
53904         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
53905         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
53906         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
53907         (th_stuff): Change to th_u1.tu_stuff.
53908         (th_data): Define.
53909         (th_msg): Change to th_u1.th_u2.tu_data.
53911 2012-05-07  David S. Miller  <davem@davemloft.net>
53913         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53915         [BZ #14074]
53916         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
53917         (SETUP_PIC_REG): Use it.
53918         (SETUP_PIC_REG_LEAF): Use it.
53920 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
53922         [BZ #13885]
53923         [BZ #13923]
53924         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
53925         USE_AS_EXPM1L.
53926         (EXPL_FINITE): Likewise.
53927         (FLDLOG): Likewise.
53928         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
53929         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
53930         e_expl.S.
53931         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
53932         USE_AS_EXPM1L.
53933         (EXPL_FINITE): Likewise.
53934         (FLDLOG): Likewise.
53935         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
53936         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
53937         e_expl.S.
53938         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
53939         test of -max_value argument for long double.
53940         * sysdeps/i386/fpu/libm-test-ulps: Update.
53941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53943 2012-05-06  David S. Miller  <davem@davemloft.net>
53945         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
53946         quad soft-float symbols whose references which are compiler
53947         generated.
53948         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
53950 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
53952         [BZ #13884]
53953         [BZ #13914]
53954         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
53955         USE_AS_EXP10L.
53956         (EXPL_FINITE): Likewise.
53957         (FLDLOG): Likewise.
53958         (c0): Likewise.
53959         (c1): Likewise.
53960         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
53961         Adjust comments for base varying.
53962         (__expl_finite): Change alias to EXPL_FINITE.
53963         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
53964         e_expl.S.
53965         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
53966         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
53967         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
53968         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
53969         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
53970         USE_AS_EXP10L.
53971         (EXPL_FINITE): Likewise.
53972         (FLDLOG): Likewise.
53973         (c0): Likewise.
53974         (c1): Likewise.
53975         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
53976         Adjust comments for base varying.
53977         (__expl_finite): Change alias to EXPL_FINITE.
53978         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
53979         tests for bugs.
53980         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53982         [BZ #14064]
53983         * math/libm-test.inc (check_float_internal): Correct ulp
53984         calculation for subnormal expected results.
53986 2012-05-06  Andreas Jaeger  <aj@suse.de>
53988         * Makeconfig (+math-flags): New, set to -frounding-math.
53989         (+cflags): Add +math-flags so that all of glibc gets compiled with
53990         it.
53992         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
53994 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
53996         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
53997         Disable one test.
53999         [BZ #13787]
54000         [BZ #13922]
54001         [BZ #14036]
54002         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
54003         (__ieee754_expl): Allow for and saturate large arguments.
54004         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
54005         (u_threshold): Likewise.
54006         (__exp): Call __ieee754_exp before checking for overflow and
54007         underflow.
54008         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
54009         (u_threshold): Likewise.
54010         (__expf): Call __ieee754_expf before checking for overflow and
54011         underflow.
54012         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
54013         (u_threshold): Likewise.
54014         (__expl): Call __ieee754_expl before checking for overflow and
54015         underflow.
54016         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
54017         (__ieee754_expl): Allow for and saturate large arguments.
54018         * math/libm-test.inc (exp_test): Add another test.  Do not allow
54019         missing overflow exception on overflow.
54020         (expm1_test): Do not allow missing overflow exception on overflow.
54022         * sysdeps/i386/fpu/e_expl.c: Move to ...
54023         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
54024         rather than using inline asm.
54025         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
54026         * sysdeps/x86_64/fpu/e_expl.S: Copy from
54027         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
54029         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
54030         (nice): Likewise.
54031         (poll): Likewise.
54032         (signal): Likewise.
54033         (time): Likewise.
54034         (times): Likewise.
54036 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
54038         * sysdeps/unix/syscalls.list (adjtime): Add entry from
54039         sysdeps/unix/common/syscalls.list.
54040         (fchmod): Likewise.
54041         (fchown): Likewise.
54042         (ftruncate): Likewise.
54043         (getrusage): Likewise.
54044         (gettimeofday): Likewise.
54045         (setpgid): Likewise.
54046         (setregid): Likewise.
54047         (setreuid): Likewise.
54048         (sigaction): Likewise.
54049         (truncate): Likewise.
54050         (vhangup): Likewise.
54051         * sysdeps/unix/common/syscalls.list: Remove file.
54052         * sysdeps/unix/bsd/Implies: Don't include unix/common.
54053         * sysdeps/unix/sysv/linux/Implies: Likewise.
54055 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
54057         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
54058         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
54059         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
54060         Moved to ...
54061         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
54062         Here.
54063         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
54064         to ...
54065         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
54066         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
54067         to ...
54068         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
54069         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
54070         to ...
54071         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
54072         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
54073         to ...
54074         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
54075         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
54076         to ...
54077         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
54078         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
54079         to ...
54080         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
54081         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
54082         to ...
54083         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
54084         Here.
54085         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
54086         to ...
54087         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
54088         Here.
54089         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
54090         to ...
54091         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
54092         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
54093         Moved to ...
54094         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
54095         Here.
54096         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
54097         to ...
54098         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
54100 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
54102         * sysdeps/unix/common/bits/dirent.h: Remove file.
54103         * sysdeps/unix/common/bits/fcntl.h: Likewise.
54105         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
54106         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
54107         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
54108         * sysdeps/unix/bsd/isatty.c: Likewise.
54109         * sysdeps/unix/bsd/tcdrain.c: Likewise.
54110         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
54111         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
54113 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54115         [BZ #13563]
54116         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
54117         long double comparison inaccuracies.
54118         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
54119         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54121 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
54123         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
54124         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
54126 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
54128         [BZ #14049]
54129         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
54130         nonzero digits before rounding a hex value.
54131         * stdlib/tst-strtod.c (tests): Add another test.
54133 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54135         * sysdeps/s390/fpu/libm-test-ulps: Update.
54137 2012-05-03  Andreas Jaeger  <aj@suse.de>
54139         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
54140         does not get optimized out.
54141         (malloc_opt_barrier): New.
54143 2012-05-03  Andreas Jaeger  <aj@suse.de>
54144             Roland McGrath  <roland@hack.frob.com>
54146         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
54147         intermediate file deletion.
54148         (generated): Add .symlist files.
54150 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
54152         [BZ #13775]
54153         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
54154         Redirect under this condition.
54155         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
54156         [__USE_GNU] (__dprintf_chk): Not under this condition.
54157         [__USE_GNU] (__vdprintf_chk): Likewise.
54158         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
54159         under this condition.
54160         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
54161         [__USE_XOPEN2K8] (dprintf): Define under this condition.
54162         [__USE_XOPEN2K8] (vdprintf): Likewise.
54163         [__USE_GNU] (__dprintf_chk): Not under this condition.
54164         [__USE_GNU] (__vdprintf_chk): Likewise.
54165         [__USE_GNU] (dprintf): Likewise.
54166         [__USE_GNU] (vdprintf): Likewise.
54168 2012-05-03  Roland McGrath  <roland@hack.frob.com>
54170         * elf/Makefile (common-generated): Set this instead of generated for
54171         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
54172         $(all-built-dso)-derived lists.
54174 2012-05-03  Andreas Jaeger  <aj@suse.de>
54176         * sysdeps/i386/fpu/libm-test-ulps: Update.
54178         * FAQ: Removed.
54179         * FAQ.in: Likewise.
54180         * scripts/gen-FAQ.pl: Likewise.
54181         * manual/install.texi (Installation): Point to online location of
54182         FAQ.
54183         * Makefile (files-for-dist): Remove FAQ.
54184         (FAQ): Remove.
54186 2012-05-02  Allan McRae  <allan@archlinux.org>
54188         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
54189         (LDFLAGS-reldepmod5.so): Likewise.
54190         (LDFLAGS-reldep6mod1.so): Likewise.
54191         (LDFLAGS-reldep6mod4.so): Likewise.
54192         (LDFLAGS-reldep8mod3.so): Likewise.
54193         (LDFLAGS-unload4mod1.so): Likewise.
54194         (LDFLAGS-unload4mod2.so): Likewise.
54195         (LDFLAGS-tst-initorder): Likewise.
54196         (LDFLAGS-tst-initordera2.so): Likewise.
54197         (LDFLAGS-tst-initordera3.so): Likewise.
54198         (LDFLAGS-tst-initordera4.so): Likewise.
54199         (LDFLAGS-tst-initorderb2.so): Likewise.
54200         (LDFLAGS-noload): Likewise.
54201         (LDFLAGS-next): Likewise.
54202         (LDFLAGS-order2mod1.so): Likewise.
54203         (LDFLAGS-order2mod2.so): Likewise.
54204         (LDFLAGS-tst-initorder2): Likewise.
54205         (LDFLAGS-tst-initorder2a.so): Likewise.
54206         (LDFLAGS-tst-initorder2b.so): Likewise.
54207         (LDFLAGS-tst-initorder2c.so): Likewise.
54208         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
54210 2012-05-02  David S. Miller  <davem@davemloft.net>
54212         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54214 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
54216         [BZ #14055]
54217         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
54219 2012-05-02  Andreas Jaeger  <aj@suse.de>
54221         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
54222         since we manipulate rounding mode.
54223         (CPPFLAGS-test-idouble.c): Likewise.
54224         (CPPFLAGS-test-ifloat.c): Likewise.
54225         (CFLAGS-test-ldouble.c): Likewise.
54226         (CFLAGS-test-double.c): Likewise.
54227         (CFLAGS-test-float.c): Likewise.
54228         (CFLAGS-test-misc.c): Likewise.
54229         (CFLAGS-test-test-fenv.c): Likewise.
54231 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54233         [BZ #2550]
54234         [BZ #2570]
54235         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
54236         comparisons to determine direction to adjust input.
54238 2012-05-01  Roland McGrath  <roland@hack.frob.com>
54240         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
54241         output to the target.
54243         * scripts/localplt.awk: New file.
54244         * elf/Makefile ($(objpfx)check-localplt): Target removed.
54245         (check-localplt-CFLAGS): Variable removed.
54246         ($(all-built-dso:=.jmprel)): New static pattern rule.
54247         (generated): Add those targets.
54248         (localplt-built-dso): New variable.
54249         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
54251         * elf/check-localplt.c: File removed.
54253         * scripts/check-execstack.awk: New file.
54254         * elf/Makefile ($(objpfx)check-execstack): Target removed.
54255         (check-execstack-CFLAGS): Variable removed.
54256         ($(objpfx)check-execstack.h): Target removed.
54257         ($(objpfx)execstack-default): New target.
54258         (generated): Add that instead of check-execstack.h.
54259         ($(all-built-dso:=.phdr)): New static pattern rule.
54260         (generated): Add those targets.
54261         * elf/check-execstack.c: File removed.
54263         * scripts/check-textrel.awk: New file.
54264         * elf/Makefile ($(objpfx)check-textrel): Target removed.
54265         (check-textrel-CFLAGS): Variable removed.
54266         (all-built-dso): Use := to define.o
54267         ($(all-built-dso:=.dyn)): New static pattern rule.
54268         (generated): Add those targets.
54269         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
54270         * config.make.in (READELF): New substituted variable.
54271         * elf/check-textrel.c: File removed.
54273 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
54275         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
54276         allow.
54277         * conform/data/ctype.h-data [C99-based standards] (isblank):
54278         Expect function.
54279         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
54280         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
54281         [ISO || ISO99 || ISO11] (*_t): Do not allow.
54282         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
54283         Specify type.  Require positive value.
54284         (EILSEQ): Likewise.
54285         (ERANGE): Likewise.
54286         [ISO || POSIX] (EILSEQ): Do not expect.
54287         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
54288         Specify type.  Require positive value.
54289         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
54290         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
54291         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
54292         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
54293         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
54294         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
54295         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
54296         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
54297         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
54298         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
54299         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
54300         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
54301         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
54302         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
54303         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
54304         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
54305         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
54306         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
54307         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
54308         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
54309         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
54310         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
54311         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
54312         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
54313         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
54314         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
54315         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
54316         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
54317         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
54318         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
54319         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
54320         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
54321         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
54322         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
54323         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
54324         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
54325         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
54326         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
54327         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
54328         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
54329         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
54330         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
54331         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
54332         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
54333         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
54334         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
54335         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
54336         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
54337         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
54338         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
54339         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
54340         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
54341         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
54342         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
54343         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
54344         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
54345         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
54346         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
54347         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
54348         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
54349         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
54350         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
54351         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
54352         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
54353         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
54354         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
54355         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
54356         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
54357         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
54358         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
54359         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
54360         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
54361         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
54362         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
54363         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
54364         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
54365         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
54366         Require >= 2.
54367         (FLT_ROUNDS): Expect as macro, not constant.
54368         (FLT_MANT_DIG): Use macro-int-constant.
54369         (DBL_MANT_DIG): Likewise.
54370         (LDBL_MANT_DIG): Likewise.
54371         (FLT_DIG): Likewise.
54372         (DBL_DIG): Likewise.
54373         (LDBL_DIG): Likewise.
54374         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
54375         (DBL_MIN_EXP): Likewise.
54376         (LDBL_MIN_EXP): Likewise.
54377         (FLT_MAX_EXP): Use macro-int-constant.
54378         (DBL_MAX_EXP): Likewise.
54379         (LDBL_MAX_EXP): Likewise.
54380         (FLT_MAX_10_EXP): Likewise.
54381         (DBL_MAX_10_EXP): Likewise.
54382         (LDBL_MAX_10_EXP): Likewise.
54383         (FLT_MAX): Use macro-constant.
54384         (DBL_MAX): Likewise.
54385         (LDBL_MAX): Likewise.
54386         (FLT_EPSILON): Use macro-constant.  Give upper bound.
54387         (DBL_EPSILON): Likewise.
54388         (LDBL_EPSILON): Likewise.
54389         (FLT_MIN): Likewise.
54390         (DBL_MIN): Likewise.
54391         (LDBL_MIN): Likewise.
54392         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
54393         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
54394         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
54395         [ISO11] (FLT_HAS_SUBNORM): Likewise.
54396         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
54397         [ISO11] (DBL_DECIMAL_DIG): Likewise.
54398         [ISO11] (FLT_DECIMAL_DIG): Likewise.
54399         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
54400         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
54401         [ISO11] (FLT_TRUE_MIN): Likewise.
54402         [ISO11] (LDBL_TRUE_MIN): Likewise.
54403         [ISO || ISO99 || ISO11] (*_t): Do not allow.
54404         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
54405         (SCHAR_MIN): Use macro-int-constant.  Specify type.
54406         (SCHAR_MAX): Likewise.
54407         (UCHAR_MAX): Likewise.
54408         (CHAR_MIN): Likewise.
54409         (CHAR_MAX): Likewise.
54410         (MB_LEN_MAX): Use macro-int-constant.
54411         (SHRT_MIN): Use macro-int-constant.  Specify type.
54412         (SHRT_MAX): Likewise.
54413         (USHRT_MAX): Likewise.
54414         (INT_MAX): Likewise.
54415         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
54416         bound negative.
54417         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
54418         bound with "U".
54419         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
54420         bound with "L".
54421         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
54422         bound negative.  Suffix upper bound with "L".
54423         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
54424         bound with "UL".
54425         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
54426         Specify type.
54427         [C99-based standards] (LLONG_MAX): Likewise.
54428         [C99-based standards] (ULLONG_MAX): Likewise.
54429         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
54430         == 0.
54431         [ISO11] (max_align_t): Require type.
54432         [ISO || ISO99 || ISO11] (*_t): Do not allow.
54434         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
54435         from $CFLAGS, without defining away __attribute__ calls.
54436         (checknamespace): Use $CFLAGS_namespace.
54438         * conform/conformtest.pl (@keywords): Only include C99 keywords
54439         for standards based on C99 or C11.
54441         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
54442         Disable tests.
54443         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
54444         UNIX98]: Likewise.
54446         * conform/conformtest.pl: Handle "macro-int-constant" and test for
54447         usability of symbols in #if.
54449         * conform/conformtest.pl: If macro or constant types start
54450         "promoted:", expect the symbol to be of the following type
54451         promoted by the integer promotions.
54453         * conform/conformtest.pl: Parse all "constant" and "macro" lines
54454         in one place.  Also handle "macro-constant".
54456         * conform/conformtest.pl: Only accept expected macro values with
54457         "==".  Parse all "macro" lines in one place.
54458         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
54460         * conform/conformtest.pl: Handle braced types on "constant" lines
54461         instead of handling "typed-constant".
54462         * conform/data/signal.h-data: Use "constant" instead of
54463         "typed-constant".
54465         * conform/conformtest.pl: Handle "optional-" at start of lines in
54466         one place rather than duplicating several cases.  Handle each
54467         format of "macro" line with initial "optional-".
54469         * conform/conformtest.pl: Only accept expected constant or
54470         optional-constant values with "==".  Parse all "constant" lines in
54471         one place.  Parse all "optional-constant" lines in one place.
54472         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
54473         * conform/data/fmtmsg.h-data: Likewise.
54474         * conform/data/netinet/in.h-data: Likewise.
54475         * conform/data/tar.h-data: Likewise.
54476         * conform/data/limits.h-data: Use "==" form on "constant" and
54477         "optional-constant" lines.
54479         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
54480         Use -std=c99 for XOPEN2K.
54481         (@knownproblems): Remove.
54482         (newtoken): Don't check %isknown.
54484         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
54485         Do not expect macro.
54486         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
54487         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
54488         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
54489         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
54490         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
54491         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
54492         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
54493         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
54494         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
54495         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
54496         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
54497         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
54498         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
54499         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
54500         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
54501         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
54502         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
54503         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
54504         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
54505         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
54506         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
54507         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
54508         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
54509         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
54510         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
54511         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
54512         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
54513         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
54514         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
54515         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
54516         [XPG3] (acosh): Likewise.
54517         [XPG3] (asinh): Likewise.
54518         [XPG3] (atanh): Likewise.
54519         [XPG3] (cbrt): Likewise.
54520         [XPG3] (expm1): Likewise.
54521         [XPG3] (ilogb): Likewise.
54522         [XPG3] (log1p): Likewise.
54523         [XPG3] (logb): Likewise.
54524         [XPG3] (nextafter): Likewise.
54525         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
54526         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
54527         [XPG3] (remainder): Likewise.
54528         [XPG3] (rint): Likewise.
54529         [XPG3 || XPG4 || UNIX98] (round): Likewise.
54530         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
54531         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
54532         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
54533         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
54534         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
54535         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
54536         [UNIX98 || XOPEN2K] (scalb): Expect.
54537         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
54538         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
54539         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
54540         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
54541         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
54542         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
54543         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
54544         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
54545         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
54546         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
54547         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
54548         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
54549         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
54550         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
54551         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
54552         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
54553         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
54554         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
54555         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
54556         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
54557         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
54558         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
54559         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
54560         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
54561         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
54562         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
54563         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
54564         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
54565         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
54566         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
54567         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
54568         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
54569         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
54570         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
54571         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
54572         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
54573         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
54574         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
54575         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
54576         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
54577         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
54578         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
54579         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
54580         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
54581         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
54582         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
54583         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
54584         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
54585         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
54586         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
54587         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
54588         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
54589         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
54590         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
54591         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
54592         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
54593         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
54594         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
54595         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
54596         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
54597         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
54598         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
54599         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
54600         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
54601         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
54602         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
54603         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
54604         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
54605         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
54606         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
54607         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
54608         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
54609         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
54610         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
54611         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
54612         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
54613         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
54614         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
54615         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
54616         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
54617         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
54618         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
54619         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
54620         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
54621         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
54622         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
54623         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
54624         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
54625         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
54626         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
54627         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
54628         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
54629         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
54630         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
54631         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
54632         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
54633         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
54634         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
54635         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
54636         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
54637         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
54638         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
54639         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
54640         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
54641         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
54642         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
54643         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
54644         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
54645         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
54646         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
54647         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
54648         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
54649         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
54650         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
54651         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
54652         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
54653         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
54654         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
54655         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
54656         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
54657         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
54658         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
54659         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
54660         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
54661         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
54662         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
54663         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
54664         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
54665         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
54666         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
54667         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
54668         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
54669         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
54670         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
54671         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
54672         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
54673         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
54675         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
54676         _XOPEN_SOURCE_EXTENDED for XPG4.
54678         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
54680         * Makeconfig (localtime): Remove variable.
54681         (inst_localtime-file): Likewise.
54683 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
54685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
54686         Update.
54687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54688         Update.
54689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
54690         Update.
54691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
54692         Update.
54693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
54694         Update.
54695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
54696         Update.
54697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54698         Update.
54699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
54700         Update.
54701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
54702         Update.
54704 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
54706         [BZ #2550]
54707         [BZ #2570]
54708         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
54709         comparisons to determine direction to adjust input.
54710         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
54711         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
54712         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
54713         Likewise.
54714         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
54715         Likewise.
54716         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
54717         Likewise.
54718         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
54719         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
54720         Likewise.
54721         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
54722         Likewise.
54723         * math/libm-test.inc (nexttoward_test): Add more tests.
54725 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
54727         [BZ #14040]
54728         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
54729         in version GLIBC_2.1, not GLIBC_2.0.
54730         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
54731         Likewise.
54733 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
54735         [BZ #13942]
54736         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
54737         (1 - x) * (1 + x).
54738         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
54739         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
54740         * math/libm-test.inc (acos_test): Add more tests.
54741         (asin_test): Likewise.
54742         * sysdeps/i386/fpu/libm-test-ulps: Update.
54743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54745         [BZ #14034]
54746         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
54747         of square root.
54748         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
54749         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
54750         * math/libm-test.inc (acos_test_tonearest): New function.
54751         (acos_test_towardzero): Likewise.
54752         (acos_test_downward): Likewise.
54753         (acos_test_upward): Likewise.
54754         (asin_test_tonearest): Likewise.
54755         (asin_test_towardzero): Likewise.
54756         (asin_test_downward): Likewise.
54757         (asin_test_upward): Likewise.
54758         (main): Call the new functions.
54759         * sysdeps/i386/fpu/libm-test-ulps: Update.
54760         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54762         [BZ #13884]
54763         [BZ #13924]
54764         * math/e_exp10.c: Include <float.h>.
54765         (__ieee754_exp10): Handle underflow here rather than multiplying
54766         large negative argument by M_LN10.
54767         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
54768         of __ieee754_expf.
54769         * math/e_exp10l.c: Include <float.h>.
54770         (__ieee754_exp10l): Handle underflow here rather than multiplying
54771         large negative argument by M_LN10l.
54772         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
54773         spurious overflow exception on underflow.
54775 2012-04-29  Marek Polacek  <polacek@redhat.com>
54777         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
54778         (__fortify_function): New macro.
54779         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
54780         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
54781         __extern_always_inline.
54782         * libio/bits/stdio2.h: Likewise.
54783         * libio/bits/stdio.h: Likewise.
54784         * string/string.h: Likewise.
54785         * string/bits/string3.h: Likewise.
54786         * include/stdio.h: Likewise.
54787         * stdlib/bits/stdlib.h: Likewise.
54788         * stdlib/stdlib.h: Likewise.
54789         * rt/bits/mqueue2.h: Likewise.
54790         * rt/mqueue.h: Likewise.
54791         * posix/bits/unistd.h: Likewise.
54792         * posix/unistd.h: Likewise.
54793         * io/bits/poll2.h: Likewise.
54794         * io/bits/fcntl2.h: Likewise.
54795         * io/fcntl.h: Likewise.
54796         * io/sys/poll.h: Likewise.
54797         * misc/bits/syslog.h: Likewise.
54798         * misc/bits/syslog-ldbl.h: Likewise.
54799         * misc/sys/syslog.h: Likewise.
54800         * socket/bits/socket2.h: Likewise.
54801         * socket/sys/socket.h: Likewise.
54802         * debug/tst-chk1.c: Likewise.
54803         * wcsmbs/bits/wchar2.h: Likewise.
54804         * wcsmbs/bits/wchar-ldbl.h: Likewise.
54805         * wcsmbs/wchar.h: Likewise.
54807 2012-04-29  Andreas Jaeger  <aj@suse.de>
54809         * Makerules (tests): Remove enable-check-abi protection.
54810         (check-abi-warn): Remove.
54811         (check-abi-%): Remove check-abi-warn usage.
54813         * configure.in: Remove check-abi configure option.
54814         * configure: Regenerated.
54815         * config.make.in (enable-check-abi): Remove.
54817 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
54819         [BZ #14033]
54820         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
54821         double functions to double *_finite functions.
54823         [BZ #13941]
54824         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
54825         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
54826         LDBL_MIN_EXP.
54827         * stdio-common/Makefile (tests): Add tst-sprintf3.
54828         * stdio-common/tst-sprintf3.c: New file.
54830         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
54831         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
54833 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
54835         * conform/conformtest.pl: Remove duplicate typed-constant
54836         handling.
54838 2012-04-28  David S. Miller  <davem@davemloft.net>
54840         * Makerules (%.abilist): Add vpath on sysdep_dirs.
54841         (check-abi-%): Remove AWK script prerequisite and explicit
54842         abilist directory.
54843         (check-abi): Rewrite to just diff the symlist with the abilist.
54844         (config-tls, config-abi-config): Delete, no longer used.
54845         (update-abi-%): Remove AWK script and explicit abilist directory.
54846         (update-abi): Rewrite to simply compare and conditionally copy the
54847         symlist and the sysdep abilist file.  Remove update-abi-config
54848         checks.
54849         * abilist/ld.abilist: Remove.
54850         * abilist/libBrokenLocale.abilist: Remove.
54851         * abilist/libanl.abilist: Remove.
54852         * abilist/libcrypt.abilist: Remove.
54853         * abilist/libdl.abilist: Remove.
54854         * abilist/librt.abilist: Remove.
54855         * abilist/libthread_db.abilist: Remove.
54856         * abilist/libutil.abilist: Remove.
54857         * scripts/extract-abilist.awk: Remove.
54858         * scripts/merge-abilist.awk: Remove.
54859         * sysdeps/generic/libcidn.abilist: New file.
54860         * sysdeps/generic/libnss_compat.abilist: New file.
54861         * sysdeps/generic/libnss_db.abilist: New file.
54862         * sysdeps/generic/libnss_dns.abilist: New file.
54863         * sysdeps/generic/libnss_files.abilist: New file.
54864         * sysdeps/generic/libnss_hesiod.abilist: New file.
54865         * sysdeps/generic/libnss_nis.abilist: New file.
54866         * sysdeps/generic/libnss_nisplus.abilist: New file.
54867         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
54868         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
54869         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
54870         file.
54871         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
54872         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
54873         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
54874         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
54875         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
54876         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
54877         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
54878         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
54879         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
54880         file.
54881         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
54882         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
54883         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
54884         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
54885         file.
54886         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
54887         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
54888         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
54889         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
54890         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
54891         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
54892         file.
54893         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
54894         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
54895         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
54896         file.
54897         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
54898         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
54899         New file.
54900         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
54901         New file.
54902         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
54903         New file.
54904         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
54905         New file.
54906         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
54907         New file.
54908         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
54909         New file.
54910         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
54911         New file.
54912         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
54913         New file.
54914         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
54915         New file.
54916         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
54917         New file.
54918         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
54919         New file.
54920         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
54921         New file.
54922         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
54923         New file.
54924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
54925         file.
54926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
54927         New file.
54928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
54929         New file.
54930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
54931         file.
54932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
54933         New file.
54934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
54935         New file.
54936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
54937         file.
54938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
54939         New file.
54940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
54941         New file.
54942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
54943         New file.
54944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
54945         New file.
54946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
54947         New file.
54948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
54949         New file.
54950         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
54951         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
54952         file.
54953         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
54954         New file.
54955         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
54956         file.
54957         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
54958         file.
54959         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
54960         file.
54961         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
54962         file.
54963         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
54964         file.
54965         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
54966         New file.
54967         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
54968         file.
54969         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
54970         file.
54971         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
54972         New file.
54973         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
54974         file.
54975         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
54976         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
54977         file.
54978         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
54979         New file.
54980         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
54981         file.
54982         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
54983         file.
54984         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
54985         file.
54986         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
54987         file.
54988         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
54989         file.
54990         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
54991         New file.
54992         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
54993         file.
54994         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
54995         file.
54996         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
54997         New file.
54998         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
54999         file.
55000         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
55001         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
55002         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
55003         file.
55004         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
55005         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
55006         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
55007         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
55008         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
55009         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
55010         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
55011         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
55012         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
55013         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
55014         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
55015         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
55016         file.
55017         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
55018         New file.
55019         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
55020         file.
55021         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
55022         file.
55023         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
55024         file.
55025         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
55026         file.
55027         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
55028         file.
55029         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
55030         New file.
55031         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
55032         New file.
55033         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
55034         file.
55035         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
55036         New file.
55037         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
55038         file.
55039         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
55040         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
55041         file.
55042         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
55043         New file.
55044         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
55045         file.
55046         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
55047         file.
55048         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
55049         file.
55050         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
55051         file.
55052         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
55053         file.
55054         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
55055         New file.
55056         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
55057         New file.
55058         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
55059         file.
55060         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
55061         New file.
55062         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
55063         file.
55065 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
55067         * conform/conformtest.pl: Fix typo in handling typed-constant from
55068         allow-header.
55070 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
55072         * README: Cut down references to pre-2.6 Linux kernels and
55073         Linuxthreads.  Update lists of configurations in libc and ports
55074         and sort alphabetically.  Say "or newer" with Linux kernel version
55075         requirements.
55077         * config.h.in [IS_IN_build]: Allow compiling without optimization.
55079 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
55081         [BZ #887]
55082         * math/libm-test.inc (logb_test_downward): New test to expose
55083         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
55084         rounding mode.
55086 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
55088         [BZ #14027]
55089         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
55090         to be done.
55091         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
55092         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
55094 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
55096         * sysdeps/unix/i386/brk.S: Remove file.
55097         * sysdeps/unix/i386/dl-brk.S: Likewise.
55098         * sysdeps/unix/i386/pipe.S: Likewise.
55099         * sysdeps/unix/i386/sigreturn.S: Likewise.
55100         * sysdeps/unix/i386/syscall.S: Likewise.
55101         * sysdeps/unix/i386/vfork.S: Likewise.
55102         * sysdeps/unix/i386/wait.S: Likewise.
55104         * sysdeps/unix/common/tcsendbrk.c: Move to ...
55105         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
55107         * configure.in (arm*-none*): Do not allow without
55108         --enable-hacker-mode.
55109         (netbsd*): Remove case setting base_os.
55110         (386bsd*): Likewise.
55111         (freebsd*): Likewise.
55112         (bsdi*): Likewise.
55113         (osf*): Likewise.
55114         (sunos*): Likewise.
55115         (ultrix*): Likewise.
55116         (newsos*): Likewise.
55117         (dynix*): Likewise.
55118         (*bsd*): Likewise.
55119         (sysv*): Likewise.
55120         (isc*): Likewise.
55121         (esix*): Likewise.
55122         (sco*): Likewise.
55123         (minix*): Likewise.
55124         (irix4*): Likewise.
55125         (irix6*): Likewise.
55126         (solaris[2-9]*): Likewise.
55127         (none): Likewise.
55128         * configure: Regenerated.
55130 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55132         [BZ #11521]
55133         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
55134         overflow or cancellation in calculating denominator.
55135         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
55136         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
55137         down expression to avoid unexpected rounding in newer GCCs.
55138         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
55140 2012-04-26  David S. Miller  <davem@davemloft.net>
55142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
55143         long-double compat symbols.
55144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
55145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
55146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
55147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
55148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
55149         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
55150         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
55151         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
55152         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
55153         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
55154         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
55155         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
55156         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
55158 2012-04-25  David S. Miller  <davem@davemloft.net>
55160         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
55161         HWCAP_* values only after the memory barriers have been defined.
55162         (atomic_full_barrier): Define.
55163         (atomic_read_barrier): Define.
55164         (atomic_write_barrier): Define.
55166 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
55168         * shlib-versions: Add libgcc_s version information.
55169         * sysdeps/generic/libgcc_s.h: Remove.
55170         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
55171         libgcc_s.h.
55172         * sysdeps/gnu/unwind-resume.c: Likewise.
55173         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
55175 2012-04-25  David S. Miller  <davem@davemloft.net>
55177         * sysdeps/unix/sparc/brk.S: Delete.
55178         * sysdeps/unix/sparc/dl-brk.S: Delete.
55179         * sysdeps/unix/sparc/pipe.S: Delete.
55180         * sysdeps/unix/sparc/sysdep.S: Delete.
55181         * sysdeps/unix/sparc/sysdep.h: Delete.
55182         * sysdeps/unix/sparc/vfork.S: Delete.
55183         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
55184         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
55185         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
55186         (ret_ERRVAL, r0, r1, MOVE): Define.
55187         (JUMPTARGET): Remove.
55188         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
55189         sysdeps/unix/sparc/sysdep.h
55190         (ENTRY, END): Remove.
55191         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
55193 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
55195         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
55196         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
55197         -DIS_IN_build.
55199         * timezone/README: Update upstream location and email address for
55200         tzcode and tzdata.
55201         * timezone/zdump.c: Update from tzcode 2012b.
55202         * timezone/zic.c: Likewise.
55204         * configure.in (libc_cv_as_needed): Remove test.
55205         * configure: Regenerated.
55206         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
55207         conditional definition.
55208         [$(have-as-needed) != yes] (no-as-needed): Likewise.
55209         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
55210         * config.make.in (have-as-needed): Remove variable.
55212 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
55213             Paul Pluzhnikov  <ppluzhnikov@google.com>
55215         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
55216         strings correctly.
55218 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
55220         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
55221         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
55222         * sysdeps/sh/strlen.S: Likewise.
55224 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
55226         * sysdeps/unix/fork.S: Remove file.
55227         * sysdeps/unix/i386/fork.S: Likewise.
55228         * sysdeps/unix/sparc/fork.S: Likewise.
55230         * sysdeps/unix/system.c: Remove file.
55231         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
55233         * sysdeps/unix/getegid.S: Remove file.
55234         * sysdeps/unix/geteuid.S: Likewise.
55236 2012-04-24  Roland McGrath  <roland@hack.frob.com>
55238         * scripts/check-localplt.awk: New file.
55239         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
55240         of diff.
55241         * scripts/data/localplt-generic.data: Add a comment.
55243         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
55244         NODE when __dir_mkfile failed.
55245         * sysdeps/mach/hurd/symlinkat.c: Likewise.
55246         Reported by Ludovic Courtès <ludo@gnu.org>.
55248 2012-04-24  Andreas Jaeger  <aj@suse.de>
55250         * Makerules (common-clean): Also remove gen-as-const-headers
55251         files.
55253 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
55255         * Makerules (native-compile): Do not change working directory for
55256         build.  Use $(OUTPUT_OPTION) in command.
55257         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
55259 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55261         [BZ #13886]
55262         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
55263         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
55264         * math/libm-test.inc (floor_test): Add more tests.
55265         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
55267 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
55269         * sysdeps/unix/getdents.c: Remove file.
55270         * sysdeps/unix/sysv/getdents.c: Likewise.
55271         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
55273         * sysdeps/unix/syscalls.list (madvise): Add syscall from
55274         sysdeps/unix/mman/syscalls.list.
55275         (mmap): Likewise.
55276         (mprotect): Likewise.
55277         (msync): Likewise.
55278         (munmap): Likewise.
55279         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
55280         * sysdeps/unix/mman/syscalls.list: Remove.
55281         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
55283         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
55284         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
55285         * configure: Regenerated.
55286         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
55287         $(libgcc_s_suffix).
55288         * config.make.in (libgcc_s_suffix): Remove variable.
55290 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
55292         * sysdeps/unix/sysv/gethostname.c: Move to ...
55293         * sysdeps/posix/gethostname.c: ... here.
55295         * sysdeps/unix/execve.S: Remove file.
55297         * sysdeps/unix/_exit.S: Remove file.
55299 2012-04-23  Andreas Jaeger  <aj@suse.de>
55301         [BZ #13739]
55302         * manual/Makefile: Remove make dist support, there's no
55303         need for a stand-alone documentation tar ball.
55304         (TEXI2DVI): Define always, it's not in Makeconfig.
55305         (dist): Removed.
55306         (tar-it): Removed.
55307         (edition): Removed.
55308         (glibc-doc-$(edition).tar): Removed
55309         (%.Z): Removed.
55310         (%.gz): Removed.
55311         (%.uu): Removed.
55312         (ETAGS): Remove, it's in Makeconfig.
55313         (move-if-change): Remove, it's in Makeconfig.
55315 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
55317         [BZ #13970]
55318         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
55319         (strtod, strtof, strtold, strtol, strtoul, strtoq)
55320         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
55321         (strtod_l, strtof_l, strtold_l): Remove __wur.
55322         It is not necessarily an error to ignore strtol's return value.
55323         One can reliably look at the stored endptr to decide whether
55324         the number had valid syntax.
55326 2012-04-21  Andreas Jaeger  <aj@suse.de>
55328         [BZ #13739]
55329         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
55331 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
55333         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
55334         * sysdeps/unix/sysv/Versions: Remove file.
55336 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
55338         [BZ #13927]
55339         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55341 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
55343         [BZ #7064]
55344         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
55345         version from __vm86.
55347 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
55349         * sysdeps/unix/common/lxstat.c: Remove file.
55350         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
55352         * sysdeps/unix/sysv/Makefile: Remove file.
55354         * sysdeps/unix/sysv/direct.h: Remove file.
55356         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
55357         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
55358         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
55359         * sysdeps/unix/sysv/bits/signum.h: Likewise.
55360         * sysdeps/unix/sysv/bits/stat.h: Likewise.
55361         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
55362         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
55364         * sysdeps/unix/sysv/setrlimit.c: Remove file.
55366         * sysdeps/unix/xmknod.c: Remove file.
55367         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
55369         * sysdeps/unix/sysv/settimeofday.c: Remove file.
55371         * sysdeps/unix/sysv/i386/time.S: Remove file.
55373         * sysdeps/unix/fxstat.c: Remove file.
55374         * sysdeps/unix/xstat.c: Likewise.
55375         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
55377         * sysdeps/unix/sysv/sigaction.c: Remove file.
55379         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
55380         (sysdep_headers): Remove variable.
55381         [termio.h not in sysdep_headers] (generated): Likewise.
55382         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
55383         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
55384         * sysdeps/unix/sysv/tcdrain.c: Likewise.
55385         * sysdeps/unix/sysv/tcflow.c: Likewise.
55386         * sysdeps/unix/sysv/tcflush.c: Likewise.
55387         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
55388         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
55389         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
55390         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
55391         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
55393         * sysdeps/unix/siglist.c: Remove file.
55395         * sysdeps/unix/getppid.S: Remove file.
55397         * sysdeps/unix/mkdir.c: Remove file.
55398         * sysdeps/unix/rmdir.c: Likewise.
55400 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
55402         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
55403         ERR_MAX value.
55404         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
55405         errlist-compat value.
55407 2012-04-18  David S. Miller  <davem@davemloft.net>
55409         * sysdeps/generic/memcopy.h (reg_char): Delete.
55410         * debug/strcat_chk.c: Use char, not reg_char.
55411         * debug/strcpy_chk.c: Likewise.
55412         * debug/strncat_chk.c: Likewise.
55413         * debug/strncpy_chk.c: Likewise.
55414         * string/memchr.c: Likewise.
55415         * string/memrchr.c: Likewise.
55416         * string/rawmemchr.c: Likewise.
55417         * string/strcat.c: Likewise.
55418         * string/strchr.c: Likewise.
55419         * string/strchrnul.c: Likewise.
55420         * string/strcmp.c: Likewise.
55421         * string/strcpy.c: Likewise.
55422         * string/strncat.c: Likewise.
55423         * string/strncmp.c: Likewise.
55424         * string/strncpy.c: Likewise.
55426 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
55428         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
55429         __builtin_memcopy is called when src and dest ranges are known to not
55430         overlap.
55432 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
55434         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
55435         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
55436         fwd_align_merge macro call.
55437         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
55438         bwd_align_merge macro call.
55439         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
55441 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
55443         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
55444         bwd_align_merge macros.
55445         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
55446         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
55447         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
55449 2012-04-18  David S. Miller  <davem@davemloft.net>
55451         * sysdeps/sparc/sparc64/memcopy.h: Delete.
55453 2012-04-18  Andreas Jaeger  <aj@suse.de>
55455         [BZ# 6794]
55456         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
55457         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
55458         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
55460         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
55461         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
55462         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
55464         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
55465         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
55466         Adjust for changed ldbl-128 files.
55468         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
55469         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
55470         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
55472 2012-04-17  David S. Miller  <davem@davemloft.net>
55474         * sysdeps/sparc/sparc32/memcopy.h: Delete.
55476 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
55478         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
55479         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
55480         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
55481         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
55482         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
55483         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
55485 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55487         [BZ #6794]
55488         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
55489         * math/libm-test.inc: Add ilogb errno and exception tests.
55490         * math/w_ilogb.c: New file: ilogb wrapper.
55491         * math/w_ilogbf.c: New file: ilogbf wrapper.
55492         * math/w_ilogbl.c: New file: ilogbl wrapper.
55493         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
55494         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
55495         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
55496         exception being thrown with 0.0 as argument.
55497         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
55498         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
55499         exception being thrown with 0.0 as argument.
55500         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
55501         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
55502         exception being thrown with 0.0 as argument.
55503         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
55504         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
55505         exception being thrown with 0.0 as argument.
55506         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
55507         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
55508         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
55509         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
55510         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
55511         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
55512         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
55513         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
55514         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
55516 2012-04-17  Petr Baudis  <pasky@ucw.cz>
55518         * include/sys/uio.h: Change __vector to __iovec to avoid clash
55519         with altivec.
55521 2012-04-16  Marek Polacek  <polacek@redhat.com>
55523         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
55525 2012-04-16  Marek Polacek  <polacek@redhat.com>
55527         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
55528         operands of fdivp instruction.
55530 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
55532         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
55533         * elf/tst-auditmod3b.c: Likewise.
55534         * elf/tst-auditmod4b.c: Likewise.
55535         * elf/tst-auditmod5b.c: Likewise.
55536         * elf/tst-auditmod6b.c: Likewise.
55537         * elf/tst-auditmod6c.c: Likewise.
55538         * elf/tst-auditmod7b.c: Likewise.
55539         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
55540         * sysdeps/x86_64/preconfigure.in: Likewise.
55541         * sysdeps/x86_64/preconfigure: Regenerated.
55543 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
55545         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
55546         __ILP32__.
55548 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
55550         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
55551         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
55553 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
55555         [BZ #13973]
55556         * locale/iso-639.def: Fix gl language name. Spotted by
55557         Yaron Shahrabani.
55559 2012-04-12  Roland McGrath  <roland@hack.frob.com>
55561         [BZ #2074]
55562         * libio/libio.h (__io_write_fn): Update comment.
55564 2012-04-12  Petr Baudis  <pasky@ucw.cz>
55566         [BZ #2074]
55567         * stdio.texi (Hook Functions): The user provided writer function
55568         is not allowed to return -1.
55570 2012-04-11  David S. Miller  <davem@davemloft.net>
55572         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55574 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
55576         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
55577         Add a leading slash to rtkaio.
55579 2012-04-11  Jim Meyering  <meyering@redhat.com>
55581         [BZ #11959]
55582         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
55583         It is not necessarily an error to ignore fwrite's return
55584         value.  One can reliably use ferror to test for errors after
55585         the fact.
55587 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
55589         * bits/types.h (__snseconds_t): New type.
55590         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
55592         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
55593         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
55594         (__SNSECONDS_T_TYPE): Likewise.
55595         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
55596         (__SNSECONDS_T_TYPE): Likewise.
55597         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
55598         (__SNSECONDS_T_TYPE): Likewise.
55600 2012-04-10  Andreas Jaeger  <aj@suse.de>
55602         [BZ #2636]
55603         * manual/time.texi (Processor Time): Return type of times is
55604         elapsed real time since an arbitrary point in the past.
55605         (CPU Time): Move CLK_TCK from here...
55606         (Processor Time): ...to here.  Correct description.
55607         * manual/conf.texi (Constants for Sysconf): Correct description of
55608         _SC_CLK_TCK.
55610 2012-04-10  David S. Miller  <davem@davemloft.net>
55612         [BZ #13967]
55613         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
55614         where the is a gap between DT_REL(A) and DT_JMPREL.
55616 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
55618         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
55619         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
55620         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
55622 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
55624         * elf/dl-support.c (_dl_inhibit_cache): New variable.
55625         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
55626         (dl_main): Handle --inhibit-cache.
55627         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
55628         _dl_inhibit_cache.
55629         * elf/dl-load.c (_dl_map_object): Use it.
55630         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
55632 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
55634         [BZ #13872]
55635         * sysdeps/i386/fpu/e_powl.S (p78): New object.
55636         (__ieee754_powl): Saturate large exponents rather than testing for
55637         overflow of y*log2(x).
55638         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
55639         * math/libm-test.inc (pow_test): Do not permit spurious overflow
55640         exceptions.
55642         [BZ #11521]
55643         * math/s_ctan.c: Include <float.h>.
55644         (__ctan): Avoid internal overflow or cancellation in calculating
55645         denominator.
55646         * math/s_ctanf.c: Likewise.
55647         * math/s_ctanl.c: Likewise.
55648         * math/s_ctanh.c: Likewise.
55649         * math/s_ctanhf.c: Likewise.
55650         * math/s_ctanhl.c: Likewise.
55651         * math/libm-test.inc (ctan_test): Add more tests.
55652         (ctanh_test): Likewise.
55653         * sysdeps/i386/fpu/libm-test-ulps: Update.
55654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55656 2012-04-09  Andreas Jaeger  <aj@suse.de>
55658         [BZ #6894]
55659         * manual/filesys.texi (Directory Entries): Mention that d_namlen
55660         is an optional BSD extension.
55662         [BZ #10254]
55663         * manual/stdio.texi (Opening Streams): Document additional fopen
55664         parameters.
55666 2012-04-09  Roland McGrath  <roland@hack.frob.com>
55668         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
55669         %eax without telling the compiler.
55671 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
55673         [BZ # 13963]
55674         * manual/install.texi: Use sourceware.org.
55676 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
55678         [BZ #13873]
55679         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
55680         (__ieee754_pow): Generate overflow and underflow using huge*huge
55681         and tiny*tiny rather than just returning constant infinity or zero
55682         for large exponents.
55683         * math/libm-test.inc (pow_test): Require overflow exceptions for
55684         applicable cases of large exponents.
55686         [BZ #706]
55687         * sysdeps/i386/fpu/e_pow.S (p10): New object.
55688         (__ieee754_pow): Use iterative multiplication algorithm only for
55689         integer exponents with absolute value below 1024.  Check for odd
55690         integer exponents when using algorithm for real exponents.
55691         * math/libm-test.inc (pow_test): Add more tests.
55692         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55694 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
55696         [BZ #13705]
55697         * math/libm-test.inc (exp_test): Do not allow overflow exception
55698         on underflow test.
55700 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
55702         [BZ #13705]
55703         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
55704         instead of __kernel_standard_f.
55706 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
55708         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
55709         * sysdeps/x86_64/memset_chk.S: Likewise.
55711 2012-04-08  Andreas Jaeger  <aj@suse.de>
55713         [BZ #10153]
55714         * manual/startup.texi (Environment Access): Describe return value
55715         for putenv and setenv.
55717         [BZ #6895]
55718         * manual/filesys.texi (Directory Entries): Add description for
55719         DT_LNK.
55721         [BZ #6890]
55722         * manual/filesys.texi (Directory Entries): Clarify that it's file
55723         system not operating system in the description of DT_UNKNOWN.
55725         [BZ #6578]
55726         * manual/syslog.texi (closelog): Fix reference, it's openlog.
55728 2012-04-08  Stephen Compall  <s11@member.fsf.org>
55730         [BZ #6649]
55731         * manual/llio.texi (Opening and Closing Files): Add cross
55732         reference to explain mode argument.
55734 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
55736         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
55737         * sysdeps/x86_64/memset_chk.S: Likewise.
55739 2012-04-07  David S. Miller  <davem@davemloft.net>
55741         * elf/elf.h (R_SPARC_WDISP10): Define.
55742         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
55743         R_SPARC_SIZE32.
55744         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
55745         R_SPARC_SIZE64 and R_SPARC_H34.
55747 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
55749         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
55750         conditions and remove no longer applicable assertion.
55752 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
55754         * bits/byteswap.h: Include <features.h>.
55755         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
55756         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
55758 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
55760         * bits/byteswap.h (__bswap_16): Removed.
55761         Include <bits/byteswap-16.h> to get __bswap_16.
55762         * sysdeps/i386/bits/byteswap.h: Likewise.
55763         * sysdeps/s390/bits/byteswap.h: Likewise.
55764         * sysdeps/x86_64/bits/byteswap.h: Likewise.
55765         * bits/byteswap-16.h: New file.
55766         * sysdeps/i386/bits/byteswap-16.h: Likewise.
55767         * sysdeps/s390/bits/byteswap-16.h: Likewise.
55768         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
55769         * string/Makefile (headers): Add bits/byteswap-16.h.
55771 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
55773         [BZ #13895]
55774         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
55775         extra indirection.
55776         * nss/Makefile (tests-static, tests): Add tst-nss-static.
55777         * nss/tst-nss-static.c: New.
55779 2012-04-06  Robert Millan  <rmh@gnu.org>
55781         [BZ #6486]
55782         * manual/llio.texi (File Position Primitive): lseek
55783         refers to WHENCE when it really means OFFSET.
55785 2012-04-06  Andreas Jaeger  <aj@suse.de>
55787         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
55788         strncmp declarations.
55790         * abilist/libc.abilist: Add __poll and __ppoll.
55792 2012-04-05  David S. Miller  <davem@davemloft.net>
55794         * scripts/check-local-headers.sh: Accept a host triplet in the
55795         path matched by the exclude regexp.
55797         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
55798         definition.
55799         * sysdeps/powerpc/powerpc32/dl-machine.h
55800         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
55801         * sysdeps/s390/s390-32/dl-machine.h
55802         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
55803         * sysdeps/sparc/sparc32/dl-machine.h
55804         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
55805         * sysdeps/sparc/sparc64/dl-machine.h
55806         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
55808         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
55809         lazy binding.
55810         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
55811         undefined symbol errors.
55813         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
55814         DT_NEEDED entries.
55816 2012-04-05  Michael Matz  <matz@suse.de>
55818         [BZ #13592]
55819         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
55821 2012-04-05  Andreas Jaeger  <aj@suse.de>
55823         [BZ #13908]
55824         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
55825         comment.
55827 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
55829         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
55830         which ROUND is no valid rounding mode.
55832 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
55834         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
55835         read again.
55836         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
55838 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
55840         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
55841         an exception using FPU order intentionally.
55843 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
55845         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
55846         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
55847         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
55848         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
55850 2012-04-05  Simon Josefsson  <simon@josefsson.org>
55852         [BZ #12340]
55853         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
55854         EINVAL when BUFLEN is too smal.
55856 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
55858         [BZ #13553]
55859         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
55860         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
55862 2012-04-03  Andreas Jaeger  <aj@suse.de>
55864         [BZ #13938]
55865         * manual/setjmp.texi (System V contexts): Fix sentence.
55867         [BZ #13926]
55868         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
55869         New macro for this case.
55870         [!__GNUC__] (__bswap_64): New inline function for this case.
55871         * sysdeps/x86_64/bits/byteswap.h: Likewise.
55872         * bits/byteswap.h: Likewise.
55873         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
55874         ull, guard with __GLIBC_HAVE_LONG_LONG.
55876         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
55877         __GLIBC_HAVE_LONG_LONG.
55879         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
55880         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
55882 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
55884         [BZ #13691]
55885         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
55886         inptr and inend, rather than using last_ch.
55888 2012-04-02  David S. Miller  <davem@davemloft.net>
55890         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
55891         * stdio-common/printf-parse.h (read_int): Change return type to
55892         'int', return -1 on INT_MAX overflow.
55893         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
55894         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
55895         overflows INT_MAX.  Check for overflow of in-format-string precision
55896         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
55897         SIZE_MAX not INT_MAX for integer overflow test.
55898         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
55899         skip the construct in the format string but do not record anything.
55900         * stdio-common/bug22.c: Adjust to test both width/prevision
55901         INT_MAX overflow as well as total length INT_MAX overflow.  Check
55902         explicitly for proper errno values.
55904 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
55906         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
55907         CHAR_MAX.
55908         * string/test-strcmp.c [! WIDE]: Likewise.
55909         * time/tst-mktime2.c: Likewise for INT_MAX.
55910         * string/test-string.h: #include <sys/param.h> for MIN.
55912         * csu/init-first.c (__libc_init_first): Call __ctype_init.
55913         * sysdeps/i386/init-first.c (init): Likewise.
55914         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
55915         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
55916         * sysdeps/sh/init-first.c (init): Likewise.
55918 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
55920         * po/ru.po: Update from translation team.
55921         * po/vi.po: Likewise.
55923 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
55925         * resolv/nss_dns/dns-host.c: Merge copyright years.
55927 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55929         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
55930         Optimize memcpy with prefetch if
55931         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
55932         src, dst pointers have unequal 16 byte alignments.
55934 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
55936         [BZ #13928]
55937         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
55938         from a CNAME entry and return the minimum ttl for the query.
55939         (gaih_getanswer_slice): Likewise.
55941 2012-03-30  Jeff Law  <law@redhat.com>
55943         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
55944         due to long keys.
55945         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
55946         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
55948         * resolv/nss_dns/dns-host.c: Update copyright year.
55950 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
55952         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
55953         requests to save a system call.  Fix check that all bytes are sent.
55955         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
55956         comments for sendmmsg.
55958 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55960         [BZ #13691]
55961         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
55962         with only 1 character between 0x0041 and 0x01b0.
55963         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
55964         * wcsmbs/tst-mbsnrtowcs.c: New file.
55966 2012-03-29  David S. Miller  <davem@davemloft.net>
55968         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
55969         small copies by hand.
55971 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55973         [BZ #13761]
55974         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
55975         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
55976         group memberships.
55978 2012-03-28  David S. Miller  <davem@davemloft.net>
55980         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
55981         that branches into memcpy.
55982         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
55983         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
55984         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
55985         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
55986         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
55987         bits.
55988         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
55989         implementation too.
55990         * sysdeps/sparc/mempcpy.S: New file.
55992         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
55993         the IFUNC routine in the libc case.
55994         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
55996         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
55997         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
55998         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
55999         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
56000         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
56001         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
56002         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
56003         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
56005         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
56006         loop to 256 bytes instead of 64 bytes and fix test signedness.
56008         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
56009         * sysdeps/sparc/sparc32/Makefile: rather than here...
56010         * sysdeps/sparc/sparc64/Makefile: and here.
56012 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
56014         * malloc/mallocbug.c: Avoid warnings about unused variables.
56016 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
56018         [BZ #13760]
56019         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
56020         in the right place. Discard and retry query if response is
56021         larger than input buffer size.
56023 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
56025         [BZ #369]
56026         [BZ #2678]
56027         [BZ #3866]
56028         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
56029         x for large integer exponent.
56030         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
56031         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
56032         sign of result as needed afterwards.
56033         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
56034         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
56035         result for underflowing pow the same as for overflow.
56036         (__kernel_standard_l): Handle powl overflow and underflow here
56037         rather than calling __kernel_standard.
56038         * math/libm-test.inc (pow_test): Add more tests.
56040         [BZ #3868]
56041         [BZ #13879]
56042         [BZ #13910]
56043         [BZ #13911]
56044         [BZ #13912]
56045         [BZ #13913]
56046         [BZ #13915]
56047         [BZ #13916]
56048         [BZ #13917]
56049         [BZ #13918]
56050         [BZ #13919]
56051         [BZ #13920]
56052         [BZ #13921]
56053         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
56054         * sysdeps/ieee754/k_standard.c: Include <float.h>.
56055         (__kernel_standard_l): New function.
56056         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
56057         __kernel_standard.
56058         * math/w_acosl.c (__acosl): Likewise.
56059         * math/w_asinl.c (__asinl): Likewise.
56060         * math/w_atan2l.c (__atan2l): Likewise.
56061         * math/w_atanhl.c (__atanhl): Likewise.
56062         * math/w_coshl.c (__coshl): Likewise.
56063         * math/w_exp10l.c (__exp10l): Likewise.
56064         * math/w_exp2l.c (__exp2l): Likewise.
56065         * math/w_fmodl.c (__fmodl): Likewise.
56066         * math/w_hypotl.c (__hypotl): Likewise.
56067         * math/w_j0l.c (__j0l, __y0l): Likewise.
56068         * math/w_j1l.c (__j1l, __y1l): Likewise.
56069         * math/w_jnl.c (__jnl, __ynl): Likewise.
56070         * math/w_lgammal.c (__lgammal): Likewise.
56071         * math/w_log10l.c (__log10l): Likewise.
56072         * math/w_log2l.c (__log2l): Likewise.
56073         * math/w_logl.c (__logl): Likewise.
56074         * math/w_powl.c (__powl): Likewise.
56075         * math/w_remainderl.c (__remainderl): Likewise.
56076         * math/w_scalbl.c (sysv_scalbl): Likewise.
56077         * math/w_sinhl.c (__sinhl): Likewise.
56078         * math/w_sqrtl.c (__sqrtl): Likewise.
56079         * math/w_tgammal.c (__tgammal): Likewise.
56080         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
56081         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
56082         * math/libm-test.inc (acos_test): Add more tests.
56083         (acosh_test): Likewise.
56084         (asin_test): Likewise.
56085         (atanh_test): Likewise.
56086         (exp_test): Likewise.
56087         (exp10_test): Likewise.
56088         (exp2_test): Likewise.
56089         (expm1_test): Likewise.
56090         (lgamma_test): Likewise.
56091         (log_test): Likewise.
56092         (log10_test): Likewise.
56093         (log1p_test): Likewise.
56094         (log2_test): Likewise.
56095         (pow_test): Do not allow some spurious overflow exceptions.
56096         (sqrt_test): Add more tests.
56097         (tgamma_test): Likewise.
56098         (y0_test): Likewise.
56099         (y1_test): Likewise.
56100         (yn_test): Likewise.
56102 2012-03-27  Anton Blanchard  <anton@samba.org>
56104         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
56105         MAP_HUGETLB.
56106         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
56107         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
56108         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
56110 2012-03-27  David S. Miller  <davem@davemloft.net>
56112         * conform/Makefile: Run run-conformtest.sh using $(BASH).
56114         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
56115         have-as-vis3 check.
56117 2012-03-27  Andreas Jaeger  <aj@suse.de>
56119         * sysdeps/x86_64/elf/configure.in: Moved to ...
56120         * sysdeps/x86_64/configure.in: ... here.
56121         * sysdeps/x86_64/elf/start.S: Moved to ...
56122         * sysdeps/x86_64/start.S: ... here.
56123         * sysdeps/x86_64/elf/configure: Delete.
56125         * sysdeps/x86_64/configure.in: Merge contents from
56126         sysdeps/i386/configure.in (without i686 check).
56128         * sysdeps/i386/elf/Versions: Merge into ...
56129         * sysdeps/i386/Versions: ... this.
56130         * sysdeps/i386/elf/Versions: Delete file.
56131         * sysdeps/i386/elf/start.S: Moved to ...
56132         * sysdeps/i386/start.S: ...here.
56133         * sysdeps/i386/elf/configure.in: Merge into...
56134         * sysdeps/i386/configure.in: ...here.
56135         * sysdeps/i386/elf/configure.in: Delete file.
56136         * sysdeps/i386/elf/configure: Delete file.
56138         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
56139         * debug/backtracesyms.c: ... here.
56140         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
56141         * debug/backtracesymsfd.c: ... here.
56142         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
56143         * sysdeps/generic/ifunc-sel.h: ... here.
56145         * sysdeps/unix/i386/start.c: Delete file.
56146         * sysdeps/unix/sparc/start.c: Delete file.
56147         * sysdeps/unix/start.c: Delete file.
56149         * sysdeps/sh/elf/configure.in: Moved to ...
56150         * sysdeps/sh/configure.in: ... here.
56151         * sysdeps/sh/elf/start.S: Moved to ...
56152         * sysdeps/sh/start.S: ... here.
56153         * sysdeps/sh/elf/configure: Delete file.
56155         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
56156         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
56157         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
56158         * sysdeps/powerpc/powerpc64/entry.h: ... here.
56159         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
56160         * sysdeps/powerpc/powerpc64/start.S: here.
56161         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
56162         * sysdeps/powerpc/powerpc64/Makefile: ... this.
56163         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
56164         * sysdeps/powerpc/powerpc64/configure.in: ... this.
56165         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
56167         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
56168         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
56169         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
56170         * sysdeps/powerpc/powerpc32/start.S: ... here.
56171         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
56172         * sysdeps/powerpc/powerpc32/configure.in: ... this.
56173         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
56175         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
56176         * sysdeps/powerpc/ifunc-sel.h: ... here.
56177         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
56178         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
56180         * sysdeps/sparc/elf/configure.in: Moved to ...
56181         * sysdeps/sparc/configure.in: ... here.
56182         * sysdeps/sparc/elf/configure: Delete file.
56183         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
56184         * sysdeps/sparc/sparc32/start.S: ... here.
56185         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
56186         * sysdeps/sparc/sparc64/start.S: ... here.
56187         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
56188         * sysdeps/sparc/sparc32/Makefile: ... this.
56189         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
56190         * sysdeps/sparc/sparc64/Makefile: ... this.
56192         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
56193         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
56194         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
56195         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
56196         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
56197         * sysdeps/s390/s390-32/setjmp.S: ... here.
56198         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
56199         * sysdeps/s390/s390-32/configure.in: ... here.
56200         * sysdeps/s390/s390-32/elf/configure: Delete file.
56201         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
56202         * sysdeps/s390/s390-32/start.S: ... here.
56204         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
56205         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
56206         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
56207         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
56208         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
56209         * sysdeps/s390/s390-64/setjmp.S: ... here.
56210         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
56211         * sysdeps/s390/s390-64/configure.in: ... here
56212         * sysdeps/s390/s390-64/elf/configure: Delete file.
56213         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
56214         * sysdeps/s390/s390-64/start.S: ... here.
56215         * sysdeps/s390/s390-64/elf/configure: Delete.
56217         * configure.in: Remove support for elf directories in sysdeps.
56219         * configure: Regenerated.
56220         * sysdeps/i386/configure: Regenerated.
56221         * sysdeps/powerpc/powerpc32/configure: Regenerated.
56222         * sysdeps/powerpc/powerpc64/configure: Regenerated.
56223         * sysdeps/s390/s390-32/configure: Regenerated.
56224         * sysdeps/s390/s390-64/configure: Regenerated.
56225         * sysdeps/sh/configure: Regenerated.
56226         * sysdeps/sparc/configure: Regenerated.
56227         * sysdeps/x86_64/configure: Regenerated.
56229 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
56231         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56233         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
56234         denormal result into account.
56236 2012-03-25  Roland McGrath  <roland@hack.frob.com>
56238         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
56239         Reported by Allan McRae <allan@archlinux.org>.
56241 2012-03-23  Jeff Law  <law@redhat.com>
56243         * nss/getnssent.c (__nss_getent): Fix typo.
56245 2012-03-23  David S. Miller  <davem@davemloft.net>
56247         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56249 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
56251         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
56252         to pad to uint64_t for each field.
56253         (dl_tls_index): Replace unsigned long with uint64_t.
56255 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
56256         Paul Pluzhnikov  <ppluzhnikov@google.com>
56258         [BZ #6528]
56259         * grp/Makefile (otherlibs): Don't set it.
56260         * inet/Makefile (otherlibs): Likewise.
56261         * login/Makefile (otherlibs): Likewise.
56262         * nscd/Makefile (otherlibs): Likewise.
56263         * posix/Makefile (otherlibs): Likewise.
56264         * pwd/Makefile (otherlibs): Likewise.
56265         * rt/Makefile (otherlibs): Likewise.
56266         * sunrpc/Makefile (otherlibs): Likewise.
56267         * nss/Makefile (otherlibs): Likewise.
56268         Add libnss_files to routines and static-only-routines.
56269         ($(objpfx)getent): Remove rule.
56270         * resolv/Makefile: Add libnss_dns and libresolv to routines and
56271         static-only-routines.
56273 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
56275         [BZ #13892]
56276         * math/s_cexp.c: Include <float.h>.
56277         (__cexp): Handle exp result overflowing not necessarily
56278         overflowing both real and imaginary parts of result.
56279         * math/s_cexpf.c: Likewise.
56280         * math/s_cexpl.c: Likewise.
56281         * math/libm-test.inc (cexp_test): Add more tests.
56282         * sysdeps/i386/fpu/libm-test-ulps: Update.
56283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56285 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
56287         * include/link.h (ELFW): New macro.
56288         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
56289         Replace ELF64_R_TYPE with ELFW(R_TYPE).
56291 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
56293         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
56294         with uint64_t.
56296 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
56298         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
56299         declaration.
56300         (struct La_x32_retval): Likewise.
56302 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
56304         * sysdeps/x86_64/preconfigure.in: New file.
56305         * sysdeps/x86_64/preconfigure: New generated file.
56307 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
56309         [BZ #13824]
56310         * math/e_exp2l.c: Include <float.h>.
56311         (__ieee754_exp2l): Handle overflow and underflow cases
56312         separately.  Only pass fractional part of argument to
56313         __ieee754_expl.
56314         * math/libm-test.inc (exp2_test): Add more tests.
56316         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
56317         negating x to take absolute value.
56318         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
56319         Likewise.
56320         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
56321         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
56322         Likewise.
56323         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
56324         computing low part if x was negated.
56325         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
56327 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
56329         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
56330         la_x32_gnu_pltexit.
56331         (pltexit): Cast int_retval to ptrdiff_t.
56332         * elf/tst-auditmod3b.c: Likewise.
56333         * elf/tst-auditmod4b.c: Likewise.
56334         * elf/tst-auditmod5b.c: Likewise.
56335         * elf/tst-auditmod6b.c: Likewise.
56336         * elf/tst-auditmod6c.c: Likewise.
56337         * elf/tst-auditmod7b.c: Likewise.
56339         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
56340         and x32_gnu_pltexit.
56342         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
56343         __ELF_NATIVE_CLASS.
56344         (La_x32_regs): New macro.
56345         (La_x32_retval): Likewise.
56346         (la_x32_gnu_pltenter): New function prototype.
56347         (la_x32_gnu_pltexit): Likewise.
56349 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
56351         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
56352         exponent.
56354         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56356         * configure.in (libc_cv_cc_nofma): Check for option to disable
56357         generation of FMA instructions.
56358         * configure: Regenerate.
56359         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
56360         * sysdeps/ieee754/dbl-64/Makefile: New file.
56361         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
56362         Remove brandred-fma4.
56363         (CFLAGS-brandred-fma4.c): Remove.
56364         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
56365         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
56366         define.
56367         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
56368         define.
56370 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
56372         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
56373         LLONG_MAX != LONG_MAX.
56374         (_itoa_word): Use _ITOA_WORD_TYPE on value.
56375         (_fitoa_word): Likewise.
56376         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
56377         LLONG_MAX != LONG_MAX.
56378         * stdio-common/_itowa.h: Include <_itoa.h>.
56379         (_itowa_word): Use _ITOA_WORD_TYPE on value.
56380         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
56381         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
56382         only if not defined.
56383         (_ITOA_WORD_TYPE): Likewise.
56384         (_itoa_word): Use _ITOA_WORD_TYPE on value.
56385         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
56387 2012-03-21  David S. Miller  <davem@davemloft.net>
56389         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56391 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
56393         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
56394         of x86_64 when setting libc_cv_slibdir, libdir and
56395         libc_cv_localedir.
56396         * sysdeps/unix/sysv/linux/configure: Regenerated.
56398 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
56400         * manual/lang.texi (Old Varargs): Remove section.
56401         (How Variadic): Update menu.
56402         (va_start): Do not mention varargs.h.
56404 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
56405             Joseph Myers  <joseph@codesourcery.com>
56407         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
56408         link test.
56409         * configure: Regenerated.
56411 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
56413         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
56414         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
56415         conformtest.pl
56417 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
56419         * NOTES: Remove.
56420         * Makefile (files-for-dist): Remove NOTES.
56421         (NOTES): Remove rule.
56422         * README: Don't refer to NOTES.
56423         * manual/creature.texi: Don't include macros.texi.
56424         * manual/intro.texi (creature.texi): Remove comment referring to
56425         NOTES.
56427         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
56428         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
56429         * configure: Regenerated.
56430         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
56431         LIBC_TRY_CC_OPTION.
56432         (libc_cv_as_i686): Likewise.
56433         (libc_cv_cc_avx): Likewise.
56434         (libc_cv_cc_sse2avx): Likewise.
56435         (libc_cv_cc_fma4): Likewise.
56436         (libc_cv_cc_novzeroupper): Likewise.
56437         * sysdeps/i386/configure: Regenerated.
56439         [BZ #13883]
56440         * sysdeps/i386/fpu/s_cexp.S: Remove.
56441         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
56442         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
56443         * math/libm-test.inc (cexp_test): Add more tests.
56444         * sysdeps/i386/fpu/libm-test-ulps: Update.
56445         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56447 2012-03-21  Allan McRae  <allan@archlinux.org>
56449         * timezone/Makefile: Do not install iso3166.tab and zone.tab
56451 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
56453         [BZ #13871]
56454         * math/w_exp2.c: Do not include <float.h>.
56455         (o_threshold, u_threshold): Remove.
56456         (__exp2): Calculate result before checking finiteness and calling
56457         __kernel_standard.
56458         * math/w_exp2f.c: Likewise.
56459         * math/w_exp2l.c: Likewise.
56460         * math/libm-test.inc (exp2_test): Require overflow exception for
56461         1e6 input.
56463         [BZ #3866]
56464         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
56465         range of signed 64-bit integers before using fistpll.  Remove
56466         checks for whether integers fit in mantissa bits.
56467         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
56468         the range of signed 32-bit integers before using fistpl.  Remove
56469         checks for whether integers fit in mantissa bits.
56470         * sysdeps/i386/fpu/e_powl.S (p64): New object.
56471         (__ieee754_powl): Test for y outside the range of signed 64-bit
56472         integers before using fistpll.  Reduce 64-bit values to 63-bit
56473         ones as needed.
56474         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
56475         divide-by-zero is raised for zero to large negative powers.
56476         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
56477         (__ieee754_powl): Test for y outside the range of signed 64-bit
56478         integers before using fistpll.  Reduce 64-bit values to 63-bit
56479         ones as needed.
56480         * math/libm-test.inc (pow_test): Add more tests.
56482 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
56484         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
56485         <stdio-common/_itoa.h>.
56486         * debug/segfault.c: Likewise.
56487         * elf/dl-cache.c: Likewise.
56488         * elf/dl-minimal.c: Likewise.
56489         * elf/dl-misc.c: Likewise.
56490         * elf/dl-sysdep.c: Likewise.
56491         * elf/dl-version.c: Likewise.
56492         * elf/rtld.c: Likewise.
56493         * hurd/hurdsock.c: Likewise.
56494         * hurd/lookup-retry.c: Likewise.
56495         * malloc/malloc.c: Likewise.
56496         * malloc/mtrace.c: Likewise.
56497         * nscd/nscd_getgr_r.c: Likewise.
56498         * nscd/nscd_getpw_r.c: Likewise.
56499         * nscd/nscd_getserv_r.c: Likewise.
56500         * posix/getopt_init.c: Likewise.
56501         * posix/wordexp.c: Likewise.
56502         * stdio-common/_itoa.c: Likewise.
56503         * stdio-common/printf_fphex.c: Likewise.
56504         * stdio-common/vfprintf.c: Likewise.
56505         * string/_strerror.c: Likewise.
56506         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
56507         * sysdeps/i386/i686/hp-timing.h: Likewise.
56508         * sysdeps/mach/_strerror.c: Likewise.
56509         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
56510         * sysdeps/mach/hurd/sethostid.c: Likewise.
56511         * sysdeps/mach/hurd/xmknodat.c: Likewise.
56512         * sysdeps/mach/xpg-strerror.c: Likewise.
56513         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
56514         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
56515         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
56516         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
56517         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
56518         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
56519         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
56520         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
56521         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
56522         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
56523         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
56524         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
56525         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
56526         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
56527         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
56528         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
56529         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
56530         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
56531         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
56532         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
56533         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
56535         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
56537         * stdio-common/_itoa.h: Moved to ...
56538         * sysdeps/generic/_itoa.h: Here.
56540         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
56542         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
56543         instead of "_itoa.h" and "_itowa.h".
56544         * stdio-common/vfprintf.: Likewise.
56546 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
56548         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
56549         <bits/wordsize.h>.
56550         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
56551         (__signbit): Likwise.
56552         (llrintf): Likwise.
56553         (llrint): Likwise.
56555 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
56557         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
56558         __WORDSIZE != 64.
56560 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
56562         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
56563         OVERFLOW_EXCEPTION_OK.
56564         * math/libm-test.inc ("Philosophy"): Update comment about
56565         exception testing.
56566         (OVERFLOW_EXCEPTION): Define.
56567         (OVERFLOW_EXCEPTION_OK): Likewise.
56568         (INVALID_EXCEPTION_OK): Renumber.
56569         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
56570         (IGNORE_ZERO_INF_SIGN): Likewise.
56571         (test_exceptions): Handle FE_OVERFLOW.
56572         (exp10_test): Expect overflow exceptions.
56573         (exp2_test): Likewise.
56574         (expm1_test): Likewise.
56575         (nextafter_test): Likewise.
56576         (pow_test): Likewise.
56577         (scalbn_test): Likewise.
56578         (scalbln_test): Likewise.
56580 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
56582         * sysdeps/x86_64/bits/atomic.h
56583         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
56584         64bit integer.
56585         (atomic_exchange_acq): Likewise.
56586         (__arch_exchange_and_add_body): Likewise.
56587         (__arch_add_body): Likewise.
56588         (atomic_add_negative): Likewise.
56589         (atomic_add_zero): Likewise.
56591 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
56593         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
56594         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
56596 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
56598         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
56599         Check __x86_64__ instead of __WORDSIZE.
56601 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
56603         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
56605 2012-03-19  David S. Miller  <davem@davemloft.net>
56607         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56609         * sysdeps/sparc/fpu/fenv_private.h: New file.
56610         * sysdeps/sparc/fpu/math_private.h: Use it.
56611         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
56612         Remove.
56613         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
56614         (libc_feholdexcept_setroundl): Remove.
56615         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
56616         Remove.
56617         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
56618         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
56620 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
56622         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
56623         int64_t instead of long int.
56624         (INSERT_WORDS64): Likwise.
56626 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
56628         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
56629         _Unwind_GetCFA return to _Unwind_Ptr first.
56631 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
56633         [BZ #13629]
56634         * math/s_clog.c: Include <float.h>.
56635         (__clog): Scale large or subnormal inputs.
56636         * math/s_clogf.c: Likewise.
56637         * math/s_clogl.c: Likewise.
56638         * math/s_clog10.c: Include <float.h>.
56639         (M_LOG10_2): Define.
56640         (__clog10): Scale large or subnormal inputs.
56641         * math/s_clog10f.c: Likewise.
56642         * math/s_clog10l.c: Likewise.
56643         * math/libm-test.inc (clog_test): Add more tests.
56644         (clog10_test): Likewise.
56645         * sysdeps/i386/fpu/libm-test-ulps: Update.
56646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56648         [BZ #11451]
56649         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
56650         x and y.
56651         * math/libm-test.inc (atan2_test): Add another test.
56653         * Makerules (common-objdir-compile): Remove.
56654         * sysdeps/unix/Makefile (config-generated): Do not add
56655         $(unix-generated) to variable.
56656         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
56657         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
56658         Remove rule.
56659         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
56660         Likewise.
56661         [generic bits/local_lim.h] (before-compile): Do not append to
56662         variable.
56663         [generic bits/local_lim.h] (common-generated): Likewise.
56664         [generic sys/param.h] (before-compile): Do not append to variable.
56665         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
56666         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
56667         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
56668         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
56669         include.
56670         [generic sys/param.h] (sys/param.h-includes): Remove variable.
56671         [generic sys/param.h] (sys/param.h-includes): Remove rule.
56672         [generic sys/param.h] ($(addprefix
56673         $(common-objpfx),$(sys/param.h-includes))): Likewise.
56674         [generic sys/param.h] (common-generated): Do not append to
56675         variable.
56676         [generic sys/param.h] (sysdep_headers): Likewise.
56677         [generic bits/errno.h] (before-compile): Do not append to
56678         variable.
56679         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
56680         rule.
56681         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
56682         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
56683         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
56684         [generic bits/errno.h] (common-generated): Do not append to
56685         variable.
56686         [generic bits/ioctls.h] (before-compile): Do not append to
56687         variable.
56688         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
56689         rule.
56690         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
56691         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
56692         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
56693         rule.
56694         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
56695         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
56696         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
56697         [generic bits/ioctls.h] (common-generated): Do not append to
56698         variable.
56699         [generic sys/syscall.h] (syscall.h): Remove variable.
56700         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
56701         rule.
56702         [generic sys/syscall.h] (before-compile): Do not append to
56703         variable.
56704         [generic sys/syscall.h] (common-generated): Likewise.
56705         * sysdeps/unix/errnos-tmpl.c: Remove file.
56706         * sysdeps/unix/errnos.awk: Likewise.
56707         * sysdeps/unix/ioctls-tmpl.c: Likewise.
56708         * sysdeps/unix/ioctls.awk: Likewise.
56709         * sysdeps/unix/mk-local_lim.c: Likewise.
56710         * sysdeps/unix/snarf-ioctls: Likewise.
56712 2012-03-19  Richard Henderson  <rth@twiddle.net>
56714         * sysdeps/i386/fpu/fenv_private.h: New file.
56715         * sysdeps/i386/fpu/math_private.h: Use it.
56716         (math_opt_barrier, math_force_eval): Remove.
56717         (libc_feholdexcept_setround_53bit): Remove.
56718         (libc_feupdateenv_53bit): Remove.
56719         * sysdeps/x86_64/fpu/math_private.h: Likewise.
56720         (math_opt_barrier, math_force_eval): Remove.
56721         (libc_feholdexcept): Remove.
56722         (libc_feholdexcept_setround): Remove.
56723         (libc_fetestexcept, libc_fesetenv): Remove.
56724         (libc_feupdateenv_test): Remove.
56725         (libc_feupdateenv, libc_feholdsetround): Remove.
56726         (libc_feresetround): Remove.
56728         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
56729         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
56731         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
56732         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
56733         (libc_feupdateenv_testl): New.
56734         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
56735         (libc_feupdateenv_testf): New.
56736         (libc_feupdateenv): Use libc_feupdateenv_test.
56737         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
56738         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
56740         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
56741         (libc_feholdsetroundf, libc_feholdsetroundl): New.
56742         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
56743         (libc_feresetround_noex): New.
56744         (libc_feresetround_noexf): New.
56745         (libc_feresetround_noexl): New.
56746         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
56747         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
56748         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
56749         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
56750         SET_RESTORE_ROUND.
56751         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
56752         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
56753         (__cos): Likewise.
56754         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
56755         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
56756         SET_RESTORE_ROUND_NOEX.
56757         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
56758         SET_RESTORE_ROUND_NOEXF.
56759         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
56760         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
56761         (libc_feholdsetroundf): New.
56762         (libc_feresetround, libc_feresetroundf): New.
56764         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
56765         (libc_feholdexcept_setround_53bit): Convert from macro to function.
56766         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
56768         * sysdeps/generic/math_private.h: Include <fenv.h>.
56769         (default_libc_feholdexcept): New.
56770         (default_libc_feholdexcept_setround): New.
56771         (default_libc_fesetenv, default_libc_feupdateenv): New.
56772         (libc_feholdexcept): Only define if undefined.
56773         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
56774         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
56775         (libc_feholdexcept_setroundl): Likewise.
56776         (libc_feholdexcept_setround_53bit): Likewise.
56777         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
56778         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
56779         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
56780         (libc_feupdateenv_53bit): Likewise.
56781         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
56782         (libc_feholdexcept): Convert from macro to inline function.
56783         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
56784         (libc_fesetenv, libc_feupdateenv): Likewise.
56786         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
56787         not previously defined.
56788         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
56789         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
56790         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
56791         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
56792         * sysdeps/ieee754/flt-32/math_private.h: New file.
56793         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
56794         math_private.h below SET_FLOAT_WORD.
56795         (__isnan, __isinf_ns, __finite): Remove.
56796         (__isnanf, __isinf_nsf, __finitef): Remove.
56798 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
56800         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56802 2012-03-17  David S. Miller  <davem@davemloft.net>
56804         [BZ #6471]
56805         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
56806         for 2.16.
56808 2012-03-16  David S. Miller  <davem@davemloft.net>
56810         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
56811         warnings.
56813         [BZ #6471]
56814         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
56815         properly.
56816         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
56817         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
56818         sysdep_routines when subdir is sysvipc.
56819         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
56820         __getshmlba helper.
56822         * sysdeps/sparc/fpu/libm-test/ulps: Update.
56824 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
56826         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
56827         [__LP64__].
56829 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
56831         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
56832         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
56833         (__lround): Renamed to ...
56834         (__llround): This.  Replace long int with long long int.
56835         Define lround functions as aliases of llround functions.
56836         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
56838 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
56840         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
56841         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
56842         adresses to uintptr_t.  Replace "long int" and "unsigned long
56843         int" with "greg_t" on va_arg.
56845 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
56847         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
56848         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
56850         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
56851         Move e_machine check before EI_CLASS check.  Handle x32
56852         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
56853         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
56854         SKIP_EM_IA_64 and include
56855         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
56857         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
56858         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
56859         (add_system_dir): New macro.
56861         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
56862         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
56864 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
56866         [BZ #2551]
56867         [BZ #2552]
56868         [BZ #2553]
56869         [BZ #2554]
56870         [BZ #2562]
56871         [BZ #2563]
56872         [BZ #2565]
56873         [BZ #2566]
56874         [BZ #2576]
56875         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
56876         (y0): Likewise.
56877         * math/w_j0f.c (j0f): Likewise.
56878         (y0f): Likewise.
56879         * math/w_j0l.c (__j0l): Likewise.
56880         (__y0l): Likewise.
56881         * math/w_j1.c (j1): Likewise.
56882         (y1): Likewise.
56883         * math/w_j1f.c (j1f): Likewise.
56884         (y1f): Likewise.
56885         * math/w_j1l.c (__j1l): Likewise.
56886         (__y1l): Likewise.
56887         * math/w_jn.c (jn): Likewise.
56888         (yn): Likewise.
56889         * math/w_jnf.c (jnf): Likewise.
56890         (ynf): Likewise.
56891         * math/w_jnl.c (__jnl): Likewise.
56892         (__ynl): Likewise.
56893         * math/libm-test.inc (j0_test): Add more tests.
56894         (j1_test): Likewise.
56895         (jn_test): Likewise.  Add trailing semicolon to existing test.
56896         (y0_test): Likewise.
56897         (y1_test): Likewise.
56898         * sysdeps/i386/fpu/libm-test-ulps: Update.
56899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56901         [BZ #13851]
56902         [BZ #13854]
56903         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
56904         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
56905         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
56906         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
56907         (__tanl): Set errno for infinite argument.
56908         * sysdeps/i386/fpu/mptan.c: Remove.
56909         * sysdeps/i386/fpu/s_tan.S: Likewise.
56910         * sysdeps/i386/fpu/s_tanl.S: Likewise.
56911         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
56912         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
56913         * math/libm-test.inc (tan_test): Add more tests and enable more
56914         tests for double and long double.
56915         * sysdeps/i386/fpu/libm-test-ulps: Update.
56916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56918 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
56920         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
56921         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
56923 2012-03-16  Roland McGrath  <roland@hack.frob.com>
56925         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
56926         * configure.in: Use it for both main tree and add-ons.
56927         * configure: Regenerated.
56929 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
56931         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
56933 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
56935         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
56936         in comment.
56938         [BZ #13851]
56939         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
56940         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
56941         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
56942         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
56943         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
56944         infinite argument.
56945         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
56946         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
56947         != 0 for prec == 2.
56948         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
56949         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
56950         * sysdeps/i386/fpu/s_cosl.S: Likewise.
56951         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
56952         * sysdeps/i386/fpu/s_sinl.S: Likewise.
56953         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
56954         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
56955         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
56956         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
56957         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
56958         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
56959         * math/libm-test.inc (cos_test): Add more tests and enable more
56960         tests for long double.
56961         (sin_test): Likewise.
56962         (sincos_test): Likewise.
56963         * sysdeps/i386/fpu/libm-test-ulps: Update.
56964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56966 2012-03-16  David S. Miller  <davem@davemloft.net>
56968         * sysdeps/sparc/fpu/math_private.h: New file.
56970 2012-03-15  David S. Miller  <davem@davemloft.net>
56972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
56973         file.
56974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
56975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
56976         file.
56977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
56978         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
56979         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
56980         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
56981         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
56982         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
56983         sysdep routines.
56984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
56986         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
56987         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
56989         * sysdeps/sparc/sparc-ifunc.h: New file.
56990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
56991         sparc-ifunc.h
56992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
56993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
56994         Likewise.
56995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
56996         Likewise.
56997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
56998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
56999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
57000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
57001         Likewise.
57002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
57003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
57004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
57005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
57006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
57007         Likewise.
57008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
57009         Likewise.
57010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
57011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
57012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
57013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
57014         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
57015         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
57016         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
57017         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
57018         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
57019         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
57020         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
57021         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
57022         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
57023         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
57024         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
57025         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
57026         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
57027         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
57028         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
57029         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
57030         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
57031         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
57032         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
57033         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
57035 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
57037         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
57038         scaling.
57039         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57041 2012-03-15  Andreas Jaeger  <aj@suse.de>
57043         [BZ #13852]
57044         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
57045         ieee754/flt-32 implementation for sin, cos and sincos.
57046         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
57047         * sysdeps/i386/fpu/s_cosf.S: Likewise.
57048         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
57049         * sysdeps/i386/fpu/s_sinf.S: Likewise.
57050         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
57051         ieee754/flt-32 implementation for tan.
57053         * math/libm-test.inc (cos_test): Enable some large input tests for
57054         float as well
57055         (sin_test): Likewise.
57056         (sincos_test): Likewise.
57057         (tan_test): Add tests for large input.
57059         * sysdeps/i386/fpu/libm-test-ulps: Update.
57061 2012-03-15  Andreas Jaeger  <aj@suse.de>
57063         [BZ #13658]
57064         * math/libm-test.inc (cos_test): Add more test cases.
57065         (sin_test): Likewise.
57066         (sincos_test): Likewise.
57068 2012-03-15  Andreas Jaeger  <aj@suse.de>
57070         [BZ #13837]
57071         * math/libm-test.inc (cos_test): Add a test case for large input
57072         value.
57073         (sin_test): Likewise.
57074         (sincos_test): Likewise.
57076 2012-03-15  Andreas Jaeger  <aj@suse.de>
57077             Joseph Myers  <joseph@codesourcery.com>
57079         [BZ #13658]
57080         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
57081         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
57082         * sysdeps/i386/fpu/branred.c: Likewise.
57083         * sysdeps/i386/fpu/dosincos.c: Likewise.
57084         * sysdeps/i386/fpu/mpa.c: Likewise.
57085         * sysdeps/i386/fpu/s_cos.S: Likewise.
57086         * sysdeps/i386/fpu/s_sin.S: Likewise.
57087         * sysdeps/i386/fpu/s_sincos.S: Likewise.
57088         * sysdeps/i386/fpu/sincos32.c: Likewise.
57090         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
57091         Define.
57092         (libc_feupdateenv_53bit): Define.
57093         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
57094         Define.
57095         (libc_feupdateenv_53bit): Define.
57097         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
57098         53 bit (without extend i386 double precision).
57100         * math/libm-test.inc (sincos_test): Add tests for large input.
57101         (sin): Likewise.
57102         (cos): Likewise.
57104         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
57106 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
57108         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57110 2012-03-15  David S. Miller  <davem@davemloft.net>
57112         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
57113         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
57114         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
57115         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
57116         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
57117         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
57118         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
57119         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
57120         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
57121         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
57122         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
57123         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
57124         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
57125         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
57126         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
57127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
57128         file.
57129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
57130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
57131         file.
57132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
57133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
57134         file.
57135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
57136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
57137         file.
57138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
57139         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
57140         fmin/fmax sysdep routines.
57141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
57143 2012-03-14  David S. Miller  <davem@davemloft.net>
57145         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
57146         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
57147         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
57148         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
57149         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
57150         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
57151         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
57152         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
57153         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
57154         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
57155         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
57156         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
57157         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
57158         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
57159         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
57160         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
57161         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
57162         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
57163         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
57164         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
57165         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
57166         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
57167         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
57168         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
57169         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
57170         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
57171         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
57172         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
57173         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
57174         routines.
57175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
57176         file.
57177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
57178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
57179         file.
57180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
57181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
57182         file.
57183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
57184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
57185         file.
57186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
57187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
57188         file.
57189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
57190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
57191         file.
57192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
57193         file.
57194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
57195         file.
57196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
57197         file.
57198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
57199         New file.
57200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
57201         file.
57202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
57203         file.
57204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
57205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
57206         file.
57207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
57208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
57209         file.
57210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
57211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
57212         file.
57213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
57214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
57215         VIS3 routines.
57217         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
57218         New file.
57220         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57222         * sysdeps/sparc/configure.in: New file.
57223         * sysdeps/sparc/configure: Generate.
57224         * configure.in (libc_cv_sparc_as_vis3): Substitute.
57225         * configure: Regenerate.
57226         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
57227         * config.make.in (have-as-vis3): New.
57228         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
57229         available use -Av9d instead of -Av9a.
57230         * sysdeps/sparc/sparc64/Makefile: Likewise.
57231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
57232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
57233         New file.
57234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
57235         file.
57236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
57237         New file.
57238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
57239         file.
57240         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
57241         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
57242         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
57243         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
57244         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
57246         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
57247         fzeros/fnegs to load 0x80000000 into a float register instead of
57248         using the stack.
57249         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
57251 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
57253         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57254         bits/syscall.h.
57255         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
57256         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
57257         ($(inst_includedir)/bits/syscall.h): Remove rule.
57258         ($(objpfx)bits/syscall.d): Include instead of
57259         $(objpfx)syscall-list.d.
57260         (generated): Change syscall-list.h and syscall-list.d to
57261         bits/syscall.h and bits/syscall.d.
57263 2012-03-14  Roland McGrath  <roland@hack.frob.com>
57265         [BZ #13846]
57266         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
57268 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
57270         [BZ #13841]
57271         * math/s_csqrt.c: Include <float.h>.
57272         (__csqrt): Scale large or subnormal inputs.
57273         * math/s_csqrtf.c: Likewise.
57274         * math/s_csqrtl.c: Likewise.
57275         * math/libm-test.inc (csqrt_test): Add more tests.
57276         * sysdeps/i386/fpu/libm-test-ulps: Update.
57277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57279         [BZ #13840]
57280         * math/libm-test.inc (hypot_test): Add more tests.
57282 2012-03-13  David S. Miller  <davem@davemloft.net>
57284         [BZ #13840]
57285         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
57286         double-precision for the calculation instead of scaling.
57288 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
57290         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
57291         manipulate bits before adding and subtracting TWO52[sx].
57292         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
57293         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
57294         Likewise.
57295         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
57297 2012-03-13  David S. Miller  <davem@davemloft.net>
57299         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
57300         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
57301         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
57302         rtld-global-offsets.h
57303         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
57305         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
57306         large parameters.
57308         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
57310         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
57311         'err' in the ifdef scope in which it is actually used.
57313         * nss/nss_db/db-init.c: Include string.h
57315 2012-03-12  David S. Miller  <davem@davemloft.net>
57317         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
57318         masking out of the most significant byte of random value used.
57319         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57320         Fix coding style in previous change.
57322         * sysdeps/unix/sysv/linux/kernel-features.h
57323         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
57324         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
57325         expression.
57326         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
57327         later.
57329 2012-03-11  David S. Miller  <davem@davemloft.net>
57331         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
57332         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
57333         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
57334         for 'resultvar' otherwise things get truncated on 64-bit.
57336         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57337         Fix masking out of the most significant byte of random value used.
57339         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57341 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
57343         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57345 2012-03-09  David S. Miller  <davem@davemloft.net>
57347         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
57348         variables with appropriate CPP guards.
57349         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
57350         from the frame pointer, not the stack pointer.  Correct layout
57351         comments.  Fix test on resulting framesize and the management of
57352         the outregs buffer for pltexit.  Preserve floating point return
57353         values across _dl_call_pltexit call.
57354         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
57355         framesize and the management of the outregs buffer for pltexit.
57356         Preserve floating point return values across _dl_call_pltexit
57357         call.
57358         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
57359         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
57360         (la_sparc64_gnu_pltexit): New functions.
57361         (print_exit): Fix format string for return register value.
57363 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
57365         * sunrpc/Makefile (others): Add rpcgen.
57366         ($(objpfx)rpcgen): Remove special build rule and dependency on
57367         libc.
57368         * sunrpc/rpcgen.c: New file.
57370 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
57372         [BZ #13673]
57373         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
57374         * stdio-common/bug-vfprintf-nargs.c: Likewise.
57375         * sysdeps/i386/crti.S: Likewise.
57376         * sysdeps/i386/crtn.S: Likewise.
57377         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
57378         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
57379         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
57380         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
57381         * sysdeps/sh/crti.S: Likewise.
57382         * sysdeps/sh/crtn.S: Likewise.
57383         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
57385         [BZ #13673]
57386         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
57387         with URL.
57388         * locale/programs/locfile-kw.gperf: Likewise.
57389         * locale/programs/charmap-kw.h: Regenerated.
57390         * locale/programs/locfile-kw.h: Likewise.
57392         [BZ #13673]
57393         * intl/plural.y: Replace FSF snail mail address with URL.
57394         * intl/plural.c: Regenerated.
57396 2012-03-09  Richard Henderson  <rth@twiddle.net>
57398         * include/math_private.h: Remove file.
57399         * math/math_private.h: Move file ...
57400         * sysdeps/generic/math_private.h: ... here.
57402         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
57403         * sysdeps/powerpc/fpu/math_private.h: Likewise.
57404         * sysdeps/x86_64/fpu/math_private.h: Likewise.
57406         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
57407         and <math_private.h>.
57408         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
57409         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
57410         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
57411         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
57412         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
57413         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
57414         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
57415         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57416         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
57417         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57418         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57419         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
57420         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
57421         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57422         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
57423         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
57424         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
57425         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
57426         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
57427         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
57428         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57429         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
57430         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
57431         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57432         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
57433         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
57434         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
57435         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57436         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57437         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
57438         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
57439         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57440         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
57441         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
57442         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
57443         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
57444         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
57445         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
57446         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
57447         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57448         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
57449         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
57450         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
57451         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
57452         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
57453         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
57454         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
57455         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
57456         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
57457         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
57458         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
57459         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
57460         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
57461         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
57462         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
57463         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
57464         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
57465         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
57466         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
57467         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
57468         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
57469         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
57470         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57471         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
57472         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
57473         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
57474         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
57475         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
57476         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
57477         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
57478         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
57479         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
57480         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
57481         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
57482         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
57483         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
57484         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
57485         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
57486         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
57487         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
57488         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
57489         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
57490         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
57491         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
57492         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
57493         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
57494         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
57495         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
57496         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
57497         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
57498         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
57499         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
57500         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57501         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
57502         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
57503         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
57504         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
57505         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
57506         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
57507         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
57508         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
57509         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
57510         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
57511         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
57512         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
57513         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
57514         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
57515         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
57516         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
57517         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
57518         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
57519         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
57520         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
57521         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
57522         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
57523         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
57524         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
57525         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
57526         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
57527         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
57528         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
57529         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
57530         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
57531         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
57532         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
57533         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
57534         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
57535         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
57536         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
57537         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
57538         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
57539         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
57540         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
57541         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
57542         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
57543         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
57544         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
57545         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
57546         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
57547         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
57548         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
57549         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
57550         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
57551         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
57552         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
57553         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
57554         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
57555         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
57556         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
57557         * sysdeps/ieee754/k_standard.c: Likewise.
57558         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
57559         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
57560         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
57561         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
57562         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
57563         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
57564         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
57565         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
57566         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
57567         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
57568         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
57569         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
57570         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
57571         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
57572         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
57573         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
57574         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
57575         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
57576         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
57577         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
57578         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
57579         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
57580         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
57581         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
57582         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
57583         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
57584         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
57585         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
57586         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
57587         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
57588         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
57589         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
57590         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
57591         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
57592         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
57593         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
57594         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
57595         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
57596         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
57597         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
57598         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
57599         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
57600         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
57601         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
57602         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
57603         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
57604         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
57605         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
57606         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
57607         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
57608         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
57609         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
57610         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
57611         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
57612         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
57613         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
57614         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
57615         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
57616         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
57617         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
57618         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
57619         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
57620         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
57621         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
57622         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
57623         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
57624         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
57625         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
57626         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
57627         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
57628         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
57629         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
57630         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
57631         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
57632         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
57633         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
57634         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
57635         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
57636         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
57637         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
57638         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
57639         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
57640         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
57641         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
57642         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
57643         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
57644         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
57645         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
57646         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
57647         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
57648         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
57649         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
57650         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
57651         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
57652         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
57653         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
57654         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
57655         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
57656         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
57657         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
57658         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
57659         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
57660         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
57661         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
57662         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
57663         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
57664         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
57665         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
57666         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
57667         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
57668         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
57669         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
57670         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
57671         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
57672         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
57673         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
57674         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
57675         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
57676         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
57677         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
57678         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
57679         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
57680         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
57681         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
57682         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
57683         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
57684         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
57685         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
57686         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
57687         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
57688         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
57689         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
57690         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
57691         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
57692         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
57693         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
57694         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
57695         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
57696         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
57697         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
57698         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
57699         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
57700         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
57701         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
57702         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
57703         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
57704         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
57705         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
57706         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
57707         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
57708         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
57709         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
57710         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
57711         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
57712         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
57713         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
57714         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
57715         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
57716         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
57717         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
57718         * sysdeps/ieee754/s_lib_version.c: Likewise.
57719         * sysdeps/ieee754/s_matherr.c: Likewise.
57720         * sysdeps/ieee754/s_signgam.c: Likewise.
57721         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
57722         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
57723         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
57724         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
57725         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
57726         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
57727         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
57728         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
57729         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
57730         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
57731         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
57732         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
57733         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
57734         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
57735         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
57736         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
57737         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
57738         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
57739         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
57740         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
57741         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
57743 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
57745         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
57746         * sunrpc/rpc_main.c: Likewise.
57747         * sunrpc/rpc_svcout.c: Likewise.
57749 2012-03-09  David S. Miller  <davem@davemloft.net>
57751         * include/math_private.h: New file.
57753 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
57755         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
57756         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
57757         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
57758         from <bits/socket_type.h>.
57759         (enum __socket_type): Don't define here.
57760         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
57761         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57762         bits/socket_type.h.
57764         [BZ #13566]
57765         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
57766         checking __USE_GNU.
57768         * Makerules ($(inst_includedir)/%.h): New rule.
57769         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
57770         (install-others): Remove variable setting.
57771         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
57773 2012-03-08  Richard Henderson  <rth@twiddle.net>
57775         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
57776         from macro to inline function; merge with the
57777         !__LIBC_INTERNAL_MATH_INLINES version.
57778         (__ieee754_sqrtf): Likewise.
57780         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
57781         to inline function.
57782         (__rintf, __floor, __floorf): Likewise.
57784         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
57785         macro to inline function.
57786         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
57788         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
57789         not <math/math_private.h>.
57791 2012-03-08  David S. Miller  <davem@davemloft.net>
57793         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
57794         copyright year.
57795         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
57797 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
57799         * resolv/gai_misc.c (handle_requests): Fix struct timespec
57800         normalization.
57801         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
57802         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
57804 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
57806         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
57807         be defined individually, they must be defined as a block.  Define
57808         S for printing a string instead of hidint the different by using a
57809         macro for adding the 'l'.
57810         * stdio-common/tst-fphex-wide.c: Adjust.
57812 2012-03-07  Marek Polacek  <polacek@redhat.com>
57814         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
57816 2012-03-08  Marek Polacek  <polacek@redhat.com>
57818         [BZ #13806]
57819         * stdio-common/Makefile (tests): Add tst-fphex-wide.
57820         * stdio-common/tst-fphex.c: Define a few macros to make the
57821         test reusable.  Use them.
57822         * stdio-common/tst-fphex-wide.c: New file.
57824 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
57826         [BZ #6911]
57827         * manual/macros.texi (gnusystems): New macro.
57828         (nongnusystems): Likewise.
57829         (gnulinuxhurdsystems): Likewise.
57830         (gnuhurdsystems): Likewise..
57831         (gnulinuxsystems): Likewise.
57832         * manual/charset.texi: Use new macros or @theglibc{} to refer to
57833         variants of the GNU system, not "GNU system".
57834         * manual/conf.texi: Likewise.
57835         * manual/errno.texi: Likewise.  Update example of errno macro
57836         expansion.
57837         * manual/filesys.texi: Likewise.
57838         (getumask): Document as specific to GNU/Hurd.
57839         * manual/install.texi: Likewise.  Reword some references to
57840         GNU/Linux.
57841         * manual/intro.texi: Likewise.
57842         * manual/io.texi: Likewise.
57843         (File Name Portability): Detail which constraints are inapplicable
57844         to all GNU systems and which are only inapplicable to GNU/Hurd.
57845         * manual/job.texi: Likewise.
57846         * manual/llio.texi: Likewise.
57847         (O_NOCTTY): Document as present on GNU/Linux.
57848         * manual/maint.texi: Likewise.
57849         * manual/memory.texi: Likewise.
57850         * manual/pattern.texi: Likewise.
57851         * manual/pipe.texi: Likewise.
57852         * manual/process.texi: Likewise.
57853         * manual/resource.texi: Likewise.
57854         (RUSAGE_CHILDREN): Remove statement about specifying a particular
57855         child on GNU/Hurd.
57856         * manual/setjmp.texi: Likewise.
57857         * manual/signal.texi: Likewise.
57858         * manual/startup.texi: Likewise.
57859         * manual/stdio.texi: Likewise.
57860         * manual/terminal.texi: Likewise.
57861         (ONLCR): Document as POSIX.
57862         (OXTABS): Document availability on GNU/Linux as XTABS.
57863         (ONOEOT): Document availability separately from other bits.
57864         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
57865         * manual/time.texi: Likewise.
57866         * manual/users.texi: Likewise.
57867         * INSTALL: Regenerated.
57868         * sysdeps/gnu/errlist.c: Regenerated.
57870         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
57871         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
57872         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
57873         puts.
57874         * configure: Regenerated.
57876 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
57878         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
57879         default includes instead of AC_HEADER_CHECK.
57880         * sysdeps/i386/configure: Regenerated.
57882         [BZ #10716]
57883         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
57884         * math/s_cacoshf.c (__cacoshf): Likewise.
57885         * math/s_cacoshl.c (__cacoshl): Likewise.
57886         * math/s_casinh.c (__casinh): Set signs of result from argument.
57887         * math/s_casinhf.c (__casinhf): Likewise.
57888         * math/s_casinhl.c (__casinhl): Likewise.
57889         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
57890         (casinh_test): Add more tests.
57891         * sysdeps/i386/fpu/libm-test-ulps: Update.
57892         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57894 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
57896         * po/zh_TW.po: Update from translation team.
57898         * login/Makefile (distribute): Remove variable.
57899         * catgets/Makefile: Likewise.
57900         * mach/Makefile: Likewise.
57901         * malloc/Makefile: Likewise.
57902         * misc/Makefile: Likewise.
57903         * iconv/Makefile: Likewise.
57904         * nscd/Makefile: Likewise.
57905         * hurd/Makefile: Likewise.
57906         * manual/Makefile: Likewise.
57907         * locale/Makefile: Likewise.
57908         * intl/Makefile: Likewise.
57909         * conform/Makefile: Likewise.
57910         * nss/Makefile: Likewise.
57911         * time/Makefile: Likewise.
57912         * soft-fp/Makefile: Likewise.
57913         * dirent/Makefile: Likewise.
57914         * gmon/Makefile: Likewise.
57915         * po/Makefile: Likewise.
57916         * rt/Makefile: Likewise.
57917         * socket/Makefile: Likewise.
57918         * math/Makefile: Likewise.
57919         * signal/Makefile: Likewise.
57920         * debug/Makefile: Likewise.
57921         * elf/Makefile: Likewise.
57922         * timezone/Makefile: Likewise.
57923         * stdlib/Makefile: Likewise.
57924         * iconvdata/Makefile: Likewise.
57925         * sunrpc/Makefile: Likewise.
57926         * io/Makefile: Likewise.
57927         * argp/Makefile: Likewise.
57928         * inet/Makefile: Likewise.
57929         * hesiod/Makefile: Likewise.
57930         * grp/Makefile: Likewise.
57931         * csu/Makefile: Likewise.
57932         * wctype/Makefile: Likewise.
57933         * crypt/Makefile: Likewise.
57934         * libio/Makefile: Likewise.
57935         * string/Makefile: Likewise.
57936         * nis/Makefile: Likewise.
57937         * resolv/Makefile: Likewise.
57938         * stdio-common/Makefile: Likewise.
57939         * wcsmbs/Makefile: Likewise.
57940         * dlfcn/Makefile: Likewise.
57941         * posix/Makefile: Likewise.
57943         [BZ #6959]
57944         * timezone/Makefile: Don't install timezone files, just the programs
57945         and scripts.
57947 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
57949         * nss/databases.def: Add missing gshadow entry.
57951         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
57953 2012-03-06  Marek Polacek  <polacek@redhat.com>
57955         [BZ #13726]
57956         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
57957         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
57958         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
57959         * stdio-common/tst-long-dbl-fphex.c: New file.
57961 2012-03-06  David S. Miller  <davem@davemloft.net>
57963         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57964         (set_obp_int): New function.
57965         (get_obp_int): New function.
57966         (__get_clockfreq_via_dev_openprom): Likewise.
57967         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
57968         Avoid unused variable warnings on 'val' and use builtin_expect.
57969         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
57970         __builtin_expect.
57971         (INLINE_CLONE_SYSCALL): Likewise.
57973 2012-03-05  David S. Miller  <davem@davemloft.net>
57975         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57977 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
57979         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57981         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
57982         only for |x| >= 40.
57983         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
57985 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
57987         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
57988         Replace gettimeofday with __vdso_gettimeofday.
57990         * sysdeps/unix/sysv/linux/x86_64/init-first.c
57991         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
57992         __vdso_clock_gettime and __vdso_getcpu.
57994         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
57995         time with __vdso_time.
57997 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
57999         * manual/lang.texi (size_t): Note types to which size_t may be
58000         equivalent with the GNU C Library, but do not describe when
58001         differences between them are significant.
58003 2012-03-05  Andreas Jaeger  <aj@suse.de>
58005         * sysdeps/i386/fpu/libm-test-ulps: Update.
58007 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
58009         [BZ #3976]
58010         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
58011         (__ieee754_pow): Save and restore rounding mode and use
58012         round-to-nearest for main computations.
58013         * math/libm-test.inc (pow_test_tonearest): New function.
58014         (pow_test_towardzero): Likewise.
58015         (pow_test_downward): Likewise.
58016         (pow_test_upward): Likewise.
58017         (main): Call the new functions.
58018         * sysdeps/i386/fpu/libm-test-ulps: Update.
58019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58021         [BZ #3976]
58022         * math/libm-test.inc (cosh_test_tonearest): New function.
58023         (cosh_test_towardzero): Likewise.
58024         (cosh_test_downward): Likewise.
58025         (cosh_test_upward): Likewise.
58026         (sinh_test_tonearest): Likewise.
58027         (sinh_test_towardzero): Likewise.
58028         (sinh_test_downward): Likewise.
58029         (sinh_test_upward): Likewise.
58030         (main): Call the new functions.
58031         * sysdeps/i386/fpu/libm-test-ulps: Update.
58032         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58034 2012-03-05  Tom de Vries  <tom@codesourcery.com>
58036         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
58037         default stack guard is set in last bytes.
58038         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
58040 2012-03-05  Kees Cook  <keescook@chromium.org>
58042         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
58044         [BZ #13656]
58045         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
58046         possibly allocate from heap instead of stack.
58047         * stdio-common/bug-vfprintf-nargs.c: New file.
58048         * stdio-common/Makefile (tests): Add nargs overflow test.
58050 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
58052         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58054 2012-03-03  Marek Polacek  <polacek@redhat.com>
58056         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
58057         * math/math_private.h: Likewise.
58058         * stdlib/tst-strtod.c: Likewise.
58059         * sysdeps/i386/i486/bits/atomic.h: Likewise.
58060         * sysdeps/x86_64/bits/atomic.h: Likewise.
58062 2012-03-02  David S. Miller  <davem@davemloft.net>
58064         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
58065         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
58066         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
58067         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
58068         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
58069         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
58070         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
58071         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
58073 2012-03-02  Roland McGrath  <roland@hack.frob.com>
58075         [BZ #13792]
58076         * manual/examples/README: New file, says the example source files
58077         can be used under GPL>=2.
58078         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
58079         line containing just "*/".
58080         * manual/examples/add.c: Add copyright header (GPL>=2).
58081         * manual/examples/argp-ex1.c: Likewise.
58082         * manual/examples/argp-ex2.c: Likewise.
58083         * manual/examples/argp-ex3.c: Likewise.
58084         * manual/examples/argp-ex4.c: Likewise.
58085         * manual/examples/atexit.c: Likewise.
58086         * manual/examples/db.c: Likewise.
58087         * manual/examples/dir.c: Likewise.
58088         * manual/examples/dir2.c: Likewise.
58089         * manual/examples/execinfo.c: Likewise.
58090         * manual/examples/filecli.c: Likewise.
58091         * manual/examples/filesrv.c: Likewise.
58092         * manual/examples/fmtmsgexpl.c: Likewise.
58093         * manual/examples/genpass.c: Likewise.
58094         * manual/examples/inetcli.c: Likewise.
58095         * manual/examples/inetsrv.c: Likewise.
58096         * manual/examples/isockad.c: Likewise.
58097         * manual/examples/longopt.c: Likewise.
58098         * manual/examples/memopen.c: Likewise.
58099         * manual/examples/memstrm.c: Likewise.
58100         * manual/examples/mkfsock.c: Likewise.
58101         * manual/examples/mkisock.c: Likewise.
58102         * manual/examples/mygetpass.c: Likewise.
58103         * manual/examples/pipe.c: Likewise.
58104         * manual/examples/popen.c: Likewise.
58105         * manual/examples/rprintf.c: Likewise.
58106         * manual/examples/search.c: Likewise.
58107         * manual/examples/select.c: Likewise.
58108         * manual/examples/setjmp.c: Likewise.
58109         * manual/examples/sigh1.c: Likewise.
58110         * manual/examples/sigusr.c: Likewise.
58111         * manual/examples/stpcpy.c: Likewise.
58112         * manual/examples/strdupa.c: Likewise.
58113         * manual/examples/strftim.c: Likewise.
58114         * manual/examples/strncat.c: Likewise.
58115         * manual/examples/subopt.c: Likewise.
58116         * manual/examples/swapcontext.c: Likewise.
58117         * manual/examples/termios.c: Likewise.
58118         * manual/examples/testopt.c: Likewise.
58119         * manual/examples/testpass.c: Likewise.
58120         * manual/examples/timeval_subtract.c: Likewise.
58122         [BZ #13792]
58123         * manual/time.texi (Elapsed Time): Move timeval_subtract example
58124         function to ...
58125         * manual/timeval_subtract.c.texi: ... here, new file.
58127 2012-03-02  David S. Miller  <davem@davemloft.net>
58129         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
58131 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
58133         [BZ #3976]
58134         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
58135         (__sin): Save and restore rounding mode and use round-to-nearest
58136         for all computations.
58137         (__cos): Save and restore rounding mode and use round-to-nearest
58138         for all computations.
58139         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
58140         <fenv.h>.
58141         (tan): Save and restore rounding mode and use round-to-nearest for
58142         all computations.
58143         * math/libm-test.inc (cos_test_tonearest): New function.
58144         (cos_test_towardzero): Likewise.
58145         (cos_test_downward): Likewise.
58146         (cos_test_upward): Likewise.
58147         (sin_test_tonearest): Likewise.
58148         (sin_test_towardzero): Likewise.
58149         (sin_test_downward): Likewise.
58150         (sin_test_upward): Likewise.
58151         (tan_test_tonearest): Likewise.
58152         (tan_test_towardzero): Likewise.
58153         (tan_test_downward): Likewise.
58154         (tan_test_upward): Likewise.
58155         (main): Call the new functions.
58156         * sysdeps/i386/fpu/libm-test-ulps: Update.
58157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58159         [BZ #10135]
58160         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
58161         small n, then large n, before computing and testing k+n.
58162         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
58163         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
58164         Likewise.
58165         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
58166         Likewise.
58167         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
58168         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
58169         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
58170         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
58171         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
58172         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
58173         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
58174         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
58175         * math/libm-test.inc (scalbn_test): Add more tests.
58176         (scalbln_test): Likewise.
58178         * manual/filesys.texi (mode_t): Describe constraints on size and
58179         signedness, not exact equivalence to a particular type.
58180         (ino_t): Likewise.
58181         (ino64_t): Likewise.
58182         (dev_t): Likewise.
58183         (nlink_t): Likewise.
58184         (blkcnt_t): Likewise.
58185         (blkcnt64_t): Likewise.
58186         * manual/llio.texi (off_t): Likewise.
58188         [BZ #3976]
58189         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
58190         (__ieee754_exp): Save and restore rounding mode and use
58191         round-to-nearest for all computations.
58192         * math/libm-test.inc (exp_test_tonearest): New function.
58193         (exp_test_towardzero): Likewise.
58194         (exp_test_downward): Likewise.
58195         (exp_test_upward): Likewise.
58196         (main): Call the new functions.
58197         * sysdeps/i386/fpu/libm-test-ulps: Update.
58198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58200 2012-03-01  Chris Demetriou  <cgd@google.com>
58202         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
58203         have predictable order.
58205 2012-03-01  David S. Miller  <davem@davemloft.net>
58207         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
58209         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
58210         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
58211         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
58212         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
58214         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
58215         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
58216         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
58217         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
58218         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
58219         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
58220         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
58221         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
58222         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
58224         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58226         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
58227         * sysdeps/sparc/fpu/libm-test-ulps: to here.
58228         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
58230         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
58231         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
58232         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
58233         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
58234         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
58235         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
58236         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
58237         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
58238         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
58239         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
58240         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
58241         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
58242         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
58243         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
58244         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
58245         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
58246         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
58247         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
58248         * sysdeps/sparc/elf/configure: Regenerated.
58250 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
58252         * configure.in (AS, LD): Require binutils 2.20 or later.
58253         * configure: Regenerated.
58254         * manual/install.texi (Tools for Compilation): Give binutils 2.20
58255         as required minimum version.
58256         * INSTALL: Regenerated.
58258         [BZ #2541]
58259         [BZ #4108]
58260         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
58261         before squaring exponent.
58262         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
58263         bottom long double and 27 bits of top long double before squaring
58264         exponent.
58265         * math/libm-test.inc (erfc_test): Add more tests.
58266         * sysdeps/i386/fpu/libm-test-ulps: Update.
58267         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
58268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58270 2012-03-01  Kai Tietz  <ktietz@redhat.com>
58272         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
58273         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
58274         containing bit-fields.
58275         * soft-fp/extended.h (_FP_UNION_E): Likewise.
58276         * soft-fp/single.h (_FP_UNION_S): Likewise.
58277         * soft-fp/double.h (_FP_UNION_D): Likewise.
58279 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
58281         [BZ #13786]
58282         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
58283         not include ../strcmp.S.
58284         [USE_AS_STRNCASECMP_L]: Likewise.
58285         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
58286         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
58287         * sysdeps/i386/i686/multiarch/strncase_l-c.c
58288         (__strncasecmp_l_ia32): Define as alias to
58289         __strncasecmp_l_nonascii.
58291         [BZ #5794]
58292         * math/libm-test.inc (expm1_test): Add test for bug 5794.
58293         * sysdeps/i386/fpu/libm-test-ulps: Update.
58294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58296         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
58297         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58299 2012-02-29  Jeff Law  <law@redhat.com>
58301         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
58302         out of bounds read.
58304 2012-02-29  Marek Polacek  <polacek@redhat.com>
58306         [BZ #13706]
58307         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
58308         * elf/Makefile: Add rules to run tst-unused-dep.out.
58310 2012-02-28  David S. Miller  <davem@davemloft.net>
58312         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
58313         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
58314         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
58315         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
58316         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
58317         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
58319 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
58321         * math/libm-test.inc (llround_test): Move one test from
58322         lround_test.  Use TEST_f_L in moved test.
58323         (lround_test): Move misplaced test to llround_test.  Add testcase
58324         from bug 2561.
58326 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
58328         * sysdeps/x86_64/fpu/e_expf.S: New file.
58329         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
58331 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
58333         [BZ #13637]
58334         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
58335         of remain_len that may cause incomplete multi-byte character and
58336         false match.
58337         * posix/bug-regex33.c: New file.
58338         * posix/Makefile (tests): Add bug-regex33.
58340 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
58342         * manual/macros.texi: New file.
58343         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
58344         * manual/libc.texinfo: Include macros.texi.
58345         * manual/creatute.texi: Likewise.
58346         * manual/install.texi: Likewise.
58347         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
58348         @glibcadj{} in references to the GNU C Library.
58349         * manual/charset.texi: Likewise.
58350         * manual/conf.texi: Likewise.
58351         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
58352         when not using those macros.
58353         * manual/creature.texi: Likewise.
58354         * manual/crypt.texi: Likewise.
58355         * manual/errno.texi: Likewise.
58356         * manual/filesys.texi: Likewise.
58357         * manual/header.texi: Likewise.
58358         * manual/install.texi: Likewise.
58359         * manual/intro.texi: Likewise.
58360         * manual/io.texi: Likewise.
58361         * manual/job.texi: Likewise.
58362         * manual/lang.texi: Likewise.
58363         * manual/libc.texiinfo: Likewise.
58364         * manual/llio.texi: Likewise.
58365         * manual/locale.texi: Likewise.
58366         * manual/maint.texi: Likewise.
58367         * manual/math.texi: Likewise.
58368         * manual/memory.texi: Likewise.
58369         * manual/message.texi: Likewise.
58370         * manual/nss.texi: Likewise.
58371         * manual/pattern.texi: Likewise.
58372         * manual/process.texi: Likewise.
58373         * manual/resource.texi: Likewise.
58374         * manual/search.texi: Likewise.
58375         * manual/setjmp.texi: Likewise.
58376         * manual/signal.texi: Likewise.
58377         * manual/socket.texi: Likewise.
58378         * manual/startup.texi: Likewise.
58379         * manual/stdio.texi: Likewise.
58380         * manual/string.texi: Likewise.
58381         * manual/sysinfo.texi: Likewise.
58382         * manual/syslog.texi: Likewise.
58383         * manual/terminal.texi: Likewise.
58384         * manual/time.texi: Likewise.
58385         * manual/users.texi: Likewise.
58386         * INSTALL: Regenerated.
58387         * NOTES: Regenerated.
58388         * sysdeps/gnu/errlist.c: Regenerated.
58390 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
58392         * include/dirent.h: Include <dirstream.h> before
58393         <dirent/dirent.h>.
58395 2012-02-28  David S. Miller  <davem@davemloft.net>
58397         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
58398         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
58399         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
58400         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
58402 2012-02-27  David S. Miller  <davem@davemloft.net>
58404         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
58405         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
58406         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
58407         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
58409         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
58410         frame pointer instead of stack pointer relative arg slot.
58411         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
58412         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
58413         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
58415 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
58417         [BZ #3992]
58418         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
58420 2012-02-27  David S. Miller  <davem@davemloft.net>
58422         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
58423         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
58424         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
58425         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
58426         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
58427         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
58428         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
58429         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
58431 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
58433         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
58434         later.  Allow versions 5-9.
58435         * configure: Regenerated.
58436         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
58437         required minimum version and 4.6 as recommended version.  Do not
58438         mention bugs in GCC 2.7 and 2.8.
58439         * INSTALL: Regenerated.
58441 2012-02-27  David S. Miller  <davem@davemloft.net>
58443         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
58444         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
58445         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
58446         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
58447         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
58448         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
58449         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
58450         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
58452         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
58453         manipulate bits before adding and subtracting TWO112[sx].
58454         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
58456 2012-02-27  Roland McGrath  <roland@hack.frob.com>
58458         [BZ #13775]
58459         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
58460         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
58461         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
58462         being in POSIX, because they are in 1003.1-2008.
58464         * rt/tst-aio.c: Include <fcntl.h>.
58465         * rt/tst-aio7.c: Likewise.
58466         * rt/tst-aio64.c: Likewise.
58468         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
58470 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
58472         * manual/install.texi (--with-headers): Describe headers as
58473         interface headers, not private headers.
58474         (Specific advice for GNU/Linux systems): Describe use of headers
58475         from "make headers_install", not private headers from older
58476         kernels.
58477         * INSTALL: Regenerated.
58478         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
58479         Change to 2.6.19.
58480         * sysdeps/unix/sysv/linux/configure: Regenerated.
58482         * manual/llio.texi (fclean): Remove documentation.
58484         * manual/Makefile (libc-texi-generated): New variable.  Include
58485         version.texi.
58486         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
58487         $(libc-texi-generated), not duplicated list of files.
58488         (version.texi, stamp-version): New rules.
58489         (realclean): Remove $(libc-texi-generated), not individual files
58490         from that list.  Do not remove dir-add.texinfo.
58491         * manual/libc.texinfo: Comment out uses of edition numbers and
58492         references to printed manual.  Remove last-updated dates.
58493         (EDITION): Comment out.
58494         (ISBN): Likewise.
58495         (VERSION, UPDATED): Remove.
58496         (version.texi): Include.
58498 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
58500         * sysdeps/posix/spawni.c: Include <signal.h>.
58501         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
58502         * sysdeps/pthread/aio_fsync.c: Likewise.
58504 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
58506         * conform/Makefile (tests): Run only when not cross-compiling and
58507         when fast-check is not defined.
58509         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
58510         * conform/data/limits.h-data: Fixes for POSIX2008.
58511         * conform/run-conformtest.sh: Run all tests.
58512         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
58513         headers.
58514         * include/bits/dlfcn.h: Likewise.
58515         * include/langinfo.h: Likewise.
58516         * include/monetary.h: Likewise.
58517         * include/sys/poll.h: Likewise.
58519         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
58520         for __USE_GNU.
58521         * posix/spawn.h: Define __need_sigset_t.
58522         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
58523         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
58524         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
58525         to get sigevent_t only.
58526         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
58527         only for __USE_GNU.
58528         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58529         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
58530         process_vm_writev only for __USE_GNU.
58531         * termios/termios.h: Declare tcgetsid also for POSIX2008.
58533         * conform/Makefile: For now ignore errors from run-conformtest.
58534         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
58535         POSIX to avoid namespace pollution.  Don't prepend headers.
58536         * conform/data/aio.h-data: Fixes for POSIX testing.
58537         * conform/data/fcntl.h-data: Likewise.
58538         * conform/data/glob.h-data: Likewise.
58539         * conform/data/grp.h-data: Likewise.
58540         * conform/data/pthread.h-data: Likewise.
58541         * conform/data/pwd.h-data: Likewise.
58542         * conform/data/signal.h-data: Likewise.
58543         * conform/data/spawn.h-data: Likewise.
58544         * conform/data/stdio.h-data: Likewise.
58545         * conform/data/stdlib.h-data: Likewise.
58546         * conform/data/stropts.h-data: Likewise.
58547         * conform/data/sys/mman.h-data: Likewise.
58548         * conform/data/sys/stat.h-data: Likewise.
58549         * conform/data/sys/types.h-data: Likewise.
58550         * conform/data/sys/wait.h-data: Likewise.
58551         * conform/data/time.h-data: Likewise.
58552         * conform/data/unistd.h-data: Likewise.
58553         * conform/data/utime.h-data: Likewise.
58555         * io/sys/stat.h: fchmod was always in POSIX.
58556         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
58557         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
58558         * rt/aio.h: Define __need_timespec before including <time.h>.
58559         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
58560         struct.  Add forward declaration of pthread_attr_t and use it in
58561         sigevent.
58562         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
58563         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
58564         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
58565         always remove CLK_TCK definition.
58567 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
58569         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
58571 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
58573         * conform/run-conformtest.sh: New file.
58574         * conform/Makefile: Run run-conformtest for tests.
58575         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
58576         support.
58578         * conform/data/uchar.h-data: New file.
58579         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
58580         * conform/data/arpa/inet.h-data: Likewise.
58581         * conform/data/assert.h-data: Likewise.
58582         * conform/data/complex.h-data: Likewise.
58583         * conform/data/cpio.h-data: Likewise.
58584         * conform/data/ctype.h-data: Likewise.
58585         * conform/data/dirent.h-data: Likewise.
58586         * conform/data/dlfcn.h-data: Likewise.
58587         * conform/data/errno.h-data: Likewise.
58588         * conform/data/fcntl.h-data: Likewise.
58589         * conform/data/float.h-data: Likewise.
58590         * conform/data/fmtmsg.h-data: Likewise.
58591         * conform/data/fnmatch.h-data: Likewise.
58592         * conform/data/ftw.h-data: Likewise.
58593         * conform/data/glob.h-data: Likewise.
58594         * conform/data/grp.h-data: Likewise.
58595         * conform/data/iconv.h-data: Likewise.
58596         * conform/data/inttypes.h-data: Likewise.
58597         * conform/data/langinfo.h-data: Likewise.
58598         * conform/data/libgen.h-data: Likewise.
58599         * conform/data/limits.h-data: Likewise.
58600         * conform/data/locale.h-data: Likewise.
58601         * conform/data/math.h-data: Likewise.
58602         * conform/data/monetary.h-data: Likewise.
58603         * conform/data/mqueue.h-data: Likewise.
58604         * conform/data/ndbm.h-data: Likewise.
58605         * conform/data/net/if.h-data: Likewise.
58606         * conform/data/netdb.h-data: Likewise.
58607         * conform/data/netinet/in.h-data: Likewise.
58608         * conform/data/nl_types.h-data: Likewise.
58609         * conform/data/poll.h-data: Likewise.
58610         * conform/data/pthread.h-data: Likewise.
58611         * conform/data/pwd.h-data: Likewise.
58612         * conform/data/regex.h-data: Likewise.
58613         * conform/data/sched.h-data: Likewise.
58614         * conform/data/search.h-data: Likewise.
58615         * conform/data/semaphore.h-data: Likewise.
58616         * conform/data/setjmp.h-data: Likewise.
58617         * conform/data/signal.h-data: Likewise.
58618         * conform/data/spawn.h-data: Likewise.
58619         * conform/data/stdarg.h-data: Likewise.
58620         * conform/data/stdio.h-data: Likewise.
58621         * conform/data/stdlib.h-data: Likewise.
58622         * conform/data/string.h-data: Likewise.
58623         * conform/data/strings.h-data: Likewise.
58624         * conform/data/stropts.h-data: Likewise.
58625         * conform/data/sys/ipc.h-data: Likewise.
58626         * conform/data/sys/mman.h-data: Likewise.
58627         * conform/data/sys/msg.h-data: Likewise.
58628         * conform/data/sys/resource.h-data: Likewise.
58629         * conform/data/sys/select.h-data: Likewise.
58630         * conform/data/sys/sem.h-data: Likewise.
58631         * conform/data/sys/shm.h-data: Likewise.
58632         * conform/data/sys/socket.h-data: Likewise.
58633         * conform/data/sys/stat.h-data: Likewise.
58634         * conform/data/sys/statvfs.h-data: Likewise.
58635         * conform/data/sys/time.h-data: Likewise.
58636         * conform/data/sys/timeb.h-data: Likewise.
58637         * conform/data/sys/times.h-data: Likewise.
58638         * conform/data/sys/types.h-data: Likewise.
58639         * conform/data/sys/uio.h-data: Likewise.
58640         * conform/data/sys/un.h-data: Likewise.
58641         * conform/data/sys/utsname.h-data: Likewise.
58642         * conform/data/sys/wait.h-data: Likewise.
58643         * conform/data/syslog.h-data: Likewise.
58644         * conform/data/tar.h-data: Likewise.
58645         * conform/data/termios.h-data: Likewise.
58646         * conform/data/utime.h-data: Likewise.
58647         * conform/data/utmpx.h-data: Likewise.
58648         * conform/data/varargs.h-data: Likewise.
58649         * conform/data/wchar.h-data: Likewise.
58650         * conform/data/wctype.h-data: Likewise.
58651         * conform/data/wordexp.h-data: Likewise.
58653         * include/stropts.h: New file.
58654         * include/uchar.h: New file.
58655         * include/aio.h: Changes to allow conformtest.pl to use the headers.
58656         * include/assert.h: Likewise.
58657         * include/ctype.h: Likewise.
58658         * include/dirent.h: Likewise.
58659         * include/dlfcn.h: Likewise.
58660         * include/fcntl.h: Likewise.
58661         * include/fnmatch.h: Likewise.
58662         * include/glob.h: Likewise.
58663         * include/grp.h: Likewise.
58664         * include/libio.h: Likewise.
58665         * include/locale.h: Likewise.
58666         * include/math.h: Likewise.
58667         * include/net/if.h: Likewise.
58668         * include/netdb.h: Likewise.
58669         * include/netinet/in.h: Likewise.
58670         * include/pthread.h: Likewise.
58671         * include/pwd.h: Likewise.
58672         * include/regex.h: Likewise.
58673         * include/sched.h: Likewise.
58674         * include/search.h: Likewise.
58675         * include/setjmp.h: Likewise.
58676         * include/signal.h: Likewise.
58677         * include/stdio.h: Likewise.
58678         * include/stdlib.h: Likewise.
58679         * include/string.h: Likewise.
58680         * include/sys/cdefs.h: Likewise.
58681         * include/sys/mman.h: Likewise.
58682         * include/sys/msg.h: Likewise.
58683         * include/sys/resource.h: Likewise.
58684         * include/sys/select.h: Likewise.
58685         * include/sys/socket.h: Likewise.
58686         * include/sys/stat.h: Likewise.
58687         * include/sys/statvfs.h: Likewise.
58688         * include/sys/time.h: Likewise.
58689         * include/sys/times.h: Likewise.
58690         * include/sys/uio.h: Likewise.
58691         * include/sys/utsname.h: Likewise.
58692         * include/sys/wait.h: Likewise.
58693         * include/termios.h: Likewise.
58694         * include/time.h: Likewise.
58695         * include/ulimit.h: Likewise.
58696         * include/unistd.h: Likewise.
58697         * include/utime.h: Likewise.
58698         * include/wchar.h: Likewise.
58699         * include/wctype.h: Likewise.
58700         * include/wordexp.h: Likewise.
58702         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
58704         * time/time.h: TIME_UTC must be a macro.
58705         Make timespec_get available for ISO C11 only as well.
58707 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
58709         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
58710         Reported by Peng Haitao <penght@cn.fujitsu.com>.
58712 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
58714         * configure.in: Use -o not -a in test for unsupported multi-arch.
58716 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
58718         * manual/texinfo.tex: Update to version 2012-01-19.16.
58720 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
58722         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
58724 2012-02-24  Roland McGrath  <roland@hack.frob.com>
58726         [BZ #13738]
58727         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
58728         * manual/fdl-1.3.texi: New file.
58729         * manual/fdl-1.1.texi: File removed.
58731         [BZ #13738]
58732         * manual/libc.texinfo (FDL_VERSION): New @set.
58733         Use it for mention of FDL in cover text.
58734         (Documentation License): Use it in @include file name.
58736 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
58737             Roland McGrath  <roland@hack.frob.com>
58739         [BZ #5461]
58740         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
58741         (not LONG_LONG_MAX and LONG_LONG_MIN.
58742         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
58743         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
58744         name.
58745         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
58747 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
58749         [BZ #2547]
58750         [BZ #11365]
58751         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
58752         manipulate bits before adding and subtracting TWO23[sx].
58753         * math/libm-test.inc (nearbyint_test): Add more tests.
58755 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
58757         [BZ #2548]
58758         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
58759         bits before adding and subtracting TWO23[sx].
58760         * math/libm-test.inc (rint_test): Add more tests.
58761         (rint_test_tonearest): Likewise.
58762         (rint_test_towardzero): Likewise.
58763         (rint_test_downward): Likewise.
58764         (rint_test_upward: Likewise.
58766 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
58768         [BZ #10110]
58769         * include/stdc-predef.h: New file.  Extracted from features.h.
58770         * include/features.h: Include stdc-predef.h.
58771         * Makefile (headers): Add stdc-predef.h.
58772         * CONFORMANCE (Compiler limitations): Update.
58774 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
58776         * manual/libc.texinfo (VERSION, UPDATED): Revert.
58778 2012-02-21  David S. Miller  <davem@davemloft.net>
58780         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
58781         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
58783 2012-02-20  David S. Miller  <davem@davemloft.net>
58785         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
58786         using a normal save/restore sequence, rather than allocating a
58787         dummy stack frame just to store a frame pointer and restore.
58788         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
58790 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
58792         * manual/install.texi: Fix stray word in line-wrapped comment.
58794 2012-02-20  David S. Miller  <davem@davemloft.net>
58796         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
58797         both binutils and gcc support GOTDATA.
58799         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
58800         "rd %pc" in the PIC register setup sequences.
58802         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
58803         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
58804         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
58805         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
58806         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
58807         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
58808         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
58809         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
58810         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
58811         (SYSCALL_ERROR_HANDLER): Likewise.
58812         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
58813         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
58814         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
58815         (SYSCALL_ERROR_HANDLER): Likewise.
58817         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
58818         (HAVE_GCC_GOTDATA): New.
58819         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
58820         relocation support in both binutils and gcc.
58821         * sysdeps/sparc/elf/configure: Regenerate.
58823         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
58824         * sysdeps/sparc/sparc32/elf/configure: Delete.
58825         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
58826         * sysdeps/sparc/sparc64/elf/configure: Delete.
58827         * sysdeps/sparc/elf/configure.in: New file.
58828         * sysdeps/sparc/elf/configure: Generate.
58830         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
58831         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
58832         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
58833         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
58834         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
58836 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
58838         * manual/install.texi: Do not mention specific glibc version
58839         numbers.
58840         * manual/libc.texinfo (VERSION, UPDATED): Update.
58841         (@copying): Use @copyright{} and range of years.
58843 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
58845         [BZ #13695]
58846         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
58847         [crti.S not in sysdirs] (generated): Do not append.
58848         [crti.S not in sysdirs] (omit-deps): Likewise.
58849         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
58850         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
58851         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
58852         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
58853         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
58854         Likewise.
58855         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
58856         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
58857         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
58858         * csu/defs.awk: Remove file.
58859         * sysdeps/generic/initfini.c: Likewise.
58860         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
58861         variable.
58862         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
58863         Likewise.
58865 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
58867         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
58868         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
58869         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
58870         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
58871         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
58872         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
58873         <bits/epoll.h>.
58874         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
58875         (__EPOLL_PACKED): Define to empty if not defined by
58876         <bits/epoll.h>.
58877         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
58878         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58879         bits/epoll.h.
58881 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
58883         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
58884         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
58885         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
58886         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
58887         <bits/timerfd.h>.
58888         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
58889         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58890         bits/timerfd.h.
58892 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
58894         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
58895         in C locale.
58896         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
58897         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
58898         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
58899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58901 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
58903         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58904         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
58906 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
58908         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
58909         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
58910         defined.
58911         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
58912         Likewise.
58913         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
58914         entry for 2.16.
58916 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
58918         * math/w_acos.c: Use non-signaling floating-point comparisons.
58919         * math/w_acosf.c: Likewise.
58920         * math/w_acosh.c: Likewise.
58921         * math/w_acoshf.c: Likewise.
58922         * math/w_acoshl.c: Likewise.
58923         * math/w_acosl.c: Likewise.
58924         * math/w_asin.c: Likewise.
58925         * math/w_asinf.c: Likewise.
58926         * math/w_asinl.c: Likewise.
58927         * math/w_atanh.c: Likewise.
58928         * math/w_atanhf.c: Likewise.
58929         * math/w_atanhl.c: Likewise.
58930         * math/w_exp2.c: Likewise.
58931         * math/w_exp2f.c: Likewise.
58932         * math/w_exp2l.c: Likewise.
58933         * math/w_j0.c: Likewise.
58934         * math/w_j0f.c: Likewise.
58935         * math/w_j0l.c: Likewise.
58936         * math/w_j1.c: Likewise.
58937         * math/w_j1f.c: Likewise.
58938         * math/w_j1l.c: Likewise.
58939         * math/w_jn.c: Likewise.
58940         * math/w_jnf.c: Likewise.
58941         * math/w_log.c: Likewise.
58942         * math/w_log10.c: Likewise.
58943         * math/w_log10f.c: Likewise.
58944         * math/w_log10l.c: Likewise.
58945         * math/w_log2.c: Likewise.
58946         * math/w_log2f.c: Likewise.
58947         * math/w_log2l.c: Likewise.
58948         * math/w_logf.c: Likewise.
58949         * math/w_logl.c: Likewise.
58950         * math/w_sqrt.c: Likewise.
58951         * math/w_sqrtf.c: Likewise.
58952         * math/w_sqrtl.c: Likewise.
58953         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
58954         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
58955         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
58956         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
58957         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
58959 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
58961         [BZ #9739]
58962         * manual/string.texi (strnlen): Use correct parameter name in
58963         equivalent expression.
58965 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
58967         [BZ #11174]
58968         * manual/users.texi (seteuid): Consistently use neweuid for
58969         argument name.
58971 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
58973         [BZ #13704]
58974         * manual/nss.texi (Services in the NSS configuration): Correct
58975         list of services in example configuration file.
58977 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
58979         [BZ #11322]
58980         * manual/arith.texi: Remove statements about negative zero
58981         behaving identically to zero.
58983 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
58985         [BZ #5993]
58986         * manual/install.texi: Do not document upgrading from libc5.
58988 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
58990         [BZ #4596]
58991         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
58993 2012-02-18  David S. Miller  <davem@davemloft.net>
58995         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
58996         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
58997         %o7 across the call.
58998         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
58999         instead.
59000         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
59001         SETUP_PIC_REG_LEAF.
59002         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
59003         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
59004         * sysdeps/sparc/crtn.S: Likewise.
59006 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
59008         * aout/Makefile: Remove.
59010 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
59012         [BZ #13058]
59013         * manual/examples/argp-ex1.c (main): Format definition in GNU
59014         style.
59015         * manual/examples/argp-ex2.c (main): Likewise.
59016         * manual/examples/argp-ex3.c (main): Likewise.
59017         * manual/examples/argp-ex4.c (main): Likewise.
59018         * manual/examples/longopt.c (main): Use new-style prototype
59019         definition.
59020         * manual/examples/strncat.c (main): Specify return type and use
59021         (void) for arguments.
59022         * manual/examples/subopt.c (main): Use char **argv argument.
59024 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
59026         [BZ #5077]
59027         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
59028         rounding modes.
59030 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
59032         [BZ #6907]
59033         * manual/string.texi (strchr): Change when strchrnul is
59034         recommended.
59036 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
59038         [BZ #174]
59039         * manual/locale.texi (setlocale): Document LOCPATH.
59041 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
59043         [BZ #10210]
59044         * manual/process.texi (execle): Move @dots{} before last argument.
59046 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
59048         [BZ #12047]
59049         * manual/charset.texi (Generic Charset Conversion): Fix typo
59050         (LC_TYPE -> LC_CTYPE).
59052 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
59054         [BZ #5805]
59055         * manual/arith.texi (scalbn): Use @var{} on parameter names.
59056         (scalbnf): Likewise.
59057         (scalbnl): Likewise.
59058         (scalbln): Likewise.
59059         (scalblnf): Likewise.
59060         (scalblnl): Likewise.
59061         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
59062         (vwarnx): Likewise.
59063         (verr): Likewise.
59064         (verrx): Likewise.
59065         * manual/filesys.texi (telldir): Use braces around return type.
59066         * manual/llio.texi (mmap): Add space after comma.
59067         (mmap64): Likewise.
59068         * manual/math.texi (jn): Use @var{} on parameter names.
59069         (jnf): Likewise.
59070         (jnl): Likewise.
59071         (yn): Likewise.
59072         (ynf): Likewise.
59073         (ynl): Likewise.
59074         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
59075         line.
59076         * manual/resource.texi (ulimit): Use @dots{} instead of literal
59077         "...".
59078         (sched_get_priority_min): Remove semicolon on @deftypefun line.
59079         (sched_get_priority_max): Likewise.
59080         * manual/signal.texi (sigvec): Add space after comma.
59081         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
59082         names.
59083         (if_indextoname): Likewise.
59084         (if_freenameindex): Likewise.
59085         (sendto): Use ',' instead of '.' in prototype.
59086         * manual/startup.texi (syscall): Use @dots{} instead of literal
59087         "...".
59088         * manual/stdio.texi (__fpending): Separate initial words of
59089         paragraph from @deftypefun line.
59090         * manual/syslog.texi (syslog): Use @dots{} instead of literal
59091         "...".
59092         (vsyslog): Use @var{} on parameter names.
59093         * manual/terminal.texi (stty): Use @var{} on parameter names.
59094         * manual/users.texi (getutmp): Use @var{} on parameter names.
59095         (getutmpx): Likewise.
59097 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
59099         [BZ #6884]
59100         * manual/stdio.texi (fopen): Fix typos in description of
59101         ",ccs=STRING".
59103 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
59105         [BZ #4026]
59106         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
59107         get clock_id definition.
59109 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
59111         [BZ #4822]
59112         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
59113         (madvise): Cast every argument to void on its own.
59115 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
59117         [BZ #9902]
59118         * manual/startup.texi (Exit Status): Fix typo.
59120 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
59122         [BZ #10140]
59123         * manual/examples/argp-ex1.c: Include <stdlib.h>.
59124         * manual/examples/argp-ex2.c: Likewise.
59125         * manual/examples/argp-ex3.c: Likewise.
59127 2012-02-16  Richard Henderson  <rth@redhat.com>
59129         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
59130         * sysdeps/s390/s390-32/initfini.c: Remove.
59131         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
59132         * sysdeps/s390/s390-64/initfini.c: Remove.
59134 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59136         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
59137         compiler output for sysdeps/generic/initfini.c.
59138         * sysdeps/sh/elf/initfini.c: Remove file.
59140 2012-02-16  David S. Miller  <davem@davemloft.net>
59142         [BZ #11494]
59143         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
59145         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
59146         * sysdeps/sparc/crti.S: New file.
59147         * sysdeps/sparc/crtn.S: New file.
59148         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
59149         * sysdeps/sparc/sparc64/Makefile: Likewise.
59151 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
59153         [BZ #3335]
59154         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
59156 2012-02-15  Roland McGrath  <roland@hack.frob.com>
59158         [BZ #4822]
59159         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
59161         * mach/devstream.c (cookie_io_functions_t): Macro removed.
59162         (write, read, close): Likewise.
59163         Patch by Aurelien Jarno <aurelien@aurel32.net>.
59165 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
59167         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
59168         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
59169         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
59170         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
59171         <bits/signalfd.h>.
59172         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
59173         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59174         bits/signalfd.h.
59176 2012-02-14  Marek Polacek  <polacek@redhat.com>
59178         * sysdeps/x86_64/crti.S: New file.
59179         * sysdeps/x86_64/crtn.S: New file.
59180         * sysdeps/x86_64/elf/initfini.c: Remove file.
59182 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
59184         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
59185         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
59186         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
59187         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
59188         <bits/inotify.h>.
59189         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
59190         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59191         bits/inotify.h.
59193 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
59195         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
59196         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
59197         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
59198         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
59199         <bits/eventfd.h>.
59200         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
59201         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59202         bits/eventfd.h.
59204 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
59206         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
59207         __feraiseexcept instead of feraiseexcept.
59209         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
59210         nanosleep invocations.
59211         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
59212         strings, and add error checking for a nanosleep invocations.
59214 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
59216         Replace FSF snail mail address with URLs, as per GNU coding standards.
59217         Most of the snail mail addresses were wrong anyway, and omitting
59218         them makes the source code easier to maintain.  Almost all of the
59219         changes are to license notices and to locale LC_IDENTIFICATION
59220         addresses, except for this one:
59221         * manual/libc.texinfo: In "Published by", give the FSF's URL,
59222         not its snail mail address.
59224 2012-02-09  Richard Henderson  <rth@twiddle.net>
59226         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
59227         of kernel-features.h.
59229         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
59231 2012-02-08  Marek Polacek  <polacek@redhat.com>
59233         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
59234         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
59235         * sysdeps/gnu/_G_config.h: Likewise.
59236         * sysdeps/generic/_G_config.h: Likewise.
59238 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
59240         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
59241         tests.
59242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59244         * sysdeps/powerpc/powerpc32/crti.S: New file.
59245         * sysdeps/powerpc/powerpc32/crtn.S: New file.
59246         * sysdeps/powerpc/powerpc64/crti.S: New file.
59247         * sysdeps/powerpc/powerpc64/crtn.S: New file.
59249         * Makeconfig (have-initfini): Don't set.
59250         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
59251         * configure.in (nopic_initfini): Don't substitute.
59252         * config.h.in (HAVE_INITFINI): Don't #undef.
59253         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
59254         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
59256 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
59258         Support crti.S and crtn.S provided directly by architectures.
59259         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
59260         [crti.S in sysdirs] (omit-deps): Likewise.
59261         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
59262         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
59263         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
59264         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
59265         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
59266         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
59267         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
59268         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
59269         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
59270         compiler output for sysdeps/generic/initfini.c.
59271         * sysdeps/i386/elf/Makefile: Remove file.
59272         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
59274 2012-02-07  Marek Polacek  <polacek@redhat.com>
59276         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
59277         * sysdeps/gnu/_G_config.h: Likewise.
59278         * sysdeps/mach/hurd/_G_config.h: Likewise.
59280 2012-02-07  Marek Polacek  <polacek@redhat.com>
59282         * math/Makefile (tests): Add tst-CMPLX2.
59283         * math/tst-CMPLX2.c: New file.
59285 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
59287         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59289         * math/libm-test.inc (jn_test): Add missing L suffix.
59291 2012-02-06  Marek Polacek  <polacek@redhat.com>
59293         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
59294         * sysdeps/i386/fpu/e_powf.S: Likewise.
59295         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
59296         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
59297         * sysdeps/i386/fpu/e_acosh.S: Likewise.
59298         * sysdeps/i386/fpu/e_pow.S: Likewise.
59299         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
59300         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
59301         * sysdeps/i386/fpu/s_expm1.S: Likewise.
59302         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
59303         * sysdeps/i386/fpu/e_log2.S: Likewise.
59304         * sysdeps/i386/fpu/e_log2l.S: Likewise.
59305         * sysdeps/i386/fpu/e_scalb.S: Likewise.
59306         * sysdeps/i386/fpu/e_powl.S: Likewise.
59307         * sysdeps/i386/fpu/s_log1p.S: Likewise.
59308         * sysdeps/i386/fpu/e_log10f.S: Likewise.
59309         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
59310         * sysdeps/i386/fpu/e_logl.S: Likewise.
59311         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
59312         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
59313         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
59314         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
59315         * sysdeps/i386/fpu/e_log2f.S: Likewise.
59316         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
59317         * sysdeps/i386/fpu/e_log.S: Likewise.
59318         * sysdeps/i386/fpu/s_cexp.S: Likewise.
59319         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
59320         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
59321         * sysdeps/i386/fpu/e_logf.S: Likewise.
59322         * sysdeps/i386/fpu/e_log10l.S: Likewise.
59323         * sysdeps/i386/fpu/e_atanh.S: Likewise.
59324         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
59325         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
59326         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
59327         * sysdeps/i386/fpu/e_log10.S: Likewise.
59328         * sysdeps/i386/fpu/s_frexp.S: Likewise.
59329         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
59330         * sysdeps/i386/fpu/s_asinh.S: Likewise.
59331         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
59332         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
59333         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
59334         * sysdeps/i386/asm-syntax.h: Likewise.
59335         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
59336         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
59337         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
59338         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
59339         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
59340         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
59341         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
59342         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
59343         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
59344         * sysdeps/powerpc/sysdep.h: Likewise.
59345         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
59346         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
59348 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
59350         [BZ #411]
59351         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
59353 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
59355         * sysdeps/i386/sysdep.h: Include <features.h>.
59356         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
59357         version.
59359 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
59361         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
59362         Define.
59363         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
59364         LOAD_PIC_REG_STR.
59366 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
59368         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
59369         (SETUP_PIC_REG): Use GET_PC_THUNK.
59370         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
59371         macro.
59373 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
59375         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
59376         for non-PIC compilation.
59377         (SETUP_PIC_REG): Add .p2align directive.
59378         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
59379         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
59380         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
59381         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
59382         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
59383         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
59384         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
59385         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
59386         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
59387         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
59388         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
59389         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
59390         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
59391         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
59392         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
59393         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
59394         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
59395         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
59396         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
59397         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
59398         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
59399         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
59400         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
59401         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
59402         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
59403         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
59404         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
59405         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
59406         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
59407         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
59408         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
59409         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
59410         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
59411         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
59412         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
59413         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
59414         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
59415         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
59416         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
59417         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
59418         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
59420 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
59422         * math/tst-CMPLX.c: Include <stdio.h>.
59424 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
59426         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
59427         float.
59428         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
59429         * sysdeps/sparc/bits/mathdef.h: Likewise.
59431 2012-01-31  Marek Polacek  <polacek@redhat.com>
59433         * libio/libio.h: Don't define _PARAMS.
59434         * locale/programs/config.h: Don't define PARAMS.
59435         * stdlib/strtol_l.c: Likewise.
59436         (__strtol_l): Remove PARAMS from the prototype.
59438 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
59440         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
59441         names.  Just use the correct names.  Remove unnecessary wrapper
59442         functions.
59443         * malloc/arena.c: Likewise.
59444         * malloc/hooks.c: Likewise.
59446         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
59447         ARENA_TEST says not to.  Simplify test for creation of a new arena.
59448         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
59450 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
59452         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
59453         into tail calls.
59454         (update_get_addr): New function.
59455         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
59456         GET_ADDR_MODULE parameter.
59458 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
59460         * crypt/cert.c: Remove __STDC__ conditionals.
59461         * crypt/crypt-entry.c: Likewise.
59462         * crypt/crypt_util.c: Likewise.
59463         * libio/filedoalloc.c: Likewise.
59464         * libio/fileops.c: Likewise.
59465         * libio/genops.c: Likewise.
59466         * libio/iofclose.c: Likewise.
59467         * libio/iofdopen.c: Likewise.
59468         * libio/iofopen.c: Likewise.
59469         * libio/iofopen64.c: Likewise.
59470         * libio/iogetdelim.c: Likewise.
59471         * libio/iopopen.c: Likewise.
59472         * libio/obprintf.c: Likewise.
59473         * libio/oldfileops.c: Likewise.
59474         * libio/oldiofclose.c: Likewise.
59475         * libio/oldiofdopen.c: Likewise.
59476         * libio/oldiofopen.c: Likewise.
59477         * libio/oldiopopen.c: Likewise.
59478         * libio/wfiledoalloc.c: Likewise.
59479         * libio/wgenops.c: Likewise.
59480         * locale/programs/xmalloc.c: Likewise.
59481         * misc/syslog.c: Likewise.
59482         * stdio-common/xbug.c: Likewise.
59483         * string/memchr.c: Likewise.
59484         * string/memcmp.c: Likewise.
59485         * string/memrchr.c: Likewise.
59486         * string/rawmemchr.c: Likewise.
59487         * sysdeps/posix/getcwd.c: Likewise.
59488         * time/strftime_l.c: Likewise.
59490 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
59492         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
59493         * config.make.in (config-cflags-sse2avx): Define.
59494         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
59495         Fix typo.
59497 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
59499         * scripts/config.guess: Update from upstream config git repository.
59500         * scripts/config.sub: Likewise.
59502 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
59504         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
59505         (EM_NUM): Update.
59506         (R_TILEPRO_*, R_TILEGX_*): New macros.
59508         * scripts/firstversions.awk: Fix bug in version range handling.
59510         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
59512         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
59514         * include/sys/epoll.h: New file.
59515         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
59516         libc_hidden_def.
59518 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
59520         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
59521         Avoid unnecessary __WORDSIZE == 64 test.
59522         (fmaxf): Use VEX format if possible.
59523         (fmax): Likewise.
59524         (fminf): Likewise.
59525         (fmin): Likewise.
59527         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
59528         * math/math_private.h: Remove libc_fegetround* and
59529         libc_fesetround*.
59530         * sysdeps/i386/configure.in: Check for -msse2avx.
59531         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
59532         also if SSE2AVX is defined.
59533         Remove libc_fegetround* and libc_fesetround*.
59534         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
59535         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
59536         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
59537         of HAS_YMM_USABLE.
59538         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
59539         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
59540         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
59541         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
59542         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
59544         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
59546 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59548         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
59549         size is not set.
59550         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
59552 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
59554         [BZ #13618]
59555         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
59556         relocation.
59557         * Makeconfig (libm): Define.
59558         * elf/Makefile: Add rules to build and run tst-relsort1.
59559         * elf/tst-relsort1.c: New file.
59560         * elf/tst-relsort1mod1.c: New file.
59561         * elf/tst-relsort1mod2.c: New file.
59563 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
59565         * math/s_ldexp.c: Remove __STDC__ conditionals.
59566         * math/s_ldexpf.c: Likewise.
59567         * math/s_ldexpl.c: Likewise.
59568         * math/s_nextafter.c: Likewise.
59569         * math/s_nexttowardf.c: Likewise.
59570         * math/s_significand.c: Likewise.
59571         * math/s_significandf.c: Likewise.
59572         * math/s_significandl.c: Likewise.
59573         * math/w_jnl.c: Likewise.
59574         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
59575         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
59576         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
59577         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
59578         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
59579         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
59580         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
59581         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
59582         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
59583         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
59584         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
59585         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
59586         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
59587         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
59588         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
59589         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
59590         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
59591         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
59592         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
59593         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
59594         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
59595         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
59596         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
59597         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
59598         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
59599         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
59600         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
59601         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
59602         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
59603         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
59604         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
59605         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
59606         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
59607         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
59608         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
59609         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
59610         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
59611         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
59612         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
59613         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
59614         * sysdeps/ieee754/k_standard.c: Likewise.
59615         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
59616         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
59617         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
59618         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
59619         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
59620         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
59621         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
59622         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
59623         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
59624         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
59625         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
59626         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
59627         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
59628         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
59629         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
59630         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
59631         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
59632         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
59633         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
59634         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
59635         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
59636         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
59637         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
59638         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
59639         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
59640         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
59641         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
59642         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
59643         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
59644         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
59645         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
59646         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
59647         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
59648         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
59649         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
59650         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
59651         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
59652         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
59653         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
59654         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
59655         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
59656         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
59657         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
59658         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
59659         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
59660         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
59661         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
59662         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
59663         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
59664         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
59665         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
59666         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
59667         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
59668         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
59669         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
59670         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
59671         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
59672         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
59673         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
59674         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
59675         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
59676         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
59677         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
59678         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
59679         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
59680         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
59681         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
59682         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
59683         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
59684         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
59685         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
59686         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
59687         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
59688         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
59689         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
59690         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
59691         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
59692         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
59693         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
59694         * sysdeps/ieee754/s_matherr.c: Likewise.
59695         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
59696         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
59697         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
59698         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
59700 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
59702         * crypt/md5.h: Remove __STDC__ conditionals.
59703         * libio/libioP.h: Likewise.
59704         * locale/programs/config.h: Likewise.
59705         * sysdeps/generic/sysdep.h: Likewise.
59706         * sysdeps/i386/asm-syntax.h: Likewise.
59707         * sysdeps/s390/asm-syntax.h: Likewise.
59708         * sysdeps/unix/sysdep.h: Likewise.
59709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
59710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
59712 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
59714         * libio/libio.h: Remove __STDC__ conditionals.
59715         * malloc/obstack.h: Likewise.
59716         * math/complex.h: Likewise.
59717         * math/math.h: Likewise.
59718         * sysdeps/generic/_G_config.h: Likewise.
59719         * sysdeps/gnu/_G_config.h: Likewise.
59720         * sysdeps/mach/hurd/_G_config.h: Likewise.
59721         * sysdeps/powerpc/bits/mathdef.h: Likewise.
59722         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
59723         * sysdeps/sparc/bits/mathdef.h: Likewise.
59725 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
59727         [BZ #13583]
59728         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
59729         Clean up HAS_* macros.
59730         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
59731         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
59732         possible.
59733         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
59734         HAS_AVX.
59735         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
59736         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
59737         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
59738         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
59739         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
59741 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
59743         * elf/tst-unique3.cc (gets): Remove declaration.
59744         * elf/tst-unique3lib.cc (gets): Likewise.
59745         * elf/tst-unique3lib2.cc (gets): Likewise.
59746         * elf/tst-unique4.cc (gets): Likewise.
59748 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
59750         * include/stdio.h: Add C++ protection.  Add gets declarations and
59751         definitions.
59752         * debug/tst-chk1.c: Don't declare gets here.
59753         * stdio-common/tst-gets.c: Likewise.
59755 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
59757         * posix/glob: Remove directory.
59759 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
59761         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
59763 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
59765         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
59766         of the non-standard EPFNOSUPPORT.
59768 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59770         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
59771         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
59772         ANYWHERE set to 1 only on KERN_NO_SPACE error.
59774 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
59776         * wcsmbs/uchar.h: Test __STDC_VERSION__.
59778 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
59780         * nscd/aicache.c (addhstaiX): Do not cache negative results of
59781         transient errors.
59782         * nscd/grpcache.c (cache_addgr): Likewise.
59783         * nscd/hstcache.c (cache_addhst): Likewise.
59784         * nscd/initgrcache.c (addinitgroupsX): Likewise.
59785         * nscd/pwdcache.c (cache_addpw): Likewise.
59786         * nscd/servicescache.c (cache_addserv): Likewise.
59788 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
59790         * malloc/malloc.c: Various cleanups.
59791         * malloc/hooks.c: Likewise.
59793         * stdlib/Makefile (tests): Add bug-fmtmsg1.
59794         * stdlib/bug-fmtmsg1.c: New file.
59796         * stdlib/fmtmsg.c (init): Add missing unlock.
59797         Patch by Peng Haitao <penght@cn.fujitsu.com>.
59799 2012-01-12  Marek Polacek  <polacek@redhat.com>
59801         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
59802         and _GNU_SOURCE.
59804 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
59806         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
59807         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
59808         macro to ensure uniqueness of label name.
59809         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
59810         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
59812 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
59814         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
59816         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
59817         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
59818         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
59819         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
59821 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
59823         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
59825         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
59826         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
59827         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
59829         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
59831         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
59832         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
59833         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
59834         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
59836         * math/bits/math-finite.h: Add ldexp support.
59838 2012-01-10  Marek Polacek  <polacek@redhat.com>
59840         * locale/programs/localedef.h (show_archive_content): Add noreturn
59841         attribute.
59843 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
59845         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
59847 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
59849         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
59851         * io/Makefile (headers): Add bits/poll2.h.
59853 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
59855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
59856         typo #include statement.
59858 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
59860         * include/sys/cdefs.h: Define __attribute_alloc_size.
59861         * catgets/gencat.c: Add alloc_size attribute and apply consistently
59862         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
59863         * elf/pldd.c: Likewise.
59864         * iconv/iconv_charmap.c: Likewise.
59865         * iconv/iconvconfig.c: Likewise.
59866         * iconv/strtab.c: Likewise.
59867         * locale/programs/locale.c: Likewise.
59868         * locale/programs/localedef.h: Likewise.
59869         * locale/programs/simple-hash.c: Likewise.
59870         * nscd/nscd.h: Likewise.
59871         * nss/makedb.c: Likewise.
59872         * sysdeps/generic/ldconfig.h: Likewise.
59873         * locale/programs/localedef.c: Remove xmalloc prototype.
59874         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
59876 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
59878         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
59879         appropriate.
59881 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
59883         * math/Makefile (tests): Add tst-CMPLX.
59884         * math/tst-CMPLX.c: New file.
59886         * math/complex.h (CMPLXL): Fix typo.
59888         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
59889         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
59890         GLIBC_2.16.
59891         * debug/tst-chk1.c: Add poll and ppoll tests.
59892         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
59893         * include/sys/poll.h: Add hidden proto for ppoll.
59894         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
59895         * sysdeps/mach/hurd/ppoll.c: Likewise.
59896         * io/ppoll.c: Likewise.
59897         * debug/poll_chk.c: New file.
59898         * debug/ppoll_chk.c: New file.
59899         * include/bits/poll2.h: New file.
59900         * io/bits/poll2.h: New file.
59902         [BZ #1350]
59903         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
59905         * configure.in: static is always set to yes.  Remove.
59906         * config.make.in: Don't set build-static.
59907         * Makeconfig: Remove use of build-static.
59908         * dlfcn/Makefile: Likewise.
59909         * elf/Makefile: Likewise.
59910         * math/Makefile: Likewise.
59911         * misc/Makefile: Likewise.
59912         * nptl/Makefile: Likewise.
59913         * sysdeps/mach/hurd/Makefile: Likewise.
59915         * configure.in: PWD_P is not used anymore.
59916         * config.make.in: Remove PWD_P entry.
59918         * configure.in: Remove last remnants of RANLIB.
59919         No need to check for signed size_t anymore.
59920         Don't set libc_commonpagesize and libc_relro_required here for Alpha
59921         and IA-64.
59922         Remove __builtin_expect test because we require at least gcc 3.4.
59923         * aclocal.m4: Likewise.
59925         * wcsmbs/mbrtoc16.c: Implement using towc function.
59926         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
59927         * wcsmbs/wcsmbsload.c: Likewise.
59928         * iconv/gconv_simple.c: Likewise.
59929         * iconv/gconv_int.h: Likewise.
59930         * iconv/gconv_builtin.h: Likewise.
59931         * iconv/iconv_prog.c: Remove CHAR16 handling.
59933         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
59935         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
59937         * configure.in: Remove --with-elf and --enable-bounded options.
59938         Dont set base_machine for ia64.  More non-ELF conditions removed.
59939         Remove testing and setting of leading underscore information.
59940         * config.make.in (build-bounded): Set to no.
59941         * config.h.in: Remove NO_UNDERSCORES entry.
59942         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
59943         them.
59944         * csu/start.c: Remove !NO_UNDERSCORE code.
59945         * locale/localeinfo.h: Likewise.
59946         * sysdeps/generic/machine-gmon.h: Likewise.
59947         * sysdeps/generic/sysdep.h: Likewise.
59948         * sysdeps/i386/sysdep.h: Likewise.
59949         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
59950         * sysdeps/mach/sysdep.h: Likewise.
59951         * sysdeps/s390/s390-32/sysdep.h: Likewise.
59952         * sysdeps/s390/s390-64/sysdep.h: Likewise.
59953         * sysdeps/sh/sysdep.h: Likewise.
59954         * sysdeps/sparc/sparc32/alloca.S: Likewise.
59955         * sysdeps/unix/i386/sysdep.S: Likewise.
59956         * sysdeps/unix/sparc/start.c: Likewise.
59957         * sysdeps/unix/sparc/sysdep.S: Likewise.
59958         * sysdeps/unix/sparc/sysdep.h: Likewise.
59959         * sysdeps/unix/start.c: Likewise.
59960         * sysdeps/unix/x86_64/sysdep.S: Likewise.
59961         * sysdeps/x86_64/sysdep.h: Likewise.
59963 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
59965         [BZ #13553]
59966         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
59967         for non-gcc.
59968         * argp/argp-fmtstream.h: Use const instead __const.
59969         * argp/argp.h: Likewise.
59970         * assert/assert.h: Likewise.
59971         * bits/fenv.h: Likewise.
59972         * bits/sched.h: Likewise.
59973         * bits/sigset.h: Likewise.
59974         * bits/sigthread.h: Likewise.
59975         * catgets/nl_types.h: Likewise.
59976         * conform/data/pthread.h-data: Likewise.
59977         * crypt/crypt-private.h: Likewise.
59978         * crypt/crypt.h: Likewise.
59979         * crypt/crypt_util.c: Likewise.
59980         * ctype/ctype.h: Likewise.
59981         * debug/execinfo.h: Likewise.
59982         * debug/mbsnrtowcs_chk.c: Likewise.
59983         * debug/mbsrtowcs_chk.c: Likewise.
59984         * debug/wcsnrtombs_chk.c: Likewise.
59985         * debug/wcsrtombs_chk.c: Likewise.
59986         * debug/wcstombs_chk.c: Likewise.
59987         * dirent/dirent.h: Likewise.
59988         * dlfcn/dlfcn.h: Likewise.
59989         * elf/neededtest4.c: Likewise.
59990         * grp/grp.h: Likewise.
59991         * gshadow/gshadow.h: Likewise.
59992         * iconv/gconv.h: Likewise.
59993         * iconv/gconv_int.h: Likewise.
59994         * iconv/gconv_simple.c: Likewise.
59995         * iconv/iconv.h: Likewise.
59996         * iconv/loop.c: Likewise.
59997         * iconv/skeleton.c: Likewise.
59998         * include/aio.h: Likewise.
59999         * include/aliases.h: Likewise.
60000         * include/argz.h: Likewise.
60001         * include/arpa/inet.h: Likewise.
60002         * include/assert.h: Likewise.
60003         * include/dirent.h: Likewise.
60004         * include/dlfcn.h: Likewise.
60005         * include/execinfo.h: Likewise.
60006         * include/fcntl.h: Likewise.
60007         * include/fenv.h: Likewise.
60008         * include/glob.h: Likewise.
60009         * include/grp.h: Likewise.
60010         * include/libintl.h: Likewise.
60011         * include/mntent.h: Likewise.
60012         * include/netdb.h: Likewise.
60013         * include/pwd.h: Likewise.
60014         * include/rpc/netdb.h: Likewise.
60015         * include/sched.h: Likewise.
60016         * include/search.h: Likewise.
60017         * include/shadow.h: Likewise.
60018         * include/signal.h: Likewise.
60019         * include/stdio.h: Likewise.
60020         * include/stdlib.h: Likewise.
60021         * include/string.h: Likewise.
60022         * include/sys/socket.h: Likewise.
60023         * include/sys/stat.h: Likewise.
60024         * include/sys/statfs.h: Likewise.
60025         * include/sys/statvfs.h: Likewise.
60026         * include/sys/syslog.h: Likewise.
60027         * include/sys/time.h: Likewise.
60028         * include/sys/uio.h: Likewise.
60029         * include/time.h: Likewise.
60030         * include/unistd.h: Likewise.
60031         * include/utmp.h: Likewise.
60032         * include/wchar.h: Likewise.
60033         * include/wctype.h: Likewise.
60034         * inet/aliases.h: Likewise.
60035         * inet/arpa/inet.h: Likewise.
60036         * inet/netinet/ether.h: Likewise.
60037         * inet/netinet/in.h: Likewise.
60038         * intl/libintl.h: Likewise.
60039         * io/bits/fcntl2.h: Likewise.
60040         * io/fcntl.h: Likewise.
60041         * io/ftw.h: Likewise.
60042         * io/sys/poll.h: Likewise.
60043         * io/sys/stat.h: Likewise.
60044         * io/sys/statfs.h: Likewise.
60045         * io/sys/statvfs.h: Likewise.
60046         * io/utime.h: Likewise.
60047         * libio/bits/stdio.h: Likewise.
60048         * libio/bits/stdio2.h: Likewise.
60049         * libio/libio.h: Likewise.
60050         * libio/libioP.h: Likewise.
60051         * libio/stdio.h: Likewise.
60052         * locale/lc-ctype.c: Likewise.
60053         * locale/locale.h: Likewise.
60054         * login/utmp.h: Likewise.
60055         * malloc/arena.c: Likewise.
60056         * malloc/malloc.c: Likewise.
60057         * malloc/malloc.h: Likewise.
60058         * malloc/mcheck.c: Likewise.
60059         * malloc/mtrace.c: Likewise.
60060         * math/bits/mathcalls.h: Likewise.
60061         * math/fenv.h: Likewise.
60062         * math/math_private.h: Likewise.
60063         * misc/bits/error.h: Likewise.
60064         * misc/bits/syslog.h: Likewise.
60065         * misc/err.h: Likewise.
60066         * misc/error.h: Likewise.
60067         * misc/fstab.h: Likewise.
60068         * misc/mntent.h: Likewise.
60069         * misc/regexp.h: Likewise.
60070         * misc/search.h: Likewise.
60071         * misc/sgtty.h: Likewise.
60072         * misc/sys/mman.h: Likewise.
60073         * misc/sys/syslog.h: Likewise.
60074         * misc/sys/uio.h: Likewise.
60075         * misc/sys/xattr.h: Likewise.
60076         * misc/ttyent.h: Likewise.
60077         * nis/rpcsvc/ypclnt.h: Likewise.
60078         * nss/nss.h: Likewise.
60079         * posix/bits/unistd.h: Likewise.
60080         * posix/fnmatch.h: Likewise.
60081         * posix/glob.h: Likewise.
60082         * posix/sched.h: Likewise.
60083         * posix/spawn.h: Likewise.
60084         * posix/sys/wait.h: Likewise.
60085         * posix/unistd.h: Likewise.
60086         * posix/wordexp.h: Likewise.
60087         * pwd/pwd.h: Likewise.
60088         * resolv/netdb.h: Likewise.
60089         * resource/sys/resource.h: Likewise.
60090         * rt/aio.h: Likewise.
60091         * rt/bits/mqueue2.h: Likewise.
60092         * rt/mqueue.h: Likewise.
60093         * shadow/shadow.h: Likewise.
60094         * signal/signal.h: Likewise.
60095         * socket/send.c: Likewise.
60096         * socket/sendto.c: Likewise.
60097         * socket/sys/socket.h: Likewise.
60098         * stdio-common/printf.h: Likewise.
60099         * stdlib/bits/stdlib.h: Likewise.
60100         * stdlib/fmtmsg.h: Likewise.
60101         * stdlib/monetary.h: Likewise.
60102         * stdlib/stdlib.h: Likewise.
60103         * stdlib/ucontext.h: Likewise.
60104         * streams/stropts.h: Likewise.
60105         * string/argz.h: Likewise.
60106         * string/bits/string2.h: Likewise.
60107         * string/string.h: Likewise.
60108         * string/strings.h: Likewise.
60109         * sunrpc/rpc/auth.h: Likewise.
60110         * sunrpc/rpc/auth_des.h: Likewise.
60111         * sunrpc/rpc/clnt.h: Likewise.
60112         * sunrpc/rpc/netdb.h: Likewise.
60113         * sunrpc/rpc/pmap_clnt.h: Likewise.
60114         * sunrpc/rpc/xdr.h: Likewise.
60115         * sysdeps/generic/inttypes.h: Likewise.
60116         * sysdeps/generic/net/if.h: Likewise.
60117         * sysdeps/generic/sys/swap.h: Likewise.
60118         * sysdeps/gnu/net/if.h: Likewise.
60119         * sysdeps/gnu/utmpx.h: Likewise.
60120         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
60121         * sysdeps/i386/i486/bits/string.h: Likewise.
60122         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
60123         * sysdeps/s390/bits/string.h: Likewise.
60124         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
60125         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
60126         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
60127         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
60128         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
60129         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
60130         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
60131         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
60132         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
60133         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
60134         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
60135         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
60136         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
60137         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
60138         * sysdeps/unix/sysv/linux/readv.c: Likewise.
60139         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
60140         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
60141         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
60142         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
60143         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
60144         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
60145         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
60146         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
60147         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
60148         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
60149         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
60150         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
60151         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
60152         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
60153         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
60154         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
60155         * sysvipc/sys/ipc.h: Likewise.
60156         * sysvipc/sys/msg.h: Likewise.
60157         * sysvipc/sys/sem.h: Likewise.
60158         * sysvipc/sys/shm.h: Likewise.
60159         * termios/termios.h: Likewise.
60160         * time/sys/time.h: Likewise.
60161         * time/time.h: Likewise.
60162         * wcsmbs/bits/wchar2.h: Likewise.
60163         * wcsmbs/uchar.h: Likewise.
60164         * wcsmbs/wchar.h: Likewise.
60165         * wctype/wctype.h: Likewise.
60167         [BZ #13551]
60168         * Makeconfig: Remove all but ELF support including AIX support.
60169         * Makerules: Likewise.
60170         * config.h.in: Likewise.
60171         * config.make.in: Likewise.
60172         * configure: Likewise.
60173         * configure.in: Likewise.
60174         * csu/Makefile: Likewise.
60175         * csu/version.c: Likewise.
60176         * debug/Makefile: Likewise.
60177         * dlfcn/Makefile: Likewise.
60178         * elf/Makefile: Likewise.
60179         * extra-lib.mk: Likewise.
60180         * iconv/Makefile: Likewise.
60181         * include/libc-symbols.h: Likewise.
60182         * include/shlib-compat.h: Likewise.
60183         * resolv/Makefile: Likewise.
60184         * resolv/res_libc.c: Likewise.
60185         * rt/Makefile: Likewise.
60186         * sysdeps/i386/asm-syntax.h: Likewise.
60187         * sysdeps/i386/sysdep.h: Likewise.
60188         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
60189         * sysdeps/mach/sysdep.h: Likewise.
60190         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
60191         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
60192         * sysdeps/s390/asm-syntax.h: Likewise.
60193         * sysdeps/s390/s390-32/sysdep.h: Likewise.
60194         * sysdeps/s390/s390-64/sysdep.h: Likewise.
60195         * sysdeps/sh/sysdep.h: Likewise.
60196         * sysdeps/unix/sparc/sysdep.h: Likewise.
60197         * sysdeps/wordsize-32/divdi3.c: Likewise.
60198         * sysdeps/x86_64/sysdep.h: Likewise.
60200         * argp/Versions: Remove _argp_unlock_xxx.
60202         [BZ #13559]
60203         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
60204         * abilist/libBrokenLocale.abilist: Likewise.
60205         * abilist/libanl.abilist: Likewise.
60206         * abilist/libc.abilist: Likewise.
60207         * abilist/libcrypt.abilist: Likewise.
60208         * abilist/libdl.abilist: Likewise.
60209         * abilist/libm.abilist: Likewise.
60210         * abilist/libnsl.abilist: Likewise.
60211         * abilist/libpthread.abilist: Likewise.
60212         * abilist/libresolv.abilist: Likewise.
60213         * abilist/librt.abilist: Likewise.
60214         * abilist/libthread_db.abilist: Likewise.
60215         * abilist/libutil.abilist: Likewise.
60216         * abilist/libnss_db.abilist: New file.
60218         * scripts/abilist.awk: Add support for indirect functions.
60220         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
60222         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
60224         * shlib-versions: Remove entries for ports architectures.
60226         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
60227         files in ports.
60228         * elf/stackguard-macros.h: Remove support for IA-64.
60229         * elf/tst-auditmod1.c: Likewise.
60230         * sysdeps/generic/ldsodefs.h: Likewise.
60232         * sysdeps/unix/sysv/linux/configure.in: Ports should define
60233         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
60234         configure files.
60236         [BZ #13552]
60237         * configure.in: Remove --enable-omitfp support.
60238         * FAQ.in: Adjust.
60239         * config.make.in: Likewise.
60240         * Makeconfig: Likewise.
60241         * manual/install.texi: Likewise.
60243         In case anyone cares, the IA-64 architecture could move to ports.
60244         * sysdeps/ia64/*: Removed.
60245         * sysdeps/unix/sysv/linux/ia64/*: Removed.
60246         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
60248         [BZ #13555]
60249         * configure.in: Remove entries for unsupported architectures.
60251         [BZ #13533]
60252         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
60253         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
60254         routines.
60255         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
60256         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
60257         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
60258         fall back to using wcrtomb.
60259         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
60260         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
60261         renaming.
60262         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
60263         * wcsmbs/tst-c16c32-1.c: New file.
60265         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
60266         local variable.
60268         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
60270         * elf/tst-unique3.cc: Add explicit declaration of gets.
60271         * elf/tst-unique3lib.cc: Likewise.
60272         * elf/tst-unique3lib2.cc: Likewise.
60273         * elf/tst-unique4.cc: Likewise.
60275         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
60277 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
60279         [BZ #13566]
60280         * assert/assert.h (static_assert): Don't define for C++.
60281         * libio/stdio.h (gets): Do declare for C++ <= C++11.
60282         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
60284 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
60286         * iconv/loop.c (single loop): Fix assertion in storing of
60287         remaining bytes.
60289         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
60291 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
60293         * posix/getconf.c: Update copyright year.
60294         * nss/getent.c: Likewise.
60295         * nss/makedb.c: Likewise.
60296         * iconv/iconvconfig.c: Likewise.
60297         * iconv/iconv_prog.c: Likewise.
60298         * elf/ldconfig.c: Likewise.
60299         * elf/pldd.c: Likewise.
60300         * elf/sotruss.ksh: Likewise.
60301         * catgets/gencat.c: Likewise.
60302         * csu/version.c: Likewise.
60303         * elf/ldd.bash.in: Likewise.
60304         * elf/sprof.c (print_version): Likewise.
60305         * locale/programs/locale.c: Likewise.
60306         * locale/programs/localedef.c: Likewise.
60307         * login/programs/pt_chown.c: Likewise.
60308         * nscd/nscd.c (print_version): Likewise.
60309         * debug/xtrace.sh: Likewise.
60310         * malloc/memusage.sh: Likewise.
60311         * malloc/mtrace.pl: Likewise.
60312         * debug/catchsegv.sh: Likewise.
60314 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
60316         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
60317         pure attribute.
60319 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
60321         [BZ #13533]
60322         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
60323         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
60324         transformations.
60325         * iconv/gconv_int.h: Likewise.
60326         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
60327         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
60328         from libc for GLIBC_2.16.
60329         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
60330         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
60331         * wcsmbs/uchar.h: Really define mbstate_t.
60332         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
60333         * wcsmbs/c16rtomb.c: New file.
60334         * wcsmbs/mbrtoc16.c: New file.
60335         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
60336         for C/POSIX locale.
60337         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
60338         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
60340         * wcsmbs/wchar.h: Add missing __restrict.
60342 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
60344         [BZ #13532]
60345         * time/Makefile (routines): Add timespec_get.
60346         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
60347         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
60348         timespec for ISO C11.
60349         * time/timespec_get.c: New file.
60350         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
60351         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
60353         [BZ #13531]
60354         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
60355         * stdlib/stdlib.h: Declare aligned_alloc.
60356         * Versions.def: Add GLIBC_2.16 for libc.
60357         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
60359         [BZ 13527]
60360         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
60361         ISO C11.
60363         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
60364         code.
60366         [BZ #13528]
60367         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
60369         [BZ #13529]
60370         * assert/assert.h (static_assert): Define.
60372         * version.h: Update for 2.16 development version.
60374         [BZ #13526]
60375         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
60376         _ISOC11_SOURCE.
60378         * version.h (RELEASE): Bump for 2.15 release.
60379         * include/features.h (__GLIBC_MINOR__): Bump to 15.
60381         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
60382         Patch by Marek Polacek <mpolacek@redhat.com>.
60384         * bits/byteswap.h: Protect long long constants with __extension__.
60385         * sysdeps/i386/bits/byteswap.h: Likewise.
60386         * sysdeps/ia64/bits/byteswap.h: Likewise.
60387         * sysdeps/s390/bits/byteswap.h: Likewise.
60388         * sysdeps/x86_64/bits/byteswap.h: Likewise.
60390 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60392         [BZ #13540]
60393         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
60394         destination buffer.
60395         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
60397 2011-12-23  Marek Polacek  <polacek@redhat.com>
60399         * elf/dl-addr.c (determine_info): Add inline keyword.
60400         * elf/tst-auditmod4b.c (check_avx): Likewise.
60401         * elf/tst-auditmod6b.c (check_avx): Likewise.
60402         * elf/tst-auditmod6c.c (check_avx): Likewise.
60403         * elf/tst-auditmod7b.c (check_avx): Likewise.
60405 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
60407         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
60408         !__SSE_MATH__.
60410 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60412         [BZ #13540]
60413         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
60414         processing for last bytes.
60416 2011-08-06  Bruno Haible  <bruno@clisp.org>
60418         [BZ #13061]
60419         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
60420         U+0385, not to U+1FEE.
60422         [BZ #13062]
60423         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
60424         entry for U+00A5 U+0301.
60426 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
60428         [BZ #13166]
60429         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
60430         buffer for the output is too small.
60432         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
60433         optimization.
60435         [BZ #13185]
60436         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
60437         SSE flags if possible.
60439 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60441         [BZ #13540]
60442         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
60443         processing for last bytes.
60445 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
60447         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
60448         (syscall-list-default-options, syscall-list-default-condition)
60449         (syscall-list-includes): Define.
60450         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
60451         list of ABIs and options and #if conditions for each ABI.  Do not
60452         handle common syscalls between ABIs specially.
60453         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
60454         Remove.
60455         (syscall-list-variants, syscall-list-32bit-options)
60456         (syscall-list-32bit-condition, syscall-list-64bit-options)
60457         (syscall-list-64bit-condition): Define.
60458         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
60459         (syscall-list-variants, syscall-list-32bit-options)
60460         (syscall-list-32bit-condition, syscall-list-64bit-options)
60461         (syscall-list-64bit-condition): Define.
60462         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
60463         Remove.
60464         (syscall-list-variants, syscall-list-32bit-options)
60465         (syscall-list-32bit-condition, syscall-list-64bit-options)
60466         (syscall-list-64bit-condition): Define.
60467         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
60468         Remove.
60469         (syscall-list-variants, syscall-list-32bit-options)
60470         (syscall-list-32bit-condition, syscall-list-64bit-options)
60471         (syscall-list-64bit-condition): Define.
60473 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
60475         * locale/iso-639.def: Add brx entry.
60477         [BZ #13328]
60478         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
60479         Proposed by Mariusz_Cukr <marcukr@op.pl>.
60481         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
60482         __feraiseexcept_renamed.
60484 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
60486         [BZ #13538]
60487         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
60488         EPOLLET with unsigned values.
60489         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
60490         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
60492         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
60493         to large cancellation.
60494         * math/s_cacoshf.c: Likewise.
60495         * math/s_cacoshl.c: Likewise.
60497 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
60499         [BZ #13305]
60500         [BZ #12786]
60501         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
60502         * math/s_cacoshf.c: Likewise.
60503         * math/s_cacoshl.c: Likewise.
60505 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
60507         [BZ #13439]
60508         * iconv/gconv.h: Define __GCONV_SWAP.
60509         * iconvdata/unicode.c: The swap bit must be stored in __flags.
60510         * iconvdata/utf-16.c: Likewise.
60511         * iconvdata/utf-32.c: Likewise.
60513 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
60515         [BZ #13524]
60516         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
60517         numerator after shifting it by one limb.
60519 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
60521         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
60522         under [__USE_EXTERN_INLINES].
60524 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
60526         [BZ #13446]
60527         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
60529 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60531         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
60532         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
60533         optimized code.
60534         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
60535         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
60536         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
60537         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
60538         for strncasecmp/strncasecmp_l compilation.
60539         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
60540         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
60542 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
60544         [BZ #13484]
60545         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
60546         of __asm__.
60548 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
60550         [BZ #13506]
60551         * time/tzfile.c (__tzfile_read): Check values from file header.
60553 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
60555         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
60556         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
60557         * powerpc/powerpc32/dl-start.S: Likewise.
60558         * powerpc/powerpc32/elf/start.S: Likewise.
60559         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
60560         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
60561         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
60562         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
60563         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
60564         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
60565         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
60566         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
60567         * powerpc/powerpc32/fpu/s_round.S: Likewise.
60568         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
60569         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
60570         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
60571         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
60572         * powerpc/powerpc32/memset.S: Likewise.
60573         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
60574         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
60575         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
60576         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
60577         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
60578         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
60579         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
60580         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
60581         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
60582         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
60583         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
60584         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
60585         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
60587 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60589         * math/libm-test.inc: Added more nearbyint tests.
60590         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
60591         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
60592         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
60593         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
60595 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
60597         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
60598         FD_CLOEXEC.
60600 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60602         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
60603         Add wcscpy-ssse3 wcscpy-c.
60604         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
60605         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
60606         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
60607         * sysdeps/x86_64/wcschr.S: New file.
60608         * sysdeps/x86_64/wcsrchr.S: New file.
60609         * string/test-strcmp.c: Remove checking of wcscmp function for
60610         wrong alignments.
60611         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
60612         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
60613         wcsrchr-sse2 wcsrchr-c.
60614         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
60615         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
60616         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
60617         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
60618         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
60619         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
60620         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
60621         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
60622         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
60623         * wcsmbc/wcschr.c (WCSCHR): New macro.
60625 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60627         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
60628         * wcsmbs/test-wcsrchr.c: New file.
60629         * string/test-strrchr.c: Add wcsrchr support.
60630         (WIDE): New macro.
60631         * wcsmbs/test-wcscpy.c: New file.
60632         * string/test-strcpy.c: Add wcscpy support.
60633         (WIDE): New macro.
60635 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
60637         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
60638         the inner loop.
60640 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
60642         [BZ #13472]
60643         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
60645 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
60647         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
60648         Minor optimizations.
60650         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
60651         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
60652         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
60654 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
60656         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
60657         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
60658         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
60659         for gcc to avoid warnings.
60660         * inet/Makefile (tests): Add tst-checks.
60661         * inet/tst-checks.c: New file.
60663         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
60664         warning.
60666         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
60667         __wmemcmp_sse2.
60669         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
60670         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
60672         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
60674 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
60676         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
60677         problem.
60679         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
60681 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
60683         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
60684         conditional on GCC version.
60685         (__arch_compare_and_exchange_val_8_acq)
60686         (__arch_compare_and_exchange_val_16_acq)
60687         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
60688         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
60689         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
60691 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
60693         * sysdeps/sh/backtrace.c: New file.
60695 2011-12-02  Andreas Schwab  <schwab@redhat.com>
60697         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
60698         parenthesis.
60700 2011-12-01  Andreas Schwab  <schwab@redhat.com>
60702         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
60703         falling back to utime.
60705 2011-11-30  Andreas Schwab  <schwab@redhat.com>
60707         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
60708         expectations for float.
60710 2011-11-29  Andreas Schwab  <schwab@redhat.com>
60712         * locale/weight.h (findidx): Add parameter len.
60713         * locale/weightwc.h (findidx): Likewise.
60714         * posix/fnmatch_loop.c (FCT): Adjust caller.
60715         * posix/regcomp.c (build_equiv_class): Likewise.
60716         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
60717         * posix/regexec.c (check_node_accept_bytes): Likewise.
60718         * string/strcoll_l.c (STRCOLL): Likewise.
60719         * string/strxfrm_l.c (STRXFRM): Likewise.
60721 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
60723         * Makefile.in: Remove CVSOPT handling.
60724         * configure.in: Remove use of AC_REVISION.
60725         * iconvdata/Makefile (distribute): No need to filter out CVS.
60726         * scripts/list-sources.sh: Remove CVS, subversion and monotone
60727         handling.
60729 2011-11-16  Andreas Schwab  <schwab@redhat.com>
60731         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
60732         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
60733         [USE_AS_STRNCASECMP_L]: Likewise.
60734         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
60735         NO_TLS_DIRECT_SEG_REFS.
60736         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
60737         Fix argument offsets for non-PIC.
60738         [USE_AS_STRNCASECMP_L]: Likewise.
60739         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
60740         NO_TLS_DIRECT_SEG_REFS.
60742 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
60744         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
60745         O_CLOEXEC.
60746         * locale/loadlocale.c (_nl_load_locale): Likewise.
60748 2011-11-15  Andreas Schwab  <schwab@redhat.com>
60750         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
60751         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
60752         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
60753         (SYSCALL_GETTIME): Set errno on error.
60755         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
60756         count references to noai6ai_cached.
60758 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
60760         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
60762         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
60763         FD_CLOEXEC for /proc/self/maps.
60765         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
60766         FD_CLOEXEC for /proc/meminfo.
60768         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
60769         gai.conf.
60771         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
60772         FD_CLOEXEC for given file.
60774         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
60776         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
60777         FD_CLOEXEC for /etc/hosts.
60778         (_gethtent): Likewise.
60780         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
60782         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
60783         cancellation and set FD_CLOEXEC for /etc/netgroup.
60785         * nss/nss_files/files-key.c (search): Don't allow cancellation when
60786         reading /etc/publickey.
60788         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
60789         allow cancellation when reading /etc/group.
60791         * nss/nss_files/files-alias.c (internal_setent): Don't allow
60792         cancellation.
60793         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
60795         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
60796         when using data file.
60798         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
60800         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
60801         (write_nis_obj): Use "c" and "e" in fopen.
60803         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
60805         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
60807         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
60809         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
60811         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
60812         locale.alias.
60814         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
60816         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
60818         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
60820         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
60821         file parsing and set FD_CLOEXEC.
60823 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
60825         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
60827 2011-11-14  Andreas Schwab  <schwab@redhat.com>
60829         * malloc/arena.c (arena_get2): Don't call reused_arena when
60830         _int_new_arena failed.
60832 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
60834         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
60835         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
60836         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
60837         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
60838         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
60839         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
60840         to compile strcasecmp and strncasecmp.
60841         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
60842         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
60844         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
60846 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
60848         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
60849         locale-defines.sym to gen-as-const-headers.
60850         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
60851         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
60852         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
60853         to compile strcasecmp and strncasecmp.
60854         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
60855         strcasecmp_l and strncasecmp_l.
60856         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
60857         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
60858         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
60859         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
60860         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
60861         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
60862         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
60863         * sysdeps/i386/i686/multiarch/strncase.S: New file.
60864         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
60865         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
60866         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
60868 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
60870         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
60871         result of SYSDEP_GETTIME_CPU to retval.
60872         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
60873         parameter list to macro.  Remove trailing semicolon.  Adjust users.
60875         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
60876         variable.
60878         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
60879         mantissa words.
60880         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
60882         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
60883         from unused variable.
60885         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
60886         DWARF definitions.
60887         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
60888         for assembling.
60890         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
60891         over namespaces.
60893         * sunrpc/rpc_prot.c (rejected): Fix case value.
60895         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
60896         unsigned long long int to avoid warnings in shift.
60898         * posix/regex_internal.c (re_string_reconstruct): Actually use result
60899         of use of trans.
60900         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
60901         variable tmp.
60903         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
60904         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
60905         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
60907         * nis/nis_table.c (nis_list): Use variable of correct type for
60908         result of __follow_path call.
60910 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60912         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
60913         of math functions ceil, trunc, floor, round, and sqrt, when
60914         avaliable on the platform.
60915         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
60916         name clash.
60917         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
60918         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
60919         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
60921 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
60923         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
60924         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
60926 2011-11-11  Roland McGrath  <roland@hack.frob.com>
60928         * include/unistd.h: Fix __readlink return type.
60929         Reported by Chris Metcalf <cmetcalf@tilera.com>.
60931 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
60933         * stdlib/ucontext.h: Undo last change for makecontext.
60935 2011-11-11  Andreas Schwab  <schwab@redhat.com>
60937         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
60939         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
60940         * setjmp/setjmp.h: Mark functions as non-leaf.
60941         * setjmp/bits/setjmp2.h: Likewise.
60942         * stdlib/ucontext.h: Likewise.
60944 2011-11-10  Andreas Schwab  <schwab@redhat.com>
60946         * malloc/arena.c (_int_new_arena): Don't increment narenas.
60947         (reused_arena): Don't check arena limit.
60948         (arena_get2): Atomically check arena limit.
60950 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
60952         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
60953         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
60955         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
60956         instructions.
60958 2011-11-07  Andreas Schwab  <schwab@redhat.com>
60960         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
60961         handler when locking.
60963         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
60964         Fix size of allocated buffer.
60966 2011-11-04  Andreas Schwab  <schwab@redhat.com>
60968         [BZ #10103]
60969         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
60970         declarations for long double functions.
60971         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
60973         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
60975 2011-11-03  Andreas Schwab  <schwab@redhat.com>
60977         * nscd/nscd.c (main): Don't start AVC thread until credentials are
60978         installed.
60980         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
60981         is disabled.
60983 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60985         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
60987 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
60989         * include/alloca.h (stackinfo_alloca_round): Define.
60990         (extend_alloca): Use it.
60991         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
60992         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
60993         here.
60995         * scripts/check-local-headers.sh: Ignore libaudit.h.
60997         * nscd/Makefile (extra-objs): Make recursively expanded.
60999 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
61001         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
61002         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
61004         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
61005         * posix/tst-rfc3484-2.c: Likewise.
61006         * posix/tst-rfc3484-3.c: Likewise.
61008         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
61009         process_vm_writev.
61010         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
61011         process_vm_writev.
61012         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
61013         process_vm_writev from libc using GLIBC_2.15 version.
61015         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
61017 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
61019         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
61020         stack usage.
61022 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
61024         [BZ #13367]
61025         * nss/getent.c (initgroups_keys): Show error message in case no group
61026         names are given.
61028         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
61029         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
61030         __bump_nl_timestamp.
61031         * nscd/connections (nscd_init): When host database is served open
61032         netlink socket and request notification about configuration changes.
61033         (main_loop_poll): Track netlink file descriptor and bump timestamp
61034         in case data becomes available.
61035         (main_loop_epoll): Likewise.
61036         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
61037         (database_pers_head): Add extra_data fileds.
61038         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
61039         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
61040         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
61041         Adjust caller.
61042         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
61043         in6ai data, call __free_in6ai.
61044         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
61045         Add -DHAVE_NETLINK.
61046         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
61047         interface information.  Reuse previous data if netlink timestamp
61048         is not changed.
61049         (__bump_nl_timestamp): New function.
61050         (__free_in6ai): New function.
61052 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
61054         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
61055         close_not_cancel_no_status here.
61056         (__check_pf): Reorganize code a bit to not call close twice if OOM.
61058 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
61060         [BZ #13276]
61061         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
61062         return value.
61064         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
61065         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
61066         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
61068 2011-07-03  Andreas Jaeger  <aj@suse.de>
61070         [BZ #10709]
61071         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
61072         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
61073         * math/libm-test.inc (sin_test): Add test case.
61075 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
61077         [BZ #13337]
61078         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
61079         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
61081         * elf/chroot_canon.c (chroot_canon): Cleanups.
61083         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
61085         [BZ #13335]
61086         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
61087         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
61089         * string/test-strchr.c: Make usable for strchrnul testing.
61090         * string/test-strchrnul.c: New file.
61091         * string/Makefile (strop-tests): Add strchrnul.
61093         * po/it.po: Update from translation team.
61094         * po/es.po: Likewise.
61096 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
61098         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
61099         the three constants needed as parameters.  Drop the others.
61100         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
61101         __m128i_strloadu_tolower.
61102         Create and initialize variable zero and use it in all the places
61103         where _mm_setzero_si128 was used.
61105         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
61106         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
61107         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
61108         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
61109         anymore.
61110         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
61111         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
61112         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
61113         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
61114         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
61115         __mpranred, __mptan.
61116         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
61117         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
61118         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
61119         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
61120         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
61121         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
61122         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
61123         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
61124         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
61126 2011-10-28  Andreas Schwab  <schwab@redhat.com>
61128         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
61129         redefine if SHARED.
61130         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
61132         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
61133         wide char related routines to wcsmbs subdir.
61135 2011-10-27  Andreas Schwab  <schwab@redhat.com>
61137         [BZ #13344]
61138         * misc/sys/cdefs.h (__THROWNL): Define.
61139         * posix/unistd.h: Use __THREADNL instead of __THREAD
61140         for memory synchronization functions.
61142 2011-10-26  Roland McGrath  <roland@hack.frob.com>
61144         [BZ #13349]
61145         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
61146         doesn't exist.
61147         * manual/stdio.texi (Obstack Streams): Node removed.
61149 2011-10-26  Andreas Schwab  <schwab@redhat.com>
61151         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
61152         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
61153         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
61155         * math/math_private.h (math_force_eval): Allow non-addressable
61156         arguments.
61157         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
61159 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
61161         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
61162         file is not needed.
61164         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
61165         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
61166         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
61167         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
61168         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
61169         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
61170         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
61171         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
61172         Add AVX variants.
61173         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
61174         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
61175         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
61176         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
61177         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
61178         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
61179         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
61180         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
61181         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
61182         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
61183         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
61184         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
61185         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
61186         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
61187         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
61188         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
61189         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
61190         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
61191         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
61193         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
61194         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
61196         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
61197         place.  Use VEX encoding when compiling for AVX.
61199 2011-10-25  Andreas Schwab  <schwab@redhat.com>
61201         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
61202         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
61204         * string/test-strchr.c (do_test): Don't generate NUL bytes.
61206 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
61208         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
61209         useless if() expression.
61210         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
61211         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
61212         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
61213         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
61214         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
61215         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
61216         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
61217         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
61218         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
61219         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
61220         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
61221         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
61222         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
61223         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
61224         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
61225         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
61226         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
61227         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
61228         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
61230         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
61232 2011-10-25  Andreas Schwab  <schwab@redhat.com>
61234         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
61235         condition.
61236         * elf/dl-fini.c (_dl_sort_fini): Likewise.
61238 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
61240         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
61241         .text section.  Avoid duplicate constants.
61242         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
61243         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
61244         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
61245         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61246         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
61247         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61248         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
61249         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61250         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
61251         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
61252         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
61253         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
61254         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
61255         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
61256         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
61257         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
61258         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
61259         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
61260         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
61261         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
61262         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
61263         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
61264         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
61265         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
61266         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
61267         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
61268         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
61269         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
61270         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
61271         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
61272         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
61273         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
61274         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
61275         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
61276         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
61277         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
61278         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
61279         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
61280         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
61281         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
61282         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
61283         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
61284         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
61285         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
61286         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
61288 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
61290         * sysdeps/x86_64/dla.h: Move to ...
61291         * sysdeps/x86_64/fpu/dla.h: ...here.
61292         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
61293         situations.  Use __builtin_fma only for gcc 4.6 and up.
61295         * config.make.in: Add have-mfma4 entry.
61296         * configure.in: Substitute libc_cv_cc_fma4.
61297         * math/Makefile (dbl-only-routines): Add sincostab.
61298         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
61299         Use __sincostab not sincos.
61300         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
61301         name is a macro.
61302         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
61303         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61304         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
61305         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
61306         using __copysign.
61307         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
61308         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
61309         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
61310         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
61311         and __inv.
61312         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
61313         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
61314         __copysign.
61315         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
61316         define aliases when function name is a macro.
61317         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
61318         sysdeps/ieee754/dbl-64/sincos.tbl.
61319         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
61320         fma4-enabled routines.
61321         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
61322         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
61323         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
61324         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
61325         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
61326         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
61327         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
61328         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
61329         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
61330         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
61331         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
61332         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
61333         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
61334         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
61335         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
61336         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
61337         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
61338         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
61339         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
61340         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
61341         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
61342         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
61343         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
61344         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
61345         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
61346         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
61347         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
61348         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
61349         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
61350         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
61352         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
61353         rename.
61354         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
61355         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
61356         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61357         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61358         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
61359         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61360         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
61361         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
61363 2011-10-24  Andreas Schwab  <schwab@redhat.com>
61365         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
61367 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
61369         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
61371         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
61372         prediction.
61373         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
61375         * string/strnlen.c: Don't define STRNLEN, reverse logic.
61376         Remove unused variable magic_bits.
61377         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
61379         * string/strnlen.c: Define and use STRNLEN macro.
61380         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
61381         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
61382         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
61383         * wcsmbs/wcslen.c: Define and use WCSLEN.
61384         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
61385         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
61386         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
61387         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
61388         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
61389         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
61390         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
61392 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61394         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61395         strnlen-sse2-no-bsf.
61396         Rename strlen-no-bsf to strlen-sse2-no-bsf.
61397         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
61398         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
61399         Add strnlen support.
61400         (USE_AS_STRNLEN): New macro.
61401         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
61402         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
61403         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
61404         * sysdeps/x86_64/wcslen.S: New file.
61406 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
61408         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
61409         XMM-moves are used for copying on small sizes.
61411 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61413         * wcsmbs/Makefile (strop-tests): Add wcschr.
61414         * wcsmbs/test-wcschr.c: New file.
61415         * string/test-strchr.c: Update.
61416         Add wcschr support.
61417         (WIDE): New macro.
61419 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61421         * wcsmbs/Makefile (strop-tests): Add wcslen.
61422         * wcsmbs/test-wcslen.c: New file.
61423         * string/test-strlen.c: Update.
61424         Add wcslen support.
61425         (WIDE): New macro.
61427 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
61429         * po/it.po: Update from translation team.
61431 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61433         * sysdeps/x86_64/wcscmp.S: Update.
61434         Fix wrong comparison semantics.
61435         wcscmp shall use signed comparison not unsigned.
61436         Don't use substraction to avoid overflow bug.
61437         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
61438         * wcsmbc/wcscmp.c: Likewise.
61439         * string/test-strcmp.c: Likewise.
61440         Add new tests to check cases with negative values.
61442 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
61444         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
61445         * sysdeps/x86_64/dla.h: ...here.  New file.
61446         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
61447         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
61448         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61449         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61450         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
61451         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
61452         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61453         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
61454         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
61456 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
61458         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
61459         __ynl_finite aliases.
61461 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
61463         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61465         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
61466         define DLA_FMA.
61467         [DLA_FMA] (EMULV): Use DLA_FMA.
61468         [DLA_FMA] (MUL12): Use EMULV.
61469         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
61470         that are not needed.
61471         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
61472         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61473         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61474         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
61475         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61476         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
61477         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
61479 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
61481         * math/s_nan.c: Undef __nan.
61482         * math/s_nanf.c: Undef __nanf.
61483         * math/s_nanl.c: Undef __nanl.
61484         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
61485         "math_private.h".
61487 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
61489         * math/s_catan.c: Add branch predictions.
61490         * math/s_catanf.c: Likewise.
61491         * math/s_catanh.c: Likewise.
61492         * math/s_catanhf.c: Likewise.
61493         * math/s_catanhl.c: Likewise.
61494         * math/s_catanl.c: Likewise.
61495         * math/s_cexp.c: Likewise.
61496         * math/s_cexpf.c: Likewise.
61497         * math/s_cexpl.c: Likewise.
61498         * math/s_clog.c: Likewise.
61499         * math/s_clog10.c: Likewise.
61500         * math/s_clog10f.c: Likewise.
61501         * math/s_clog10l.c: Likewise.
61502         * math/s_clogf.c: Likewise.
61503         * math/s_clogl.c: Likewise.
61504         * math/s_csqrt.c: Likewise.
61505         * math/s_csqrtf.c: Likewise.
61506         * math/s_csqrtl.c: Likewise.
61507         * math/s_ctanf.c: Likewise.
61508         * math/s_ctanh.c: Likewise.
61509         * math/s_ctanhf.c: Likewise.
61510         * math/s_ctanhl.c: Likewise.
61511         * math/s_ctanl.c: Likewise.
61513         * math/math_private.h: Define __nan, __nanf, __nanl.
61514         * math/s_cacosh.c: Include <math_private.h>.
61515         * math/s_cacoshl.c: Likewise.
61516         * math/s_casinh.c: Likewise.
61517         * math/s_casinhf.c: Likewise.
61518         * math/s_casinhl.c: Likewise.
61519         * math/s_ccos.c: Rely entire on ccosh.
61520         * math/s_ccosf.c: Rely entire on ccoshf.
61521         * math/s_ccosl.c: Rely entirely on ccoshl.
61522         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
61523         Remove tests for FE_INVALID.
61524         * math/s_ccoshf.c: Likewise.
61525         * math/s_ccoshl.c: Likewise.
61526         * math/s_csin.c: Likewise.
61527         * math/s_csinf.c: Likewise.
61528         * math/s_csinh.c Likewise.
61529         * math/s_csinhf.c: Likewise.
61530         * math/s_csinhl.c: Likewise.
61531         * math/s_csinl.c: Likewise.
61532         * math/s_ctan.c: Likewise.
61533         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
61534         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
61535         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
61537 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
61539         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
61540         compilation problems.
61542         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
61543         __builtin_expect.
61545 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
61547         * sysdeps/i386/configure.in: Test for -mfma4 option.
61548         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
61549         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
61550         COMMON_CPUID_INDEX_80000001.
61551         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
61552         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
61553         use it if FMA3 is not supported.
61554         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
61556         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
61557         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
61559 2011-10-20  Andreas Schwab  <schwab@redhat.com>
61561         [BZ #12892]
61562         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
61563         it would create a cycle with a link time dependency.
61565 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
61567         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
61568         instruction.
61569         * string/Makefile (strop-tests): Add rawmemchr.
61570         * string/test-rawmemchr.c: New file.
61572         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
61573         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
61574         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
61575         when compiling str{,n}casecmp and when AVX is available.  Hook up
61576         new optimized code in initializers.
61578 2011-10-19  Andreas Schwab  <schwab@redhat.com>
61580         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
61581         __feraiseexcept instead of feraiseexcept.
61583 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
61585         * math/math_private.h: Define defaults for libc_fetestexcept and
61586         libc_feupdateenv.
61587         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
61588         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
61589         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
61590         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
61591         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
61592         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
61593         libc_fetestexcept and libc_feupdateenv.
61595         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
61596         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
61597         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
61598         * sysdeps/x86_64/fpu/math_private.h: Define special version of
61599         libc_feholdexcept_setround.
61601         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
61602         Add s_nearbyint-c and s_nearbyintf-c.
61603         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
61604         nearbyintf inlines.
61605         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
61606         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
61607         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
61608         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
61610         * math/math_private.h: Define defaults for libc_fegetround,
61611         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
61612         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
61613         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
61614         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
61615         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
61616         standard functions.
61617         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
61618         Remove comments and hacks for old compiler versions.
61619         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
61620         libc_fegetround, libc_fesetround, libc_feholdexcept, and
61621         libc_feholdexceptl.
61623 2011-10-18  Andreas Schwab  <schwab@redhat.com>
61625         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
61626         (__feraiseexcept_renamed): Add __NTH.
61627         (feraiseexcept): Add __NTH.  Rename local variables to fix
61628         namespace violations.
61630 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
61632         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
61634         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
61636         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
61637         recently added interfaces.
61638         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
61640         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
61641         about macro parameter expansion.
61643         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
61644         __NO_MATH_INLINES is defined.  Cleanups.
61646         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
61647         and __floorf is target has SSE4.1.
61648         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
61649         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
61650         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
61651         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
61653         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
61654         name.
61655         (floorf): Likewise.
61657         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
61659 2011-10-17  Andreas Schwab  <schwab@redhat.com>
61661         * misc/sys/cdefs.h: Fix last change.
61663         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
61664         database lookup.
61666 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
61668         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
61670         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
61671         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
61672         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
61673         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
61674         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
61675         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
61676         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
61677         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
61678         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
61679         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
61680         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
61681         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
61682         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
61683         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
61684         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
61685         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
61686         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
61687         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
61688         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
61689         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
61690         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
61691         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
61693         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
61694         ceil, ceilf, floor, floorf.
61696         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
61697         Perform IRELATIVE relocations last.
61699         * elf/do-rel.h: Add another parameter nrelative, replacing the
61700         local variable with the same name.  Change name of the function
61701         to end in Rel or Rela (uppercase).
61702         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
61703         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
61704         elf_dynamic_do_##reloc function.
61706 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
61708         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
61709         is sufficient, at least on modern CPUs.
61711         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
61713         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
61714         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
61716         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
61717         __expl_finite.
61718         * math/bits/math-finite.h: Add entries for exp.
61719         * math/e_expl.c: Add __*_finite alias.
61720         * sysdeps/i386/fpu/e_exp.S: Likewise.
61721         * sysdeps/i386/fpu/e_expf.S: Likewise.
61722         * sysdeps/i386/fpu/e_expl.c: Likewise.
61723         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
61724         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
61725         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
61726         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
61727         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
61728         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
61729         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
61731         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
61732         is sufficient, at least on modern CPUs.
61734         * ctype/ctype-info.c (__ctype_init): Define.
61735         * include/ctype.h (__ctype_init): Declare.
61736         (__ctype_b_loc): The variable is always initialized.
61737         (__ctype_toupper_loc): Likewise.
61738         (__ctype_tolower_loc): Likewise.
61739         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
61740         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
61742 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
61744         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
61746         * configure.in: Also look in $cxxmachine/include for C++ system
61747         headers.
61749 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61751         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
61752         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
61753         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
61754         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
61755         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
61756         (USE_AS_WMEMCMP): New macro.
61757         Fixing indents.
61758         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
61759         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
61760         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
61761         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
61762         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61763         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
61764         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
61765         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
61766         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
61767         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
61768         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
61769         (USE_AS_WMEMCMP): New macro.
61770         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
61771         * sysdeps/string/test-memcmp.c: Update.
61772         Fix simple_wmemcmp.
61773         Add new tests.
61774         * wcsmbs/wmemcmp.c: Update.
61775         (WMEMCMP): New macro.
61776         Fix overflow bug.
61778 2011-10-12  Andreas Jaeger  <aj@suse.de>
61780         [BZ #13268]
61781         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
61783 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
61785         * libio/iofwide.c (do_length): Avoid warning.
61787         * ctype/ctype.h (__isctype_f): Add missing __THROW.
61789 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
61791         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
61793         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
61794         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
61795         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
61796         * sysdeps/i386/i686/fpu/e_log.S: New file.
61797         * sysdeps/i386/i686/fpu/e_logf.S: New file.
61798         * sysdeps/i386/i686/fpu/e_logl.S: New file.
61800         * ctype/ctype.h: Add support for inlined isXXX functions when
61801         compiling C++ code.
61803 2011-10-14  Andreas Schwab  <schwab@redhat.com>
61805         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
61807         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
61809 2011-10-13  Roland McGrath  <roland@hack.frob.com>
61811         [BZ #13291]
61812         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
61814 2011-10-13  Andreas Schwab  <schwab@redhat.com>
61816         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
61817         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
61818         feraiseexcept.
61820         * sysdeps/x86_64/memrchr.S: Check for zero size.
61822         * string/stratcliff.c: Add memrchr tests.
61824 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61826         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61827         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
61828         rawmemchr-sse2 rawmemchr-sse2-bsf.
61829         * sysdeps/i386/i686/multiarch/memchr.S: New file.
61830         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
61831         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
61832         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
61833         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
61834         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
61835         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
61836         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
61837         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
61838         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
61839         * string/memrchr.c (MEMRCHR): New macro.
61841 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
61843         Add integration with gcc's -ffinite-math-only and optimize wrapper
61844         functions in libm.
61845         * Versions.def: Define GLIBC_2.15 version for libm.
61846         * math/Makefile (headers): Add bits/math-finite.h.
61847         * math/bits/math-finite.h: New file.
61848         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
61849         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
61850         * math/e_acoshl.c: Add __*_finite alias.
61851         * math/e_acosl.c: Likewise.
61852         * math/e_asinl.c: Likewise.
61853         * math/e_atan2l.c: Likewise.
61854         * math/e_atanhl.c: Likewise.
61855         * math/e_coshl.c: Likewise.
61856         * math/e_exp10.c: Likewise.
61857         * math/e_exp10f.c: Likewise.
61858         * math/e_exp10l.c: Likewise.
61859         * math/e_exp2l.c: Likewise.
61860         * math/e_fmodl.c: Likewise.
61861         * math/e_gammal_r.c: Likewise.
61862         * math/e_hypotl.c: Likewise.
61863         * math/e_j0l.c: Likewise.
61864         * math/e_j1l.c: Likewise.
61865         * math/e_jnl.c: Likewise.
61866         * math/e_lgammal_r.c: Likewise.
61867         * math/e_log10l.c: Likewise.
61868         * math/e_log2l.c: Likewise.
61869         * math/e_logl.c: Likewise.
61870         * math/e_powl.c: Likewise.
61871         * math/e_sinhl.c: Likewise.
61872         * math/e_sqrtl.c: Likewise.
61873         * math/e_scalb.c: Completely rewritten and optimized.
61874         * math/e_scalbf.c: Likewise.
61875         * math/e_scalbl.c: Likewise.
61876         * math/w_acos.c: Likewise.
61877         * math/w_acosf.c: Likewise.
61878         * math/w_acosl.c: Likewise.
61879         * math/w_acosh.c: Likewise.
61880         * math/w_acoshf.c: Likewise.
61881         * math/w_acoshl.c: Likewise.
61882         * math/w_asin.c: Likewise.
61883         * math/w_asinf.c: Likewise.
61884         * math/w_asinl.c: Likewise.
61885         * math/w_atan2.c: Likewise.
61886         * math/w_atan2f.c: Likewise.
61887         * math/w_atan2l.c: Likewise.
61888         * math/w_atanh.c: Likewise.
61889         * math/w_atanhf.c: Likewise.
61890         * math/w_atanhl.c: Likewise.
61891         * math/w_exp10.c: Likewise.
61892         * math/w_exp10f.c: Likewise.
61893         * math/w_exp10l.c: Likewise.
61894         * math/w_fmod.c: Likewise.
61895         * math/w_fmodf.c: Likewise.
61896         * math/w_fmodl.c: Likewise.
61897         * math/w_j0.c: Likewise.
61898         * math/w_j0f.c: Likewise.
61899         * math/w_j0l.c: Likewise.
61900         * math/w_j1.c: Likewise.
61901         * math/w_j1f.c: Likewise.
61902         * math/w_j1l.c: Likewise.
61903         * math/w_jn.c: Likewise.
61904         * math/w_jnf.c: Likewise.
61905         * math/w_log.c: Likewise.
61906         * math/w_logf.c: Likewise.
61907         * math/w_logl.c: Likewise.
61908         * math/w_log10.c: Likewise.
61909         * math/w_log10f.c: Likewise.
61910         * math/w_log10l.c: Likewise.
61911         * math/w_log2.c: Likewise.
61912         * math/w_log2f.c: Likewise.
61913         * math/w_log2l.c: Likewise.
61914         * math/w_pow.c: Likewise.
61915         * math/w_powf.c: Likewise.
61916         * math/w_powl.c: Likewise.
61917         * math/w_remainder.c: Likewise.
61918         * math/w_remainderf.c: Likewise.
61919         * math/w_remainderl.c: Likewise.
61920         * math/w_scalb.c: Likewise.
61921         * math/w_scalbf.c: Likewise.
61922         * math/w_scalbl.c: Likewise.
61923         * math/w_sqrt.c: Likewise.
61924         * math/w_sqrtf.c: Likewise.
61925         * math/w_sqrtl.c: Likewise.
61926         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
61927         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
61928         used.
61929         * math/math_private.h: Declare __kernel_standard_f.
61930         * math/w_cosh.c: Remove cruft and optimize a bit.
61931         * math/w_coshf.c: Likewise.
61932         * math/w_coshl.c: Likewise.
61933         * math/w_exp2.c: Likewise.
61934         * math/w_exp2f.c: Likewise.
61935         * math/w_exp2l.c: Likewise.
61936         * math/w_hypot.c: Likewise.
61937         * math/w_hypotf.c: Likewise.
61938         * math/w_hypotl.c: Likewise.
61939         * math/w_lgamma.c: Likewise.
61940         * math/w_lgamma_r.c: Likewise.
61941         * math/w_lgammaf.c: Likewise.
61942         * math/w_lgammaf_r.c: Likewise.
61943         * math/w_lgammal.c: Likewise.
61944         * math/w_lgammal_r.c: Likewise.
61945         * math/w_sinh.c: Likewise.
61946         * math/w_sinhf.c: Likewise.
61947         * math/w_sinhl.c: Likewise.
61948         * math/w_tgamma.c: Likewise.
61949         * math/w_tgammaf.c: Likewise.
61950         * math/w_tgammal.c: Likewise.
61951         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
61952         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
61953         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
61954         Minor optimizations.  Pretty printing.  Remove cruft.
61955         * sysdeps/i386/fpu/e_acosf.S: Likewise.
61956         * sysdeps/i386/fpu/e_acosh.S: Likewise.
61957         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
61958         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
61959         * sysdeps/i386/fpu/e_acosl.c: Likewise.
61960         * sysdeps/i386/fpu/e_asin.S: Likewise.
61961         * sysdeps/i386/fpu/e_asinf.S: Likewise.
61962         * sysdeps/i386/fpu/e_atan2.S: Likewise.
61963         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
61964         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
61965         * sysdeps/i386/fpu/e_atanh.S: Likewise.
61966         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
61967         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
61968         * sysdeps/i386/fpu/e_exp10.S: Likewise.
61969         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
61970         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
61971         * sysdeps/i386/fpu/e_exp2.S: Likewise.
61972         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
61973         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
61974         * sysdeps/i386/fpu/e_fmod.S: Likewise.
61975         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
61976         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
61977         * sysdeps/i386/fpu/e_hypot.S: Likewise.
61978         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
61979         * sysdeps/i386/fpu/e_log.S: Likewise.
61980         * sysdeps/i386/fpu/e_log10.S: Likewise.
61981         * sysdeps/i386/fpu/e_log10f.S: Likewise.
61982         * sysdeps/i386/fpu/e_log10l.S: Likewise.
61983         * sysdeps/i386/fpu/e_log2.S: Likewise.
61984         * sysdeps/i386/fpu/e_log2f.S: Likewise.
61985         * sysdeps/i386/fpu/e_log2l.S: Likewise.
61986         * sysdeps/i386/fpu/e_logf.S: Likewise.
61987         * sysdeps/i386/fpu/e_logl.S: Likewise.
61988         * sysdeps/i386/fpu/e_pow.S: Likewise.
61989         * sysdeps/i386/fpu/e_powf.S: Likewise.
61990         * sysdeps/i386/fpu/e_powl.S: Likewise.
61991         * sysdeps/i386/fpu/e_remainder.S: Likewise.
61992         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
61993         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
61994         * sysdeps/i386/fpu/e_scalb.S: Likewise.
61995         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
61996         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
61997         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
61998         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
61999         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
62000         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
62001         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
62002         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
62003         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
62004         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
62005         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
62006         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
62007         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
62008         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
62009         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
62010         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
62011         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
62012         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
62013         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
62014         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
62015         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
62016         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
62017         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
62018         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
62019         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
62020         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
62021         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
62022         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
62023         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
62024         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
62025         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
62026         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
62027         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
62028         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
62029         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
62030         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
62031         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
62032         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
62033         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
62034         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
62035         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
62036         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
62037         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
62038         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
62039         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
62040         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
62041         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
62042         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
62043         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
62044         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
62045         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
62046         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
62047         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
62048         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
62049         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
62050         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
62051         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
62052         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
62053         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
62054         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
62055         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
62056         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
62057         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
62058         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
62059         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
62060         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
62061         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
62062         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
62063         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
62064         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
62065         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
62066         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
62067         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
62068         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
62069         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
62070         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
62071         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
62072         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
62073         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
62074         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
62075         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
62076         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
62077         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
62078         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
62079         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
62080         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
62081         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
62082         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
62083         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
62084         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
62085         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
62086         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
62087         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
62088         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
62089         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
62090         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
62091         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
62092         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
62093         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
62094         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
62095         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
62096         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
62097         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
62098         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
62099         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
62100         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
62101         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
62102         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
62103         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
62104         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
62105         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
62106         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
62107         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
62108         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
62109         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
62110         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
62111         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
62112         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
62113         (__isnanf): Likewise.
62114         (__isinf_ns): Likewise.
62115         (__isinf_nsf): Likewise.
62116         (__finite): Likewise.
62117         (__finitef): Likewise.
62118         (__ieee754_sqrt): Define as macro.
62119         (__ieee754_sqrtf): Define as macro.
62120         (__ieee754_sqrtl): Define as macro.
62121         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
62122         inlined copy.
62123         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
62124         __FINITE_MATH_ONLY__ consistent.
62125         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
62127 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
62129         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
62130         of rawmemchr.
62132         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
62134 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
62136         * po/ja.po: Update from translation team.
62138 2011-10-08  Roland McGrath  <roland@hack.frob.com>
62140         * locale/programs/locarchive.c (prepare_address_space): New function.
62141         (create_archive, enlarge_archive, open_archive): Use it.
62143         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
62144         inside [SHARED], where it is used.
62146         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
62148         * nss/getent.c (netgroup_keys): Remove unused variable.
62149         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
62151 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
62153         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
62154         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
62155         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
62156         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
62157         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
62158         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
62159         * math/Makefile (libm-calls): Add s_isinf_ns.
62160         * math/divtc3.c: Use __isinf_nsl instead of isinf.
62161         * math/multc3.c: Likewise.
62162         * math/s_casin.c: Likewise.
62163         * math/s_casinf.c: Likewise.
62164         * math/s_casinl.c: Likewise.
62165         * math/s_ccos.c: Likewise.
62166         * math/s_ccosf.c: Likewise.
62167         * math/s_ccosl.c: Likewise.
62168         * math/s_ctan.c: Likewise.
62169         * math/s_ctanf.c: Likewise.
62170         * math/s_ctanh.c: Likewise.
62171         * math/s_ctanhf.c: Likewise.
62172         * math/s_ctanhl.c: Likewise.
62173         * math/s_ctanl.c: Likewise.
62174         * math/w_fmod.c: Likewise.
62175         * math/w_fmodf.c: Likewise.
62176         * math/w_fmodl.c: Likewise.
62177         * math/w_remainder.c: Likewise.
62178         * math/w_remainderf.c: Likewise.
62179         * math/w_remainderl.c: Likewise.
62180         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
62181         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
62182         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
62183         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
62184         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
62185         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
62186         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
62187         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
62189         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
62190         of the number.
62191         * stdio-common/printf_fphex.c: Likewise.
62192         * stdio-common/printf_size.c: Likewise.
62194         * math/e_exp10.c: Include math_private.h using <...> not "...".
62195         * math/e_exp10f.c: Likewise.
62196         * math/e_exp10l.c: Likewise.
62197         * math/e_exp2l.c: Likewise.
62198         * math/e_j0l.c: Likewise.
62199         * math/e_j1l.c: Likewise.
62200         * math/e_jnl.c: Likewise.
62201         * math/e_lgammal_r.c: Likewise.
62202         * math/e_rem_pio2l.c: Likewise.
62203         * math/e_scalb.c: Likewise.
62204         * math/e_scalbf.c: Likewise.
62205         * math/e_scalbl.c: Likewise.
62206         * math/k_cosl.c: Likewise.
62207         * math/k_sinl.c: Likewise.
62208         * math/k_tanl.c: Likewise.
62209         * math/s_cacoshf.c: Likewise.
62210         * math/s_catan.c: Likewise.
62211         * math/s_catanf.c: Likewise.
62212         * math/s_catanh.c: Likewise.
62213         * math/s_catanhf.c: Likewise.
62214         * math/s_catanhl.c: Likewise.
62215         * math/s_catanl.c: Likewise.
62216         * math/s_ccosh.c: Likewise.
62217         * math/s_ccoshf.c: Likewise.
62218         * math/s_ccoshl.c: Likewise.
62219         * math/s_cexp.c: Likewise.
62220         * math/s_cexpf.c: Likewise.
62221         * math/s_cexpl.c: Likewise.
62222         * math/s_clog.c: Likewise.
62223         * math/s_clog10.c: Likewise.
62224         * math/s_clog10f.c: Likewise.
62225         * math/s_clog10l.c: Likewise.
62226         * math/s_clogf.c: Likewise.
62227         * math/s_clogl.c: Likewise.
62228         * math/s_csin.c: Likewise.
62229         * math/s_csinf.c: Likewise.
62230         * math/s_csinh.c: Likewise.
62231         * math/s_csinhf.c: Likewise.
62232         * math/s_csinhl.c: Likewise.
62233         * math/s_csinl.c: Likewise.
62234         * math/s_csqrt.c: Likewise.
62235         * math/s_csqrtf.c: Likewise.
62236         * math/s_csqrtl.c: Likewise.
62237         * math/s_ctan.c: Likewise.
62238         * math/s_ctanf.c: Likewise.
62239         * math/s_ctanh.c: Likewise.
62240         * math/s_ctanhf.c: Likewise.
62241         * math/s_ctanhl.c: Likewise.
62242         * math/s_ctanl.c: Likewise.
62243         * math/s_ldexp.c: Likewise.
62244         * math/s_ldexpf.c: Likewise.
62245         * math/s_ldexpl.c: Likewise.
62246         * math/s_significand.c: Likewise.
62247         * math/s_significandf.c: Likewise.
62248         * math/s_significandl.c: Likewise.
62249         * math/w_acos.c: Likewise.
62250         * math/w_acosf.c: Likewise.
62251         * math/w_acosh.c: Likewise.
62252         * math/w_acoshf.c: Likewise.
62253         * math/w_acoshl.c: Likewise.
62254         * math/w_acosl.c: Likewise.
62255         * math/w_asin.c: Likewise.
62256         * math/w_asinf.c: Likewise.
62257         * math/w_asinl.c: Likewise.
62258         * math/w_atan2.c: Likewise.
62259         * math/w_atan2f.c: Likewise.
62260         * math/w_atan2l.c: Likewise.
62261         * math/w_atanh.c: Likewise.
62262         * math/w_atanhf.c: Likewise.
62263         * math/w_atanhl.c: Likewise.
62264         * math/w_cosh.c: Likewise.
62265         * math/w_coshf.c: Likewise.
62266         * math/w_coshl.c: Likewise.
62267         * math/w_dremf.c: Likewise.
62268         * math/w_exp10.c: Likewise.
62269         * math/w_exp10f.c: Likewise.
62270         * math/w_exp10l.c: Likewise.
62271         * math/w_exp2.c: Likewise.
62272         * math/w_exp2f.c: Likewise.
62273         * math/w_fmod.c: Likewise.
62274         * math/w_fmodf.c: Likewise.
62275         * math/w_fmodl.c: Likewise.
62276         * math/w_hypot.c: Likewise.
62277         * math/w_hypotf.c: Likewise.
62278         * math/w_hypotl.c: Likewise.
62279         * math/w_j0.c: Likewise.
62280         * math/w_j0f.c: Likewise.
62281         * math/w_j0l.c: Likewise.
62282         * math/w_j1.c: Likewise.
62283         * math/w_j1f.c: Likewise.
62284         * math/w_j1l.c: Likewise.
62285         * math/w_jn.c: Likewise.
62286         * math/w_jnf.c: Likewise.
62287         * math/w_jnl.c: Likewise.
62288         * math/w_lgamma.c: Likewise.
62289         * math/w_lgamma_r.c: Likewise.
62290         * math/w_lgammaf.c: Likewise.
62291         * math/w_lgammaf_r.c: Likewise.
62292         * math/w_lgammal.c: Likewise.
62293         * math/w_lgammal_r.c: Likewise.
62294         * math/w_log.c: Likewise.
62295         * math/w_log10.c: Likewise.
62296         * math/w_log10f.c: Likewise.
62297         * math/w_log10l.c: Likewise.
62298         * math/w_log2.c: Likewise.
62299         * math/w_log2f.c: Likewise.
62300         * math/w_log2l.c: Likewise.
62301         * math/w_logf.c: Likewise.
62302         * math/w_logl.c: Likewise.
62303         * math/w_pow.c: Likewise.
62304         * math/w_powf.c: Likewise.
62305         * math/w_powl.c: Likewise.
62306         * math/w_remainder.c: Likewise.
62307         * math/w_remainderf.c: Likewise.
62308         * math/w_remainderl.c: Likewise.
62309         * math/w_scalb.c: Likewise.
62310         * math/w_scalbf.c: Likewise.
62311         * math/w_scalbl.c: Likewise.
62312         * math/w_sinh.c: Likewise.
62313         * math/w_sinhf.c: Likewise.
62314         * math/w_sinhl.c: Likewise.
62315         * math/w_sqrt.c: Likewise.
62316         * math/w_sqrtf.c: Likewise.
62317         * math/w_sqrtl.c: Likewise.
62318         * math/w_tgamma.c: Likewise.
62319         * math/w_tgammaf.c: Likewise.
62320         * math/w_tgammal.c: Likewise.
62322         * po/ja.po: Update from translation team.
62324 2011-09-29  Andreas Jaeger  <aj@suse.de>
62326         [BZ #13179]
62327         * sunrpc/netname.c (netname2host): Fix logic.
62329         [BZ #6779]
62330         [BZ #6783]
62331         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
62332         correctly.
62333         * math/w_remainder.c (__remainder): Likewise.
62334         * math/w_remainderf.c (__remainderf): Likewise.
62335         * math/libm-test.inc (remainder_test): Add test cases.
62337 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62339         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
62340         sdiv_qrnnd.
62342 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
62344         * string/test-memcmp.c: Avoid unncessary #defines.
62345         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
62347 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62349         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
62350         Use new sse2 version for core i3 - i7 as it's faster
62351         than sse42 version.
62352         (bit_Prefer_PMINUB_for_stringop): New.
62353         * sysdeps/x86_64/rawmemchr.S: Update.
62354         Replace with faster SSE2 version.
62355         * sysdeps/x86_64/memrchr.S: New file.
62356         * sysdeps/x86_64/memchr.S: Update.
62357         Replace with faster SSE2 version.
62359 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
62361         * elf/dl-load.c (lose): Add cast to avoid warning.
62363 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
62365         * po/ca.po: Update from translation team.
62367         * inet/getnetgrent_r.c: Hook up nscd.
62368         * nscd/Makefile (routines): Add nscd_netgroup.
62369         (nscd-modules): Add netgroupcache.
62370         (CFLAGS-netgroupcache.c): Define.
62371         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
62372         (cache_search): Add const to second parameter.
62373         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
62374         INNETGR.
62375         (dbs): Add netgrdb entry.
62376         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
62377         (verify_persistent_db): Handle netgrdb.
62378         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
62379         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
62380         GETFDNETGR.
62381         (netgroup_response_header): Define.
62382         (innetgroup_response_header): Define.
62383         (datahead): Add netgroup_response_header and innetgroup_response_header
62384         elements.
62385         * nscd/nscd.conf: Add entries for netgroup cache.
62386         * nscd/nscd.h (dbtype): Add netgrdb.
62387         (_PATH_NSCD_NETGROUP_DB): Define.
62388         (netgroup_iov_disabled): Declare.
62389         (xmalloc, xcalloc, xrealloc): Move declarations here.
62390         (cache_search): Adjust prototype.
62391         Add netgroup-related prototypes.
62392         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
62393         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
62394         (__nscd_innetgr): Declare.
62395         * nscd/selinux.c (perms): Use access_vector_t as element type and
62396         add netgroup-related initializers.
62397         * nscd/netgroupcache.c: New file.
62398         * nscd/nscd_netgroup.c: New file.
62399         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
62400         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
62401         For four parameters use innetgr.
62402         * nss/nss_files/files-init.c: Add definition and callback for netgr.
62403         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
62404         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
62405         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
62407         * nscd/connections.c (register_traced_file): Don't register file
62408         for disabled databases.
62410 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
62412         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
62414         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
62415         from tree and freeing node.
62417 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
62419         * nss/nsswitch.c (__nss_database_lookup): Handle
62420         nss_parse_service_list out of memory case.
62422 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
62424         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
62425         out of memory case.
62427 2011-10-04  Andreas Schwab  <schwab@redhat.com>
62429         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
62430         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
62431         pass it down.
62432         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
62433         elf_machine_rela, elf_machine_lazy_rel.
62434         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
62435         (ELF_DYNAMIC_DO_REL): Likewise.
62436         (ELF_DYNAMIC_DO_RELA): Likewise.
62437         (ELF_DYNAMIC_RELOCATE): Likewise.
62438         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
62439         to ELF_DYNAMIC_DO_REL.
62440         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
62441         (dl_main): In trace mode always set __RTLD_NOIFUNC.
62442         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
62443         elf_machine_rela.
62444         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
62445         skip_ifunc, don't call ifunc function if non-zero.
62446         (elf_machine_rela): Likewise.
62447         (elf_machine_lazy_rel): Likewise.
62448         (elf_machine_lazy_rela): Likewise.
62449         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
62450         (elf_machine_lazy_rel): Likewise.
62451         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
62452         Likewise.
62453         (elf_machine_lazy_rel): Likewise.
62454         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
62455         Likewise.
62456         (elf_machine_lazy_rel): Likewise.
62457         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
62458         (elf_machine_lazy_rel): Likewise.
62459         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
62460         (elf_machine_lazy_rel): Likewise.
62461         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
62462         (elf_machine_lazy_rel): Likewise.
62463         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
62464         (elf_machine_lazy_rel): Likewise.
62465         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
62466         (elf_machine_lazy_rel): Likewise.
62467         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
62468         (elf_machine_lazy_rel): Likewise.
62470 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
62472         * nss/nss_files/files-init.c (_nss_files_init): Use static
62473         initialization for all the *_traced_file variables.
62475 2011-09-28  Andreas Schwab  <schwab@redhat.com>
62477         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
62479 2011-09-27  Roland McGrath  <roland@hack.frob.com>
62481         [BZ #13226]
62482         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
62484 2011-09-27  Andreas Schwab  <schwab@redhat.com>
62486         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
62487         Reread the line before reparsing it.
62489 2011-09-26  Andreas Schwab  <schwab@redhat.com>
62491         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
62493 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
62494             Maxim Kuvyrkov  <maxim@codesourcery.com>
62495             Joseph Myers  <joseph@codesourcery.com>
62497         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
62498         if needed for __stack_chk_guard.
62500 2011-09-19  Roland McGrath  <roland@hack.frob.com>
62502         * sysdeps/posix/spawni.c (script_execute): Always define it.
62503         It will be optimized away if unused.
62504         (maybe_script_execute): New function.
62505         (__spawni): Call it.
62507         * Makerules: Don't include tls.make.
62508         (config-tls): Always set to thread.
62509         * tls.make.c: File removed.
62511 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
62513         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
62514         * config.make.in (CPPFLAGS-config): New substituted variable.
62516 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
62518         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
62520         [BZ #13192]
62521         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
62522         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
62524 2011-09-15  Roland McGrath  <roland@hack.frob.com>
62526         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
62527         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
62528         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
62529         (CALL_FAIL): Likewise.
62530         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
62531         (CALL_FAIL): Macro removed.
62532         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
62534 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
62536         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
62537         for __FINITE_MATH_ONLY__ == 1.
62539 2011-09-15  Andreas Schwab  <schwab@redhat.com>
62541         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
62542         __ieee754_sqrt instead of sqrt.
62543         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
62544         __ieee754_sqrtf instead of sqrtf.
62545         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
62546         __floorf instead of floorf.
62547         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
62548         __floorf, __truncf instead of floorf, truncf.
62550 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
62552         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
62554         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
62555         __extern_always_inline.
62556         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
62557         32-bit.
62559 2011-09-14  Andreas Schwab  <schwab@redhat.com>
62561         * elf/rtld.c (dl_main): Also relocate in dependency order when
62562         doing symbol dependency testing.
62564 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
62566         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
62567         Always define `refsym'.
62569 2011-09-13  Andreas Schwab  <schwab@redhat.com>
62571         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
62572         (__FD_ELT): Renamed from __FDELT.
62573         * misc/bits/select2.h (__FD_ELT): Likewise.
62574         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
62575         __FD_MASK instead of __FDELT, __FDMASK.
62576         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
62577         Likewise.
62578         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
62579         Likewise.
62581         * elf/Makefile (gen-ldd): Fix pattern.
62583         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
62584         (init_tls): Likewise.
62586 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
62588         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
62590 2011-09-12  Andreas Schwab  <schwab@redhat.com>
62592         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
62593         `struct cmsghdr *' instead of `void *'.
62594         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
62595         Likewise.
62597 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
62599         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
62600         if non-absolute.
62601         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
62602         ldd_rewrite_script.
62604 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
62606         * configure.in: Remove --with-tls option.
62607         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
62608         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
62609         out in case it is missing.
62610         * sysdeps/ia64/elf/configure.in: Likewise.
62611         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
62612         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
62613         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
62614         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
62615         * sysdeps/sh/elf/configure.in: Likewise.
62616         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
62617         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
62618         * sysdeps/x86_64/elf/configure.in: Likewise.
62619         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
62620         * sysdeps/mach/hurd/tls.h: Likewise.
62622         [BZ #13067]
62623         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
62625         [BZ #13090]
62626         * configure.in: Fix use of AC_INIT.
62628         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
62630 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
62632         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
62633         __set_errno.
62634         * malloc/hooks.c: Likewise.
62636         [BZ #11929]
62637         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
62638         variables statically.
62639         (narenas): Initialize.
62640         (list_lock): Initialize.
62641         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
62642         initializtion of main_arena and list_lock.  Small cleanups.
62643         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
62644         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
62645         Add initializers to main_arena and mp_.
62646         (malloc_state): Remove pagesize member.  Change all users to use
62647         GLRO(dl_pagesize).
62649         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
62650         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
62651         is always initialized.
62653         * malloc/malloc.c: Removed unused configurations and dead code.
62654         * malloc/arena.c: Likewise.
62655         * malloc/hooks.c: Likewise.
62656         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
62658         * include/tls.h: Removed.  USE___THREAD must always be defined.
62659         * bits/libc-tsd.h: Don't handle !USE___THREAD.
62660         * elf/dl-libc.c: Likewise.
62661         * elf/dl-tsd.c: Likewise.
62662         * include/errno.h: Likewise.
62663         * include/netdb.h: Likewise.
62664         * include/resolv.h: Likewise.
62665         * inet/herrno-loc.c: Likewise.
62666         * inet/herrno.c: Likewise.
62667         * malloc/arena.c: Likewise.
62668         * malloc/hooks.c: Likewise.
62669         * malloc/malloc.c: Likewise.
62670         * resolv/res-state.c: Likewise.
62671         * resolv/res_libc.c: Likewise.
62672         * sysdeps/i386/dl-machine.h: Likewise.
62673         * sysdeps/ia64/dl-machine.h: Likewise.
62674         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
62675         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
62676         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
62677         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
62678         * sysdeps/sh/dl-machine.h: Likewise.
62679         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
62680         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
62681         * sysdeps/unix/i386/sysdep.S: Likewise.
62682         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
62683         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
62684         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
62685         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
62686         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
62687         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
62688         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
62689         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
62690         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
62691         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
62692         * sysdeps/unix/x86_64/sysdep.S: Likewise.
62693         * sysdeps/x86_64/dl-machine.h: Likewise.
62694         * tls.make.c: Likewise.
62696         * configure.in: Remove --with-__thread option.  Make tests for
62697         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
62698         tls_model attribute fail if no support is available.  Remove
62699         USE_IN_LIBIO.
62700         * Makeconfig: Adjust for dropped configure option.  All features are
62701         now mandatory.
62702         * Makerules: Likewise.
62703         * Versions.def: Likewise.
62704         * argp/argp-fmtstream.c: Likewise.
62705         * argp/argp-fmtstream.h: Likewise.
62706         * argp/argp-help.c: Likewise.
62707         * assert/assert.c: Likewise.
62708         * config.h.in: Likewise.
62709         * config.make.in: Likewise.
62710         * configure: Likewise.
62711         * configure.in: Likewise.
62712         * csu/Versions: Likewise.
62713         * csu/init.c: Likewise.
62714         * elf/tst-audit2.c: Likewise.
62715         * elf/tst-tls10.c: Likewise.
62716         * elf/tst-tls10.h: Likewise.
62717         * elf/tst-tls11.c: Likewise.
62718         * elf/tst-tls12.c: Likewise.
62719         * elf/tst-tls14.c: Likewise.
62720         * elf/tst-tlsmod11.c: Likewise.
62721         * elf/tst-tlsmod12.c: Likewise.
62722         * elf/tst-tlsmod13.c: Likewise.
62723         * elf/tst-tlsmod13a.c: Likewise.
62724         * elf/tst-tlsmod14a.c: Likewise.
62725         * elf/tst-tlsmod15b.c: Likewise.
62726         * elf/tst-tlsmod16a.c: Likewise.
62727         * elf/tst-tlsmod16b.c: Likewise.
62728         * elf/tst-tlsmod7.c: Likewise.
62729         * elf/tst-tlsmod8.c: Likewise.
62730         * elf/tst-tlsmod9.c: Likewise.
62731         * gmon/gmon.c: Likewise.
62732         * grp/fgetgrent_r.c: Likewise.
62733         * grp/putgrent.c: Likewise.
62734         * hurd/fopenport.c: Likewise.
62735         * include/libc-symbols.h: Likewise.
62736         * include/tls.h: Likewise.
62737         * intl/gettextP.h: Likewise.
62738         * intl/loadinfo.h: Likewise.
62739         * locale/global-locale.c: Likewise.
62740         * locale/localeinfo.h: Likewise.
62741         * mach/devstream.c: Likewise.
62742         * malloc/arena.c: Likewise.
62743         * malloc/set-freeres.c: Likewise.
62744         * misc/err.c: Likewise.
62745         * misc/getttyent.c: Likewise.
62746         * misc/mntent_r.c: Likewise.
62747         * posix/getopt.c: Likewise.
62748         * posix/wordexp.c: Likewise.
62749         * pwd/fgetpwent_r.c: Likewise.
62750         * resolv/Versions: Likewise.
62751         * resolv/res_hconf.c: Likewise.
62752         * shadow/fgetspent_r.c: Likewise.
62753         * shadow/putspent.c: Likewise.
62754         * stdio-common/printf_fphex.c: Likewise.
62755         * stdio-common/tmpfile.c: Likewise.
62756         * stdlib/abort.c: Likewise.
62757         * stdlib/fmtmsg.c: Likewise.
62758         * sunrpc/auth_unix.c: Likewise.
62759         * sunrpc/clnt_perr.c: Likewise.
62760         * sunrpc/clnt_tcp.c: Likewise.
62761         * sunrpc/clnt_udp.c: Likewise.
62762         * sunrpc/clnt_unix.c: Likewise.
62763         * sunrpc/openchild.c: Likewise.
62764         * sunrpc/svc_simple.c: Likewise.
62765         * sunrpc/svc_tcp.c: Likewise.
62766         * sunrpc/svc_udp.c: Likewise.
62767         * sunrpc/svc_unix.c: Likewise.
62768         * sunrpc/xdr.c: Likewise.
62769         * sunrpc/xdr_array.c: Likewise.
62770         * sunrpc/xdr_rec.c: Likewise.
62771         * sunrpc/xdr_ref.c: Likewise.
62772         * sunrpc/xdr_stdio.c: Likewise.
62774 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
62776         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
62778 2011-07-03  Andreas Jaeger  <aj@suse.de>
62780         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
62781         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
62782         regenerate with gen-libm-tests.pl.
62784 2010-05-12  Petr Baudis  <pasky@suse.cz>
62786         [BZ #11589]
62787         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
62788         around j0() zero points by switching to j1().
62789         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
62790         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
62791         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
62792         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
62794 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
62796         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
62797         instead of 0.
62798         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
62799         instead of 0.
62800         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
62801         Patch in part by Pavel Roskin <proski@gnu.org>.
62803         [BZ #13138]
62804         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
62805         realloc.
62806         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
62807         Free memory block if necessary.
62809         [BZ #12847]
62810         * libio/genops.c (INTDEF): For string streams the _lock pointer can
62811         be NULL.  Don't lock in this case.
62813 2011-09-09  Roland McGrath  <roland@hack.frob.com>
62815         * elf/elf.h (ELFOSABI_GNU): New macro.
62816         (ELFOSABI_LINUX): Define to that.
62818 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
62820         * string/strncat.c (strncat): Undef the symbol in case it has been
62821         defined in bits/string.h.
62823 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
62825         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
62827         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
62828         link map.
62830 2011-08-17  Andreas Jaeger  <aj@suse.de>
62832         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
62834 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
62835             Ian Lance Taylor  <iant@google.com>
62837         * math/libm-test.inc (lround_test): New testcase.
62838         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
62840 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
62842         * Makefile: Remove support for automatic cvs check-ins.
62843         * Makerules: Likewise.
62844         * config.make.in: Likewise.
62845         * configure.in: Likewise.
62846         * intl/Makefile: Likewise.
62847         * locale/Makefile: Likewise.
62848         * po/Makefile: Likewise.
62849         * posix/Makefile: Likewise.
62850         * sysdeps/gnu/Makefile: Likewise.
62851         * sysdeps/mach/hurd/Makefile: Likewise.
62852         * sysdeps/sparc/sparc32/Makefile: Likewise.
62854         [BZ #13118]
62855         * posix/Makefile (bug-regex32-ENV): Define.
62856         Patch by John Stanley <jpsinthemix@verizon.net>.
62858         * misc/Makefile (headers): Add bits/select2.h.
62859         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
62860         * misc/bits/select2.h: New file.
62861         * include/bits/select2.h: New file.
62862         * debug/Makefile (routines): Add fdelt_chk.
62863         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
62864         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
62865         FD_ISSET.
62866         * debug/fdelt_chk.c: New file.
62868         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
62869         * wcsmbs/test-wmemcmp.c: Likewise.
62870         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
62871         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
62873 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62875         * string/Makefile (strop-tests): Add memcmp.
62876         * string/test-wmemcmp.c: New file.
62877         * string/test-memcmp.c: Add wmemcmp support.
62879 2011-09-08  Roland McGrath  <roland@hack.frob.com>
62881         [BZ #13153]
62882         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
62883         2011-07-19 change.
62885         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
62886         garbage value in a __mach_port_mod_refs call in the cases of the
62887         task-self and thread-self ports.
62889 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62891         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
62893 2011-09-08  Andreas Schwab  <schwab@redhat.com>
62895         * elf/dl-load.c (lose): Check for non-null L.
62897 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
62899         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
62901         * elf/dl-libc.c (dlerror_run): Pass back error code from
62902         dl_catch_error.
62904         [BZ #13123]
62905         * elf/dl-load.c (lose): Free l_origin if it is valid.
62907         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
62908         names.
62909         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
62910         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
62911         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
62912         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
62913         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
62914         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
62916 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62918         * sysdeps/powerpc/fpu/e_hypot.c: New file.
62919         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
62920         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
62921         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
62922         * sysdeps/powerpc/fpu/k_cosf.c: New file.
62923         * sysdeps/powerpc/fpu/k_sinf.c: New file.
62924         * sysdeps/powerpc/fpu/s_cosf.c: New file.
62925         * sysdeps/powerpc/fpu/s_sinf.c: New file.
62926         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
62927         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
62929 2011-08-15  Alan Modra  <amodra@gmail.com>
62931         [BZ #13092]
62932         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
62933         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
62934         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
62935         ppc_mcount to static-only-routines.
62936         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
62937         __mcount_internal.
62938         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
62939         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
62941 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
62943         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
62944         for finite and infinity parameters.
62946 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
62948         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
62949         and add nop instructions for throughput optimization.
62950         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
62952 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
62954         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
62955         aligned copy for power7 with vector-scalar instructions.
62956         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
62958 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
62960         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
62961         AVX check.
62963 2011-09-07  Andreas Schwab  <schwab@redhat.com>
62965         [BZ #13144]
62966         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
62967         last change.
62969 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
62971         * sysdeps/unix/sysv/linux/x86_64/init-first.c
62972         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
62973         syscall wrapper around clock_gettime in __vdso_clock_gettime.
62974         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
62975         clock_gettime.
62977 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
62979         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
62980         Forgot to demangle the pointer.
62982         * sysdeps/i386/sysdep.h: Define atom_text_section.
62983         * sysdeps/x86_64/sysdep.h: Likewise.
62984         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
62985         section with atom_text_section.
62986         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
62987         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
62988         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
62989         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
62990         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
62992         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
62993         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
62994         already be defined.  Change to take two parameters and don't assign
62995         result to variable.  Adjust all users.
62996         Define INTERNAL_GETTIME if not already defined.
62997         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
62998         call.
62999         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
63000         HAVE_CLOCK_GETTIME_VSYSCALL.
63001         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
63003         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
63004         gettimeofday vsyscall, just use time.
63006 2011-09-06  Andreas Schwab  <schwab@redhat.com>
63008         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
63009         <errno.h>.
63011 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
63013         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
63014         syscall on x86-64.
63015         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
63016         syscall.
63017         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
63018         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
63019         syscall if possible.
63021 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
63023         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
63024         e_ident.  Don't pass to find_mapsXX.
63025         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
63027 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
63029         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63030         strchr-sse2-no-bsf strrchr-sse2-no-bsf
63031         * sysdeps/x86_64/multiarch/strchr.S: Update.
63032         Check bit_slow_BSF bit.
63033         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
63034         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
63035         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
63037 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
63039         [BZ #13134]
63040         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
63041         before glibc 2.15.
63042         (tryshell): Define.
63043         (__spawni): Change last parameter to be flag.  Test
63044         SPAWN_XFLAGS_USE_PATH flag to use path or not.
63045         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
63046         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
63047         * posix/spawni.c: Likewise.
63048         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
63049         * posix/spawnp.c: Likewise.  Change normal version to use
63050         SPAWN_XFLAGS_USE_PATH.
63051         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
63052         SPAWN_XFLAGS_TRY_SHELL.
63054         [BZ #13150]
63055         * posix/glob.h: Remove gcc 1.x support.
63057         [BZ #13068]
63058         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
63060 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
63062         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63063         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
63064         strrchr-sse2-bsf
63065         * sysdeps/i386/i686/multiarch/strchr.S: New file.
63066         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
63067         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
63068         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
63069         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
63070         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
63072 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63074         * sysdeps/x86_64/wcscmp.S: New file.
63076         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
63077         wcscmp-c wcscmp-sse2
63078         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
63079         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
63080         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
63081         * wcsmbs/wcscmp.c: Allow renaming.
63083 2011-09-05  David S. Miller  <davem@davemloft.net>
63085         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
63086         stack slot, rather than the struct return pointer slot.
63087         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
63088         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
63089         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
63090         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
63092 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
63094         * po/ja.po: Update from translation team.
63096         [BZ #13144]
63097         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
63098         kernel in 64-bit binaries.
63100 2011-09-01  David S. Miller  <davem@davemloft.net>
63102         * elf/elf.h (HWCAP_SPARC_*): Move to..
63103         * sysdeps/sparc/sysdep.h: this new file and add new values.
63104         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
63105         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
63106         _DL_HWCAP_COUNT to 24.
63107         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
63108         entries.
63109         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
63110         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
63111         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
63112         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
63113         instead of magic constants.
63114         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
63116 2011-08-31  David S. Miller  <davem@davemloft.net>
63118         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
63119         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
63120         Reimplement to do errno handling inline.
63121         (SYSCALL_ERROR_HANDLER): New macro.
63122         (__SYSCALL_STRING): Do not do errno handling in asm.
63123         (__CLONE_SYSCALL_STRING): Delete.
63124         (__INTERNAL_SYSCALL_STRING): Delete.
63125         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
63126         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
63127         (PSEUDO): Reimplement to do errno handling inline.
63128         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
63129         (SYSCALL_ERROR_HANDLER): New macro.
63130         (__SYSCALL_STRING): Do not do errno handling in asm.
63131         (__CLONE_SYSCALL_STRING): Delete.
63132         (__INTERNAL_SYSCALL_STRING): Delete.
63133         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
63134         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
63135         i386.
63136         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
63137         (inline_syscall*): Add 'err' argument.
63138         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
63139         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
63140         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
63141         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
63143         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
63144         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
63146 2011-08-30  Andreas Schwab  <schwab@redhat.com>
63148         * elf/rtld.c (dl_main): Relocate objects in dependency order.
63150 2011-08-29  Jiri Olsa <jolsa@redhat.com>
63152         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
63153         directive.
63155 2011-08-24  David S. Miller  <davem@davemloft.net>
63157         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
63159 2011-08-24  Andreas Schwab  <schwab@redhat.com>
63161         * elf/Makefile: Add rules to build and run unload8 test.
63162         * elf/unload8.c: New file.
63163         * elf/unload8mod1.c: New file.
63164         * elf/unload8mod1x.c: New file.
63165         * elf/unload8mod2.c: New file.
63166         * elf/unload8mod3.c: New file.
63168         * elf/dl-close.c (_dl_close_worker): Reset private search list if
63169         it wasn't used.
63171 2011-08-23  David S. Miller  <davem@davemloft.net>
63173         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
63174         subtract stack bias.
63175         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
63176         %sp not %fp in calculations.
63177         (_JMPBUF_UNWINDS_ADJ): Likewise.
63179         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
63180         (aio_suspend): Call it to force an exception region around the
63181         AIO_MISC_WAIT() invocation.
63183 2011-08-23  Andreas Schwab  <schwab@redhat.com>
63185         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
63186         backslash.
63188 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
63190         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
63191         protection macro.
63192         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
63193         and <dl-machine.h>.
63194         (Elf64_FuncDesc): Remove.
63196 2011-08-22  David S. Miller  <davem@davemloft.net>
63198         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
63199         sigaltstack check, add missing cfi directives.
63200         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
63201         missing cfi directives, and sigaltstack handling.
63203 2011-08-16  Andreas Schwab  <schwab@redhat.com>
63205         [BZ #11724]
63206         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
63207         object is seen twice.
63208         * elf/dl-fini.c (_dl_sort_fini): Likewise.
63210         * elf/Makefile (distribute): Add tst-initorder2.c.
63211         (tests): Add tst-initorder2.
63212         (modules-names): Add tst-initorder2a tst-initorder2b
63213         tst-initorder2c tst-initorder2d.  Add rules to build them.
63214         ($(objpfx)tst-initorder2.out): New rule.
63215         * elf/tst-initorder2.c: New file.
63216         * elf/tst-initorder2.exp: New file.
63218 2011-08-22  Andreas Schwab  <schwab@redhat.com>
63220         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
63222         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
63223         dependencies back to end of function.
63225         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
63226         $(elfobjdir)/ld.so.
63228 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
63230         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
63231         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
63232         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
63233         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
63234         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
63235         of __vdso_gettimeofday.
63236         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
63237         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
63238         attribute_hidden.
63239         (_libc_vdso_platform_setup): Remove initialization of
63240         __vdso_gettimeofday and __vdso_time.
63242 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
63244         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
63245         and fgetc_unlocked.
63246         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
63247         getc_unlocked.
63249         * elf/dl-open.c (add_to_global): Report additions to the global scope
63250         for LD_DEBUG=scopes.
63251         (dl_open_worker): Also print scope of newly loaded dependencies.
63252         (_dl_show_scope): Indicate if there is no scope.
63254         [BZ #13114]
63255         * stdio-common/Makefile (tests): Add bug24.
63256         * stdio-common/bug24.c: New file.
63258 2011-08-19  Andreas Jaeger  <aj@suse.de>
63260         [BZ #13114]
63261         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
63262         non-existant file when using close-on-exec mode.
63264 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
63266         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
63267         the very first instruction.
63269         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
63270         the CFI state in the end.
63271         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
63272         inclusion of dl-trampoline.h.
63273         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
63275 2011-08-19  Andreas Schwab  <schwab@redhat.com>
63277         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
63278         expectations for long double.
63280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
63281         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
63283 2011-08-14  David S. Miller  <davem@davemloft.net>
63285         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
63286         artificual limit depends upon the system page size.
63288 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
63290         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
63291         * resolv/Makefile: Define CFLAGS-libresolv.
63293 2011-08-17  Andreas Schwab  <schwab@redhat.com>
63295         * nss/makedb.c (compute_tables): Make variables used in nested
63296         function static.
63298 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
63300         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
63301         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
63302         if buffer was too small.
63304         * elf/pldd.c (main): Attach to all threads in the process.
63305         Rewrite /proc handling to use *at functions.
63307 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
63309         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
63310         specifies first scope to show.
63311         (dl_open_worker): Update callers.  Move printing scope of new
63312         object to before the relocation.
63313         * elf/rtld.c (dl_main): Update _dl_show_scope call.
63314         * sysdeps/generic/ldsodefs.h: Update declaration.
63316         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
63317         string for the scope number.
63319 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
63321         * nscd/servicescache.c (cache_addserv): Make sure written is always
63322         initialized.
63324 2011-08-14  Roland McGrath  <roland@hack.frob.com>
63326         * sysdeps/i386/i486/bits/atomic.h
63327         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
63328         statement expression, so as to suppress "set but not used" warning.
63329         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
63331         * string/strncat.c (STRNCAT): Use prototype definition.
63333         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
63334         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
63335         -Iprograms here.
63336         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
63337         (localedef-modules): Add localedef.
63338         (locale-modules): Add locale.
63340         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
63341         * elf/rtld.c (dl_main): Invert order of assignment in last change,
63342         to avoid a warning.
63344 2011-08-14  David S. Miller  <davem@davemloft.net>
63346         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
63347         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
63349 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
63351         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
63352         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
63353         * elf/rtld.c (dl_main): Set l_name of vDSO.
63354         Call _dl_show_scope when DL_DEBUG_SCOPES.
63355         (process_dl_debug): Recognize scopes flag and also set it for all.
63356         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
63357         Declare _dl_show_scope.
63359         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
63360         (do_dlopen): Pass caller_dlopen to dl_open.
63361         (__libc_dlopen_mode): Initialize caller_dlopen.
63363         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
63364         of libc.  Make tolower call locale-independent.  Optimize a bit by
63365         using isdigit instead of isalnum.
63366         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
63368 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
63370         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
63371         was a dependency or dynamically loaded.
63373 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
63375         * intl/l10nflist.c: Allow architecture-specific pop function.
63376         * sysdeps/x86_64/l10nflist.c: New file.
63378         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
63379         classification.
63381 2011-08-10  Andreas Schwab  <schwab@redhat.com>
63383         * include/dirent.h: Add libc_hidden_proto for scandirat and
63384         scandirat64.  Don't declare __scandirat64.
63385         * dirent/scandirat.c: Add libc_hidden_def.
63386         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
63387         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
63389 2011-08-10  David S. Miller  <davem@davemloft.net>
63391         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
63392         enum.
63393         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
63394         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
63395         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
63397 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
63399         * Versions.def [libc]: Add GLIBC_2.15.
63400         * dirent/Makefile (routines): Add scandirat and scandirat64.
63401         * dirent/Versions [libc]: Export scandirat and scandirat64 for
63402         GLIBC_2.15.
63403         * dirent/dirent.h: Declare scandirat and scandirat64.
63404         * dirent/scandirat.c: New file.
63405         * dirent/scandirat64.c: New file.
63406         * sysdeps/wordsize-64/scandirat.c: New file.
63407         * sysdeps/wordsize-64/scandirat64.c: New file.
63408         * dirent/opendir.c: Define opendirat.
63409         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
63410         using scandirat.
63411         * dirent/scandir64.c: Adjust for scandir.c change.
63412         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
63413         __scandirat64, and __scandir_cancel_handler.
63414         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
63415         additional parameter and use openat instead of open (outside of ld.so).
63416         Add new __opendir as wrapper around __opendirat.
63417         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
63418         here without requiring old scandirat implementation.
63420 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
63422         * dirent/scandir.c (cancel_handler): Renamed to
63423         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
63424         defined.  Adjust users.
63425         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
63426         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
63428 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
63430         * string/test-string.h (IMPL): Use __STRING to expand name and then
63431         stringify it.
63433         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
63434         of cleanups.
63436 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63438         * string/Makefile: Update.
63439         (strop-tests): Append strncat.
63440         * string/test-wcscmp.c: New file.
63441         New comprehensive test for wcscmp.
63442         * string/test-strcmp.c: Update.
63443         (WIDE): New define.
63445 2011-07-22  Andreas Schwab  <schwab@redhat.com>
63447         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
63448         line.
63450 2011-07-26  Andreas Schwab  <schwab@redhat.com>
63452         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
63453         encoding to ACE if AI_IDN.
63455 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
63457         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
63458         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
63460 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
63462         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
63463         Fix overflow bug in strncat.
63464         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
63466         * string/test-strncat.c: Update.
63467         Add new tests for checking overflow bugs.
63469 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
63471         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63472         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
63473         * sysdeps/i386/i686/multiarch/strcat.S: New file.
63474         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
63475         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
63476         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
63477         * sysdeps/i386/i686/multiarch/strncat.S: New file.
63478         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
63479         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
63481         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
63482         (USE_AS_STRCAT): Define.
63483         Add strcat and strncat support.
63484         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
63486 2011-07-25  Andreas Schwab  <schwab@redhat.com>
63488         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
63489         __n bigger than INT_MAX+1.
63490         (__strncmp_g): Likewise.
63492 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
63494         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
63495         * libio/stido.h: Likewise.
63497         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
63498         (AF_NFC): Define.
63499         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
63500         (AF_NFC): Define.
63502         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
63503         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
63504         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
63505         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
63506         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
63508         [BZ #13021]
63509         * scripts/test-installation.pl: Don't expect libnss_test1 to be
63510         installed.
63512         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
63513         typo.
63514         (_dl_x86_64_save_sse): Likewise.
63516 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
63518         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
63519         OSXSAVE.
63520         (_dl_x86_64_save_sse): Likewise.
63522         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
63524         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
63526 2011-07-21  Andreas Schwab  <schwab@redhat.com>
63528         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
63529         change.
63530         (_dl_x86_64_save_sse): Use correct AVX check.
63532 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63534         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
63535         bug in strncpy/strncat.
63536         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
63538 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
63540         * string/tester.c (test_strcat): Add tests for different alignments
63541         of source and destination.
63542         (test_strncat): Likewise.
63544 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
63546         [BZ #12852]
63547         * posix/glob.c (glob): Check passed in values before using them in
63548         expressions to avoid some overflows.
63549         (glob_in_dir): Likewise.
63551         [BZ #13007]
63552         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
63553         check for AVX enablement so that we don't crash with old kernels and
63554         new hardware.
63555         * elf/tst-audit4.c: Add same checks here.
63556         * elf/tst-audit6.c: Likewise.
63558         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
63560 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
63562         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
63564 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
63566         * po/cs.po: Update from translation team.
63567         * po/bg.po: Likewise.
63569 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
63571         * misc/sys/cdefs.h: Add support for const attribute.
63572         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
63573         to gnu_dev_{major,minor,makedev} functions.
63575 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
63577         * intl/dcigettext.c (get_output_charset): Add missing bracket.
63579 2011-07-20  Andreas Schwab  <schwab@redhat.com>
63581         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
63582         strlen results.
63584 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63586         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
63587         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
63588         register in order to avoid conflicts with the soft frame pointer
63589         being held in r11 when necessary.
63590         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
63591         (INTERNAL_VSYSCALL_NCS): Likewise.
63593 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
63595         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
63596         * elf/dl-fini.c (_dl_fini): Adjust caller.
63597         * elf/dl-close.c (_dl_close_worker): Likewise.
63598         * sysdeps/generic/ldsodefs.h: Adjust declaration.
63600 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
63602         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
63603         "aux_cache->nlibs < 0".
63605         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
63606         in the reload-count case.
63608 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
63610         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63611         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
63612         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
63613         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
63614         * sysdeps/x86_64/multiarch/strcat.S: New file.
63615         * sysdeps/x86_64/multiarch/strncat.S: New file.
63616         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
63617         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
63618         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
63619         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
63620         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
63621         (USE_AS_STRCAT): Define.
63622         Add strcat and strncat support.
63623         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
63624         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
63625         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
63626         * string/strncat.c: Update.
63627         (USE_AS_STRNCAT): Define.
63628         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63629         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
63630         and i7.
63631         * sysdeps/x86_64/multiarch/init-arch.h
63632         (bit_Prefer_PMINUB_for_stringop): New.
63633         (index_Prefer_PMINUB_for_stringop): Likewise.
63634         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
63635         bit_Prefer_PMINUB_for_stringop.
63637 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
63639         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
63640         buffer64.
63641         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
63642         of casting of buffer.
63643         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
63644         buffer32 and buffer64.
63645         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
63646         writes instead of casting of buffer.
63647         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
63648         buffer32.
63649         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
63650         casting of buffer.
63652 2011-07-19  Andreas Schwab  <schwab@redhat.com>
63654         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
63656 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
63658         * nscd/nscd.c (termination_handler): Don't do anything for a database
63659         if it has not yet been initialized.
63661 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
63663         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
63665 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
63667         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
63669 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
63671         * po/nl.po: Update from translation team.
63672         * po/sv.po: Likewise.
63674 2011-07-16  Roland McGrath  <roland@hack.frob.com>
63676         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
63677         now disallowed by GCC.
63679         * configure.in (use-default-link): Default to yes if a test -shared
63680         link meets our qualifications.
63681         * configure: Regenerated.
63683         * config.make.in (output-format): New variable.
63684         * configure.in: Check for ld --print-output-format support.
63685         * configure: Regenerated.
63686         * Makerules ($(common-objpfx)format.lds)
63687         [$(output-format) != unknown]: Just use $(output-format),
63688         instead of the linker-script munging.
63690 2011-07-14  Roland McGrath  <roland@hack.frob.com>
63692         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
63693         of $(common-objpfx)shlib.lds.
63694         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
63696         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
63697         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
63699         * configure.in (-z relro check): Adjust test code to add a large
63700         writable data section after it.
63701         * configure: Regenerated.
63703 2011-07-11  Roland McGrath  <roland@hack.frob.com>
63705         * configure.in (-z relro check): Fix test code to make the variable
63706         truly const.
63707         * configure: Regenerated.
63709 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
63711         * nscd/nscd.h (struct traced_file): Define.
63712         (struct database_dyn): Remove inotify_descr, reset_res, and filename
63713         elements.  Add traced_files.
63714         (inotify_fd): Declare.
63715         (register_traced_file): Declare.
63716         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
63717         (inotify_fd): Export.
63718         (resolv_conf_descr): Remove.
63719         (nscd_init): Move inotify descriptor creation to main.
63720         Don't register files for notification here.
63721         (register_traced_file): New function.
63722         (invalidate_cache): Don't use reset_res to determine whether to call
63723         res_init, go through the list of registered files.
63724         (main_loop_poll): The inotify descriptors are now stored in the
63725         structures for the traced files.
63726         (main_loop_epoll): Likewise
63727         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
63728         to __nss_disable_nscd.
63729         * nscd/cache.c (prune_cache): There is no single inotify descriptor
63730         for a database anymore.  Check the records for all the registered
63731         files instead.
63732         * nss/Makefile (libnss_files-routines): Add files-init.
63733         (libnss_db-routines): Add db-init.
63734         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
63735         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
63736         * nss/nss_db/db-init.c: New file.
63737         * nss/nss_files/files-init.c: New file.
63738         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
63739         __nss_lookup_function.
63740         (__nss_lookup_function): Call nss_load_library.
63741         (nss_load_all_libraries): New function.
63742         (__nss_disable_nscd): Take parameter with callback function for files
63743         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
63744         used for the cached services.
63745         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
63746         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
63747         options for features to all the files in nscd.
63749         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
63751 2011-07-10  Roland McGrath  <roland@hack.frob.com>
63753         * csu/elf-init.c (__libc_csu_init): Comment typo.
63755 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
63757         * po/pl.po: Update from translation team.
63758         * po/ja.po: Likewise.
63759         * po/ru.po: Likewise.
63760         * po/ko.po: Likewise.
63761         * po/fr.po: Likewise.
63763 2011-07-09  Roland McGrath  <roland@hack.frob.com>
63765         * configure.in (.ctors/.dtors header and trailer check):
63766         Use an empirical test on a built program.
63767         * configure: Regenerated.
63769         * configure.in (-z relro check): Use an empirical test on a built DSO.
63770         Detect, but do not require, on ia64.
63771         * configure: Regenerated.
63773         * configure.in (READELF): Find it with AC_CHECK_TOOL.
63774         Update tests that use readelf to use $READELF instead.
63775         * configure: Regenerated.
63777 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
63779         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
63780         if the result is not used.
63782 2011-07-05  Andreas Jaeger  <aj@suse.de>
63784         [BZ#9696]
63785         * stdlib/tst-strtod.c: Add testcase.
63787 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
63789         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
63790         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
63791         The latter has a higher limit.  Take additional parameter to pass to
63792         the new function.
63793         (__pathconf): Pass file to __statfs_link_max.
63794         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
63795         __statfs_link_max.
63796         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
63797         __statfs_link_max.
63799         [BZ #12868]
63800         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
63801         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63802         Handle Lustre.
63803         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
63804         (__statfs_filesize_max): Likewise.
63805         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
63807 2011-07-05  Andreas Jaeger  <aj@suse.de>
63809         * resolv/res_comp.c (dn_skipname): Remove unused variable.
63811 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
63813         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
63814         `status' variable.
63815         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
63816         Likewise.
63818 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
63820         * Makefile (strop-tests): Add strncat.
63821         * string/test-strncat.c: New file.
63823 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
63825         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
63827 2011-06-21  Andreas Jaeger  <aj@suse.de>
63829         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
63830         Copy rule from iconvdata/Makefile.
63832 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
63834         [BZ #12922]
63835         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
63836         but no long options are defined, just return 'W'.
63838 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
63840         [BZ #9696]
63841         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
63843 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
63845         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
63846         netgroups to read.
63847         (innetgr): Likewise.
63849 2011-07-05  Roland McGrath  <roland@hack.frob.com>
63851         * config.make.in (install_root): Default to $(DESTDIR).
63853 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
63855         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
63857 2011-07-02  Roland McGrath  <roland@hack.frob.com>
63859         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
63861         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
63862         containing directory rather than embedding absolute directory names.
63864         * scripts/check-local-headers.sh: Rewritten using awk.
63865         Match by word, not by line.  Print error messages for matches.
63866         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
63868         * Makerules [shlib-lds-flags empty]:
63869         ($(common-objpfx)libc_pic.opts): New target.
63870         ($(common-objpfx)libc_pic.os.clean): New target.
63871         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
63873         * config.make.in (OBJCOPY): New variable.
63874         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
63875         * configure: Regenerated.
63877         * config.make.in (use-default-link): New variable.
63878         * configure.in (use_default_link): Grok --with-default-link to set it.
63879         * configure: Regenerated.
63880         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
63881         (shlib-lds, shlib-lds-flags): Define to empty.
63883         * Makerules (shlib-lds): New variable.
63884         (shlib-lds-flags): New variable.
63885         (build-shlib, build-moduile, build-module-asneeded): Use it.
63886         ($(common-objpfx)libc.so): Use $(shlib-lds).
63887         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
63888         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
63890         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
63891         DT_FLAGS/DT_FLAGS_1 with zero flags.
63893         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
63894         linker script munging.
63896 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
63898         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
63899         as 128-bit value.
63900         * crypt/sha512.c (sha512_process_block): Perform total addition using
63901         128-bit if possible.
63902         (__sha512_finish_ctx): Likewise.
63903         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
63904         as 64-bit value.
63905         * crypt/sha256.c (SWAP64): Define.
63906         (sha256_process_block): Perform total addition using 64-bit if
63907         possible.
63908         (__sha256_finish_ctx): Likewise.
63910 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
63912         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
63913         * nscd/initgrcache.c (addinitgroupsX): Likewise.
63914         * nscd/hstcache.c (cache_addhst): Likewise.
63915         * nscd/grpcache.c (cache_addgr): Likewise.
63916         * nscd/aicache.c (addhstaiX): Likewise
63917         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
63919 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
63921         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
63922         * nscd/initgrcache.c (addinitgroupsX): Likewise.
63923         * nscd/hstcache.c (cache_addhst): Likewise.
63924         * nscd/grpcache.c (cache_addgr): Likewise.
63925         * nscd/aicache.c (addhstaiX): Likewise
63927 2011-07-01  Andreas Schwab  <schwab@redhat.com>
63929         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
63930         domain only when needed.
63932 2011-06-30  Andreas Schwab  <schwab@redhat.com>
63934         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
63935         is always restored.
63937 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
63939         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
63940         are re-adding the entry.
63941         * nscd/servicescache.c (cache_addserv): Likewise.
63943 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
63945         * sysdeps/generic/dl-irel.h: fix protection against multiple
63946         inclusions.
63947         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
63949 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
63951         [BZ #12935]
63952         * malloc/memusage.sh: Fix quoting in message.
63953         * debug/xtrace.sh: Likewise.
63955         * configure.in: Remove support for --experimental-malloc option, make
63956         it the default.
63957         * config.make.in: Likewise.
63958         * malloc/Makefile: Likewise.
63960 2011-06-27  Andreas Schwab  <schwab@redhat.com>
63962         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
63963         two-byte characters.
63965 2011-06-27  Roland McGrath  <roland@hack.frob.com>
63967         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
63968         AC_CACHE_CHECK invocation.
63969         * configure: Regenerated.
63971         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
63973 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
63975         [BZ #12350]
63976         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
63977         bit from old_res_options.
63979         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
63981         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
63982         value type for setfct.
63984 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
63986         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
63987         __gettimeofday instead of gettimeofday.
63989 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
63991         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
63993 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
63995         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
63997         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
63998         info.
64000 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
64002         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64003         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
64004         strcpy-sse2-unaligned strncpy-sse2-unaligned
64005         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
64006         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
64007         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
64008         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
64009         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
64010         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
64011         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
64012         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
64013         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
64014         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
64015         (STRCPY): Support SSE2 and SSSE3 versions.
64017 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
64019         [BZ #12874]
64020         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
64021         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
64022         kernels which artificially limit size of requests.
64024 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
64026         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
64027         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
64028         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
64029         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
64030         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
64031         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
64032         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
64033         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
64034         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
64035         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
64036         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
64037         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
64038         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
64039         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
64040         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
64041         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64042         Enable unaligned load optimization for Intel Core i3, i5 and i7
64043         processors.
64044         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
64045         Define.
64046         (index_Fast_Unaligned_Load): Define.
64047         (HAS_FAST_UNALIGNED_LOAD): Define.
64049 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
64051         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
64053 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
64055         [BZ #12907]
64056         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
64057         until it is clear that the information is realy needed.
64058         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
64060 2011-06-22  Andreas Schwab  <schwab@redhat.com>
64062         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
64064 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
64066         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
64067         /sys/devices/system/cpu/online if it is usable.
64069         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
64070         reading the information from the /proc filesystem to once a second.
64072 2011-06-21  Andreas Jaeger  <aj@suse.de>
64074         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
64075         NULL after inclusion of kernel headers.
64077 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
64079         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
64080         calls to internal_setent.
64082         [BZ #12885]
64083         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
64084         addresses using gethostbyname4_r ignore IPv4 addresses.
64086         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
64087         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
64089         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
64091 2011-06-20  David S. Miller  <davem@davemloft.net>
64093         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
64094         inclusions.
64095         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
64097         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
64098         (elf_irel): Use it.
64099         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
64100         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
64101         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
64102         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
64103         * sysdeps/x86_64/dl-irel.h: Likewise.
64105         * elf/dl-runtime.c: Use elf_ifunc_invoke.
64106         * elf/dl-sym.c: Likewise.
64108 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
64110         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
64111         need to dereference resplen2.
64113 2011-06-14  Andreas Schwab  <schwab@redhat.com>
64115         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
64117 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
64119         * Makeconfig: Define vardbdir and inst_vardbdir.
64120         * nss/Makefile: Add rules to install db-Makefile.
64122         * nss/nss_db/db-XXX.c: Cleanup.
64124         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
64125         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
64126         GLIBC_PRIVATE.
64127         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
64128         * nss/makedb.c: Implement -g option to specify that value strings
64129         are generated and should not be added to table iterated over for
64130         get*ent calls.
64131         * nss/nss_db/db-initgroups.c: New file.
64133         * nss/getent.c: Add support for initgroups lookups through getgrouplist
64134         interface.
64136         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
64137         (internal_getgrouplist): Adjust to name change.
64138         Update use_initgroups_entry if this is not the first call.
64139         * nss/databases.def: Add initgroups entry.
64141         * nss/makedb.c (compute_tables): Check result of multiple hash table
64142         sizes to minimize maximum chain length.
64144 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
64146         * Versions.def: Add entry for libnss_db.
64147         * shlib-versions: Likewise.
64148         * nss/Makefile: Add rules to build libnss_db.
64149         * nss/Versions: Add libnss_db information.  Organize libnss_files
64150         entries better.
64151         * nss/db-Makefile: Add gshadow support.  Change rules for the new
64152         makedb progra.  Some minor improvements to generate smaller files.
64153         * nss/nss_db/nss_db.h: Move NSS database header data structures to
64154         here from...
64155         * nss/makedb.c: ...here.
64156         Improve database format to be smaller and require less memory at
64157         runtime.
64158         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
64159         db anymore.
64160         * nss/nss_db/db-netgrp.c: Likewise.
64161         * nss/nss_db/db-open.c: Likewise.
64162         * nss/nss_files/flies-XXX.x: Adjust comments.
64163         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
64164         * nss/nss_files/files-grp.c: Likewise.
64165         * nss/nss_files/files-hosts.c: Likewise.
64166         * nss/nss_files/files-network.c: Likewise.
64167         * nss/nss_files/files-proto.c: Likewise.
64168         * nss/nss_files/files-pwd.c: Likewise.
64169         * nss/nss_files/files-rpc.c: Likewise.
64170         * nss/nss_files/files-service.c: Likewise.
64171         * nss/nss_files/files-sgrp.c: Likewise.
64172         * nss/nss_files/files-spwd.c: Likewise.
64173         * nss/nss_db/db-alias.c: Removed.
64174         * nss/nss_db/dummy-db.h: Removed.
64176 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
64178         * nss/makedb.c: Rewritten to not use database library.
64179         * nss/Makefile: Update to build new makedb program.
64181 2011-06-14  Andreas Jaeger  <aj@suse.de>
64183         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
64184         memset declaration.
64186 2011-06-10  Andreas Schwab  <schwab@redhat.com>
64188         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
64189         tmpbuf.
64191 2011-06-10  Roland McGrath  <roland@hack.frob.com>
64193         * Makerules (shlib.lds): Fail if the linker script comes out empty.
64194         * elf/Makefile ($(objpfx)ld.so): Likewise.
64196         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
64197         Don't list ld.so twice in dependencies.
64199         * posix/bug-regex31.c: Include <stdlib.h>.
64201         * nscd/hstcache.c (cache_addhst): Remove unused variable.
64203         * nis/nss_compat/compat-spwd.c
64204         (getspent_next_nss_netgr): Remove unused variable.
64205         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
64207         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
64208         nonmembers" output to use the right array.
64210         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
64212         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
64214         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
64215         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
64216         * catgets/gencat.c (read_input_file): Likewise.
64217         * locale/programs/locarchive.c (enlarge_archive): Likewise.
64219         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
64220         variable definition inside #if's controlling its use.
64222         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
64224         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
64226         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
64228         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
64229         unreachable code.
64231         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
64233         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
64234         * configure: Regenerated.
64236         * Makerules: Revert last change.
64237         * elf/Makefile: Likewise.
64239 2011-06-09  Roland McGrath  <roland@hack.frob.com>
64241         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
64242         * elf/Makefile ($(objpfx)librtld.os): Likewise.
64243         (reloc-link): Likewise.
64245 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
64247         * elf/Makefile: Add rules to build pldd.
64248         * elf/pldd.c: New file.
64249         * elf/pldd-xx.c: New file.
64251 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
64253         * version.h: Update for 2.15 development version.
64255 2011-06-07  David S. Miller  <davem@davemloft.net>
64257         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
64258         ifuncs.
64259         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
64260         elf_machine_lazy_rel): Likewise.
64261         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
64262         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
64263         elf_machine_lazy_rel): Likewise.
64264         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
64265         dl_hwcap via passed in argument.
64266         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
64267         Likewise.
64269 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64271         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
64273 2011-06-06  Roland McGrath  <roland@hack.frob.com>
64275         [BZ #12849]
64276         * manual/fdl-1.1.texi: New file, verbatim from:
64277         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
64278         * manual/lgpl-2.1.texi: New file, verbatim from:
64279         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
64280         * manual/Makefile (licenses): New variable, list those new file names.
64281         (texis): Use it.
64282         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
64284         * manual/fdl.texi: File removed.
64285         * manual/lesser.texi: File removed.
64286         * manual/libc.texinfo (Copying, Documentation License):
64287         Use new @include file names, put @appendix directive before @include.
64289 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
64291         [BZ #12841]
64292         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
64293         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
64294         (mq_open): Add __NTH.
64296 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
64298         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64299         Assume Intel Core i3/i5/i7 processor if AVX is available.
64301 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
64303         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
64304         typo.
64306 2011-05-31  Andreas Schwab  <schwab@redhat.com>
64308         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
64309         memory.  Use alloca_account.  Fix memory leak when retrying.
64311 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
64313         * version.h (RELEASE): Bump for 2.14 release.
64314         * include/features.h (__GLIBC_MINOR__): Bump to 14.
64316         * config.make.in (RANLIB): Remove entry.
64318 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
64320         * po/Makefile (po-sed-cmd): Add ksh to extensions.
64321         (libc.pot): Work around missing support for .ksh extension in xgettext.
64323         [BZ #12684]
64324         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
64325         if both request failed.
64326         (send_dg): In case of server errors clear resplen or *resplen2.
64328         [BZ #12454]
64329         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
64330         when there are multiple maps.
64331         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
64332         (_dl_fini): Remove test here.
64334         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
64336 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
64338         [BZ #12350]
64339         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
64340         bit from old_res_options.
64341         (gaih_inet): Likewise.
64343         [BZ #11099]
64344         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
64345         as signed.
64347         * resolv/res_init.c (res_setoptions): Make the code more compact.
64349         [BZ #11558]
64350         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
64351         set RES_USEVC.
64353         [BZ #11634]
64354         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
64356         * malloc/malloc.h: Mark malloc hook variables as deprecated.
64358         [BZ #11781]
64359         * malloc/malloc.h: Declare malloc hook variables as volatile.
64361         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
64362         in last patch.
64364         [BZ #11799]
64365         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
64366         raise in the comment.
64367         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
64368         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
64369         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
64371 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
64373         [BZ #12811]
64374         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
64375         grow the buffers more if it already has to be sufficient.
64376         (build_wcs_upper_buffer): Likewise.
64377         * posix/regexec.c (check_matching): Likewise.
64378         (clean_state_log_if_needed): Likewise.
64379         (extend_buffers): Don't enlarge buffers beyond size of the input
64380         buffer.
64381         Patches mostly by Emil Wojak <emil@wojak.eu>.
64382         * posix/bug-regex32.c: New file.
64383         * posix/Makefile (tests): Add bug-regex32.
64385         * locale/findlocale.c (_nl_find_locale): Return right away if
64386         _nl_explode_name failed.
64387         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
64389         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
64391         * debug/xtrace.sh: Unify messages.
64392         * malloc/memusage.sh: Likewise.
64394         [BZ #12813]
64395         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
64396         time symbol from vDSO.  Substitute with vsyscall if not available.
64397         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
64398         __vdso_time.
64400         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
64401         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
64402         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
64403         Add sendmmsg and internal_sendmmsg.
64404         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
64405         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
64406         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
64408         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
64409         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
64410         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
64412 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
64414         [BZ #12813]
64415         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
64416         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
64417         available.
64418         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
64419         __vdso_getcpu.
64421         [BZ #12814]
64422         * iconvdata/Makefile (tests): Add bug-iconv9.
64423         * iconvdata/bug-iconv9.c: New file.
64425 2011-05-27  Andreas Schwab  <schwab@redhat.com>
64427         [BZ #12814]
64428         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
64430 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
64432         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
64433         (struct user_regs_struct): Change intcs field back to cs.
64435 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
64437         * po/ja.po: Update from translation team.
64439 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
64441         [BZ #12795]
64442         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
64443         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
64445 2011-05-20  Andreas Schwab  <schwab@redhat.com>
64447         * stdlib/longlong.h: Update from GCC.
64449 2011-05-23  Andreas Schwab  <schwab@redhat.com>
64451         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
64452         parameter name.
64453         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
64454         Add parameter name.
64455         (__sysconf): Pass it down.
64457 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
64459         [BZ #12671]
64460         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
64461         some situations.
64462         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
64463         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
64464         add in in __libc_use_alloca calls.  Adjust callers.
64465         (glob): Use malloc in some situations.
64467         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
64468         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
64469         pltexit.
64471 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
64473         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
64474         and CLOCK_BOOTTIME_ALARM.
64476         [BZ #12782]
64477         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
64478         is returned.
64480         * string/_strerror.c (__strerror_r): Print negative errors as signed
64481         numbers.
64483         [BZ #12777]
64484         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
64485         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
64486         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
64488         * configure.in: Fix typo in redirection and correct removal of test
64489         files in two cases.
64491         [BZ #12788]
64492         * locale/setlocale.c (new_composite_name): Fix test to check for
64493         identical name of all categories.
64495         [BZ #12792]
64496         * libio/filedoalloc.c (local_isatty): New function.
64497         (_IO_file_doallocate): Use local_isatty.
64498         * stdio-common/perror.c (perror): In case a new stream is used
64499         forward the stream error.
64500         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
64501         error flag.
64503 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
64505         [BZ #11869]
64506         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
64507         alloca.
64508         * include/alloca.h (extend_alloca_account): Define.
64510         [BZ #11857]
64511         * posix/regex.h: Fix comments with documentation of user-accessible
64512         fields after compilation and describe correct free'ing of pattern
64513         after re_compile_pattern.
64514         Patch by Reuben Thomas <rrt@sc3d.org>.
64516 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
64518         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
64519         and -mno-altivec to prevent the compiler from using Altivec and/or
64520         VSX instructions when the corresponding registers are not available.
64522 2011-05-19  Andreas Schwab  <schwab@redhat.com>
64524         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
64526 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
64528         * libio/freopen.c (freopen): Use __dup2, not dup2.
64529         * libio/freopen64.c (freopen64): Likewise.
64531 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
64533         [BZ #12775]
64534         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
64535         * math/Makefile (tests): Add test-powl.
64536         (CFLAGS-test-powl.c): Define.
64537         * math/test-powl.c: New file.
64539 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64541         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
64543 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
64545         [BZ #11837]
64546         * iconvdata/gb18030.c: Update to GB18020-2005.
64548 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
64550         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
64551         RE_SYNTAX_POSIX_AWK): Update to match recent development.
64552         Patch by Aharon Robbins <arnold@skeeve.com>.
64554         [BZ #11892]
64555         * stdlib/putenv.c (putenv): Don't always create copy of the variable
64556         on the stack.
64558         [BZ #11895]
64559         * misc/pselect.c (__pselect): Handle timeout value errors hidden
64560         through underflows.
64562         [BZ #12766]
64563         * misc/error.c (error_at_line): Ensure file_name and old_file_name
64564         point to strings before performing equality test for error_one_per_line
64565         mode.
64567         [BZ #11697]
64568         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
64570         [BZ #11820]
64571         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
64572         (struct user_fpregs_struct): Avoid __uint*_t types.
64574         [BZ #6420]
64575         * malloc/mtrace.c (tr_where): Add additional parameter to point to
64576         symbol info.  Use it instead of calling _dl_addr locally.
64577         (lock_and_info): New function.
64578         (tr_freehook): Call lock_and_info and pass symbol info as additional
64579         parameter to tr_where.
64580         (tr_mallochook): Likewise.
64581         (tr_reallochook): Likewise.
64582         (tr_memalignhook): Likewise.
64584         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
64585         used and couldn't be at all thread-safe.
64587 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
64589         * libio/freopen.c (freopen): Don't close old file descriptor
64590         before the new one is opened.  Instead dup the new file descriptor
64591         to the old one after the new stream is created.
64592         * libio/freopen64.c (freopen64): Likewise.
64593         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
64594         * libio/fileops.c (_IO_new_file_close_it): Handle new
64595         _IO_FLAGS2_NOCLOSE flag.
64596         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
64597         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
64598         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
64599         _IO_FLAGS2_NOCLOSE flag.
64600         * include/unistd.h: Add hidden_proto for dup3.
64601         Define __have_dup3.
64602         * io/dup3.c: Define hidden symbol.
64603         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
64605         [BZ #7101]
64606         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
64607         when an incomplete long option is used.
64608         * posix/tst-getopt_long1.c: New file.
64609         * posix/Makefile (tests): Add tst-getopt_long1.
64611         [BZ #10138]
64612         * scripts/config.guess: Update from autoconf-2.68.
64613         * scripts/config.sub: Likewise.
64615         [BZ #10157]
64616         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
64617         tests into ...
64618         (has_cpuclock): ...this.  New function.
64619         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
64620         macro here based on has_cpuclock code.
64622         [BZ #10149]
64623         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
64624         First byte (not low byte) is now always NUL.
64625         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
64627         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
64628         Use non-cancelable interfaces.
64630         [BZ #9809]
64631         * locale/iso-639.def: Add entry for Sorani.
64633         [BZ #11901]
64634         * include/stdlib.h: Move include protection to the right place.
64635         Define abort_msg_s.  Declare __abort_msg with it.
64636         * stdlib/abort.c (__abort_msg): Adjust type.
64637         * assert/assert.c (__assert_fail_base): New function.  Majority
64638         of code from __assert_fail.  Allocate memory for __abort_msg with
64639         mmap.
64640         (__assert_fail): Now call __assert_fail_base.
64641         * assert/assert-perr.c: Remove bulk of implementation.  Use
64642         __assert_fail_base.
64643         * include/assert.hL Declare __assert_fail_base.
64644         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
64645         mmap.
64646         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
64648 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
64650         [BZ #11952]
64651         [BZ #12453]
64652         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
64653         until all modules are registered in the DTV.
64654         * elf/Makefile: Add rules to build and run tst-tls19.
64655         * elf/tst-tls19.c: New file.
64656         * elf/tst-tls19mod1.c: New file.
64657         * elf/tst-tls19mod2.c: New file.
64658         * elf/tst-tls19mod3.c: New file.
64659         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
64661         [BZ #12083]
64662         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
64663         correctly.
64665         [BZ #12601]
64666         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
64667         two-byte sequence errors.
64668         * iconvdata/Makefile (tests): Add bug-iconv8.
64669         * iconvdata/bug-iconv8.c: New file.
64671         [BZ #12626]
64672         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
64673         buf2 definition.
64675         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
64677         [BZ #12432]
64678         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
64679         (dummy_getcfa): New function.
64680         (init): Get _Unwind_GetCFA address, use dummy if not found.
64681         (backtrace_helper): In recursion check, also check whether CFA changes.
64682         (__backtrace): Completely initialize arg.
64684         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
64685         storing incomplete byte sequence in state object.  Avoid testing for
64686         guaranteed too small input if we know there is enough data available.
64688 2011-05-11  Andreas Schwab  <schwab@redhat.com>
64690         * Makeconfig (+link-pie): Indent.
64691         * Rules (binaries-pie): Define if $(have-fpie) and
64692         $(build-shared).
64693         (binaries-shared): Also filter out $(binaries-pie).
64694         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
64695         * nscd/Makefile (others-pie): Add nscd.
64696         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
64697         ($(objpfx)nscd): Remove command override.
64698         * login/Makefile (others-pie): Add pt_chown.
64699         ($(objpfx)pt_chown): Remove command override.
64700         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
64701         remove command overrides.
64703 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
64705         * libio/tst_putwc.c: Fix error messages.
64707         [BZ #12724]
64708         * libio/fileops.c (_IO_new_file_close_it): Always flush when
64709         currently writing and seek to current position when not.
64710         * libio/Makefile (tests): Add bug-fclose1.
64711         * libio/bug-fclose1.c: New file.
64713 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
64715         [BZ #12511]
64716         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
64717         don't set DF_1_NODELETE here.
64718         (do_lookup_x): When entering new entry test for copy relocation
64719         and if necessary set DF_1_NODELETE flag.
64720         * elf/tst-unique4.cc: New file.
64721         * elf/tst-unique4.h: New file.
64722         * elf/tst-unique4lib.cc: New file.
64723         * elf/Makefile: Add rules to build and run tst-unique4.
64724         Patch by Piotr Bury <pbury@goahead.com>.
64726 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
64728         [BZ #12052]
64729         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
64731         [BZ #12625]
64732         * misc/mntent_r.c (addmntent): Flush the stream after the output
64734         [BZ #12393]
64735         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
64736         (is_trusted_path_normalize): Skip initial colon.  Append slash
64737         to empty buffer.  Duplicate is_trusted_path code but allow
64738         constructed patch to be prefix.
64739         (is_dst): Allow $ORIGIN followed by /.
64740         (_dl_dst_substitute): Correct clearing of check_for_trusted.
64741         Correct testing of result of is_trusted_path_normalize
64742         (decompose_rpath): Fix warning.
64744 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
64746         [BZ #11257]
64747         * grp/initgroups.c (internal_getgrouplist): When we found the service
64748         list through the initgroups entry in nsswitch.conf do not always
64749         continue on a successful lookup.  Don't always use the
64750         __nss_group_database value if it is set.
64751         * nss/nsswitch.conf (initgroups): Change action for successful db
64752         lookup to continue for compatibility.
64754 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
64756         [BZ #11532]
64757         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
64758         and CP774 modules.
64759         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
64760         and CP774 modules.
64761         * iconvdata/tst-tables.sh: Likewise.
64762         * iconvdata/cp770.c: New file.
64763         * iconvdata/cp771.c: New file.
64764         * iconvdata/cp772.c: New file.
64765         * iconvdata/cp773.c: New file.
64766         * iconvdata/cp774.c: New file.
64767         * iconvdata/testdata/CP770: New file.
64768         * iconvdata/testdata/CP770..UTF8: New file.
64769         * iconvdata/testdata/CP771: New file.
64770         * iconvdata/testdata/CP771..UTF8: New file.
64771         * iconvdata/testdata/CP772: New file.
64772         * iconvdata/testdata/CP772..UTF8: New file.
64773         * iconvdata/testdata/CP773: New file.
64774         * iconvdata/testdata/CP773..UTF8: New file.
64775         * iconvdata/testdata/CP774: New file.
64776         * iconvdata/testdata/CP774..UTF8: New file.
64778         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
64779         END CHARMAP line.
64780         * iconvdata/gen-8bit-gap.sh: Likewise.
64781         * iconvdata/gen-8bit.sh: Likewise.
64783         * locale/iso-639.def: Add ary entry.
64785         [BZ #11258]
64786         * locale/C-translit.h.in: Add U20A1 transliteration.
64788         [BZ #12178]
64789         * locale/iso-639.def: Add wae entry.
64790         Patch by Kevin Bortis <bortis@translate-wae.ch>.
64792         [BZ #12545]
64793         * locale/programs/localedef.c (construct_output_path): Use ssize_t
64794         for n.
64796         [BZ #12711]
64797         * locale/C-translit.h.in: Add entry for U20B9.
64798         Patch by pravin.d.s@gmail.com.
64800 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
64802         [BZ #12713]
64803         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
64804         ENAMETOOLONG use generic getcwd.
64805         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
64806         in rtld.  Use *stat64.
64807         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
64808         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
64809         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
64810         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
64811         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
64812         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
64813         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
64814         __fstatat64 macros.
64815         * include/dirent.h: Add libc_hidden_proto for rewinddir.
64816         * dirent/rewinddir.c: Add libc_hidden_def.
64817         * sysdeps/mach/hurd/rewinddir.c: Likewise.
64818         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
64820         * include/dirent.h (__alloc_dir): Add flags parameter.
64821         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
64822         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
64823         __alloc_dir.
64824         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
64825         from fdopendir if O_CLOEXEC is already set.
64827 2011-03-15  Alan Modra  <amodra@gmail.com>
64829         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
64830         l_tls_firstbyte_offset non-zero.  Save padding offset in
64831         l_tls_firstbyte_offset for later use.
64832         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
64833         freeing static tls block.
64835 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
64837         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
64838         where #ifdef was intended.  The intent is to prevent ARG_MAX from
64839         being defined by the kernel headers.
64841 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
64843         [BZ #12734]
64844         * resolv/resolv.h: Define RES_NOTLDQUERY.
64845         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
64846         no-tld-query and set RES_NOTLDQUERY.
64847         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
64848         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
64849         modern BIND to search name as TLD unless forbidden.
64851 2011-05-07  Petr Baudis  <pasky@suse.cz>
64852             Ulrich Drepper  <drepper@gmail.com>
64854         [BZ #12393]
64855         * elf/dl-load.c (fillin_rpath): Move trusted path check...
64856         (is_trusted_path): ...to here.
64857         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
64858         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
64859         using is_trusted_path_normalize() in setuid scripts.
64861 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
64863         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
64864         __BEGIN/__END_DECLS.
64866 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
64868         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
64869         NSS_STATUS_NOTFOUND if no record was found.
64871 2011-05-05  Andreas Schwab  <schwab@redhat.com>
64873         * sunrpc/Makefile (headers): Add rpc/netdb.h.
64874         (headers-not-in-tirpc): Remove rpc/netdb.h
64875         * resolv/netdb.h: Revert last change.
64877 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
64879         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
64880         circular dependency between libgcc.a and libc.a.
64882 2011-05-05  Andreas Schwab  <schwab@redhat.com>
64884         * resolv/netdb.h: Don't include <rpc/netdb.h>.
64885         * nis/Makefile: Don't install rpcsvc/*.
64886         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
64887         instead of <rpc/types.h>.
64888         (MAXHOSTNAMELEN): Define.
64890 2011-05-03  Andreas Schwab  <schwab@redhat.com>
64892         * elf/ldconfig.c (add_dir): Don't crash on empty path.
64894 2011-04-28  Maciej Babinski  <mbabinski@google.com>
64896         [BZ #12714]
64897         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
64898         gethostbyname4_r when IPv6 results are possible.
64900 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
64902         [BZ #12723]
64903         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
64904         _PC_PIPE_BUF handling.
64906 2011-04-30  Bruno Haible  <bruno@clisp.org>
64908         [BZ #12717]
64909         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
64910         * resolv/netdb.h (getnameinfo): Change type of flags parameter
64911         to 'int'.
64912         * inet/getnameinfo.c (getnameinfo): Likewise.
64914 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
64916         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
64917         to groups setting in database lookup.
64918         * nss/nsswitch.conf: Add initgroups entry.
64920 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
64922         [BZ #12685]
64923         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
64924         mode string.
64925         Patch by Eric Blake <eblake@redhat.com>.
64927 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
64929         * sunrpc/Makefile (need-export-routines): Add svc_run.
64930         (routines): Remove svc_run.
64931         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
64932         * sunrpc/clnt_perr.c (clnt_perrno): Export.
64933         * sunrpc/svc_run.c (svc_run): Likewise.
64934         * sunrpc/svc_udp.c (svcudp_create): Likewise.
64936 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
64938         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
64939         problem in reallocation in last patch.
64941 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
64943         * sunrpc/Makefile: Move inclusion of Rules.
64945 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
64947         * nss/nss_files/files-initgroups.c: New file.
64948         * nss/Makefile (libnss_files-routines): Add files-initgroups.
64949         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
64950         _nss_files_initgroups_dyn.
64952 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
64954         * elf/elf.h (R_ARM_IRELATIVE): Define.
64956 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
64958         * po/ru.po: Update from translation team.
64960 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
64962         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
64963         dependencies.
64965 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
64967         [BZ #12653]
64968         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
64969         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
64970         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
64971         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
64972         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
64974 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
64976         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
64977         differing bytes.
64978         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
64979         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
64980         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
64982 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
64984         [BZ #12420]
64985         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
64986         storing it.
64987         * stdlib/bug-getcontext.c: New file.
64988         * stdlib/Makefile: Add rules to build and run bug-getcontext.
64990 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64992         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
64993         instructions into .machine "z9-109".
64994         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
64995         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
64997 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64999         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
65000         between environment variables and auxiliary vector.
65002 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
65004         * Makefile: Add rules to build linkobj/libc.so.
65005         * include/libc-symbols.h: Define libc_hidden_nolink.
65006         * include/rpc/auth.h: Mark functions which are to be hidden.
65007         * include/rpc/auth_des.h: Likewise.
65008         * include/rpc/auth_unix.h: Likewise.
65009         * include/rpc/clnt.h: Likewise.
65010         * include/rpc/des_crypt.h: Likewise.
65011         * include/rpc/key_prot.h: Likewise.
65012         * include/rpc/pmap_clnt.h: Likewise.
65013         * include/rpc/pmap_prot.h: Likewise.
65014         * include/rpc/pmap_rmt.h: Likewise.
65015         * include/rpc/rpc_msg.h: Likewise.
65016         * include/rpc/svc.h: Likewise.
65017         * include/rpc/svc_auth.h: Likewise.
65018         * include/rpc/xdr.h: Likewise.
65019         * nis/Makefile: Link all DSOs against linkobj/libc.so.
65020         * nss/Makefile: Likewise.
65021         * sunrpc/Makefile: Don't install headers.  Build library with normal
65022         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
65023         * sunrpc/auth_des.c: Hide exported symbols by default, export some
65024         for the compat linking library.  Remove use of INTDEF/INTUSE.
65025         * sunrpc/auth_none.c: Likewise.
65026         * sunrpc/auth_unix.c: Likewise.
65027         * sunrpc/authdes_prot.c: Likewise.
65028         * sunrpc/authuxprot.c: Likewise.
65029         * sunrpc/clnt_gen.c: Likewise.
65030         * sunrpc/clnt_perr.c: Likewise.
65031         * sunrpc/clnt_raw.c: Likewise.
65032         * sunrpc/clnt_simp.c: Likewise.
65033         * sunrpc/clnt_tcp.c: Likewise.
65034         * sunrpc/clnt_udp.c: Likewise.
65035         * sunrpc/clnt_unix.c: Likewise.
65036         * sunrpc/des_crypt.c: Likewise.
65037         * sunrpc/des_soft.c: Likewise.
65038         * sunrpc/get_myaddr.c: Likewise.
65039         * sunrpc/key_call.c: Likewise.
65040         * sunrpc/key_prot.c: Likewise.
65041         * sunrpc/netname.c: Likewise.
65042         * sunrpc/pm_getmaps.c: Likewise.
65043         * sunrpc/pm_getport.c: Likewise.
65044         * sunrpc/pmap_clnt.c: Likewise.
65045         * sunrpc/pmap_prot.c: Likewise.
65046         * sunrpc/pmap_prot2.c: Likewise.
65047         * sunrpc/pmap_rmt.c: Likewise.
65048         * sunrpc/publickey.c: Likewise.
65049         * sunrpc/rpc_cmsg.c: Likewise.
65050         * sunrpc/rpc_common.c: Likewise.
65051         * sunrpc/rpc_dtable.c: Likewise.
65052         * sunrpc/rpc_prot.c: Likewise.
65053         * sunrpc/rpc_thread.c: Likewise.
65054         * sunrpc/rtime.c: Likewise.
65055         * sunrpc/svc.c: Likewise.
65056         * sunrpc/svc_auth.c: Likewise.
65057         * sunrpc/svc_authux.c: Likewise.
65058         * sunrpc/svc_raw.c: Likewise.
65059         * sunrpc/svc_run.c: Likewise.
65060         * sunrpc/svc_simple.c: Likewise.
65061         * sunrpc/svc_tcp.c: Likewise.
65062         * sunrpc/svc_udp.c: Likewise.
65063         * sunrpc/svc_unix.c: Likewise.
65064         * sunrpc/svcauth_des.c: Likewise.
65065         * sunrpc/xcrypt.c: Likewise.
65066         * sunrpc/xdr.c: Likewise.
65067         * sunrpc/xdr_array.c: Likewise.
65068         * sunrpc/xdr_float.c: Likewise.
65069         * sunrpc/xdr_intXX_t.c: Likewise.
65070         * sunrpc/xdr_mem.c: Likewise.
65071         * sunrpc/xdr_rec.c: Likewise.
65072         * sunrpc/xdr_ref.c: Likewise.
65073         * sunrpc/xdr_sizeof.c: Likewise.
65074         * sunrpc/xdr_stdio.c: Likewise.
65076 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
65078         [BZ #12650]
65079         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
65080         * sysdeps/ia64/dl-tls.h: Likewise.
65081         * sysdeps/powerpc/dl-tls.h: Likewise.
65082         * sysdeps/s390/dl-tls.h: Likewise.
65083         * sysdeps/sh/dl-tls.h: Likewise.
65084         * sysdeps/sparc/dl-tls.h: Likewise.
65085         * sysdeps/x86_64/dl-tls.h: Likewise.
65086         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
65088 2011-03-14  Andreas Schwab  <schwab@redhat.com>
65090         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
65091         rpath element also skip the following colon.
65092         (expand_dynamic_string_token): Add is_path parameter and pass
65093         down to DL_DST_REQUIRED and _dl_dst_substitute.
65094         (decompose_rpath): Call expand_dynamic_string_token with
65095         non-zero is_path.  Ignore empty rpaths.
65096         (_dl_map_object_from_fd): Call expand_dynamic_string_token
65097         with zero is_path.
65099 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
65101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
65102         Make cancelable.
65104 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
65106         [BZ #12655]
65107         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
65108         Patch by Filipe David Manana <fdmanana@apache.org>.
65110 2011-04-07  Andreas Schwab  <schwab@redhat.com>
65112         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
65113         Maintain aligned stack.
65114         (CHECK_RSP): Remove unused macro.
65116 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
65118         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
65119         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
65121 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
65123         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
65125         * include/features.h: Mention __USE_XOPEN2K8 in comment.
65127 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
65129         [BZ #12518]
65130         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
65131         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
65132         * sysdeps/x86_64/memmove.c: New file.
65133         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
65134         (memcpy): Renamed to ...
65135         (__new_memcpy): This.
65136         (memcpy): Provide GLIBC_2_14 memcpy.
65137         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
65138         (memcpy): Provide GLIBC_2_2_5 memcpy.
65140 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
65142         [BZ #12631]
65143         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
65145 2011-03-30  Andreas Schwab  <schwab@redhat.com>
65147         * misc/syncfs.c: New file.
65148         * misc/Makefile (routines): Add syncfs.
65149         * posix/unistd.h: Declare syncfs.
65150         * sysdeps/unix/syscalls.list: Add syncfs.
65152 2011-04-01  Andreas Schwab  <schwab@redhat.com>
65154         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
65155         open_by_handle_at.
65156         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
65157         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
65158         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
65159         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
65160         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
65161         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
65162         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
65164 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
65166         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
65167         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
65168         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
65169         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
65170         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
65171         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
65172         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
65174         * io/Makefile: Compile fallocate.c, fallocate64.c, and
65175         sync_file_range.c with -fexceptions.
65176         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
65177         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
65178         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
65179         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
65180         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
65181         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
65182         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
65183         sync_file_range as cancellation point
65184         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
65185         now a wrapper around __call_sync_file_range with cancellation handling.
65186         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
65187         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
65188         function name to __call_sync_file_range.
65189         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
65190         Add call_sync_file_range.
65192 2011-04-01  Andreas Schwab  <schwab@redhat.com>
65194         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65195         bits/timex.h.
65197 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
65199         * iconv/iconv.h: Fix typo in comment.
65200         * io/fcntl.h: Likewise.
65201         * libio/stdio.h: Likewise.
65202         * posix/spawn.h: Likewise.
65203         * posix/unistd.h: Likewise.
65204         * stdlib/stdlib.h: Likewise.
65205         * time/time.h: Likewise.
65206         * wcsmbs/wchar.h: Likewise.
65208         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
65209         open_by_handle): Add.
65210         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
65211         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
65212         Augment a few comments.
65213         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
65214         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
65215         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
65216         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
65217         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
65218         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
65219         open_by_handle.
65221         * io/fcntl.h (AT_EMPTY_PATH): Define.
65223 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
65225         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
65226         * sysdeps/unix/sysv/linux/bits/time.h: New file.
65227         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
65228         to...
65229         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
65230         * Versions.def: Add GLIBC_2.14.
65231         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
65232         Export.
65234 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
65236         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
65237         round counter.
65238         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
65240 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
65242         [BZ #12597]
65243         * string/test-strncmp.c (do_page_test): New function.
65244         (check2): Likewise.
65245         (test_main): Call check2.
65246         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
65248 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
65250         [BZ #12587]
65251         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
65252         Handle cache information in CPU leaf 4.
65253         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
65255 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
65257         [BZ #12583]
65258         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
65259         character representation.
65260         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
65262 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
65264         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
65265         END(__isnan) to END(__isnanf) to match function entry point/label
65266         EALIGN(__isnanf,...).
65268 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
65270         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
65272 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
65274         [BZ #12510]
65275         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
65276         copy from the symbol referenced in the relocation to initialize the
65277         used variable.
65278         Patch by Piotr Bury <pbury@goahead.com>.
65279         * elf/Makefile: Add rules to build and tst-unique3.
65280         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
65281         * elf/tst-unique3.cc: New file.
65282         * elf/tst-unique3.h: New file.
65283         * elf/tst-unique3lib.cc: New file.
65284         * elf/tst-unique3lib2.cc: New file.
65286         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
65288 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
65290         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
65291         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
65292         to _start.
65294 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
65296         * elf/dl-load.c (_dl_map_object): If we are looking for the first
65297         to-be-loaded object along a path to loader is ld.so.
65299 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
65300             Ulrich Drepper  <drepper@gmail.com>
65302         * sysdeps/x86_64/memset.S: After aligning destination, code
65303         branches to different locations depending on the value of
65304         misalignment, when multiarch is enabled. Fix this.
65306 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
65308         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
65309         Set _x86_64_preferred_memory_instruction for AMD processsors.
65310         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65311         Set bit_Prefer_SSE_for_memop for AMD processors.
65313 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
65315         * libio/fmemopen.c (fmemopen): Optimize a bit.
65317 2011-03-03  Andreas Schwab  <schwab@redhat.com>
65319         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
65321 2011-03-03  Roland McGrath  <roland@redhat.com>
65323         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
65325 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
65327         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
65328         __bzero_ultra1 instead of __memset_ultra1.
65330 2011-02-23  Andreas Schwab  <schwab@redhat.com>
65331             Ulrich Drepper  <drepper@gmail.com>
65333         [BZ #12509]
65334         * include/link.h (struct link_map): Add l_orig_initfini.
65335         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
65336         returning unsuccessfully.
65337         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
65338         close of a file loaded at startup, restore the original l_initfini
65339         list.
65340         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
65341         list, store the pointer.
65342         * elf/Makefile ($(objpfx)noload-mem): New rule.
65343         (noload-ENV): Define.
65344         (tests): Add $(objpfx)noload-mem.
65345         * elf/noload.c: Include <memcheck.h>.
65346         (main): Call mtrace.  Close all opened handles.
65348 2011-02-17  Andreas Schwab  <schwab@redhat.com>
65350         [BZ #12454]
65351         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
65352         dependencies are missing.
65354 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65356         Fix __if_freereq crash: Unlike the generic version which uses free,
65357         Hurd needs munmap.
65358         * sysdeps/mach/hurd/ifreq.h: New file.
65360 2011-01-27  Petr Baudis  <pasky@suse.cz>
65361             Ulrich Drepper  <drepper@gmail.com>
65363         [BZ 12445]#
65364         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
65365         to extend_alloca().
65366         * stdio-common/bug23.c: New file.
65367         * stdio-common/Makefile (tests): Add bug23.
65369 2010-09-28  Andreas Schwab  <schwab@redhat.com>
65370             Ulrich Drepper  <drepper@gmail.com>
65372         [BZ #12489]
65373         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
65374         before performing relro protection.  At old place add assertion
65375         to make sure nothing changed.
65377 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
65378             Glauber de Oliveira Costa  <glommer@gmail.com>
65380         * elf/elf.h: Add new ARM TLS relocs.
65382 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
65384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
65385         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
65386         cast from r3.
65387         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
65388         'tests' variable.
65389         * sysdeps/wordsize-64/tst-writev.c: New file.
65391 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
65393         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
65394         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
65395         insns in _dl_start to prevent a TOC reference before relocs are
65396         resolved.
65398 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
65400         [BZ #12469]
65401         * Makeconfig: Remove RANLIB definition.
65402         * Makerules: Don't use RANLIB.
65403         * aclocal.m4: Remove ranlib test.
65404         * configure.in: No need to check for ranlib.
65405         * elf/rtld-Rules: Don't use RANLIB.
65407 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65409         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
65410         protection macro.
65411         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
65412         inclusion protection macro.
65414         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
65415         SIGRTMIN and SIGRTMAX and print information in that case only when
65416         SIGRTMIN is defined.
65418 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
65420         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
65421         arginfo fn returning -1.
65423         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
65424         and thousands string is zero terminated.
65426 2011-02-03  Andreas Schwab  <schwab@redhat.com>
65428         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
65429         sysdeps/unix/sysv/linux/bits/socket.h.
65431 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65433         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
65434         (__CPU_COUNT): Remove old macros.
65435         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
65436         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
65437         (__CPU_ALLOC, __CPU_FREE): Add macros.
65438         (__sched_cpualloc, __sched_cpufree): Add declarations.
65440 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
65442         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
65443         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
65444         * nscd/aicache.c (addhstaiX): Return timeout of added value.
65445         (readdhstai): Return value of addhstaiX call.
65446         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
65447         (addgrbyX): Return value returned by cache_addgr.
65448         (readdgrbyname): Return value returned by addgrbyX.
65449         (readdgrbygid): Likewise.
65450         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
65451         (addpwbyX): Return value returned by cache_addpw.
65452         (readdpwbyname): Return value returned by addhstbyX.
65453         (readdpwbyuid): Likewise.
65454         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
65455         (addservbyX): Return value returned by cache_addserv.
65456         (readdservbyname): Return value returned by addservbyX:
65457         (readdservbyport): Likewise.
65458         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
65459         (addhstbyX): Return value returned by cache_addhst.
65460         (readdhstbyname): Return value returned by addhstbyX.
65461         (readdhstbyaddr): Likewise.
65462         (readdhstbynamev6): Likewise.
65463         (readdhstbyaddrv6): Likewise.
65464         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
65465         (readdinitgroups): Return value returned by addinitgroupsX.
65466         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
65467         (prune_cache): Keep track of timeout value of re-added entries.
65468         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
65469         * nscd/nscd.h: Adjust prototypes of readd* functions.
65471 2011-02-04  Roland McGrath  <roland@redhat.com>
65473         * nis/nis_server.c (nis_servstate): Use the right name for 0.
65474         (nis_stats): Likewise.
65475         * nis/nis_modify.c (nis_modify): Likewise.
65476         * nis/nis_remove.c (nis_remove): Likewise.
65477         * nis/nis_add.c (nis_add): Likewise.
65479         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
65481         * posix/fnmatch_loop.c: Add some consts.
65483         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
65485 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
65487         [BZ #12460]
65488         * config.make.in (config-cflags-novzeroupper): Define.
65489         * configure.in: Substitute libc_cv_cc_novzeroupper.
65490         * elf/Makefile (AVX-CFLAGS): Define.
65491         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
65492         (CFLAGS-tst-auditmod4a.c): Likewise.
65493         (CFLAGS-tst-auditmod4b.c): Likewise.
65494         (CFLAGS-tst-auditmod6b.c): Likewise.
65495         (CFLAGS-tst-auditmod6c.c): Likewise.
65496         (CFLAGS-tst-auditmod7b.c): Likewise.
65497         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
65499 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
65501         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
65502         function to the callback.
65503         Patch partly by Jiri Olsa <jolsa@redhat.com>.
65505 2011-02-02  Andreas Schwab  <schwab@redhat.com>
65507         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
65508         of errno.
65510 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
65512         [BZ #11724]
65513         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
65514         of constructors.
65515         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
65516         of destructors.
65517         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
65519         [BZ #11724]
65520         * elf/Makefile: Add rules to build and run new test.
65521         * elf/tst-initorder.c: New file.
65522         * elf/tst-initorder.exp: New file.
65523         * elf/tst-initordera1.c: New file.
65524         * elf/tst-initordera2.c: New file.
65525         * elf/tst-initordera3.c: New file.
65526         * elf/tst-initordera4.c: New file.
65527         * elf/tst-initorderb1.c: New file.
65528         * elf/tst-initorderb2.c: New file.
65529         * elf/tst-order-a1.c: New file.
65530         * elf/tst-order-a2.c: New file.
65531         * elf/tst-order-a3.c: New file.
65532         * elf/tst-order-a4.c: New file.
65533         * elf/tst-order-b1.c: New file.
65534         * elf/tst-order-b2.c: New file.
65535         * elf/tst-order-main.c: New file.
65536         New test case by George Gensure <werkt0@gmail.com>.
65538 2010-10-01  Andreas Schwab  <schwab@redhat.com>
65540         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
65541         decoding ACE if AI_CANONIDN.
65543 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
65545         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
65547 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
65549         * version.h (RELEASE): Bump for 2.13 release.
65550         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
65552         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
65554         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
65555         MADV_NOHUGEPAGE.
65556         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
65557         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
65558         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
65559         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
65560         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
65561         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
65563         * posix/getconf.c: Update copyright year.
65564         * catgets/gencat.c: Likewise.
65565         * csu/version.c: Likewise.
65566         * debug/catchsegv.sh: Likewise.
65567         * debug/xtrace.sh: Likewise.
65568         * elf/ldconfig.c: Likewise.
65569         * elf/ldd.bash.in: Likewise.
65570         * elf/sprof.c (print_version): Likewise.
65571         * iconv/iconv_prog.c: Likewise.
65572         * iconv/iconvconfig.c: Likewise.
65573         * locale/programs/locale.c: Likewise.
65574         * locale/programs/localedef.c: Likewise.
65575         * malloc/memusage.sh: Likewise.
65576         * malloc/mtrace.pl: Likewise.
65577         * nscd/nscd.c (print_version): Likewise.
65578         * nss/getent.c: Likewise.
65580         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
65581         PF_CAIF, and PF_ALG.
65582         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
65584 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
65586         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
65587         (modules-names): Use them.
65588         (ifunc-test-modules, ifunc-pie-tests): Define.
65589         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
65590         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
65591         (test-extras): Likewise.
65592         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
65593         $(compile-command.c).
65594         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
65595         (all-built-dso): Define.
65596         (check-textrel.out, check-execstack.out): Depend on it.
65598         * configure.in: Don't override --enable-multi-arch.
65600 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
65602         [BZ #6812]
65603         * nscd/hstcache.c (tryagain): Define.
65604         (cache_addhst): Return tryagain not notfound for temporary errors.
65605         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
65606         failed.
65608 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
65610         [BZ #10563]
65611         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
65612         to make the syscall.
65613         * sysdeps/unix/sysv/linux/setgroups.c: New file.
65615         [BZ #12378]
65616         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
65617         and fall back to matching as normal character if the string ends before
65618         the matching ']' is found.  This is what POSIX requires.
65619         * posix/testfnm.c: Adjust test result.
65620         * posix/globtest.sh: Adjust test result.  Add new test.
65621         * posix/tst-fnmatch.input: Likewise.
65622         * posix/tst-fnmatch2.c: Add new test.
65624 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
65626         * elf/Makefile (check-execstack): Revert last change.  Depend on
65627         check-execstack.h.
65628         (check-execstack.h): New target.
65629         (generated): Add check-execstack.h.
65630         * elf/check-execstack.c: Include "check-execstack.h".
65631         (main): Revert last change.
65632         (handle_file): Return zero if GNU_STACK is absent and
65633         DEFAULT_STACK_PERMS doesn't include PF_X.
65635 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
65637         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
65638         in child fails because the descriptor is already closed.
65639         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
65640         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
65641         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
65643         [BZ #12397]
65644         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
65645         syscall.
65647         [BZ #10484]
65648         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
65649         temporary buffer used to handle multi lookups locally.
65650         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
65652 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
65654         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
65655         loader is ld.so.
65657 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
65659         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
65660         alignment for SSE2.
65662 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
65664         [BZ #12394]
65665         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
65666         characters.  When rounding increased number of integer digits recompute
65667         number of groups.
65668         * stdio-common/tst-grouping.c: New file.
65669         * stdio-common/Makefile: Add rules to build and run tst-grouping.
65671 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
65673         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
65674         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
65676         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
65677         void.
65678         * bits/select.h: Likewise.
65680 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
65682         * po/ja.po: Update from translation team.
65684 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
65686         [BZ #11155]
65687         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
65688         implementation just like for lxstat, fxstatat, et al.
65690 2010-12-27  Jim Meyering  <meyering@redhat.com>
65692         [BZ #12348]
65693         * posix/regexec.c (build_trtable): Return failure indication upon
65694         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
65696 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
65698         [BZ #12201]
65699         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
65700         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
65701         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
65702         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
65704         [BZ #12207]
65705         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
65707         [BZ #12204]
65708         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
65709         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
65711 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
65713         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
65714         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
65715         script has SORT_BY_INIT_PRIORITY.
65716         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
65717         NO_CTORS_DTORS_SECTIONS is defined.
65718         * elf/soinit.c: Likewise.
65719         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
65720         NO_CTORS_DTORS_SECTIONS is defined.
65721         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
65722         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
65723         * sysdeps/sh/init-first.c: Likewise.
65724         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
65726 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
65728         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
65729         always use the slow path.
65731 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
65733         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
65734         similar rule which adds the sysdep directories to the header search in
65735         order to pick up the correct platform stackinfo.h.
65736         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
65737         perform test if it is, otherwise return successfully without testing.
65738         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
65739         DEFAULT_STACK_PERMS define in stackinfo.h.
65740         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
65741         defined in stackinfo.h.
65742         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
65743         DEFAULT_STACK_PERMS defined in stackinfo.h.
65744         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
65745         * sysdeps/ia64/stackinfo.h: Likewise.
65746         * sysdeps/s390/stackinfo.h: Likewise.
65747         * sysdeps/sh/stackinfo.h: Likewise.
65748         * sysdeps/sparc/stackinfo.h: Likewise.
65749         * sysdeps/x86_64/stackinfo.h: Likewise.
65750         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
65751         PF_X for powerpc64.  Retain PF_X for powerpc32.
65753 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
65755         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
65756         accurately.
65757         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
65758         GETDENTS_64BIT_ALIGNED.
65760 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
65762         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
65764 2010-12-10  Andreas Schwab  <schwab@redhat.com>
65766         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
65767         _GNU_SOURCE.
65769         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
65770         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
65771         Remove __restrict.
65772         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
65773         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
65775 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
65777         [BZ #11655]
65778         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
65779         are initialized.
65781 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
65783         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
65785 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
65787         * po/it.po: Update from translation team.
65789 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
65791         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
65792         unused codes.
65794 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
65796         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
65798 2010-11-24  Andreas Schwab  <schwab@redhat.com>
65800         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
65801         specially.
65802         (gaih_getanswer_slice): Likewise.
65804 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
65806         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
65808 2010-05-31  Petr Baudis  <pasky@suse.cz>
65810         [BZ #11149]
65811         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
65812         silently even in the chroot mode.
65814 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
65816         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
65817         last patch a bit.  Pretty printing
65819 2010-05-31  Petr Baudis <pasky@suse.cz>
65821         [BZ #10085]
65822         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
65823         initialization of skip_initgroups_dyn.
65825 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
65827         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
65828         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
65830 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
65832         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
65834 2010-11-11  Andreas Schwab  <schwab@redhat.com>
65836         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
65837         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
65838         (tst-fnmatch-ENV): Set MALLOC_TRACE.
65839         ($(objpfx)tst-fnmatch-mem): New rule.
65840         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
65841         * posix/tst-fnmatch.c (main): Call mtrace.
65843 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
65845         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65846         Support Intel processor model 6 and model 0x2c.
65848 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
65850         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
65851           signed comparison.
65853 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
65855         [BZ #12205]
65856         * string/test-strncasecmp.c (check_result): New function.
65857         (do_one_test): Use it.
65858         (check1): New function.
65859         (test_main): Use it.
65860         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
65861         Support strcasecmp and strncasecmp.
65863 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
65865         [BZ #12194]
65866         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
65867         * sysdeps/x86_64/bits/byteswap.h: Likewise.
65869 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
65871         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
65872         IFUNC support.
65873         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65874         memset-x86-64.
65875         * sysdeps/x86_64/multiarch/bzero.S: New file.
65876         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
65877         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
65878         * sysdeps/x86_64/multiarch/memset.S: New file.
65879         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
65880         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65881         Set bit_Prefer_SSE_for_memop for Intel processors.
65882         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
65883         Define.
65884         (index_Prefer_SSE_for_memop): Define.
65885         (HAS_PREFER_SSE_FOR_MEMOP): Define.
65887 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
65889         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
65890         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
65892 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
65894         [BZ #12191]
65895         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
65896         (__x86_64_raw_data_cache_size_half): Likewise.
65897         (__x86_64_raw_shared_cache_size): Likewise.
65898         (__x86_64_raw_shared_cache_size_half): Likewise.
65900         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
65901         (__x86_64_raw_data_cache_size_half): Likewise.
65902         (__x86_64_raw_shared_cache_size): Likewise.
65903         (__x86_64_raw_shared_cache_size_half): Likewise.
65904         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
65905         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
65906         and __x86_64_raw_shared_cache_size_half.  Round
65907         __x86_64_data_cache_size_half, __x86_64_data_cache_size
65908         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
65909         to multiple of 256 bytes.
65911 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
65913         [BZ #12167]
65914         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
65915         of inacessible symlinks.  Verify result of symlink before returning it.
65916         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
65917         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
65919 2010-10-28  Erich Ritz  <erichritz@gmail.com>
65921         * math/math.h (isinf): Fix typo in comment.
65923 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
65925         * po/da.po: Update from translation team.
65927 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
65929         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
65930         is added to the list.
65932 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65933             Ulrich Drepper  <drepper@gmail.com>
65935         * elf/dl-object.c (_dl_new_object): Don't append the new object to
65936         the global list here.  Move code to...
65937         (_dl_add_to_namespace_list): ...here.  New function.
65938         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
65939         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
65940         * elf/dl-load.c (lose): Don't remove the element from the list.
65941         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
65942         (_dl_map_object): Likewise.
65944 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
65946         [BZ #12159]
65947         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
65948         into all bytes of SSE register.
65949         Patch by Richard Li <richardpku@gmail.com>.
65951 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
65953         [BZ #12140]
65954         * malloc/malloc.c (_int_free): Fill correct number of bytes when
65955         perturbing.
65957 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
65959         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
65960         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
65961         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
65962         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
65963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
65964         submachine.
65965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
65967 2010-10-22  Andreas Schwab  <schwab@redhat.com>
65969         * include/dlfcn.h (__RTLD_SECURE): Define.
65970         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
65971         mode & __RTLD_SECURE instead.
65972         (open_path): Rename preloaded parameter to secure.
65973         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
65974         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
65975         * elf/dl-deps.c (openaux): Likewise.
65976         * elf/rtld.c (struct map_args): Remove is_preloaded.
65977         (map_doit): Don't use it.
65978         (dl_main): Likewise.
65979         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
65980         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
65982 2010-09-09  Andreas Schwab  <schwab@redhat.com>
65984         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
65985         (sysd-rules-targets): Remove duplicates.
65986         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
65987         rtld-%.$o dependency.
65989 2010-10-18  Andreas Schwab  <schwab@redhat.com>
65991         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
65992         _dl_map_object do it.
65994 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
65996         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
65997         fast fma builtins, define the macros in the C99 standard.
65998         (FP_FAST_FMAF): Likewise.
65999         (FP_FAST_FMAL): Likewise.
66000         * sysdeps/x86_64/bits/mathdef.h: Likewise.
66002         * bits/mathdef.h: Update copyright year.
66003         * sysdeps/powerpc/bits/mathdef.h: Likewise.
66005 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
66007         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
66008         builtins, define the macros in the C99 standard.
66009         (FP_FAST_FMAF): Likewise.
66010         (FP_FAST_FMAL): Likewise.
66011         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
66012         multiply/add.
66013         (FP_FAST_FMAF): Likewise.
66015 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
66017         [BZ #3268]
66018         * math/libm-test.inc (fma_test): Some new testcases.
66019         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
66020         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
66021         y and infinite z.  Do multiplication by C already in long double.
66022         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
66023         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
66024         y and infinite z.  Do bitwise or of inexact bit into u.d.
66025         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
66026         * sysdeps/i386/fpu/s_fmaf.S: Removed.
66027         * sysdeps/i386/fpu/s_fma.S: Removed.
66028         * sysdeps/i386/fpu/s_fmal.S: Removed.
66030 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
66032         [BZ #3268]
66033         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
66034         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
66035         computation is not scheduled after fetestexcept.  Fix value
66036         of minimum denormal long double.
66038 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
66040         [BZ #3268]
66041         * math/libm-test.inc (fma_test): Add some more tests.
66042         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
66043         correctly.
66045 2010-10-15  Andreas Schwab  <schwab@redhat.com>
66047         * scripts/data/localplt-s390-linux-gnu.data: New file.
66048         * scripts/data/localplt-s390x-linux-gnu.data: New file.
66050 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
66052         [BZ #3268]
66053         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
66054         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
66055         instead of dbl-64.
66056         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
66057         inlines.
66058         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
66059         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
66060         if one of x and y is very large and the other is subnormal.
66061         * sysdeps/s390/fpu/s_fmaf.c: New file.
66062         * sysdeps/s390/fpu/s_fma.c: New file.
66063         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
66064         * sysdeps/powerpc/fpu/s_fma.S: New file.
66065         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
66066         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
66067         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
66069 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
66071         [BZ #3268]
66072         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
66073         fma tests.
66074         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
66075         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
66076         * sysdeps/i386/i686/multiarch/s_fma.c: Include
66077         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
66078         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
66079         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
66080         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
66082 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
66084         [BZ #12078]
66085         * posix/regcomp.c (parse_branch): One more memory leak plugged.
66086         * posix/bug-regex31.input: Add test case.
66088 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
66090         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
66091         * posix/bug-regex31.input: New file.
66093         [BZ #12078]
66094         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
66095         (parse_sub_exp): Fix last change, use postorder.
66097         * posix/bug-regex31.c: New file.
66098         * posix/Makefile: Add rules to build and run bug-regex31.
66100         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
66102         [BZ #12078]
66103         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
66105         [BZ #12108]
66106         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
66107         to have entries in sys_siglist.
66109         [BZ #12093]
66110         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
66111         be NULL.
66113 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
66115         [BZ #3268]
66116         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
66117         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
66118         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
66119         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
66120         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
66121         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
66122         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
66123         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
66124         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
66125         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
66126         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
66127         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
66128         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
66129         * math/ftestexcept.c (fetestexcept): Likewise.
66130         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
66131         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
66132         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
66133         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
66134         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
66135         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
66136         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
66138 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
66140         [BZ #12107]
66141         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
66142         newline.
66144 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
66146         * string/bug-strstr1.c: New file.
66147         * string/Makefile: Add rules to build and run bug-strstr1.
66149 2010-10-05  Eric Blake  <eblake@redhat.com>
66151         [BZ #12092]
66152         * string/str-two-way.h (two_way_long_needle): Always clear memory
66153         when skipping input due to the shift table.
66155 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
66157         [BZ #12005]
66158         * malloc/mcheck.c: Handle large requests.
66160         [BZ #12077]
66161         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
66162         for strncmp and strncasecmp.
66163         * string/stratcliff.c: Add tests for strcmp and strncmp.
66164         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
66166 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66168         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
66169         __set_fpscr.
66171 2010-09-30  Andreas Jaeger  <aj@suse.de>
66173         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
66174         (CGROUP_SUPER_MAGIC): Define.
66175         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
66176         Handle btrfs and cgroup file systems.
66177         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
66178         Likewise.
66180 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
66182         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
66183         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
66185 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66187         [BZ #12067]
66188         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
66189         trying to locate the ELF header.
66191 2010-09-27  Andreas Schwab  <schwab@redhat.com>
66193         [BZ #11611]
66194         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
66195         Mask out sign-bit copies when constructing f_fsid.
66197 2010-09-24  Petr Baudis <pasky@suse.cz>
66199         * debug/stack_chk_fail_local.c: Add missing licence exception.
66200         * debug/warning-nop.c: Likewise.
66202 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
66204         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
66205         implementing getdents64 using getdents syscall, set d_type if
66206         __ASSUME_GETDENTS32_D_TYPE.
66208 2010-09-16  Andreas Schwab  <schwab@redhat.com>
66210         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
66211         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
66213 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
66215         [BZ #12037]
66216         * posix/unistd.h: Undo change of feature selection for ftruncate from
66217         2010-01-11.
66219 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
66221         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
66222         detection.
66224 2010-09-20  Andreas Schwab  <schwab@redhat.com>
66226         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
66227         fanotify_mark.
66228         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
66230 2010-09-14  Andreas Schwab  <schwab@redhat.com>
66232         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
66233         variables after CHECK_SP call.
66234         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
66236 2010-09-13  Andreas Schwab  <schwab@redhat.com>
66237             Ulrich Drepper  <drepper@redhat.com>
66239         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
66240         re-relocationg ld.so.
66241         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
66242         _dl_init_paths call.
66243         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
66244         here anymore.
66246 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
66248         * resolv/res_init.c (__res_vinit): Count the default server we added.
66250 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
66251             Ulrich Drepper  <drepper@redhat.com>
66253         [BZ #11968]
66254         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
66255         (____longjmp_chk): Use %ebx for saving value across system call.
66256         Add unwind info.
66258 2010-09-06  Andreas Schwab  <schwab@redhat.com>
66260         * manual/Makefile: Don't mix pattern rules with normal rules.
66262 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
66264         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
66265         operation.
66266         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
66267         * libio/iofopncook.c (_IO_cookie_init): Likewise.
66268         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
66269         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
66270         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
66271         Likewise.
66273 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
66275         [BZ #11979]
66276         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
66277         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
66279 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
66281         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
66282         * sysdeps/x86_64/addmul_1.S: Likewise.
66283         * sysdeps/x86_64/lshift.S: Likewise.
66284         * sysdeps/x86_64/mul_1.S: Likewise.
66285         * sysdeps/x86_64/rshift.S: Likewise.
66286         * sysdeps/x86_64/sub_n.S: Likewise.
66287         * sysdeps/x86_64/submul_1.S: Likewise.
66289 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66291         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
66292         Define __sched_param instead of SCHED_* and sched_param when
66293         <bits/sched.h> is included with __need_schedparam defined.
66294         * bits/sched.h [__need_schedparam]
66295         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
66296         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
66297         (__defined_schedparam): Define to 1.
66298         (__sched_param): New structure, identical to sched_param.
66299         (__need_schedparam): Undefine.
66301 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
66303         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
66304         (epoll_create1): Declare.
66306         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
66308 2010-08-31  Andreas Schwab  <schwab@redhat.com>
66310         [BZ #7066]
66311         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
66312         shifting retval into place.
66314 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
66316         * nis/rpcsvc/nis.h: Update copyright notice.
66317         * nis/rpcsvc/nis.x: Likewise.
66318         * nis/rpcsvc/nis_callback.h: Likewise.
66319         * nis/rpcsvc/nis_callback.x: Likewise.
66320         * nis/rpcsvc/nis_object.x: Likewise.
66321         * nis/rpcsvc/nis_tags.h: Likewise.
66322         * nis/rpcsvc/yp.h: Likewise.
66323         * nis/rpcsvc/yp.x: Likewise.
66324         * nis/rpcsvc/ypupd.h: Likewise.
66325         * nis/yp_xdr.c: Likewise.
66326         * nis/ypupdate_xdr.c: Likewise.
66328         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
66329         mainly the body of pmap_getport.  Add parameters to specify timeouts.
66330         (pmap_getport): Use __libc_rpc_getport.
66331         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
66332         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
66333         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
66335 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
66337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
66338         fanotify_mark.
66340 2010-08-27  Roland McGrath  <roland@redhat.com>
66342         * sysdeps/i386/i686/multiarch/Makefile
66343         (CFLAGS-varshift.c): New variable.
66345 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
66347         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
66348         * sysdeps/i386/i686/multiarch/varshift.c: New file.
66350         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
66352         * sysdeps/x86_64/strlen.S: Minimal code improvement.
66354 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
66356         * sysdeps/x86_64/strlen.S: Unroll the loop.
66357         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
66358         strlen-sse2 strlen-sse2-bsf.
66359         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
66360         __strlen_no_bsf if bit_Slow_BSF is set.
66361         (__strlen_sse42): Removed.
66362         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
66363         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
66365 2010-08-25  Roland McGrath  <roland@redhat.com>
66367         * sysdeps/x86_64/multiarch/varshift.S: File removed.
66368         * sysdeps/x86_64/multiarch/varshift.c: New file.
66369         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
66370         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
66371         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
66372         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
66374 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
66376         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66377         strlen-sse2 strlen-sse2-bsf.
66378         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
66379         __strlen_sse2_bsf if bit_Slow_BSF is unset.
66380         (__strlen_sse2): Removed.
66381         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
66382         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
66383         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
66384         bit_Slow_BSF for Atom.
66385         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
66386         (index_Slow_BSF): Define.
66387         (HAS_SLOW_BSF): Define.
66389 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
66391         [BZ #10851]
66392         * resolv/res_init.c (__res_vinit): When no server address at all
66393         is given default to loopback.
66395 2010-08-24  Roland McGrath  <roland@redhat.com>
66397         * configure.in: Remove config-name.h generation.
66398         * configure: Regenerated.
66399         * config-name.in: File removed.
66400         * scripts/config-uname.sh: New file.
66401         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
66402         ($(objdir)config-name.h): New target.
66404         * sunrpc/rpc_parse.h: Avoid nested comment.
66406 2010-08-24  Richard Henderson  <rth@redhat.com>
66407             Ulrich Drepper  <drepper@redhat.com>
66408             H.J. Lu  <hongjiu.lu@intel.com>
66410         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
66411         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
66412         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
66413         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
66414         _mm_alignr_epi8 with _mm_loadu_si128.
66415         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
66416         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
66417         (__m128i_shift_right): Removed.
66418         * sysdeps/i386/i686/multiarch/varshift.h: New file.
66419         * sysdeps/i386/i686/multiarch/varshift.S: New file.
66420         * sysdeps/x86_64/multiarch/varshift.h: New file.
66421         * sysdeps/x86_64/multiarch/varshift.S: New file.
66423 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
66425         * configure.in: Move assembler checks to before sysdep dir checking.
66427 2010-08-20  Petr Baudis  <pasky@suse.cz>
66429         * LICENSES: Sync the sunrpc license.
66431 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
66433         * sunrpc/auth_des.c: Update copyright notice once again.
66434         * sunrpc/auth_none.c: Likewise.
66435         * sunrpc/auth_unix.c: Likewise.
66436         * sunrpc/authdes_prot.c: Likewise.
66437         * sunrpc/authuxprot.c: Likewise.
66438         * sunrpc/bindrsvprt.c: Likewise.
66439         * sunrpc/clnt_gen.c: Likewise.
66440         * sunrpc/clnt_perr.c: Likewise.
66441         * sunrpc/clnt_raw.c: Likewise.
66442         * sunrpc/clnt_simp.c: Likewise.
66443         * sunrpc/clnt_tcp.c: Likewise.
66444         * sunrpc/clnt_udp.c: Likewise.
66445         * sunrpc/clnt_unix.c: Likewise.
66446         * sunrpc/des_crypt.c: Likewise.
66447         * sunrpc/des_soft.c: Likewise.
66448         * sunrpc/get_myaddr.c: Likewise.
66449         * sunrpc/getrpcport.c: Likewise.
66450         * sunrpc/key_call.c: Likewise.
66451         * sunrpc/key_prot.c: Likewise.
66452         * sunrpc/openchild.c: Likewise.
66453         * sunrpc/pm_getmaps.c: Likewise.
66454         * sunrpc/pm_getport.c: Likewise.
66455         * sunrpc/pmap_clnt.c: Likewise.
66456         * sunrpc/pmap_prot.c: Likewise.
66457         * sunrpc/pmap_prot2.c: Likewise.
66458         * sunrpc/pmap_rmt.c: Likewise.
66459         * sunrpc/rpc/auth.h: Likewise.
66460         * sunrpc/rpc/auth_unix.h: Likewise.
66461         * sunrpc/rpc/clnt.h: Likewise.
66462         * sunrpc/rpc/des_crypt.h: Likewise.
66463         * sunrpc/rpc/key_prot.h: Likewise.
66464         * sunrpc/rpc/netdb.h: Likewise.
66465         * sunrpc/rpc/pmap_clnt.h: Likewise.
66466         * sunrpc/rpc/pmap_prot.h: Likewise.
66467         * sunrpc/rpc/pmap_rmt.h: Likewise.
66468         * sunrpc/rpc/rpc.h: Likewise.
66469         * sunrpc/rpc/rpc_des.h: Likewise.
66470         * sunrpc/rpc/rpc_msg.h: Likewise.
66471         * sunrpc/rpc/svc.h: Likewise.
66472         * sunrpc/rpc/svc_auth.h: Likewise.
66473         * sunrpc/rpc/types.h: Likewise.
66474         * sunrpc/rpc/xdr.h: Likewise.
66475         * sunrpc/rpc_clntout.c: Likewise.
66476         * sunrpc/rpc_cmsg.c: Likewise.
66477         * sunrpc/rpc_common.c: Likewise.
66478         * sunrpc/rpc_cout.c: Likewise.
66479         * sunrpc/rpc_dtable.c: Likewise.
66480         * sunrpc/rpc_hout.c: Likewise.
66481         * sunrpc/rpc_main.c: Likewise.
66482         * sunrpc/rpc_parse.c: Likewise.
66483         * sunrpc/rpc_parse.h: Likewise.
66484         * sunrpc/rpc_prot.c: Likewise.
66485         * sunrpc/rpc_sample.c: Likewise.
66486         * sunrpc/rpc_scan.c: Likewise.
66487         * sunrpc/rpc_scan.h: Likewise.
66488         * sunrpc/rpc_svcout.c: Likewise.
66489         * sunrpc/rpc_tblout.c: Likewise.
66490         * sunrpc/rpc_util.c: Likewise.
66491         * sunrpc/rpc_util.h: Likewise.
66492         * sunrpc/rpcinfo.c: Likewise.
66493         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
66494         * sunrpc/rpcsvc/key_prot.x: Likewise.
66495         * sunrpc/rpcsvc/klm_prot.x: Likewise.
66496         * sunrpc/rpcsvc/mount.x: Likewise.
66497         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
66498         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
66499         * sunrpc/rpcsvc/rex.x: Likewise.
66500         * sunrpc/rpcsvc/rstat.x: Likewise.
66501         * sunrpc/rpcsvc/rusers.x: Likewise.
66502         * sunrpc/rpcsvc/sm_inter.x: Likewise.
66503         * sunrpc/rpcsvc/spray.x: Likewise.
66504         * sunrpc/rpcsvc/yppasswd.x: Likewise.
66505         * sunrpc/rtime.c: Likewise.
66506         * sunrpc/svc.c: Likewise.
66507         * sunrpc/svc_auth.c: Likewise.
66508         * sunrpc/svc_authux.c: Likewise.
66509         * sunrpc/svc_raw.c: Likewise.
66510         * sunrpc/svc_run.c: Likewise.
66511         * sunrpc/svc_simple.c: Likewise.
66512         * sunrpc/svc_tcp.c: Likewise.
66513         * sunrpc/svc_udp.c: Likewise.
66514         * sunrpc/svc_unix.c: Likewise.
66515         * sunrpc/svcauth_des.c: Likewise.
66516         * sunrpc/xcrypt.c: Likewise.
66517         * sunrpc/xdr.c: Likewise.
66518         * sunrpc/xdr_array.c: Likewise.
66519         * sunrpc/xdr_float.c: Likewise.
66520         * sunrpc/xdr_mem.c: Likewise.
66521         * sunrpc/xdr_rec.c: Likewise.
66522         * sunrpc/xdr_ref.c: Likewise.
66523         * sunrpc/xdr_sizeof.c: Likewise.
66524         * sunrpc/xdr_stdio.c: Likewise.
66526         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
66527         handling.
66529 2010-08-19  Andreas Schwab  <schwab@redhat.com>
66531         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
66533 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
66535         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
66536         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
66537         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
66538         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
66539         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
66540         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
66541         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
66542         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
66543         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
66544         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
66545         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
66546         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
66547         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
66548         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
66550 2010-07-26  Anton Blanchard  <anton@samba.org>
66552         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
66553         * malloc/arena.c (heap_trim): Likewise.
66555 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
66557         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
66558         here.  Not...
66559         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
66560         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
66562 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
66564         * sysdeps/i386/elf/Makefile: New file.
66566 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
66568         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
66569         from fanotify_init.
66570         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
66571         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
66573 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
66575         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
66576         of strncasecmp_l.
66577         * sysdeps/multiarch/strcmp.S: Likewise.
66579 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
66581         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
66582         strncase_l-nonascii.
66583         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
66584         Add strncase_l-ssse3.
66585         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
66586         * sysdeps/x86_64/strcmp.S: Likewise.
66587         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
66588         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
66589         * sysdeps/x86_64/strncase.S: New file.
66590         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
66591         * sysdeps/x86_64/strncase_l.S: New file.
66592         * string/Makefile (strop-tests): Add strncasecmp.
66593         * string/test-strncasecmp.c: New file.
66595         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
66596         warning.
66598         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
66599         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
66601 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
66603         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
66605 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
66607         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
66608         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
66609         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
66611 2010-05-01  Alan Modra  <amodra@gmail.com>
66613         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
66614         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
66615         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
66616         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
66617         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
66618         tidying.  Don't tail-call __sigjmp_save for static lib.
66619         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
66620         save location.
66621         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
66622         (CALL_MCOUNT): Add eh info, and nop after bl.
66623         (TAIL_CALL_SYSCALL_ERROR): New macro.
66624         (PSEUDO_RET): Use it.
66625         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
66626         Correct save location of integer regs and cr.
66627         (_dl_profile_resolve): Correct cr save location.  Delete nops
66628         after bl when SHARED.  Reduce cfi size a little by better
66629         placement of cfi directives.
66630         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
66631         make a stack frame.  Instead use parm save area as a temp.
66632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
66633         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
66634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
66635         Don't make a stack frame for parent, use parm save area.
66636         Increase child stack frame to 112 bytes.  Don't save unused reg,
66637         and adjust reg usage.  Set up cfi on error recovery and
66638         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
66639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
66640         (__makecontext): Add dummy nop after jump to exit.
66641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
66642         Use correct parm save area and cr save, reduce stack frame.
66643         Correct cfi for possible PSEUDO_RET frame setup.
66644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
66645         Branch to local label emitted by PSEUDO_RET rather than
66646         __syscall_error.
66648 2010-08-12  Andreas Schwab  <schwab@redhat.com>
66650         [BZ #11904]
66651         * locale/programs/locale.c (print_assignment): New function.
66652         (show_locale_vars): Use it.
66654 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
66656         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
66657         field.
66658         (struct statfs64): Likewise.
66659         (_STATFS_F_FLAGS): Define.
66660         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
66661         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
66662         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
66663         (ST_VALID): Define locally.
66664         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
66665         __statvfs_getflags, use the provided value.
66666         * sysdeps/unix/sysv/linux/kernel-features.h: Define
66667         __ASSUME_STATFS_F_FLAGS.
66669         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
66671         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
66672         Add sys/fanotify.h.
66673         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
66674         fanotify_mask for GLIBC_2.13.
66675         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
66676         fanotify_init and fanotify_mark.
66677         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
66678         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
66680         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
66681         Add prlimit.
66682         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
66683         prlimit64 for GLIBC_2.13.
66684         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
66685         prlimit64.
66686         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
66687         syscall.
66688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
66689         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
66690         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
66691         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
66692         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
66693         add prlimit alias.
66694         * sysdeps/unix/sysv/linux/prlimit.c: New file.
66696         [BZ #11903]
66697         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
66698         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
66700         * nss/Makefile: Add rules to build and run tst-nss-test1.
66701         * shlib-versions: Add entry for libnss_test1.
66702         * nss/nss_test1.c: New file.
66703         * nss/tst-nss-test1.c: New file.
66705         * nss/nsswitch.c (__nss_database_custom): Define new variable.
66706         (__nss_configure_lookup): Set appropriate entry in
66707         __nss_configure_lookup to true.
66708         * nss/nsswitch.h: Define enum with indeces of databases in
66709         databases and __nss_database_custom arrays.  Declare
66710         __nss_database_custom.
66711         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
66712         to avoid using nscd when custom rules are installed.
66713         * nss/getXXbyYY_r.c: Likewise.
66714         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
66716         * nss/nss_files/files-parse.c: Whitespace fixes.
66718 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
66720         [BZ #11883]
66721         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
66722         * posix/fnmatch_loop.c: Likewise.
66724 2010-07-17  Andi Kleen  <ak@linux.intel.com>
66726         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
66727         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
66728         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
66729         * Versions.def [GLIBC_2.13]: Add.
66731 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
66733         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
66734         Also fail if tpwd after pwuid call is NULL.
66736 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66738         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
66739         when converting to ms.
66741 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66743         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
66744         EOPNOTSUPP errors with ENOTTY.
66745         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
66746         EOPNOTSUPP errors with ENOTTY.
66748 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
66750         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
66751         Add strcasecmp_l-ssse3.
66752         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
66753         strcasecmp.
66754         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
66755         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
66756         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
66758 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
66760         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
66762         * string/Makefile (strop-tests): Add strcasecmp.
66763         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
66764         strcasecmp_l-nonascii.
66765         (gen-as-const-headers): Add locale-defines.sym.
66766         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
66767         * sysdeps/x86_64/strcasecmp.S: New file.
66768         * sysdeps/x86_64/strcasecmp_l.S: New file.
66769         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
66770         * sysdeps/x86_64/locale-defines.sym: New file.
66771         * string/test-strcasecmp.c: New file.
66773         * string/test-strcasestr.c: Test both ends of the range of characters.
66774         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
66776 2010-07-29  Roland McGrath  <roland@redhat.com>
66778         [BZ #11856]
66779         * manual/locale.texi (Yes-or-No Questions): Fix example code.
66781 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
66783         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
66784         for ld.so.
66786 2010-07-27  Andreas Schwab  <schwab@redhat.com>
66788         * manual/memory.texi (Malloc Tunable Parameters): Document
66789         M_PERTURB.
66791 2010-07-26  Roland McGrath  <roland@redhat.com>
66793         [BZ #11840]
66794         * configure.in (-fgnu89-inline check): Set and substitute
66795         gnu89_inline, not libc_cv_gnu89_inline.
66796         * configure: Regenerated.
66797         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
66799 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
66801         * string/test-strnlen.c: New file.
66802         * string/Makefile (strop-tests): Add strnlen.
66803         * string/tester.c (test_strnlen): Add a few more test cases.
66804         * string/tst-strlen.c: Better error reporting.
66806         * sysdeps/x86_64/strnlen.S: New file.
66808 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
66810         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
66811         lower-latency instructions.
66813 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
66815         * string/test-strcasestr.c: New file.
66816         * string/test-strstr.c: New file.
66817         * string/Makefile (strop-tests): Add strstr and strcasestr.
66818         * string/str-two-way.h: Don't undefine MAX.
66819         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
66821 2010-07-21  Andreas Schwab  <schwab@redhat.com>
66823         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66824         strcasestr-nonascii.
66825         (CFLAGS-strcasestr-nonascii.c): Define.
66826         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
66827         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
66828         Remove unused attribute.
66830 2010-07-20  Roland McGrath  <roland@redhat.com>
66832         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
66833         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
66834         ld.so.cache was broken.  With it, there is no way to disable dsocaps
66835         like LD_HWCAP_MASK can disable hwcaps.
66837 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
66839         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
66841 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
66843         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
66844         call in strcasestr.
66845         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
66846         __strcasestr_sse42_nonascii.
66847         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
66848         strcasestr-nonascii.c.
66849         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
66851 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
66853         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
66854         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
66855         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
66856         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
66858 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
66860         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
66861         fcntl.
66863 2010-07-06  Andreas Schwab  <schwab@redhat.com>
66865         [BZ #11577]
66866         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
66867         dl_signal_cerror.
66869 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
66871         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
66872         _PC_PIPE_BUF using F_GETPIPE_SZ.
66874 2010-07-05  Roland McGrath  <roland@redhat.com>
66876         * manual/arith.texi (Rounding Functions): Fix rint description
66877         implicit in round description.
66879 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
66881         * elf/Makefile: Fix linking for a few tests to make recent linker
66882         happy.
66884 2010-06-30  Andreas Schwab  <schwab@redhat.com>
66886         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
66887         $(common-objpfx)libc_nonshared.a.
66889 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
66891         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
66892         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
66893         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
66894         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
66895         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
66896         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
66897         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
66898         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
66899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
66900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
66901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
66902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
66903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
66904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
66905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
66906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
66907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
66908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
66909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
66910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
66911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
66912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
66913         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
66914         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
66915         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
66916         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
66917         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
66918         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
66919         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
66920         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
66921         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
66922         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
66923         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
66924         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
66925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
66926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
66927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
66928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
66929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
66930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
66931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
66932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
66933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
66934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
66935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
66936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
66937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
66938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
66940 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
66942         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
66943         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
66944         * string/memmove.c (memmove): Renamed to ...
66945         (MEMMOVE): ...this.  Default to memmove.
66946         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
66947         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
66948         (END_CHK): Define.
66949         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
66950         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
66951         mempcpy-ssse3-back memmove-ssse3-back.
66952         * sysdeps/x86_64/multiarch/bcopy.S: New file .
66953         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
66954         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
66955         * sysdeps/x86_64/multiarch/memcpy.S: New file.
66956         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
66957         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
66958         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
66959         * sysdeps/x86_64/multiarch/memmove.c: New file.
66960         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
66961         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
66962         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
66963         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
66964         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
66965         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
66966         Define.
66967         (index_Fast_Copy_Backward): Define.
66968         (HAS_ARCH_FEATURE): Define.
66969         (HAS_FAST_REP_STRING): Define.
66970         (HAS_FAST_COPY_BACKWARD): Define.
66972 2010-06-21  Andreas Schwab  <schwab@redhat.com>
66974         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
66975         Restore proper fallback handling.
66977 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
66979         [BZ #11701]
66980         * posix/group_member.c (__group_member): Correct checking loop.
66982         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
66983         OOM in getpwuid_r correctly.  Return error number when the caller
66984         should return, otherwise -1.
66985         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
66986         call returning > 0 value.
66987         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
66989 2010-06-07  Andreas Schwab  <schwab@redhat.com>
66991         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
66992         libc_nonshared.a from targets in modules-names.
66994 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
66996         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
66997         requires it.
66999 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
67001         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
67002         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
67003         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
67004         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
67006 2010-06-02  Andreas Schwab  <schwab@redhat.com>
67008         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
67010 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
67012         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
67013         and F_GETPIPE_SZ.
67014         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
67015         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
67016         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
67017         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
67018         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
67019         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
67021 2010-06-14  Roland McGrath  <roland@redhat.com>
67023         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
67025 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
67027         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
67028         __REDIRECT followed by __THROW.
67029         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
67030         * posix/getopt.h (getopt): Likewise.
67032 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
67034         * hurd/lookup-at.c (__file_name_lookup_at): Accept
67035         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
67036         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
67037         in AT_FLAGS.
67038         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
67039         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
67041 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
67043         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
67045 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
67047         [BZ #11640]
67048         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67049         Properly check family and model.
67051 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
67053         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
67055 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
67057         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
67059 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
67061         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
67062         symbol reference.
67064 2010-05-19  Andreas Schwab  <schwab@redhat.com>
67066         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
67067         symbol reference.
67069 2010-05-21  Andreas Schwab  <schwab@redhat.com>
67071         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
67072         and internal_recvmmsg.
67073         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
67074         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
67075         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
67076         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
67078         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
67079         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
67080         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
67082 2010-05-20  Andreas Schwab  <schwab@redhat.com>
67084         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
67086 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
67088         POWER7 optimizations.
67089         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
67090         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
67092 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
67094         * version.h: Update for 2.13 development version.
67096 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
67098         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
67099         exceptions.  Return 0.
67101 2010-05-07  Roland McGrath  <roland@redhat.com>
67103         * elf/ldconfig.c (main): Add a const.
67105 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
67107         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
67108         (args_options): Add no-idn option.
67109         (ahosts_keys_int): Add idn_flags to ai_flags.
67110         (parse_option): Handle 'i' option to clear idn_flags.
67112         * malloc/malloc.c (_int_free): Possible race in the most recently
67113         added check.  Only act on the data if no current modification
67114         happened.
67116 See ChangeLog.17 for earlier changes.