Add x32 syscalls.list
[glibc.git] / ChangeLog
blobf26fc98ee4c2d62518aa99f72b6f254199d78380
1 2012-05-21  Richard Henderson  <rth@twiddle.net>
3         * misc/getauxval.c (__getauxval): Use unsigned long int.
4         * misc/sys/auxv.h: Include <sys/cdefs.h>.
5         (getauxval): Use unsigned long int.
7 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
9         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
11 2012-05-21  Roland McGrath  <roland@hack.frob.com>
13         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
14         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
15         __alignof__ (long double).
17 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21 2012-05-20  Richard Henderson  <rth@twiddle.net>
23         * misc/getauxval.c: New file.
24         * misc/sys/auxv.h: New file.
25         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
26         (routines): Add getauxval.
27         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
28         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
29         * elf/dl-sysdep.c (_dl_auxv): Remove.
30         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
31         * elf/dl-support.c (_dl_auxv): New variable.
32         (_dl_aux_init): Initialize it.
33         * manual/startup.texi (Auxiliary Vector): New node.
34         * sysdeps/generic/bits/hwcap.h: New file.
35         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
36         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
37         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
38         * sysdeps/sparc/sysdep.h: ... here.  Include it.
39         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
40         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
41         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42         Update.
43         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
44         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
45         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
46         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
47         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
48         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
49         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
50         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
52 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56 2012-05-19  David S. Miller  <davem@davemloft.net>
58         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
62         [BZ #14123]
63         * math/s_ccosh.c: Include <float.h>
64         (__ccosh): Avoid internal overflow calculating sinh and cosh
65         values before multiplying by sin and cos values.
66         * math/s_ccoshf.c: Likewise.
67         * math/s_ccoshl.c: Likewise.
68         * math/s_csin.c: Likewise.
69         * math/s_csinf.c: Likewise.
70         * math/s_csinl.c: Likewise.
71         * math/s_csinh.c: Likewise.
72         * math/s_csinhf.c: Likewise.
73         * math/s_csinhl.c: Likewise.
74         * math/libm-test.inc (ccos_test): Add more tests.
75         (ccosh_test): Likewise.
76         (csin_test): Likewise.
77         (csinh_test): Likewise.
78         * sysdeps/i386/fpu/libm-test-ulps: Update.
79         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
83         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
84         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
86         * sysdeps/x86_64/x32/_itoa.h: Add comment.
88 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
90         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
91         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
92         * sysdeps/powerpc/soft-fp/Versions: Likewise.
93         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
94         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
95         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
96         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
97         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
98         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
99         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
100         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
101         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
102         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
103         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
104         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
105         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
106         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
107         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
108         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
109         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
110         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
111         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
112         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
113         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
114         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
115         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
116         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
117         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
118         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
119         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
120         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
122 2012-05-18  Andreas Jaeger  <aj@suse.de>
124         * csu/.gitignore: Delete.
126 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
128         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
129         (timex): Use __syscall_slong_t.
131 2012-05-18  Andreas Jaeger  <aj@suse.de>
132             Carlos O'Donell  <carlos_odonell@mentor.com>
134         * manual/install.texi (Configuring and compiling): Update
135         description about files modified in the source directory.
136         * INSTALL: Regenerated.
138 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
140         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
141         value.  Use "or" to set return value to -1.
142         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
143         negate return value.
145 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
147         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
148         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
149         failure if the compiler has Graphite support disabled.
150         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
151         Likewise.
152         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
153         CFLAGS-memmove.c): Likewise.
154         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
155         Likewise.
157 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
159         * sysdeps/x86_64/x32/_itoa.h: New file.
161         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
162         getdents system call only if kernel and user dirents have the
163         same d_ino and d_off.
165         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
166         LLONG_MAX != LONG_MAX.
167         (_itoa_word): Use _ITOA_WORD_TYPE on value.
168         (_fitoa_word): Likewise.
170         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
171         years.
172         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
173         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
174         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
176         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
177         include <bits/wordsize.h>.  Check __x86_64__ instead of
178         __WORDSIZE.
179         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
180         if __x86_64__ is defined.  Use anonymous union on fpstate.
182         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
183         anonymous union.
185 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
187         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
188         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
189         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
190         Refer to _rtld_local_ro instead of _rtld_global_ro.
191         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
192         Likewise.
193         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
194         Likewise.
195         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
196         Likewise.
197         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
198         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
199         of _rtld_global, and rtld_progname instead of _dl_argv[0].
201         * sysdeps/powerpc/powerpc32/dl-machine.c
202         (__elf_machine_runtime_setup) [PROF]: Don't reference
203         _dl_prof_resolve.
205 2012-05-18  Andreas Jaeger  <aj@suse.de>
207         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
208         function only available for GCCs before 3.4 since GCC 3.4
209         introduced a builtin.
210         (lrint): Likewise.
211         (llrintf): Likewise.
212         (llrint): Likewise.
213         (fmaxf): Likewise.
214         (fmax): Likewise.
215         (fminf): Likewise.
216         (fmin): Likewise.
217         (rint): Likewise.
218         (rintf): Likewise.
219         (nearbyint): Likewise.
220         (nearbyintf): Likewise.
221         (ceil): Likewise.
222         (ceilf): Likewise.
223         (floor): Likewise.
224         (floorf): Likewise.
226 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
228         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
229         on both fields and cast pointer to __syscall_ulong_t.
231         * bits/types.h (__fsword_t): New type.
232         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
233         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
234         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
235         (__FSWORD_T_TYPE): Likewise.
236         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
237         (__FSWORD_T_TYPE): Likewise.
238         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
239         (__FSWORD_T_TYPE): Likewise.
240         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
241         (__FSWORD_T_TYPE): Likewise.
242         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
243         __SWORD_TYPE with __fsword_t.
244         (statfs64): Likewise.
246 2012-05-17  David S. Miller  <davem@davemloft.net>
248         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
250 2012-05-17  Andreas Jaeger  <aj@suse.de>
252         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
253         warning.
255 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
257         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
259 2012-05-17  Andreas Jaeger  <aj@suse.de>
261         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
262         when it is used.
264 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
266         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
268 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
270         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
271         * sysdeps/x86_64/tst-mallocalign1.c: New file.
273 2012-05-17  Andreas Jaeger  <aj@suse.de>
274             Carlos O'Donell  <carlos_odonell@mentor.com>
276         [BZ #14059]
277         * sysdeps/x86_64/multiarch/init-arch.h
278         (bit_YMM_Usable): Rename to...
279         (bit_AVX_Usable): ... this.
280         (bit_FMA4_Usable): New macro.
281         (bit_XMM_state): New macro.
282         (bit_YMM_state): New macro.
283         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
284         [__ASSEMBLER__] (index_AVX_Usable): ... this.
285         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
286         (CPUID_OSXSAVE): New macro.
287         (CPUID_AVX): New macro.
288         (CPUID_FMA4): New macro.
289         (index_YMM_Usable): Rename to...
290         (index_AVX_Usable): ... this.
291         (HAS_AVX): Use HAS_ARCH_FEATURE.
292         (HAS_FMA4): Likewise.
293         (HAS_YMM_USABLE): Remove.
294         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
295         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
296         are present.
297         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
298         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
299         * sysdeps/x86_64/multiarch/Makefile: Likewise.
300         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
301         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
303 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
305         * math/libm-test.c: Support platforms without multiple rounding modes.
306         * math/bug-nextafter.c: Support platforms without FP exceptions.
307         * math/bug-nexttoward.c: Likewise.
308         * math/test-fenv.c: Likewise.
309         * math/test-misc.c: Likewise.
310         * stdlib/bug-getcontext.c: Likewise.
312 2012-05-17  Andreas Jaeger  <aj@suse.de>
314         * manual/examples/search.c (critter_cmp): Change signature to
315         avoid warnings.
316         * manual/string.texi (Collation Functions): Likewise.
318 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
320         * bits/types.h: Fold copyright years.
321         * bits/typesizes.h: Likewise.
322         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
323         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
324         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
325         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
326         * time/time.h: Likewise.
328 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
330         [BZ #208]
331         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
332         in instead of returning them.  Return void.
333         (__libc_mallinfo): Accumulate over all arenas.
334         (__malloc_stats): Adjust for change in int_mallinfo interface.
336 2012-05-16  Roland McGrath  <roland@hack.frob.com>
338         [BZ #10375]
339         * configure.in (NM): Add AC_CHECK_TOOL for it.
340         (libc_extra_cflags): New substituted variable.
341         Check for -fstack-protector being used implicitly.
342         * configure: Regenerated.
343         * config.make.in (config-extra-cflags): New variable,
344         gets @libc_extra_cflags@.
345         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
347         [BZ #10375]
348         * configure.in: Check for _FORTIFY_SOURCE being predefined.
349         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
350         * configure: Regenerated.
351         * config.make.in (CPPUNDEFS): New substituted variable.
352         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
353         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
354         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
356 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
358         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
359         (mq_attr): Use __syscall_slong_t.
361 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
363         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
364         Check __x86_64__ instead of __WORDSIZE.
365         (_STAT_VER_LINUX): Likewise.
366         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
367         __syscall_ulong_t and __syscall_slong_t.
368         (stat64): Likewise.
370 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
372         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
374 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
376         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
378 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
380         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
381         __syscall_ulong_t.
383         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
384         include <bits/wordsize.h>.  Check __x86_64__ instead of
385         __WORDSIZE.
386         (greg_t): Use "__extension__ long long int" if __x86_64__ is
387         defined.
388         (mcontext_t): Replace "unsigned long" with "unsigned long long".
390         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
391         include <bits/wordsize.h>.  Check __x86_64__ instead of
392         __WORDSIZE.
393         (user_regs_struct): Use "__extension__ unsigned long long"
394         instead of "unsigned long" if __x86_64__ is defined.
395         (user): Likewise.  Pad after pointer field if __ILP32__ is
396         defined.
398 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
400         * configure.in (makeinfo): Require version 4.5 or later.  Allow
401         versions 5 to 9.
402         * configure: Regenerated.
403         * manual/install.texi (texinfo): Increase version requirement to
404         4.5 or later.
405         * INSTALL: Regenerated.
407         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
409 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
411         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
413         * sysdeps/x86_64/x32/ffs.c: New file.
415         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
416         __syscall_ulong_t.
417         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
418         defined.  Use __syscall_ulong_t.
419         (shminfo): Use __syscall_ulong_t.
420         (shm_info): Likewise.
422         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
423         __syscall_ulong_t.
425         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
426         <bits/wordsize.h>.
427         (msgqnum_t): Use __syscall_ulong_t.
428         (msglen_t): Likewise.
429         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
430         __syscall_ulong_t.
432         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
433         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
435         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
437         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
438         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
440         * sysvipc/sys/msg.h (msgbuf): Replace long int with
441         __syscall_slong_t.
443         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
444         include <bits/wordsize.h>.  Check __x86_64__ instead of
445         __WORDSIZE.
447         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
448         "unsigned long long int" if __x86_64__ is defined.
449         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
451         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
452         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
453         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
455         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
456         <stdint.h>.
457         (GET_PC): Cast to uintptr_t first.
458         (GET_FRAME): Likewise.
459         (GET_STACK): Likewise.
461         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
462         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
463         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
464         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
465         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
466         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
467         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
468         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
469         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
470         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
471         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
472         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
473         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
474         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
475         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
476         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
477         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
478         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
479         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
480         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
481         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
482         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
483         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
484         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
485         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
486         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
487         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
488         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
489         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
491 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
493         * Makerules (+depfiles): Also collect depfiles from .oS in
494         $(extra-objs).
495         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
496         .oS, $(libnldbl-routines)).
498         * Makerules (native-compile-mkdep-flags): Define.
499         * sunrpc/Makefile (extra-objs): Add $(addprefix
500         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
501         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
502         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
503         calling $(make-target-directory).
505 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
507         * bits/types.h (__snseconds_t): Removed.
508         * time/time.h (struct timespec): Replace __snseconds_t with
509         __syscall_slong_t.
510         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
511         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
512         Likewise.
513         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
514         (__SNSECONDS_T_TYPE): Likewise.
515         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
516         (__SNSECONDS_T_TYPE): Likewise.
517         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
518         (__SNSECONDS_T_TYPE): Likewise.
520 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
522         * sysdeps/mach/hurd/bits/typesizes.h
523         (__SYSCALL_SLONG_TYPE): New macro.
524         (__SYSCALL_ULONG_TYPE): Likewise.
526 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
528         * bits/types.h (__syscall_slong_t): New type.
529         (__syscall_ulong_t): Likewise.
531         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
532         (__SYSCALL_ULONG_TYPE): Likewise.
533         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
534         (__SYSCALL_SLONG_TYPE): Likewise.
535         (__SYSCALL_ULONG_TYPE): Likewise.
536         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
537         (__SYSCALL_SLONG_TYPE): Likewise.
538         (__SYSCALL_ULONG_TYPE): Likewise.
539         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
540         (__SYSCALL_SLONG_TYPE): Likewise.
541         (__SYSCALL_ULONG_TYPE): Likewise.
543 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
545         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
546         Add sigaltstack-offsets.sym.
547         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
548         <sigaltstack-offsets.h>.
549         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
550         longjmp_msg pointer.
551         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
552         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
553         signal stack.
554         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
556 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
558         * elf/stackguard-macros.h: Remove file.
559         * sysdeps/generic/stackguard-macros.h: New file.
560         * sysdeps/i386/stackguard-macros.h: Likewise.
561         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
562         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
563         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
564         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
565         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
566         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
567         * sysdeps/x86_64/stackguard-macros.h: Likewise.
568         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
569         <elf/stackguard-macros.h>.
571         [BZ #14109]
572         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
573         __aligned__ in attribute.
574         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
575         (gregset_t): Likewise.
577 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
579         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
580         * sysdeps/x86_64/64/Implies-after: Here.  New file.
581         * sysdeps/x86_64/x32/Implies-after: New file.
583 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
585         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
586         and access return value for _dl_profile_fixup.  Use R10_LP to
587         load frame size.
589 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
591         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
593 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
595         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
596         * sysdeps/x86_64/x32/sysdep.h: New file.
598 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
600         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
601         * sysdeps/x86_64/setjmp.S: Likewise.
603 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
605         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
606         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
607         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
608         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
609         remove unused global constant.
611 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
613         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
614         include of <not-cancel.h>.
616 2012-05-15  Roland McGrath  <roland@hack.frob.com>
618         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
620 2012-05-15  Jeff Law  <law@redhat.com>
621             Andreas Jaeger  <aj@suse.de>
623         [BZ #13594]
624         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
625         out from...
626         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
627         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
628         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
629         code changing __hst_map_handle.map.
631 2012-05-15  Roland McGrath  <roland@hack.frob.com>
633         * configure.in (sysnames): Look for Implies-before and Implies-after
634         files.
635         * configure: Regenerated.
637 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
639         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
640         8-byte data alignment with LP_SIZE alignment.
642 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
644         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
645         into R10_LP.
647 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
649         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
651 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
653         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
654         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
655         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
656         Likewise.
657         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
659 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
661         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
662         (stackinfo_sub_sp): Likewise.
664 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
666         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
667         RAX_LP.
669 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
671         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
672         into R*_LP.
674 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
676         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
677         sizes into R*_LP.
679 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
681         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
683 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
685         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
686         into R11_LP and load __x86_64_shared_cache_size_half into
687         R8_LP.
689 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
691         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
692         R8_LP.
694 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
696         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
697         logb for POWER7.
698         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
699         logbf for POWER7.
700         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
701         logbl for POWER7.
702         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
703         powerpc32/power7/fpu/s_logb.c via #include.
704         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
705         powerpc32/power7/fpu/s_logbf.c via #include.
706         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
707         powerpc32/power7/fpu/s_logbl.c via #include.
709 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
711         * README.libm: Remove file.
713 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
715         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
716         count for x32.  Use R*_LP and omit operand-size suffix.
718 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
720         * shlib-versions: Move x86_64-.*-linux.* entries to ...
721         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
722         * sysdeps/x86_64/x32/shlib-versions: New file.
724 2012-05-14  Roland McGrath  <roland@hack.frob.com>
726         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
727         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
728         Use _dl_fatal_printf instead.
730 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
732         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
733         set if not set by the user.  Do not allow for being unset.
734         * sysdeps/unix/sysv/linux/configure: Regenerated.
736 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
738         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
739         the `q' suffix from lea and replace .quad with ASM_ADDR.
741 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
743         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
744         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
745         instead of $17.
746         (PTR_DEMANGLE): Likewise.
748 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
750         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
751         (LP_OP): Likewise.
752         (ASM_ADDR): Likewise.
753         (RAX_LP): Likewise.
754         (RBP_LP): Likewise.
755         (RBX_LP): Likewise.
756         (RCX_LP): Likewise.
757         (RDI_LP): Likewise.
758         (RSI_LP): Likewise.
759         (RSP_LP): Likewise.
760         (R8_LP): Likewise.
761         (R9_LP): Likewise.
762         (R10_LP): Likewise.
763         (R10_LP): Likewise.
764         (R11_LP): Likewise.
765         (R12_LP): Likewise.
766         (R13_LP): Likewise.
767         (R14_LP): Likewise.
768         (R15_LP): Likewise.
770 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
772         * sysdeps/x86_64/x32/dl-machine.h: New file.
774 2012-05-14  Andreas Jaeger  <aj@suse.de>
776         * manual/Makefile (subdir): Remove export of subdir.
777         (all): Remove target.
778         (.PHONY): Remove all from list.
779         (mkinstalldirs): Remove.
780         (.PHONY): Remove installdirs from list.
781         ($(inst_infodir)/libc.info): Use make-target-directory.
782         (installdirs): Remove.
783         (subdir_%): Remove.
784         (glibc-targets): Remove.
785         (lib): Remove.
786         (stubs): Remove.
787         ($(objpfx)stubs ../po/manual.pot): Remove.
788         ($(objpfx)stamp%): Remove.
789         (make-target-directory): Remove.
790         (subdir_install): Remove.
791         (routines): Remove.
792         (aux): Remove.
793         (sources): Remove.
794         (objects): Remove.
795         (headers): Remove.
797         [BZ #13750]
798         * manual/.gitignore: Remove, it's not needed anymore.
799         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
800         all files in it.
801         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
802         directory.
803         (texis): Renamed to $(objpfx)texis.
804         (texis-path): New, contains path to generated files.
805         (chapters.%): Use texis-path for complete path, add extra argument
806         libc-texinfo.sh.
807         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
808         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
809         (summary,texi, stamp-summary): Use complete path of
810         files. Generate files in build dir.
811         (dir-add.texi): Build in build dir.
812         (libm-err.texi,stamp-libm-err): Likewise.
813         (version.texi, stamp-version): Likewise.
814         (.%c.texi): Likewise.
815         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
816         (mostlyclean): Remove target.
817         (realclean): Remove target.
818         (generated): Add new variable with contents from mostlyclean and
819         realclean, remove entries duplicated in common-mostlyclean, add
820         stamp-libm-err and stamp-version.
821         (generated-dirs): Add libc directory.
822         ($(inst_infodir)/libc.info): Install files from build dir.
824         * manual/install.texi (Configuring and compiling): Adjust since
825         the info files are not part of the tar ball anymore.
827 2012-05-14  Andreas Jaeger  <aj@suse.de>
829         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
830         variable.
832 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
834         [BZ #13717]
835         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
836         to 2.2.0 where earlier.
837         * sysdeps/unix/sysv/linux/configure: Regenerated.
838         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
839         Remove conditional code.
840         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
841         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
842         Remove conditional code.
843         [!__NR_lchown]: Likewise.
844         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
845         [__NR_lchown]: Likewise.
846         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
847         comment referencing __ASSUME_LCHOWN_SYSCALL.
848         * sysdeps/unix/sysv/linux/i386/sigaction.c
849         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
850         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
851         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
852         Remove conditional code.
853         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
854         (__protocol_available): Remove #if 0 code.
855         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
856         conditional code.
857         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
858         * sysdeps/unix/sysv/linux/kernel-features.h
859         (__ASSUME_GETCWD_SYSCALL): Don't define.
860         (__ASSUME_REALTIME_SIGNALS): Likewise.
861         (__ASSUME_PREAD_SYSCALL): Likewise.
862         (__ASSUME_PWRITE_SYSCALL): Likewise.
863         (__ASSUME_POLL_SYSCALL): Likewise.
864         (__ASSUME_LCHOWN_SYSCALL): Likewise.
865         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
866         non-SPARC.
867         (__ASSUME_SIOCGIFNAME): Don't define.
868         (__ASSUME_MSG_NOSIGNAL): Likewise.
869         (__ASSUME_SENDFILE): Define unconditionally.
870         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
871         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
872         conditional code.
873         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
874         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
875         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
876         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
877         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
878         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
879         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
881         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
882         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
884         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
885         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
887         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
888         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
890         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
891         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
893         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
894         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
896         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
897         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
899         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
900         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
902         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
903         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
904         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
905         Remove conditional code.
906         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
907         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
908         Remove conditional code.
909         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
910         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
911         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
912         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
913         Remove conditional code.
914         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
915         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
916         Remove conditional code.
917         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
918         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
919         Remove conditional code.
920         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
921         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
922         Remove conditional code.
923         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
924         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
925         Remove conditional code.
926         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
927         * sysdeps/unix/sysv/linux/sh/pwrite64.c
928         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
929         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
930         * sysdeps/unix/sysv/linux/sigaction.c
931         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
932         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
933         * sysdeps/unix/sysv/linux/sigpending.c
934         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
935         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
936         * sysdeps/unix/sysv/linux/sigprocmask.c
937         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
938         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
939         * sysdeps/unix/sysv/linux/sigsuspend.c
940         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
941         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
942         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
943         (__libc_missing_rt_sigs): Remove.
944         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
945         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
946         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
947         Remove conditional code.
948         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
949         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
950         return 1.
951         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
952         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
953         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
954         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
956 2012-05-14  Andreas Jaeger  <aj@suse.de>
958         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
959         it's not used in glibc.
960         (__coshm1): Likewise.
961         (__acosh1p): Likewise.
962         (__sgn): Likewise.
964         * manual/string.texi (Copying and Concatenation): Add missing
965         variable in concat example.
966         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
968 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
970         [BZ #14103]
971         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
972         __builtin_clzl with __builtin_clzll.
974 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
976         [BZ #14104]
977         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
978         libc_freeres_ptr.
980 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
982         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
983         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
984         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
985         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
987 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
989         * NEWS: Update ia64 info.
991 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
993         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
994         used as bcopy.
996 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
998         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
999         * sysdeps/unix/syscalls.list (dup3): Likewise.
1000         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
1001         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
1003 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
1005         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
1006         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
1008 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
1010         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
1011         thread pointer.
1012         (TLS_IE): Use mov/add instead of movq/addq to load thread
1013         pointer.
1014         (TLS_GD_PREFIX): New.
1015         (TLS_GD): Use it.
1017 2012-05-11  David S. Miller  <davem@davemloft.net>
1019         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
1020         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
1021         (_FPU_SETCW): Likewise.
1023 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
1025         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
1026         is 32-byte aligned.
1028 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
1030         [BZ #11837]
1031         * iconvdata/gb18030.c: Update tables.
1032         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
1033         characters specially.
1034         (BODY for TO_LOOP): Add encoding of missing ranges.
1036 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
1038         [BZ #13673]
1039         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
1040         * sysdeps/mach/hurd/dup3.c: Likewise.
1041         * sysdeps/mach/hurd/readlinkat.c: Likewise.
1042         * sysdeps/powerpc/memmove.c:: Likewise.
1044 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
1046         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
1047         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
1049 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
1051         * elf/elf.h (R_X86_64_RELATIVE64): New.
1052         (R_X86_64_NUM): Updated.
1053         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
1054         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
1055         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
1056         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
1057         tst-quad1pie tst-quad2pie
1058         (modules-names): Add tst-quadmod1 tst-quadmod2.
1059         ($(objpfx)tst-quad1): New dependency.
1060         ($(objpfx)tst-quad2): Likewise.
1061         ($(objpfx)tst-quad1pie): Likewise.
1062         ($(objpfx)tst-quad2pie): Likewise.
1063         * sysdeps/x86_64/tst-quad1.c: New file.
1064         * sysdeps/x86_64/tst-quad1pie.c: New file.
1065         * sysdeps/x86_64/tst-quad2.c: Likewise.
1066         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
1067         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
1068         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
1069         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
1070         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
1072 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1074         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
1075         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
1076         * streams/stropts.h (t_scalar_t): Define type.
1078         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
1079         (_PATH_PRESERVE): Set to "/var/lib".
1080         (_PATH_RWHODIR): Set to "/var/spool/rwho".
1082         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
1083         instead of int.
1085         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
1086         if __dir_mkfile succeeded.
1088         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
1089         checking for _hurd_dtablesize.  Unlock it right after having
1090         finished _hurd_dtable allocation.
1092 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
1094         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
1095         * sysdeps/mach/hurd/configure: Regenerated.
1096         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
1097         special-casing to...
1098         * sysdeps/gnu/configure.in: ... this new file.
1099         * sysdeps/unix/sysv/linux/configure: Regenerated.
1100         * sysdeps/gnu/configure: New generated file.
1102         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
1103         for Linux: use nsec instead of usec, as well as:
1104         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
1105         members of type struct timespec.
1106         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
1107         New macros.
1108         (struct stat64): Likewise.
1109         (_STATBUF_ST_NSEC): New macro.
1110         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
1112         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1113         __strtoul_internal rather than strtoul.
1115 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
1117         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
1118         and reject them.
1120 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1122         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
1123         which preserves existing values.
1124         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
1126 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
1128         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
1129         TIMEOUT values.  Return EINVAL for NFDS values either negative or
1130         greater than FD_SETSIZE.
1132 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1134         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
1135         allocated, call __vm_protect to finish enabling the existing space, and
1136         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
1137         allocate the remainder.
1139 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
1141         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
1142         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
1144 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1146         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
1147         sysdeps/mach/hurd/readlink.c.
1149         * posix/tst-sysconf.c (posix_options): Only use
1150         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
1151         _POSIX_SYNCHRONIZED_IO when they are defined
1152         * sysdeps/mach/hurd/bits/posix_opt.h:
1153         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
1154         (_XOPEN_REALTIME): Undefine macro.
1155         (_XOPEN_REALTIME_THREADS): Undefine macro.
1156         (_XOPEN_SHM): Undefine macro.
1157         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
1158         macro to -1.
1159         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
1160         macro to -1.
1161         (_POSIX_ASYNC_IO): Undefine macro.
1162         (_POSIX_PRIORITIZED_IO): Undefine macro.
1163         (_POSIX_SPIN_LOCKS): Define macro to -1.
1165         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
1166         SA_NODEFER, SA_RESETHAND.
1167         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
1168         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
1169         F_DUPFD_CLOEXEC.
1171 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
1173         * elf/Makefile (pldd-modules): Define unconditionally.
1175 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
1177         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
1179 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1181         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
1182         Return ENOENT when name is empty.
1183         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
1185 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
1187         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
1189         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
1191 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1193         Fix mlock in all cases except non-readable pages.
1194         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
1195         instead of VM_PROT_ALL as parameter to __vm_wire function.
1197         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
1198         (__mkdir): When path is `/', just fail with EEXIST.
1199         * sysdeps/mach/hurd/mkdirat.c: Likewise.
1201 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
1203         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
1204         <sys/uio.h> (for writev).
1205         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
1206         and <sys/param.h> (for MIN).
1208 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
1210         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
1211         REQUESTED_TIME.  Properly set the remaining time and return EINTR
1212         if interrupted.
1214 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
1216         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
1217         Depend on against $(link-rpcuserlibs).
1219 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1221         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
1222         (__libc_stack_end): Do not use attribute_relro.
1223         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
1224         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
1225         to libthread-provided value.
1226         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
1227         attribute_relro.
1229 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
1231         [BZ #3748]
1232         * bits/libc-lock.h (__libc_once_get): New macro.
1233         * sysdeps/mach/bits/libc-lock.h: Likewise.
1234         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
1235         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
1236         instead of using implementation details.
1238         * libio/fileops.c: Unconditionally include <kernel-features.h>.
1239         * libio/freopen.c: Likewise.
1240         * libio/freopen64.c: Likewise.
1241         * misc/syslog.c: Likewise.
1242         * nscd/connections.c: Likewise.
1243         * nscd/netgroupcache.c: Likewise.
1244         * sysdeps/posix/getcwd.c: Likewise.
1246 2012-05-10  Roland McGrath  <roland@hack.frob.com>
1248         * math/w_ilogbf.c: Add #include <limits.h>.
1250 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1252         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
1253         path instead of returning without unlocking.
1255         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
1256         immediate-write ioctls.
1257         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
1259 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
1261         * sysdeps/mach/hurd/i386/init-first.c (init): Use
1262         __builtin_frame_address instead of making assumptions about the
1263         location of the return address relative to DATA.  Force early load of
1264         the return address.
1265         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
1266         __builtin_frame_address.
1268         dup3 for GNU Hurd.
1269         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
1270         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
1271         implement dup3 and do some further code clean-ups.
1272         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
1273         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
1275 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1277         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
1279         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
1280         HURD_CRITICAL_END around holding _hurd_dtable_lock.
1281         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
1282         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
1283         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
1284         d->port.lock.
1286         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
1287         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
1288         when handler == SIG_ERR, not when handler != SIG_ERR.
1290 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
1292         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
1293         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
1294         definitions.
1296         accept4 for GNU Hurd.
1297         * include/sys/socket.h (__libc_accept4): New prototype.
1298         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
1299         to implement __libc_accept4.
1300         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
1301         __libc_accept4.
1302         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
1304         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
1305         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
1306         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
1307         signal-defines.sym.
1309 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1311         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
1313 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
1315         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
1316         assertion on O_CLOEXEC flag.
1317         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
1318         * hurd/intern-fd.c: Likewise.
1319         * hurd/port2fd.c: Likewise.
1321 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1323         [BZ #3906]
1324         * bits/in.h (IPV6_PKTINFO): Define new macro.
1325         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
1327 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1329         [BZ #13954]
1330         [BZ #13955]
1331         [BZ #13956]
1332         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
1333         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1334         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
1335         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1336         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1337         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1338         * math/libm-test.inc (logb_test) : Additional logb tests.
1340 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
1341             Andreas Jaeger  <aj@suse.de>
1343         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
1344         * configure: Regenerated.
1345         * config.h.in (LINK_OBSOLETE_RPC): New macro.
1346         * config.make.in (link-obsolete-rpc): New substituted variable.
1347         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
1348         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
1349         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1350         (shared-only-routines): Don't set it under [link-obsolete-rpc],
1351         so that libc.a contains the symbols.
1352         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1353         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
1354         * sunrpc/auth_none.c: Likewise.
1355         * sunrpc/auth_unix.c: Likewise.
1356         * sunrpc/authdes_prot.c: Likewise.
1357         * sunrpc/authuxprot.c: Likewise.
1358         * sunrpc/clnt_gen.c: Likewise.
1359         * sunrpc/clnt_perr.c: Likewise.
1360         * sunrpc/clnt_raw.c: Likewise.
1361         * sunrpc/clnt_simp.c: Likewise.
1362         * sunrpc/clnt_tcp.c: Likewise.
1363         * sunrpc/clnt_udp.c: Likewise.
1364         * sunrpc/clnt_unix.c: Likewise.
1365         * sunrpc/des_crypt.c: Likewise.
1366         * sunrpc/des_soft.c: Likewise.
1367         * sunrpc/get_myaddr.c: Likewise.
1368         * sunrpc/key_call.c: Likewise.
1369         * sunrpc/key_prot.c: Likewise.
1370         * sunrpc/netname.c: Likewise.
1371         * sunrpc/pm_getmaps.c: Likewise.
1372         * sunrpc/pm_getport.c: Likewise.
1373         * sunrpc/pmap_clnt.c: Likewise.
1374         * sunrpc/pmap_prot.c: Likewise.
1375         * sunrpc/pmap_prot2.c: Likewise.
1376         * sunrpc/pmap_rmt.c: Likewise.
1377         * sunrpc/publickey.c: Likewise.
1378         * sunrpc/rpc_cmsg.c: Likewise.
1379         * sunrpc/rpc_common.c: Likewise.
1380         * sunrpc/rpc_dtable.c: Likewise.
1381         * sunrpc/rpc_prot.c: Likewise.
1382         * sunrpc/rpc_thread.c: Likewise.
1383         * sunrpc/rtime.c: Likewise.
1384         * sunrpc/svc.c: Likewise.
1385         * sunrpc/svc_auth.c: Likewise.
1386         * sunrpc/svc_raw.c: Likewise.
1387         * sunrpc/svc_run.c: Likewise.
1388         * sunrpc/svc_tcp.c: Likewise.
1389         * sunrpc/svc_udp.c: Likewise.
1390         * sunrpc/svc_unix.c: Likewise.
1391         * sunrpc/svcauth_des.c: Likewise.
1392         * sunrpc/xcrypt.c: Likewise.
1393         * sunrpc/xdr.c: Likewise.
1394         * sunrpc/xdr_array.c: Likewise.
1395         * sunrpc/xdr_float.c: Likewise.
1396         * sunrpc/xdr_intXX_t.c: Likewise.
1397         * sunrpc/xdr_mem.c: Likewise.
1398         * sunrpc/xdr_rec.c: Likewise.
1399         * sunrpc/xdr_ref.c: Likewise.
1400         * sunrpc/xdr_sizeof.c: Likewise.
1401         * sunrpc/xdr_stdio.c: Likewise.
1403 2012-05-10  Roland McGrath  <roland@hack.frob.com>
1405         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
1406         change.  Update copyright years.
1408 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
1410         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
1412 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
1413             Joseph Myers  <joseph@codesourcery.com>
1414             Paul Pluzhnikov  <ppluzhnikov@google.com>
1416         [BZ #14012]
1417         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
1418         requiring rpcgen.
1419         [cross-compiling] (extra-libs): Likewise.
1420         [cross-compiling] (extra-libs-others): Likewise.
1421         [cross-compiling] (librpcsvc-routines): Likewise.
1422         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
1423         [cross-compiling] (omit-deps): Likewise.
1424         (sunrpc-CPPFLAGS): New variable.
1425         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
1426         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
1427         (cross-rpcgen-objs): New variable.
1428         (extra-objs): Append $(cross-rpcgen-objs).
1429         ($(cross-rpcgen-objs)): New rule.
1430         ($(objpfx)cross-rpcgen): Likewise.
1431         (rpcgen-cmd): Define to use $(built-program-file).  Expand
1432         comment.
1433         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
1434         ($(objpfx)x%.stmp): Likewise.
1435         * sunrpc/proto.h [IS_IN_build] (_): Define.
1436         [IS_IN_build] (_libc_intl_domainname): Likewise.
1438 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
1440         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
1441         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
1442         and R_X86_64_TPOFF64.
1444 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
1446         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
1447         sysdeps/unix/sysv/syscalls.list.
1448         (stime): Likewise.
1449         (utime): Likewise.
1450         * sysdeps/unix/sysv/syscalls.list: Remove file.
1452 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
1454         [BZ #3440]
1455         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
1456         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
1457         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
1458         (__LC_IDENTIFICATION): Make these macros useful in #if
1459         expressions, as required by C99.
1461 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
1463         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
1464         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
1465         after this.
1467 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
1469         * stdlib/longlong.h: Updated from GCC.
1471 2012-05-09  Andreas Jaeger  <aj@suse.de>
1473         * nscd/nscd.c (run_modes): Make named enum, reorder so that
1474         default is first entry.
1475         (run_mode): Set type.
1476         (main): Remove informal message about syslog.
1477         (options): Fix typo.
1479         [BZ #14053]
1480         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
1481         to asm.
1482         (lrint): Likewise.
1483         (llrintf): Likewise.
1484         (llrint): Likewise.
1485         (rint): Likewise.
1486         (rintf): Likewise.
1487         (nearbyint): Likewise.
1488         (nearbyintf): Likewise.
1490 2012-05-09  Andreas Jaeger  <aj@suse.de>
1491             Pedro Alves  <palves@redhat.com>
1493         * nscd/nscd.c (run_mode): Use enum.
1494         (main): Cleanup coding style issue.
1496 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
1497             Andreas Jaeger  <aj@suse.de>
1499         * nscd/nscd.c (go_background): Replaced with...
1500         (run_mode): ... this.
1501         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
1502         (options): Add -F --foreground.
1503         (main): Implement it.
1504         (parse_opt): Parse it.
1506 2012-05-09  Andreas Jaeger  <aj@suse.de>
1508         [BZ #14083]
1509         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
1510         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
1511         -Wconversion warning.
1512         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
1513         Likewise.
1515 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
1517         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
1518         == 0.
1519         (LC_ALL): Use macro-int-constant.
1520         (LC_COLLATE): Likewise.
1521         (LC_CTYPE): Likewise.
1522         (LC_MESSAGES): Likewise.
1523         (LC_MONETARY): Likewise.
1524         (LC_NUMERIC): Likewise.
1525         (LC_TIME): Likewise.
1526         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
1527         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1528         [ISO || ISO99 || ISO11] (*_t): Do not allow.
1529         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
1530         Specify type.
1531         [C99-based standards] (float_t): Expect type.
1532         [C99-based standards] (double_t): Expect type.
1533         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
1534         type.
1535         [C99-based standards] (HUGE_VALL): Likewise.
1536         [C99-based standards] (INFINITY): Likewise.
1537         [C99-based standards] (NAN): Likewise.
1538         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
1539         [C99-based standards] (FP_NAN): Likewise.
1540         [C99-based standards] (FP_NORMAL): Likewise.
1541         [C99-based standards] (FP_SUBNORMAL): Likewise.
1542         [C99-based standards] (FP_ZERO): Likewise.
1543         [C99-based standards] (FP_FAST_FMA): Use
1544         optional-macro-int-constant.  Specify type.  Require == 1.
1545         [C99-based standards] (FP_FAST_FMAF): Likewise.
1546         [C99-based standards] (FP_FAST_FMAL): Likewise.
1547         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
1548         [C99-based standards] (FP_ILOGBNAN): Likewise.
1549         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
1550         Specify type.
1551         [C99-based standards] (MATH_ERREXCEPT): Likewise.
1552         [C99-based standards] (math_errhandling): Specify type.
1553         [ISO99 || ISO11] (signgam): Do not allow.
1554         [non-C99-based standards] (copysignf): Do not allow.
1555         [non-C99-based standards] (exp2f): Likewise.
1556         [non-C99-based standards] (log2f): Likewise.
1557         [non-C99-based standards] (modff): Allow.
1558         [non-C99-based standards] (erff): Do not allow.
1559         [non-C99-based standards] (erfcf): Likewise.
1560         [non-C99-based standards] (gammaf): Likewise.
1561         [non-C99-based standards] (hypotf): Likewise.
1562         [non-C99-based standards] (j0f): Likewise.
1563         [non-C99-based standards] (j1f): Likewise.
1564         [non-C99-based standards] (jnf): Likewise.
1565         [non-C99-based standards] (lgammaf): Likewise.
1566         [non-C99-based standards] (tgammaf): Likewise.
1567         [non-C99-based standards] (y0f): Likewise.
1568         [non-C99-based standards] (y1f): Likewise.
1569         [non-C99-based standards] (ynf): Likewise.
1570         [non-C99-based standards] (isnanf): Likewise.
1571         [non-C99-based standards] (acoshf): Likewise.
1572         [non-C99-based standards] (asinhf): Likewise.
1573         [non-C99-based standards] (atanhf): Likewise.
1574         [non-C99-based standards] (cbrtf): Likewise.
1575         [non-C99-based standards] (expm1f): Likewise.
1576         [non-C99-based standards] (ilogbf): Likewise.
1577         [non-C99-based standards] (log1pf): Likewise.
1578         [non-C99-based standards] (logbf): Likewise.
1579         [non-C99-based standards] (nextafterf): Likewise.
1580         [non-C99-based standards] (remainderf): Likewise.
1581         [non-C99-based standards] (rintf): Likewise.
1582         [non-C99-based standards] (scalbf): Likewise.
1583         [non-C99-based standards] (copysignl): Likewise.
1584         [non-C99-based standards] (exp2l): Likewise.
1585         [non-C99-based standards] (log2l): Likewise.
1586         [non-C99-based standards] (modfl): Allow.
1587         [non-C99-based standards] (erfl): Do not allow.
1588         [non-C99-based standards] (erfcl): Likewise.
1589         [non-C99-based standards] (gammal): Likewise.
1590         [non-C99-based standards] (hypotl): Likewise.
1591         [non-C99-based standards] (j0l): Likewise.
1592         [non-C99-based standards] (j1l): Likewise.
1593         [non-C99-based standards] (jnl): Likewise.
1594         [non-C99-based standards] (lgammal): Likewise.
1595         [non-C99-based standards] (tgammal): Likewise.
1596         [non-C99-based standards] (y0l): Likewise.
1597         [non-C99-based standards] (y1l): Likewise.
1598         [non-C99-based standards] (ynl): Likewise.
1599         [non-C99-based standards] (isnanl): Likewise.
1600         [non-C99-based standards] (acoshl): Likewise.
1601         [non-C99-based standards] (asinhl): Likewise.
1602         [non-C99-based standards] (atanhl): Likewise.
1603         [non-C99-based standards] (cbrtl): Likewise.
1604         [non-C99-based standards] (expm1l): Likewise.
1605         [non-C99-based standards] (ilogbl): Likewise.
1606         [non-C99-based standards] (log1pl): Likewise.
1607         [non-C99-based standards] (logbl): Likewise.
1608         [non-C99-based standards] (nextafterl): Likewise.
1609         [non-C99-based standards] (remainderl): Likewise.
1610         [non-C99-based standards] (rintl): Likewise.
1611         [non-C99-based standards] (scalbl): Likewise.
1612         [ISO || ISO99 || ISO11] (*_t): Do not allow.
1613         [non-C99-based standards] (FP_*): Do not allow.
1614         [C99-based standards] (FP_*): Change to
1615         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1616         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1617         allow.
1618         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
1619         (SIG_ERR): Likewise.
1620         [X/Open-based standards] (SIG_HOLD): Likewise.
1621         (SIG_IGN): Likewise.
1622         (SIGABRT): Use macro-int-constant.  Specify type.  Require
1623         positive value.
1624         (SIGFPE): Likewise.
1625         (SIGILL): Likewise.
1626         (SIGINT): Likewise.
1627         (SIGSEGV): Likewise.
1628         (SIGTER): Likewise.
1629         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
1630         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
1631         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
1632         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
1633         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
1634         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
1635         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
1636         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
1637         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
1638         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
1639         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
1640         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
1641         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
1642         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
1643         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
1644         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
1645         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
1646         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
1647         [X/Open-based standards] (SIGTRAP): Likewise.
1648         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
1649         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
1650         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
1651         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
1652         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1653         allow.
1655 2012-05-08  Ian Wienand  <ianw@vmware.com>
1657         [BZ #14080]
1658         * time/tzset.c (__tzset_parse_tz): Update default rules for
1659         daylight time changes in the Energy Policy Act of 2005.
1661 2012-05-09  Andreas Jaeger  <aj@suse.de>
1663         [BZ #13983]
1664         * elf/ldconfig.c (parse_conf): Change string to make clear that
1665         ldconfig only issued a warning if ld.so.conf does not exist.
1667 2012-05-08  David S. Miller  <davem@davemloft.net>
1669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
1670         movxtod instead of popping the value on the stack.
1672         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1674 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
1676         * config.h.in: Add HAVE_ARM_PCS_VFP.
1678 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
1680         [BZ #13979]
1681         * include/features.h: Warn if user requests __FORTIFY_SOURCE
1682         checking but the checks are disabled for any reason.
1684 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
1686         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
1687         and ELF64_R_TYPE with ELFW(R_TYPE).
1689 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
1691         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
1692         (ulimit): Likewise.
1694         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
1695         (settimeofday): Likewise.
1697 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
1699         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
1700         a struct th_u2 inside the union, and move tu_block/tu_code into
1701         a new th_u3 union of tu_block/tu_code inside of that.  Move
1702         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
1703         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
1704         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
1705         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
1706         (th_stuff): Change to th_u1.tu_stuff.
1707         (th_data): Define.
1708         (th_msg): Change to th_u1.th_u2.tu_data.
1710 2012-05-07  David S. Miller  <davem@davemloft.net>
1712         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1714         [BZ #14074]
1715         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
1716         (SETUP_PIC_REG): Use it.
1717         (SETUP_PIC_REG_LEAF): Use it.
1719 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
1721         [BZ #13885]
1722         [BZ #13923]
1723         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1724         USE_AS_EXPM1L.
1725         (EXPL_FINITE): Likewise.
1726         (FLDLOG): Likewise.
1727         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1728         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1729         e_expl.S.
1730         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1731         USE_AS_EXPM1L.
1732         (EXPL_FINITE): Likewise.
1733         (FLDLOG): Likewise.
1734         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1735         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1736         e_expl.S.
1737         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
1738         test of -max_value argument for long double.
1739         * sysdeps/i386/fpu/libm-test-ulps: Update.
1740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1742 2012-05-06  David S. Miller  <davem@davemloft.net>
1744         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
1745         quad soft-float symbols whose references which are compiler
1746         generated.
1747         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
1749 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
1751         [BZ #13884]
1752         [BZ #13914]
1753         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1754         USE_AS_EXP10L.
1755         (EXPL_FINITE): Likewise.
1756         (FLDLOG): Likewise.
1757         (c0): Likewise.
1758         (c1): Likewise.
1759         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
1760         Adjust comments for base varying.
1761         (__expl_finite): Change alias to EXPL_FINITE.
1762         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
1763         e_expl.S.
1764         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
1765         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1766         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1767         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
1768         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1769         USE_AS_EXP10L.
1770         (EXPL_FINITE): Likewise.
1771         (FLDLOG): Likewise.
1772         (c0): Likewise.
1773         (c1): Likewise.
1774         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
1775         Adjust comments for base varying.
1776         (__expl_finite): Change alias to EXPL_FINITE.
1777         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
1778         tests for bugs.
1779         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1781         [BZ #14064]
1782         * math/libm-test.inc (check_float_internal): Correct ulp
1783         calculation for subnormal expected results.
1785 2012-05-06  Andreas Jaeger  <aj@suse.de>
1787         * Makeconfig (+math-flags): New, set to -frounding-math.
1788         (+cflags): Add +math-flags so that all of glibc gets compiled with
1789         it.
1791         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
1793 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
1795         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
1796         Disable one test.
1798         [BZ #13787]
1799         [BZ #13922]
1800         [BZ #14036]
1801         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
1802         (__ieee754_expl): Allow for and saturate large arguments.
1803         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
1804         (u_threshold): Likewise.
1805         (__exp): Call __ieee754_exp before checking for overflow and
1806         underflow.
1807         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
1808         (u_threshold): Likewise.
1809         (__expf): Call __ieee754_expf before checking for overflow and
1810         underflow.
1811         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
1812         (u_threshold): Likewise.
1813         (__expl): Call __ieee754_expl before checking for overflow and
1814         underflow.
1815         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
1816         (__ieee754_expl): Allow for and saturate large arguments.
1817         * math/libm-test.inc (exp_test): Add another test.  Do not allow
1818         missing overflow exception on overflow.
1819         (expm1_test): Do not allow missing overflow exception on overflow.
1821         * sysdeps/i386/fpu/e_expl.c: Move to ...
1822         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
1823         rather than using inline asm.
1824         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
1825         * sysdeps/x86_64/fpu/e_expl.S: Copy from
1826         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
1828         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
1829         (nice): Likewise.
1830         (poll): Likewise.
1831         (signal): Likewise.
1832         (time): Likewise.
1833         (times): Likewise.
1835 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
1837         * sysdeps/unix/syscalls.list (adjtime): Add entry from
1838         sysdeps/unix/common/syscalls.list.
1839         (fchmod): Likewise.
1840         (fchown): Likewise.
1841         (ftruncate): Likewise.
1842         (getrusage): Likewise.
1843         (gettimeofday): Likewise.
1844         (setpgid): Likewise.
1845         (setregid): Likewise.
1846         (setreuid): Likewise.
1847         (sigaction): Likewise.
1848         (truncate): Likewise.
1849         (vhangup): Likewise.
1850         * sysdeps/unix/common/syscalls.list: Remove file.
1851         * sysdeps/unix/bsd/Implies: Don't include unix/common.
1852         * sysdeps/unix/sysv/linux/Implies: Likewise.
1854 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
1856         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
1857         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
1858         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
1859         Moved to ...
1860         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1861         Here.
1862         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
1863         to ...
1864         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
1865         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
1866         to ...
1867         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
1868         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
1869         to ...
1870         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
1871         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
1872         to ...
1873         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
1874         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
1875         to ...
1876         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
1877         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
1878         to ...
1879         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
1880         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
1881         to ...
1882         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1883         Here.
1884         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
1885         to ...
1886         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
1887         Here.
1888         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
1889         to ...
1890         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
1891         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
1892         Moved to ...
1893         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
1894         Here.
1895         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
1896         to ...
1897         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
1899 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
1901         * sysdeps/unix/common/bits/dirent.h: Remove file.
1902         * sysdeps/unix/common/bits/fcntl.h: Likewise.
1904         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
1905         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
1906         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
1907         * sysdeps/unix/bsd/isatty.c: Likewise.
1908         * sysdeps/unix/bsd/tcdrain.c: Likewise.
1909         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
1910         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
1912 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1914         [BZ #13563]
1915         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
1916         long double comparison inaccuracies.
1917         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1918         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1920 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
1922         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
1923         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
1925 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
1927         [BZ #14049]
1928         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
1929         nonzero digits before rounding a hex value.
1930         * stdlib/tst-strtod.c (tests): Add another test.
1932 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1934         * sysdeps/s390/fpu/libm-test-ulps: Update.
1936 2012-05-03  Andreas Jaeger  <aj@suse.de>
1938         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
1939         does not get optimized out.
1940         (malloc_opt_barrier): New.
1942 2012-05-03  Andreas Jaeger  <aj@suse.de>
1943             Roland McGrath  <roland@hack.frob.com>
1945         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
1946         intermediate file deletion.
1947         (generated): Add .symlist files.
1949 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
1951         [BZ #13775]
1952         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
1953         Redirect under this condition.
1954         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1955         [__USE_GNU] (__dprintf_chk): Not under this condition.
1956         [__USE_GNU] (__vdprintf_chk): Likewise.
1957         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
1958         under this condition.
1959         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1960         [__USE_XOPEN2K8] (dprintf): Define under this condition.
1961         [__USE_XOPEN2K8] (vdprintf): Likewise.
1962         [__USE_GNU] (__dprintf_chk): Not under this condition.
1963         [__USE_GNU] (__vdprintf_chk): Likewise.
1964         [__USE_GNU] (dprintf): Likewise.
1965         [__USE_GNU] (vdprintf): Likewise.
1967 2012-05-03  Roland McGrath  <roland@hack.frob.com>
1969         * elf/Makefile (common-generated): Set this instead of generated for
1970         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
1971         $(all-built-dso)-derived lists.
1973 2012-05-03  Andreas Jaeger  <aj@suse.de>
1975         * sysdeps/i386/fpu/libm-test-ulps: Update.
1977         * FAQ: Removed.
1978         * FAQ.in: Likewise.
1979         * scripts/gen-FAQ.pl: Likewise.
1980         * manual/install.texi (Installation): Point to online location of
1981         FAQ.
1982         * Makefile (files-for-dist): Remove FAQ.
1983         (FAQ): Remove.
1985 2012-05-02  Allan McRae  <allan@archlinux.org>
1987         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
1988         (LDFLAGS-reldepmod5.so): Likewise.
1989         (LDFLAGS-reldep6mod1.so): Likewise.
1990         (LDFLAGS-reldep6mod4.so): Likewise.
1991         (LDFLAGS-reldep8mod3.so): Likewise.
1992         (LDFLAGS-unload4mod1.so): Likewise.
1993         (LDFLAGS-unload4mod2.so): Likewise.
1994         (LDFLAGS-tst-initorder): Likewise.
1995         (LDFLAGS-tst-initordera2.so): Likewise.
1996         (LDFLAGS-tst-initordera3.so): Likewise.
1997         (LDFLAGS-tst-initordera4.so): Likewise.
1998         (LDFLAGS-tst-initorderb2.so): Likewise.
1999         (LDFLAGS-noload): Likewise.
2000         (LDFLAGS-next): Likewise.
2001         (LDFLAGS-order2mod1.so): Likewise.
2002         (LDFLAGS-order2mod2.so): Likewise.
2003         (LDFLAGS-tst-initorder2): Likewise.
2004         (LDFLAGS-tst-initorder2a.so): Likewise.
2005         (LDFLAGS-tst-initorder2b.so): Likewise.
2006         (LDFLAGS-tst-initorder2c.so): Likewise.
2007         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
2009 2012-05-02  David S. Miller  <davem@davemloft.net>
2011         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2013 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
2015         [BZ #14055]
2016         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
2018 2012-05-02  Andreas Jaeger  <aj@suse.de>
2020         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
2021         since we manipulate rounding mode.
2022         (CPPFLAGS-test-idouble.c): Likewise.
2023         (CPPFLAGS-test-ifloat.c): Likewise.
2024         (CFLAGS-test-ldouble.c): Likewise.
2025         (CFLAGS-test-double.c): Likewise.
2026         (CFLAGS-test-float.c): Likewise.
2027         (CFLAGS-test-misc.c): Likewise.
2028         (CFLAGS-test-test-fenv.c): Likewise.
2030 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2032         [BZ #2550]
2033         [BZ #2570]
2034         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
2035         comparisons to determine direction to adjust input.
2037 2012-05-01  Roland McGrath  <roland@hack.frob.com>
2039         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
2040         output to the target.
2042         * scripts/localplt.awk: New file.
2043         * elf/Makefile ($(objpfx)check-localplt): Target removed.
2044         (check-localplt-CFLAGS): Variable removed.
2045         ($(all-built-dso:=.jmprel)): New static pattern rule.
2046         (generated): Add those targets.
2047         (localplt-built-dso): New variable.
2048         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
2050         * elf/check-localplt.c: File removed.
2052         * scripts/check-execstack.awk: New file.
2053         * elf/Makefile ($(objpfx)check-execstack): Target removed.
2054         (check-execstack-CFLAGS): Variable removed.
2055         ($(objpfx)check-execstack.h): Target removed.
2056         ($(objpfx)execstack-default): New target.
2057         (generated): Add that instead of check-execstack.h.
2058         ($(all-built-dso:=.phdr)): New static pattern rule.
2059         (generated): Add those targets.
2060         * elf/check-execstack.c: File removed.
2062         * scripts/check-textrel.awk: New file.
2063         * elf/Makefile ($(objpfx)check-textrel): Target removed.
2064         (check-textrel-CFLAGS): Variable removed.
2065         (all-built-dso): Use := to define.o
2066         ($(all-built-dso:=.dyn)): New static pattern rule.
2067         (generated): Add those targets.
2068         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
2069         * config.make.in (READELF): New substituted variable.
2070         * elf/check-textrel.c: File removed.
2072 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
2074         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2075         allow.
2076         * conform/data/ctype.h-data [C99-based standards] (isblank):
2077         Expect function.
2078         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
2079         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
2080         [ISO || ISO99 || ISO11] (*_t): Do not allow.
2081         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
2082         Specify type.  Require positive value.
2083         (EILSEQ): Likewise.
2084         (ERANGE): Likewise.
2085         [ISO || POSIX] (EILSEQ): Do not expect.
2086         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
2087         Specify type.  Require positive value.
2088         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
2089         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
2090         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
2091         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
2092         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
2093         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
2094         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
2095         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
2096         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
2097         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
2098         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
2099         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
2100         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
2101         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
2102         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
2103         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
2104         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
2105         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
2106         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
2107         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
2108         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
2109         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
2110         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
2111         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
2112         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
2113         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
2114         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
2115         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
2116         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
2117         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
2118         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
2119         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
2120         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
2121         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
2122         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
2123         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
2124         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
2125         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
2126         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
2127         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
2128         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
2129         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
2130         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
2131         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
2132         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
2133         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
2134         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
2135         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
2136         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
2137         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
2138         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
2139         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
2140         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
2141         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
2142         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
2143         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
2144         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
2145         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
2146         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
2147         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
2148         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
2149         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
2150         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
2151         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
2152         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
2153         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
2154         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
2155         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
2156         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
2157         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
2158         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
2159         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
2160         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
2161         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
2162         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
2163         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
2164         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
2165         Require >= 2.
2166         (FLT_ROUNDS): Expect as macro, not constant.
2167         (FLT_MANT_DIG): Use macro-int-constant.
2168         (DBL_MANT_DIG): Likewise.
2169         (LDBL_MANT_DIG): Likewise.
2170         (FLT_DIG): Likewise.
2171         (DBL_DIG): Likewise.
2172         (LDBL_DIG): Likewise.
2173         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
2174         (DBL_MIN_EXP): Likewise.
2175         (LDBL_MIN_EXP): Likewise.
2176         (FLT_MAX_EXP): Use macro-int-constant.
2177         (DBL_MAX_EXP): Likewise.
2178         (LDBL_MAX_EXP): Likewise.
2179         (FLT_MAX_10_EXP): Likewise.
2180         (DBL_MAX_10_EXP): Likewise.
2181         (LDBL_MAX_10_EXP): Likewise.
2182         (FLT_MAX): Use macro-constant.
2183         (DBL_MAX): Likewise.
2184         (LDBL_MAX): Likewise.
2185         (FLT_EPSILON): Use macro-constant.  Give upper bound.
2186         (DBL_EPSILON): Likewise.
2187         (LDBL_EPSILON): Likewise.
2188         (FLT_MIN): Likewise.
2189         (DBL_MIN): Likewise.
2190         (LDBL_MIN): Likewise.
2191         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
2192         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
2193         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
2194         [ISO11] (FLT_HAS_SUBNORM): Likewise.
2195         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
2196         [ISO11] (DBL_DECIMAL_DIG): Likewise.
2197         [ISO11] (FLT_DECIMAL_DIG): Likewise.
2198         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
2199         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
2200         [ISO11] (FLT_TRUE_MIN): Likewise.
2201         [ISO11] (LDBL_TRUE_MIN): Likewise.
2202         [ISO || ISO99 || ISO11] (*_t): Do not allow.
2203         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
2204         (SCHAR_MIN): Use macro-int-constant.  Specify type.
2205         (SCHAR_MAX): Likewise.
2206         (UCHAR_MAX): Likewise.
2207         (CHAR_MIN): Likewise.
2208         (CHAR_MAX): Likewise.
2209         (MB_LEN_MAX): Use macro-int-constant.
2210         (SHRT_MIN): Use macro-int-constant.  Specify type.
2211         (SHRT_MAX): Likewise.
2212         (USHRT_MAX): Likewise.
2213         (INT_MAX): Likewise.
2214         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
2215         bound negative.
2216         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
2217         bound with "U".
2218         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
2219         bound with "L".
2220         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
2221         bound negative.  Suffix upper bound with "L".
2222         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
2223         bound with "UL".
2224         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
2225         Specify type.
2226         [C99-based standards] (LLONG_MAX): Likewise.
2227         [C99-based standards] (ULLONG_MAX): Likewise.
2228         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
2229         == 0.
2230         [ISO11] (max_align_t): Require type.
2231         [ISO || ISO99 || ISO11] (*_t): Do not allow.
2233         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
2234         from $CFLAGS, without defining away __attribute__ calls.
2235         (checknamespace): Use $CFLAGS_namespace.
2237         * conform/conformtest.pl (@keywords): Only include C99 keywords
2238         for standards based on C99 or C11.
2240         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
2241         Disable tests.
2242         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
2243         UNIX98]: Likewise.
2245         * conform/conformtest.pl: Handle "macro-int-constant" and test for
2246         usability of symbols in #if.
2248         * conform/conformtest.pl: If macro or constant types start
2249         "promoted:", expect the symbol to be of the following type
2250         promoted by the integer promotions.
2252         * conform/conformtest.pl: Parse all "constant" and "macro" lines
2253         in one place.  Also handle "macro-constant".
2255         * conform/conformtest.pl: Only accept expected macro values with
2256         "==".  Parse all "macro" lines in one place.
2257         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
2259         * conform/conformtest.pl: Handle braced types on "constant" lines
2260         instead of handling "typed-constant".
2261         * conform/data/signal.h-data: Use "constant" instead of
2262         "typed-constant".
2264         * conform/conformtest.pl: Handle "optional-" at start of lines in
2265         one place rather than duplicating several cases.  Handle each
2266         format of "macro" line with initial "optional-".
2268         * conform/conformtest.pl: Only accept expected constant or
2269         optional-constant values with "==".  Parse all "constant" lines in
2270         one place.  Parse all "optional-constant" lines in one place.
2271         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
2272         * conform/data/fmtmsg.h-data: Likewise.
2273         * conform/data/netinet/in.h-data: Likewise.
2274         * conform/data/tar.h-data: Likewise.
2275         * conform/data/limits.h-data: Use "==" form on "constant" and
2276         "optional-constant" lines.
2278         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
2279         Use -std=c99 for XOPEN2K.
2280         (@knownproblems): Remove.
2281         (newtoken): Don't check %isknown.
2283         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
2284         Do not expect macro.
2285         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
2286         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
2287         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
2288         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
2289         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
2290         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
2291         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
2292         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
2293         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
2294         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
2295         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
2296         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
2297         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
2298         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
2299         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
2300         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
2301         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
2302         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
2303         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
2304         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
2305         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
2306         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
2307         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
2308         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
2309         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
2310         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
2311         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
2312         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
2313         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
2314         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
2315         [XPG3] (acosh): Likewise.
2316         [XPG3] (asinh): Likewise.
2317         [XPG3] (atanh): Likewise.
2318         [XPG3] (cbrt): Likewise.
2319         [XPG3] (expm1): Likewise.
2320         [XPG3] (ilogb): Likewise.
2321         [XPG3] (log1p): Likewise.
2322         [XPG3] (logb): Likewise.
2323         [XPG3] (nextafter): Likewise.
2324         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
2325         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
2326         [XPG3] (remainder): Likewise.
2327         [XPG3] (rint): Likewise.
2328         [XPG3 || XPG4 || UNIX98] (round): Likewise.
2329         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
2330         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
2331         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
2332         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
2333         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
2334         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
2335         [UNIX98 || XOPEN2K] (scalb): Expect.
2336         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
2337         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
2338         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
2339         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
2340         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
2341         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
2342         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
2343         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
2344         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
2345         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
2346         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
2347         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
2348         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
2349         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
2350         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
2351         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
2352         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
2353         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
2354         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
2355         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
2356         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
2357         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
2358         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
2359         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
2360         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
2361         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
2362         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
2363         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
2364         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
2365         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
2366         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
2367         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
2368         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
2369         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
2370         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
2371         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
2372         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
2373         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
2374         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
2375         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
2376         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
2377         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
2378         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
2379         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
2380         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
2381         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
2382         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
2383         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
2384         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
2385         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
2386         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
2387         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
2388         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
2389         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
2390         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
2391         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
2392         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
2393         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
2394         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
2395         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
2396         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
2397         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
2398         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
2399         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
2400         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
2401         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
2402         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
2403         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
2404         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
2405         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
2406         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
2407         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
2408         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
2409         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
2410         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
2411         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
2412         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
2413         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
2414         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
2415         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
2416         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
2417         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
2418         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
2419         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
2420         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
2421         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
2422         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
2423         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
2424         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
2425         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
2426         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
2427         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
2428         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
2429         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
2430         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
2431         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
2432         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
2433         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
2434         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
2435         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
2436         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
2437         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
2438         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
2439         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
2440         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
2441         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
2442         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
2443         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
2444         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
2445         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
2446         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
2447         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
2448         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
2449         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
2450         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
2451         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
2452         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
2453         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
2454         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
2455         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
2456         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
2457         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
2458         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
2459         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
2460         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
2461         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
2462         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
2463         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
2464         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
2465         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
2466         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
2467         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
2468         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
2469         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
2470         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
2471         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
2472         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
2474         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
2475         _XOPEN_SOURCE_EXTENDED for XPG4.
2477         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
2479         * Makeconfig (localtime): Remove variable.
2480         (inst_localtime-file): Likewise.
2482 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
2484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2485         Update.
2486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2487         Update.
2488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2489         Update.
2490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2491         Update.
2492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2493         Update.
2494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
2495         Update.
2496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2497         Update.
2498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
2499         Update.
2500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2501         Update.
2503 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
2505         [BZ #2550]
2506         [BZ #2570]
2507         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
2508         comparisons to determine direction to adjust input.
2509         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
2510         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
2511         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
2512         Likewise.
2513         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
2514         Likewise.
2515         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2516         Likewise.
2517         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
2518         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
2519         Likewise.
2520         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
2521         Likewise.
2522         * math/libm-test.inc (nexttoward_test): Add more tests.
2524 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
2526         [BZ #14040]
2527         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
2528         in version GLIBC_2.1, not GLIBC_2.0.
2529         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
2530         Likewise.
2532 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
2534         [BZ #13942]
2535         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
2536         (1 - x) * (1 + x).
2537         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2538         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
2539         * math/libm-test.inc (acos_test): Add more tests.
2540         (asin_test): Likewise.
2541         * sysdeps/i386/fpu/libm-test-ulps: Update.
2542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2544         [BZ #14034]
2545         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
2546         of square root.
2547         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
2548         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2549         * math/libm-test.inc (acos_test_tonearest): New function.
2550         (acos_test_towardzero): Likewise.
2551         (acos_test_downward): Likewise.
2552         (acos_test_upward): Likewise.
2553         (asin_test_tonearest): Likewise.
2554         (asin_test_towardzero): Likewise.
2555         (asin_test_downward): Likewise.
2556         (asin_test_upward): Likewise.
2557         (main): Call the new functions.
2558         * sysdeps/i386/fpu/libm-test-ulps: Update.
2559         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2561         [BZ #13884]
2562         [BZ #13924]
2563         * math/e_exp10.c: Include <float.h>.
2564         (__ieee754_exp10): Handle underflow here rather than multiplying
2565         large negative argument by M_LN10.
2566         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
2567         of __ieee754_expf.
2568         * math/e_exp10l.c: Include <float.h>.
2569         (__ieee754_exp10l): Handle underflow here rather than multiplying
2570         large negative argument by M_LN10l.
2571         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
2572         spurious overflow exception on underflow.
2574 2012-04-29  Marek Polacek  <polacek@redhat.com>
2576         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
2577         (__fortify_function): New macro.
2578         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
2579         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
2580         __extern_always_inline.
2581         * libio/bits/stdio2.h: Likewise.
2582         * libio/bits/stdio.h: Likewise.
2583         * string/string.h: Likewise.
2584         * string/bits/string3.h: Likewise.
2585         * include/stdio.h: Likewise.
2586         * stdlib/bits/stdlib.h: Likewise.
2587         * stdlib/stdlib.h: Likewise.
2588         * rt/bits/mqueue2.h: Likewise.
2589         * rt/mqueue.h: Likewise.
2590         * posix/bits/unistd.h: Likewise.
2591         * posix/unistd.h: Likewise.
2592         * io/bits/poll2.h: Likewise.
2593         * io/bits/fcntl2.h: Likewise.
2594         * io/fcntl.h: Likewise.
2595         * io/sys/poll.h: Likewise.
2596         * misc/bits/syslog.h: Likewise.
2597         * misc/bits/syslog-ldbl.h: Likewise.
2598         * misc/sys/syslog.h: Likewise.
2599         * socket/bits/socket2.h: Likewise.
2600         * socket/sys/socket.h: Likewise.
2601         * debug/tst-chk1.c: Likewise.
2602         * wcsmbs/bits/wchar2.h: Likewise.
2603         * wcsmbs/bits/wchar-ldbl.h: Likewise.
2604         * wcsmbs/wchar.h: Likewise.
2606 2012-04-29  Andreas Jaeger  <aj@suse.de>
2608         * Makerules (tests): Remove enable-check-abi protection.
2609         (check-abi-warn): Remove.
2610         (check-abi-%): Remove check-abi-warn usage.
2612         * configure.in: Remove check-abi configure option.
2613         * configure: Regenerated.
2614         * config.make.in (enable-check-abi): Remove.
2616 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
2618         [BZ #14033]
2619         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
2620         double functions to double *_finite functions.
2622         [BZ #13941]
2623         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
2624         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
2625         LDBL_MIN_EXP.
2626         * stdio-common/Makefile (tests): Add tst-sprintf3.
2627         * stdio-common/tst-sprintf3.c: New file.
2629         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
2630         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
2632 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
2634         * conform/conformtest.pl: Remove duplicate typed-constant
2635         handling.
2637 2012-04-28  David S. Miller  <davem@davemloft.net>
2639         * Makerules (%.abilist): Add vpath on sysdep_dirs.
2640         (check-abi-%): Remove AWK script prerequisite and explicit
2641         abilist directory.
2642         (check-abi): Rewrite to just diff the symlist with the abilist.
2643         (config-tls, config-abi-config): Delete, no longer used.
2644         (update-abi-%): Remove AWK script and explicit abilist directory.
2645         (update-abi): Rewrite to simply compare and conditionally copy the
2646         symlist and the sysdep abilist file.  Remove update-abi-config
2647         checks.
2648         * abilist/ld.abilist: Remove.
2649         * abilist/libBrokenLocale.abilist: Remove.
2650         * abilist/libanl.abilist: Remove.
2651         * abilist/libcrypt.abilist: Remove.
2652         * abilist/libdl.abilist: Remove.
2653         * abilist/librt.abilist: Remove.
2654         * abilist/libthread_db.abilist: Remove.
2655         * abilist/libutil.abilist: Remove.
2656         * scripts/extract-abilist.awk: Remove.
2657         * scripts/merge-abilist.awk: Remove.
2658         * sysdeps/generic/libcidn.abilist: New file.
2659         * sysdeps/generic/libnss_compat.abilist: New file.
2660         * sysdeps/generic/libnss_db.abilist: New file.
2661         * sysdeps/generic/libnss_dns.abilist: New file.
2662         * sysdeps/generic/libnss_files.abilist: New file.
2663         * sysdeps/generic/libnss_hesiod.abilist: New file.
2664         * sysdeps/generic/libnss_nis.abilist: New file.
2665         * sysdeps/generic/libnss_nisplus.abilist: New file.
2666         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
2667         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
2668         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
2669         file.
2670         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
2671         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
2672         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
2673         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
2674         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
2675         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
2676         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
2677         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
2678         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
2679         file.
2680         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
2681         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
2682         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
2683         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
2684         file.
2685         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
2686         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
2687         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
2688         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
2689         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
2690         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
2691         file.
2692         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
2693         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
2694         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
2695         file.
2696         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
2697         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
2698         New file.
2699         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
2700         New file.
2701         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
2702         New file.
2703         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
2704         New file.
2705         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
2706         New file.
2707         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
2708         New file.
2709         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
2710         New file.
2711         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
2712         New file.
2713         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
2714         New file.
2715         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
2716         New file.
2717         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
2718         New file.
2719         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
2720         New file.
2721         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
2722         New file.
2723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
2724         file.
2725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2726         New file.
2727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2728         New file.
2729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
2730         file.
2731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2732         New file.
2733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2734         New file.
2735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
2736         file.
2737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2738         New file.
2739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2740         New file.
2741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2742         New file.
2743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2744         New file.
2745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2746         New file.
2747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2748         New file.
2749         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
2750         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
2751         file.
2752         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2753         New file.
2754         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
2755         file.
2756         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
2757         file.
2758         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
2759         file.
2760         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
2761         file.
2762         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
2763         file.
2764         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2765         New file.
2766         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
2767         file.
2768         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
2769         file.
2770         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2771         New file.
2772         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
2773         file.
2774         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
2775         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
2776         file.
2777         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2778         New file.
2779         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
2780         file.
2781         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
2782         file.
2783         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
2784         file.
2785         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
2786         file.
2787         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
2788         file.
2789         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2790         New file.
2791         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
2792         file.
2793         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
2794         file.
2795         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2796         New file.
2797         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
2798         file.
2799         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2800         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
2801         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
2802         file.
2803         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
2804         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
2805         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
2806         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
2807         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
2808         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
2809         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
2810         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
2811         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
2812         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
2813         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
2814         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
2815         file.
2816         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2817         New file.
2818         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
2819         file.
2820         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
2821         file.
2822         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
2823         file.
2824         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
2825         file.
2826         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
2827         file.
2828         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2829         New file.
2830         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2831         New file.
2832         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
2833         file.
2834         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2835         New file.
2836         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
2837         file.
2838         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
2839         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
2840         file.
2841         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2842         New file.
2843         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
2844         file.
2845         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
2846         file.
2847         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
2848         file.
2849         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
2850         file.
2851         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
2852         file.
2853         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2854         New file.
2855         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2856         New file.
2857         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
2858         file.
2859         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2860         New file.
2861         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
2862         file.
2864 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
2866         * conform/conformtest.pl: Fix typo in handling typed-constant from
2867         allow-header.
2869 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
2871         * README: Cut down references to pre-2.6 Linux kernels and
2872         Linuxthreads.  Update lists of configurations in libc and ports
2873         and sort alphabetically.  Say "or newer" with Linux kernel version
2874         requirements.
2876         * config.h.in [IS_IN_build]: Allow compiling without optimization.
2878 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
2880         [BZ #887]
2881         * math/libm-test.inc (logb_test_downward): New test to expose
2882         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
2883         rounding mode.
2885 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
2887         [BZ #14027]
2888         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
2889         to be done.
2890         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
2891         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
2893 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
2895         * sysdeps/unix/i386/brk.S: Remove file.
2896         * sysdeps/unix/i386/dl-brk.S: Likewise.
2897         * sysdeps/unix/i386/pipe.S: Likewise.
2898         * sysdeps/unix/i386/sigreturn.S: Likewise.
2899         * sysdeps/unix/i386/syscall.S: Likewise.
2900         * sysdeps/unix/i386/vfork.S: Likewise.
2901         * sysdeps/unix/i386/wait.S: Likewise.
2903         * sysdeps/unix/common/tcsendbrk.c: Move to ...
2904         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
2906         * configure.in (arm*-none*): Do not allow without
2907         --enable-hacker-mode.
2908         (netbsd*): Remove case setting base_os.
2909         (386bsd*): Likewise.
2910         (freebsd*): Likewise.
2911         (bsdi*): Likewise.
2912         (osf*): Likewise.
2913         (sunos*): Likewise.
2914         (ultrix*): Likewise.
2915         (newsos*): Likewise.
2916         (dynix*): Likewise.
2917         (*bsd*): Likewise.
2918         (sysv*): Likewise.
2919         (isc*): Likewise.
2920         (esix*): Likewise.
2921         (sco*): Likewise.
2922         (minix*): Likewise.
2923         (irix4*): Likewise.
2924         (irix6*): Likewise.
2925         (solaris[2-9]*): Likewise.
2926         (none): Likewise.
2927         * configure: Regenerated.
2929 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2931         [BZ #11521]
2932         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
2933         overflow or cancellation in calculating denominator.
2934         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
2935         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
2936         down expression to avoid unexpected rounding in newer GCCs.
2937         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
2939 2012-04-26  David S. Miller  <davem@davemloft.net>
2941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
2942         long-double compat symbols.
2943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
2947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2948         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
2949         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
2950         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
2951         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
2952         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2953         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
2954         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
2955         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2957 2012-04-25  David S. Miller  <davem@davemloft.net>
2959         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
2960         HWCAP_* values only after the memory barriers have been defined.
2961         (atomic_full_barrier): Define.
2962         (atomic_read_barrier): Define.
2963         (atomic_write_barrier): Define.
2965 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2967         * shlib-versions: Add libgcc_s version information.
2968         * sysdeps/generic/libgcc_s.h: Remove.
2969         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
2970         libgcc_s.h.
2971         * sysdeps/gnu/unwind-resume.c: Likewise.
2972         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
2974 2012-04-25  David S. Miller  <davem@davemloft.net>
2976         * sysdeps/unix/sparc/brk.S: Delete.
2977         * sysdeps/unix/sparc/dl-brk.S: Delete.
2978         * sysdeps/unix/sparc/pipe.S: Delete.
2979         * sysdeps/unix/sparc/sysdep.S: Delete.
2980         * sysdeps/unix/sparc/sysdep.h: Delete.
2981         * sysdeps/unix/sparc/vfork.S: Delete.
2982         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
2983         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
2984         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
2985         ret_ERRVAL, r0, r1, MOVE): Define.
2986         (JUMPTARGET): Remove.
2987         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
2988         sysdeps/unix/sparc/sysdep.h
2989         (ENTRY, END): Remove.
2990         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2992 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
2994         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
2995         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
2996         -DIS_IN_build.
2998         * timezone/README: Update upstream location and email address for
2999         tzcode and tzdata.
3000         * timezone/zdump.c: Update from tzcode 2012b.
3001         * timezone/zic.c: Likewise.
3003         * configure.in (libc_cv_as_needed): Remove test.
3004         * configure: Regenerated.
3005         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
3006         conditional definition.
3007         [$(have-as-needed) != yes] (no-as-needed): Likewise.
3008         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
3009         * config.make.in (have-as-needed): Remove variable.
3011 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
3012             Paul Pluzhnikov  <ppluzhnikov@google.com>
3014         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
3015         strings correctly.
3017 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
3019         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
3020         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
3021         * sysdeps/sh/strlen.S: Likewise.
3023 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
3025         * sysdeps/unix/fork.S: Remove file.
3026         * sysdeps/unix/i386/fork.S: Likewise.
3027         * sysdeps/unix/sparc/fork.S: Likewise.
3029         * sysdeps/unix/system.c: Remove file.
3030         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
3032         * sysdeps/unix/getegid.S: Remove file.
3033         * sysdeps/unix/geteuid.S: Likewise.
3035 2012-04-24  Roland McGrath  <roland@hack.frob.com>
3037         * scripts/check-localplt.awk: New file.
3038         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
3039         of diff.
3040         * scripts/data/localplt-generic.data: Add a comment.
3042         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
3043         NODE when __dir_mkfile failed.
3044         * sysdeps/mach/hurd/symlinkat.c: Likewise.
3045         Reported by Ludovic Courtès <ludo@gnu.org>.
3047 2012-04-24  Andreas Jaeger  <aj@suse.de>
3049         * Makerules (common-clean): Also remove gen-as-const-headers
3050         files.
3052 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
3054         * Makerules (native-compile): Do not change working directory for
3055         build.  Use $(OUTPUT_OPTION) in command.
3056         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
3058 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3060         [BZ #13886]
3061         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
3062         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
3063         * math/libm-test.inc (floor_test): Add more tests.
3064         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
3066 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
3068         * sysdeps/unix/getdents.c: Remove file.
3069         * sysdeps/unix/sysv/getdents.c: Likewise.
3070         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
3072         * sysdeps/unix/syscalls.list (madvise): Add syscall from
3073         sysdeps/unix/mman/syscalls.list.
3074         (mmap): Likewise.
3075         (mprotect): Likewise.
3076         (msync): Likewise.
3077         (munmap): Likewise.
3078         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
3079         * sysdeps/unix/mman/syscalls.list: Remove.
3080         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
3082         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
3083         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
3084         * configure: Regenerated.
3085         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
3086         $(libgcc_s_suffix).
3087         * config.make.in (libgcc_s_suffix): Remove variable.
3089 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
3091         * sysdeps/unix/sysv/gethostname.c: Move to ...
3092         * sysdeps/posix/gethostname.c: ... here.
3094         * sysdeps/unix/execve.S: Remove file.
3096         * sysdeps/unix/_exit.S: Remove file.
3098 2012-04-23  Andreas Jaeger  <aj@suse.de>
3100         [BZ #13739]
3101         * manual/Makefile: Remove make dist support, there's no
3102         need for a stand-alone documentation tar ball.
3103         (TEXI2DVI): Define always, it's not in Makeconfig.
3104         (dist): Removed.
3105         (tar-it): Removed.
3106         (edition): Removed.
3107         (glibc-doc-$(edition).tar): Removed
3108         (%.Z): Removed.
3109         (%.gz): Removed.
3110         (%.uu): Removed.
3111         (ETAGS): Remove, it's in Makeconfig.
3112         (move-if-change): Remove, it's in Makeconfig.
3114 2013-04-23  Paul Eggert  <eggert@cs.ucla.edu>
3116         [BZ #13970]
3117         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
3118         (strtod, strtof, strtold, strtol, strtoul, strtoq)
3119         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
3120         (strtod_l, strtof_l, strtold_l): Remove __wur.
3121         It is not necessarily an error to ignore strtol's return value.
3122         One can reliably look at the stored endptr to decide whether
3123         the number had valid syntax.
3125 2012-04-21  Andreas Jaeger  <aj@suse.de>
3127         [BZ #13739]
3128         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
3130 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
3132         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
3133         * sysdeps/unix/sysv/Versions: Remove file.
3135 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
3137         [BZ #13927]
3138         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3140 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
3142         [BZ #7064]
3143         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
3144         version from __vm86.
3146 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
3148         * sysdeps/unix/common/lxstat.c: Remove file.
3149         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
3151         * sysdeps/unix/sysv/Makefile: Remove file.
3153         * sysdeps/unix/sysv/direct.h: Remove file.
3155         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
3156         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
3157         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
3158         * sysdeps/unix/sysv/bits/signum.h: Likewise.
3159         * sysdeps/unix/sysv/bits/stat.h: Likewise.
3160         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
3161         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
3163         * sysdeps/unix/sysv/setrlimit.c: Remove file.
3165         * sysdeps/unix/xmknod.c: Remove file.
3166         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
3168         * sysdeps/unix/sysv/settimeofday.c: Remove file.
3170         * sysdeps/unix/sysv/i386/time.S: Remove file.
3172         * sysdeps/unix/fxstat.c: Remove file.
3173         * sysdeps/unix/xstat.c: Likewise.
3174         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
3176         * sysdeps/unix/sysv/sigaction.c: Remove file.
3178         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
3179         (sysdep_headers): Remove variable.
3180         [termio.h not in sysdep_headers] (generated): Likewise.
3181         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
3182         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
3183         * sysdeps/unix/sysv/tcdrain.c: Likewise.
3184         * sysdeps/unix/sysv/tcflow.c: Likewise.
3185         * sysdeps/unix/sysv/tcflush.c: Likewise.
3186         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
3187         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
3188         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
3189         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
3190         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
3192         * sysdeps/unix/siglist.c: Remove file.
3194         * sysdeps/unix/getppid.S: Remove file.
3196         * sysdeps/unix/mkdir.c: Remove file.
3197         * sysdeps/unix/rmdir.c: Likewise.
3199 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
3201         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
3202         ERR_MAX value.
3203         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
3204         errlist-compat value.
3206 2012-04-18  David S. Miller  <davem@davemloft.net>
3208         * sysdeps/generic/memcopy.h (reg_char): Delete.
3209         * debug/strcat_chk.c: Use char, not reg_char.
3210         * debug/strcpy_chk.c: Likewise.
3211         * debug/strncat_chk.c: Likewise.
3212         * debug/strncpy_chk.c: Likewise.
3213         * string/memchr.c: Likewise.
3214         * string/memrchr.c: Likewise.
3215         * string/rawmemchr.c: Likewise.
3216         * string/strcat.c: Likewise.
3217         * string/strchr.c: Likewise.
3218         * string/strchrnul.c: Likewise.
3219         * string/strcmp.c: Likewise.
3220         * string/strcpy.c: Likewise.
3221         * string/strncat.c: Likewise.
3222         * string/strncmp.c: Likewise.
3223         * string/strncpy.c: Likewise.
3225 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
3227         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
3228         __builtin_memcopy is called when src and dest ranges are known to not
3229         overlap.
3231 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
3233         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
3234         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
3235         fwd_align_merge macro call.
3236         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
3237         bwd_align_merge macro call.
3238         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3240 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
3242         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
3243         bwd_align_merge macros.
3244         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
3245         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
3246         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3248 2012-04-18  David S. Miller  <davem@davemloft.net>
3250         * sysdeps/sparc/sparc64/memcopy.h: Delete.
3252 2012-04-18  Andreas Jaeger  <aj@suse.de>
3254         [BZ# 6794]
3255         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
3256         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
3257         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3259         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
3260         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
3261         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3263         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
3264         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
3265         Adjust for changed ldbl-128 files.
3267         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
3268         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
3269         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3271 2012-04-17  David S. Miller  <davem@davemloft.net>
3273         * sysdeps/sparc/sparc32/memcopy.h: Delete.
3275 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
3277         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
3278         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
3279         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
3280         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
3281         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3282         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
3284 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3286         [BZ #6794]
3287         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
3288         * math/libm-test.inc: Add ilogb errno and exception tests.
3289         * math/w_ilogb.c: New file: ilogb wrapper.
3290         * math/w_ilogbf.c: New file: ilogbf wrapper.
3291         * math/w_ilogbl.c: New file: ilogbl wrapper.
3292         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
3293         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
3294         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
3295         exception being thrown with 0.0 as argument.
3296         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
3297         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
3298         exception being thrown with 0.0 as argument.
3299         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
3300         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3301         exception being thrown with 0.0 as argument.
3302         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
3303         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3304         exception being thrown with 0.0 as argument.
3305         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
3306         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
3307         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
3308         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
3309         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
3310         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
3311         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
3312         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
3313         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
3315 2012-04-17  Petr Baudis  <pasky@ucw.cz>
3317         * include/sys/uio.h: Change __vector to __iovec to avoid clash
3318         with altivec.
3320 2012-04-16  Marek Polacek  <polacek@redhat.com>
3322         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
3324 2012-04-16  Marek Polacek  <polacek@redhat.com>
3326         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
3327         operands of fdivp instruction.
3329 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
3331         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
3332         * elf/tst-auditmod3b.c: Likewise.
3333         * elf/tst-auditmod4b.c: Likewise.
3334         * elf/tst-auditmod5b.c: Likewise.
3335         * elf/tst-auditmod6b.c: Likewise.
3336         * elf/tst-auditmod6c.c: Likewise.
3337         * elf/tst-auditmod7b.c: Likewise.
3338         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
3339         * sysdeps/x86_64/preconfigure.in: Likewise.
3340         * sysdeps/x86_64/preconfigure: Regenerated.
3342 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
3344         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
3345         __ILP32__.
3347 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
3349         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3350         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
3352 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
3354         [BZ #13973]
3355         * locale/iso-639.def: Fix gl language name. Spotted by
3356         Yaron Shahrabani.
3358 2012-04-12  Roland McGrath  <roland@hack.frob.com>
3360         [BZ #2074]
3361         * libio/libio.h (__io_write_fn): Update comment.
3363 2012-04-12  Petr Baudis  <pasky@ucw.cz>
3365         [BZ #2074]
3366         * stdio.texi (Hook Functions): The user provided writer function
3367         is not allowed to return -1.
3369 2012-04-11  David S. Miller  <davem@davemloft.net>
3371         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3373 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
3375         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
3376         Add a leading slash to rtkaio.
3378 2012-04-11  Jim Meyering  <meyering@redhat.com>
3380         [BZ #11959]
3381         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
3382         It is not necessarily an error to ignore fwrite's return
3383         value.  One can reliably use ferror to test for errors after
3384         the fact.
3386 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
3388         * bits/types.h (__snseconds_t): New type.
3389         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
3391         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
3392         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3393         (__SNSECONDS_T_TYPE): Likewise.
3394         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3395         (__SNSECONDS_T_TYPE): Likewise.
3396         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3397         (__SNSECONDS_T_TYPE): Likewise.
3399 2012-04-10  Andreas Jaeger  <aj@suse.de>
3401         [BZ #2636]
3402         * manual/time.texi (Processor Time): Return type of times is
3403         elapsed real time since an arbitrary point in the past.
3404         (CPU Time): Move CLK_TCK from here...
3405         (Processor Time): ...to here.  Correct description.
3406         * manual/conf.texi (Constants for Sysconf): Correct description of
3407         _SC_CLK_TCK.
3409 2012-04-10  David S. Miller  <davem@davemloft.net>
3411         [BZ #13967]
3412         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
3413         where the is a gap between DT_REL(A) and DT_JMPREL.
3415 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
3417         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
3418         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3419         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3421 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3423         * elf/dl-support.c (_dl_inhibit_cache): New variable.
3424         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
3425         (dl_main): Handle --inhibit-cache.
3426         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
3427         _dl_inhibit_cache.
3428         * elf/dl-load.c (_dl_map_object): Use it.
3429         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
3431 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
3433         [BZ #13872]
3434         * sysdeps/i386/fpu/e_powl.S (p78): New object.
3435         (__ieee754_powl): Saturate large exponents rather than testing for
3436         overflow of y*log2(x).
3437         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3438         * math/libm-test.inc (pow_test): Do not permit spurious overflow
3439         exceptions.
3441         [BZ #11521]
3442         * math/s_ctan.c: Include <float.h>.
3443         (__ctan): Avoid internal overflow or cancellation in calculating
3444         denominator.
3445         * math/s_ctanf.c: Likewise.
3446         * math/s_ctanl.c: Likewise.
3447         * math/s_ctanh.c: Likewise.
3448         * math/s_ctanhf.c: Likewise.
3449         * math/s_ctanhl.c: Likewise.
3450         * math/libm-test.inc (ctan_test): Add more tests.
3451         (ctanh_test): Likewise.
3452         * sysdeps/i386/fpu/libm-test-ulps: Update.
3453         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3455 2012-04-09  Andreas Jaeger  <aj@suse.de>
3457         [BZ #6894]
3458         * manual/filesys.texi (Directory Entries): Mention that d_namlen
3459         is an optional BSD extension.
3461         [BZ #10254]
3462         * manual/stdio.texi (Opening Streams): Document additional fopen
3463         parameters.
3465 2012-04-09  Roland McGrath  <roland@hack.frob.com>
3467         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
3468         %eax without telling the compiler.
3470 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
3472         [BZ # 13963]
3473         * manual/install.texi: Use sourceware.org.
3475 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
3477         [BZ #13873]
3478         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
3479         (__ieee754_pow): Generate overflow and underflow using huge*huge
3480         and tiny*tiny rather than just returning constant infinity or zero
3481         for large exponents.
3482         * math/libm-test.inc (pow_test): Require overflow exceptions for
3483         applicable cases of large exponents.
3485         [BZ #706]
3486         * sysdeps/i386/fpu/e_pow.S (p10): New object.
3487         (__ieee754_pow): Use iterative multiplication algorithm only for
3488         integer exponents with absolute value below 1024.  Check for odd
3489         integer exponents when using algorithm for real exponents.
3490         * math/libm-test.inc (pow_test): Add more tests.
3491         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3493 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
3495         [BZ #13705]
3496         * math/libm-test.inc (exp_test): Do not allow overflow exception
3497         on underflow test.
3499 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
3501         [BZ #13705]
3502         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
3503         instead of __kernel_standard_f.
3505 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
3507         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
3508         * sysdeps/x86_64/memset_chk.S: Likewise.
3510 2012-04-08  Andreas Jaeger  <aj@suse.de>
3512         [BZ #10153]
3513         * manual/startup.texi (Environment Access): Describe return value
3514         for putenv and setenv.
3516         [BZ #6895]
3517         * manual/filesys.texi (Directory Entries): Add description for
3518         DT_LNK.
3520         [BZ #6890]
3521         * manual/filesys.texi (Directory Entries): Clarify that it's file
3522         system not operating system in the description of DT_UNKNOWN.
3524         [BZ #6578]
3525         * manual/syslog.texi (closelog): Fix reference, it's openlog.
3527 2012-04-08  Stephen Compall  <s11@member.fsf.org>
3529         [BZ #6649]
3530         * manual/llio.texi (Opening and Closing Files): Add cross
3531         reference to explain mode argument.
3533 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
3535         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
3536         * sysdeps/x86_64/memset_chk.S: Likewise.
3538 2012-04-07  David S. Miller  <davem@davemloft.net>
3540         * elf/elf.h (R_SPARC_WDISP10): Define.
3541         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
3542         R_SPARC_SIZE32.
3543         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
3544         R_SPARC_SIZE64 and R_SPARC_H34.
3546 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
3548         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
3549         conditions and remove no longer applicable assertion.
3551 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
3553         * bits/byteswap.h: Include <features.h>.
3554         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3555         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3557 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
3559         * bits/byteswap.h (__bswap_16): Removed.
3560         Include <bits/byteswap-16.h> to get __bswap_16.
3561         * sysdeps/i386/bits/byteswap.h: Likewise.
3562         * sysdeps/s390/bits/byteswap.h: Likewise.
3563         * sysdeps/x86_64/bits/byteswap.h: Likewise.
3564         * bits/byteswap-16.h: New file.
3565         * sysdeps/i386/bits/byteswap-16.h: Likewise.
3566         * sysdeps/s390/bits/byteswap-16.h: Likewise.
3567         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
3568         * string/Makefile (headers): Add bits/byteswap-16.h.
3570 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
3572         [BZ #13895]
3573         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
3574         extra indirection.
3575         * nss/Makefile (tests-static, tests): Add tst-nss-static.
3576         * nss/tst-nss-static.c: New.
3578 2012-04-06  Robert Millan  <rmh@gnu.org>
3580         [BZ #6486]
3581         * manual/llio.texi (File Position Primitive): lseek
3582         refers to WHENCE when it really means OFFSET.
3584 2012-04-06  Andreas Jaeger  <aj@suse.de>
3586         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
3587         strncmp declarations.
3589         * abilist/libc.abilist: Add __poll and __ppoll.
3591 2012-04-05  David S. Miller  <davem@davemloft.net>
3593         * scripts/check-local-headers.sh: Accept a host triplet in the
3594         path matched by the exclude regexp.
3596         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
3597         definition.
3598         * sysdeps/powerpc/powerpc32/dl-machine.h
3599         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
3600         * sysdeps/s390/s390-32/dl-machine.h
3601         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3602         * sysdeps/sparc/sparc32/dl-machine.h
3603         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3604         * sysdeps/sparc/sparc64/dl-machine.h
3605         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3607         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
3608         lazy binding.
3609         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
3610         undefined symbol errors.
3612         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
3613         DT_NEEDED entries.
3615 2012-04-05  Michael Matz  <matz@suse.de>
3617         [BZ #13592]
3618         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
3620 2012-04-05  Andreas Jaeger  <aj@suse.de>
3622         [BZ #13908]
3623         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
3624         comment.
3626 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
3628         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
3629         which ROUND is no valid rounding mode.
3631 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
3633         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
3634         read again.
3635         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
3637 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
3639         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
3640         an exception using FPU order intentionally.
3642 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
3644         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
3645         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
3646         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
3647         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
3649 2012-04-05  Simon Josefsson  <simon@josefsson.org>
3651         [BZ #12340]
3652         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
3653         EINVAL when BUFLEN is too smal.
3655 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
3657         [BZ #13553]
3658         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
3659         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
3661 2012-04-03  Andreas Jaeger  <aj@suse.de>
3663         [BZ #13938]
3664         * manual/setjmp.texi (System V contexts): Fix sentence.
3666         [BZ #13926]
3667         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
3668         New macro for this case.
3669         [!__GNUC__] (__bswap_64): New inline function for this case.
3670         * sysdeps/x86_64/bits/byteswap.h: Likewise.
3671         * bits/byteswap.h: Likewise.
3672         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
3673         ull, guard with __GLIBC_HAVE_LONG_LONG.
3675         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
3676         __GLIBC_HAVE_LONG_LONG.
3678         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
3679         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
3681 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3683         [BZ #13691]
3684         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
3685         inptr and inend, rather than using last_ch.
3687 2012-04-02  David S. Miller  <davem@davemloft.net>
3689         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
3690         * stdio-common/printf-parse.h (read_int): Change return type to
3691         'int', return -1 on INT_MAX overflow.
3692         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
3693         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
3694         overflows INT_MAX.  Check for overflow of in-format-string precision
3695         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
3696         SIZE_MAX not INT_MAX for integer overflow test.
3697         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
3698         skip the construct in the format string but do not record anything.
3699         * stdio-common/bug22.c: Adjust to test both width/prevision
3700         INT_MAX overflow as well as total length INT_MAX overflow.  Check
3701         explicitly for proper errno values.
3703 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
3705         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
3706         CHAR_MAX.
3707         * string/test-strcmp.c [! WIDE]: Likewise.
3708         * time/tst-mktime2.c: Likewise for INT_MAX.
3709         * string/test-string.h: #include <sys/param.h> for MIN.
3711         * csu/init-first.c (__libc_init_first): Call __ctype_init.
3712         * sysdeps/i386/init-first.c (init): Likewise.
3713         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
3714         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
3715         * sysdeps/sh/init-first.c (init): Likewise.
3717 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
3719         * po/ru.po: Update from translation team.
3720         * po/vi.po: Likewise.
3722 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
3724         * resolv/nss_dns/dns-host.c: Merge copyright years.
3726 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
3728         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
3729         Optimize memcpy with prefetch if
3730         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
3731         src, dst pointers have unequal 16 byte alignments.
3733 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3735         [BZ #13928]
3736         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
3737         from a CNAME entry and return the minimum ttl for the query.
3738         (gaih_getanswer_slice): Likewise.
3740 2012-03-30  Jeff Law  <law@redhat.com>
3742         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
3743         due to long keys.
3744         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3745         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3747         * resolv/nss_dns/dns-host.c: Update copyright year.
3749 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
3751         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
3752         requests to save a system call.  Fix check that all bytes are sent.
3754         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
3755         comments for sendmmsg.
3757 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3759         [BZ #13691]
3760         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
3761         with only 1 character between 0x0041 and 0x01b0.
3762         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
3763         * wcsmbs/tst-mbsnrtowcs.c: New file.
3765 2012-03-29  David S. Miller  <davem@davemloft.net>
3767         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
3768         small copies by hand.
3770 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3772         [BZ #13761]
3773         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
3774         _nss_compat_initgroups_dyn): Fall back to malloc/free
3775         for large group memberships.
3777 2012-03-28  David S. Miller  <davem@davemloft.net>
3779         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
3780         that branches into memcpy.
3781         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3782         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3783         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3784         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3785         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
3786         bits.
3787         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
3788         implementation too.
3789         * sysdeps/sparc/mempcpy.S: New file.
3791         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
3792         the IFUNC routine in the libc case.
3793         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3795         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
3796         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
3797         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
3798         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
3799         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
3800         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
3801         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
3802         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
3804         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
3805         loop to 256 bytes instead of 64 bytes and fix test signedness.
3807         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
3808         * sysdeps/sparc/sparc32/Makefile: rather than here...
3809         * sysdeps/sparc/sparc64/Makefile: and here.
3811 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
3813         * malloc/mallocbug.c: Avoid warnings about unused variables.
3815 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
3817         [BZ #13760]
3818         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
3819         in the right place. Discard and retry query if response is
3820         larger than input buffer size.
3822 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
3824         [BZ #369]
3825         [BZ #2678]
3826         [BZ #3866]
3827         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
3828         x for large integer exponent.
3829         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3830         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
3831         sign of result as needed afterwards.
3832         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3833         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
3834         result for underflowing pow the same as for overflow.
3835         (__kernel_standard_l): Handle powl overflow and underflow here
3836         rather than calling __kernel_standard.
3837         * math/libm-test.inc (pow_test): Add more tests.
3839         [BZ #3868]
3840         [BZ #13879]
3841         [BZ #13910]
3842         [BZ #13911]
3843         [BZ #13912]
3844         [BZ #13913]
3845         [BZ #13915]
3846         [BZ #13916]
3847         [BZ #13917]
3848         [BZ #13918]
3849         [BZ #13919]
3850         [BZ #13920]
3851         [BZ #13921]
3852         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
3853         * sysdeps/ieee754/k_standard.c: Include <float.h>.
3854         (__kernel_standard_l): New function.
3855         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
3856         __kernel_standard.
3857         * math/w_acosl.c (__acosl): Likewise.
3858         * math/w_asinl.c (__asinl): Likewise.
3859         * math/w_atan2l.c (__atan2l): Likewise.
3860         * math/w_atanhl.c (__atanhl): Likewise.
3861         * math/w_coshl.c (__coshl): Likewise.
3862         * math/w_exp10l.c (__exp10l): Likewise.
3863         * math/w_exp2l.c (__exp2l): Likewise.
3864         * math/w_fmodl.c (__fmodl): Likewise.
3865         * math/w_hypotl.c (__hypotl): Likewise.
3866         * math/w_j0l.c (__j0l, __y0l): Likewise.
3867         * math/w_j1l.c (__j1l, __y1l): Likewise.
3868         * math/w_jnl.c (__jnl, __ynl): Likewise.
3869         * math/w_lgammal.c (__lgammal): Likewise.
3870         * math/w_log10l.c (__log10l): Likewise.
3871         * math/w_log2l.c (__log2l): Likewise.
3872         * math/w_logl.c (__logl): Likewise.
3873         * math/w_powl.c (__powl): Likewise.
3874         * math/w_remainderl.c (__remainderl): Likewise.
3875         * math/w_scalbl.c (sysv_scalbl): Likewise.
3876         * math/w_sinhl.c (__sinhl): Likewise.
3877         * math/w_sqrtl.c (__sqrtl): Likewise.
3878         * math/w_tgammal.c (__tgammal): Likewise.
3879         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
3880         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
3881         * math/libm-test.inc (acos_test): Add more tests.
3882         (acosh_test): Likewise.
3883         (asin_test): Likewise.
3884         (atanh_test): Likewise.
3885         (exp_test): Likewise.
3886         (exp10_test): Likewise.
3887         (exp2_test): Likewise.
3888         (expm1_test): Likewise.
3889         (lgamma_test): Likewise.
3890         (log_test): Likewise.
3891         (log10_test): Likewise.
3892         (log1p_test): Likewise.
3893         (log2_test): Likewise.
3894         (pow_test): Do not allow some spurious overflow exceptions.
3895         (sqrt_test): Add more tests.
3896         (tgamma_test): Likewise.
3897         (y0_test): Likewise.
3898         (y1_test): Likewise.
3899         (yn_test): Likewise.
3901 2012-03-27  Anton Blanchard  <anton@samba.org>
3903         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
3904         MAP_HUGETLB.
3905         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3906         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
3907         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
3909 2012-03-27  David S. Miller  <davem@davemloft.net>
3911         * conform/Makefile: Run run-conformtest.sh using $(BASH).
3913         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
3914         have-as-vis3 check.
3916 2012-03-27  Andreas Jaeger  <aj@suse.de>
3918         * sysdeps/x86_64/elf/configure.in: Moved to ...
3919         * sysdeps/x86_64/configure.in: ... here.
3920         * sysdeps/x86_64/elf/start.S: Moved to ...
3921         * sysdeps/x86_64/start.S: ... here.
3922         * sysdeps/x86_64/elf/configure: Delete.
3924         * sysdeps/x86_64/configure.in: Merge contents from
3925         sysdeps/i386/configure.in (without i686 check).
3927         * sysdeps/i386/elf/Versions: Merge into ...
3928         * sysdeps/i386/Versions: ... this.
3929         * sysdeps/i386/elf/Versions: Delete file.
3930         * sysdeps/i386/elf/start.S: Moved to ...
3931         * sysdeps/i386/start.S: ...here.
3932         * sysdeps/i386/elf/configure.in: Merge into...
3933         * sysdeps/i386/configure.in: ...here.
3934         * sysdeps/i386/elf/configure.in: Delete file.
3935         * sysdeps/i386/elf/configure: Delete file.
3937         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
3938         * debug/backtracesyms.c: ... here.
3939         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
3940         * debug/backtracesymsfd.c: ... here.
3941         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
3942         * sysdeps/generic/ifunc-sel.h: ... here.
3944         * sysdeps/unix/i386/start.c: Delete file.
3945         * sysdeps/unix/sparc/start.c: Delete file.
3946         * sysdeps/unix/start.c: Delete file.
3948         * sysdeps/sh/elf/configure.in: Moved to ...
3949         * sysdeps/sh/configure.in: ... here.
3950         * sysdeps/sh/elf/start.S: Moved to ...
3951         * sysdeps/sh/start.S: ... here.
3952         * sysdeps/sh/elf/configure: Delete file.
3954         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
3955         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
3956         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
3957         * sysdeps/powerpc/powerpc64/entry.h: ... here.
3958         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
3959         * sysdeps/powerpc/powerpc64/start.S: here.
3960         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
3961         * sysdeps/powerpc/powerpc64/Makefile: ... this.
3962         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
3963         * sysdeps/powerpc/powerpc64/configure.in: ... this.
3964         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
3966         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
3967         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
3968         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
3969         * sysdeps/powerpc/powerpc32/start.S: ... here.
3970         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
3971         * sysdeps/powerpc/powerpc32/configure.in: ... this.
3972         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
3974         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
3975         * sysdeps/powerpc/ifunc-sel.h: ... here.
3976         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
3977         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
3979         * sysdeps/sparc/elf/configure.in: Moved to ...
3980         * sysdeps/sparc/configure.in: ... here.
3981         * sysdeps/sparc/elf/configure: Delete file.
3982         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
3983         * sysdeps/sparc/sparc32/start.S: ... here.
3984         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
3985         * sysdeps/sparc/sparc64/start.S: ... here.
3986         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
3987         * sysdeps/sparc/sparc32/Makefile: ... this.
3988         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
3989         * sysdeps/sparc/sparc64/Makefile: ... this.
3991         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
3992         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
3993         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
3994         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
3995         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
3996         * sysdeps/s390/s390-32/setjmp.S: ... here.
3997         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
3998         * sysdeps/s390/s390-32/configure.in: ... here.
3999         * sysdeps/s390/s390-32/elf/configure: Delete file.
4000         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
4001         * sysdeps/s390/s390-32/start.S: ... here.
4003         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
4004         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
4005         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
4006         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
4007         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
4008         * sysdeps/s390/s390-64/setjmp.S: ... here.
4009         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
4010         * sysdeps/s390/s390-64/configure.in: ... here
4011         * sysdeps/s390/s390-64/elf/configure: Delete file.
4012         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
4013         * sysdeps/s390/s390-64/start.S: ... here.
4014         * sysdeps/s390/s390-64/elf/configure: Delete.
4016         * configure.in: Remove support for elf directories in sysdeps.
4018         * configure: Regenerated.
4019         * sysdeps/i386/configure: Regenerated.
4020         * sysdeps/powerpc/powerpc32/configure: Regenerated.
4021         * sysdeps/powerpc/powerpc64/configure: Regenerated.
4022         * sysdeps/s390/s390-32/configure: Regenerated.
4023         * sysdeps/s390/s390-64/configure: Regenerated.
4024         * sysdeps/sh/configure: Regenerated.
4025         * sysdeps/sparc/configure: Regenerated.
4026         * sysdeps/x86_64/configure: Regenerated.
4028 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
4030         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4032         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
4033         denormal result into account.
4035 2012-03-25  Roland McGrath  <roland@hack.frob.com>
4037         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
4038         Reported by Allan McRae <allan@archlinux.org>.
4040 2012-03-23  Jeff Law  <law@redhat.com>
4042         * nss/getnssent.c (__nss_getent): Fix typo.
4044 2012-03-23  David S. Miller  <davem@davemloft.net>
4046         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4048 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
4050         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
4051         to pad to uint64_t for each field.
4052         (dl_tls_index): Replace unsigned long with uint64_t.
4054 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
4055         Paul Pluzhnikov  <ppluzhnikov@google.com>
4057         [BZ #6528]
4058         * grp/Makefile (otherlibs): Don't set it.
4059         * inet/Makefile (otherlibs): Likewise.
4060         * login/Makefile (otherlibs): Likewise.
4061         * nscd/Makefile (otherlibs): Likewise.
4062         * posix/Makefile (otherlibs): Likewise.
4063         * pwd/Makefile (otherlibs): Likewise.
4064         * rt/Makefile (otherlibs): Likewise.
4065         * sunrpc/Makefile (otherlibs): Likewise.
4066         * nss/Makefile (otherlibs): Likewise.
4067         Add libnss_files to routines and static-only-routines.
4068         ($(objpfx)getent): Remove rule.
4069         * resolv/Makefile: Add libnss_dns and libresolv to routines and
4070         static-only-routines.
4072 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
4074         [BZ #13892]
4075         * math/s_cexp.c: Include <float.h>.
4076         (__cexp): Handle exp result overflowing not necessarily
4077         overflowing both real and imaginary parts of result.
4078         * math/s_cexpf.c: Likewise.
4079         * math/s_cexpl.c: Likewise.
4080         * math/libm-test.inc (cexp_test): Add more tests.
4081         * sysdeps/i386/fpu/libm-test-ulps: Update.
4082         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4084 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
4086         * include/link.h (ELFW): New macro.
4087         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
4088         Replace ELF64_R_TYPE with ELFW(R_TYPE).
4090 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
4092         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
4093         with uint64_t.
4095 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
4097         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
4098         declaration.
4099         (struct La_x32_retval): Likewise.
4101 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
4103         * sysdeps/x86_64/preconfigure.in: New file.
4104         * sysdeps/x86_64/preconfigure: New generated file.
4106 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
4108         [BZ #13824]
4109         * math/e_exp2l.c: Include <float.h>.
4110         (__ieee754_exp2l): Handle overflow and underflow cases
4111         separately.  Only pass fractional part of argument to
4112         __ieee754_expl.
4113         * math/libm-test.inc (exp2_test): Add more tests.
4115         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
4116         negating x to take absolute value.
4117         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
4118         Likewise.
4119         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4120         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
4121         Likewise.
4122         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
4123         computing low part if x was negated.
4124         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4126 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
4128         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
4129         la_x32_gnu_pltexit.
4130         (pltexit): Cast int_retval to ptrdiff_t.
4131         * elf/tst-auditmod3b.c: Likewise.
4132         * elf/tst-auditmod4b.c: Likewise.
4133         * elf/tst-auditmod5b.c: Likewise.
4134         * elf/tst-auditmod6b.c: Likewise.
4135         * elf/tst-auditmod6c.c: Likewise.
4136         * elf/tst-auditmod7b.c: Likewise.
4138         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
4139         and x32_gnu_pltexit.
4141         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
4142         __ELF_NATIVE_CLASS.
4143         (La_x32_regs): New macro.
4144         (La_x32_retval): Likewise.
4145         (la_x32_gnu_pltenter): New function prototype.
4146         (la_x32_gnu_pltexit): Likewise.
4148 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
4150         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
4151         exponent.
4153         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4155         * configure.in (libc_cv_cc_nofma): Check for option to disable
4156         generation of FMA instructions.
4157         * configure: Regenerate.
4158         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
4159         * sysdeps/ieee754/dbl-64/Makefile: New file.
4160         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4161         Remove brandred-fma4.
4162         (CFLAGS-brandred-fma4.c): Remove.
4163         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
4164         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
4165         define.
4166         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
4167         define.
4169 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
4171         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4172         LLONG_MAX != LONG_MAX.
4173         (_itoa_word): Use _ITOA_WORD_TYPE on value.
4174         (_fitoa_word): Likewise.
4175         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
4176         LLONG_MAX != LONG_MAX.
4177         * stdio-common/_itowa.h: Include <_itoa.h>.
4178         (_itowa_word): Use _ITOA_WORD_TYPE on value.
4179         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
4180         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
4181         only if not defined.
4182         (_ITOA_WORD_TYPE): Likewise.
4183         (_itoa_word): Use _ITOA_WORD_TYPE on value.
4184         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
4186 2012-03-21  David S. Miller  <davem@davemloft.net>
4188         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4190 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
4192         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
4193         of x86_64 when setting libc_cv_slibdir, libdir and
4194         libc_cv_localedir.
4195         * sysdeps/unix/sysv/linux/configure: Regenerated.
4197 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
4199         * manual/lang.texi (Old Varargs): Remove section.
4200         (How Variadic): Update menu.
4201         (va_start): Do not mention varargs.h.
4203 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
4204             Joseph Myers  <joseph@codesourcery.com>
4206         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
4207         link test.
4208         * configure: Regenerated.
4210 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
4212         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
4213         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
4214         conformtest.pl
4216 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
4218         * NOTES: Remove.
4219         * Makefile (files-for-dist): Remove NOTES.
4220         (NOTES): Remove rule.
4221         * README: Don't refer to NOTES.
4222         * manual/creature.texi: Don't include macros.texi.
4223         * manual/intro.texi (creature.texi): Remove comment referring to
4224         NOTES.
4226         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
4227         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
4228         * configure: Regenerated.
4229         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
4230         LIBC_TRY_CC_OPTION.
4231         (libc_cv_as_i686): Likewise.
4232         (libc_cv_cc_avx): Likewise.
4233         (libc_cv_cc_sse2avx): Likewise.
4234         (libc_cv_cc_fma4): Likewise.
4235         (libc_cv_cc_novzeroupper): Likewise.
4236         * sysdeps/i386/configure: Regenerated.
4238         [BZ #13883]
4239         * sysdeps/i386/fpu/s_cexp.S: Remove.
4240         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4241         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4242         * math/libm-test.inc (cexp_test): Add more tests.
4243         * sysdeps/i386/fpu/libm-test-ulps: Update.
4244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4246 2012-03-21  Allan McRae  <allan@archlinux.org>
4248         * timezone/Makefile: Do not install iso3166.tab and zone.tab
4250 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
4252         [BZ #13871]
4253         * math/w_exp2.c: Do not include <float.h>.
4254         (o_threshold, u_threshold): Remove.
4255         (__exp2): Calculate result before checking finiteness and calling
4256         __kernel_standard.
4257         * math/w_exp2f.c: Likewise.
4258         * math/w_exp2l.c: Likewise.
4259         * math/libm-test.inc (exp2_test): Require overflow exception for
4260         1e6 input.
4262         [BZ #3866]
4263         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
4264         range of signed 64-bit integers before using fistpll.  Remove
4265         checks for whether integers fit in mantissa bits.
4266         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
4267         the range of signed 32-bit integers before using fistpl.  Remove
4268         checks for whether integers fit in mantissa bits.
4269         * sysdeps/i386/fpu/e_powl.S (p64): New object.
4270         (__ieee754_powl): Test for y outside the range of signed 64-bit
4271         integers before using fistpll.  Reduce 64-bit values to 63-bit
4272         ones as needed.
4273         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
4274         divide-by-zero is raised for zero to large negative powers.
4275         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
4276         (__ieee754_powl): Test for y outside the range of signed 64-bit
4277         integers before using fistpll.  Reduce 64-bit values to 63-bit
4278         ones as needed.
4279         * math/libm-test.inc (pow_test): Add more tests.
4281 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
4283         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
4284         <stdio-common/_itoa.h>.
4285         * debug/segfault.c: Likewise.
4286         * elf/dl-cache.c: Likewise.
4287         * elf/dl-minimal.c: Likewise.
4288         * elf/dl-misc.c: Likewise.
4289         * elf/dl-sysdep.c: Likewise.
4290         * elf/dl-version.c: Likewise.
4291         * elf/rtld.c: Likewise.
4292         * hurd/hurdsock.c: Likewise.
4293         * hurd/lookup-retry.c: Likewise.
4294         * malloc/malloc.c: Likewise.
4295         * malloc/mtrace.c: Likewise.
4296         * nscd/nscd_getgr_r.c: Likewise.
4297         * nscd/nscd_getpw_r.c: Likewise.
4298         * nscd/nscd_getserv_r.c: Likewise.
4299         * posix/getopt_init.c: Likewise.
4300         * posix/wordexp.c: Likewise.
4301         * stdio-common/_itoa.c: Likewise.
4302         * stdio-common/printf_fphex.c: Likewise.
4303         * stdio-common/vfprintf.c: Likewise.
4304         * string/_strerror.c: Likewise.
4305         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
4306         * sysdeps/i386/i686/hp-timing.h: Likewise.
4307         * sysdeps/mach/_strerror.c: Likewise.
4308         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
4309         * sysdeps/mach/hurd/sethostid.c: Likewise.
4310         * sysdeps/mach/hurd/xmknodat.c: Likewise.
4311         * sysdeps/mach/xpg-strerror.c: Likewise.
4312         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4313         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4314         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
4315         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
4316         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4317         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
4318         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
4319         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
4320         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
4321         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
4322         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
4323         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
4324         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
4325         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4326         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4327         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
4328         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
4329         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
4330         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4331         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4332         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
4334         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
4336         * stdio-common/_itoa.h: Moved to ...
4337         * sysdeps/generic/_itoa.h: Here.
4339         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
4341         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
4342         instead of "_itoa.h" and "_itowa.h".
4343         * stdio-common/vfprintf.: Likewise.
4345 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
4347         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
4348         <bits/wordsize.h>.
4349         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
4350         (__signbit): Likwise.
4351         (llrintf): Likwise.
4352         (llrint): Likwise.
4354 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
4356         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
4357         __WORDSIZE != 64.
4359 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
4361         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
4362         OVERFLOW_EXCEPTION_OK.
4363         * math/libm-test.inc ("Philosophy"): Update comment about
4364         exception testing.
4365         (OVERFLOW_EXCEPTION): Define.
4366         (OVERFLOW_EXCEPTION_OK): Likewise.
4367         (INVALID_EXCEPTION_OK): Renumber.
4368         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4369         (IGNORE_ZERO_INF_SIGN): Likewise.
4370         (test_exceptions): Handle FE_OVERFLOW.
4371         (exp10_test): Expect overflow exceptions.
4372         (exp2_test): Likewise.
4373         (expm1_test): Likewise.
4374         (nextafter_test): Likewise.
4375         (pow_test): Likewise.
4376         (scalbn_test): Likewise.
4377         (scalbln_test): Likewise.
4379 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
4381         * sysdeps/x86_64/bits/atomic.h
4382         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
4383         64bit integer.
4384         (atomic_exchange_acq): Likewise.
4385         (__arch_exchange_and_add_body): Likewise.
4386         (__arch_add_body): Likewise.
4387         (atomic_add_negative): Likewise.
4388         (atomic_add_zero): Likewise.
4390 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
4392         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
4393         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
4395 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
4397         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
4398         Check __x86_64__ instead of __WORDSIZE.
4400 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
4402         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
4404 2012-03-19  David S. Miller  <davem@davemloft.net>
4406         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4408         * sysdeps/sparc/fpu/fenv_private.h: New file.
4409         * sysdeps/sparc/fpu/math_private.h: Use it.
4410         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
4411         Remove.
4412         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
4413         (libc_feholdexcept_setroundl): Remove.
4414         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
4415         Remove.
4416         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
4417         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
4419 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
4421         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
4422         int64_t instead of long int.
4423         (INSERT_WORDS64): Likwise.
4425 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
4427         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
4428         _Unwind_GetCFA return to _Unwind_Ptr first.
4430 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
4432         [BZ #13629]
4433         * math/s_clog.c: Include <float.h>.
4434         (__clog): Scale large or subnormal inputs.
4435         * math/s_clogf.c: Likewise.
4436         * math/s_clogl.c: Likewise.
4437         * math/s_clog10.c: Include <float.h>.
4438         (M_LOG10_2): Define.
4439         (__clog10): Scale large or subnormal inputs.
4440         * math/s_clog10f.c: Likewise.
4441         * math/s_clog10l.c: Likewise.
4442         * math/libm-test.inc (clog_test): Add more tests.
4443         (clog10_test): Likewise.
4444         * sysdeps/i386/fpu/libm-test-ulps: Update.
4445         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4447         [BZ #11451]
4448         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
4449         x and y.
4450         * math/libm-test.inc (atan2_test): Add another test.
4452         * Makerules (common-objdir-compile): Remove.
4453         * sysdeps/unix/Makefile (config-generated): Do not add
4454         $(unix-generated) to variable.
4455         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
4456         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
4457         Remove rule.
4458         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
4459         Likewise.
4460         [generic bits/local_lim.h] (before-compile): Do not append to
4461         variable.
4462         [generic bits/local_lim.h] (common-generated): Likewise.
4463         [generic sys/param.h] (before-compile): Do not append to variable.
4464         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
4465         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
4466         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
4467         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
4468         include.
4469         [generic sys/param.h] (sys/param.h-includes): Remove variable.
4470         [generic sys/param.h] (sys/param.h-includes): Remove rule.
4471         [generic sys/param.h] ($(addprefix
4472         $(common-objpfx),$(sys/param.h-includes))): Likewise.
4473         [generic sys/param.h] (common-generated): Do not append to
4474         variable.
4475         [generic sys/param.h] (sysdep_headers): Likewise.
4476         [generic bits/errno.h] (before-compile): Do not append to
4477         variable.
4478         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
4479         rule.
4480         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
4481         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
4482         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
4483         [generic bits/errno.h] (common-generated): Do not append to
4484         variable.
4485         [generic bits/ioctls.h] (before-compile): Do not append to
4486         variable.
4487         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
4488         rule.
4489         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
4490         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
4491         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
4492         rule.
4493         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
4494         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
4495         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
4496         [generic bits/ioctls.h] (common-generated): Do not append to
4497         variable.
4498         [generic sys/syscall.h] (syscall.h): Remove variable.
4499         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
4500         rule.
4501         [generic sys/syscall.h] (before-compile): Do not append to
4502         variable.
4503         [generic sys/syscall.h] (common-generated): Likewise.
4504         * sysdeps/unix/errnos-tmpl.c: Remove file.
4505         * sysdeps/unix/errnos.awk: Likewise.
4506         * sysdeps/unix/ioctls-tmpl.c: Likewise.
4507         * sysdeps/unix/ioctls.awk: Likewise.
4508         * sysdeps/unix/mk-local_lim.c: Likewise.
4509         * sysdeps/unix/snarf-ioctls: Likewise.
4511 2012-03-19  Richard Henderson  <rth@twiddle.net>
4513         * sysdeps/i386/fpu/fenv_private.h: New file.
4514         * sysdeps/i386/fpu/math_private.h: Use it.
4515         (math_opt_barrier, math_force_eval): Remove.
4516         (libc_feholdexcept_setround_53bit): Remove.
4517         (libc_feupdateenv_53bit): Remove.
4518         * sysdeps/x86_64/fpu/math_private.h: Likewise.
4519         (math_opt_barrier, math_force_eval): Remove.
4520         (libc_feholdexcept): Remove.
4521         (libc_feholdexcept_setround): Remove.
4522         (libc_fetestexcept, libc_fesetenv): Remove.
4523         (libc_feupdateenv_test): Remove.
4524         (libc_feupdateenv, libc_feholdsetround): Remove.
4525         (libc_feresetround): Remove.
4527         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
4528         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4530         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
4531         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
4532         (libc_feupdateenv_testl): New.
4533         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
4534         (libc_feupdateenv_testf): New.
4535         (libc_feupdateenv): Use libc_feupdateenv_test.
4536         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
4537         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
4539         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
4540         (libc_feholdsetroundf, libc_feholdsetroundl): New.
4541         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
4542         (libc_feresetround_noex): New.
4543         (libc_feresetround_noexf): New.
4544         (libc_feresetround_noexl): New.
4545         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
4546         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
4547         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
4548         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
4549         SET_RESTORE_ROUND.
4550         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4551         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
4552         (__cos): Likewise.
4553         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
4554         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
4555         SET_RESTORE_ROUND_NOEX.
4556         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
4557         SET_RESTORE_ROUND_NOEXF.
4558         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
4559         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
4560         (libc_feholdsetroundf): New.
4561         (libc_feresetround, libc_feresetroundf): New.
4563         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
4564         (libc_feholdexcept_setround_53bit): Convert from macro to function.
4565         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
4567         * sysdeps/generic/math_private.h: Include <fenv.h>.
4568         (default_libc_feholdexcept): New.
4569         (default_libc_feholdexcept_setround): New.
4570         (default_libc_fesetenv, default_libc_feupdateenv): New.
4571         (libc_feholdexcept): Only define if undefined.
4572         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
4573         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
4574         (libc_feholdexcept_setroundl): Likewise.
4575         (libc_feholdexcept_setround_53bit): Likewise.
4576         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
4577         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
4578         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
4579         (libc_feupdateenv_53bit): Likewise.
4580         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
4581         (libc_feholdexcept): Convert from macro to inline function.
4582         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
4583         (libc_fesetenv, libc_feupdateenv): Likewise.
4585         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
4586         not previously defined.
4587         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
4588         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
4589         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
4590         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
4591         * sysdeps/ieee754/flt-32/math_private.h: New file.
4592         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
4593         math_private.h below SET_FLOAT_WORD.
4594         (__isnan, __isinf_ns, __finite): Remove.
4595         (__isnanf, __isinf_nsf, __finitef): Remove.
4597 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
4599         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4601 2012-03-17  David S. Miller  <davem@davemloft.net>
4603         [BZ #6471]
4604         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
4605         for 2.16.
4607 2012-03-16  David S. Miller  <davem@davemloft.net>
4609         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
4610         warnings.
4612         [BZ #6471]
4613         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
4614         properly.
4615         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
4616         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
4617         sysdep_routines when subdir is sysvipc.
4618         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
4619         __getshmlba helper.
4621         * sysdeps/sparc/fpu/libm-test/ulps: Update.
4623 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
4625         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
4626         [__LP64__].
4628 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
4630         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
4631         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
4632         (__lround): Renamed to ...
4633         (__llround): This.  Replace long int with long long int.
4634         Define lround functions as aliases of llround functions.
4635         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
4637 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
4639         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
4640         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
4641         adresses to uintptr_t.  Replace "long int" and "unsigned long
4642         int" with "greg_t" on va_arg.
4644 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
4646         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
4647         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
4649         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
4650         Move e_machine check before EI_CLASS check.  Handle x32
4651         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
4652         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
4653         SKIP_EM_IA_64 and include
4654         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
4656         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
4657         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
4658         (add_system_dir): New macro.
4660         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
4661         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
4663 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
4665         [BZ #2551]
4666         [BZ #2552]
4667         [BZ #2553]
4668         [BZ #2554]
4669         [BZ #2562]
4670         [BZ #2563]
4671         [BZ #2565]
4672         [BZ #2566]
4673         [BZ #2576]
4674         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
4675         (y0): Likewise.
4676         * math/w_j0f.c (j0f): Likewise.
4677         (y0f): Likewise.
4678         * math/w_j0l.c (__j0l): Likewise.
4679         (__y0l): Likewise.
4680         * math/w_j1.c (j1): Likewise.
4681         (y1): Likewise.
4682         * math/w_j1f.c (j1f): Likewise.
4683         (y1f): Likewise.
4684         * math/w_j1l.c (__j1l): Likewise.
4685         (__y1l): Likewise.
4686         * math/w_jn.c (jn): Likewise.
4687         (yn): Likewise.
4688         * math/w_jnf.c (jnf): Likewise.
4689         (ynf): Likewise.
4690         * math/w_jnl.c (__jnl): Likewise.
4691         (__ynl): Likewise.
4692         * math/libm-test.inc (j0_test): Add more tests.
4693         (j1_test): Likewise.
4694         (jn_test): Likewise.  Add trailing semicolon to existing test.
4695         (y0_test): Likewise.
4696         (y1_test): Likewise.
4697         * sysdeps/i386/fpu/libm-test-ulps: Update.
4698         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4700         [BZ #13851]
4701         [BZ #13854]
4702         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
4703         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
4704         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
4705         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
4706         (__tanl): Set errno for infinite argument.
4707         * sysdeps/i386/fpu/mptan.c: Remove.
4708         * sysdeps/i386/fpu/s_tan.S: Likewise.
4709         * sysdeps/i386/fpu/s_tanl.S: Likewise.
4710         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
4711         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
4712         * math/libm-test.inc (tan_test): Add more tests and enable more
4713         tests for double and long double.
4714         * sysdeps/i386/fpu/libm-test-ulps: Update.
4715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4717 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
4719         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
4720         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
4722 2012-03-16  Roland McGrath  <roland@hack.frob.com>
4724         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
4725         * configure.in: Use it for both main tree and add-ons.
4726         * configure: Regenerated.
4728 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
4730         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
4732 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
4734         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
4735         in comment.
4737         [BZ #13851]
4738         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
4739         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
4740         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
4741         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
4742         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
4743         infinite argument.
4744         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
4745         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
4746         != 0 for prec == 2.
4747         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
4748         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
4749         * sysdeps/i386/fpu/s_cosl.S: Likewise.
4750         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
4751         * sysdeps/i386/fpu/s_sinl.S: Likewise.
4752         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
4753         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
4754         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
4755         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
4756         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
4757         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
4758         * math/libm-test.inc (cos_test): Add more tests and enable more
4759         tests for long double.
4760         (sin_test): Likewise.
4761         (sincos_test): Likewise.
4762         * sysdeps/i386/fpu/libm-test-ulps: Update.
4763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4765 2012-03-16  David S. Miller  <davem@davemloft.net>
4767         * sysdeps/sparc/fpu/math_private.h: New file.
4769 2012-03-15  David S. Miller  <davem@davemloft.net>
4771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
4772         file.
4773         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
4774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
4775         file.
4776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
4777         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
4778         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
4779         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
4780         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
4781         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
4782         sysdep routines.
4783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4785         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
4786         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
4788         * sysdeps/sparc/sparc-ifunc.h: New file.
4789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
4790         sparc-ifunc.h
4791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4792         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
4793         Likewise.
4794         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
4795         Likewise.
4796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
4797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
4798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4800         Likewise.
4801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
4803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
4805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
4806         Likewise.
4807         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
4808         Likewise.
4809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
4811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
4812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
4813         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4814         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4815         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
4816         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
4817         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4818         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4819         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
4820         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
4821         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
4822         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
4823         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
4824         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
4825         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
4826         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
4827         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
4828         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
4829         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
4830         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
4831         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
4832         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
4834 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
4836         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
4837         scaling.
4838         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4840 2012-03-15  Andreas Jaeger  <aj@suse.de>
4842         [BZ #13852]
4843         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
4844         ieee754/flt-32 implementation for sin, cos and sincos.
4845         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
4846         * sysdeps/i386/fpu/s_cosf.S: Likewise.
4847         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
4848         * sysdeps/i386/fpu/s_sinf.S: Likewise.
4849         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
4850         ieee754/flt-32 implementation for tan.
4852         * math/libm-test.inc (cos_test): Enable some large input tests for
4853         float as well
4854         (sin_test): Likewise.
4855         (sincos_test): Likewise.
4856         (tan_test): Add tests for large input.
4858         * sysdeps/i386/fpu/libm-test-ulps: Update.
4860 2012-03-15  Andreas Jaeger  <aj@suse.de>
4862         [BZ #13658]
4863         * math/libm-test.inc (cos_test): Add more test cases.
4864         (sin_test): Likewise.
4865         (sincos_test): Likewise.
4867 2012-03-15  Andreas Jaeger  <aj@suse.de>
4869         [BZ #13837]
4870         * math/libm-test.inc (cos_test): Add a test case for large input
4871         value.
4872         (sin_test): Likewise.
4873         (sincos_test): Likewise.
4875 2012-03-15  Andreas Jaeger  <aj@suse.de>,
4876         Joseph Myers  <joseph@codesourcery.com>
4878         [BZ #13658]
4879         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
4880         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
4881         * sysdeps/i386/fpu/branred.c: Likewise.
4882         * sysdeps/i386/fpu/dosincos.c: Likewise.
4883         * sysdeps/i386/fpu/mpa.c: Likewise.
4884         * sysdeps/i386/fpu/s_cos.S: Likewise.
4885         * sysdeps/i386/fpu/s_sin.S: Likewise.
4886         * sysdeps/i386/fpu/s_sincos.S: Likewise.
4887         * sysdeps/i386/fpu/sincos32.c: Likewise.
4889         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
4890         Define.
4891         (libc_feupdateenv_53bit): Define.
4892         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
4893         Define.
4894         (libc_feupdateenv_53bit): Define.
4896         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
4897         53 bit (without extend i386 double precision).
4899         * math/libm-test.inc (sincos_test): Add tests for large input.
4900         (sin): Likewise.
4901         (cos): Likewise.
4903         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4905 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
4907         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4909 2012-03-15  David S. Miller  <davem@davemloft.net>
4911         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
4912         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
4913         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
4914         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
4915         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
4916         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
4917         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
4918         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
4919         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
4920         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
4921         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
4922         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
4923         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
4924         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
4925         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
4926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
4927         file.
4928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
4929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
4930         file.
4931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
4932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
4933         file.
4934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
4935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
4936         file.
4937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
4938         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
4939         fmin/fmax sysdep routines.
4940         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4942 2012-03-14  David S. Miller  <davem@davemloft.net>
4944         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
4945         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
4946         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
4947         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
4948         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
4949         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
4950         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
4951         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
4952         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
4953         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
4954         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
4955         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
4956         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
4957         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
4958         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
4959         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
4960         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
4961         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
4962         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
4963         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
4964         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
4965         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
4966         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
4967         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
4968         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
4969         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
4970         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
4971         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
4972         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
4973         routines.
4974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
4975         file.
4976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
4977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
4978         file.
4979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
4980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
4981         file.
4982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
4983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
4984         file.
4985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
4986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
4987         file.
4988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
4989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
4990         file.
4991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
4992         file.
4993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
4994         file.
4995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
4996         file.
4997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
4998         New file.
4999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
5000         file.
5001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
5002         file.
5003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
5004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
5005         file.
5006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
5007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
5008         file.
5009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
5010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
5011         file.
5012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
5013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
5014         VIS3 routines.
5016         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
5017         New file.
5019         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5021         * sysdeps/sparc/configure.in: New file.
5022         * sysdeps/sparc/configure: Generate.
5023         * configure.in (libc_cv_sparc_as_vis3): Substitute.
5024         * configure: Regenerate.
5025         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
5026         * config.make.in (have-as-vis3): New.
5027         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
5028         available use -Av9d instead of -Av9a.
5029         * sysdeps/sparc/sparc64/Makefile: Likewise.
5030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
5031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
5032         New file.
5033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
5034         file.
5035         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
5036         New file.
5037         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
5038         file.
5039         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
5040         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
5041         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
5042         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
5043         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
5045         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
5046         fzeros/fnegs to load 0x80000000 into a float register instead of
5047         using the stack.
5048         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
5050 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
5052         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5053         bits/syscall.h.
5054         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
5055         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
5056         ($(inst_includedir)/bits/syscall.h): Remove rule.
5057         ($(objpfx)bits/syscall.d): Include instead of
5058         $(objpfx)syscall-list.d.
5059         (generated): Change syscall-list.h and syscall-list.d to
5060         bits/syscall.h and bits/syscall.d.
5062 2012-03-14  Roland McGrath  <roland@hack.frob.com>
5064         [BZ #13846]
5065         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
5067 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
5069         [BZ #13841]
5070         * math/s_csqrt.c: Include <float.h>.
5071         (__csqrt): Scale large or subnormal inputs.
5072         * math/s_csqrtf.c: Likewise.
5073         * math/s_csqrtl.c: Likewise.
5074         * math/libm-test.inc (csqrt_test): Add more tests.
5075         * sysdeps/i386/fpu/libm-test-ulps: Update.
5076         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5078         [BZ #13840]
5079         * math/libm-test.inc (hypot_test): Add more tests.
5081 2012-03-13  David S. Miller  <davem@davemloft.net>
5083         [BZ #13840]
5084         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
5085         double-precision for the calculation instead of scaling.
5087 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
5089         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
5090         manipulate bits before adding and subtracting TWO52[sx].
5091         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
5092         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
5093         Likewise.
5094         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
5096 2012-03-13  David S. Miller  <davem@davemloft.net>
5098         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
5099         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
5100         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
5101         rtld-global-offsets.h
5102         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5104         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
5105         large parameters.
5107         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
5109         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
5110         'err' in the ifdef scope in which it is actually used.
5112         * nss/nss_db/db-init.c: Include string.h
5114 2012-03-12  David S. Miller  <davem@davemloft.net>
5116         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
5117         masking out of the most significant byte of random value used.
5118         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5119         Fix coding style in previous change.
5121         * sysdeps/unix/sysv/linux/kernel-features.h
5122         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
5123         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
5124         expression.
5125         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
5126         later.
5128 2012-03-11  David S. Miller  <davem@davemloft.net>
5130         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5131         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
5132         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
5133         for 'resultvar' otherwise things get truncated on 64-bit.
5135         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5136         Fix masking out of the most significant byte of random value used.
5138         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5140 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
5142         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5144 2012-03-09  David S. Miller  <davem@davemloft.net>
5146         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
5147         variables with appropriate CPP guards.
5148         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
5149         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
5150         on resulting framesize and the management of the outregs buffer for pltexit.
5151         Preserve floating point return values across _dl_call_pltexit call.
5152         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
5153         framesize and the management of the outregs buffer for pltexit.
5154         Preserve floating point return values across _dl_call_pltexit
5155         call.
5156         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
5157         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
5158         (print_exit): Fix format string for return register value.
5160 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
5162         * sunrpc/Makefile (others): Add rpcgen.
5163         ($(objpfx)rpcgen): Remove special build rule and dependency on
5164         libc.
5165         * sunrpc/rpcgen.c: New file.
5167 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
5169         [BZ #13673]
5170         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
5171         * stdio-common/bug-vfprintf-nargs.c: Likewise.
5172         * sysdeps/i386/crti.S: Likewise.
5173         * sysdeps/i386/crtn.S: Likewise.
5174         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
5175         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
5176         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
5177         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
5178         * sysdeps/sh/crti.S: Likewise.
5179         * sysdeps/sh/crtn.S: Likewise.
5180         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5182         [BZ #13673]
5183         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
5184         with URL.
5185         * locale/programs/locfile-kw.gperf: Likewise.
5186         * locale/programs/charmap-kw.h: Regenerated.
5187         * locale/programs/locfile-kw.h: Likewise.
5189         [BZ #13673]
5190         * intl/plural.y: Replace FSF snail mail address with URL.
5191         * intl/plural.c: Regenerated.
5193 2012-03-09  Richard Henderson  <rth@twiddle.net>
5195         * include/math_private.h: Remove file.
5196         * math/math_private.h: Move file ...
5197         * sysdeps/generic/math_private.h: ... here.
5199         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
5200         * sysdeps/powerpc/fpu/math_private.h: Likewise.
5201         * sysdeps/x86_64/fpu/math_private.h: Likewise.
5203         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
5204         and <math_private.h>.
5205         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5206         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5207         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5208         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5209         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5210         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
5211         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5212         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5213         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5214         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5215         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5216         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5217         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5218         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5219         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5220         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5221         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5222         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5223         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5224         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
5225         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5226         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5227         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5228         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5229         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
5230         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5231         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5232         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5233         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5234         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5235         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5236         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5237         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5238         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5239         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5240         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5241         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5242         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5243         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5244         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5245         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
5246         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5247         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5248         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5249         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
5250         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5251         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
5252         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5253         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5254         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5255         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5256         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
5257         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
5258         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5259         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
5260         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5261         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5262         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5263         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
5264         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
5265         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5266         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5267         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5268         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5269         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
5270         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5271         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5272         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5273         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
5274         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
5275         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5276         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5277         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5278         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5279         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
5280         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
5281         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
5282         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5283         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
5284         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
5285         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5286         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
5287         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5288         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5289         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5290         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
5291         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
5292         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
5293         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
5294         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5295         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5296         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
5297         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5298         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
5299         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
5300         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
5301         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5302         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5303         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5304         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
5305         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
5306         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
5307         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
5308         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
5309         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5310         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
5311         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
5312         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
5313         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5314         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5315         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5316         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5317         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
5318         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5319         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
5320         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5321         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5322         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5323         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5324         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5325         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5326         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5327         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5328         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
5329         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5330         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5331         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
5332         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
5333         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5334         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
5335         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
5336         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5337         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5338         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
5339         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
5340         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5341         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5342         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5343         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
5344         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5345         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5346         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5347         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5348         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
5349         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
5350         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5351         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5352         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5353         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
5354         * sysdeps/ieee754/k_standard.c: Likewise.
5355         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
5356         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5357         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5358         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5359         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5360         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5361         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
5362         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5363         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5364         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5365         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5366         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5367         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5368         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5369         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5370         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5371         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5372         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5373         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5374         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
5375         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
5376         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
5377         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5378         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5379         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5380         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5381         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5382         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5383         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5384         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5385         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5386         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5387         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5388         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5389         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
5390         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5391         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5392         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
5393         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
5394         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5395         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5396         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5397         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5398         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5399         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5400         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5401         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5402         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5403         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5404         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5405         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5406         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5407         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5408         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
5409         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5410         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5411         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
5412         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
5413         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5414         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5415         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5416         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5417         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5418         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
5419         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5420         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5421         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
5422         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
5423         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
5424         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
5425         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
5426         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5427         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
5428         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
5429         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
5430         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
5431         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
5432         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
5433         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5434         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
5435         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
5436         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
5437         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5438         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5439         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
5440         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5441         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5442         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5443         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5444         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5445         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
5446         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5447         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5448         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
5449         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5450         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5451         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
5452         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5453         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5454         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
5455         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5456         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5457         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5458         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5459         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
5460         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5461         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5462         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5463         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
5464         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5465         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5466         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5467         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
5468         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5469         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
5470         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5471         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
5472         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5473         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5474         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5475         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5476         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
5477         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5478         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
5479         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5480         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
5481         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5482         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5483         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5484         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5485         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5486         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5487         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5488         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
5489         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5490         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5491         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
5492         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
5493         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5494         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
5495         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
5496         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5497         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
5498         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
5499         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5500         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5501         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5502         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5503         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5504         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
5505         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5506         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5507         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5508         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
5509         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
5510         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
5511         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5512         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5513         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5514         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
5515         * sysdeps/ieee754/s_lib_version.c: Likewise.
5516         * sysdeps/ieee754/s_matherr.c: Likewise.
5517         * sysdeps/ieee754/s_signgam.c: Likewise.
5518         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5519         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5520         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
5521         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
5522         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
5523         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
5524         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
5525         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
5526         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
5527         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
5528         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5529         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
5530         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5531         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5532         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
5533         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5534         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5535         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5536         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5537         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5538         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5540 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
5542         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
5543         * sunrpc/rpc_main.c: Likewise.
5544         * sunrpc/rpc_svcout.c: Likewise.
5546 2012-03-09  David S. Miller  <davem@davemloft.net>
5548         * include/math_private.h: New file.
5550 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
5552         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
5553         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
5554         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
5555         from <bits/socket_type.h>.
5556         (enum __socket_type): Don't define here.
5557         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
5558         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5559         bits/socket_type.h.
5561         [BZ #13566]
5562         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
5563         checking __USE_GNU.
5565         * Makerules ($(inst_includedir)/%.h): New rule.
5566         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
5567         (install-others): Remove variable setting.
5568         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
5570 2012-03-08  Richard Henderson  <rth@twiddle.net>
5572         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
5573         from macro to inline function; merge with the
5574         !__LIBC_INTERNAL_MATH_INLINES version.
5575         (__ieee754_sqrtf): Likewise.
5577         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
5578         to inline function.
5579         (__rintf, __floor, __floorf): Likewise.
5581         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
5582         macro to inline function.
5583         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
5585         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
5586         not <math/math_private.h>.
5588 2012-03-08  David S. Miller  <davem@davemloft.net>
5590         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
5591         copyright year.
5592         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
5594 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
5596         * resolv/gai_misc.c (handle_requests): Fix struct timespec
5597         normalization.
5598         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
5599         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
5601 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
5603         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
5604         be defined individually, they must be defined as a block.  Define
5605         S for printing a string instead of hidint the different by using a
5606         macro for adding the 'l'.
5607         * stdio-common/tst-fphex-wide.c: Adjust.
5609 2012-03-07  Marek Polacek  <polacek@redhat.com>
5611         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
5613 2012-03-08  Marek Polacek  <polacek@redhat.com>
5615         [BZ #13806]
5616         * stdio-common/Makefile (tests): Add tst-fphex-wide.
5617         * stdio-common/tst-fphex.c: Define a few macros to make the
5618         test reusable.  Use them.
5619         * stdio-common/tst-fphex-wide.c: New file.
5621 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
5623         [BZ #6911]
5624         * manual/macros.texi (gnusystems): New macro.
5625         (nongnusystems): Likewise.
5626         (gnulinuxhurdsystems): Likewise.
5627         (gnuhurdsystems): Likewise..
5628         (gnulinuxsystems): Likewise.
5629         * manual/charset.texi: Use new macros or @theglibc{} to refer to
5630         variants of the GNU system, not "GNU system".
5631         * manual/conf.texi: Likewise.
5632         * manual/errno.texi: Likewise.  Update example of errno macro
5633         expansion.
5634         * manual/filesys.texi: Likewise.
5635         (getumask): Document as specific to GNU/Hurd.
5636         * manual/install.texi: Likewise.  Reword some references to
5637         GNU/Linux.
5638         * manual/intro.texi: Likewise.
5639         * manual/io.texi: Likewise.
5640         (File Name Portability): Detail which constraints are inapplicable
5641         to all GNU systems and which are only inapplicable to GNU/Hurd.
5642         * manual/job.texi: Likewise.
5643         * manual/llio.texi: Likewise.
5644         (O_NOCTTY): Document as present on GNU/Linux.
5645         * manual/maint.texi: Likewise.
5646         * manual/memory.texi: Likewise.
5647         * manual/pattern.texi: Likewise.
5648         * manual/pipe.texi: Likewise.
5649         * manual/process.texi: Likewise.
5650         * manual/resource.texi: Likewise.
5651         (RUSAGE_CHILDREN): Remove statement about specifying a particular
5652         child on GNU/Hurd.
5653         * manual/setjmp.texi: Likewise.
5654         * manual/signal.texi: Likewise.
5655         * manual/startup.texi: Likewise.
5656         * manual/stdio.texi: Likewise.
5657         * manual/terminal.texi: Likewise.
5658         (ONLCR): Document as POSIX.
5659         (OXTABS): Document availability on GNU/Linux as XTABS.
5660         (ONOEOT): Document availability separately from other bits.
5661         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
5662         * manual/time.texi: Likewise.
5663         * manual/users.texi: Likewise.
5664         * INSTALL: Regenerated.
5665         * sysdeps/gnu/errlist.c: Regenerated.
5667         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
5668         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
5669         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
5670         puts.
5671         * configure: Regenerated.
5673 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
5675         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
5676         default includes instead of AC_HEADER_CHECK.
5677         * sysdeps/i386/configure: Regenerated.
5679         [BZ #10716]
5680         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
5681         * math/s_cacoshf.c (__cacoshf): Likewise.
5682         * math/s_cacoshl.c (__cacoshl): Likewise.
5683         * math/s_casinh.c (__casinh): Set signs of result from argument.
5684         * math/s_casinhf.c (__casinhf): Likewise.
5685         * math/s_casinhl.c (__casinhl): Likewise.
5686         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
5687         (casinh_test): Add more tests.
5688         * sysdeps/i386/fpu/libm-test-ulps: Update.
5689         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5691 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
5693         * po/zh_TW.po: Update from translation team.
5695         * login/Makefile (distribute): Remove variable.
5696         * catgets/Makefile: Likewise.
5697         * mach/Makefile: Likewise.
5698         * malloc/Makefile: Likewise.
5699         * misc/Makefile: Likewise.
5700         * iconv/Makefile: Likewise.
5701         * nscd/Makefile: Likewise.
5702         * hurd/Makefile: Likewise.
5703         * manual/Makefile: Likewise.
5704         * locale/Makefile: Likewise.
5705         * intl/Makefile: Likewise.
5706         * conform/Makefile: Likewise.
5707         * nss/Makefile: Likewise.
5708         * time/Makefile: Likewise.
5709         * soft-fp/Makefile: Likewise.
5710         * dirent/Makefile: Likewise.
5711         * gmon/Makefile: Likewise.
5712         * po/Makefile: Likewise.
5713         * rt/Makefile: Likewise.
5714         * socket/Makefile: Likewise.
5715         * math/Makefile: Likewise.
5716         * signal/Makefile: Likewise.
5717         * debug/Makefile: Likewise.
5718         * elf/Makefile: Likewise.
5719         * timezone/Makefile: Likewise.
5720         * stdlib/Makefile: Likewise.
5721         * iconvdata/Makefile: Likewise.
5722         * sunrpc/Makefile: Likewise.
5723         * io/Makefile: Likewise.
5724         * argp/Makefile: Likewise.
5725         * inet/Makefile: Likewise.
5726         * hesiod/Makefile: Likewise.
5727         * grp/Makefile: Likewise.
5728         * csu/Makefile: Likewise.
5729         * wctype/Makefile: Likewise.
5730         * crypt/Makefile: Likewise.
5731         * libio/Makefile: Likewise.
5732         * string/Makefile: Likewise.
5733         * nis/Makefile: Likewise.
5734         * resolv/Makefile: Likewise.
5735         * stdio-common/Makefile: Likewise.
5736         * wcsmbs/Makefile: Likewise.
5737         * dlfcn/Makefile: Likewise.
5738         * posix/Makefile: Likewise.
5740         [BZ #6959]
5741         * timezone/Makefile: Don't install timezone files, just the programs
5742         and scripts.
5744 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
5746         * nss/databases.def: Add missing gshadow entry.
5748         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
5750 2012-03-06  Marek Polacek  <polacek@redhat.com>
5752         [BZ #13726]
5753         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
5754         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5755         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
5756         * stdio-common/tst-long-dbl-fphex.c: New file.
5758 2012-03-06  David S. Miller  <davem@davemloft.net>
5760         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5761         (set_obp_int): New function.
5762         (get_obp_int): New function.
5763         (__get_clockfreq_via_dev_openprom): Likewise.
5764         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
5765         Avoid unused variable warnings on 'val' and use builtin_expect.
5766         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
5767         __builtin_expect.
5768         (INLINE_CLONE_SYSCALL): Likewise.
5770 2012-03-05  David S. Miller  <davem@davemloft.net>
5772         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5774 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
5776         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5778         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
5779         only for |x| >= 40.
5780         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5782 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
5784         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
5785         Replace gettimeofday with __vdso_gettimeofday.
5787         * sysdeps/unix/sysv/linux/x86_64/init-first.c
5788         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
5789         __vdso_clock_gettime and __vdso_getcpu.
5791         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
5792         time with __vdso_time.
5794 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
5796         * manual/lang.texi (size_t): Note types to which size_t may be
5797         equivalent with the GNU C Library, but do not describe when
5798         differences between them are significant.
5800 2012-03-05  Andreas Jaeger  <aj@suse.de>
5802         * sysdeps/i386/fpu/libm-test-ulps: Update.
5804 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
5806         [BZ #3976]
5807         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
5808         (__ieee754_pow): Save and restore rounding mode and use
5809         round-to-nearest for main computations.
5810         * math/libm-test.inc (pow_test_tonearest): New function.
5811         (pow_test_towardzero): Likewise.
5812         (pow_test_downward): Likewise.
5813         (pow_test_upward): Likewise.
5814         (main): Call the new functions.
5815         * sysdeps/i386/fpu/libm-test-ulps: Update.
5816         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5818         [BZ #3976]
5819         * math/libm-test.inc (cosh_test_tonearest): New function.
5820         (cosh_test_towardzero): Likewise.
5821         (cosh_test_downward): Likewise.
5822         (cosh_test_upward): Likewise.
5823         (sinh_test_tonearest): Likewise.
5824         (sinh_test_towardzero): Likewise.
5825         (sinh_test_downward): Likewise.
5826         (sinh_test_upward): Likewise.
5827         (main): Call the new functions.
5828         * sysdeps/i386/fpu/libm-test-ulps: Update.
5829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5831 2012-03-05  Tom de Vries  <tom@codesourcery.com>
5833         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
5834         default stack guard is set in last bytes.
5835         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
5837 2012-03-05  Kees Cook  <keescook@chromium.org>
5839         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
5841         [BZ #13656]
5842         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
5843         possibly allocate from heap instead of stack.
5844         * stdio-common/bug-vfprintf-nargs.c: New file.
5845         * stdio-common/Makefile (tests): Add nargs overflow test.
5847 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
5849         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5851 2012-03-03  Marek Polacek  <polacek@redhat.com>
5853         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
5854         * math/math_private.h: Likewise.
5855         * stdlib/tst-strtod.c: Likewise.
5856         * sysdeps/i386/i486/bits/atomic.h: Likewise.
5857         * sysdeps/x86_64/bits/atomic.h: Likewise.
5859 2012-03-02  David S. Miller  <davem@davemloft.net>
5861         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
5862         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
5863         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
5864         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
5865         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
5866         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
5867         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
5868         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
5870 2012-03-02  Roland McGrath  <roland@hack.frob.com>
5872         [BZ #13792]
5873         * manual/examples/README: New file, says the example source files
5874         can be used under GPL>=2.
5875         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
5876         line containing just "*/".
5877         * manual/examples/add.c: Add copyright header (GPL>=2).
5878         * manual/examples/argp-ex1.c: Likewise.
5879         * manual/examples/argp-ex2.c: Likewise.
5880         * manual/examples/argp-ex3.c: Likewise.
5881         * manual/examples/argp-ex4.c: Likewise.
5882         * manual/examples/atexit.c: Likewise.
5883         * manual/examples/db.c: Likewise.
5884         * manual/examples/dir.c: Likewise.
5885         * manual/examples/dir2.c: Likewise.
5886         * manual/examples/execinfo.c: Likewise.
5887         * manual/examples/filecli.c: Likewise.
5888         * manual/examples/filesrv.c: Likewise.
5889         * manual/examples/fmtmsgexpl.c: Likewise.
5890         * manual/examples/genpass.c: Likewise.
5891         * manual/examples/inetcli.c: Likewise.
5892         * manual/examples/inetsrv.c: Likewise.
5893         * manual/examples/isockad.c: Likewise.
5894         * manual/examples/longopt.c: Likewise.
5895         * manual/examples/memopen.c: Likewise.
5896         * manual/examples/memstrm.c: Likewise.
5897         * manual/examples/mkfsock.c: Likewise.
5898         * manual/examples/mkisock.c: Likewise.
5899         * manual/examples/mygetpass.c: Likewise.
5900         * manual/examples/pipe.c: Likewise.
5901         * manual/examples/popen.c: Likewise.
5902         * manual/examples/rprintf.c: Likewise.
5903         * manual/examples/search.c: Likewise.
5904         * manual/examples/select.c: Likewise.
5905         * manual/examples/setjmp.c: Likewise.
5906         * manual/examples/sigh1.c: Likewise.
5907         * manual/examples/sigusr.c: Likewise.
5908         * manual/examples/stpcpy.c: Likewise.
5909         * manual/examples/strdupa.c: Likewise.
5910         * manual/examples/strftim.c: Likewise.
5911         * manual/examples/strncat.c: Likewise.
5912         * manual/examples/subopt.c: Likewise.
5913         * manual/examples/swapcontext.c: Likewise.
5914         * manual/examples/termios.c: Likewise.
5915         * manual/examples/testopt.c: Likewise.
5916         * manual/examples/testpass.c: Likewise.
5917         * manual/examples/timeval_subtract.c: Likewise.
5919         [BZ #13792]
5920         * manual/time.texi (Elapsed Time): Move timeval_subtract example
5921         function to ...
5922         * manual/timeval_subtract.c.texi: ... here, new file.
5924 2012-03-02  David S. Miller  <davem@davemloft.net>
5926         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
5928 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
5930         [BZ #3976]
5931         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
5932         (__sin): Save and restore rounding mode and use round-to-nearest
5933         for all computations.
5934         (__cos): Save and restore rounding mode and use round-to-nearest
5935         for all computations.
5936         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
5937         <fenv.h>.
5938         (tan): Save and restore rounding mode and use round-to-nearest for
5939         all computations.
5940         * math/libm-test.inc (cos_test_tonearest): New function.
5941         (cos_test_towardzero): Likewise.
5942         (cos_test_downward): Likewise.
5943         (cos_test_upward): Likewise.
5944         (sin_test_tonearest): Likewise.
5945         (sin_test_towardzero): Likewise.
5946         (sin_test_downward): Likewise.
5947         (sin_test_upward): Likewise.
5948         (tan_test_tonearest): Likewise.
5949         (tan_test_towardzero): Likewise.
5950         (tan_test_downward): Likewise.
5951         (tan_test_upward): Likewise.
5952         (main): Call the new functions.
5953         * sysdeps/i386/fpu/libm-test-ulps: Update.
5954         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5956         [BZ #10135]
5957         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
5958         small n, then large n, before computing and testing k+n.
5959         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5960         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
5961         Likewise.
5962         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
5963         Likewise.
5964         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
5965         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
5966         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
5967         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
5968         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5969         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5970         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
5971         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
5972         * math/libm-test.inc (scalbn_test): Add more tests.
5973         (scalbln_test): Likewise.
5975         * manual/filesys.texi (mode_t): Describe constraints on size and
5976         signedness, not exact equivalence to a particular type.
5977         (ino_t): Likewise.
5978         (ino64_t): Likewise.
5979         (dev_t): Likewise.
5980         (nlink_t): Likewise.
5981         (blkcnt_t): Likewise.
5982         (blkcnt64_t): Likewise.
5983         * manual/llio.texi (off_t): Likewise.
5985         [BZ #3976]
5986         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
5987         (__ieee754_exp): Save and restore rounding mode and use
5988         round-to-nearest for all computations.
5989         * math/libm-test.inc (exp_test_tonearest): New function.
5990         (exp_test_towardzero): Likewise.
5991         (exp_test_downward): Likewise.
5992         (exp_test_upward): Likewise.
5993         (main): Call the new functions.
5994         * sysdeps/i386/fpu/libm-test-ulps: Update.
5995         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5997 2012-03-01  Chris Demetriou  <cgd@google.com>
5999         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
6000         have predictable order.
6002 2012-03-01  David S. Miller  <davem@davemloft.net>
6004         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
6006         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
6007         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
6008         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
6009         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
6011         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
6012         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
6013         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
6014         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
6015         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
6016         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
6017         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
6018         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
6019         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
6021         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6023         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
6024         * sysdeps/sparc/fpu/libm-test-ulps: to here.
6025         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
6027         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
6028         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6029         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6030         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
6031         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
6032         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
6033         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
6034         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6035         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6036         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
6037         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
6038         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6039         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6040         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6041         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6042         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6043         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
6044         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
6045         * sysdeps/sparc/elf/configure: Regenerated.
6047 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
6049         * configure.in (AS, LD): Require binutils 2.20 or later.
6050         * configure: Regenerated.
6051         * manual/install.texi (Tools for Compilation): Give binutils 2.20
6052         as required minimum version.
6053         * INSTALL: Regenerated.
6055         [BZ #2541]
6056         [BZ #4108]
6057         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
6058         before squaring exponent.
6059         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
6060         bottom long double and 27 bits of top long double before squaring
6061         exponent.
6062         * math/libm-test.inc (erfc_test): Add more tests.
6063         * sysdeps/i386/fpu/libm-test-ulps: Update.
6064         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6065         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6067 2012-03-01  Kai Tietz  <ktietz@redhat.com>
6069         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
6070         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
6071         containing bit-fields.
6072         * soft-fp/extended.h (_FP_UNION_E): Likewise.
6073         * soft-fp/single.h (_FP_UNION_S): Likewise.
6074         * soft-fp/double.h (_FP_UNION_D): Likewise.
6076 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
6078         [BZ #13786]
6079         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
6080         not include ../strcmp.S.
6081         [USE_AS_STRNCASECMP_L]: Likewise.
6082         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
6083         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
6084         * sysdeps/i386/i686/multiarch/strncase_l-c.c
6085         (__strncasecmp_l_ia32): Define as alias to
6086         __strncasecmp_l_nonascii.
6088         [BZ #5794]
6089         * math/libm-test.inc (expm1_test): Add test for bug 5794.
6090         * sysdeps/i386/fpu/libm-test-ulps: Update.
6091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6093         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
6094         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6096 2012-02-29  Jeff Law  <law@redhat.com>
6098         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
6099         out of bounds read.
6101 2012-02-29  Marek Polacek  <polacek@redhat.com>
6103         [BZ #13706]
6104         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
6105         * elf/Makefile: Add rules to run tst-unused-dep.out.
6107 2012-02-28  David S. Miller  <davem@davemloft.net>
6109         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
6110         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
6111         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
6112         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
6113         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
6114         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
6116 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
6118         * math/libm-test.inc (llround_test): Move one test from
6119         lround_test.  Use TEST_f_L in moved test.
6120         (lround_test): Move misplaced test to llround_test.  Add testcase
6121         from bug 2561.
6123 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
6125         * sysdeps/x86_64/fpu/e_expf.S: New file.
6126         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
6128 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
6130         [BZ #13637]
6131         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
6132         of remain_len that may cause incomplete multi-byte character and
6133         false match.
6134         * posix/bug-regex33.c: New file.
6135         * posix/Makefile (tests): Add bug-regex33.
6137 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
6139         * manual/macros.texi: New file.
6140         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
6141         * manual/libc.texinfo: Include macros.texi.
6142         * manual/creatute.texi: Likewise.
6143         * manual/install.texi: Likewise.
6144         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
6145         @glibcadj{} in references to the GNU C Library.
6146         * manual/charset.texi: Likewise.
6147         * manual/conf.texi: Likewise.
6148         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
6149         when not using those macros.
6150         * manual/creature.texi: Likewise.
6151         * manual/crypt.texi: Likewise.
6152         * manual/errno.texi: Likewise.
6153         * manual/filesys.texi: Likewise.
6154         * manual/header.texi: Likewise.
6155         * manual/install.texi: Likewise.
6156         * manual/intro.texi: Likewise.
6157         * manual/io.texi: Likewise.
6158         * manual/job.texi: Likewise.
6159         * manual/lang.texi: Likewise.
6160         * manual/libc.texiinfo: Likewise.
6161         * manual/llio.texi: Likewise.
6162         * manual/locale.texi: Likewise.
6163         * manual/maint.texi: Likewise.
6164         * manual/math.texi: Likewise.
6165         * manual/memory.texi: Likewise.
6166         * manual/message.texi: Likewise.
6167         * manual/nss.texi: Likewise.
6168         * manual/pattern.texi: Likewise.
6169         * manual/process.texi: Likewise.
6170         * manual/resource.texi: Likewise.
6171         * manual/search.texi: Likewise.
6172         * manual/setjmp.texi: Likewise.
6173         * manual/signal.texi: Likewise.
6174         * manual/socket.texi: Likewise.
6175         * manual/startup.texi: Likewise.
6176         * manual/stdio.texi: Likewise.
6177         * manual/string.texi: Likewise.
6178         * manual/sysinfo.texi: Likewise.
6179         * manual/syslog.texi: Likewise.
6180         * manual/terminal.texi: Likewise.
6181         * manual/time.texi: Likewise.
6182         * manual/users.texi: Likewise.
6183         * INSTALL: Regenerated.
6184         * NOTES: Regenerated.
6185         * sysdeps/gnu/errlist.c: Regenerated.
6187 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
6189         * include/dirent.h: Include <dirstream.h> before
6190         <dirent/dirent.h>.
6192 2012-02-28  David S. Miller  <davem@davemloft.net>
6194         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
6195         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
6196         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
6197         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
6199 2012-02-27  David S. Miller  <davem@davemloft.net>
6201         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
6202         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
6203         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
6204         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
6206         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
6207         frame pointer instead of stack pointer relative arg slot.
6208         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6209         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6210         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6212 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
6214         [BZ #3992]
6215         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
6217 2012-02-27  David S. Miller  <davem@davemloft.net>
6219         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
6220         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6221         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6222         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
6223         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6224         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6225         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
6226         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
6228 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
6230         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
6231         later.  Allow versions 5-9.
6232         * configure: Regenerated.
6233         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
6234         required minimum version and 4.6 as recommended version.  Do not
6235         mention bugs in GCC 2.7 and 2.8.
6236         * INSTALL: Regenerated.
6238 2012-02-27  David S. Miller  <davem@davemloft.net>
6240         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
6241         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
6242         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
6243         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
6244         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
6245         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
6246         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
6247         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
6249         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
6250         manipulate bits before adding and subtracting TWO112[sx].
6251         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
6253 2012-02-27  Roland McGrath  <roland@hack.frob.com>
6255         [BZ #13775]
6256         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
6257         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
6258         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
6259         being in POSIX, because they are in 1003.1-2008.
6261         * rt/tst-aio.c: Include <fcntl.h>.
6262         * rt/tst-aio7.c: Likewise.
6263         * rt/tst-aio64.c: Likewise.
6265         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
6267 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
6269         * manual/install.texi (--with-headers): Describe headers as
6270         interface headers, not private headers.
6271         (Specific advice for GNU/Linux systems): Describe use of headers
6272         from "make headers_install", not private headers from older
6273         kernels.
6274         * INSTALL: Regenerated.
6275         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
6276         Change to 2.6.19.
6277         * sysdeps/unix/sysv/linux/configure: Regenerated.
6279         * manual/llio.texi (fclean): Remove documentation.
6281         * manual/Makefile (libc-texi-generated): New variable.  Include
6282         version.texi.
6283         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
6284         $(libc-texi-generated), not duplicated list of files.
6285         (version.texi, stamp-version): New rules.
6286         (realclean): Remove $(libc-texi-generated), not individual files
6287         from that list.  Do not remove dir-add.texinfo.
6288         * manual/libc.texinfo: Comment out uses of edition numbers and
6289         references to printed manual.  Remove last-updated dates.
6290         (EDITION): Comment out.
6291         (ISBN): Likewise.
6292         (VERSION, UPDATED): Remove.
6293         (version.texi): Include.
6295 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
6297         * sysdeps/posix/spawni.c: Include <signal.h>.
6298         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
6299         * sysdeps/pthread/aio_fsync.c: Likewise.
6301 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
6303         * conform/Makefile (tests): Run only when not cross-compiling and
6304         when fast-check is not defined.
6306         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
6307         * conform/data/limits.h-data: Fixes for POSIX2008.
6308         * conform/run-conformtest.sh: Run all tests.
6309         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
6310         headers.
6311         * include/bits/dlfcn.h: Likewise.
6312         * include/langinfo.h: Likewise.
6313         * include/monetary.h: Likewise.
6314         * include/sys/poll.h: Likewise.
6316         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
6317         for __USE_GNU.
6318         * posix/spawn.h: Define __need_sigset_t.
6319         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
6320         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
6321         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
6322         to get sigevent_t only.
6323         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
6324         only for __USE_GNU.
6325         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6326         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6327         process_vm_writev only for __USE_GNU.
6328         * termios/termios.h: Declare tcgetsid also for POSIX2008.
6330         * conform/Makefile: For now ignore errors from run-conformtest.
6331         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
6332         POSIX to avoid namespace pollution.  Don't prepend headers.
6333         * conform/data/aio.h-data: Fixes for POSIX testing.
6334         * conform/data/fcntl.h-data: Likewise.
6335         * conform/data/glob.h-data: Likewise.
6336         * conform/data/grp.h-data: Likewise.
6337         * conform/data/pthread.h-data: Likewise.
6338         * conform/data/pwd.h-data: Likewise.
6339         * conform/data/signal.h-data: Likewise.
6340         * conform/data/spawn.h-data: Likewise.
6341         * conform/data/stdio.h-data: Likewise.
6342         * conform/data/stdlib.h-data: Likewise.
6343         * conform/data/stropts.h-data: Likewise.
6344         * conform/data/sys/mman.h-data: Likewise.
6345         * conform/data/sys/stat.h-data: Likewise.
6346         * conform/data/sys/types.h-data: Likewise.
6347         * conform/data/sys/wait.h-data: Likewise.
6348         * conform/data/time.h-data: Likewise.
6349         * conform/data/unistd.h-data: Likewise.
6350         * conform/data/utime.h-data: Likewise.
6352         * io/sys/stat.h: fchmod was always in POSIX.
6353         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
6354         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
6355         * rt/aio.h: Define __need_timespec before including <time.h>.
6356         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
6357         struct.  Add forward declaration of pthread_attr_t and use it in
6358         sigevent.
6359         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
6360         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6361         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
6362         always remove CLK_TCK definition.
6364 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
6366         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
6368 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
6370         * conform/run-conformtest.sh: New file.
6371         * conform/Makefile: Run run-conformtest for tests.
6372         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
6373         support.
6375         * conform/data/uchar.h-data: New file.
6376         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
6377         * conform/data/arpa/inet.h-data: Likewise.
6378         * conform/data/assert.h-data: Likewise.
6379         * conform/data/complex.h-data: Likewise.
6380         * conform/data/cpio.h-data: Likewise.
6381         * conform/data/ctype.h-data: Likewise.
6382         * conform/data/dirent.h-data: Likewise.
6383         * conform/data/dlfcn.h-data: Likewise.
6384         * conform/data/errno.h-data: Likewise.
6385         * conform/data/fcntl.h-data: Likewise.
6386         * conform/data/float.h-data: Likewise.
6387         * conform/data/fmtmsg.h-data: Likewise.
6388         * conform/data/fnmatch.h-data: Likewise.
6389         * conform/data/ftw.h-data: Likewise.
6390         * conform/data/glob.h-data: Likewise.
6391         * conform/data/grp.h-data: Likewise.
6392         * conform/data/iconv.h-data: Likewise.
6393         * conform/data/inttypes.h-data: Likewise.
6394         * conform/data/langinfo.h-data: Likewise.
6395         * conform/data/libgen.h-data: Likewise.
6396         * conform/data/limits.h-data: Likewise.
6397         * conform/data/locale.h-data: Likewise.
6398         * conform/data/math.h-data: Likewise.
6399         * conform/data/monetary.h-data: Likewise.
6400         * conform/data/mqueue.h-data: Likewise.
6401         * conform/data/ndbm.h-data: Likewise.
6402         * conform/data/net/if.h-data: Likewise.
6403         * conform/data/netdb.h-data: Likewise.
6404         * conform/data/netinet/in.h-data: Likewise.
6405         * conform/data/nl_types.h-data: Likewise.
6406         * conform/data/poll.h-data: Likewise.
6407         * conform/data/pthread.h-data: Likewise.
6408         * conform/data/pwd.h-data: Likewise.
6409         * conform/data/regex.h-data: Likewise.
6410         * conform/data/sched.h-data: Likewise.
6411         * conform/data/search.h-data: Likewise.
6412         * conform/data/semaphore.h-data: Likewise.
6413         * conform/data/setjmp.h-data: Likewise.
6414         * conform/data/signal.h-data: Likewise.
6415         * conform/data/spawn.h-data: Likewise.
6416         * conform/data/stdarg.h-data: Likewise.
6417         * conform/data/stdio.h-data: Likewise.
6418         * conform/data/stdlib.h-data: Likewise.
6419         * conform/data/string.h-data: Likewise.
6420         * conform/data/strings.h-data: Likewise.
6421         * conform/data/stropts.h-data: Likewise.
6422         * conform/data/sys/ipc.h-data: Likewise.
6423         * conform/data/sys/mman.h-data: Likewise.
6424         * conform/data/sys/msg.h-data: Likewise.
6425         * conform/data/sys/resource.h-data: Likewise.
6426         * conform/data/sys/select.h-data: Likewise.
6427         * conform/data/sys/sem.h-data: Likewise.
6428         * conform/data/sys/shm.h-data: Likewise.
6429         * conform/data/sys/socket.h-data: Likewise.
6430         * conform/data/sys/stat.h-data: Likewise.
6431         * conform/data/sys/statvfs.h-data: Likewise.
6432         * conform/data/sys/time.h-data: Likewise.
6433         * conform/data/sys/timeb.h-data: Likewise.
6434         * conform/data/sys/times.h-data: Likewise.
6435         * conform/data/sys/types.h-data: Likewise.
6436         * conform/data/sys/uio.h-data: Likewise.
6437         * conform/data/sys/un.h-data: Likewise.
6438         * conform/data/sys/utsname.h-data: Likewise.
6439         * conform/data/sys/wait.h-data: Likewise.
6440         * conform/data/syslog.h-data: Likewise.
6441         * conform/data/tar.h-data: Likewise.
6442         * conform/data/termios.h-data: Likewise.
6443         * conform/data/utime.h-data: Likewise.
6444         * conform/data/utmpx.h-data: Likewise.
6445         * conform/data/varargs.h-data: Likewise.
6446         * conform/data/wchar.h-data: Likewise.
6447         * conform/data/wctype.h-data: Likewise.
6448         * conform/data/wordexp.h-data: Likewise.
6450         * include/stropts.h: New file.
6451         * include/uchar.h: New file.
6452         * include/aio.h: Changes to allow conformtest.pl to use the headers.
6453         * include/assert.h: Likewise.
6454         * include/ctype.h: Likewise.
6455         * include/dirent.h: Likewise.
6456         * include/dlfcn.h: Likewise.
6457         * include/fcntl.h: Likewise.
6458         * include/fnmatch.h: Likewise.
6459         * include/glob.h: Likewise.
6460         * include/grp.h: Likewise.
6461         * include/libio.h: Likewise.
6462         * include/locale.h: Likewise.
6463         * include/math.h: Likewise.
6464         * include/net/if.h: Likewise.
6465         * include/netdb.h: Likewise.
6466         * include/netinet/in.h: Likewise.
6467         * include/pthread.h: Likewise.
6468         * include/pwd.h: Likewise.
6469         * include/regex.h: Likewise.
6470         * include/sched.h: Likewise.
6471         * include/search.h: Likewise.
6472         * include/setjmp.h: Likewise.
6473         * include/signal.h: Likewise.
6474         * include/stdio.h: Likewise.
6475         * include/stdlib.h: Likewise.
6476         * include/string.h: Likewise.
6477         * include/sys/cdefs.h: Likewise.
6478         * include/sys/mman.h: Likewise.
6479         * include/sys/msg.h: Likewise.
6480         * include/sys/resource.h: Likewise.
6481         * include/sys/select.h: Likewise.
6482         * include/sys/socket.h: Likewise.
6483         * include/sys/stat.h: Likewise.
6484         * include/sys/statvfs.h: Likewise.
6485         * include/sys/time.h: Likewise.
6486         * include/sys/times.h: Likewise.
6487         * include/sys/uio.h: Likewise.
6488         * include/sys/utsname.h: Likewise.
6489         * include/sys/wait.h: Likewise.
6490         * include/termios.h: Likewise.
6491         * include/time.h: Likewise.
6492         * include/ulimit.h: Likewise.
6493         * include/unistd.h: Likewise.
6494         * include/utime.h: Likewise.
6495         * include/wchar.h: Likewise.
6496         * include/wctype.h: Likewise.
6497         * include/wordexp.h: Likewise.
6499         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
6501         * time/time.h: TIME_UTC must be a macro.
6502         Make timespec_get available for ISO C11 only as well.
6504 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
6506         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
6507         Reported by Peng Haitao <penght@cn.fujitsu.com>.
6509 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
6511         * configure.in: Use -o not -a in test for unsupported multi-arch.
6513 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
6515         * manual/texinfo.tex: Update to version 2012-01-19.16.
6517 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
6519         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
6521 2012-02-24  Roland McGrath  <roland@hack.frob.com>
6523         [BZ #13738]
6524         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
6525         * manual/fdl-1.3.texi: New file.
6526         * manual/fdl-1.1.texi: File removed.
6528         [BZ #13738]
6529         * manual/libc.texinfo (FDL_VERSION): New @set.
6530         Use it for mention of FDL in cover text.
6531         (Documentation License): Use it in @include file name.
6533 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
6534             Roland McGrath  <roland@hack.frob.com>
6536         [BZ #5461]
6537         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
6538         not LONG_LONG_MAX and LONG_LONG_MIN.
6539         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
6540         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
6541         name.
6542         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
6544 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
6546         [BZ #2547]
6547         [BZ #11365]
6548         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
6549         manipulate bits before adding and subtracting TWO23[sx].
6550         * math/libm-test.inc (nearbyint_test): Add more tests.
6552 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
6554         [BZ #2548]
6555         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
6556         bits before adding and subtracting TWO23[sx].
6557         * math/libm-test.inc (rint_test): Add more tests.
6558         (rint_test_tonearest): Likewise.
6559         (rint_test_towardzero): Likewise.
6560         (rint_test_downward): Likewise.
6561         (rint_test_upward: Likewise.
6563 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
6565         [BZ #10110]
6566         * include/stdc-predef.h: New file.  Extracted from features.h.
6567         * include/features.h: Include stdc-predef.h.
6568         * Makefile (headers): Add stdc-predef.h.
6569         * CONFORMANCE (Compiler limitations): Update.
6571 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
6573         * manual/libc.texinfo (VERSION, UPDATED): Revert.
6575 2012-02-21  David S. Miller  <davem@davemloft.net>
6577         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
6578         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6580 2012-02-20  David S. Miller  <davem@davemloft.net>
6582         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
6583         using a normal save/restore sequence, rather than allocating a
6584         dummy stack frame just to store a frame pointer and restore.
6585         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6587 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
6589         * manual/install.texi: Fix stray word in line-wrapped comment.
6591 2012-02-20  David S. Miller  <davem@davemloft.net>
6593         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
6594         both binutils and gcc support GOTDATA.
6596         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
6597         "rd %pc" in the PIC register setup sequences.
6599         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
6600         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6601         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6602         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6603         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6604         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6605         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6606         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6607         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
6608         (SYSCALL_ERROR_HANDLER): Likewise.
6609         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6610         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6611         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
6612         (SYSCALL_ERROR_HANDLER): Likewise.
6614         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
6615         (HAVE_GCC_GOTDATA): New.
6616         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
6617         relocation support in both binutils and gcc.
6618         * sysdeps/sparc/elf/configure: Regenerate.
6620         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
6621         * sysdeps/sparc/sparc32/elf/configure: Delete.
6622         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
6623         * sysdeps/sparc/sparc64/elf/configure: Delete.
6624         * sysdeps/sparc/elf/configure.in: New file.
6625         * sysdeps/sparc/elf/configure: Generate.
6627         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
6628         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
6629         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6630         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
6631         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
6633 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
6635         * manual/install.texi: Do not mention specific glibc version
6636         numbers.
6637         * manual/libc.texinfo (VERSION, UPDATED): Update.
6638         (@copying): Use @copyright{} and range of years.
6640 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
6642         [BZ #13695]
6643         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
6644         [crti.S not in sysdirs] (generated): Do not append.
6645         [crti.S not in sysdirs] (omit-deps): Likewise.
6646         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
6647         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
6648         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
6649         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
6650         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
6651         Likewise.
6652         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
6653         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
6654         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
6655         * csu/defs.awk: Remove file.
6656         * sysdeps/generic/initfini.c: Likewise.
6657         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
6658         variable.
6659         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
6660         Likewise.
6662 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
6664         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
6665         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
6666         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
6667         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
6668         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6669         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
6670         <bits/epoll.h>.
6671         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
6672         (__EPOLL_PACKED): Define to empty if not defined by
6673         <bits/epoll.h>.
6674         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
6675         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6676         bits/epoll.h.
6678 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
6680         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
6681         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
6682         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
6683         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
6684         <bits/timerfd.h>.
6685         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
6686         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6687         bits/timerfd.h.
6689 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
6691         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
6692         in C locale.
6693         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6694         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6695         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
6696         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6698 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
6700         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6701         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6703 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
6705         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
6706         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
6707         defined.
6708         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
6709         Likewise.
6710         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
6711         entry for 2.16.
6713 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
6715         * math/w_acos.c: Use non-signaling floating-point comparisons.
6716         * math/w_acosf.c: Likewise.
6717         * math/w_acosh.c: Likewise.
6718         * math/w_acoshf.c: Likewise.
6719         * math/w_acoshl.c: Likewise.
6720         * math/w_acosl.c: Likewise.
6721         * math/w_asin.c: Likewise.
6722         * math/w_asinf.c: Likewise.
6723         * math/w_asinl.c: Likewise.
6724         * math/w_atanh.c: Likewise.
6725         * math/w_atanhf.c: Likewise.
6726         * math/w_atanhl.c: Likewise.
6727         * math/w_exp2.c: Likewise.
6728         * math/w_exp2f.c: Likewise.
6729         * math/w_exp2l.c: Likewise.
6730         * math/w_j0.c: Likewise.
6731         * math/w_j0f.c: Likewise.
6732         * math/w_j0l.c: Likewise.
6733         * math/w_j1.c: Likewise.
6734         * math/w_j1f.c: Likewise.
6735         * math/w_j1l.c: Likewise.
6736         * math/w_jn.c: Likewise.
6737         * math/w_jnf.c: Likewise.
6738         * math/w_log.c: Likewise.
6739         * math/w_log10.c: Likewise.
6740         * math/w_log10f.c: Likewise.
6741         * math/w_log10l.c: Likewise.
6742         * math/w_log2.c: Likewise.
6743         * math/w_log2f.c: Likewise.
6744         * math/w_log2l.c: Likewise.
6745         * math/w_logf.c: Likewise.
6746         * math/w_logl.c: Likewise.
6747         * math/w_sqrt.c: Likewise.
6748         * math/w_sqrtf.c: Likewise.
6749         * math/w_sqrtl.c: Likewise.
6750         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6751         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6752         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6753         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6754         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6756 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
6758         [BZ #9739]
6759         * manual/string.texi (strnlen): Use correct parameter name in
6760         equivalent expression.
6762 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
6764         [BZ #11174]
6765         * manual/users.texi (seteuid): Consistently use neweuid for
6766         argument name.
6768 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
6770         [BZ #13704]
6771         * manual/nss.texi (Services in the NSS configuration): Correct
6772         list of services in example configuration file.
6774 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
6776         [BZ #11322]
6777         * manual/arith.texi: Remove statements about negative zero
6778         behaving identically to zero.
6780 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
6782         [BZ #5993]
6783         * manual/install.texi: Do not document upgrading from libc5.
6785 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
6787         [BZ #4596]
6788         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
6790 2012-02-18  David S. Miller  <davem@davemloft.net>
6792         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
6793         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
6794         %o7 across the call.
6795         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
6796         instead.
6797         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
6798         SETUP_PIC_REG_LEAF.
6799         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6800         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
6801         * sysdeps/sparc/crtn.S: Likewise.
6803 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
6805         * aout/Makefile: Remove.
6807 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
6809         [BZ #13058]
6810         * manual/examples/argp-ex1.c (main): Format definition in GNU
6811         style.
6812         * manual/examples/argp-ex2.c (main): Likewise.
6813         * manual/examples/argp-ex3.c (main): Likewise.
6814         * manual/examples/argp-ex4.c (main): Likewise.
6815         * manual/examples/longopt.c (main): Use new-style prototype
6816         definition.
6817         * manual/examples/strncat.c (main): Specify return type and use
6818         (void) for arguments.
6819         * manual/examples/subopt.c (main): Use char **argv argument.
6821 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
6823         [BZ #5077]
6824         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
6825         rounding modes.
6827 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
6829         [BZ #6907]
6830         * manual/string.texi (strchr): Change when strchrnul is
6831         recommended.
6833 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
6835         [BZ #174]
6836         * manual/locale.texi (setlocale): Document LOCPATH.
6838 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
6840         [BZ #10210]
6841         * manual/process.texi (execle): Move @dots{} before last argument.
6843 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
6845         [BZ #12047]
6846         * manual/charset.texi (Generic Charset Conversion): Fix typo
6847         (LC_TYPE -> LC_CTYPE).
6849 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
6851         [BZ #5805]
6852         * manual/arith.texi (scalbn): Use @var{} on parameter names.
6853         (scalbnf): Likewise.
6854         (scalbnl): Likewise.
6855         (scalbln): Likewise.
6856         (scalblnf): Likewise.
6857         (scalblnl): Likewise.
6858         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
6859         (vwarnx): Likewise.
6860         (verr): Likewise.
6861         (verrx): Likewise.
6862         * manual/filesys.texi (telldir): Use braces around return type.
6863         * manual/llio.texi (mmap): Add space after comma.
6864         (mmap64): Likewise.
6865         * manual/math.texi (jn): Use @var{} on parameter names.
6866         (jnf): Likewise.
6867         (jnl): Likewise.
6868         (yn): Likewise.
6869         (ynf): Likewise.
6870         (ynl): Likewise.
6871         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
6872         line.
6873         * manual/resource.texi (ulimit): Use @dots{} instead of literal
6874         "...".
6875         (sched_get_priority_min): Remove semicolon on @deftypefun line.
6876         (sched_get_priority_max): Likewise.
6877         * manual/signal.texi (sigvec): Add space after comma.
6878         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
6879         names.
6880         (if_indextoname): Likewise.
6881         (if_freenameindex): Likewise.
6882         (sendto): Use ',' instead of '.' in prototype.
6883         * manual/startup.texi (syscall): Use @dots{} instead of literal
6884         "...".
6885         * manual/stdio.texi (__fpending): Separate initial words of
6886         paragraph from @deftypefun line.
6887         * manual/syslog.texi (syslog): Use @dots{} instead of literal
6888         "...".
6889         (vsyslog): Use @var{} on parameter names.
6890         * manual/terminal.texi (stty): Use @var{} on parameter names.
6891         * manual/users.texi (getutmp): Use @var{} on parameter names.
6892         (getutmpx): Likewise.
6894 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
6896         [BZ #6884]
6897         * manual/stdio.texi (fopen): Fix typos in description of
6898         ",ccs=STRING".
6900 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
6902         [BZ #4026]
6903         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
6904         get clock_id definition.
6906 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
6908         [BZ #4822]
6909         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
6910         (madvise): Cast every argument to void on its own.
6912 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
6914         [BZ #9902]
6915         * manual/startup.texi (Exit Status): Fix typo.
6917 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
6919         [BZ #10140]
6920         * manual/examples/argp-ex1.c: Include <stdlib.h>.
6921         * manual/examples/argp-ex2.c: Likewise.
6922         * manual/examples/argp-ex3.c: Likewise.
6924 2012-02-16  Richard Henderson  <rth@redhat.com>
6926         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
6927         * sysdeps/s390/s390-32/initfini.c: Remove.
6928         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
6929         * sysdeps/s390/s390-64/initfini.c: Remove.
6931 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6933         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
6934         compiler output for sysdeps/generic/initfini.c.
6935         * sysdeps/sh/elf/initfini.c: Remove file.
6937 2012-02-16  David S. Miller  <davem@davemloft.net>
6939         [BZ #11494]
6940         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
6942         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
6943         * sysdeps/sparc/crti.S: New file.
6944         * sysdeps/sparc/crtn.S: New file.
6945         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
6946         * sysdeps/sparc/sparc64/Makefile: Likewise.
6948 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
6950         [BZ #3335]
6951         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
6953 2012-02-15  Roland McGrath  <roland@hack.frob.com>
6955         [BZ #4822]
6956         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
6958         * mach/devstream.c (cookie_io_functions_t): Macro removed.
6959         (write, read, close): Likewise.
6960         Patch by Aurelien Jarno <aurelien@aurel32.net>.
6962 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
6964         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
6965         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
6966         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
6967         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
6968         <bits/signalfd.h>.
6969         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
6970         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6971         bits/signalfd.h.
6973 2012-02-14  Marek Polacek  <polacek@redhat.com>
6975         * sysdeps/x86_64/crti.S: New file.
6976         * sysdeps/x86_64/crtn.S: New file.
6977         * sysdeps/x86_64/elf/initfini.c: Remove file.
6979 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
6981         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
6982         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
6983         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
6984         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
6985         <bits/inotify.h>.
6986         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
6987         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6988         bits/inotify.h.
6990 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
6992         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
6993         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
6994         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
6995         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
6996         <bits/eventfd.h>.
6997         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
6998         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6999         bits/eventfd.h.
7001 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
7003         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
7004         __feraiseexcept instead of feraiseexcept.
7006         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
7007         nanosleep invocations.
7008         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
7009         strings, and add error checking for a nanosleep invocations.
7011 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
7013         Replace FSF snail mail address with URLs, as per GNU coding standards.
7014         Most of the snail mail addresses were wrong anyway, and omitting
7015         them makes the source code easier to maintain.  Almost all of the
7016         changes are to license notices and to locale LC_IDENTIFICATION
7017         addresses, except for this one:
7018         * manual/libc.texinfo: In "Published by", give the FSF's URL,
7019         not its snail mail address.
7021 2012-02-09  Richard Henderson  <rth@twiddle.net>
7023         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
7024         of kernel-features.h.
7026         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
7028 2012-02-08  Marek Polacek  <polacek@redhat.com>
7030         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
7031         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
7032         * sysdeps/gnu/_G_config.h: Likewise.
7033         * sysdeps/generic/_G_config.h: Likewise.
7035 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
7037         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
7038         tests.
7039         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7041         * sysdeps/powerpc/powerpc32/crti.S: New file.
7042         * sysdeps/powerpc/powerpc32/crtn.S: New file.
7043         * sysdeps/powerpc/powerpc64/crti.S: New file.
7044         * sysdeps/powerpc/powerpc64/crtn.S: New file.
7046         * Makeconfig (have-initfini): Don't set.
7047         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
7048         * configure.in (nopic_initfini): Don't substitute.
7049         * config.h.in (HAVE_INITFINI): Don't #undef.
7050         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
7051         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
7053 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
7055         Support crti.S and crtn.S provided directly by architectures.
7056         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
7057         [crti.S in sysdirs] (omit-deps): Likewise.
7058         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
7059         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
7060         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
7061         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
7062         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
7063         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
7064         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
7065         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
7066         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
7067         compiler output for sysdeps/generic/initfini.c.
7068         * sysdeps/i386/elf/Makefile: Remove file.
7069         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
7071 2012-02-07  Marek Polacek  <polacek@redhat.com>
7073         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
7074         * sysdeps/gnu/_G_config.h: Likewise.
7075         * sysdeps/mach/hurd/_G_config.h: Likewise.
7077 2012-02-07  Marek Polacek  <polacek@redhat.com>
7079         * math/Makefile (tests): Add tst-CMPLX2.
7080         * math/tst-CMPLX2.c: New file.
7082 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
7084         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7086         * math/libm-test.inc (jn_test): Add missing L suffix.
7088 2012-02-06  Marek Polacek  <polacek@redhat.com>
7090         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
7091         * sysdeps/i386/fpu/e_powf.S: Likewise.
7092         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7093         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7094         * sysdeps/i386/fpu/e_acosh.S: Likewise.
7095         * sysdeps/i386/fpu/e_pow.S: Likewise.
7096         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
7097         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7098         * sysdeps/i386/fpu/s_expm1.S: Likewise.
7099         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7100         * sysdeps/i386/fpu/e_log2.S: Likewise.
7101         * sysdeps/i386/fpu/e_log2l.S: Likewise.
7102         * sysdeps/i386/fpu/e_scalb.S: Likewise.
7103         * sysdeps/i386/fpu/e_powl.S: Likewise.
7104         * sysdeps/i386/fpu/s_log1p.S: Likewise.
7105         * sysdeps/i386/fpu/e_log10f.S: Likewise.
7106         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
7107         * sysdeps/i386/fpu/e_logl.S: Likewise.
7108         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
7109         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
7110         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7111         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
7112         * sysdeps/i386/fpu/e_log2f.S: Likewise.
7113         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7114         * sysdeps/i386/fpu/e_log.S: Likewise.
7115         * sysdeps/i386/fpu/s_cexp.S: Likewise.
7116         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7117         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
7118         * sysdeps/i386/fpu/e_logf.S: Likewise.
7119         * sysdeps/i386/fpu/e_log10l.S: Likewise.
7120         * sysdeps/i386/fpu/e_atanh.S: Likewise.
7121         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
7122         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
7123         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7124         * sysdeps/i386/fpu/e_log10.S: Likewise.
7125         * sysdeps/i386/fpu/s_frexp.S: Likewise.
7126         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7127         * sysdeps/i386/fpu/s_asinh.S: Likewise.
7128         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
7129         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7130         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
7131         * sysdeps/i386/asm-syntax.h: Likewise.
7132         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7133         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7134         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7135         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
7136         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
7137         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7138         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
7139         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
7140         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7141         * sysdeps/powerpc/sysdep.h: Likewise.
7142         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
7143         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7145 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
7147         [BZ #411]
7148         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
7150 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
7152         * sysdeps/i386/sysdep.h: Include <features.h>.
7153         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
7154         version.
7156 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
7158         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
7159         Define.
7160         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
7161         LOAD_PIC_REG_STR.
7163 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
7165         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
7166         (SETUP_PIC_REG): Use GET_PC_THUNK.
7167         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
7168         macro.
7170 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
7172         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
7173         for non-PIC compilation.
7174         (SETUP_PIC_REG): Add .p2align directive.
7175         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
7176         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
7177         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7178         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7179         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7180         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7181         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
7182         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7183         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7184         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7185         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7186         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7187         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7188         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7189         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7190         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7191         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7192         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7193         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7194         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7195         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7196         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7197         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7198         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7199         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7200         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7201         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7202         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7203         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7204         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7205         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7206         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7207         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7208         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7209         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7210         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7211         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7212         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7213         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7214         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7215         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7217 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
7219         * math/tst-CMPLX.c: Include <stdio.h>.
7221 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
7223         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
7224         float.
7225         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7226         * sysdeps/sparc/bits/mathdef.h: Likewise.
7228 2012-01-31  Marek Polacek  <polacek@redhat.com>
7230         * libio/libio.h: Don't define _PARAMS.
7231         * locale/programs/config.h: Don't define PARAMS.
7232         * stdlib/strtol_l.c: Likewise.
7233         (__strtol_l): Remove PARAMS from the prototype.
7235 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
7237         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
7238         names.  Just use the correct names.  Remove unnecessary wrapper
7239         functions.
7240         * malloc/arena.c: Likewise.
7241         * malloc/hooks.c: Likewise.
7243         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
7244         ARENA_TEST says not to.  Simplify test for creation of a new arena.
7245         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
7247 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
7249         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
7250         into tail calls.
7251         (update_get_addr): New function.
7252         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
7253         GET_ADDR_MODULE parameter.
7255 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
7257         * crypt/cert.c: Remove __STDC__ conditionals.
7258         * crypt/crypt-entry.c: Likewise.
7259         * crypt/crypt_util.c: Likewise.
7260         * libio/filedoalloc.c: Likewise.
7261         * libio/fileops.c: Likewise.
7262         * libio/genops.c: Likewise.
7263         * libio/iofclose.c: Likewise.
7264         * libio/iofdopen.c: Likewise.
7265         * libio/iofopen.c: Likewise.
7266         * libio/iofopen64.c: Likewise.
7267         * libio/iogetdelim.c: Likewise.
7268         * libio/iopopen.c: Likewise.
7269         * libio/obprintf.c: Likewise.
7270         * libio/oldfileops.c: Likewise.
7271         * libio/oldiofclose.c: Likewise.
7272         * libio/oldiofdopen.c: Likewise.
7273         * libio/oldiofopen.c: Likewise.
7274         * libio/oldiopopen.c: Likewise.
7275         * libio/wfiledoalloc.c: Likewise.
7276         * libio/wgenops.c: Likewise.
7277         * locale/programs/xmalloc.c: Likewise.
7278         * misc/syslog.c: Likewise.
7279         * stdio-common/xbug.c: Likewise.
7280         * string/memchr.c: Likewise.
7281         * string/memcmp.c: Likewise.
7282         * string/memrchr.c: Likewise.
7283         * string/rawmemchr.c: Likewise.
7284         * sysdeps/posix/getcwd.c: Likewise.
7285         * time/strftime_l.c: Likewise.
7287 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
7289         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
7290         * config.make.in (config-cflags-sse2avx): Define.
7291         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
7292         Fix typo.
7294 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
7296         * scripts/config.guess: Update from upstream config git repository.
7297         * scripts/config.sub: Likewise.
7299 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
7301         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
7302         (EM_NUM): Update.
7303         (R_TILEPRO_*, R_TILEGX_*): New macros.
7305         * scripts/firstversions.awk: Fix bug in version range handling.
7307         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
7309         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
7311         * include/sys/epoll.h: New file.
7312         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
7313         libc_hidden_def.
7315 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
7317         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
7318         Avoid unnecessary __WORDSIZE == 64 test.
7319         (fmaxf): Use VEX format if possible.
7320         (fmax): Likewise.
7321         (fminf): Likewise.
7322         (fmin): Likewise.
7324         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
7325         * math/math_private.h: Remove libc_fegetround* and
7326         libc_fesetround*.
7327         * sysdeps/i386/configure.in: Check for -msse2avx.
7328         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
7329         also if SSE2AVX is defined.
7330         Remove libc_fegetround* and libc_fesetround*.
7331         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
7332         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
7333         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
7334         of HAS_YMM_USABLE.
7335         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7336         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7337         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7338         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7339         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7341         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
7343 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7345         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
7346         size is not set.
7347         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
7349 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
7351         [BZ #13618]
7352         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
7353         relocation.
7354         * Makeconfig (libm): Define.
7355         * elf/Makefile: Add rules to build and run tst-relsort1.
7356         * elf/tst-relsort1.c: New file.
7357         * elf/tst-relsort1mod1.c: New file.
7358         * elf/tst-relsort1mod2.c: New file.
7360 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
7362         * math/s_ldexp.c: Remove __STDC__ conditionals.
7363         * math/s_ldexpf.c: Likewise.
7364         * math/s_ldexpl.c: Likewise.
7365         * math/s_nextafter.c: Likewise.
7366         * math/s_nexttowardf.c: Likewise.
7367         * math/s_significand.c: Likewise.
7368         * math/s_significandf.c: Likewise.
7369         * math/s_significandl.c: Likewise.
7370         * math/w_jnl.c: Likewise.
7371         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7372         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7373         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7374         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7375         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7376         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7377         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
7378         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7379         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7380         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7381         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7382         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7383         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7384         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7385         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7386         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7387         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7388         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7389         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7390         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7391         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7392         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7393         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7394         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7395         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7396         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7397         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7398         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7399         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7400         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7401         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7402         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7403         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7404         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7405         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7406         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7407         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7408         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7409         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7410         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7411         * sysdeps/ieee754/k_standard.c: Likewise.
7412         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7413         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7414         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7415         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7416         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7417         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7418         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7419         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7420         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7421         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7422         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7423         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7424         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7425         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7426         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7427         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7428         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7429         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7430         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7431         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7432         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7433         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7434         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7435         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7436         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7437         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7438         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7439         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7440         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7441         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7442         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7443         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
7444         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7445         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7446         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7447         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7448         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
7449         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7450         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7451         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7452         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7453         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7454         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7455         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7456         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7457         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
7458         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7459         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7460         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7461         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7462         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
7463         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7464         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7465         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7466         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7467         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7468         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
7469         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7470         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7471         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7472         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7473         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7474         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7475         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7476         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7477         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7478         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7479         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7480         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7481         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7482         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7483         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7484         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7485         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7486         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7487         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7488         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7489         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7490         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7491         * sysdeps/ieee754/s_matherr.c: Likewise.
7492         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7493         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7494         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7495         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7497 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
7499         * crypt/md5.h: Remove __STDC__ conditionals.
7500         * libio/libioP.h: Likewise.
7501         * locale/programs/config.h: Likewise.
7502         * sysdeps/generic/sysdep.h: Likewise.
7503         * sysdeps/i386/asm-syntax.h: Likewise.
7504         * sysdeps/s390/asm-syntax.h: Likewise.
7505         * sysdeps/unix/sysdep.h: Likewise.
7506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7509 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
7511         * libio/libio.h: Remove __STDC__ conditionals.
7512         * malloc/obstack.h: Likewise.
7513         * math/complex.h: Likewise.
7514         * math/math.h: Likewise.
7515         * sysdeps/generic/_G_config.h: Likewise.
7516         * sysdeps/gnu/_G_config.h: Likewise.
7517         * sysdeps/mach/hurd/_G_config.h: Likewise.
7518         * sysdeps/powerpc/bits/mathdef.h: Likewise.
7519         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7520         * sysdeps/sparc/bits/mathdef.h: Likewise.
7522 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
7524         [BZ #13583]
7525         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
7526         Clean up HAS_* macros.
7527         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
7528         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
7529         possible.
7530         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
7531         HAS_AVX.
7532         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7533         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7534         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7535         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7536         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7538 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
7540         * elf/tst-unique3.cc (gets): Remove declaration.
7541         * elf/tst-unique3lib.cc (gets): Likewise.
7542         * elf/tst-unique3lib2.cc (gets): Likewise.
7543         * elf/tst-unique4.cc (gets): Likewise.
7545 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
7547         * include/stdio.h: Add C++ protection.  Add gets declarations and
7548         definitions.
7549         * debug/tst-chk1.c: Don't declare gets here.
7550         * stdio-common/tst-gets.c: Likewise.
7552 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
7554         * posix/glob: Remove directory.
7556 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
7558         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
7560 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
7562         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
7563         of the non-standard EPFNOSUPPORT.
7565 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7567         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
7568         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
7569         ANYWHERE set to 1 only on KERN_NO_SPACE error.
7571 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
7573         * wcsmbs/uchar.h: Test __STDC_VERSION__.
7575 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
7577         * nscd/aicache.c (addhstaiX): Do not cache negative results of
7578         transient errors.
7579         * nscd/grpcache.c (cache_addgr): Likewise.
7580         * nscd/hstcache.c (cache_addhst): Likewise.
7581         * nscd/initgrcache.c (addinitgroupsX): Likewise.
7582         * nscd/pwdcache.c (cache_addpw): Likewise.
7583         * nscd/servicescache.c (cache_addserv): Likewise.
7585 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
7587         * malloc/malloc.c: Various cleanups.
7588         * malloc/hooks.c: Likewise.
7590         * stdlib/Makefile (tests): Add bug-fmtmsg1.
7591         * stdlib/bug-fmtmsg1.c: New file.
7593         * stdlib/fmtmsg.c (init): Add missing unlock.
7594         Patch by Peng Haitao <penght@cn.fujitsu.com>.
7596 2012-01-12  Marek Polacek  <polacek@redhat.com>
7598         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
7599         and _GNU_SOURCE.
7601 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
7603         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
7604         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
7605         macro to ensure uniqueness of label name.
7606         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7607         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7609 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
7611         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
7613         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
7614         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7615         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7616         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
7618 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
7620         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
7622         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
7623         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7624         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7626         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
7628         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
7629         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7630         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7631         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
7633         * math/bits/math-finite.h: Add ldexp support.
7635 2012-01-10  Marek Polacek  <polacek@redhat.com>
7637         * locale/programs/localedef.h (show_archive_content): Add noreturn
7638         attribute.
7640 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
7642         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
7644 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
7646         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
7648         * io/Makefile (headers): Add bits/poll2.h.
7650 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
7652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
7653         typo #include statement.
7655 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
7657         * include/sys/cdefs.h: Define __attribute_alloc_size.
7658         * catgets/gencat.c: Add alloc_size attribute and apply consistently
7659         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
7660         * elf/pldd.c: Likewise.
7661         * iconv/iconv_charmap.c: Likewise.
7662         * iconv/iconvconfig.c: Likewise.
7663         * iconv/strtab.c: Likewise.
7664         * locale/programs/locale.c: Likewise.
7665         * locale/programs/localedef.h: Likewise.
7666         * locale/programs/simple-hash.c: Likewise.
7667         * nscd/nscd.h: Likewise.
7668         * nss/makedb.c: Likewise.
7669         * sysdeps/generic/ldconfig.h: Likewise.
7670         * locale/programs/localedef.c: Remove xmalloc prototype.
7671         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
7673 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
7675         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
7676         appropriate.
7678 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
7680         * math/Makefile (tests): Add tst-CMPLX.
7681         * math/tst-CMPLX.c: New file.
7683         * math/complex.h (CMPLXL): Fix typo.
7685         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
7686         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
7687         GLIBC_2.16.
7688         * debug/tst-chk1.c: Add poll and ppoll tests.
7689         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
7690         * include/sys/poll.h: Add hidden proto for ppoll.
7691         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
7692         * sysdeps/mach/hurd/ppoll.c: Likewise.
7693         * io/ppoll.c: Likewise.
7694         * debug/poll_chk.c: New file.
7695         * debug/ppoll_chk.c: New file.
7696         * include/bits/poll2.h: New file.
7697         * io/bits/poll2.h: New file.
7699         [BZ #1350]
7700         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
7702         * configure.in: static is always set to yes.  Remove.
7703         * config.make.in: Don't set build-static.
7704         * Makeconfig: Remove use of build-static.
7705         * dlfcn/Makefile: Likewise.
7706         * elf/Makefile: Likewise.
7707         * math/Makefile: Likewise.
7708         * misc/Makefile: Likewise.
7709         * nptl/Makefile: Likewise.
7710         * sysdeps/mach/hurd/Makefile: Likewise.
7712         * configure.in: PWD_P is not used anymore.
7713         * config.make.in: Remove PWD_P entry.
7715         * configure.in: Remove last remnants of RANLIB.
7716         No need to check for signed size_t anymore.
7717         Don't set libc_commonpagesize and libc_relro_required here for Alpha
7718         and IA-64.
7719         Remove __builtin_expect test because we require at least gcc 3.4.
7720         * aclocal.m4: Likewise.
7722         * wcsmbs/mbrtoc16.c: Implement using towc function.
7723         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
7724         * wcsmbs/wcsmbsload.c: Likewise.
7725         * iconv/gconv_simple.c: Likewise.
7726         * iconv/gconv_int.h: Likewise.
7727         * iconv/gconv_builtin.h: Likewise.
7728         * iconv/iconv_prog.c: Remove CHAR16 handling.
7730         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
7732         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
7734         * configure.in: Remove --with-elf and --enable-bounded options.
7735         Dont set base_machine for ia64.  More non-ELF conditions removed.
7736         Remove testing and setting of leading underscore information.
7737         * config.make.in (build-bounded): Set to no.
7738         * config.h.in: Remove NO_UNDERSCORES entry.
7739         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
7740         them.
7741         * csu/start.c: Remove !NO_UNDERSCORE code.
7742         * locale/localeinfo.h: Likewise.
7743         * sysdeps/generic/machine-gmon.h: Likewise.
7744         * sysdeps/generic/sysdep.h: Likewise.
7745         * sysdeps/i386/sysdep.h: Likewise.
7746         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7747         * sysdeps/mach/sysdep.h: Likewise.
7748         * sysdeps/s390/s390-32/sysdep.h: Likewise.
7749         * sysdeps/s390/s390-64/sysdep.h: Likewise.
7750         * sysdeps/sh/sysdep.h: Likewise.
7751         * sysdeps/sparc/sparc32/alloca.S: Likewise.
7752         * sysdeps/unix/i386/sysdep.S: Likewise.
7753         * sysdeps/unix/sparc/start.c: Likewise.
7754         * sysdeps/unix/sparc/sysdep.S: Likewise.
7755         * sysdeps/unix/sparc/sysdep.h: Likewise.
7756         * sysdeps/unix/start.c: Likewise.
7757         * sysdeps/unix/x86_64/sysdep.S: Likewise.
7758         * sysdeps/x86_64/sysdep.h: Likewise.
7760 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
7762         [BZ #13553]
7763         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
7764         for non-gcc.
7765         * argp/argp-fmtstream.h: Use const instead __const.
7766         * argp/argp.h: Likewise.
7767         * assert/assert.h: Likewise.
7768         * bits/fenv.h: Likewise.
7769         * bits/sched.h: Likewise.
7770         * bits/sigset.h: Likewise.
7771         * bits/sigthread.h: Likewise.
7772         * catgets/nl_types.h: Likewise.
7773         * conform/data/pthread.h-data: Likewise.
7774         * crypt/crypt-private.h: Likewise.
7775         * crypt/crypt.h: Likewise.
7776         * crypt/crypt_util.c: Likewise.
7777         * ctype/ctype.h: Likewise.
7778         * debug/execinfo.h: Likewise.
7779         * debug/mbsnrtowcs_chk.c: Likewise.
7780         * debug/mbsrtowcs_chk.c: Likewise.
7781         * debug/wcsnrtombs_chk.c: Likewise.
7782         * debug/wcsrtombs_chk.c: Likewise.
7783         * debug/wcstombs_chk.c: Likewise.
7784         * dirent/dirent.h: Likewise.
7785         * dlfcn/dlfcn.h: Likewise.
7786         * elf/neededtest4.c: Likewise.
7787         * grp/grp.h: Likewise.
7788         * gshadow/gshadow.h: Likewise.
7789         * iconv/gconv.h: Likewise.
7790         * iconv/gconv_int.h: Likewise.
7791         * iconv/gconv_simple.c: Likewise.
7792         * iconv/iconv.h: Likewise.
7793         * iconv/loop.c: Likewise.
7794         * iconv/skeleton.c: Likewise.
7795         * include/aio.h: Likewise.
7796         * include/aliases.h: Likewise.
7797         * include/argz.h: Likewise.
7798         * include/arpa/inet.h: Likewise.
7799         * include/assert.h: Likewise.
7800         * include/dirent.h: Likewise.
7801         * include/dlfcn.h: Likewise.
7802         * include/execinfo.h: Likewise.
7803         * include/fcntl.h: Likewise.
7804         * include/fenv.h: Likewise.
7805         * include/glob.h: Likewise.
7806         * include/grp.h: Likewise.
7807         * include/libintl.h: Likewise.
7808         * include/mntent.h: Likewise.
7809         * include/netdb.h: Likewise.
7810         * include/pwd.h: Likewise.
7811         * include/rpc/netdb.h: Likewise.
7812         * include/sched.h: Likewise.
7813         * include/search.h: Likewise.
7814         * include/shadow.h: Likewise.
7815         * include/signal.h: Likewise.
7816         * include/stdio.h: Likewise.
7817         * include/stdlib.h: Likewise.
7818         * include/string.h: Likewise.
7819         * include/sys/socket.h: Likewise.
7820         * include/sys/stat.h: Likewise.
7821         * include/sys/statfs.h: Likewise.
7822         * include/sys/statvfs.h: Likewise.
7823         * include/sys/syslog.h: Likewise.
7824         * include/sys/time.h: Likewise.
7825         * include/sys/uio.h: Likewise.
7826         * include/time.h: Likewise.
7827         * include/unistd.h: Likewise.
7828         * include/utmp.h: Likewise.
7829         * include/wchar.h: Likewise.
7830         * include/wctype.h: Likewise.
7831         * inet/aliases.h: Likewise.
7832         * inet/arpa/inet.h: Likewise.
7833         * inet/netinet/ether.h: Likewise.
7834         * inet/netinet/in.h: Likewise.
7835         * intl/libintl.h: Likewise.
7836         * io/bits/fcntl2.h: Likewise.
7837         * io/fcntl.h: Likewise.
7838         * io/ftw.h: Likewise.
7839         * io/sys/poll.h: Likewise.
7840         * io/sys/stat.h: Likewise.
7841         * io/sys/statfs.h: Likewise.
7842         * io/sys/statvfs.h: Likewise.
7843         * io/utime.h: Likewise.
7844         * libio/bits/stdio.h: Likewise.
7845         * libio/bits/stdio2.h: Likewise.
7846         * libio/libio.h: Likewise.
7847         * libio/libioP.h: Likewise.
7848         * libio/stdio.h: Likewise.
7849         * locale/lc-ctype.c: Likewise.
7850         * locale/locale.h: Likewise.
7851         * login/utmp.h: Likewise.
7852         * malloc/arena.c: Likewise.
7853         * malloc/malloc.c: Likewise.
7854         * malloc/malloc.h: Likewise.
7855         * malloc/mcheck.c: Likewise.
7856         * malloc/mtrace.c: Likewise.
7857         * math/bits/mathcalls.h: Likewise.
7858         * math/fenv.h: Likewise.
7859         * math/math_private.h: Likewise.
7860         * misc/bits/error.h: Likewise.
7861         * misc/bits/syslog.h: Likewise.
7862         * misc/err.h: Likewise.
7863         * misc/error.h: Likewise.
7864         * misc/fstab.h: Likewise.
7865         * misc/mntent.h: Likewise.
7866         * misc/regexp.h: Likewise.
7867         * misc/search.h: Likewise.
7868         * misc/sgtty.h: Likewise.
7869         * misc/sys/mman.h: Likewise.
7870         * misc/sys/syslog.h: Likewise.
7871         * misc/sys/uio.h: Likewise.
7872         * misc/sys/xattr.h: Likewise.
7873         * misc/ttyent.h: Likewise.
7874         * nis/rpcsvc/ypclnt.h: Likewise.
7875         * nss/nss.h: Likewise.
7876         * posix/bits/unistd.h: Likewise.
7877         * posix/fnmatch.h: Likewise.
7878         * posix/glob.h: Likewise.
7879         * posix/sched.h: Likewise.
7880         * posix/spawn.h: Likewise.
7881         * posix/sys/wait.h: Likewise.
7882         * posix/unistd.h: Likewise.
7883         * posix/wordexp.h: Likewise.
7884         * pwd/pwd.h: Likewise.
7885         * resolv/netdb.h: Likewise.
7886         * resource/sys/resource.h: Likewise.
7887         * rt/aio.h: Likewise.
7888         * rt/bits/mqueue2.h: Likewise.
7889         * rt/mqueue.h: Likewise.
7890         * shadow/shadow.h: Likewise.
7891         * signal/signal.h: Likewise.
7892         * socket/send.c: Likewise.
7893         * socket/sendto.c: Likewise.
7894         * socket/sys/socket.h: Likewise.
7895         * stdio-common/printf.h: Likewise.
7896         * stdlib/bits/stdlib.h: Likewise.
7897         * stdlib/fmtmsg.h: Likewise.
7898         * stdlib/monetary.h: Likewise.
7899         * stdlib/stdlib.h: Likewise.
7900         * stdlib/ucontext.h: Likewise.
7901         * streams/stropts.h: Likewise.
7902         * string/argz.h: Likewise.
7903         * string/bits/string2.h: Likewise.
7904         * string/string.h: Likewise.
7905         * string/strings.h: Likewise.
7906         * sunrpc/rpc/auth.h: Likewise.
7907         * sunrpc/rpc/auth_des.h: Likewise.
7908         * sunrpc/rpc/clnt.h: Likewise.
7909         * sunrpc/rpc/netdb.h: Likewise.
7910         * sunrpc/rpc/pmap_clnt.h: Likewise.
7911         * sunrpc/rpc/xdr.h: Likewise.
7912         * sysdeps/generic/inttypes.h: Likewise.
7913         * sysdeps/generic/net/if.h: Likewise.
7914         * sysdeps/generic/sys/swap.h: Likewise.
7915         * sysdeps/gnu/net/if.h: Likewise.
7916         * sysdeps/gnu/utmpx.h: Likewise.
7917         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
7918         * sysdeps/i386/i486/bits/string.h: Likewise.
7919         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
7920         * sysdeps/s390/bits/string.h: Likewise.
7921         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
7922         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
7923         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
7924         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
7925         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
7926         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
7927         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
7928         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
7929         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
7930         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
7931         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
7932         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7933         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
7934         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7935         * sysdeps/unix/sysv/linux/readv.c: Likewise.
7936         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
7937         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7938         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7939         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7940         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7941         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7942         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
7943         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
7944         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
7945         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
7946         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
7947         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
7948         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7949         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
7950         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
7951         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
7952         * sysvipc/sys/ipc.h: Likewise.
7953         * sysvipc/sys/msg.h: Likewise.
7954         * sysvipc/sys/sem.h: Likewise.
7955         * sysvipc/sys/shm.h: Likewise.
7956         * termios/termios.h: Likewise.
7957         * time/sys/time.h: Likewise.
7958         * time/time.h: Likewise.
7959         * wcsmbs/bits/wchar2.h: Likewise.
7960         * wcsmbs/uchar.h: Likewise.
7961         * wcsmbs/wchar.h: Likewise.
7962         * wctype/wctype.h: Likewise.
7964         [BZ #13551]
7965         * Makeconfig: Remove all but ELF support including AIX support.
7966         * Makerules: Likewise.
7967         * config.h.in: Likewise.
7968         * config.make.in: Likewise.
7969         * configure: Likewise.
7970         * configure.in: Likewise.
7971         * csu/Makefile: Likewise.
7972         * csu/version.c: Likewise.
7973         * debug/Makefile: Likewise.
7974         * dlfcn/Makefile: Likewise.
7975         * elf/Makefile: Likewise.
7976         * extra-lib.mk: Likewise.
7977         * iconv/Makefile: Likewise.
7978         * include/libc-symbols.h: Likewise.
7979         * include/shlib-compat.h: Likewise.
7980         * resolv/Makefile: Likewise.
7981         * resolv/res_libc.c: Likewise.
7982         * rt/Makefile: Likewise.
7983         * sysdeps/i386/asm-syntax.h: Likewise.
7984         * sysdeps/i386/sysdep.h: Likewise.
7985         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7986         * sysdeps/mach/sysdep.h: Likewise.
7987         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
7988         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
7989         * sysdeps/s390/asm-syntax.h: Likewise.
7990         * sysdeps/s390/s390-32/sysdep.h: Likewise.
7991         * sysdeps/s390/s390-64/sysdep.h: Likewise.
7992         * sysdeps/sh/sysdep.h: Likewise.
7993         * sysdeps/unix/sparc/sysdep.h: Likewise.
7994         * sysdeps/wordsize-32/divdi3.c: Likewise.
7995         * sysdeps/x86_64/sysdep.h: Likewise.
7997         * argp/Versions: Remove _argp_unlock_xxx.
7999         [BZ #13559]
8000         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
8001         * abilist/libBrokenLocale.abilist: Likewise.
8002         * abilist/libanl.abilist: Likewise.
8003         * abilist/libc.abilist: Likewise.
8004         * abilist/libcrypt.abilist: Likewise.
8005         * abilist/libdl.abilist: Likewise.
8006         * abilist/libm.abilist: Likewise.
8007         * abilist/libnsl.abilist: Likewise.
8008         * abilist/libpthread.abilist: Likewise.
8009         * abilist/libresolv.abilist: Likewise.
8010         * abilist/librt.abilist: Likewise.
8011         * abilist/libthread_db.abilist: Likewise.
8012         * abilist/libutil.abilist: Likewise.
8013         * abilist/libnss_db.abilist: New file.
8015         * scripts/abilist.awk: Add support for indirect functions.
8017         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
8019         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
8021         * shlib-versions: Remove entries for ports architectures.
8023         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
8024         files in ports.
8025         * elf/stackguard-macros.h: Remove support for IA-64.
8026         * elf/tst-auditmod1.c: Likewise.
8027         * sysdeps/generic/ldsodefs.h: Likewise.
8029         * sysdeps/unix/sysv/linux/configure.in: Ports should define
8030         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
8031         configure files.
8033         [BZ #13552]
8034         * configure.in: Remove --enable-omitfp support.
8035         * FAQ.in: Adjust.
8036         * config.make.in: Likewise.
8037         * Makeconfig: Likewise.
8038         * manual/install.texi: Likewise.
8040         In case anyone cares, the IA-64 architecture could move to ports.
8041         * sysdeps/ia64/*: Removed.
8042         * sysdeps/unix/sysv/linux/ia64/*: Removed.
8043         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
8045         [BZ #13555]
8046         * configure.in: Remove entries for unsupported architectures.
8048         [BZ #13533]
8049         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
8050         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
8051         routines.
8052         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
8053         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
8054         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
8055         fall back to using wcrtomb.
8056         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
8057         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
8058         renaming.
8059         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
8060         * wcsmbs/tst-c16c32-1.c: New file.
8062         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
8063         local variable.
8065         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
8067         * elf/tst-unique3.cc: Add explicit declaration of gets.
8068         * elf/tst-unique3lib.cc: Likewise.
8069         * elf/tst-unique3lib2.cc: Likewise.
8070         * elf/tst-unique4.cc: Likewise.
8072         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
8074 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
8076         [BZ #13566]
8077         * assert/assert.h (static_assert): Don't define for C++.
8078         * libio/stdio.h (gets): Do declare for C++ <= C++11.
8079         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
8081 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
8083         * iconv/loop.c (single loop): Fix assertion in storing of
8084         remaining bytes.
8086         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
8088 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
8090         * posix/getconf.c: Update copyright year.
8091         * nss/getent.c: Likewise.
8092         * nss/makedb.c: Likewise.
8093         * iconv/iconvconfig.c: Likewise.
8094         * iconv/iconv_prog.c: Likewise.
8095         * elf/ldconfig.c: Likewise.
8096         * elf/pldd.c: Likewise.
8097         * elf/sotruss.ksh: Likewise.
8098         * catgets/gencat.c: Likewise.
8099         * csu/version.c: Likewise.
8100         * elf/ldd.bash.in: Likewise.
8101         * elf/sprof.c (print_version): Likewise.
8102         * locale/programs/locale.c: Likewise.
8103         * locale/programs/localedef.c: Likewise.
8104         * login/programs/pt_chown.c: Likewise.
8105         * nscd/nscd.c (print_version): Likewise.
8106         * debug/xtrace.sh: Likewise.
8107         * malloc/memusage.sh: Likewise.
8108         * malloc/mtrace.pl: Likewise.
8109         * debug/catchsegv.sh: Likewise.
8111 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
8113         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
8114         pure attribute.
8116 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
8118         [BZ #13533]
8119         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
8120         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
8121         transformations.
8122         * iconv/gconv_int.h: Likewise.
8123         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
8124         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
8125         from libc for GLIBC_2.16.
8126         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
8127         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
8128         * wcsmbs/uchar.h: Really define mbstate_t.
8129         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
8130         * wcsmbs/c16rtomb.c: New file.
8131         * wcsmbs/mbrtoc16.c: New file.
8132         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
8133         for C/POSIX locale.
8134         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
8135         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
8137         * wcsmbs/wchar.h: Add missing __restrict.
8139 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
8141         [BZ #13532]
8142         * time/Makefile (routines): Add timespec_get.
8143         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
8144         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
8145         timespec for ISO C11.
8146         * time/timespec_get.c: New file.
8147         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
8148         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
8150         [BZ #13531]
8151         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
8152         * stdlib/stdlib.h: Declare aligned_alloc.
8153         * Versions.def: Add GLIBC_2.16 for libc.
8154         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
8156         [BZ 13527]
8157         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
8158         ISO C11.
8160         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8161         code.
8163         [BZ #13528]
8164         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
8166         [BZ #13529]
8167         * assert/assert.h (static_assert): Define.
8169         * version.h: Update for 2.16 development version.
8171         [BZ #13526]
8172         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
8173         _ISOC11_SOURCE.
8175         * version.h (RELEASE): Bump for 2.15 release.
8176         * include/features.h (__GLIBC_MINOR__): Bump to 15.
8178         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
8179         Patch by Marek Polacek <mpolacek@redhat.com>.
8181         * bits/byteswap.h: Protect long long constants with __extension__.
8182         * sysdeps/i386/bits/byteswap.h: Likewise.
8183         * sysdeps/ia64/bits/byteswap.h: Likewise.
8184         * sysdeps/s390/bits/byteswap.h: Likewise.
8185         * sysdeps/x86_64/bits/byteswap.h: Likewise.
8187 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8189         [BZ #13540]
8190         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
8191         destination buffer.
8192         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
8194 2011-12-23  Marek Polacek  <polacek@redhat.com>
8196         * elf/dl-addr.c (determine_info): Add inline keyword.
8197         * elf/tst-auditmod4b.c (check_avx): Likewise.
8198         * elf/tst-auditmod6b.c (check_avx): Likewise.
8199         * elf/tst-auditmod6c.c (check_avx): Likewise.
8200         * elf/tst-auditmod7b.c (check_avx): Likewise.
8202 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
8204         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
8205         !__SSE_MATH__.
8207 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8209         [BZ #13540]
8210         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
8211         processing for last bytes.
8213 2011-08-06  Bruno Haible  <bruno@clisp.org>
8215         [BZ #13061]
8216         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
8217         U+0385, not to U+1FEE.
8219         [BZ #13062]
8220         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
8221         entry for U+00A5 U+0301.
8223 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
8225         [BZ #13166]
8226         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
8227         buffer for the output is too small.
8229         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
8230         optimization.
8232         [BZ #13185]
8233         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
8234         SSE flags if possible.
8236 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8238         [BZ #13540]
8239         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
8240         processing for last bytes.
8242 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
8244         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
8245         (syscall-list-default-options, syscall-list-default-condition)
8246         (syscall-list-includes): Define.
8247         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
8248         list of ABIs and options and #if conditions for each ABI.  Do not
8249         handle common syscalls between ABIs specially.
8250         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
8251         Remove.
8252         (syscall-list-variants, syscall-list-32bit-options)
8253         (syscall-list-32bit-condition, syscall-list-64bit-options)
8254         (syscall-list-64bit-condition): Define.
8255         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
8256         (syscall-list-variants, syscall-list-32bit-options)
8257         (syscall-list-32bit-condition, syscall-list-64bit-options)
8258         (syscall-list-64bit-condition): Define.
8259         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
8260         Remove.
8261         (syscall-list-variants, syscall-list-32bit-options)
8262         (syscall-list-32bit-condition, syscall-list-64bit-options)
8263         (syscall-list-64bit-condition): Define.
8264         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
8265         Remove.
8266         (syscall-list-variants, syscall-list-32bit-options)
8267         (syscall-list-32bit-condition, syscall-list-64bit-options)
8268         (syscall-list-64bit-condition): Define.
8270 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
8272         * locale/iso-639.def: Add brx entry.
8274         [BZ #13328]
8275         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
8276         Proposed by Mariusz_Cukr <marcukr@op.pl>.
8278         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
8279         __feraiseexcept_renamed.
8281 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
8283         [BZ #13538]
8284         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
8285         EPOLLET with unsigned values.
8286         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8287         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
8289         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
8290         to large cancellation.
8291         * math/s_cacoshf.c: Likewise.
8292         * math/s_cacoshl.c: Likewise.
8294 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
8296         [BZ #13305]
8297         [BZ #12786]
8298         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
8299         * math/s_cacoshf.c: Likewise.
8300         * math/s_cacoshl.c: Likewise.
8302 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
8304         [BZ #13439]
8305         * iconv/gconv.h: Define __GCONV_SWAP.
8306         * iconvdata/unicode.c: The swap bit must be stored in __flags.
8307         * iconvdata/utf-16.c: Likewise.
8308         * iconvdata/utf-32.c: Likewise.
8310 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
8312         [BZ #13524]
8313         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
8314         numerator after shifting it by one limb.
8316 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
8318         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
8319         under [__USE_EXTERN_INLINES].
8321 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
8323         [BZ #13446]
8324         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
8326 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8328         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
8329         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
8330         optimized code.
8331         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
8332         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
8333         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
8334         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
8335         for strncasecmp/strncasecmp_l compilation.
8336         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
8337         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
8339 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
8341         [BZ #13484]
8342         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
8343         of __asm__.
8345 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
8347         [BZ #13506]
8348         * time/tzfile.c (__tzfile_read): Check values from file header.
8350 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
8352         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
8353         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
8354         * powerpc/powerpc32/dl-start.S: Likewise.
8355         * powerpc/powerpc32/elf/start.S: Likewise.
8356         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8357         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
8358         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
8359         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
8360         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8361         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
8362         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
8363         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8364         * powerpc/powerpc32/fpu/s_round.S: Likewise.
8365         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8366         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8367         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8368         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
8369         * powerpc/powerpc32/memset.S: Likewise.
8370         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8371         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8372         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8373         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8374         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8375         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8376         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8377         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8378         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
8379         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
8380         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
8381         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8382         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8384 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8386         * math/libm-test.inc: Added more nearbyint tests.
8387         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
8388         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
8389         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
8390         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
8392 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
8394         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
8395         FD_CLOEXEC.
8397 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8399         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
8400         Add wcscpy-ssse3 wcscpy-c.
8401         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
8402         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
8403         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
8404         * sysdeps/x86_64/wcschr.S: New file.
8405         * sysdeps/x86_64/wcsrchr.S: New file.
8406         * string/test-strcmp.c: Remove checking of wcscmp function for
8407         wrong alignments.
8408         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
8409         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
8410         wcsrchr-sse2 wcsrchr-c.
8411         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
8412         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
8413         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
8414         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
8415         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
8416         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
8417         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
8418         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
8419         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
8420         * wcsmbc/wcschr.c (WCSCHR): New macro.
8422 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8424         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
8425         * wcsmbs/test-wcsrchr.c: New file.
8426         * string/test-strrchr.c: Add wcsrchr support.
8427         (WIDE): New macro.
8428         * wcsmbs/test-wcscpy.c: New file.
8429         * string/test-strcpy.c: Add wcscpy support.
8430         (WIDE): New macro.
8432 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
8434         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
8435         the inner loop.
8437 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
8439         [BZ #13472]
8440         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
8442 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
8444         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
8445         Minor optimizations.
8447         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
8448         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
8449         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
8451 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
8453         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
8454         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
8455         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
8456         for gcc to avoid warnings.
8457         * inet/Makefile (tests): Add tst-checks.
8458         * inet/tst-checks.c: New file.
8460         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
8461         warning.
8463         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
8464         __wmemcmp_sse2.
8466         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
8467         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
8469         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
8471 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
8473         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
8474         problem.
8476         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
8478 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
8480         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
8481         conditional on GCC version.
8482         (__arch_compare_and_exchange_val_8_acq)
8483         (__arch_compare_and_exchange_val_16_acq)
8484         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
8485         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
8486         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
8488 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
8490         * sysdeps/sh/backtrace.c: New file.
8492 2011-12-02  Andreas Schwab  <schwab@redhat.com>
8494         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
8495         parenthesis.
8497 2011-12-01  Andreas Schwab  <schwab@redhat.com>
8499         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
8500         falling back to utime.
8502 2011-11-30  Andreas Schwab  <schwab@redhat.com>
8504         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
8505         expectations for float.
8507 2011-11-29  Andreas Schwab  <schwab@redhat.com>
8509         * locale/weight.h (findidx): Add parameter len.
8510         * locale/weightwc.h (findidx): Likewise.
8511         * posix/fnmatch_loop.c (FCT): Adjust caller.
8512         * posix/regcomp.c (build_equiv_class): Likewise.
8513         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
8514         * posix/regexec.c (check_node_accept_bytes): Likewise.
8515         * string/strcoll_l.c (STRCOLL): Likewise.
8516         * string/strxfrm_l.c (STRXFRM): Likewise.
8518 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
8520         * Makefile.in: Remove CVSOPT handling.
8521         * configure.in: Remove use of AC_REVISION.
8522         * iconvdata/Makefile (distribute): No need to filter out CVS.
8523         * scripts/list-sources.sh: Remove CVS, subversion and monotone
8524         handling.
8526 2011-11-16  Andreas Schwab  <schwab@redhat.com>
8528         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
8529         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
8530         [USE_AS_STRNCASECMP_L]: Likewise.
8531         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
8532         NO_TLS_DIRECT_SEG_REFS.
8533         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
8534         Fix argument offsets for non-PIC.
8535         [USE_AS_STRNCASECMP_L]: Likewise.
8536         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
8537         NO_TLS_DIRECT_SEG_REFS.
8539 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
8541         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
8542         O_CLOEXEC.
8543         * locale/loadlocale.c (_nl_load_locale): Likewise.
8545 2011-11-15  Andreas Schwab  <schwab@redhat.com>
8547         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
8548         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
8549         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
8550         (SYSCALL_GETTIME): Set errno on error.
8552         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
8553         count references to noai6ai_cached.
8555 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
8557         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
8559         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
8560         FD_CLOEXEC for /proc/self/maps.
8562         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
8563         FD_CLOEXEC for /proc/meminfo.
8565         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
8566         gai.conf.
8568         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
8569         FD_CLOEXEC for given file.
8571         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
8573         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
8574         FD_CLOEXEC for /etc/hosts.
8575         (_gethtent): Likewise.
8577         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
8579         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
8580         cancellation and set FD_CLOEXEC for /etc/netgroup.
8582         * nss/nss_files/files-key.c (search): Don't allow cancellation when
8583         reading /etc/publickey.
8585         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
8586         allow cancellation when reading /etc/group.
8588         * nss/nss_files/files-alias.c (internal_setent): Don't allow
8589         cancellation.
8590         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
8592         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
8593         when using data file.
8595         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
8597         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
8598         (write_nis_obj): Use "c" and "e" in fopen.
8600         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
8602         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
8604         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
8606         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
8608         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
8609         locale.alias.
8611         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
8613         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
8615         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
8617         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
8618         file parsing and set FD_CLOEXEC.
8620 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
8622         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
8624 2011-11-14  Andreas Schwab  <schwab@redhat.com>
8626         * malloc/arena.c (arena_get2): Don't call reused_arena when
8627         _int_new_arena failed.
8629 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
8631         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
8632         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
8633         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
8634         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8635         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8636         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
8637         to compile strcasecmp and strncasecmp.
8638         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
8639         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
8641         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
8643 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
8645         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
8646         locale-defines.sym to gen-as-const-headers.
8647         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
8648         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
8649         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
8650         to compile strcasecmp and strncasecmp.
8651         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
8652         strcasecmp_l and strncasecmp_l.
8653         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
8654         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
8655         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
8656         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
8657         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
8658         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
8659         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
8660         * sysdeps/i386/i686/multiarch/strncase.S: New file.
8661         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
8662         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
8663         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
8665 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
8667         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
8668         result of SYSDEP_GETTIME_CPU to retval.
8669         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
8670         parameter list to macro.  Remove trailing semicolon.  Adjust users.
8672         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
8673         variable.
8675         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
8676         mantissa words.
8677         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8679         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
8680         from unused variable.
8682         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
8683         DWARF definitions.
8684         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
8685         for assembling.
8687         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
8688         over namespaces.
8690         * sunrpc/rpc_prot.c (rejected): Fix case value.
8692         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
8693         unsigned long long int to avoid warnings in shift.
8695         * posix/regex_internal.c (re_string_reconstruct): Actually use result
8696         of use of trans.
8697         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
8698         variable tmp.
8700         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
8701         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8702         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8704         * nis/nis_table.c (nis_list): Use variable of correct type for
8705         result of __follow_path call.
8707 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8709         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
8710         of math functions ceil, trunc, floor, round, and sqrt, when
8711         avaliable on the platform.
8712         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
8713         name clash.
8714         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8715         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8716         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8718 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
8720         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
8721         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8723 2011-11-11  Roland McGrath  <roland@hack.frob.com>
8725         * include/unistd.h: Fix __readlink return type.
8726         Reported by Chris Metcalf <cmetcalf@tilera.com>.
8728 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
8730         * stdlib/ucontext.h: Undo last change for makecontext.
8732 2011-11-11  Andreas Schwab  <schwab@redhat.com>
8734         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
8736         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
8737         * setjmp/setjmp.h: Mark functions as non-leaf.
8738         * setjmp/bits/setjmp2.h: Likewise.
8739         * stdlib/ucontext.h: Likewise.
8741 2011-11-10  Andreas Schwab  <schwab@redhat.com>
8743         * malloc/arena.c (_int_new_arena): Don't increment narenas.
8744         (reused_arena): Don't check arena limit.
8745         (arena_get2): Atomically check arena limit.
8747 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
8749         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
8750         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
8752         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
8753         instructions.
8755 2011-11-07  Andreas Schwab  <schwab@redhat.com>
8757         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
8758         handler when locking.
8760         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8761         Fix size of allocated buffer.
8763 2011-11-04  Andreas Schwab  <schwab@redhat.com>
8765         [BZ #10103]
8766         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
8767         declarations for long double functions.
8768         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
8770         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
8772 2011-11-03  Andreas Schwab  <schwab@redhat.com>
8774         * nscd/nscd.c (main): Don't start AVC thread until credentials are
8775         installed.
8777         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
8778         is disabled.
8780 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8782         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
8784 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
8786         * include/alloca.h (stackinfo_alloca_round): Define.
8787         (extend_alloca): Use it.
8788         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
8789         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
8790         here.
8792         * scripts/check-local-headers.sh: Ignore libaudit.h.
8794         * nscd/Makefile (extra-objs): Make recursively expanded.
8796 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
8798         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
8799         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
8801         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
8802         * posix/tst-rfc3484-2.c: Likewise.
8803         * posix/tst-rfc3484-3.c: Likewise.
8805         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8806         process_vm_writev.
8807         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
8808         process_vm_writev.
8809         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
8810         process_vm_writev from libc using GLIBC_2.15 version.
8812         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
8814 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
8816         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
8817         stack usage.
8819 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
8821         [BZ #13367]
8822         * nss/getent.c (initgroups_keys): Show error message in case no group
8823         names are given.
8825         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
8826         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
8827         __bump_nl_timestamp.
8828         * nscd/connections (nscd_init): When host database is served open
8829         netlink socket and request notification about configuration changes.
8830         (main_loop_poll): Track netlink file descriptor and bump timestamp
8831         in case data becomes available.
8832         (main_loop_epoll): Likewise.
8833         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
8834         (database_pers_head): Add extra_data fileds.
8835         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
8836         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
8837         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
8838         Adjust caller.
8839         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
8840         in6ai data, call __free_in6ai.
8841         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
8842         Add -DHAVE_NETLINK.
8843         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
8844         interface information.  Reuse previous data if netlink timestamp
8845         is not changed.
8846         (__bump_nl_timestamp): New function.
8847         (__free_in6ai): New function.
8849 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
8851         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
8852         close_not_cancel_no_status here.
8853         (__check_pf): Reorganize code a bit to not call close twice if OOM.
8855 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
8857         [BZ #13276]
8858         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
8859         return value.
8861         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
8862         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
8863         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
8865 2011-07-03  Andreas Jaeger  <aj@suse.de>
8867         [BZ #10709]
8868         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
8869         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
8870         * math/libm-test.inc (sin_test): Add test case.
8872 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
8874         [BZ #13337]
8875         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
8876         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8878         * elf/chroot_canon.c (chroot_canon): Cleanups.
8880         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
8882         [BZ #13335]
8883         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
8884         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8886         * string/test-strchr.c: Make usable for strchrnul testing.
8887         * string/test-strchrnul.c: New file.
8888         * string/Makefile (strop-tests): Add strchrnul.
8890         * po/it.po: Update from translation team.
8891         * po/es.po: Likewise.
8893 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
8895         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
8896         the three constants needed as parameters.  Drop the others.
8897         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
8898         __m128i_strloadu_tolower.
8899         Create and initialize variable zero and use it in all the places
8900         where _mm_setzero_si128 was used.
8902         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
8903         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
8904         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
8905         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
8906         anymore.
8907         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
8908         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
8909         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
8910         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
8911         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
8912         __mpranred, __mptan.
8913         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
8914         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
8915         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
8916         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
8917         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
8918         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
8919         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
8920         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
8921         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
8923 2011-10-28  Andreas Schwab  <schwab@redhat.com>
8925         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
8926         redefine if SHARED.
8927         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
8929         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
8930         wide char related routines to wcsmbs subdir.
8932 2011-10-27  Andreas Schwab  <schwab@redhat.com>
8934         [BZ #13344]
8935         * misc/sys/cdefs.h (__THROWNL): Define.
8936         * posix/unistd.h: Use __THREADNL instead of __THREAD
8937         for memory synchronization functions.
8939 2011-10-26  Roland McGrath  <roland@hack.frob.com>
8941         [BZ #13349]
8942         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
8943         doesn't exist.
8944         * manual/stdio.texi (Obstack Streams): Node removed.
8946 2011-10-26  Andreas Schwab  <schwab@redhat.com>
8948         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
8949         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8950         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8952         * math/math_private.h (math_force_eval): Allow non-addressable
8953         arguments.
8954         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
8956 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
8958         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
8959         file is not needed.
8961         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
8962         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
8963         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8964         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8965         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8966         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8967         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8968         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
8969         Add AVX variants.
8970         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
8971         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
8972         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
8973         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
8974         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
8975         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
8976         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
8977         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
8978         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
8979         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
8980         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
8981         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
8982         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
8983         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
8984         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
8985         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
8986         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
8987         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
8988         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
8990         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
8991         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
8993         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
8994         place.  Use VEX encoding when compiling for AVX.
8996 2011-10-25  Andreas Schwab  <schwab@redhat.com>
8998         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
8999         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9001         * string/test-strchr.c (do_test): Don't generate NUL bytes.
9003 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
9005         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
9006         useless if() expression.
9007         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9008         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9009         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9010         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9011         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9012         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9013         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9014         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9015         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9016         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9017         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9018         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9019         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9020         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9021         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9022         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9023         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9024         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9025         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9027         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
9029 2011-10-25  Andreas Schwab  <schwab@redhat.com>
9031         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
9032         condition.
9033         * elf/dl-fini.c (_dl_sort_fini): Likewise.
9035 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
9037         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
9038         .text section.  Avoid duplicate constants.
9039         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9040         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9041         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9042         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9043         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9044         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9045         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9046         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9047         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9048         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
9049         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9050         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9051         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9052         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9053         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9054         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9055         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9056         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9057         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9058         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9059         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9060         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9061         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9062         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
9063         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
9064         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
9065         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
9066         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
9067         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
9068         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
9069         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
9070         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
9071         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9072         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
9073         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
9074         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
9075         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
9076         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
9077         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
9078         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
9079         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
9080         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
9081         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
9082         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
9083         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
9085 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
9087         * sysdeps/x86_64/dla.h: Move to ...
9088         * sysdeps/x86_64/fpu/dla.h: ...here.
9089         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
9090         situations.  Use __builtin_fma only for gcc 4.6 and up.
9092         * config.make.in: Add have-mfma4 entry.
9093         * configure.in: Substitute libc_cv_cc_fma4.
9094         * math/Makefile (dbl-only-routines): Add sincostab.
9095         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
9096         Use __sincostab not sincos.
9097         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
9098         name is a macro.
9099         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9100         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9101         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9102         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
9103         using __copysign.
9104         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
9105         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
9106         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
9107         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
9108         and __inv.
9109         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
9110         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
9111         __copysign.
9112         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
9113         define aliases when function name is a macro.
9114         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
9115         sysdeps/ieee754/dbl-64/sincos.tbl.
9116         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
9117         fma4-enabled routines.
9118         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
9119         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
9120         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
9121         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
9122         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
9123         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
9124         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
9125         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
9126         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
9127         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
9128         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
9129         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
9130         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
9131         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
9132         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
9133         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
9134         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
9135         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
9136         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
9137         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
9138         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
9139         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
9140         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
9141         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
9142         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
9143         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
9144         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
9145         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
9146         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
9147         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
9149         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
9150         rename.
9151         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9152         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9153         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9154         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9155         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9156         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9157         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9158         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9160 2011-10-24  Andreas Schwab  <schwab@redhat.com>
9162         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
9164 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
9166         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
9168         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
9169         prediction.
9170         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
9172         * string/strnlen.c: Don't define STRNLEN, reverse logic.
9173         Remove unused variable magic_bits.
9174         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
9176         * string/strnlen.c: Define and use STRNLEN macro.
9177         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
9178         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
9179         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
9180         * wcsmbs/wcslen.c: Define and use WCSLEN.
9181         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
9182         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
9183         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
9184         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
9185         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
9186         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
9187         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9189 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9191         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9192         strnlen-sse2-no-bsf.
9193         Rename strlen-no-bsf to strlen-sse2-no-bsf.
9194         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
9195         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
9196         Add strnlen support.
9197         (USE_AS_STRNLEN): New macro.
9198         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
9199         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
9200         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
9201         * sysdeps/x86_64/wcslen.S: New file.
9203 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
9205         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9206         XMM-moves are used for copying on small sizes.
9208 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9210         * wcsmbs/Makefile (strop-tests): Add wcschr.
9211         * wcsmbs/test-wcschr.c: New file.
9212         * string/test-strchr.c: Update.
9213         Add wcschr support.
9214         (WIDE): New macro.
9216 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9218         * wcsmbs/Makefile (strop-tests): Add wcslen.
9219         * wcsmbs/test-wcslen.c: New file.
9220         * string/test-strlen.c: Update.
9221         Add wcslen support.
9222         (WIDE): New macro.
9224 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
9226         * po/it.po: Update from translation team.
9228 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9230         * sysdeps/x86_64/wcscmp.S: Update.
9231         Fix wrong comparison semantics.
9232         wcscmp shall use signed comparison not unsigned.
9233         Don't use substraction to avoid overflow bug.
9234         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
9235         * wcsmbc/wcscmp.c: Likewise.
9236         * string/test-strcmp.c: Likewise.
9237         Add new tests to check cases with negative values.
9239 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
9241         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
9242         * sysdeps/x86_64/dla.h: ...here.  New file.
9243         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
9244         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9245         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9246         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9247         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9248         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9249         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9250         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9251         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9253 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
9255         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
9256         __ynl_finite aliases.
9258 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
9260         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9262         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
9263         define DLA_FMA.
9264         [DLA_FMA] (EMULV): Use DLA_FMA.
9265         [DLA_FMA] (MUL12): Use EMULV.
9266         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
9267         that are not needed.
9268         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9269         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9270         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9271         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9272         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9273         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9274         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9276 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
9278         * math/s_nan.c: Undef __nan.
9279         * math/s_nanf.c: Undef __nanf.
9280         * math/s_nanl.c: Undef __nanl.
9281         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
9282         "math_private.h".
9284 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
9286         * math/s_catan.c: Add branch predictions.
9287         * math/s_catanf.c: Likewise.
9288         * math/s_catanh.c: Likewise.
9289         * math/s_catanhf.c: Likewise.
9290         * math/s_catanhl.c: Likewise.
9291         * math/s_catanl.c: Likewise.
9292         * math/s_cexp.c: Likewise.
9293         * math/s_cexpf.c: Likewise.
9294         * math/s_cexpl.c: Likewise.
9295         * math/s_clog.c: Likewise.
9296         * math/s_clog10.c: Likewise.
9297         * math/s_clog10f.c: Likewise.
9298         * math/s_clog10l.c: Likewise.
9299         * math/s_clogf.c: Likewise.
9300         * math/s_clogl.c: Likewise.
9301         * math/s_csqrt.c: Likewise.
9302         * math/s_csqrtf.c: Likewise.
9303         * math/s_csqrtl.c: Likewise.
9304         * math/s_ctanf.c: Likewise.
9305         * math/s_ctanh.c: Likewise.
9306         * math/s_ctanhf.c: Likewise.
9307         * math/s_ctanhl.c: Likewise.
9308         * math/s_ctanl.c: Likewise.
9310         * math/math_private.h: Define __nan, __nanf, __nanl.
9311         * math/s_cacosh.c: Include <math_private.h>.
9312         * math/s_cacoshl.c: Likewise.
9313         * math/s_casinh.c: Likewise.
9314         * math/s_casinhf.c: Likewise.
9315         * math/s_casinhl.c: Likewise.
9316         * math/s_ccos.c: Rely entire on ccosh.
9317         * math/s_ccosf.c: Rely entire on ccoshf.
9318         * math/s_ccosl.c: Rely entirely on ccoshl.
9319         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
9320         Remove tests for FE_INVALID.
9321         * math/s_ccoshf.c: Likewise.
9322         * math/s_ccoshl.c: Likewise.
9323         * math/s_csin.c: Likewise.
9324         * math/s_csinf.c: Likewise.
9325         * math/s_csinh.c Likewise.
9326         * math/s_csinhf.c: Likewise.
9327         * math/s_csinhl.c: Likewise.
9328         * math/s_csinl.c: Likewise.
9329         * math/s_ctan.c: Likewise.
9330         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
9331         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
9332         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
9334 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
9336         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
9337         compilation problems.
9339         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
9340         __builtin_expect.
9342 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
9344         * sysdeps/i386/configure.in: Test for -mfma4 option.
9345         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
9346         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
9347         COMMON_CPUID_INDEX_80000001.
9348         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
9349         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
9350         use it if FMA3 is not supported.
9351         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
9353         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
9354         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
9356 2011-10-20  Andreas Schwab  <schwab@redhat.com>
9358         [BZ #12892]
9359         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
9360         it would create a cycle with a link time dependency.
9362 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
9364         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
9365         instruction.
9366         * string/Makefile (strop-tests): Add rawmemchr.
9367         * string/test-rawmemchr.c: New file.
9369         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
9370         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
9371         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
9372         when compiling str{,n}casecmp and when AVX is available.  Hook up
9373         new optimized code in initializers.
9375 2011-10-19  Andreas Schwab  <schwab@redhat.com>
9377         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
9378         __feraiseexcept instead of feraiseexcept.
9380 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
9382         * math/math_private.h: Define defaults for libc_fetestexcept and
9383         libc_feupdateenv.
9384         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
9385         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9386         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9387         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9388         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9389         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9390         libc_fetestexcept and libc_feupdateenv.
9392         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
9393         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
9394         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
9395         * sysdeps/x86_64/fpu/math_private.h: Define special version of
9396         libc_feholdexcept_setround.
9398         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
9399         Add s_nearbyint-c and s_nearbyintf-c.
9400         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
9401         nearbyintf inlines.
9402         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
9403         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
9404         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
9405         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
9407         * math/math_private.h: Define defaults for libc_fegetround,
9408         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
9409         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
9410         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
9411         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
9412         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
9413         standard functions.
9414         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9415         Remove comments and hacks for old compiler versions.
9416         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9417         libc_fegetround, libc_fesetround, libc_feholdexcept, and
9418         libc_feholdexceptl.
9420 2011-10-18  Andreas Schwab  <schwab@redhat.com>
9422         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
9423         (__feraiseexcept_renamed): Add __NTH.
9424         (feraiseexcept): Add __NTH.  Rename local variables to fix
9425         namespace violations.
9427 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
9429         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
9431         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
9433         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
9434         recently added interfaces.
9435         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
9437         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
9438         about macro parameter expansion.
9440         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
9441         __NO_MATH_INLINES is defined.  Cleanups.
9443         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
9444         and __floorf is target has SSE4.1.
9445         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
9446         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
9447         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
9448         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
9450         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
9451         name.
9452         (floorf): Likewise.
9454         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
9456 2011-10-17  Andreas Schwab  <schwab@redhat.com>
9458         * misc/sys/cdefs.h: Fix last change.
9460         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
9461         database lookup.
9463 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
9465         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
9467         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
9468         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9469         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9470         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9471         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9472         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9473         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9474         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9475         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9476         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
9477         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
9478         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
9479         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
9480         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
9481         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
9482         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
9483         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
9484         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
9485         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
9486         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
9487         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
9488         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
9490         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
9491         ceil, ceilf, floor, floorf.
9493         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
9494         Perform IRELATIVE relocations last.
9496         * elf/do-rel.h: Add another parameter nrelative, replacing the
9497         local variable with the same name.  Change name of the function
9498         to end in Rel or Rela (uppercase).
9499         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
9500         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
9501         elf_dynamic_do_##reloc function.
9503 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
9505         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
9506         is sufficient, at least on modern CPUs.
9508         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
9510         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
9511         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
9513         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
9514         __expl_finite.
9515         * math/bits/math-finite.h: Add entries for exp.
9516         * math/e_expl.c: Add __*_finite alias.
9517         * sysdeps/i386/fpu/e_exp.S: Likewise.
9518         * sysdeps/i386/fpu/e_expf.S: Likewise.
9519         * sysdeps/i386/fpu/e_expl.c: Likewise.
9520         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9521         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9522         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9523         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9524         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
9525         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9526         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9528         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
9529         is sufficient, at least on modern CPUs.
9531         * ctype/ctype-info.c (__ctype_init): Define.
9532         * include/ctype.h (__ctype_init): Declare.
9533         (__ctype_b_loc): The variable is always initialized.
9534         (__ctype_toupper_loc): Likewise.
9535         (__ctype_tolower_loc): Likewise.
9536         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
9537         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
9539 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
9541         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
9543         * configure.in: Also look in $cxxmachine/include for C++ system
9544         headers.
9546 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9548         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
9549         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
9550         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
9551         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
9552         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
9553         (USE_AS_WMEMCMP): New macro.
9554         Fixing indents.
9555         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
9556         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
9557         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
9558         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
9559         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9560         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
9561         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
9562         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
9563         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
9564         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
9565         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
9566         (USE_AS_WMEMCMP): New macro.
9567         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
9568         * sysdeps/string/test-memcmp.c: Update.
9569         Fix simple_wmemcmp.
9570         Add new tests.
9571         * wcsmbs/wmemcmp.c: Update.
9572         (WMEMCMP): New macro.
9573         Fix overflow bug.
9575 2011-10-12  Andreas Jaeger  <aj@suse.de>
9577         [BZ #13268]
9578         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
9580 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
9582         * libio/iofwide.c (do_length): Avoid warning.
9584         * ctype/ctype.h (__isctype_f): Add missing __THROW.
9586 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
9588         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
9590         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
9591         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
9592         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
9593         * sysdeps/i386/i686/fpu/e_log.S: New file.
9594         * sysdeps/i386/i686/fpu/e_logf.S: New file.
9595         * sysdeps/i386/i686/fpu/e_logl.S: New file.
9597         * ctype/ctype.h: Add support for inlined isXXX functions when
9598         compiling C++ code.
9600 2011-10-14  Andreas Schwab  <schwab@redhat.com>
9602         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9604         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
9606 2011-10-13  Roland McGrath  <roland@hack.frob.com>
9608         [BZ #13291]
9609         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
9611 2011-10-13  Andreas Schwab  <schwab@redhat.com>
9613         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
9614         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
9615         feraiseexcept.
9617         * sysdeps/x86_64/memrchr.S: Check for zero size.
9619         * string/stratcliff.c: Add memrchr tests.
9621 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9623         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9624         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
9625         rawmemchr-sse2 rawmemchr-sse2-bsf.
9626         * sysdeps/i386/i686/multiarch/memchr.S: New file.
9627         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
9628         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
9629         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
9630         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
9631         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
9632         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
9633         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
9634         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
9635         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
9636         * string/memrchr.c (MEMRCHR): New macro.
9638 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
9640         Add integration with gcc's -ffinite-math-only and optimize wrapper
9641         functions in libm.
9642         * Versions.def: Define GLIBC_2.15 version for libm.
9643         * math/Makefile (headers): Add bits/math-finite.h.
9644         * math/bits/math-finite.h: New file.
9645         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
9646         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
9647         * math/e_acoshl.c: Add __*_finite alias.
9648         * math/e_acosl.c: Likewise.
9649         * math/e_asinl.c: Likewise.
9650         * math/e_atan2l.c: Likewise.
9651         * math/e_atanhl.c: Likewise.
9652         * math/e_coshl.c: Likewise.
9653         * math/e_exp10.c: Likewise.
9654         * math/e_exp10f.c: Likewise.
9655         * math/e_exp10l.c: Likewise.
9656         * math/e_exp2l.c: Likewise.
9657         * math/e_fmodl.c: Likewise.
9658         * math/e_gammal_r.c: Likewise.
9659         * math/e_hypotl.c: Likewise.
9660         * math/e_j0l.c: Likewise.
9661         * math/e_j1l.c: Likewise.
9662         * math/e_jnl.c: Likewise.
9663         * math/e_lgammal_r.c: Likewise.
9664         * math/e_log10l.c: Likewise.
9665         * math/e_log2l.c: Likewise.
9666         * math/e_logl.c: Likewise.
9667         * math/e_powl.c: Likewise.
9668         * math/e_sinhl.c: Likewise.
9669         * math/e_sqrtl.c: Likewise.
9670         * math/e_scalb.c: Completely rewritten and optimized.
9671         * math/e_scalbf.c: Likewise.
9672         * math/e_scalbl.c: Likewise.
9673         * math/w_acos.c: Likewise.
9674         * math/w_acosf.c: Likewise.
9675         * math/w_acosl.c: Likewise.
9676         * math/w_acosh.c: Likewise.
9677         * math/w_acoshf.c: Likewise.
9678         * math/w_acoshl.c: Likewise.
9679         * math/w_asin.c: Likewise.
9680         * math/w_asinf.c: Likewise.
9681         * math/w_asinl.c: Likewise.
9682         * math/w_atan2.c: Likewise.
9683         * math/w_atan2f.c: Likewise.
9684         * math/w_atan2l.c: Likewise.
9685         * math/w_atanh.c: Likewise.
9686         * math/w_atanhf.c: Likewise.
9687         * math/w_atanhl.c: Likewise.
9688         * math/w_exp10.c: Likewise.
9689         * math/w_exp10f.c: Likewise.
9690         * math/w_exp10l.c: Likewise.
9691         * math/w_fmod.c: Likewise.
9692         * math/w_fmodf.c: Likewise.
9693         * math/w_fmodl.c: Likewise.
9694         * math/w_j0.c: Likewise.
9695         * math/w_j0f.c: Likewise.
9696         * math/w_j0l.c: Likewise.
9697         * math/w_j1.c: Likewise.
9698         * math/w_j1f.c: Likewise.
9699         * math/w_j1l.c: Likewise.
9700         * math/w_jn.c: Likewise.
9701         * math/w_jnf.c: Likewise.
9702         * math/w_log.c: Likewise.
9703         * math/w_logf.c: Likewise.
9704         * math/w_logl.c: Likewise.
9705         * math/w_log10.c: Likewise.
9706         * math/w_log10f.c: Likewise.
9707         * math/w_log10l.c: Likewise.
9708         * math/w_log2.c: Likewise.
9709         * math/w_log2f.c: Likewise.
9710         * math/w_log2l.c: Likewise.
9711         * math/w_pow.c: Likewise.
9712         * math/w_powf.c: Likewise.
9713         * math/w_powl.c: Likewise.
9714         * math/w_remainder.c: Likewise.
9715         * math/w_remainderf.c: Likewise.
9716         * math/w_remainderl.c: Likewise.
9717         * math/w_scalb.c: Likewise.
9718         * math/w_scalbf.c: Likewise.
9719         * math/w_scalbl.c: Likewise.
9720         * math/w_sqrt.c: Likewise.
9721         * math/w_sqrtf.c: Likewise.
9722         * math/w_sqrtl.c: Likewise.
9723         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
9724         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
9725         used.
9726         * math/math_private.h: Declare __kernel_standard_f.
9727         * math/w_cosh.c: Remove cruft and optimize a bit.
9728         * math/w_coshf.c: Likewise.
9729         * math/w_coshl.c: Likewise.
9730         * math/w_exp2.c: Likewise.
9731         * math/w_exp2f.c: Likewise.
9732         * math/w_exp2l.c: Likewise.
9733         * math/w_hypot.c: Likewise.
9734         * math/w_hypotf.c: Likewise.
9735         * math/w_hypotl.c: Likewise.
9736         * math/w_lgamma.c: Likewise.
9737         * math/w_lgamma_r.c: Likewise.
9738         * math/w_lgammaf.c: Likewise.
9739         * math/w_lgammaf_r.c: Likewise.
9740         * math/w_lgammal.c: Likewise.
9741         * math/w_lgammal_r.c: Likewise.
9742         * math/w_sinh.c: Likewise.
9743         * math/w_sinhf.c: Likewise.
9744         * math/w_sinhl.c: Likewise.
9745         * math/w_tgamma.c: Likewise.
9746         * math/w_tgammaf.c: Likewise.
9747         * math/w_tgammal.c: Likewise.
9748         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9749         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9750         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
9751         Minor optimizations.  Pretty printing.  Remove cruft.
9752         * sysdeps/i386/fpu/e_acosf.S: Likewise.
9753         * sysdeps/i386/fpu/e_acosh.S: Likewise.
9754         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9755         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9756         * sysdeps/i386/fpu/e_acosl.c: Likewise.
9757         * sysdeps/i386/fpu/e_asin.S: Likewise.
9758         * sysdeps/i386/fpu/e_asinf.S: Likewise.
9759         * sysdeps/i386/fpu/e_atan2.S: Likewise.
9760         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
9761         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
9762         * sysdeps/i386/fpu/e_atanh.S: Likewise.
9763         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9764         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9765         * sysdeps/i386/fpu/e_exp10.S: Likewise.
9766         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
9767         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
9768         * sysdeps/i386/fpu/e_exp2.S: Likewise.
9769         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
9770         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
9771         * sysdeps/i386/fpu/e_fmod.S: Likewise.
9772         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
9773         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
9774         * sysdeps/i386/fpu/e_hypot.S: Likewise.
9775         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
9776         * sysdeps/i386/fpu/e_log.S: Likewise.
9777         * sysdeps/i386/fpu/e_log10.S: Likewise.
9778         * sysdeps/i386/fpu/e_log10f.S: Likewise.
9779         * sysdeps/i386/fpu/e_log10l.S: Likewise.
9780         * sysdeps/i386/fpu/e_log2.S: Likewise.
9781         * sysdeps/i386/fpu/e_log2f.S: Likewise.
9782         * sysdeps/i386/fpu/e_log2l.S: Likewise.
9783         * sysdeps/i386/fpu/e_logf.S: Likewise.
9784         * sysdeps/i386/fpu/e_logl.S: Likewise.
9785         * sysdeps/i386/fpu/e_pow.S: Likewise.
9786         * sysdeps/i386/fpu/e_powf.S: Likewise.
9787         * sysdeps/i386/fpu/e_powl.S: Likewise.
9788         * sysdeps/i386/fpu/e_remainder.S: Likewise.
9789         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
9790         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
9791         * sysdeps/i386/fpu/e_scalb.S: Likewise.
9792         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9793         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9794         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
9795         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
9796         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
9797         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9798         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9799         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9800         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9801         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9802         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9803         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9804         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9805         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9806         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9807         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9808         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9809         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9810         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9811         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9812         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9813         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9814         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9815         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9816         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9817         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9818         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9819         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9820         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9821         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9822         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9823         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9824         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9825         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9826         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9827         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9828         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9829         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9830         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9831         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9832         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9833         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9834         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9835         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9836         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9837         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9838         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9839         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9840         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9841         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9842         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9843         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9844         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9845         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9846         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9847         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9848         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9849         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9850         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9851         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9852         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9853         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9854         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9855         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9856         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9857         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9858         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9859         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9860         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9861         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9862         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9863         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9864         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9865         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9866         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9867         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9868         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9869         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9870         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9871         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9872         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9873         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9874         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9875         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9876         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9877         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9878         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9879         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9880         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9881         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9882         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9883         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9884         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9885         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9886         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9887         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9888         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9889         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9890         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9891         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9892         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9893         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9894         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
9895         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
9896         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
9897         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
9898         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
9899         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
9900         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
9901         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9902         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9903         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9904         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9905         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
9906         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9907         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
9908         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
9909         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
9910         (__isnanf): Likewise.
9911         (__isinf_ns): Likewise.
9912         (__isinf_nsf): Likewise.
9913         (__finite): Likewise.
9914         (__finitef): Likewise.
9915         (__ieee754_sqrt): Define as macro.
9916         (__ieee754_sqrtf): Define as macro.
9917         (__ieee754_sqrtl): Define as macro.
9918         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
9919         inlined copy.
9920         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
9921         __FINITE_MATH_ONLY__ consistent.
9922         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
9924 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
9926         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
9927         of rawmemchr.
9929         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
9931 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
9933         * po/ja.po: Update from translation team.
9935 2011-10-08  Roland McGrath  <roland@hack.frob.com>
9937         * locale/programs/locarchive.c (prepare_address_space): New function.
9938         (create_archive, enlarge_archive, open_archive): Use it.
9940         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
9941         inside [SHARED], where it is used.
9943         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
9945         * nss/getent.c (netgroup_keys): Remove unused variable.
9946         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9948 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
9950         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
9951         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
9952         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
9953         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
9954         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
9955         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
9956         * math/Makefile (libm-calls): Add s_isinf_ns.
9957         * math/divtc3.c: Use __isinf_nsl instead of isinf.
9958         * math/multc3.c: Likewise.
9959         * math/s_casin.c: Likewise.
9960         * math/s_casinf.c: Likewise.
9961         * math/s_casinl.c: Likewise.
9962         * math/s_ccos.c: Likewise.
9963         * math/s_ccosf.c: Likewise.
9964         * math/s_ccosl.c: Likewise.
9965         * math/s_ctan.c: Likewise.
9966         * math/s_ctanf.c: Likewise.
9967         * math/s_ctanh.c: Likewise.
9968         * math/s_ctanhf.c: Likewise.
9969         * math/s_ctanhl.c: Likewise.
9970         * math/s_ctanl.c: Likewise.
9971         * math/w_fmod.c: Likewise.
9972         * math/w_fmodf.c: Likewise.
9973         * math/w_fmodl.c: Likewise.
9974         * math/w_remainder.c: Likewise.
9975         * math/w_remainderf.c: Likewise.
9976         * math/w_remainderl.c: Likewise.
9977         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
9978         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
9979         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
9980         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
9981         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
9982         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
9983         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
9984         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
9986         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
9987         of the number.
9988         * stdio-common/printf_fphex.c: Likewise.
9989         * stdio-common/printf_size.c: Likewise.
9991         * math/e_exp10.c: Include math_private.h using <...> not "...".
9992         * math/e_exp10f.c: Likewise.
9993         * math/e_exp10l.c: Likewise.
9994         * math/e_exp2l.c: Likewise.
9995         * math/e_j0l.c: Likewise.
9996         * math/e_j1l.c: Likewise.
9997         * math/e_jnl.c: Likewise.
9998         * math/e_lgammal_r.c: Likewise.
9999         * math/e_rem_pio2l.c: Likewise.
10000         * math/e_scalb.c: Likewise.
10001         * math/e_scalbf.c: Likewise.
10002         * math/e_scalbl.c: Likewise.
10003         * math/k_cosl.c: Likewise.
10004         * math/k_sinl.c: Likewise.
10005         * math/k_tanl.c: Likewise.
10006         * math/s_cacoshf.c: Likewise.
10007         * math/s_catan.c: Likewise.
10008         * math/s_catanf.c: Likewise.
10009         * math/s_catanh.c: Likewise.
10010         * math/s_catanhf.c: Likewise.
10011         * math/s_catanhl.c: Likewise.
10012         * math/s_catanl.c: Likewise.
10013         * math/s_ccosh.c: Likewise.
10014         * math/s_ccoshf.c: Likewise.
10015         * math/s_ccoshl.c: Likewise.
10016         * math/s_cexp.c: Likewise.
10017         * math/s_cexpf.c: Likewise.
10018         * math/s_cexpl.c: Likewise.
10019         * math/s_clog.c: Likewise.
10020         * math/s_clog10.c: Likewise.
10021         * math/s_clog10f.c: Likewise.
10022         * math/s_clog10l.c: Likewise.
10023         * math/s_clogf.c: Likewise.
10024         * math/s_clogl.c: Likewise.
10025         * math/s_csin.c: Likewise.
10026         * math/s_csinf.c: Likewise.
10027         * math/s_csinh.c: Likewise.
10028         * math/s_csinhf.c: Likewise.
10029         * math/s_csinhl.c: Likewise.
10030         * math/s_csinl.c: Likewise.
10031         * math/s_csqrt.c: Likewise.
10032         * math/s_csqrtf.c: Likewise.
10033         * math/s_csqrtl.c: Likewise.
10034         * math/s_ctan.c: Likewise.
10035         * math/s_ctanf.c: Likewise.
10036         * math/s_ctanh.c: Likewise.
10037         * math/s_ctanhf.c: Likewise.
10038         * math/s_ctanhl.c: Likewise.
10039         * math/s_ctanl.c: Likewise.
10040         * math/s_ldexp.c: Likewise.
10041         * math/s_ldexpf.c: Likewise.
10042         * math/s_ldexpl.c: Likewise.
10043         * math/s_significand.c: Likewise.
10044         * math/s_significandf.c: Likewise.
10045         * math/s_significandl.c: Likewise.
10046         * math/w_acos.c: Likewise.
10047         * math/w_acosf.c: Likewise.
10048         * math/w_acosh.c: Likewise.
10049         * math/w_acoshf.c: Likewise.
10050         * math/w_acoshl.c: Likewise.
10051         * math/w_acosl.c: Likewise.
10052         * math/w_asin.c: Likewise.
10053         * math/w_asinf.c: Likewise.
10054         * math/w_asinl.c: Likewise.
10055         * math/w_atan2.c: Likewise.
10056         * math/w_atan2f.c: Likewise.
10057         * math/w_atan2l.c: Likewise.
10058         * math/w_atanh.c: Likewise.
10059         * math/w_atanhf.c: Likewise.
10060         * math/w_atanhl.c: Likewise.
10061         * math/w_cosh.c: Likewise.
10062         * math/w_coshf.c: Likewise.
10063         * math/w_coshl.c: Likewise.
10064         * math/w_dremf.c: Likewise.
10065         * math/w_exp10.c: Likewise.
10066         * math/w_exp10f.c: Likewise.
10067         * math/w_exp10l.c: Likewise.
10068         * math/w_exp2.c: Likewise.
10069         * math/w_exp2f.c: Likewise.
10070         * math/w_fmod.c: Likewise.
10071         * math/w_fmodf.c: Likewise.
10072         * math/w_fmodl.c: Likewise.
10073         * math/w_hypot.c: Likewise.
10074         * math/w_hypotf.c: Likewise.
10075         * math/w_hypotl.c: Likewise.
10076         * math/w_j0.c: Likewise.
10077         * math/w_j0f.c: Likewise.
10078         * math/w_j0l.c: Likewise.
10079         * math/w_j1.c: Likewise.
10080         * math/w_j1f.c: Likewise.
10081         * math/w_j1l.c: Likewise.
10082         * math/w_jn.c: Likewise.
10083         * math/w_jnf.c: Likewise.
10084         * math/w_jnl.c: Likewise.
10085         * math/w_lgamma.c: Likewise.
10086         * math/w_lgamma_r.c: Likewise.
10087         * math/w_lgammaf.c: Likewise.
10088         * math/w_lgammaf_r.c: Likewise.
10089         * math/w_lgammal.c: Likewise.
10090         * math/w_lgammal_r.c: Likewise.
10091         * math/w_log.c: Likewise.
10092         * math/w_log10.c: Likewise.
10093         * math/w_log10f.c: Likewise.
10094         * math/w_log10l.c: Likewise.
10095         * math/w_log2.c: Likewise.
10096         * math/w_log2f.c: Likewise.
10097         * math/w_log2l.c: Likewise.
10098         * math/w_logf.c: Likewise.
10099         * math/w_logl.c: Likewise.
10100         * math/w_pow.c: Likewise.
10101         * math/w_powf.c: Likewise.
10102         * math/w_powl.c: Likewise.
10103         * math/w_remainder.c: Likewise.
10104         * math/w_remainderf.c: Likewise.
10105         * math/w_remainderl.c: Likewise.
10106         * math/w_scalb.c: Likewise.
10107         * math/w_scalbf.c: Likewise.
10108         * math/w_scalbl.c: Likewise.
10109         * math/w_sinh.c: Likewise.
10110         * math/w_sinhf.c: Likewise.
10111         * math/w_sinhl.c: Likewise.
10112         * math/w_sqrt.c: Likewise.
10113         * math/w_sqrtf.c: Likewise.
10114         * math/w_sqrtl.c: Likewise.
10115         * math/w_tgamma.c: Likewise.
10116         * math/w_tgammaf.c: Likewise.
10117         * math/w_tgammal.c: Likewise.
10119         * po/ja.po: Update from translation team.
10121 2011-09-29  Andreas Jaeger  <aj@suse.de>
10123         [BZ #13179]
10124         * sunrpc/netname.c (netname2host): Fix logic.
10126         [BZ #6779]
10127         [BZ #6783]
10128         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
10129         correctly.
10130         * math/w_remainder.c (__remainder): Likewise.
10131         * math/w_remainderf.c (__remainderf): Likewise.
10132         * math/libm-test.inc (remainder_test): Add test cases.
10134 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10136         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
10137         sdiv_qrnnd.
10139 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
10141         * string/test-memcmp.c: Avoid unncessary #defines.
10142         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10144 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10146         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
10147         Use new sse2 version for core i3 - i7 as it's faster
10148         than sse42 version.
10149         (bit_Prefer_PMINUB_for_stringop): New.
10150         * sysdeps/x86_64/rawmemchr.S: Update.
10151         Replace with faster SSE2 version.
10152         * sysdeps/x86_64/memrchr.S: New file.
10153         * sysdeps/x86_64/memchr.S: Update.
10154         Replace with faster SSE2 version.
10156 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
10158         * elf/dl-load.c (lose): Add cast to avoid warning.
10160 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
10162         * po/ca.po: Update from translation team.
10164         * inet/getnetgrent_r.c: Hook up nscd.
10165         * nscd/Makefile (routines): Add nscd_netgroup.
10166         (nscd-modules): Add netgroupcache.
10167         (CFLAGS-netgroupcache.c): Define.
10168         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
10169         (cache_search): Add const to second parameter.
10170         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
10171         INNETGR.
10172         (dbs): Add netgrdb entry.
10173         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
10174         (verify_persistent_db): Handle netgrdb.
10175         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
10176         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
10177         GETFDNETGR.
10178         (netgroup_response_header): Define.
10179         (innetgroup_response_header): Define.
10180         (datahead): Add netgroup_response_header and innetgroup_response_header
10181         elements.
10182         * nscd/nscd.conf: Add entries for netgroup cache.
10183         * nscd/nscd.h (dbtype): Add netgrdb.
10184         (_PATH_NSCD_NETGROUP_DB): Define.
10185         (netgroup_iov_disabled): Declare.
10186         (xmalloc, xcalloc, xrealloc): Move declarations here.
10187         (cache_search): Adjust prototype.
10188         Add netgroup-related prototypes.
10189         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
10190         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
10191         (__nscd_innetgr): Declare.
10192         * nscd/selinux.c (perms): Use access_vector_t as element type and
10193         add netgroup-related initializers.
10194         * nscd/netgroupcache.c: New file.
10195         * nscd/nscd_netgroup.c: New file.
10196         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
10197         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
10198         For four parameters use innetgr.
10199         * nss/nss_files/files-init.c: Add definition and callback for netgr.
10200         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
10201         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
10202         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
10204         * nscd/connections.c (register_traced_file): Don't register file
10205         for disabled databases.
10207 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
10209         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
10211         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
10212         from tree and freeing node.
10214 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
10216         * nss/nsswitch.c (__nss_database_lookup): Handle
10217         nss_parse_service_list out of memory case.
10219 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
10221         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
10222         out of memory case.
10224 2011-10-04  Andreas Schwab  <schwab@redhat.com>
10226         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
10227         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
10228         pass it down.
10229         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
10230         elf_machine_rela, elf_machine_lazy_rel.
10231         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
10232         (ELF_DYNAMIC_DO_REL): Likewise.
10233         (ELF_DYNAMIC_DO_RELA): Likewise.
10234         (ELF_DYNAMIC_RELOCATE): Likewise.
10235         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
10236         to ELF_DYNAMIC_DO_REL.
10237         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
10238         (dl_main): In trace mode always set __RTLD_NOIFUNC.
10239         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
10240         elf_machine_rela.
10241         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
10242         skip_ifunc, don't call ifunc function if non-zero.
10243         (elf_machine_rela): Likewise.
10244         (elf_machine_lazy_rel): Likewise.
10245         (elf_machine_lazy_rela): Likewise.
10246         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
10247         (elf_machine_lazy_rel): Likewise.
10248         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
10249         Likewise.
10250         (elf_machine_lazy_rel): Likewise.
10251         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10252         Likewise.
10253         (elf_machine_lazy_rel): Likewise.
10254         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
10255         (elf_machine_lazy_rel): Likewise.
10256         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
10257         (elf_machine_lazy_rel): Likewise.
10258         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10259         (elf_machine_lazy_rel): Likewise.
10260         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
10261         (elf_machine_lazy_rel): Likewise.
10262         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
10263         (elf_machine_lazy_rel): Likewise.
10264         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10265         (elf_machine_lazy_rel): Likewise.
10267 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
10269         * nss/nss_files/files-init.c (_nss_files_init): Use static
10270         initialization for all the *_traced_file variables.
10272 2011-09-28  Andreas Schwab  <schwab@redhat.com>
10274         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10276 2011-09-27  Roland McGrath  <roland@hack.frob.com>
10278         [BZ #13226]
10279         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
10281 2011-09-27  Andreas Schwab  <schwab@redhat.com>
10283         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10284         Reread the line before reparsing it.
10286 2011-09-26  Andreas Schwab  <schwab@redhat.com>
10288         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
10290 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
10291             Maxim Kuvyrkov  <maxim@codesourcery.com>
10292             Joseph Myers  <joseph@codesourcery.com>
10294         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
10295         if needed for __stack_chk_guard.
10297 2011-09-19  Roland McGrath  <roland@hack.frob.com>
10299         * sysdeps/posix/spawni.c (script_execute): Always define it.
10300         It will be optimized away if unused.
10301         (maybe_script_execute): New function.
10302         (__spawni): Call it.
10304         * Makerules: Don't include tls.make.
10305         (config-tls): Always set to thread.
10306         * tls.make.c: File removed.
10308 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
10310         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
10311         * config.make.in (CPPFLAGS-config): New substituted variable.
10313 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
10315         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
10317         [BZ #13192]
10318         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
10319         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
10321 2011-09-15  Roland McGrath  <roland@hack.frob.com>
10323         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
10324         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
10325         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10326         (CALL_FAIL): Likewise.
10327         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
10328         (CALL_FAIL): Macro removed.
10329         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
10331 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
10333         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
10334         for __FINITE_MATH_ONLY__ == 1.
10336 2011-09-15  Andreas Schwab  <schwab@redhat.com>
10338         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
10339         __ieee754_sqrt instead of sqrt.
10340         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
10341         __ieee754_sqrtf instead of sqrtf.
10342         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
10343         __floorf instead of floorf.
10344         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
10345         __floorf, __truncf instead of floorf, truncf.
10347 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
10349         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
10351         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
10352         __extern_always_inline.
10353         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
10354         32-bit.
10356 2011-09-14  Andreas Schwab  <schwab@redhat.com>
10358         * elf/rtld.c (dl_main): Also relocate in dependency order when
10359         doing symbol dependency testing.
10361 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
10363         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10364         Always define `refsym'.
10366 2011-09-13  Andreas Schwab  <schwab@redhat.com>
10368         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
10369         (__FD_ELT): Renamed from __FDELT.
10370         * misc/bits/select2.h (__FD_ELT): Likewise.
10371         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
10372         __FD_MASK instead of __FDELT, __FDMASK.
10373         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10374         Likewise.
10375         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10376         Likewise.
10378         * elf/Makefile (gen-ldd): Fix pattern.
10380         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
10381         (init_tls): Likewise.
10383 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
10385         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
10387 2011-09-12  Andreas Schwab  <schwab@redhat.com>
10389         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
10390         `struct cmsghdr *' instead of `void *'.
10391         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
10392         Likewise.
10394 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
10396         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
10397         if non-absolute.
10398         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
10399         ldd_rewrite_script.
10401 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
10403         * configure.in: Remove --with-tls option.
10404         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
10405         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
10406         out in case it is missing.
10407         * sysdeps/ia64/elf/configure.in: Likewise.
10408         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
10409         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
10410         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
10411         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
10412         * sysdeps/sh/elf/configure.in: Likewise.
10413         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
10414         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10415         * sysdeps/x86_64/elf/configure.in: Likewise.
10416         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
10417         * sysdeps/mach/hurd/tls.h: Likewise.
10419         [BZ #13067]
10420         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
10422         [BZ #13090]
10423         * configure.in: Fix use of AC_INIT.
10425         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
10427 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
10429         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
10430         __set_errno.
10431         * malloc/hooks.c: Likewise.
10433         [BZ #11929]
10434         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
10435         variables statically.
10436         (narenas): Initialize.
10437         (list_lock): Initialize.
10438         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
10439         initializtion of main_arena and list_lock.  Small cleanups.
10440         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
10441         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
10442         Add initializers to main_arena and mp_.
10443         (malloc_state): Remove pagesize member.  Change all users to use
10444         GLRO(dl_pagesize).
10446         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
10447         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
10448         is always initialized.
10450         * malloc/malloc.c: Removed unused configurations and dead code.
10451         * malloc/arena.c: Likewise.
10452         * malloc/hooks.c: Likewise.
10453         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
10455         * include/tls.h: Removed.  USE___THREAD must always be defined.
10456         * bits/libc-tsd.h: Don't handle !USE___THREAD.
10457         * elf/dl-libc.c: Likewise.
10458         * elf/dl-tsd.c: Likewise.
10459         * include/errno.h: Likewise.
10460         * include/netdb.h: Likewise.
10461         * include/resolv.h: Likewise.
10462         * inet/herrno-loc.c: Likewise.
10463         * inet/herrno.c: Likewise.
10464         * malloc/arena.c: Likewise.
10465         * malloc/hooks.c: Likewise.
10466         * malloc/malloc.c: Likewise.
10467         * resolv/res-state.c: Likewise.
10468         * resolv/res_libc.c: Likewise.
10469         * sysdeps/i386/dl-machine.h: Likewise.
10470         * sysdeps/ia64/dl-machine.h: Likewise.
10471         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10472         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10473         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10474         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10475         * sysdeps/sh/dl-machine.h: Likewise.
10476         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10477         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10478         * sysdeps/unix/i386/sysdep.S: Likewise.
10479         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10480         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
10481         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
10482         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10483         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
10484         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10485         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10486         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10487         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10488         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10489         * sysdeps/unix/x86_64/sysdep.S: Likewise.
10490         * sysdeps/x86_64/dl-machine.h: Likewise.
10491         * tls.make.c: Likewise.
10493         * configure.in: Remove --with-__thread option.  Make tests for
10494         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
10495         tls_model attribute fail if no support is available.  Remove
10496         USE_IN_LIBIO.
10497         * Makeconfig: Adjust for dropped configure option.  All features are
10498         now mandatory.
10499         * Makerules: Likewise.
10500         * Versions.def: Likewise.
10501         * argp/argp-fmtstream.c: Likewise.
10502         * argp/argp-fmtstream.h: Likewise.
10503         * argp/argp-help.c: Likewise.
10504         * assert/assert.c: Likewise.
10505         * config.h.in: Likewise.
10506         * config.make.in: Likewise.
10507         * configure: Likewise.
10508         * configure.in: Likewise.
10509         * csu/Versions: Likewise.
10510         * csu/init.c: Likewise.
10511         * elf/tst-audit2.c: Likewise.
10512         * elf/tst-tls10.c: Likewise.
10513         * elf/tst-tls10.h: Likewise.
10514         * elf/tst-tls11.c: Likewise.
10515         * elf/tst-tls12.c: Likewise.
10516         * elf/tst-tls14.c: Likewise.
10517         * elf/tst-tlsmod11.c: Likewise.
10518         * elf/tst-tlsmod12.c: Likewise.
10519         * elf/tst-tlsmod13.c: Likewise.
10520         * elf/tst-tlsmod13a.c: Likewise.
10521         * elf/tst-tlsmod14a.c: Likewise.
10522         * elf/tst-tlsmod15b.c: Likewise.
10523         * elf/tst-tlsmod16a.c: Likewise.
10524         * elf/tst-tlsmod16b.c: Likewise.
10525         * elf/tst-tlsmod7.c: Likewise.
10526         * elf/tst-tlsmod8.c: Likewise.
10527         * elf/tst-tlsmod9.c: Likewise.
10528         * gmon/gmon.c: Likewise.
10529         * grp/fgetgrent_r.c: Likewise.
10530         * grp/putgrent.c: Likewise.
10531         * hurd/fopenport.c: Likewise.
10532         * include/libc-symbols.h: Likewise.
10533         * include/tls.h: Likewise.
10534         * intl/gettextP.h: Likewise.
10535         * intl/loadinfo.h: Likewise.
10536         * locale/global-locale.c: Likewise.
10537         * locale/localeinfo.h: Likewise.
10538         * mach/devstream.c: Likewise.
10539         * malloc/arena.c: Likewise.
10540         * malloc/set-freeres.c: Likewise.
10541         * misc/err.c: Likewise.
10542         * misc/getttyent.c: Likewise.
10543         * misc/mntent_r.c: Likewise.
10544         * posix/getopt.c: Likewise.
10545         * posix/wordexp.c: Likewise.
10546         * pwd/fgetpwent_r.c: Likewise.
10547         * resolv/Versions: Likewise.
10548         * resolv/res_hconf.c: Likewise.
10549         * shadow/fgetspent_r.c: Likewise.
10550         * shadow/putspent.c: Likewise.
10551         * stdio-common/printf_fphex.c: Likewise.
10552         * stdio-common/tmpfile.c: Likewise.
10553         * stdlib/abort.c: Likewise.
10554         * stdlib/fmtmsg.c: Likewise.
10555         * sunrpc/auth_unix.c: Likewise.
10556         * sunrpc/clnt_perr.c: Likewise.
10557         * sunrpc/clnt_tcp.c: Likewise.
10558         * sunrpc/clnt_udp.c: Likewise.
10559         * sunrpc/clnt_unix.c: Likewise.
10560         * sunrpc/openchild.c: Likewise.
10561         * sunrpc/svc_simple.c: Likewise.
10562         * sunrpc/svc_tcp.c: Likewise.
10563         * sunrpc/svc_udp.c: Likewise.
10564         * sunrpc/svc_unix.c: Likewise.
10565         * sunrpc/xdr.c: Likewise.
10566         * sunrpc/xdr_array.c: Likewise.
10567         * sunrpc/xdr_rec.c: Likewise.
10568         * sunrpc/xdr_ref.c: Likewise.
10569         * sunrpc/xdr_stdio.c: Likewise.
10571 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
10573         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10575 2011-07-03  Andreas Jaeger  <aj@suse.de>
10577         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
10578         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
10579         regenerate with gen-libm-tests.pl.
10581 2010-05-12  Petr Baudis  <pasky@suse.cz>
10583         [BZ #11589]
10584         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
10585         around j0() zero points by switching to j1().
10586         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10587         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10588         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10589         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10591 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
10593         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
10594         instead of 0.
10595         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
10596         instead of 0.                              .
10597         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10598         Patch in part by Pavel Roskin <proski@gnu.org>.
10600         [BZ #13138]
10601         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
10602         realloc.
10603         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
10604         Free memory block if necessary.
10606         [BZ #12847]
10607         * libio/genops.c (INTDEF): For string streams the _lock pointer can
10608         be NULL.  Don't lock in this case.
10610 2011-09-09  Roland McGrath  <roland@hack.frob.com>
10612         * elf/elf.h (ELFOSABI_GNU): New macro.
10613         (ELFOSABI_LINUX): Define to that.
10615 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
10617         * string/strncat.c (strncat): Undef the symbol in case it has been
10618         defined in bits/string.h.
10620 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
10622         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
10624         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
10625         link map.
10627 2011-08-17  Andreas Jaeger  <aj@suse.de>
10629         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
10631 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
10632             Ian Lance Taylor  <iant@google.com>
10634         * math/libm-test.inc (lround_test): New testcase.
10635         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
10637 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
10639         * Makefile: Remove support for automatic cvs check-ins.
10640         * Makerules: Likewise.
10641         * config.make.in: Likewise.
10642         * configure.in: Likewise.
10643         * intl/Makefile: Likewise.
10644         * locale/Makefile: Likewise.
10645         * po/Makefile: Likewise.
10646         * posix/Makefile: Likewise.
10647         * sysdeps/gnu/Makefile: Likewise.
10648         * sysdeps/mach/hurd/Makefile: Likewise.
10649         * sysdeps/sparc/sparc32/Makefile: Likewise.
10651         [BZ #13118]
10652         * posix/Makefile (bug-regex32-ENV): Define.
10653         Patch by John Stanley <jpsinthemix@verizon.net>.
10655         * misc/Makefile (headers): Add bits/select2.h.
10656         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
10657         * misc/bits/select2.h: New file.
10658         * include/bits/select2.h: New file.
10659         * debug/Makefile (routines): Add fdelt_chk.
10660         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
10661         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
10662         FD_ISSET.
10663         * debug/fdelt_chk.c: New file.
10665         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
10666         * wcsmbs/test-wmemcmp.c: Likewise.
10667         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
10668         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
10670 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10672         * string/Makefile (strop-tests): Add memcmp.
10673         * string/test-wmemcmp.c: New file.
10674         * string/test-memcmp.c: Add wmemcmp support.
10676 2011-09-08  Roland McGrath  <roland@hack.frob.com>
10678         [BZ #13153]
10679         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
10680         2011-07-19 change.
10682         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
10683         garbage value in a __mach_port_mod_refs call in the cases of the
10684         task-self and thread-self ports.
10686 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10688         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
10690 2011-09-08  Andreas Schwab  <schwab@redhat.com>
10692         * elf/dl-load.c (lose): Check for non-null L.
10694 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
10696         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
10698         * elf/dl-libc.c (dlerror_run): Pass back error code from
10699         dl_catch_error.
10701         [BZ #13123]
10702         * elf/dl-load.c (lose): Free l_origin if it is valid.
10704         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
10705         names.
10706         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10707         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10708         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10709         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10710         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10711         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
10713 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10715         * sysdeps/powerpc/fpu/e_hypot.c: New file.
10716         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
10717         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
10718         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
10719         * sysdeps/powerpc/fpu/k_cosf.c: New file.
10720         * sysdeps/powerpc/fpu/k_sinf.c: New file.
10721         * sysdeps/powerpc/fpu/s_cosf.c: New file.
10722         * sysdeps/powerpc/fpu/s_sinf.c: New file.
10723         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
10724         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
10726 2011-08-15  Alan Modra  <amodra@gmail.com>
10728         [BZ #13092]
10729         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
10730         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
10731         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
10732         ppc_mcount to static-only-routines.
10733         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
10734         __mcount_internal.
10735         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
10736         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
10738 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
10740         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
10741         for finite and infinity parameters.
10743 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
10745         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
10746         and add nop instructions for throughput optimization.
10747         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10749 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
10751         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
10752         aligned copy for power7 with vector-scalar instructions.
10753         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10755 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
10757         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
10758         AVX check.
10760 2011-09-07  Andreas Schwab  <schwab@redhat.com>
10762         [BZ #13144]
10763         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
10764         last change.
10766 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
10768         * sysdeps/unix/sysv/linux/x86_64/init-first.c
10769         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
10770         syscall wrapper around clock_gettime in __vdso_clock_gettime.
10771         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
10772         clock_gettime.
10774 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
10776         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
10777         Forgot to demangle the pointer.
10779         * sysdeps/i386/sysdep.h: Define atom_text_section.
10780         * sysdeps/x86_64/sysdep.h: Likewise.
10781         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
10782         section with atom_text_section.
10783         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10784         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10785         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10786         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10787         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
10789         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
10790         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
10791         already be defined.  Change to take two parameters and don't assign
10792         result to variable.  Adjust all users.
10793         Define INTERNAL_GETTIME if not already defined.
10794         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
10795         call.
10796         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
10797         HAVE_CLOCK_GETTIME_VSYSCALL.
10798         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
10800         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
10801         gettimeofday vsyscall, just use time.
10803 2011-09-06  Andreas Schwab  <schwab@redhat.com>
10805         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
10806         <errno.h>.
10808 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
10810         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
10811         syscall on x86-64.
10812         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
10813         syscall.
10814         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
10815         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
10816         syscall if possible.
10818 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
10820         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
10821         e_ident.  Don't pass to find_mapsXX.
10822         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
10824 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
10826         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10827         strchr-sse2-no-bsf strrchr-sse2-no-bsf
10828         * sysdeps/x86_64/multiarch/strchr.S: Update.
10829         Check bit_slow_BSF bit.
10830         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10831         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
10832         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
10834 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
10836         [BZ #13134]
10837         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
10838         before glibc 2.15.
10839         (tryshell): Define.
10840         (__spawni): Change last parameter to be flag.  Test
10841         SPAWN_XFLAGS_USE_PATH flag to use path or not.
10842         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
10843         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
10844         * posix/spawni.c: Likewise.
10845         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
10846         * posix/spawnp.c: Likewise.  Change normal version to use
10847         SPAWN_XFLAGS_USE_PATH.
10848         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
10849         SPAWN_XFLAGS_TRY_SHELL.
10851         [BZ #13150]
10852         * posix/glob.h: Remove gcc 1.x support.
10854         [BZ #13068]
10855         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
10857 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
10859         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10860         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
10861         strrchr-sse2-bsf
10862         * sysdeps/i386/i686/multiarch/strchr.S: New file.
10863         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
10864         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
10865         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
10866         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
10867         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
10869 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10871         * sysdeps/x86_64/wcscmp.S: New file.
10873         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
10874         wcscmp-c wcscmp-sse2
10875         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
10876         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
10877         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
10878         * wcsmbs/wcscmp.c: Allow renaming.
10880 2011-09-05  David S. Miller  <davem@davemloft.net>
10882         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
10883         stack slot, rather than the struct return pointer slot.
10884         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
10885         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
10886         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
10887         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
10889 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
10891         * po/ja.po: Update from translation team.
10893         [BZ #13144]
10894         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
10895         kernel in 64-bit binaries.
10897 2011-09-01  David S. Miller  <davem@davemloft.net>
10899         * elf/elf.h (HWCAP_SPARC_*): Move to..
10900         * sysdeps/sparc/sysdep.h: this new file and add new values.
10901         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
10902         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
10903         _DL_HWCAP_COUNT to 24.
10904         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
10905         entries.
10906         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
10907         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
10908         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
10909         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
10910         instead of magic constants.
10911         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10913 2011-08-31  David S. Miller  <davem@davemloft.net>
10915         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
10916         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
10917         Reimplement to do errno handling inline.
10918         (SYSCALL_ERROR_HANDLER): New macro.
10919         (__SYSCALL_STRING): Do not do errno handling in asm.
10920         (__CLONE_SYSCALL_STRING): Delete.
10921         (__INTERNAL_SYSCALL_STRING): Delete.
10922         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
10923         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
10924         (PSEUDO): Reimplement to do errno handling inline.
10925         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
10926         (SYSCALL_ERROR_HANDLER): New macro.
10927         (__SYSCALL_STRING): Do not do errno handling in asm.
10928         (__CLONE_SYSCALL_STRING): Delete.
10929         (__INTERNAL_SYSCALL_STRING): Delete.
10930         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
10931         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
10932         i386.
10933         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
10934         (inline_syscall*): Add 'err' argument.
10935         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
10936         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
10937         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
10938         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
10940         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
10941         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10943 2011-08-30  Andreas Schwab  <schwab@redhat.com>
10945         * elf/rtld.c (dl_main): Relocate objects in dependency order.
10947 2011-08-29  Jiri Olsa <jolsa@redhat.com>
10949         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
10950         directive.
10952 2011-08-24  David S. Miller  <davem@davemloft.net>
10954         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
10956 2011-08-24  Andreas Schwab  <schwab@redhat.com>
10958         * elf/Makefile: Add rules to build and run unload8 test.
10959         * elf/unload8.c: New file.
10960         * elf/unload8mod1.c: New file.
10961         * elf/unload8mod1x.c: New file.
10962         * elf/unload8mod2.c: New file.
10963         * elf/unload8mod3.c: New file.
10965         * elf/dl-close.c (_dl_close_worker): Reset private search list if
10966         it wasn't used.
10968 2011-08-23  David S. Miller  <davem@davemloft.net>
10970         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
10971         subtract stack bias.
10972         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
10973         %sp not %fp in calculations.
10974         (_JMPBUF_UNWINDS_ADJ): Likewise.
10976         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
10977         (aio_suspend): Call it to force an exception region around the
10978         AIO_MISC_WAIT() invocation.
10980 2011-08-23  Andreas Schwab  <schwab@redhat.com>
10982         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
10983         backslash.
10985 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
10987         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
10988         protection macro.
10989         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
10990         and <dl-machine.h>.
10991         (Elf64_FuncDesc): Remove.
10993 2011-08-22  David S. Miller  <davem@davemloft.net>
10995         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
10996         sigaltstack check, add missing cfi directives.
10997         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
10998         missing cfi directives, and sigaltstack handling.
11000 2011-08-16  Andreas Schwab  <schwab@redhat.com>
11002         [BZ #11724]
11003         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
11004         object is seen twice.
11005         * elf/dl-fini.c (_dl_sort_fini): Likewise.
11007         * elf/Makefile (distribute): Add tst-initorder2.c.
11008         (tests): Add tst-initorder2.
11009         (modules-names): Add tst-initorder2a tst-initorder2b
11010         tst-initorder2c tst-initorder2d.  Add rules to build them.
11011         ($(objpfx)tst-initorder2.out): New rule.
11012         * elf/tst-initorder2.c: New file.
11013         * elf/tst-initorder2.exp: New file.
11015 2011-08-22  Andreas Schwab  <schwab@redhat.com>
11017         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
11019         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
11020         dependencies back to end of function.
11022         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11023         $(elfobjdir)/ld.so.
11025 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
11027         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
11028         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
11029         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
11030         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
11031         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
11032         of __vdso_gettimeofday.
11033         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
11034         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
11035         attribute_hidden.
11036         (_libc_vdso_platform_setup): Remove initialization of
11037         __vdso_gettimeofday and __vdso_time.
11039 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
11041         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
11042         and fgetc_unlocked.
11043         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
11044         getc_unlocked.
11046         * elf/dl-open.c (add_to_global): Report additions to the global scope
11047         for LD_DEBUG=scopes.
11048         (dl_open_worker): Also print scope of newly loaded dependencies.
11049         (_dl_show_scope): Indicate if there is no scope.
11051         [BZ #13114]
11052         * stdio-common/Makefile (tests): Add bug24.
11053         * stdio-common/bug24.c: New file.
11055 2011-08-19  Andreas Jaeger  <aj@suse.de>
11057         [BZ #13114]
11058         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
11059         non-existant file when using close-on-exec mode.
11061 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
11063         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
11064         the very first instruction.
11066         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
11067         the CFI state in the end.
11068         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
11069         inclusion of dl-trampoline.h.
11070         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
11072 2011-08-19  Andreas Schwab  <schwab@redhat.com>
11074         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
11075         expectations for long double.
11077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
11078         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
11080 2011-08-14  David S. Miller  <davem@davemloft.net>
11082         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
11083         artificual limit depends upon the system page size.
11085 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
11087         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
11088         * resolv/Makefile: Define CFLAGS-libresolv.
11090 2011-08-17  Andreas Schwab  <schwab@redhat.com>
11092         * nss/makedb.c (compute_tables): Make variables used in nested
11093         function static.
11095 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
11097         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
11098         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
11099         if buffer was too small.
11101         * elf/pldd.c (main): Attach to all threads in the process.
11102         Rewrite /proc handling to use *at functions.
11104 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
11106         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
11107         specifies first scope to show.
11108         (dl_open_worker): Update callers.  Move printing scope of new
11109         object to before the relocation.
11110         * elf/rtld.c (dl_main): Update _dl_show_scope call.
11111         * sysdeps/generic/ldsodefs.h: Update declaration.
11113         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
11114         string for the scope number.
11116 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
11118         * nscd/servicescache.c (cache_addserv): Make sure written is always
11119         initialized.
11121 2011-08-14  Roland McGrath  <roland@hack.frob.com>
11123         * sysdeps/i386/i486/bits/atomic.h
11124         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
11125         statement expression, so as to suppress "set but not used" warning.
11126         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
11128         * string/strncat.c (STRNCAT): Use prototype definition.
11130         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
11131         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
11132         -Iprograms here.
11133         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
11134         (localedef-modules): Add localedef.
11135         (locale-modules): Add locale.
11137         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
11138         * elf/rtld.c (dl_main): Invert order of assignment in last change,
11139         to avoid a warning.
11141 2011-08-14  David S. Miller  <davem@davemloft.net>
11143         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
11144         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
11146 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
11148         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
11149         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
11150         * elf/rtld.c (dl_main): Set l_name of vDSO.
11151         Call _dl_show_scope when DL_DEBUG_SCOPES.
11152         (process_dl_debug): Recognize scopes flag and also set it for all.
11153         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
11154         Declare _dl_show_scope.
11156         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
11157         (do_dlopen): Pass caller_dlopen to dl_open.
11158         (__libc_dlopen_mode): Initialize caller_dlopen.
11160         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
11161         of libc.  Make tolower call locale-independent.  Optimize a bit by
11162         using isdigit instead of isalnum.
11163         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
11165 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
11167         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
11168         was a dependency or dynamically loaded.
11170 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
11172         * intl/l10nflist.c: Allow architecture-specific pop function.
11173         * sysdeps/x86_64/l10nflist.c: New file.
11175         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
11176         classification.
11178 2011-08-10  Andreas Schwab  <schwab@redhat.com>
11180         * include/dirent.h: Add libc_hidden_proto for scandirat and
11181         scandirat64.  Don't declare __scandirat64.
11182         * dirent/scandirat.c: Add libc_hidden_def.
11183         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
11184         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
11186 2011-08-10  David S. Miller  <davem@davemloft.net>
11188         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
11189         enum.
11190         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11191         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11192         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11194 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
11196         * Versions.def [libc]: Add GLIBC_2.15.
11197         * dirent/Makefile (routines): Add scandirat and scandirat64.
11198         * dirent/Versions [libc]: Export scandirat and scandirat64 for
11199         GLIBC_2.15.
11200         * dirent/dirent.h: Declare scandirat and scandirat64.
11201         * dirent/scandirat.c: New file.
11202         * dirent/scandirat64.c: New file.
11203         * sysdeps/wordsize-64/scandirat.c: New file.
11204         * sysdeps/wordsize-64/scandirat64.c: New file.
11205         * dirent/opendir.c: Define opendirat.
11206         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
11207         using scandirat.
11208         * dirent/scandir64.c: Adjust for scandir.c change.
11209         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
11210         __scandirat64, and __scandir_cancel_handler.
11211         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
11212         additional parameter and use openat instead of open (outside of ld.so).
11213         Add new __opendir as wrapper around __opendirat.
11214         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
11215         here without requiring old scandirat implementation.
11217 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
11219         * dirent/scandir.c (cancel_handler): Renamed to
11220         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
11221         defined.  Adjust users.
11222         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
11223         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
11225 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
11227         * string/test-string.h (IMPL): Use __STRING to expand name and then
11228         stringify it.
11230         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
11231         of cleanups.
11233 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11235         * string/Makefile: Update.
11236         (strop-tests): Append strncat.
11237         * string/test-wcscmp.c: New file.
11238         New comprehensive test for wcscmp.
11239         * string/test-strcmp.c: Update.
11240         (WIDE): New define.
11242 2011-07-22  Andreas Schwab  <schwab@redhat.com>
11244         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
11245         line.
11247 2011-07-26  Andreas Schwab  <schwab@redhat.com>
11249         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11250         encoding to ACE if AI_IDN.
11252 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
11254         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
11255         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
11257 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
11259         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
11260         Fix overflow bug in strncat.
11261         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
11263         * string/test-strncat.c: Update.
11264         Add new tests for checking overflow bugs.
11266 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
11268         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11269         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
11270         * sysdeps/i386/i686/multiarch/strcat.S: New file.
11271         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
11272         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
11273         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
11274         * sysdeps/i386/i686/multiarch/strncat.S: New file.
11275         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
11276         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
11278         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
11279         (USE_AS_STRCAT): Define.
11280         Add strcat and strncat support.
11281         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11283 2011-07-25  Andreas Schwab  <schwab@redhat.com>
11285         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
11286         __n bigger than INT_MAX+1.
11287         (__strncmp_g): Likewise.
11289 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
11291         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
11292         * libio/stido.h: Likewise.
11294         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
11295         (AF_NFC): Define.
11296         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
11297         (AF_NFC): Define.
11299         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
11300         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11301         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11302         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
11303         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11305         [BZ #13021]
11306         * scripts/test-installation.pl: Don't expect libnss_test1 to be
11307         installed.
11309         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
11310         typo.
11311         (_dl_x86_64_save_sse): Likewise.
11313 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
11315         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
11316         OSXSAVE.
11317         (_dl_x86_64_save_sse): Likewise.
11319         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
11321         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
11323 2011-07-21  Andreas Schwab  <schwab@redhat.com>
11325         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
11326         change.
11327         (_dl_x86_64_save_sse): Use correct AVX check.
11329 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11331         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
11332         bug in strncpy/strncat.
11333         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
11335 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
11337         * string/tester.c (test_strcat): Add tests for different alignments
11338         of source and destination.
11339         (test_strncat): Likewise.
11341 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
11343         [BZ #12852]
11344         * posix/glob.c (glob): Check passed in values before using them in
11345         expressions to avoid some overflows.
11346         (glob_in_dir): Likewise.
11348         [BZ #13007]
11349         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
11350         check for AVX enablement so that we don't crash with old kernels and
11351         new hardware.
11352         * elf/tst-audit4.c: Add same checks here.
11353         * elf/tst-audit6.c: Likewise.
11355         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
11357 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
11359         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
11361 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
11363         * po/cs.po: Update from translation team.
11364         * po/bg.po: Likewise.
11366 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
11368         * misc/sys/cdefs.h: Add support for const attribute.
11369         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
11370         to gnu_dev_{major,minor,makedev} functions.
11372 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
11374         * intl/dcigettext.c (get_output_charset): Add missing bracket.
11376 2011-07-20  Andreas Schwab  <schwab@redhat.com>
11378         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
11379         strlen results.
11381 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11383         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
11384         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
11385         register in order to avoid conflicts with the soft frame pointer
11386         being held in r11 when necessary.
11387         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
11388         (INTERNAL_VSYSCALL_NCS): Likewise.
11390 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
11392         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
11393         * elf/dl-fini.c (_dl_fini): Adjust caller.
11394         * elf/dl-close.c (_dl_close_worker): Likewise.
11395         * sysdeps/generic/ldsodefs.h: Adjust declaration.
11397 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
11399         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
11400         "aux_cache->nlibs < 0".
11402         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
11403         in the reload-count case.
11405 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
11407         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11408         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
11409         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
11410         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
11411         * sysdeps/x86_64/multiarch/strcat.S: New file.
11412         * sysdeps/x86_64/multiarch/strncat.S: New file.
11413         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
11414         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
11415         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
11416         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
11417         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
11418         (USE_AS_STRCAT): Define.
11419         Add strcat and strncat support.
11420         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
11421         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11422         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
11423         * string/strncat.c: Update.
11424         (USE_AS_STRNCAT): Define.
11425         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11426         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
11427         and i7.
11428         * sysdeps/x86_64/multiarch/init-arch.h
11429         (bit_Prefer_PMINUB_for_stringop): New.
11430         (index_Prefer_PMINUB_for_stringop): Likewise.
11431         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
11432         bit_Prefer_PMINUB_for_stringop.
11434 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
11436         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
11437         buffer64.
11438         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
11439         of casting of buffer.
11440         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
11441         buffer32 and buffer64.
11442         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
11443         writes instead of casting of buffer.
11444         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
11445         buffer32.
11446         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
11447         casting of buffer.
11449 2011-07-19  Andreas Schwab  <schwab@redhat.com>
11451         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
11453 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
11455         * nscd/nscd.c (termination_handler): Don't do anything for a database
11456         if it has not yet been initialized.
11458 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
11460         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11462 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
11464         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11466 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
11468         * po/nl.po: Update from translation team.
11469         * po/sv.po: Likewise.
11471 2011-07-16  Roland McGrath  <roland@hack.frob.com>
11473         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
11474         now disallowed by GCC.
11476         * configure.in (use-default-link): Default to yes if a test -shared
11477         link meets our qualifications.
11478         * configure: Regenerated.
11480         * config.make.in (output-format): New variable.
11481         * configure.in: Check for ld --print-output-format support.
11482         * configure: Regenerated.
11483         * Makerules ($(common-objpfx)format.lds)
11484         [$(output-format) != unknown]: Just use $(output-format),
11485         instead of the linker-script munging.
11487 2011-07-14  Roland McGrath  <roland@hack.frob.com>
11489         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
11490         of $(common-objpfx)shlib.lds.
11491         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
11493         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
11494         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
11496         * configure.in (-z relro check): Adjust test code to add a large
11497         writable data section after it.
11498         * configure: Regenerated.
11500 2011-07-11  Roland McGrath  <roland@hack.frob.com>
11502         * configure.in (-z relro check): Fix test code to make the variable
11503         truly const.
11504         * configure: Regenerated.
11506 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
11508         * nscd/nscd.h (struct traced_file): Define.
11509         (struct database_dyn): Remove inotify_descr, reset_res, and filename
11510         elements.  Add traced_files.
11511         (inotify_fd): Declare.
11512         (register_traced_file): Declare.
11513         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
11514         (inotify_fd): Export.
11515         (resolv_conf_descr): Remove.
11516         (nscd_init): Move inotify descriptor creation to main.
11517         Don't register files for notification here.
11518         (register_traced_file): New function.
11519         (invalidate_cache): Don't use reset_res to determine whether to call
11520         res_init, go through the list of registered files.
11521         (main_loop_poll): The inotify descriptors are now stored in the
11522         structures for the traced files.
11523         (main_loop_epoll): Likewise
11524         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
11525         to __nss_disable_nscd.
11526         * nscd/cache.c (prune_cache): There is no single inotify descriptor
11527         for a database anymore.  Check the records for all the registered
11528         files instead.
11529         * nss/Makefile (libnss_files-routines): Add files-init.
11530         (libnss_db-routines): Add db-init.
11531         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
11532         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
11533         * nss/nss_db/db-init.c: New file.
11534         * nss/nss_files/files-init.c: New file.
11535         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
11536         __nss_lookup_function.
11537         (__nss_lookup_function): Call nss_load_library.
11538         (nss_load_all_libraries): New function.
11539         (__nss_disable_nscd): Take parameter with callback function for files
11540         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
11541         used for the cached services.
11542         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
11543         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
11544         options for features to all the files in nscd.
11546         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
11548 2011-07-10  Roland McGrath  <roland@hack.frob.com>
11550         * csu/elf-init.c (__libc_csu_init): Comment typo.
11552 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
11554         * po/pl.po: Update from translation team.
11555         * po/ja.po: Likewise.
11556         * po/ru.po: Likewise.
11557         * po/ko.po: Likewise.
11558         * po/fr.po: Likewise.
11560 2011-07-09  Roland McGrath  <roland@hack.frob.com>
11562         * configure.in (.ctors/.dtors header and trailer check):
11563         Use an empirical test on a built program.
11564         * configure: Regenerated.
11566         * configure.in (-z relro check): Use an empirical test on a built DSO.
11567         Detect, but do not require, on ia64.
11568         * configure: Regenerated.
11570         * configure.in (READELF): Find it with AC_CHECK_TOOL.
11571         Update tests that use readelf to use $READELF instead.
11572         * configure: Regenerated.
11574 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
11576         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
11577         if the result is not used.
11579 2011-07-05  Andreas Jaeger  <aj@suse.de>
11581         [BZ#9696]
11582         * stdlib/tst-strtod.c: Add testcase.
11584 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
11586         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
11587         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
11588         The latter has a higher limit.  Take additional parameter to pass to
11589         the new function.
11590         (__pathconf): Pass file to __statfs_link_max.
11591         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
11592         __statfs_link_max.
11593         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
11594         __statfs_link_max.
11596         [BZ #12868]
11597         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
11598         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11599         Handle Lustre.
11600         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
11601         (__statfs_filesize_max): Likewise.
11602         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
11604 2011-07-05  Andreas Jaeger  <aj@suse.de>
11606         * resolv/res_comp.c (dn_skipname): Remove unused variable.
11608 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
11610         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
11611         `status' variable.
11612         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
11613         Likewise.
11615 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
11617         * Makefile (strop-tests): Add strncat.
11618         * string/test-strncat.c: New file.
11620 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
11622         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
11624 2011-06-21  Andreas Jaeger  <aj@suse.de>
11626         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
11627         Copy rule from iconvdata/Makefile.
11629 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
11631         [BZ #12922]
11632         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
11633         but no long options are defined, just return 'W'.
11635 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
11637         [BZ #9696]
11638         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
11640 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
11642         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
11643         netgroups to read.
11644         (innetgr): Likewise.
11646 2011-07-05  Roland McGrath  <roland@hack.frob.com>
11648         * config.make.in (install_root): Default to $(DESTDIR).
11650 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
11652         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
11654 2011-07-02  Roland McGrath  <roland@hack.frob.com>
11656         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
11658         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
11659         containing directory rather than embedding absolute directory names.
11661         * scripts/check-local-headers.sh: Rewritten using awk.
11662         Match by word, not by line.  Print error messages for matches.
11663         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
11665         * Makerules [shlib-lds-flags empty]:
11666         ($(common-objpfx)libc_pic.opts): New target.
11667         ($(common-objpfx)libc_pic.os.clean): New target.
11668         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
11670         * config.make.in (OBJCOPY): New variable.
11671         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
11672         * configure: Regenerated.
11674         * config.make.in (use-default-link): New variable.
11675         * configure.in (use_default_link): Grok --with-default-link to set it.
11676         * configure: Regenerated.
11677         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
11678         (shlib-lds, shlib-lds-flags): Define to empty.
11680         * Makerules (shlib-lds): New variable.
11681         (shlib-lds-flags): New variable.
11682         (build-shlib, build-moduile, build-module-asneeded): Use it.
11683         ($(common-objpfx)libc.so): Use $(shlib-lds).
11684         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
11685         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
11687         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
11688         DT_FLAGS/DT_FLAGS_1 with zero flags.
11690         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
11691         linker script munging.
11693 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
11695         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
11696         as 128-bit value.
11697         * crypt/sha512.c (sha512_process_block): Perform total addition using
11698         128-bit if possible.
11699         (__sha512_finish_ctx): Likewise.
11700         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
11701         as 64-bit value.
11702         * crypt/sha256.c (SWAP64): Define.
11703         (sha256_process_block): Perform total addition using 64-bit if
11704         possible.
11705         (__sha256_finish_ctx): Likewise.
11707 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
11709         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
11710         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11711         * nscd/hstcache.c (cache_addhst): Likewise.
11712         * nscd/grpcache.c (cache_addgr): Likewise.
11713         * nscd/aicache.c (addhstaiX): Likewise
11714         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
11716 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
11718         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
11719         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11720         * nscd/hstcache.c (cache_addhst): Likewise.
11721         * nscd/grpcache.c (cache_addgr): Likewise.
11722         * nscd/aicache.c (addhstaiX): Likewise
11724 2011-07-01  Andreas Schwab  <schwab@redhat.com>
11726         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
11727         domain only when needed.
11729 2011-06-30  Andreas Schwab  <schwab@redhat.com>
11731         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
11732         is always restored.
11734 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
11736         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
11737         are re-adding the entry.
11738         * nscd/servicescache.c (cache_addserv): Likewise.
11740 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
11742         * sysdeps/generic/dl-irel.h: fix protection against multiple
11743         inclusions.
11744         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
11746 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
11748         [BZ #12935]
11749         * malloc/memusage.sh: Fix quoting in message.
11750         * debug/xtrace.sh: Likewise.
11752         * configure.in: Remove support for --experimental-malloc option, make
11753         it the default.
11754         * config.make.in: Likewise.
11755         * malloc/Makefile: Likewise.
11757 2011-06-27  Andreas Schwab  <schwab@redhat.com>
11759         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
11760         two-byte characters.
11762 2011-06-27  Roland McGrath  <roland@hack.frob.com>
11764         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
11765         AC_CACHE_CHECK invocation.
11766         * configure: Regenerated.
11768         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
11770 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
11772         [BZ #12350]
11773         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
11774         bit from old_res_options.
11776         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
11778         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
11779         value type for setfct.
11781 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
11783         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11784         __gettimeofday instead of gettimeofday.
11786 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
11788         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
11790 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
11792         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
11794         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
11795         info.
11797 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
11799         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11800         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11801         strcpy-sse2-unaligned strncpy-sse2-unaligned
11802         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
11803         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
11804         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
11805         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
11806         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
11807         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
11808         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
11809         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
11810         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
11811         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
11812         (STRCPY): Support SSE2 and SSSE3 versions.
11814 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
11816         [BZ #12874]
11817         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
11818         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
11819         kernels which artificially limit size of requests.
11821 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
11823         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11824         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11825         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
11826         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
11827         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
11828         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
11829         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
11830         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
11831         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
11832         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
11833         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
11834         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
11835         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
11836         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
11837         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
11838         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11839         Enable unaligned load optimization for Intel Core i3, i5 and i7
11840         processors.
11841         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
11842         Define.
11843         (index_Fast_Unaligned_Load): Define.
11844         (HAS_FAST_UNALIGNED_LOAD): Define.
11846 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
11848         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
11850 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
11852         [BZ #12907]
11853         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
11854         until it is clear that the information is realy needed.
11855         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
11857 2011-06-22  Andreas Schwab  <schwab@redhat.com>
11859         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
11861 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
11863         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11864         /sys/devices/system/cpu/online if it is usable.
11866         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
11867         reading the information from the /proc filesystem to once a second.
11869 2011-06-21  Andreas Jaeger  <aj@suse.de>
11871         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
11872         NULL after inclusion of kernel headers.
11874 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
11876         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
11877         calls to internal_setent.
11879         [BZ #12885]
11880         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
11881         addresses using gethostbyname4_r ignore IPv4 addresses.
11883         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
11884         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
11886         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
11888 2011-06-20  David S. Miller  <davem@davemloft.net>
11890         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
11891         inclusions.
11892         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
11894         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
11895         (elf_irel): Use it.
11896         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
11897         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
11898         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
11899         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
11900         * sysdeps/x86_64/dl-irel.h: Likewise.
11902         * elf/dl-runtime.c: Use elf_ifunc_invoke.
11903         * elf/dl-sym.c: Likewise.
11905 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
11907         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
11908         need to dereference resplen2.
11910 2011-06-14  Andreas Schwab  <schwab@redhat.com>
11912         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
11914 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
11916         * Makeconfig: Define vardbdir and inst_vardbdir.
11917         * nss/Makefile: Add rules to install db-Makefile.
11919         * nss/nss_db/db-XXX.c: Cleanup.
11921         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
11922         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
11923         GLIBC_PRIVATE.
11924         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
11925         * nss/makedb.c: Implement -g option to specify that value strings
11926         are generated and should not be added to table iterated over for
11927         get*ent calls.
11928         * nss/nss_db/db-initgroups.c: New file.
11930         * nss/getent.c: Add support for initgroups lookups through getgrouplist
11931         interface.
11933         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
11934         (internal_getgrouplist): Adjust to name change.
11935         Update use_initgroups_entry if this is not the first call.
11936         * nss/databases.def: Add initgroups entry.
11938         * nss/makedb.c (compute_tables): Check result of multiple hash table
11939         sizes to minimize maximum chain length.
11941 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
11943         * Versions.def: Add entry for libnss_db.
11944         * shlib-versions: Likewise.
11945         * nss/Makefile: Add rules to build libnss_db.
11946         * nss/Versions: Add libnss_db information.  Organize libnss_files
11947         entries better.
11948         * nss/db-Makefile: Add gshadow support.  Change rules for the new
11949         makedb progra.  Some minor improvements to generate smaller files.
11950         * nss/nss_db/nss_db.h: Move NSS database header data structures to
11951         here from...
11952         * nss/makedb.c: ...here.
11953         Improve database format to be smaller and require less memory at
11954         runtime.
11955         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
11956         db anymore.
11957         * nss/nss_db/db-netgrp.c: Likewise.
11958         * nss/nss_db/db-open.c: Likewise.
11959         * nss/nss_files/flies-XXX.x: Adjust comments.
11960         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
11961         * nss/nss_files/files-grp.c: Likewise.
11962         * nss/nss_files/files-hosts.c: Likewise.
11963         * nss/nss_files/files-network.c: Likewise.
11964         * nss/nss_files/files-proto.c: Likewise.
11965         * nss/nss_files/files-pwd.c: Likewise.
11966         * nss/nss_files/files-rpc.c: Likewise.
11967         * nss/nss_files/files-service.c: Likewise.
11968         * nss/nss_files/files-sgrp.c: Likewise.
11969         * nss/nss_files/files-spwd.c: Likewise.
11970         * nss/nss_db/db-alias.c: Removed.
11971         * nss/nss_db/dummy-db.h: Removed.
11973 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
11975         * nss/makedb.c: Rewritten to not use database library.
11976         * nss/Makefile: Update to build new makedb program.
11978 2011-06-14  Andreas Jaeger  <aj@suse.de>
11980         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
11981         memset declaration.
11983 2011-06-10  Andreas Schwab  <schwab@redhat.com>
11985         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
11986         tmpbuf.
11988 2011-06-10  Roland McGrath  <roland@hack.frob.com>
11990         * Makerules (shlib.lds): Fail if the linker script comes out empty.
11991         * elf/Makefile ($(objpfx)ld.so): Likewise.
11993         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
11994         Don't list ld.so twice in dependencies.
11996         * posix/bug-regex31.c: Include <stdlib.h>.
11998         * nscd/hstcache.c (cache_addhst): Remove unused variable.
12000         * nis/nss_compat/compat-spwd.c
12001         (getspent_next_nss_netgr): Remove unused variable.
12002         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
12004         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
12005         nonmembers" output to use the right array.
12007         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
12009         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
12011         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
12012         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
12013         * catgets/gencat.c (read_input_file): Likewise.
12014         * locale/programs/locarchive.c (enlarge_archive): Likewise.
12016         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
12017         variable definition inside #if's controlling its use.
12019         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
12021         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
12023         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
12025         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
12026         unreachable code.
12028         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
12030         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
12031         * configure: Regenerated.
12033         * Makerules: Revert last change.
12034         * elf/Makefile: Likewise.
12036 2011-06-09  Roland McGrath  <roland@hack.frob.com>
12038         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
12039         * elf/Makefile ($(objpfx)librtld.os): Likewise.
12040         (reloc-link): Likewise.
12042 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
12044         * elf/Makefile: Add rules to build pldd.
12045         * elf/pldd.c: New file.
12046         * elf/pldd-xx.c: New file.
12048 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
12050         * version.h: Update for 2.15 development version.
12052 2011-06-07  David S. Miller  <davem@davemloft.net>
12054         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
12055         ifuncs.
12056         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
12057         elf_machine_lazy_rel): Likewise.
12058         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
12059         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
12060         elf_machine_lazy_rel): Likewise.
12061         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
12062         dl_hwcap via passed in argument.
12063         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
12064         Likewise.
12066 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12068         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
12070 2011-06-06  Roland McGrath  <roland@hack.frob.com>
12072         [BZ #12849]
12073         * manual/fdl-1.1.texi: New file, verbatim from:
12074         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
12075         * manual/lgpl-2.1.texi: New file, verbatim from:
12076         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
12077         * manual/Makefile (licenses): New variable, list those new file names.
12078         (texis): Use it.
12079         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
12081         * manual/fdl.texi: File removed.
12082         * manual/lesser.texi: File removed.
12083         * manual/libc.texinfo (Copying, Documentation License):
12084         Use new @include file names, put @appendix directive before @include.
12086 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
12088         [BZ #12841]
12089         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
12090         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
12091         (mq_open): Add __NTH.
12093 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
12095         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12096         Assume Intel Core i3/i5/i7 processor if AVX is available.
12098 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
12100         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
12101         typo.
12103 2011-05-31  Andreas Schwab  <schwab@redhat.com>
12105         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
12106         memory.  Use alloca_account.  Fix memory leak when retrying.
12108 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
12110         * version.h (RELEASE): Bump for 2.14 release.
12111         * include/features.h (__GLIBC_MINOR__): Bump to 14.
12113         * config.make.in (RANLIB): Remove entry.
12115 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
12117         * po/Makefile (po-sed-cmd): Add ksh to extensions.
12118         (libc.pot): Work around missing support for .ksh extension in xgettext.
12120         [BZ #12684]
12121         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
12122         if both request failed.
12123         (send_dg): In case of server errors clear resplen or *resplen2.
12125         [BZ #12454]
12126         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
12127         when there are multiple maps.
12128         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
12129         (_dl_fini): Remove test here.
12131         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
12133 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
12135         [BZ #12350]
12136         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
12137         bit from old_res_options.
12138         (gaih_inet): Likewise.
12140         [BZ #11099]
12141         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
12142         as signed.
12144         * resolv/res_init.c (res_setoptions): Make the code more compact.
12146         [BZ #11558]
12147         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
12148         set RES_USEVC.
12150         [BZ #11634]
12151         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
12153         * malloc/malloc.h: Mark malloc hook variables as deprecated.
12155         [BZ #11781]
12156         * malloc/malloc.h: Declare malloc hook variables as volatile.
12158         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
12159         in last patch.
12161         [BZ #11799]
12162         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
12163         raise in the comment.
12164         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
12165         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12166         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
12168 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
12170         [BZ #12811]
12171         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
12172         grow the buffers more if it already has to be sufficient.
12173         (build_wcs_upper_buffer): Likewise.
12174         * posix/regexec.c (check_matching): Likewise.
12175         (clean_state_log_if_needed): Likewise.
12176         (extend_buffers): Don't enlarge buffers beyond size of the input
12177         buffer.
12178         Patches mostly by Emil Wojak <emil@wojak.eu>.
12179         * posix/bug-regex32.c: New file.
12180         * posix/Makefile (tests): Add bug-regex32.
12182         * locale/findlocale.c (_nl_find_locale): Return right away if
12183         _nl_explode_name failed.
12184         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
12186         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
12188         * debug/xtrace.sh: Unify messages.
12189         * malloc/memusage.sh: Likewise.
12191         [BZ #12813]
12192         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
12193         time symbol from vDSO.  Substitute with vsyscall if not available.
12194         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
12195         __vdso_time.
12197         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
12198         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
12199         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
12200         Add sendmmsg and internal_sendmmsg.
12201         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
12202         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
12203         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
12205         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
12206         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
12207         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
12209 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
12211         [BZ #12813]
12212         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
12213         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
12214         available.
12215         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
12216         __vdso_getcpu.
12218         [BZ #12814]
12219         * iconvdata/Makefile (tests): Add bug-iconv9.
12220         * iconvdata/bug-iconv9.c: New file.
12222 2011-05-27  Andreas Schwab  <schwab@redhat.com>
12224         [BZ #12814]
12225         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
12227 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
12229         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12230         (struct user_regs_struct): Change intcs field back to cs.
12232 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
12234         * po/ja.po: Update from translation team.
12236 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
12238         [BZ #12795]
12239         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
12240         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
12242 2011-05-20  Andreas Schwab  <schwab@redhat.com>
12244         * stdlib/longlong.h: Update from GCC.
12246 2011-05-23  Andreas Schwab  <schwab@redhat.com>
12248         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
12249         parameter name.
12250         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
12251         Add parameter name.
12252         (__sysconf): Pass it down.
12254 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
12256         [BZ #12671]
12257         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
12258         some situations.
12259         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
12260         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
12261         add in in __libc_use_alloca calls.  Adjust callers.
12262         (glob): Use malloc in some situations.
12264         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
12265         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
12266         pltexit.
12268 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
12270         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
12271         and CLOCK_BOOTTIME_ALARM.
12273         [BZ #12782]
12274         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
12275         is returned.
12277         * string/_strerror.c (__strerror_r): Print negative errors as signed
12278         numbers.
12280         [BZ #12777]
12281         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
12282         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
12283         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
12285         * configure.in: Fix typo in redirection and correct removal of test
12286         files in two cases.
12288         [BZ #12788]
12289         * locale/setlocale.c (new_composite_name): Fix test to check for
12290         identical name of all categories.
12292         [BZ #12792]
12293         * libio/filedoalloc.c (local_isatty): New function.
12294         (_IO_file_doallocate): Use local_isatty.
12295         * stdio-common/perror.c (perror): In case a new stream is used
12296         forward the stream error.
12297         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
12298         error flag.
12300 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
12302         [BZ #11869]
12303         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
12304         alloca.
12305         * include/alloca.h (extend_alloca_account): Define.
12307         [BZ #11857]
12308         * posix/regex.h: Fix comments with documentation of user-accessible
12309         fields after compilation and describe correct free'ing of pattern
12310         after re_compile_pattern.
12311         Patch by Reuben Thomas <rrt@sc3d.org>.
12313 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
12315         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
12316         and -mno-altivec to prevent the compiler from using Altivec and/or
12317         VSX instructions when the corresponding registers are not available.
12319 2011-05-19  Andreas Schwab  <schwab@redhat.com>
12321         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
12323 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
12325         * libio/freopen.c (freopen): Use __dup2, not dup2.
12326         * libio/freopen64.c (freopen64): Likewise.
12328 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
12330         [BZ #12775]
12331         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
12332         * math/Makefile (tests): Add test-powl.
12333         (CFLAGS-test-powl.c): Define.
12334         * math/test-powl.c: New file.
12336 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
12338         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
12340 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
12342         [BZ #11837]
12343         * iconvdata/gb18030.c: Update to GB18020-2005.
12345 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
12347         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
12348         RE_SYNTAX_POSIX_AWK): Update to match recent development.
12349         Patch by Aharon Robbins <arnold@skeeve.com>.
12351         [BZ #11892]
12352         * stdlib/putenv.c (putenv): Don't always create copy of the variable
12353         on the stack.
12355         [BZ #11895]
12356         * misc/pselect.c (__pselect): Handle timeout value errors hidden
12357         through underflows.
12359         [BZ #12766]
12360         * misc/error.c (error_at_line): Ensure file_name and old_file_name
12361         point to strings before performing equality test for error_one_per_line
12362         mode.
12364         [BZ #11697]
12365         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
12367         [BZ #11820]
12368         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12369         (struct user_fpregs_struct): Avoid __uint*_t types.
12371         [BZ #6420]
12372         * malloc/mtrace.c (tr_where): Add additional parameter to point to
12373         symbol info.  Use it instead of calling _dl_addr locally.
12374         (lock_and_info): New function.
12375         (tr_freehook): Call lock_and_info and pass symbol info as additional
12376         parameter to tr_where.
12377         (tr_mallochook): Likewise.
12378         (tr_reallochook): Likewise.
12379         (tr_memalignhook): Likewise.
12381         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
12382         used and couldn't be at all thread-safe.
12384 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
12386         * libio/freopen.c (freopen): Don't close old file descriptor
12387         before the new one is opened.  Instead dup the new file descriptor
12388         to the old one after the new stream is created.
12389         * libio/freopen64.c (freopen64): Likewise.
12390         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
12391         * libio/fileops.c (_IO_new_file_close_it): Handle new
12392         _IO_FLAGS2_NOCLOSE flag.
12393         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
12394         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
12395         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
12396         _IO_FLAGS2_NOCLOSE flag.
12397         * include/unistd.h: Add hidden_proto for dup3.
12398         Define __have_dup3.
12399         * io/dup3.c: Define hidden symbol.
12400         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
12402         [BZ #7101]
12403         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
12404         when an incomplete long option is used.
12405         * posix/tst-getopt_long1.c: New file.
12406         * posix/Makefile (tests): Add tst-getopt_long1.
12408         [BZ #10138]
12409         * scripts/config.guess: Update from autoconf-2.68.
12410         * scripts/config.sub: Likewise.
12412         [BZ #10157]
12413         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
12414         tests into ...
12415         (has_cpuclock): ...this.  New function.
12416         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
12417         macro here based on has_cpuclock code.
12419         [BZ #10149]
12420         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12421         First byte (not low byte) is now always NUL.
12422         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
12424         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12425         Use non-cancelable interfaces.
12427         [BZ #9809]
12428         * locale/iso-639.def: Add entry for Sorani.
12430         [BZ #11901]
12431         * include/stdlib.h: Move include protection to the right place.
12432         Define abort_msg_s.  Declare __abort_msg with it.
12433         * stdlib/abort.c (__abort_msg): Adjust type.
12434         * assert/assert.c (__assert_fail_base): New function.  Majority
12435         of code from __assert_fail.  Allocate memory for __abort_msg with
12436         mmap.
12437         (__assert_fail): Now call __assert_fail_base.
12438         * assert/assert-perr.c: Remove bulk of implementation.  Use
12439         __assert_fail_base.
12440         * include/assert.hL Declare __assert_fail_base.
12441         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
12442         mmap.
12443         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
12445 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
12447         [BZ #11952]
12448         [BZ #12453]
12449         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
12450         until all modules are registered in the DTV.
12451         * elf/Makefile: Add rules to build and run tst-tls19.
12452         * elf/tst-tls19.c: New file.
12453         * elf/tst-tls19mod1.c: New file.
12454         * elf/tst-tls19mod2.c: New file.
12455         * elf/tst-tls19mod3.c: New file.
12456         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
12458         [BZ #12083]
12459         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
12460         correctly.
12462         [BZ #12601]
12463         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
12464         two-byte sequence errors.
12465         * iconvdata/Makefile (tests): Add bug-iconv8.
12466         * iconvdata/bug-iconv8.c: New file.
12468         [BZ #12626]
12469         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
12470         buf2 definition.
12472         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
12474         [BZ #12432]
12475         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
12476         (dummy_getcfa): New function.
12477         (init): Get _Unwind_GetCFA address, use dummy if not found.
12478         (backtrace_helper): In recursion check, also check whether CFA changes.
12479         (__backtrace): Completely initialize arg.
12481         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
12482         storing incomplete byte sequence in state object.  Avoid testing for
12483         guaranteed too small input if we know there is enough data available.
12485 2011-05-11  Andreas Schwab  <schwab@redhat.com>
12487         * Makeconfig (+link-pie): Indent.
12488         * Rules (binaries-pie): Define if $(have-fpie) and
12489         $(build-shared).
12490         (binaries-shared): Also filter out $(binaries-pie).
12491         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
12492         * nscd/Makefile (others-pie): Add nscd.
12493         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
12494         ($(objpfx)nscd): Remove command override.
12495         * login/Makefile (others-pie): Add pt_chown.
12496         ($(objpfx)pt_chown): Remove command override.
12497         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
12498         remove command overrides.
12500 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
12502         * libio/tst_putwc.c: Fix error messages.
12504         [BZ #12724]
12505         * libio/fileops.c (_IO_new_file_close_it): Always flush when
12506         currently writing and seek to current position when not.
12507         * libio/Makefile (tests): Add bug-fclose1.
12508         * libio/bug-fclose1.c: New file.
12510 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
12512         [BZ #12511]
12513         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
12514         don't set DF_1_NODELETE here.
12515         (do_lookup_x): When entering new entry test for copy relocation
12516         and if necessary set DF_1_NODELETE flag.
12517         * elf/tst-unique4.cc: New file.
12518         * elf/tst-unique4.h: New file.
12519         * elf/tst-unique4lib.cc: New file.
12520         * elf/Makefile: Add rules to build and run tst-unique4.
12521         Patch by Piotr Bury <pbury@goahead.com>.
12523 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
12525         [BZ #12052]
12526         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
12528         [BZ #12625]
12529         * misc/mntent_r.c (addmntent): Flush the stream after the output
12531         [BZ #12393]
12532         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
12533         (is_trusted_path_normalize): Skip initial colon.  Append slash
12534         to empty buffer.  Duplicate is_trusted_path code but allow
12535         constructed patch to be prefix.
12536         (is_dst): Allow $ORIGIN followed by /.
12537         (_dl_dst_substitute): Correct clearing of check_for_trusted.
12538         Correct testing of result of is_trusted_path_normalize
12539         (decompose_rpath): Fix warning.
12541 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
12543         [BZ #11257]
12544         * grp/initgroups.c (internal_getgrouplist): When we found the service
12545         list through the initgroups entry in nsswitch.conf do not always
12546         continue on a successful lookup.  Don't always use the
12547         __nss_group_database value if it is set.
12548         * nss/nsswitch.conf (initgroups): Change action for successful db
12549         lookup to continue for compatibility.
12551 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
12553         [BZ #11532]
12554         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
12555         and CP774 modules.
12556         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
12557         and CP774 modules.
12558         * iconvdata/tst-tables.sh: Likewise.
12559         * iconvdata/cp770.c: New file.
12560         * iconvdata/cp771.c: New file.
12561         * iconvdata/cp772.c: New file.
12562         * iconvdata/cp773.c: New file.
12563         * iconvdata/cp774.c: New file.
12564         * iconvdata/testdata/CP770: New file.
12565         * iconvdata/testdata/CP770..UTF8: New file.
12566         * iconvdata/testdata/CP771: New file.
12567         * iconvdata/testdata/CP771..UTF8: New file.
12568         * iconvdata/testdata/CP772: New file.
12569         * iconvdata/testdata/CP772..UTF8: New file.
12570         * iconvdata/testdata/CP773: New file.
12571         * iconvdata/testdata/CP773..UTF8: New file.
12572         * iconvdata/testdata/CP774: New file.
12573         * iconvdata/testdata/CP774..UTF8: New file.
12575         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
12576         END CHARMAP line.
12577         * iconvdata/gen-8bit-gap.sh: Likewise.
12578         * iconvdata/gen-8bit.sh: Likewise.
12580         * locale/iso-639.def: Add ary entry.
12582         [BZ #11258]
12583         * locale/C-translit.h.in: Add U20A1 transliteration.
12585         [BZ #12178]
12586         * locale/iso-639.def: Add wae entry.
12587         Patch by Kevin Bortis <bortis@translate-wae.ch>.
12589         [BZ #12545]
12590         * locale/programs/localedef.c (construct_output_path): Use ssize_t
12591         for n.
12593         [BZ #12711]
12594         * locale/C-translit.h.in: Add entry for U20B9.
12595         Patch by pravin.d.s@gmail.com.
12597 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
12599         [BZ #12713]
12600         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
12601         ENAMETOOLONG use generic getcwd.
12602         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
12603         in rtld.  Use *stat64.
12604         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
12605         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
12606         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
12607         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
12608         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
12609         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
12610         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
12611         __fstatat64 macros.
12612         * include/dirent.h: Add libc_hidden_proto for rewinddir.
12613         * dirent/rewinddir.c: Add libc_hidden_def.
12614         * sysdeps/mach/hurd/rewinddir.c: Likewise.
12615         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
12617         * include/dirent.h (__alloc_dir): Add flags parameter.
12618         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
12619         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
12620         __alloc_dir.
12621         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
12622         from fdopendir if O_CLOEXEC is already set.
12624 2011-03-15  Alan Modra  <amodra@gmail.com>
12626         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
12627         l_tls_firstbyte_offset non-zero.  Save padding offset in
12628         l_tls_firstbyte_offset for later use.
12629         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
12630         freeing static tls block.
12632 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
12634         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
12635         where #ifdef was intended.  The intent is to prevent ARG_MAX from
12636         being defined by the kernel headers.
12638 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
12640         [BZ #12734]
12641         * resolv/resolv.h: Define RES_NOTLDQUERY.
12642         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
12643         no-tld-query and set RES_NOTLDQUERY.
12644         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
12645         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
12646         modern BIND to search name as TLD unless forbidden.
12648 2011-05-07  Petr Baudis  <pasky@suse.cz>
12649             Ulrich Drepper  <drepper@gmail.com>
12651         [BZ #12393]
12652         * elf/dl-load.c (fillin_rpath): Move trusted path check...
12653         (is_trusted_path): ...to here.
12654         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
12655         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
12656         using is_trusted_path_normalize() in setuid scripts.
12658 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
12660         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
12661         __BEGIN/__END_DECLS.
12663 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
12665         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
12666         NSS_STATUS_NOTFOUND if no record was found.
12668 2011-05-05  Andreas Schwab  <schwab@redhat.com>
12670         * sunrpc/Makefile (headers): Add rpc/netdb.h.
12671         (headers-not-in-tirpc): Remove rpc/netdb.h
12672         * resolv/netdb.h: Revert last change.
12674 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
12676         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
12677         circular dependency between libgcc.a and libc.a.
12679 2011-05-05  Andreas Schwab  <schwab@redhat.com>
12681         * resolv/netdb.h: Don't include <rpc/netdb.h>.
12682         * nis/Makefile: Don't install rpcsvc/*.
12683         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
12684         instead of <rpc/types.h>.
12685         (MAXHOSTNAMELEN): Define.
12687 2011-05-03  Andreas Schwab  <schwab@redhat.com>
12689         * elf/ldconfig.c (add_dir): Don't crash on empty path.
12691 2011-04-28  Maciej Babinski  <mbabinski@google.com>
12693         [BZ #12714]
12694         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
12695         gethostbyname4_r when IPv6 results are possible.
12697 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
12699         [BZ #12723]
12700         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
12701         _PC_PIPE_BUF handling.
12703 2011-04-30  Bruno Haible  <bruno@clisp.org>
12705         [BZ #12717]
12706         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
12707         * resolv/netdb.h (getnameinfo): Change type of flags parameter
12708         to 'int'.
12709         * inet/getnameinfo.c (getnameinfo): Likewise.
12711 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
12713         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
12714         to groups setting in database lookup.
12715         * nss/nsswitch.conf: Add initgroups entry.
12717 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
12719         [BZ #12685]
12720         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
12721         mode string.
12722         Patch by Eric Blake <eblake@redhat.com>.
12724 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
12726         * sunrpc/Makefile (need-export-routines): Add svc_run.
12727         (routines): Remove svc_run.
12728         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
12729         * sunrpc/clnt_perr.c (clnt_perrno): Export.
12730         * sunrpc/svc_run.c (svc_run): Likewise.
12731         * sunrpc/svc_udp.c (svcudp_create): Likewise.
12733 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
12735         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
12736         problem in reallocation in last patch.
12738 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
12740         * sunrpc/Makefile: Move inclusion of Rules.
12742 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
12744         * nss/nss_files/files-initgroups.c: New file.
12745         * nss/Makefile (libnss_files-routines): Add files-initgroups.
12746         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
12747         _nss_files_initgroups_dyn.
12749 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
12751         * elf/elf.h (R_ARM_IRELATIVE): Define.
12753 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
12755         * po/ru.po: Update from translation team.
12757 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
12759         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
12760         dependencies.
12762 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
12764         [BZ #12653]
12765         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
12766         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
12767         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12768         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12769         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12771 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
12773         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
12774         differing bytes.
12775         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12776         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12777         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12779 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
12781         [BZ #12420]
12782         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
12783         storing it.
12784         * stdlib/bug-getcontext.c: New file.
12785         * stdlib/Makefile: Add rules to build and run bug-getcontext.
12787 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12789         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
12790         instructions into .machine "z9-109".
12791         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
12792         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
12794 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12796         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
12797         between environment variables and auxiliary vector.
12799 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
12801         * Makefile: Add rules to build linkobj/libc.so.
12802         * include/libc-symbols.h: Define libc_hidden_nolink.
12803         * include/rpc/auth.h: Mark functions which are to be hidden.
12804         * include/rpc/auth_des.h: Likewise.
12805         * include/rpc/auth_unix.h: Likewise.
12806         * include/rpc/clnt.h: Likewise.
12807         * include/rpc/des_crypt.h: Likewise.
12808         * include/rpc/key_prot.h: Likewise.
12809         * include/rpc/pmap_clnt.h: Likewise.
12810         * include/rpc/pmap_prot.h: Likewise.
12811         * include/rpc/pmap_rmt.h: Likewise.
12812         * include/rpc/rpc_msg.h: Likewise.
12813         * include/rpc/svc.h: Likewise.
12814         * include/rpc/svc_auth.h: Likewise.
12815         * include/rpc/xdr.h: Likewise.
12816         * nis/Makefile: Link all DSOs against linkobj/libc.so.
12817         * nss/Makefile: Likewise.
12818         * sunrpc/Makefile: Don't install headers.  Build library with normal
12819         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
12820         * sunrpc/auth_des.c: Hide exported symbols by default, export some
12821         for the compat linking library.  Remove use of INTDEF/INTUSE.
12822         * sunrpc/auth_none.c: Likewise.
12823         * sunrpc/auth_unix.c: Likewise.
12824         * sunrpc/authdes_prot.c: Likewise.
12825         * sunrpc/authuxprot.c: Likewise.
12826         * sunrpc/clnt_gen.c: Likewise.
12827         * sunrpc/clnt_perr.c: Likewise.
12828         * sunrpc/clnt_raw.c: Likewise.
12829         * sunrpc/clnt_simp.c: Likewise.
12830         * sunrpc/clnt_tcp.c: Likewise.
12831         * sunrpc/clnt_udp.c: Likewise.
12832         * sunrpc/clnt_unix.c: Likewise.
12833         * sunrpc/des_crypt.c: Likewise.
12834         * sunrpc/des_soft.c: Likewise.
12835         * sunrpc/get_myaddr.c: Likewise.
12836         * sunrpc/key_call.c: Likewise.
12837         * sunrpc/key_prot.c: Likewise.
12838         * sunrpc/netname.c: Likewise.
12839         * sunrpc/pm_getmaps.c: Likewise.
12840         * sunrpc/pm_getport.c: Likewise.
12841         * sunrpc/pmap_clnt.c: Likewise.
12842         * sunrpc/pmap_prot.c: Likewise.
12843         * sunrpc/pmap_prot2.c: Likewise.
12844         * sunrpc/pmap_rmt.c: Likewise.
12845         * sunrpc/publickey.c: Likewise.
12846         * sunrpc/rpc_cmsg.c: Likewise.
12847         * sunrpc/rpc_common.c: Likewise.
12848         * sunrpc/rpc_dtable.c: Likewise.
12849         * sunrpc/rpc_prot.c: Likewise.
12850         * sunrpc/rpc_thread.c: Likewise.
12851         * sunrpc/rtime.c: Likewise.
12852         * sunrpc/svc.c: Likewise.
12853         * sunrpc/svc_auth.c: Likewise.
12854         * sunrpc/svc_authux.c: Likewise.
12855         * sunrpc/svc_raw.c: Likewise.
12856         * sunrpc/svc_run.c: Likewise.
12857         * sunrpc/svc_simple.c: Likewise.
12858         * sunrpc/svc_tcp.c: Likewise.
12859         * sunrpc/svc_udp.c: Likewise.
12860         * sunrpc/svc_unix.c: Likewise.
12861         * sunrpc/svcauth_des.c: Likewise.
12862         * sunrpc/xcrypt.c: Likewise.
12863         * sunrpc/xdr.c: Likewise.
12864         * sunrpc/xdr_array.c: Likewise.
12865         * sunrpc/xdr_float.c: Likewise.
12866         * sunrpc/xdr_intXX_t.c: Likewise.
12867         * sunrpc/xdr_mem.c: Likewise.
12868         * sunrpc/xdr_rec.c: Likewise.
12869         * sunrpc/xdr_ref.c: Likewise.
12870         * sunrpc/xdr_sizeof.c: Likewise.
12871         * sunrpc/xdr_stdio.c: Likewise.
12873 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
12875         [BZ #12650]
12876         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
12877         * sysdeps/ia64/dl-tls.h: Likewise.
12878         * sysdeps/powerpc/dl-tls.h: Likewise.
12879         * sysdeps/s390/dl-tls.h: Likewise.
12880         * sysdeps/sh/dl-tls.h: Likewise.
12881         * sysdeps/sparc/dl-tls.h: Likewise.
12882         * sysdeps/x86_64/dl-tls.h: Likewise.
12883         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
12885 2011-03-14  Andreas Schwab  <schwab@redhat.com>
12887         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
12888         rpath element also skip the following colon.
12889         (expand_dynamic_string_token): Add is_path parameter and pass
12890         down to DL_DST_REQUIRED and _dl_dst_substitute.
12891         (decompose_rpath): Call expand_dynamic_string_token with
12892         non-zero is_path.  Ignore empty rpaths.
12893         (_dl_map_object_from_fd): Call expand_dynamic_string_token
12894         with zero is_path.
12896 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
12898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12899         Make cancelable.
12901 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
12903         [BZ #12655]
12904         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
12905         Patch by Filipe David Manana <fdmanana@apache.org>.
12907 2011-04-07  Andreas Schwab  <schwab@redhat.com>
12909         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
12910         Maintain aligned stack.
12911         (CHECK_RSP): Remove unused macro.
12913 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
12915         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
12916         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
12918 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
12920         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
12922         * include/features.h: Mention __USE_XOPEN2K8 in comment.
12924 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
12926         [BZ #12518]
12927         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
12928         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
12929         * sysdeps/x86_64/memmove.c: New file.
12930         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
12931         (memcpy): Renamed to ...
12932         (__new_memcpy): This.
12933         (memcpy): Provide GLIBC_2_14 memcpy.
12934         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
12935         (memcpy): Provide GLIBC_2_2_5 memcpy.
12937 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
12939         [BZ #12631]
12940         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
12942 2011-03-30  Andreas Schwab  <schwab@redhat.com>
12944         * misc/syncfs.c: New file.
12945         * misc/Makefile (routines): Add syncfs.
12946         * posix/unistd.h: Declare syncfs.
12947         * sysdeps/unix/syscalls.list: Add syncfs.
12949 2011-04-01  Andreas Schwab  <schwab@redhat.com>
12951         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
12952         open_by_handle_at.
12953         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12954         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12955         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12956         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12957         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12958         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
12959         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12961 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
12963         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
12964         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12965         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
12966         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12967         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12968         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12969         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12971         * io/Makefile: Compile fallocate.c, fallocate64.c, and
12972         sync_file_range.c with -fexceptions.
12973         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
12974         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
12975         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
12976         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
12977         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
12978         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12979         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
12980         sync_file_range as cancellation point
12981         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
12982         now a wrapper around __call_sync_file_range with cancellation handling.
12983         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
12984         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
12985         function name to __call_sync_file_range.
12986         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
12987         Add call_sync_file_range.
12989 2011-04-01  Andreas Schwab  <schwab@redhat.com>
12991         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12992         bits/timex.h.
12994 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
12996         * iconv/iconv.h: Fix typo in comment.
12997         * io/fcntl.h: Likewise.
12998         * libio/stdio.h: Likewise.
12999         * posix/spawn.h: Likewise.
13000         * posix/unistd.h: Likewise.
13001         * stdlib/stdlib.h: Likewise.
13002         * time/time.h: Likewise.
13003         * wcsmbs/wchar.h: Likewise.
13005         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
13006         open_by_handle): Add.
13007         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
13008         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
13009         Augment a few comments.
13010         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13011         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13012         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13013         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13014         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13015         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
13016         open_by_handle.
13018         * io/fcntl.h (AT_EMPTY_PATH): Define.
13020 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
13022         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
13023         * sysdeps/unix/sysv/linux/bits/time.h: New file.
13024         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
13025         to...
13026         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
13027         * Versions.def: Add GLIBC_2.14.
13028         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
13029         Export.
13031 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
13033         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
13034         round counter.
13035         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
13037 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
13039         [BZ #12597]
13040         * string/test-strncmp.c (do_page_test): New function.
13041         (check2): Likewise.
13042         (test_main): Call check2.
13043         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
13045 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
13047         [BZ #12587]
13048         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
13049         Handle cache information in CPU leaf 4.
13050         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
13052 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
13054         [BZ #12583]
13055         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
13056         character representation.
13057         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
13059 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
13061         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
13062         END(__isnan) to END(__isnanf) to match function entry point/label
13063         EALIGN(__isnanf,...).
13065 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
13067         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
13069 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
13071         [BZ #12510]
13072         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
13073         copy from the symbol referenced in the relocation to initialize the
13074         used variable.
13075         Patch by Piotr Bury <pbury@goahead.com>.
13076         * elf/Makefile: Add rules to build and tst-unique3.
13077         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
13078         * elf/tst-unique3.cc: New file.
13079         * elf/tst-unique3.h: New file.
13080         * elf/tst-unique3lib.cc: New file.
13081         * elf/tst-unique3lib2.cc: New file.
13083         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
13085 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
13087         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
13088         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
13089         to _start.
13091 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
13093         * elf/dl-load.c (_dl_map_object): If we are looking for the first
13094         to-be-loaded object along a path to loader is ld.so.
13096 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
13097             Ulrich Drepper  <drepper@gmail.com>
13099         * sysdeps/x86_64/memset.S: After aligning destination, code
13100         branches to different locations depending on the value of
13101         misalignment, when multiarch is enabled. Fix this.
13103 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
13105         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
13106         Set _x86_64_preferred_memory_instruction for AMD processsors.
13107         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13108         Set bit_Prefer_SSE_for_memop for AMD processors.
13110 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
13112         * libio/fmemopen.c (fmemopen): Optimize a bit.
13114 2011-03-03  Andreas Schwab  <schwab@redhat.com>
13116         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
13118 2011-03-03  Roland McGrath  <roland@redhat.com>
13120         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
13122 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
13124         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
13125         __bzero_ultra1 instead of __memset_ultra1.
13127 2011-02-23  Andreas Schwab  <schwab@redhat.com>
13128             Ulrich Drepper  <drepper@gmail.com>
13130         [BZ #12509]
13131         * include/link.h (struct link_map): Add l_orig_initfini.
13132         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
13133         returning unsuccessfully.
13134         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
13135         close of a file loaded at startup, restore the original l_initfini
13136         list.
13137         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
13138         list, store the pointer.
13139         * elf/Makefile ($(objpfx)noload-mem): New rule.
13140         (noload-ENV): Define.
13141         (tests): Add $(objpfx)noload-mem.
13142         * elf/noload.c: Include <memcheck.h>.
13143         (main): Call mtrace.  Close all opened handles.
13145 2011-02-17  Andreas Schwab  <schwab@redhat.com>
13147         [BZ #12454]
13148         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
13149         dependencies are missing.
13151 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13153         Fix __if_freereq crash: Unlike the generic version which uses free,
13154         Hurd needs munmap.
13155         * sysdeps/mach/hurd/ifreq.h: New file.
13157 2011-01-27  Petr Baudis  <pasky@suse.cz>
13158             Ulrich Drepper  <drepper@gmail.com>
13160         [BZ 12445]#
13161         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
13162         to extend_alloca().
13163         * stdio-common/bug23.c: New file.
13164         * stdio-common/Makefile (tests): Add bug23.
13166 2010-09-28  Andreas Schwab  <schwab@redhat.com>
13167             Ulrich Drepper  <drepper@gmail.com>
13169         [BZ #12489]
13170         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
13171         before performing relro protection.  At old place add assertion
13172         to make sure nothing changed.
13174 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
13175             Glauber de Oliveira Costa  <glommer@gmail.com>
13177         * elf/elf.h: Add new ARM TLS relocs.
13179 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
13181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13182         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
13183         cast from r3.
13184         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
13185         'tests' variable.
13186         * sysdeps/wordsize-64/tst-writev.c: New file.
13188 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
13190         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
13191         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
13192         insns in _dl_start to prevent a TOC reference before relocs are
13193         resolved.
13195 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
13197         [BZ #12469]
13198         * Makeconfig: Remove RANLIB definition.
13199         * Makerules: Don't use RANLIB.
13200         * aclocal.m4: Remove ranlib test.
13201         * configure.in: No need to check for ranlib.
13202         * elf/rtld-Rules: Don't use RANLIB.
13204 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13206         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
13207         protection macro.
13208         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
13209         inclusion protection macro.
13211         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
13212         SIGRTMIN and SIGRTMAX and print information in that case only when
13213         SIGRTMIN is defined.
13215 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
13217         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
13218         arginfo fn returning -1.
13220         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
13221         and thousands string is zero terminated.
13223 2011-02-03  Andreas Schwab  <schwab@redhat.com>
13225         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
13226         sysdeps/unix/sysv/linux/bits/socket.h.
13228 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13230         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
13231         (__CPU_COUNT): Remove old macros.
13232         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
13233         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
13234         (__CPU_ALLOC, __CPU_FREE): Add macros.
13235         (__sched_cpualloc, __sched_cpufree): Add declarations.
13237 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
13239         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
13240         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
13241         * nscd/aicache.c (addhstaiX): Return timeout of added value.
13242         (readdhstai): Return value of addhstaiX call.
13243         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
13244         (addgrbyX): Return value returned by cache_addgr.
13245         (readdgrbyname): Return value returned by addgrbyX.
13246         (readdgrbygid): Likewise.
13247         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
13248         (addpwbyX): Return value returned by cache_addpw.
13249         (readdpwbyname): Return value returned by addhstbyX.
13250         (readdpwbyuid): Likewise.
13251         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
13252         (addservbyX): Return value returned by cache_addserv.
13253         (readdservbyname): Return value returned by addservbyX:
13254         (readdservbyport): Likewise.
13255         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
13256         (addhstbyX): Return value returned by cache_addhst.
13257         (readdhstbyname): Return value returned by addhstbyX.
13258         (readdhstbyaddr): Likewise.
13259         (readdhstbynamev6): Likewise.
13260         (readdhstbyaddrv6): Likewise.
13261         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
13262         (readdinitgroups): Return value returned by addinitgroupsX.
13263         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
13264         (prune_cache): Keep track of timeout value of re-added entries.
13265         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
13266         * nscd/nscd.h: Adjust prototypes of readd* functions.
13268 2011-02-04  Roland McGrath  <roland@redhat.com>
13270         * nis/nis_server.c (nis_servstate): Use the right name for 0.
13271         (nis_stats): Likewise.
13272         * nis/nis_modify.c (nis_modify): Likewise.
13273         * nis/nis_remove.c (nis_remove): Likewise.
13274         * nis/nis_add.c (nis_add): Likewise.
13276         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
13278         * posix/fnmatch_loop.c: Add some consts.
13280         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
13282 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
13284         [BZ #12460]
13285         * config.make.in (config-cflags-novzeroupper): Define.
13286         * configure.in: Substitute libc_cv_cc_novzeroupper.
13287         * elf/Makefile (AVX-CFLAGS): Define.
13288         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
13289         (CFLAGS-tst-auditmod4a.c): Likewise.
13290         (CFLAGS-tst-auditmod4b.c): Likewise.
13291         (CFLAGS-tst-auditmod6b.c): Likewise.
13292         (CFLAGS-tst-auditmod6c.c): Likewise.
13293         (CFLAGS-tst-auditmod7b.c): Likewise.
13294         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
13296 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
13298         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
13299         function to the callback.
13300         Patch partly by Jiri Olsa <jolsa@redhat.com>.
13302 2011-02-02  Andreas Schwab  <schwab@redhat.com>
13304         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
13305         of errno.
13307 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
13309         [BZ #11724]
13310         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
13311         of constructors.
13312         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
13313         of destructors.
13314         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
13316         [BZ #11724]
13317         * elf/Makefile: Add rules to build and run new test.
13318         * elf/tst-initorder.c: New file.
13319         * elf/tst-initorder.exp: New file.
13320         * elf/tst-initordera1.c: New file.
13321         * elf/tst-initordera2.c: New file.
13322         * elf/tst-initordera3.c: New file.
13323         * elf/tst-initordera4.c: New file.
13324         * elf/tst-initorderb1.c: New file.
13325         * elf/tst-initorderb2.c: New file.
13326         * elf/tst-order-a1.c: New file.
13327         * elf/tst-order-a2.c: New file.
13328         * elf/tst-order-a3.c: New file.
13329         * elf/tst-order-a4.c: New file.
13330         * elf/tst-order-b1.c: New file.
13331         * elf/tst-order-b2.c: New file.
13332         * elf/tst-order-main.c: New file.
13333         New test case by George Gensure <werkt0@gmail.com>.
13335 2010-10-01  Andreas Schwab  <schwab@redhat.com>
13337         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13338         decoding ACE if AI_CANONIDN.
13340 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
13342         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
13344 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
13346         * version.h (RELEASE): Bump for 2.13 release.
13347         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
13349         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
13351         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
13352         MADV_NOHUGEPAGE.
13353         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
13354         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
13355         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13356         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13357         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13358         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13360         * posix/getconf.c: Update copyright year.
13361         * catgets/gencat.c: Likewise.
13362         * csu/version.c: Likewise.
13363         * debug/catchsegv.sh: Likewise.
13364         * debug/xtrace.sh: Likewise.
13365         * elf/ldconfig.c: Likewise.
13366         * elf/ldd.bash.in: Likewise.
13367         * elf/sprof.c (print_version): Likewise.
13368         * iconv/iconv_prog.c: Likewise.
13369         * iconv/iconvconfig.c: Likewise.
13370         * locale/programs/locale.c: Likewise.
13371         * locale/programs/localedef.c: Likewise.
13372         * malloc/memusage.sh: Likewise.
13373         * malloc/mtrace.pl: Likewise.
13374         * nscd/nscd.c (print_version): Likewise.
13375         * nss/getent.c: Likewise.
13377         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
13378         PF_CAIF, and PF_ALG.
13379         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13381 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
13383         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
13384         (modules-names): Use them.
13385         (ifunc-test-modules, ifunc-pie-tests): Define.
13386         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
13387         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
13388         (test-extras): Likewise.
13389         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
13390         $(compile-command.c).
13391         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
13392         (all-built-dso): Define.
13393         (check-textrel.out, check-execstack.out): Depend on it.
13395         * configure.in: Don't override --enable-multi-arch.
13397 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
13399         [BZ #6812]
13400         * nscd/hstcache.c (tryagain): Define.
13401         (cache_addhst): Return tryagain not notfound for temporary errors.
13402         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
13403         failed.
13405 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
13407         [BZ #10563]
13408         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
13409         to make the syscall.
13410         * sysdeps/unix/sysv/linux/setgroups.c: New file.
13412         [BZ #12378]
13413         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
13414         and fall back to matching as normal character if the string ends before
13415         the matching ']' is found.  This is what POSIX requires.
13416         * posix/testfnm.c: Adjust test result.
13417         * posix/globtest.sh: Adjust test result.  Add new test.
13418         * posix/tst-fnmatch.input: Likewise.
13419         * posix/tst-fnmatch2.c: Add new test.
13421 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
13423         * elf/Makefile (check-execstack): Revert last change.  Depend on
13424         check-execstack.h.
13425         (check-execstack.h): New target.
13426         (generated): Add check-execstack.h.
13427         * elf/check-execstack.c: Include "check-execstack.h".
13428         (main): Revert last change.
13429         (handle_file): Return zero if GNU_STACK is absent and
13430         DEFAULT_STACK_PERMS doesn't include PF_X.
13432 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
13434         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
13435         in child fails because the descriptor is already closed.
13436         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
13437         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
13438         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
13440         [BZ #12397]
13441         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
13442         syscall.
13444         [BZ #10484]
13445         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
13446         temporary buffer used to handle multi lookups locally.
13447         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
13449 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
13451         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
13452         loader is ld.so.
13454 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
13456         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
13457         alignment for SSE2.
13459 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
13461         [BZ #12394]
13462         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
13463         characters.  When rounding increased number of integer digits recompute
13464         number of groups.
13465         * stdio-common/tst-grouping.c: New file.
13466         * stdio-common/Makefile: Add rules to build and run tst-grouping.
13468 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
13470         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
13471         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
13473         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
13474         void.
13475         * bits/select.h: Likewise.
13477 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
13479         * po/ja.po: Update from translation team.
13481 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
13483         [BZ #11155]
13484         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
13485         implementation just like for lxstat, fxstatat, et al.
13487 2010-12-27  Jim Meyering  <meyering@redhat.com>
13489         [BZ #12348]
13490         * posix/regexec.c (build_trtable): Return failure indication upon
13491         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
13493 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
13495         [BZ #12201]
13496         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
13497         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
13498         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
13499         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
13501         [BZ #12207]
13502         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
13504         [BZ #12204]
13505         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
13506         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
13508 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
13510         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
13511         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
13512         script has SORT_BY_INIT_PRIORITY.
13513         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
13514         NO_CTORS_DTORS_SECTIONS is defined.
13515         * elf/soinit.c: Likewise.
13516         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
13517         NO_CTORS_DTORS_SECTIONS is defined.
13518         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
13519         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
13520         * sysdeps/sh/init-first.c: Likewise.
13521         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
13523 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
13525         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
13526         always use the slow path.
13528 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
13530         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
13531         similar rule which adds the sysdep directories to the header search in
13532         order to pick up the correct platform stackinfo.h.
13533         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
13534         perform test if it is, otherwise return successfully without testing.
13535         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
13536         DEFAULT_STACK_PERMS define in stackinfo.h.
13537         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
13538         defined in stackinfo.h.
13539         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
13540         DEFAULT_STACK_PERMS defined in stackinfo.h.
13541         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
13542         * sysdeps/ia64/stackinfo.h: Likewise.
13543         * sysdeps/s390/stackinfo.h: Likewise.
13544         * sysdeps/sh/stackinfo.h: Likewise.
13545         * sysdeps/sparc/stackinfo.h: Likewise.
13546         * sysdeps/x86_64/stackinfo.h: Likewise.
13547         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
13548         PF_X for powerpc64.  Retain PF_X for powerpc32.
13550 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
13552         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
13553         accurately.
13554         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
13555         GETDENTS_64BIT_ALIGNED.
13557 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
13559         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
13561 2010-12-10  Andreas Schwab  <schwab@redhat.com>
13563         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
13564         _GNU_SOURCE.
13566         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
13567         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
13568         Remove __restrict.
13569         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
13570         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
13572 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
13574         [BZ #11655]
13575         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
13576         are initialized.
13578 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
13580         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
13582 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
13584         * po/it.po: Update from translation team.
13586 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
13588         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
13589         unused codes.
13591 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
13593         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
13595 2010-11-24  Andreas Schwab  <schwab@redhat.com>
13597         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
13598         specially.
13599         (gaih_getanswer_slice): Likewise.
13601 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
13603         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
13605 2010-05-31  Petr Baudis  <pasky@suse.cz>
13607         [BZ #11149]
13608         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
13609         silently even in the chroot mode.
13611 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
13613         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
13614         last patch a bit.  Pretty printing
13616 2010-05-31  Petr Baudis <pasky@suse.cz>
13618         [BZ #10085]
13619         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
13620         initialization of skip_initgroups_dyn.
13622 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
13624         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
13625         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13627 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
13629         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
13631 2010-11-11  Andreas Schwab  <schwab@redhat.com>
13633         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
13634         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
13635         (tst-fnmatch-ENV): Set MALLOC_TRACE.
13636         ($(objpfx)tst-fnmatch-mem): New rule.
13637         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
13638         * posix/tst-fnmatch.c (main): Call mtrace.
13640 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
13642         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13643         Support Intel processor model 6 and model 0x2c.
13645 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
13647         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
13648           signed comparison.
13650 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
13652         [BZ #12205]
13653         * string/test-strncasecmp.c (check_result): New function.
13654         (do_one_test): Use it.
13655         (check1): New function.
13656         (test_main): Use it.
13657         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
13658         Support strcasecmp and strncasecmp.
13660 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
13662         [BZ #12194]
13663         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
13664         * sysdeps/x86_64/bits/byteswap.h: Likewise.
13666 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
13668         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
13669         IFUNC support.
13670         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13671         memset-x86-64.
13672         * sysdeps/x86_64/multiarch/bzero.S: New file.
13673         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
13674         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
13675         * sysdeps/x86_64/multiarch/memset.S: New file.
13676         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
13677         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13678         Set bit_Prefer_SSE_for_memop for Intel processors.
13679         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
13680         Define.
13681         (index_Prefer_SSE_for_memop): Define.
13682         (HAS_PREFER_SSE_FOR_MEMOP): Define.
13684 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
13686         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
13687         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
13689 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
13691         [BZ #12191]
13692         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13693         (__x86_64_raw_data_cache_size_half): Likewise.
13694         (__x86_64_raw_shared_cache_size): Likewise.
13695         (__x86_64_raw_shared_cache_size_half): Likewise.
13697         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13698         (__x86_64_raw_data_cache_size_half): Likewise.
13699         (__x86_64_raw_shared_cache_size): Likewise.
13700         (__x86_64_raw_shared_cache_size_half): Likewise.
13701         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
13702         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
13703         and __x86_64_raw_shared_cache_size_half.  Round
13704         __x86_64_data_cache_size_half, __x86_64_data_cache_size
13705         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
13706         to multiple of 256 bytes.
13708 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
13710         [BZ #12167]
13711         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
13712         of inacessible symlinks.  Verify result of symlink before returning it.
13713         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13714         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
13716 2010-10-28  Erich Ritz  <erichritz@gmail.com>
13718         * math/math.h (isinf): Fix typo in comment.
13720 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
13722         * po/da.po: Update from translation team.
13724 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
13726         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
13727         is added to the list.
13729 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13730             Ulrich Drepper  <drepper@gmail.com>
13732         * elf/dl-object.c (_dl_new_object): Don't append the new object to
13733         the global list here.  Move code to...
13734         (_dl_add_to_namespace_list): ...here.  New function.
13735         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
13736         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
13737         * elf/dl-load.c (lose): Don't remove the element from the list.
13738         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
13739         (_dl_map_object): Likewise.
13741 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
13743         [BZ #12159]
13744         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
13745         into all bytes of SSE register.
13746         Patch by Richard Li <richardpku@gmail.com>.
13748 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
13750         [BZ #12140]
13751         * malloc/malloc.c (_int_free): Fill correct number of bytes when
13752         perturbing.
13754 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
13756         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
13757         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
13758         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
13759         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
13761         submachine.
13762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13764 2010-10-22  Andreas Schwab  <schwab@redhat.com>
13766         * include/dlfcn.h (__RTLD_SECURE): Define.
13767         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
13768         mode & __RTLD_SECURE instead.
13769         (open_path): Rename preloaded parameter to secure.
13770         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
13771         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
13772         * elf/dl-deps.c (openaux): Likewise.
13773         * elf/rtld.c (struct map_args): Remove is_preloaded.
13774         (map_doit): Don't use it.
13775         (dl_main): Likewise.
13776         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
13777         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
13779 2010-09-09  Andreas Schwab  <schwab@redhat.com>
13781         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
13782         (sysd-rules-targets): Remove duplicates.
13783         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
13784         rtld-%.$o dependency.
13786 2010-10-18  Andreas Schwab  <schwab@redhat.com>
13788         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
13789         _dl_map_object do it.
13791 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
13793         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
13794         fast fma builtins, define the macros in the C99 standard.
13795         (FP_FAST_FMAF): Likewise.
13796         (FP_FAST_FMAL): Likewise.
13797         * sysdeps/x86_64/bits/mathdef.h: Likewise.
13799         * bits/mathdef.h: Update copyright year.
13800         * sysdeps/powerpc/bits/mathdef.h: Likewise.
13802 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
13804         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
13805         builtins, define the macros in the C99 standard.
13806         (FP_FAST_FMAF): Likewise.
13807         (FP_FAST_FMAL): Likewise.
13808         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
13809         multiply/add.
13810         (FP_FAST_FMAF): Likewise.
13812 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
13814         [BZ #3268]
13815         * math/libm-test.inc (fma_test): Some new testcases.
13816         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
13817         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
13818         y and infinite z.  Do multiplication by C already in long double.
13819         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
13820         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
13821         y and infinite z.  Do bitwise or of inexact bit into u.d.
13822         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
13823         * sysdeps/i386/fpu/s_fmaf.S: Removed.
13824         * sysdeps/i386/fpu/s_fma.S: Removed.
13825         * sysdeps/i386/fpu/s_fmal.S: Removed.
13827 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
13829         [BZ #3268]
13830         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
13831         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
13832         computation is not scheduled after fetestexcept.  Fix value
13833         of minimum denormal long double.
13835 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
13837         [BZ #3268]
13838         * math/libm-test.inc (fma_test): Add some more tests.
13839         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
13840         correctly.
13842 2010-10-15  Andreas Schwab  <schwab@redhat.com>
13844         * scripts/data/localplt-s390-linux-gnu.data: New file.
13845         * scripts/data/localplt-s390x-linux-gnu.data: New file.
13847 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
13849         [BZ #3268]
13850         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
13851         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
13852         instead of dbl-64.
13853         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
13854         inlines.
13855         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
13856         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
13857         if one of x and y is very large and the other is subnormal.
13858         * sysdeps/s390/fpu/s_fmaf.c: New file.
13859         * sysdeps/s390/fpu/s_fma.c: New file.
13860         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
13861         * sysdeps/powerpc/fpu/s_fma.S: New file.
13862         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
13863         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
13864         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
13866 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
13868         [BZ #3268]
13869         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
13870         fma tests.
13871         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
13872         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
13873         * sysdeps/i386/i686/multiarch/s_fma.c: Include
13874         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
13875         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
13876         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
13877         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
13879 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
13881         [BZ #12078]
13882         * posix/regcomp.c (parse_branch): One more memory leak plugged.
13883         * posix/bug-regex31.input: Add test case.
13885 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
13887         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
13888         * posix/bug-regex31.input: New file.
13890         [BZ #12078]
13891         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
13892         (parse_sub_exp): Fix last change, use postorder.
13894         * posix/bug-regex31.c: New file.
13895         * posix/Makefile: Add rules to build and run bug-regex31.
13897         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
13899         [BZ #12078]
13900         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
13902         [BZ #12108]
13903         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
13904         to have entries in sys_siglist.
13906         [BZ #12093]
13907         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
13908         be NULL.
13910 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
13912         [BZ #3268]
13913         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
13914         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
13915         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
13916         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
13917         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13918         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
13919         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
13920         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
13921         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
13922         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
13923         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
13924         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
13925         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
13926         * math/ftestexcept.c (fetestexcept): Likewise.
13927         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
13928         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
13929         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
13930         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
13931         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
13932         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
13933         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13935 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
13937         [BZ #12107]
13938         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
13939         newline.
13941 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
13943         * string/bug-strstr1.c: New file.
13944         * string/Makefile: Add rules to build and run bug-strstr1.
13946 2010-10-05  Eric Blake  <eblake@redhat.com>
13948         [BZ #12092]
13949         * string/str-two-way.h (two_way_long_needle): Always clear memory
13950         when skipping input due to the shift table.
13952 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
13954         [BZ #12005]
13955         * malloc/mcheck.c: Handle large requests.
13957         [BZ #12077]
13958         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
13959         for strncmp and strncasecmp.
13960         * string/stratcliff.c: Add tests for strcmp and strncmp.
13961         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
13963 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
13965         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
13966         __set_fpscr.
13968 2010-09-30  Andreas Jaeger  <aj@suse.de>
13970         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
13971         (CGROUP_SUPER_MAGIC): Define.
13972         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13973         Handle btrfs and cgroup file systems.
13974         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13975         Likewise.
13977 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
13979         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
13980         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
13982 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13984         [BZ #12067]
13985         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
13986         trying to locate the ELF header.
13988 2010-09-27  Andreas Schwab  <schwab@redhat.com>
13990         [BZ #11611]
13991         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
13992         Mask out sign-bit copies when constructing f_fsid.
13994 2010-09-24  Petr Baudis <pasky@suse.cz>
13996         * debug/stack_chk_fail_local.c: Add missing licence exception.
13997         * debug/warning-nop.c: Likewise.
13999 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
14001         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
14002         implementing getdents64 using getdents syscall, set d_type if
14003         __ASSUME_GETDENTS32_D_TYPE.
14005 2010-09-16  Andreas Schwab  <schwab@redhat.com>
14007         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
14008         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
14010 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
14012         [BZ #12037]
14013         * posix/unistd.h: Undo change of feature selection for ftruncate from
14014         2010-01-11.
14016 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
14018         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
14019         detection.
14021 2010-09-20  Andreas Schwab  <schwab@redhat.com>
14023         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
14024         fanotify_mark.
14025         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14027 2010-09-14  Andreas Schwab  <schwab@redhat.com>
14029         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
14030         variables after CHECK_SP call.
14031         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
14033 2010-09-13  Andreas Schwab  <schwab@redhat.com>
14034             Ulrich Drepper  <drepper@redhat.com>
14036         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
14037         re-relocationg ld.so.
14038         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
14039         _dl_init_paths call.
14040         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
14041         here anymore.
14043 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
14045         * resolv/res_init.c (__res_vinit): Count the default server we added.
14047 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
14048             Ulrich Drepper  <drepper@redhat.com>
14050         [BZ #11968]
14051         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14052         (____longjmp_chk): Use %ebx for saving value across system call.
14053         Add unwind info.
14055 2010-09-06  Andreas Schwab  <schwab@redhat.com>
14057         * manual/Makefile: Don't mix pattern rules with normal rules.
14059 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
14061         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
14062         operation.
14063         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
14064         * libio/iofopncook.c (_IO_cookie_init): Likewise.
14065         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
14066         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
14067         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14068         Likewise.
14070 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
14072         [BZ #11979]
14073         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
14074         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
14076 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
14078         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
14079         * sysdeps/x86_64/addmul_1.S: Likewise.
14080         * sysdeps/x86_64/lshift.S: Likewise.
14081         * sysdeps/x86_64/mul_1.S: Likewise.
14082         * sysdeps/x86_64/rshift.S: Likewise.
14083         * sysdeps/x86_64/sub_n.S: Likewise.
14084         * sysdeps/x86_64/submul_1.S: Likewise.
14086 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14088         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
14089         Define __sched_param instead of SCHED_* and sched_param when
14090         <bits/sched.h> is included with __need_schedparam defined.
14091         * bits/sched.h [__need_schedparam]
14092         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
14093         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
14094         (__defined_schedparam): Define to 1.
14095         (__sched_param): New structure, identical to sched_param.
14096         (__need_schedparam): Undefine.
14098 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
14100         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
14101         (epoll_create1): Declare.
14103         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
14105 2010-08-31  Andreas Schwab  <schwab@redhat.com>
14107         [BZ #7066]
14108         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
14109         shifting retval into place.
14111 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
14113         * nis/rpcsvc/nis.h: Update copyright notice.
14114         * nis/rpcsvc/nis.x: Likewise.
14115         * nis/rpcsvc/nis_callback.h: Likewise.
14116         * nis/rpcsvc/nis_callback.x: Likewise.
14117         * nis/rpcsvc/nis_object.x: Likewise.
14118         * nis/rpcsvc/nis_tags.h: Likewise.
14119         * nis/rpcsvc/yp.h: Likewise.
14120         * nis/rpcsvc/yp.x: Likewise.
14121         * nis/rpcsvc/ypupd.h: Likewise.
14122         * nis/yp_xdr.c: Likewise.
14123         * nis/ypupdate_xdr.c: Likewise.
14125         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
14126         mainly the body of pmap_getport.  Add parameters to specify timeouts.
14127         (pmap_getport): Use __libc_rpc_getport.
14128         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
14129         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
14130         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
14132 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
14134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
14135         fanotify_mark.
14137 2010-08-27  Roland McGrath  <roland@redhat.com>
14139         * sysdeps/i386/i686/multiarch/Makefile
14140         (CFLAGS-varshift.c): New variable.
14142 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
14144         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
14145         * sysdeps/i386/i686/multiarch/varshift.c: New file.
14147         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
14149         * sysdeps/x86_64/strlen.S: Minimal code improvement.
14151 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
14153         * sysdeps/x86_64/strlen.S: Unroll the loop.
14154         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14155         strlen-sse2 strlen-sse2-bsf.
14156         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
14157         __strlen_no_bsf if bit_Slow_BSF is set.
14158         (__strlen_sse42): Removed.
14159         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
14160         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
14162 2010-08-25  Roland McGrath  <roland@redhat.com>
14164         * sysdeps/x86_64/multiarch/varshift.S: File removed.
14165         * sysdeps/x86_64/multiarch/varshift.c: New file.
14166         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
14167         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
14168         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
14169         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14171 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
14173         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14174         strlen-sse2 strlen-sse2-bsf.
14175         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
14176         __strlen_sse2_bsf if bit_Slow_BSF is unset.
14177         (__strlen_sse2): Removed.
14178         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
14179         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
14180         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14181         bit_Slow_BSF for Atom.
14182         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
14183         (index_Slow_BSF): Define.
14184         (HAS_SLOW_BSF): Define.
14186 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
14188         [BZ #10851]
14189         * resolv/res_init.c (__res_vinit): When no server address at all
14190         is given default to loopback.
14192 2010-08-24  Roland McGrath  <roland@redhat.com>
14194         * configure.in: Remove config-name.h generation.
14195         * configure: Regenerated.
14196         * config-name.in: File removed.
14197         * scripts/config-uname.sh: New file.
14198         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
14199         ($(objdir)config-name.h): New target.
14201         * sunrpc/rpc_parse.h: Avoid nested comment.
14203 2010-08-24  Richard Henderson  <rth@redhat.com>
14204             Ulrich Drepper  <drepper@redhat.com>
14205             H.J. Lu  <hongjiu.lu@intel.com>
14207         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
14208         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
14209         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
14210         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
14211         _mm_alignr_epi8 with _mm_loadu_si128.
14212         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
14213         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
14214         (__m128i_shift_right): Removed.
14215         * sysdeps/i386/i686/multiarch/varshift.h: New file.
14216         * sysdeps/i386/i686/multiarch/varshift.S: New file.
14217         * sysdeps/x86_64/multiarch/varshift.h: New file.
14218         * sysdeps/x86_64/multiarch/varshift.S: New file.
14220 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
14222         * configure.in: Move assembler checks to before sysdep dir checking.
14224 2010-08-20  Petr Baudis  <pasky@suse.cz>
14226         * LICENSES: Sync the sunrpc license.
14228 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
14230         * sunrpc/auth_des.c: Update copyright notice once again.
14231         * sunrpc/auth_none.c: Likewise.
14232         * sunrpc/auth_unix.c: Likewise.
14233         * sunrpc/authdes_prot.c: Likewise.
14234         * sunrpc/authuxprot.c: Likewise.
14235         * sunrpc/bindrsvprt.c: Likewise.
14236         * sunrpc/clnt_gen.c: Likewise.
14237         * sunrpc/clnt_perr.c: Likewise.
14238         * sunrpc/clnt_raw.c: Likewise.
14239         * sunrpc/clnt_simp.c: Likewise.
14240         * sunrpc/clnt_tcp.c: Likewise.
14241         * sunrpc/clnt_udp.c: Likewise.
14242         * sunrpc/clnt_unix.c: Likewise.
14243         * sunrpc/des_crypt.c: Likewise.
14244         * sunrpc/des_soft.c: Likewise.
14245         * sunrpc/get_myaddr.c: Likewise.
14246         * sunrpc/getrpcport.c: Likewise.
14247         * sunrpc/key_call.c: Likewise.
14248         * sunrpc/key_prot.c: Likewise.
14249         * sunrpc/openchild.c: Likewise.
14250         * sunrpc/pm_getmaps.c: Likewise.
14251         * sunrpc/pm_getport.c: Likewise.
14252         * sunrpc/pmap_clnt.c: Likewise.
14253         * sunrpc/pmap_prot.c: Likewise.
14254         * sunrpc/pmap_prot2.c: Likewise.
14255         * sunrpc/pmap_rmt.c: Likewise.
14256         * sunrpc/rpc/auth.h: Likewise.
14257         * sunrpc/rpc/auth_unix.h: Likewise.
14258         * sunrpc/rpc/clnt.h: Likewise.
14259         * sunrpc/rpc/des_crypt.h: Likewise.
14260         * sunrpc/rpc/key_prot.h: Likewise.
14261         * sunrpc/rpc/netdb.h: Likewise.
14262         * sunrpc/rpc/pmap_clnt.h: Likewise.
14263         * sunrpc/rpc/pmap_prot.h: Likewise.
14264         * sunrpc/rpc/pmap_rmt.h: Likewise.
14265         * sunrpc/rpc/rpc.h: Likewise.
14266         * sunrpc/rpc/rpc_des.h: Likewise.
14267         * sunrpc/rpc/rpc_msg.h: Likewise.
14268         * sunrpc/rpc/svc.h: Likewise.
14269         * sunrpc/rpc/svc_auth.h: Likewise.
14270         * sunrpc/rpc/types.h: Likewise.
14271         * sunrpc/rpc/xdr.h: Likewise.
14272         * sunrpc/rpc_clntout.c: Likewise.
14273         * sunrpc/rpc_cmsg.c: Likewise.
14274         * sunrpc/rpc_common.c: Likewise.
14275         * sunrpc/rpc_cout.c: Likewise.
14276         * sunrpc/rpc_dtable.c: Likewise.
14277         * sunrpc/rpc_hout.c: Likewise.
14278         * sunrpc/rpc_main.c: Likewise.
14279         * sunrpc/rpc_parse.c: Likewise.
14280         * sunrpc/rpc_parse.h: Likewise.
14281         * sunrpc/rpc_prot.c: Likewise.
14282         * sunrpc/rpc_sample.c: Likewise.
14283         * sunrpc/rpc_scan.c: Likewise.
14284         * sunrpc/rpc_scan.h: Likewise.
14285         * sunrpc/rpc_svcout.c: Likewise.
14286         * sunrpc/rpc_tblout.c: Likewise.
14287         * sunrpc/rpc_util.c: Likewise.
14288         * sunrpc/rpc_util.h: Likewise.
14289         * sunrpc/rpcinfo.c: Likewise.
14290         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
14291         * sunrpc/rpcsvc/key_prot.x: Likewise.
14292         * sunrpc/rpcsvc/klm_prot.x: Likewise.
14293         * sunrpc/rpcsvc/mount.x: Likewise.
14294         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
14295         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
14296         * sunrpc/rpcsvc/rex.x: Likewise.
14297         * sunrpc/rpcsvc/rstat.x: Likewise.
14298         * sunrpc/rpcsvc/rusers.x: Likewise.
14299         * sunrpc/rpcsvc/sm_inter.x: Likewise.
14300         * sunrpc/rpcsvc/spray.x: Likewise.
14301         * sunrpc/rpcsvc/yppasswd.x: Likewise.
14302         * sunrpc/rtime.c: Likewise.
14303         * sunrpc/svc.c: Likewise.
14304         * sunrpc/svc_auth.c: Likewise.
14305         * sunrpc/svc_authux.c: Likewise.
14306         * sunrpc/svc_raw.c: Likewise.
14307         * sunrpc/svc_run.c: Likewise.
14308         * sunrpc/svc_simple.c: Likewise.
14309         * sunrpc/svc_tcp.c: Likewise.
14310         * sunrpc/svc_udp.c: Likewise.
14311         * sunrpc/svc_unix.c: Likewise.
14312         * sunrpc/svcauth_des.c: Likewise.
14313         * sunrpc/xcrypt.c: Likewise.
14314         * sunrpc/xdr.c: Likewise.
14315         * sunrpc/xdr_array.c: Likewise.
14316         * sunrpc/xdr_float.c: Likewise.
14317         * sunrpc/xdr_mem.c: Likewise.
14318         * sunrpc/xdr_rec.c: Likewise.
14319         * sunrpc/xdr_ref.c: Likewise.
14320         * sunrpc/xdr_sizeof.c: Likewise.
14321         * sunrpc/xdr_stdio.c: Likewise.
14323         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
14324         handling.
14326 2010-08-19  Andreas Schwab  <schwab@redhat.com>
14328         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
14330 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
14332         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
14333         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
14334         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
14335         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
14336         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
14337         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
14338         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
14339         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
14340         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
14341         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
14342         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
14343         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
14344         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
14345         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
14347 2010-07-26  Anton Blanchard  <anton@samba.org>
14349         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
14350         * malloc/arena.c (heap_trim): Likewise.
14352 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
14354         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
14355         here.  Not...
14356         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
14357         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
14359 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
14361         * sysdeps/i386/elf/Makefile: New file.
14363 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
14365         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
14366         from fanotify_init.
14367         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
14368         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14370 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
14372         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
14373         of strncasecmp_l.
14374         * sysdeps/multiarch/strcmp.S: Likewise.
14376 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
14378         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14379         strncase_l-nonascii.
14380         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14381         Add strncase_l-ssse3.
14382         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
14383         * sysdeps/x86_64/strcmp.S: Likewise.
14384         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
14385         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
14386         * sysdeps/x86_64/strncase.S: New file.
14387         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
14388         * sysdeps/x86_64/strncase_l.S: New file.
14389         * string/Makefile (strop-tests): Add strncasecmp.
14390         * string/test-strncasecmp.c: New file.
14392         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
14393         warning.
14395         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
14396         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
14398 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
14400         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
14402 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
14404         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
14405         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
14406         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
14408 2010-05-01  Alan Modra  <amodra@gmail.com>
14410         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
14411         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
14412         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
14413         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
14414         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
14415         tidying.  Don't tail-call __sigjmp_save for static lib.
14416         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
14417         save location.
14418         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
14419         (CALL_MCOUNT): Add eh info, and nop after bl.
14420         (TAIL_CALL_SYSCALL_ERROR): New macro.
14421         (PSEUDO_RET): Use it.
14422         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14423         Correct save location of integer regs and cr.
14424         (_dl_profile_resolve): Correct cr save location.  Delete nops
14425         after bl when SHARED.  Reduce cfi size a little by better
14426         placement of cfi directives.
14427         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
14428         make a stack frame.  Instead use parm save area as a temp.
14429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
14430         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
14431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14432         Don't make a stack frame for parent, use parm save area.
14433         Increase child stack frame to 112 bytes.  Don't save unused reg,
14434         and adjust reg usage.  Set up cfi on error recovery and
14435         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
14436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14437         (__makecontext): Add dummy nop after jump to exit.
14438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
14439         Use correct parm save area and cr save, reduce stack frame.
14440         Correct cfi for possible PSEUDO_RET frame setup.
14441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
14442         Branch to local label emitted by PSEUDO_RET rather than
14443         __syscall_error.
14445 2010-08-12  Andreas Schwab  <schwab@redhat.com>
14447         [BZ #11904]
14448         * locale/programs/locale.c (print_assignment): New function.
14449         (show_locale_vars): Use it.
14451 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
14453         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
14454         field.
14455         (struct statfs64): Likewise.
14456         (_STATFS_F_FLAGS): Define.
14457         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
14458         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14459         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
14460         (ST_VALID): Define locally.
14461         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
14462         __statvfs_getflags, use the provided value.
14463         * sysdeps/unix/sysv/linux/kernel-features.h: Define
14464         __ASSUME_STATFS_F_FLAGS.
14466         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
14468         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
14469         Add sys/fanotify.h.
14470         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
14471         fanotify_mask for GLIBC_2.13.
14472         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
14473         fanotify_init and fanotify_mark.
14474         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14475         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
14477         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
14478         Add prlimit.
14479         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
14480         prlimit64 for GLIBC_2.13.
14481         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
14482         prlimit64.
14483         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
14484         syscall.
14485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14486         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14487         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
14488         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
14489         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
14490         add prlimit alias.
14491         * sysdeps/unix/sysv/linux/prlimit.c: New file.
14493         [BZ #11903]
14494         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
14495         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
14497         * nss/Makefile: Add rules to build and run tst-nss-test1.
14498         * shlib-versions: Add entry for libnss_test1.
14499         * nss/nss_test1.c: New file.
14500         * nss/tst-nss-test1.c: New file.
14502         * nss/nsswitch.c (__nss_database_custom): Define new variable.
14503         (__nss_configure_lookup): Set appropriate entry in
14504         __nss_configure_lookup to true.
14505         * nss/nsswitch.h: Define enum with indeces of databases in
14506         databases and __nss_database_custom arrays.  Declare
14507         __nss_database_custom.
14508         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
14509         to avoid using nscd when custom rules are installed.
14510         * nss/getXXbyYY_r.c: Likewise.
14511         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14513         * nss/nss_files/files-parse.c: Whitespace fixes.
14515 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
14517         [BZ #11883]
14518         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
14519         * posix/fnmatch_loop.c: Likewise.
14521 2010-07-17  Andi Kleen  <ak@linux.intel.com>
14523         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
14524         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
14525         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
14526         * Versions.def [GLIBC_2.13]: Add.
14528 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
14530         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14531         Also fail if tpwd after pwuid call is NULL.
14533 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14535         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
14536         when converting to ms.
14538 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14540         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
14541         EOPNOTSUPP errors with ENOTTY.
14542         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
14543         EOPNOTSUPP errors with ENOTTY.
14545 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
14547         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14548         Add strcasecmp_l-ssse3.
14549         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
14550         strcasecmp.
14551         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
14552         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
14553         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
14555 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
14557         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
14559         * string/Makefile (strop-tests): Add strcasecmp.
14560         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14561         strcasecmp_l-nonascii.
14562         (gen-as-const-headers): Add locale-defines.sym.
14563         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
14564         * sysdeps/x86_64/strcasecmp.S: New file.
14565         * sysdeps/x86_64/strcasecmp_l.S: New file.
14566         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
14567         * sysdeps/x86_64/locale-defines.sym: New file.
14568         * string/test-strcasecmp.c: New file.
14570         * string/test-strcasestr.c: Test both ends of the range of characters.
14571         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
14573 2010-07-29  Roland McGrath  <roland@redhat.com>
14575         [BZ #11856]
14576         * manual/locale.texi (Yes-or-No Questions): Fix example code.
14578 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
14580         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
14581         for ld.so.
14583 2010-07-27  Andreas Schwab  <schwab@redhat.com>
14585         * manual/memory.texi (Malloc Tunable Parameters): Document
14586         M_PERTURB.
14588 2010-07-26  Roland McGrath  <roland@redhat.com>
14590         [BZ #11840]
14591         * configure.in (-fgnu89-inline check): Set and substitute
14592         gnu89_inline, not libc_cv_gnu89_inline.
14593         * configure: Regenerated.
14594         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
14596 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
14598         * string/test-strnlen.c: New file.
14599         * string/Makefile (strop-tests): Add strnlen.
14600         * string/tester.c (test_strnlen): Add a few more test cases.
14601         * string/tst-strlen.c: Better error reporting.
14603         * sysdeps/x86_64/strnlen.S: New file.
14605 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
14607         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
14608         lower-latency instructions.
14610 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
14612         * string/test-strcasestr.c: New file.
14613         * string/test-strstr.c: New file.
14614         * string/Makefile (strop-tests): Add strstr and strcasestr.
14615         * string/str-two-way.h: Don't undefine MAX.
14616         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
14618 2010-07-21  Andreas Schwab  <schwab@redhat.com>
14620         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14621         strcasestr-nonascii.
14622         (CFLAGS-strcasestr-nonascii.c): Define.
14623         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
14624         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
14625         Remove unused attribute.
14627 2010-07-20  Roland McGrath  <roland@redhat.com>
14629         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
14630         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
14631         ld.so.cache was broken.  With it, there is no way to disable dsocaps
14632         like LD_HWCAP_MASK can disable hwcaps.
14634 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
14636         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
14638 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
14640         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
14641         call in strcasestr.
14642         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
14643         __strcasestr_sse42_nonascii.
14644         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
14645         strcasestr-nonascii.c.
14646         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
14648 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
14650         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
14651         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
14652         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
14653         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
14655 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
14657         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
14658         fcntl.
14660 2010-07-06  Andreas Schwab  <schwab@redhat.com>
14662         [BZ #11577]
14663         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
14664         dl_signal_cerror.
14666 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
14668         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
14669         _PC_PIPE_BUF using F_GETPIPE_SZ.
14671 2010-07-05  Roland McGrath  <roland@redhat.com>
14673         * manual/arith.texi (Rounding Functions): Fix rint description
14674         implicit in round description.
14676 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
14678         * elf/Makefile: Fix linking for a few tests to make recent linker
14679         happy.
14681 2010-06-30  Andreas Schwab  <schwab@redhat.com>
14683         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14684         $(common-objpfx)libc_nonshared.a.
14686 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
14688         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
14689         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
14690         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14691         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14692         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
14693         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
14694         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14695         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
14697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
14698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
14699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
14701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
14703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
14704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
14705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
14706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
14708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
14710         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
14711         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
14712         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
14713         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
14714         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
14715         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
14716         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
14717         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
14718         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
14719         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
14720         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
14721         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
14722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
14723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
14724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
14725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
14726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
14727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
14728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
14729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
14730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
14731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
14732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
14733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
14734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
14735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
14737 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
14739         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
14740         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
14741         * string/memmove.c (memmove): Renamed to ...
14742         (MEMMOVE): ...this.  Default to memmove.
14743         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
14744         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
14745         (END_CHK): Define.
14746         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14747         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
14748         mempcpy-ssse3-back memmove-ssse3-back.
14749         * sysdeps/x86_64/multiarch/bcopy.S: New file .
14750         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
14751         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
14752         * sysdeps/x86_64/multiarch/memcpy.S: New file.
14753         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
14754         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
14755         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
14756         * sysdeps/x86_64/multiarch/memmove.c: New file.
14757         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
14758         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
14759         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
14760         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
14761         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
14762         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
14763         Define.
14764         (index_Fast_Copy_Backward): Define.
14765         (HAS_ARCH_FEATURE): Define.
14766         (HAS_FAST_REP_STRING): Define.
14767         (HAS_FAST_COPY_BACKWARD): Define.
14769 2010-06-21  Andreas Schwab  <schwab@redhat.com>
14771         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14772         Restore proper fallback handling.
14774 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
14776         [BZ #11701]
14777         * posix/group_member.c (__group_member): Correct checking loop.
14779         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
14780         OOM in getpwuid_r correctly.  Return error number when the caller
14781         should return, otherwise -1.
14782         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
14783         call returning > 0 value.
14784         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
14786 2010-06-07  Andreas Schwab  <schwab@redhat.com>
14788         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
14789         libc_nonshared.a from targets in modules-names.
14791 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
14793         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
14794         requires it.
14796 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
14798         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
14799         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
14800         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
14801         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
14803 2010-06-02  Andreas Schwab  <schwab@redhat.com>
14805         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
14807 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
14809         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
14810         and F_GETPIPE_SZ.
14811         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14812         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14813         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14814         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14815         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14816         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
14818 2010-06-14  Roland McGrath  <roland@redhat.com>
14820         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
14822 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
14824         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
14825         __REDIRECT followed by __THROW.
14826         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
14827         * posix/getopt.h (getopt): Likewise.
14829 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
14831         * hurd/lookup-at.c (__file_name_lookup_at): Accept
14832         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
14833         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
14834         in AT_FLAGS.
14835         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
14836         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
14838 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
14840         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
14842 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
14844         [BZ #11640]
14845         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14846         Properly check family and model.
14848 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
14850         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
14852 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
14854         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
14856 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
14858         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
14859         symbol reference.
14861 2010-05-19  Andreas Schwab  <schwab@redhat.com>
14863         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
14864         symbol reference.
14866 2010-05-21  Andreas Schwab  <schwab@redhat.com>
14868         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
14869         and internal_recvmmsg.
14870         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
14871         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
14872         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
14873         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
14875         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
14876         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14877         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14879 2010-05-20  Andreas Schwab  <schwab@redhat.com>
14881         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
14883 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
14885         POWER7 optimizations.
14886         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
14887         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
14889 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
14891         * version.h: Update for 2.13 development version.
14893 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
14895         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
14896         exceptions.  Return 0.
14898 2010-05-07  Roland McGrath  <roland@redhat.com>
14900         * elf/ldconfig.c (main): Add a const.
14902 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
14904         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
14905         (args_options): Add no-idn option.
14906         (ahosts_keys_int): Add idn_flags to ai_flags.
14907         (parse_option): Handle 'i' option to clear idn_flags.
14909         * malloc/malloc.c (_int_free): Possible race in the most recently
14910         added check.  Only act on the data if no current modification
14911         happened.
14913 See ChangeLog.17 for earlier changes.