PowerPC: Program Priority Register support
[glibc.git] / ChangeLog
bloba65548cac7b5f8daa4ff56fe48b033805686c6b8
1 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3         * manual/platform.texi: Add PowerPC PPR function set documentation.
4         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
5         implementation.
7 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
9         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
10         __ppc_mdoio and __ppc_mdoom.
11         * manual/platform.texi: Document new functions __ppc_yield,
12         __ppc_mdoio and __ppc_mdoom.
14 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
16         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
17         to _sifields.sigfault.
18         (si_addr_lsb): Define new macro.
19         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
23 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
25         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
26         si_trapno and add si_addr_lsb to _sifields.sigfault.
27         (si_trapno): Remove macro.
28         (si_addr_lsb): Define new macro.
29         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
31 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33         [BZ # 15497]
34         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
35         negative infinity on POWER6 or lower.
36         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
38 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
41         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
42         definition.
43         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
44         * sysdeps/unix/sysv/linux/powerpc/init-first.c
45         (_libc_vdso_platform_setup): Add __vdso_time initialization.
46         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
47         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
49 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
52         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
53         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
54         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
55         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
56         powerpc/power5+/fpu folders.
57         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
59 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
62         POWER.
63         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
64         for POWER.
65         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
66         powerpc/power5/fpu folders.
67         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
69 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
72         instructions.
73         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
74         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
75         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
76         * benchtests/Makefile: Add rint benchtest.
77         * benchtests/rint-inputs: Input for rint benchtest.
79 2013-03-28  Alan Modra  <amodra@gmail.com>
81         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
82         Define as empty.
83         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
84         Likewise.
86 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
88         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
89         llroundl symbol when building for PPC32.
91 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
93         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
94         symbol.
96 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
98         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
99         macro to return vdso values correctly in IFUNC implementations.
100         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
101         Optimization by using IFUNC.
103 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
105         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
106         default_ldbl_pack and using as default implementation.
107         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
108         implementation.
109         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
110         redundant definition.
111         (ldbl_insert_mantissa): Likewise.
112         (ldbl_canonicalize): Likewise.
113         (ldbl_nearbyint): Likewise.
114         (ldbl_pack): Rename to ldbl_pack_ppc.
115         (ldbl_unpack): Rename to ldbl_unpack_ppc.
116         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
117         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
119 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
121         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
122         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
123         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
124         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
125         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
126         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
127         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
128         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
130 2013-02-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com> 
132         [BZ #15055] 
133         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use 
134         __ieee754_sqrl instead of __sqrl. 
136 2013-01-18  Anton Blanchard  <anton@samba.org>
137             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
139         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
140         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
141         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
142         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
144         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
145         "+r" and remove output regs list as redundant.  Add explicit inline
146         asm to specify register of return val to work around compiler codegen
147         bug.  Remove (int) cast on return value.  Add return type parameter to
148         use in macro so that this macro does not truncate return value for
149         64-bit values.
150         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
151         pass to INTERNAL_VSYSCALL_NCS.
152         (INLINE_VSYSCALL): Add 'long int' as return type to
153         INTERNAL_VSYSCALL_NCS macro invocation.
154         (INTERNAL_VSYSCALL): Add 'long int' as return type to
155         INTERNAL_VSYSCALL_NCS macro invocation.
156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
158 2013-01-09  Anton Blanchard  <anton@samba.org>
160         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
161         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
162         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
163         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
165 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
167         [BZ #15006]
168         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
169         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
171 2013-03-30  David S. Miller  <davem@davemloft.net>
173         * po/de.po: Update from translation team.
175 2013-01-31  David S. Miller  <davem@davemloft.net>
177         * po/de.po: Update from translation team.
179 2013-01-11  Andreas Jaeger  <aj@suse.de>
181         [BZ #15003]
182         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
183         value. Sync with Linux 3.7.
185 2013-01-09  David S. Miller  <davem@davemloft.net>
187         [BZ# 15003]
188         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
189         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
190         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
191         TCP_FASTOPEN): Define.
192         (tcp_repair_opt): New structure.
193         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
194         enum values.
195         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
196         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
197         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
198         (tcp_cookie_transactions): New structure.
200 2013-01-09  Andreas Jaeger  <aj@suse.de>
202         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
203         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
205 2013-01-01  David S. Miller  <davem@davemloft.net>
207         * po/fr.po: Update from translation team.
208         * po/ca.po: Likewise.
210 2012-12-21  David S. Miller  <davem@davemloft.net>
212         * po/hr.po: Update from translation team.
214 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
216         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
218 2012-12-19  Steve Ellcey  <sellcey@mips.com>
220         * NEWS:  Mention new memcpy for MIPS.
222 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
224         * manual/contrib.texi (Contributors): Spelling correction.
226 2012-12-15  David S. Miller  <davem@davemloft.net>
228         * po/ru.po: Update from translation team.
230 2012-12-13  David S. Miller  <davem@davemloft.net>
232         * NEWS: Mention IFUNC testsuite enhancements.
234         * po/pl.po: Update from translation team.
235         * po/bg.po: Likewise.
237         * manual/contrib.texi (Contributors): Update entries for Hongjiu
238         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
240 2012-12-11  David S. Miller  <davem@davemloft.net>
242         * po/sv.po: Update from translation team.
244         * po/vi.po: Update from translation team.
246         * po/cs.po: Update from translation team.
248         * po/de.po: Update from translation team.
249         * po/eo.po: Likewise.
250         * po/nl.po: Likewise.
252 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
254         [BZ #14246]
255         * manual/argp.texi (Argp Helper Functions): Move node to follow
256         Argp Parsing State.
258         [BZ #14872]
259         * manual/conf.texi (Limits on File System Capacity): Mention if
260         terminating null is included in the max size.
262 2012-12-10  Andreas Jaeger  <aj@suse.de>
264         * po/cs.po: Update from translation team.
266 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
268         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
269         void pointer and cast to uintptr_t.
270         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
271         path.
272         * sysdeps/s390/s390-64/memcpy.S: Likewise.
273         * sysdeps/s390/s390-64/memset.S: Likewise.
275 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
277         [BZ #14833]
278         * menual/message.texi (Message Translation): Fix typos.
279         (Helper programs for gettext): Likewise.
281 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
283         [BZ #14898]
284         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
285         Change to -1.
287 2012-12-07  David S. Miller  <davem@davemloft.net>
289         * po/libc.pot: Update.
291 2012-12-07  Richard Henderson  <rth@redhat.com>
293         [BZ #10114]
294         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
295         normal/normal case to before the switch.
296         (_FP_DIV): Likewise.
298 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
299             Mike Frysinger  <vapier@gentoo.org>
301         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
302         check for __NR_fadvise64_64.
304 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
306         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
307         0, not just to plain "0" as a statement.
308         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
309         with cw.
311 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
313         * NEWS: Use sourceware.org in Bugzilla URL.
315 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
318         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
320         * stdio-common/tst-put-error.c (do_test): Add newline to the
321         padded test to ensure flush.
323 2012-12-05  Jeff Law  <law@redhat.com>
325         * sunrpc/etc.rpc (fedfs_admin): Add entry.
327 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
329         * README: Don't refer to ports add-on as distributed separately.
330         Mention AArch64 in list of systems supported in the ports add-on.
332         * LICENSES: Add more non-FSF copyright and license notices.
334         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
335         ((unused)).
337         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
339         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
340         10000 as width of padded output.
342 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
344         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
346         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
347         variable LX with __attribute__ ((unused)).
348         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
349         Likewise.
350         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
351         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
352         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
353         with __attribute__ ((unused)).
355 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
357         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
359 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
361         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
362         (CFLAGS-nldbl-acos.c): New variable.
363         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
364         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
365         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
366         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
367         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
368         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
369         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
370         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
371         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
372         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
373         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
374         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
375         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
376         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
377         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
378         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
379         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
380         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
381         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
382         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
383         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
384         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
385         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
386         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
387         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
388         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
389         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
390         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
391         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
392         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
393         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
394         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
395         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
396         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
397         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
398         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
399         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
400         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
401         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
402         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
403         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
404         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
405         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
406         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
407         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
408         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
409         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
410         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
411         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
412         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
413         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
414         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
415         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
416         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
417         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
418         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
419         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
420         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
421         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
422         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
423         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
424         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
425         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
426         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
427         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
428         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
429         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
430         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
431         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
432         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
433         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
434         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
435         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
436         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
437         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
438         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
439         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
440         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
441         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
442         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
443         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
444         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
445         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
446         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
447         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
448         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
449         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
450         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
451         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
452         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
453         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
454         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
455         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
456         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
457         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
458         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
459         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
462         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
464         [BZ #14914]
465         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
466         whole low double instead of just low 47 bits when splitting values
467         into two parts.
469 2012-12-03  Allan McRae  <allan@archlinux.org>
471         * manual/stdio.texi (Predefined Printf Handlers): Remove
472         @hsep and @vsep usage.
474 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
476         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
477         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
479 2012-12-03  Jeff Law  <law@redhat.com>
481         * time/sys/time.h (settimeofday): Do not mark TV argument
482         as __nonnull.
484 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
486         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
487         when currently writing and seek to current position when not.
488         * libio/Makefile (tests): Remove bug-fclose1.
489         * libio/bug-fclose1.c: Delete.
491 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
493         * manual/arith.texi (feenableexcept): Fix typo.
494         (fedisableexcept): Likewise.
496 2012-11-30  Roland McGrath  <roland@hack.frob.com>
498         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
499         second, differently-typed declaration, rather than a cast.
501 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
503         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
504         * include/rpc/svc.h: ... here.
506 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
508         [BZ #13013]
509         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
510         depending n and resplen2 to catch cases where answer
511         equals answerp2.
513 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
515         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
516         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
518 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
520         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
522 2012-11-29  Roland McGrath  <roland@hack.frob.com>
524         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
526 2012-11-28  Jeff Law  <law@redhat.com>
528         [BZ #13761]
529         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
530         dataset_temporary.  Track alloca usage into alloca_used.
531         If dataset is large allocate and release it via malloc/free.
533 2012-06-04  Florian Weimer  <fweimer@redhat.com>
535         [BZ #14197]
536         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
538 2012-11-28  David S. Miller  <davem@davemloft.net>
540         * sysdeps/sparc/fpu/libm-test-ulps: Update.
542 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
544         [BZ #14803]
545         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
546         of pi/2 rounded to nearest to 64 bits.
547         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
548         nearest to 64 bits.
549         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
550         bits.
552 2012-11-28  Jeff Law <law@redhat.com>
553             Martin Osvald <mosvald@redhat.com>
555         [BZ #14889]
556         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
557         * sunrpc/svc.c: Include time.h.
558         (__svc_accept_failed): New function.
559         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
560         any reason other than EINTR, call __svc_accept_failed.
561         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
562         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
564 2012-11-28  Andreas Schwab  <schwab@suse.de>
566         * scripts/abilist.awk: Also handle indirect functions in .opd
567         section.
569 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
571         [BZ #13881]
572         * sysdeps/x86/fpu/powl_helper.c: New file.
573         * sysdeps/x86/fpu/Makefile: Likewise.
574         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
575         (p3): New object.
576         (__ieee754_powl): Use __powl_helper for finite arguments except
577         integer exponents below 8.
578         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
579         (p3): New object.
580         (__ieee754_powl): Use __powl_helper for finite arguments except
581         integer exponents below 8.
582         * math/libm-test.inc (pow_test): Add more tests and enable some
583         previously disabled tests.
584         * sysdeps/i386/fpu/libm-test-ulps: Update.
585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
587 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
588             Carlos O'Donell  <carlos_odonell@mentor.com>
590         * nss/makedb.c (is_prime): Assert that input is odd and greater
591         than 4.  Note that fact in a comment too.
592         (next_prime): Add 4 to input.
594 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
596         [BZ #11741]
597         * libio/Makefile (tests): Add test case tst-fwrite-error.
598         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
599         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
600         * libio/tst-fwrite-error.c: New test case.
602 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
604         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
605         before casting to void *.
606         * include/libc-internal.h (__pointer_type): New macro.
607         (__integer_if_pointer_type_sub): Likewise.
608         (__integer_if_pointer_type): Likewise.
609         (cast_to_integer): Likewise.
610         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
611         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
612         before casting to atomic64_t.
613         (atomic_exchange_acq): Likewise.
614         (__arch_exchange_and_add_body): Likewise.
615         (__arch_add_body): Likewise.
616         (atomic_add_negative): Likewise.
617         (atomic_add_zero): Likewise.
619 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
621         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
622         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
623         (add_fdes): Likewise.
624         (linear_search_fdes): Likewise.
625         (binary_search_unencoded_fdes): Likewise.
627 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
629         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
631 2012-11-24  Adam Conrad  <adconrad@0c3.net>
633         * configure.in: Autodetect C++ header directories.
634         * configure: Regenerated.
636 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
638         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
640 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
642         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
644 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
646         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
647         LDBL_MANT_DIG == 106]: Disable some tests.
648         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
649         Likewise.
650         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
651         Likewise.
653         [BZ #14871]
654         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
655         input for small inputs.  Return +/- pi/2 for large inputs.
656         * math/libm-test.inc (atan_test): Add more tests.
658         * sysdeps/generic/unwind-dw2-fde-glibc.c
659         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
660         __attribute__ ((unused)).
662         [BZ #14645]
663         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
664         x * y if x and y are nonzero and z is zero.
666         [BZ #14811]
667         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
668         nonzero exponents with absolute value below 0x1p-117 to +/-
669         0x1p-117.
671         [BZ #14869]
672         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
673         up arguments below 2**-450, not just those below 2**-500.
674         * math/libm-test.inc (hypot_test): Add another test.
676         [BZ #14868]
677         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
678         Return a+b for ratio over 2**120, not 2**60.
679         * math/libm-test.inc (hypot_test): Add another test.
681         * math/libm-test.inc (clog_test): Use
682         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
683         (clog10_test): Likewise.
685         [BZ #6778]
686         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
688 2012-11-22  Andreas Schwab  <schwab@suse.de>
690         * sysdeps/i386/fpu/libm-test-ulps: Update.
692 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
694         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
695         printf output with newline.
697 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
699         [BZ #14865]
700         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
701         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
702         -z nodlopen, -z initfirst and -z execstack support.
703         * configure: Regenerated.
705         * elf/elf.h (DF_1_NODIRECT): New macro.
706         (DF_1_IGNMULDEF): Likewise.
707         (DF_1_NOKSYMS): Likewise.
708         (DF_1_NOHDR): Likewise.
709         (DF_1_EDITED): Likewise.
710         (DF_1_NORELOC): Likewise.
711         (DF_1_SYMINTPOSE): Likewise.
712         (DF_1_GLOBAUDIT): Likewise.
713         (DF_1_SINGLETON): Likewise.
714         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
715         DT_1_SUPPORTED_MASK bits.
716         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
718 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
720         * sysdeps/unix/make-syscalls.sh: Document prefixes.
722 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
724         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
725         macro.
727         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
728         (sendmmsg): Move declarations...
729         * socket/sys/socket.h: ... here.
730         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
731         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
732         include it from...
733         * socket/recvmmsg.c: ... this new file.
734         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
735         (sendmmsg): Rename to __sendmmsg, create weak alias and make
736         definition of __sendmmsg hidden.
737         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
738         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
739         Move ENOSYS stub into and include it from...
740         * socket/sendmmsg.c: ... this new file.
741         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
742         (sysdep_routines): Move recvmmsg and sendmmsg...
743         * socket/Makefile (routines): ... here.
744         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
745         (GLIBC_PRIVATE): Add __sendmmsg.
746         * include/sys/socket.h (__sendmmsg): Add declarations.
747         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
748         sendmmsg.
750 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
752         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
753         variable I1 with __attribute__ ((unused)).
754         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
756 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
758         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
759         DUMMY variables with __attribute__ ((unused)).
761         * bits/byteswap.h: Include <bits/types.h>.
762         (__bswap_64): Use __uint64_t instead of unsigned long long int.
764 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
766         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
767         string_t.  Do not manually set errno.
768         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
769         length with __strnlen.  Make sure to both set errno and return it on
770         failure.
772 2012-11-19  David S. Miller  <davem@davemloft.net>
774         With help from Joseph Myers.
775         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
776         very large arguments properly.
777         * math/libm-test.inc (atan_test): New tests.
778         (atan2_test): New tests.
779         * sysdeps/sparc/fpu/libm-test-ulps: Update.
780         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
782 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
784         [BZ #14856]
785         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
786         Define to 3.
788         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
789         [POSIX] (EADDRNOTAVAIL): Likewise.
790         [POSIX] (EAFNOSUPPORT): Likewise.
791         [POSIX] (EALREADY): Likewise.
792         [POSIX] (ECONNABORTED): Likewise.
793         [POSIX] (ECONNREFUSED): Likewise.
794         [POSIX] (ECONNRESET): Likewise.
795         [POSIX] (EDESTADDRREQ): Likewise.
796         [POSIX] (EDQUOT): Likewise.
797         [POSIX] (EHOSTUNREACH): Likewise.
798         [POSIX] (EIDRM): Likewise.
799         [POSIX] (EISCONN): Likewise.
800         [POSIX] (ELOOP): Likewise.
801         [POSIX] (EMULTIHOP): Likewise.
802         [POSIX] (ENETDOWN): Likewise.
803         [POSIX] (ENETUNREACH): Likewise.
804         [POSIX] (ENOBUFS): Likewise.
805         [POSIX] (ENODATA): Likewise.
806         [POSIX] (ENOLINK): Likewise.
807         [POSIX] (ENOMSG): Likewise.
808         [POSIX] (ENOPROTOOPT): Likewise.
809         [POSIX] (ENOSR): Likewise.
810         [POSIX] (ENOSTR): Likewise.
811         [POSIX] (ENOTCONN): Likewise.
812         [POSIX] (ENOTSOCK): Likewise.
813         [POSIX] (EOPNOTSUPP): Likewise.
814         [POSIX] (EOVERFLOW): Likewise.
815         [POSIX] (EPROTO): Likewise.
816         [POSIX] (EPROTONOSUPPORT): Likewise.
817         [POSIX] (EPROTOTYPE): Likewise.
818         [POSIX] (ESTALE): Likewise.
819         [POSIX] (ETIME): Likewise.
820         [POSIX] (ETXTBSY): Likewise.
821         [POSIX] (EWOULDBLOCK): Likewise.
822         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
823         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
824         [POSIX] (SEEK_CUR): Likewise.
825         [POSIX] (SEEK_END): Likewise.
826         [POSIX || UNIX98] (mode_t): Do not require.
827         [POSIX] (off_t): Likewise.
828         [POSIX] (pid_t): Likewise.
829         [POSIX] (sys/stat.h): Do not allow header.
830         [POSIX] (unistd.h): Likewise.
831         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
832         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
833         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
834         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
835         require.
836         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
837         sigevent): Specify elements.
838         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
839         entry.
840         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
841         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
843         * conform/data/cpio.h-data [POSIX]: Disable whole file.
844         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
845         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
846         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
847         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
848         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
849         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
850         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
851         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
852         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
853         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
854         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
855         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
856         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
857         Likewise.
858         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
859         Likewise.
860         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
861         Likewise.
862         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
863         Likewise.
864         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
865         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
866         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
867         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
868         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
869         Specify lower bound on value.
870         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
871         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
872         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
873         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
874         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
875         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
876         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
877         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
878         value.
879         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
880         as optional.
881         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
882         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
883         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
884         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
885         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
886         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
887         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
888         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
889         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
890         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
891         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
892         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
893         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
894         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
895         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
896         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
897         entry.
898         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
899         optional.
900         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
901         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
902         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
903         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
904         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
905         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
906         Likewise.
907         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
908         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
909         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
910         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
911         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
912         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
913         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
914         as optional.
915         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
916         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
917         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
918         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
919         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
920         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
921         specify as optional.
922         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
923         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
924         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
925         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
926         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
927         [XPG3] (NL_LANGMAX): Likewise.
928         [POSIX || XPG3] (NL_MSGMAX): Likewise.
929         [POSIX || XPG3] (NL_NMAX): Likewise.
930         [POSIX || XPG3] (NL_SETMAX): Likewise.
931         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
932         [XPG3] (NZERO): Likewise.
933         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
934         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
935         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
936         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
937         (REG_ERANGE): Expect.
938         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
939         optional-constant.
940         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
941         Use (void) in prototype.
942         [POSIX] (*_t): Allow.
943         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
944         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
945         (WRDE_BADVAL): Expect.
947         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
948         expect.
949         [XPG3 || XPG4] (O_RSYNC): Likewise.
950         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
951         Likewise.
952         [XPG3 || XPG4] (pthread_sigmask): Likewise.
953         [XPG3 || XPG4] (sigqueue): Likewise.
954         [XPG3 || XPG4] (sigtimedwait): Likewise.
955         [XPG3 || XPG4] (sigwaitinfo): Likewise.
956         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
957         [XPG3 || XPG4] (vsnprintf): Likewise.
958         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
959         Likewise.
960         [XPG3 || XPG4] (blksize_t): Likewise.
961         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
962         Likewise.
963         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
964         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
965         [XPG3 || XPG4] (struct itimerspec): Likewise.
966         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
967         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
968         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
969         [XPG3 || XPG4] (clockid_t): Likewise.
970         [XPG3 || XPG4] (timer_t): Likewise.
971         [XPG3 || XPG4] (clock_getres): Likewise.
972         [XPG3 || XPG4] (clock_gettime): Likewise.
973         [XPG3 || XPG4] (clock_settime): Likewise.
974         [XPG3 || XPG4] (nanosleep): Likewise.
975         [XPG3 || XPG4] (timer_create): Likewise.
976         [XPG3 || XPG4] (timer_delete): Likewise.
977         [XPG3 || XPG4] (timer_gettime): Likewise.
978         [XPG3 || XPG4] (timer_getoverrun): Likewise.
979         [XPG3 || XPG4] (timer_settime): Likewise.
980         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
981         [XPG3 || XPG4] (getlogin_r): Likewise.
982         [XPG3 || XPG4] (pread): Likewise.
983         [XPG3 || XPG4] (pthread_atfork): Likewise.
984         [XPG3 || XPG4] (pwrite): Likewise.
986         [BZ #14835]
987         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
988         <bits/siginfo.h>.
990 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
992         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
993         finalizing MALLSTREAM.
995         * sysdeps/mach/hurd/syncfs.c: New file.
997 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
999         [BZ #14719]
1000         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
1001         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
1002         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
1003         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
1004         (_nss_dns_gethostbyname4_r): Likewise.
1005         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
1006         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
1008 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
1010         [BZ #13763]
1011         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
1013 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
1015         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
1016         * elf/cache.c (print_entry): Print ",AArch64" for
1017         FLAG_AARCH64_LIB64
1019         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
1020         * elf/cache.c (print_entry): Print ",hard-float" for
1021         FLAG_ARM_LIBHF.
1023 2012-11-18  David S. Miller  <davem@davemloft.net>
1025         With help from Joseph Myers.
1026         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
1027         cutoff to 2**-13.
1028         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
1029         cutoff to 2**-25.
1030         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
1031         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
1032         small.
1033         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
1034         * math/libm-test.inc (y0_test): New tests.
1035         (y1_test): New tests.
1036         * sysdeps/i386/fpu/libm-test-ulps: Update.
1037         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1038         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1040 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
1042         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
1043         64-bit targets.
1044         * configure: Regenerated.
1046 2012-11-17  David S. Miller  <davem@davemloft.net>
1048         [BZ #14811]
1049         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
1050         nonzero exponents with absolute value below 0x1p-128 to +/-
1051         0x1p-128.
1053 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
1055         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
1057         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
1059         * posix/getconf-speclist.c: New file.
1060         * posix/posix-envs.def: Likewise.
1061         * posix/confstr.c (START_ENV_GROUP): New macro.
1062         (END_ENV_GROUP): Likewise.
1063         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
1064         (KNOWN_PRESENT_ENV_STRING): Likewise.
1065         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
1066         (UNKNOWN_ENVIRONMENT): Likewise.
1067         (confstr): Include posix-envs.def instead of handling
1068         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
1069         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
1070         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
1071         (END_ENV_GROUP): Likewise.
1072         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
1073         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
1074         (UNKNOWN_ENVIRONMENT): Likewise.
1075         (__sysconf): Include posix-envs.def instead of handling associated
1076         cases directly here.
1077         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
1078         preprocessing getconf-speclist.c rather than running getconf or
1079         generating empty file.
1081 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
1083         * scripts/check-local-headers.sh: Ignore 'mach' headers.
1085 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
1087         [BZ #14672]
1088         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
1090 2012-11-16  David S. Miller  <davem@davemloft.net>
1092         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
1093         smaller than LDBL_EPSILON/2.0L, just return xm1.
1095 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
1097         * elf/tst-array1.c (init): Set constructor priority to 1000.
1098         (fini): Set destructor priority to 1000.
1099         * elf/tst-array2dep.c: Likewise.
1101 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1103         [BZ #11741]
1104         * libio/fileops.c (_IO_new_file_write): Correctly return error.
1105         (_IO_new_file_xsputn): Also return EOF if none of the input
1106         data was written when overflow failed.
1107         * libio/iopadn.c (_IO_padn): Likewise.
1108         * libio/iowpadn.c (_IO_wpadn): Likewise.
1109         * stdio-common/tst-put-error.c: Add copyright notice.
1110         (do_test): Add case for printing padded string.
1111         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
1112         _IO_padn returned error.
1113         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
1114         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
1115         return EOF.
1117 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1119         * libio/libioP.h: Add comment note that the references to C++
1120         bits are now obsolete.
1122 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1124         * math/libm-test.inc (check_complex): Use asprintf.
1126 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
1128         * debug/pcprofiledump.c (print_version): Update copyright year.
1129         * malloc/memusagestat.c (print_version): Likewise.
1131 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
1133         [BZ #14831]
1134         * elf/Makefile (tests): Add tst-audit8.
1135         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
1136         ($(objpfx)tst-audit8.out): New target.
1137         (tst-audit8-ENV): New variable.
1138         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
1139         audit if l_reloc_result is NULL.
1140         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
1141         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
1142         * elf/tst-audit8.c: New file.
1144 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1146         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
1147         * misc/Makefile (CFLAGS-select.c): Define.
1148         * posix/Makefile (CFLAGS-pause.c): Define.
1150 2012-11-13  David S. Miller  <davem@davemloft.net>
1152         * crypt/Makefile: Move test targets after toplevel Rules
1153         inclusion.  Grab any necessary sysdep routines when linking.
1154         * crypt/md5.c (md5_process_block): Remove define, we will always
1155         name it __md5_process_block.
1156         (md5_finish_ctx): Update md5_process_block call.
1157         (md5_stream): Likewise.
1158         (md5_process_bytes): Likewise.
1159         (md5_process_block): Rename to __md5_process_block and move to ...
1160         * crypt/md5-block.c: ... here.
1161         * crypt/sha256.c (sha256_process_block): Move to ...
1162         * crypt/sha256-block.c: ... here.
1163         * crypt/sha512.c (sha512_process_block): Move to ...
1164         * crypt/sha512-block.c: ... here.
1165         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
1166         path.
1167         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
1168         * sysdeps/sparc/sparc64/multiarch/Makefile
1169         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
1170         crypt subdir.
1171         (localedef-aux): Add md5 crypto assembler when in locale subdir.
1172         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
1173         multiarch changes.
1174         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
1175         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
1176         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
1177         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
1178         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
1179         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
1180         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
1181         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
1182         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
1183         file.
1184         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
1185         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
1186         file.
1187         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
1189 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
1191         * timezone/tzselect.ksh: Update from tzcode git revision
1192         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
1193         * timezone/zdump.c: Likewise.
1194         * timezone/zic.c: Likewise.
1195         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
1196         in TZVERSION setting, not $(PKGVERSION).
1197         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
1198         REPORT_BUGS_TO settings.
1200         [BZ #14838]
1201         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
1202         macro.
1204 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1206         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
1207         detection to immediately after _FP_ROUND().
1208         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
1209         bits are 0.
1211 2012-11-11  David S. Miller  <davem@davemloft.net>
1213         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
1214         inttypes.h
1215         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
1216         __close rather than their public counterparts.
1218 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
1220         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
1221         file.
1222         [UNIX98] (sem_timedwait): Do not expect.
1223         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
1224         [XPG4 || UNIX98] (sockatmark): Do not expect.
1225         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
1226         (clock_getcpuclockid): Do not expect.
1227         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
1228         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
1229         Do not expect.
1230         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
1231         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
1232         [UNIX98] (vwscanf): Likewise.
1233         [UNIX98] (vswscanf): Likewise.
1235 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
1237         * timezone/version.h: Remove file.
1238         * timezone/README: Do not refer to version.h.
1239         * timezone/Makefile ($(objpfx)zic.o): New dependency on
1240         $(objpfx)version.h.
1241         ($(objpfx)zdump.o): Likewise.
1242         ($(objpfx)version.h): New target.
1244         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
1245         2012i.
1246         * timezone/README: Don't mention modification to tzselect.ksh.
1247         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
1248         work on unmodified tzselect.ksh.  Substitute version numbers in
1249         tzselect.ksh.
1251         * Makefile (format-me): Remove.
1252         (INSTALL): Adjust indentation.  Use commands directly instead of
1253         using $(format-me).
1255         * aclocal.m4 (ACX_PKGVERSION): New macro.
1256         (ACX_BUGURL): Likewise.
1257         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
1258         (PKGVERSION): New AC_DEFINE_UNQUOTED.
1259         (REPORT_BUGS_TO): Likewise.
1260         * configure: Regenerated.
1261         * config.h.in (PKGVERSION): New macro.
1262         (REPORT_BUGS_TO): Likewise.
1263         * config.make.in (PKGVERSION): New variable.
1264         (PKGVERSION_TEXI): Likewise.
1265         (REPORT_BUGS_TO): Likewise.
1266         (REPORT_BUGS_TEXI): Likewise.
1267         * Makefile (format-me): Use -I$(common-objpfx)manual.
1268         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
1269         ($(common-objpfx)manual/%): New target.
1270         (manual/%): Remove target.
1271         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
1272         (print_version): Use PKGVERSION.
1273         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
1274         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
1275         and REPORT_BUGS_TO.
1276         ($(objpfx)xtrace): Likewise.
1277         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
1278         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
1279         (print_version): Use PKGVERSION.
1280         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
1281         (do_version): Use PKGVERSION.
1282         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
1283         REPORT_BUGS_TO.
1284         (common-ldd-rewrite): Likewise.
1285         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
1286         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
1287         (print_version): Use PKGVERSION.
1288         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
1289         * elf/pldd.c (argp_program_bug_address): Remove variable.
1290         (more_help): New function.
1291         (argp): Use more_help.
1292         (print_version): Use PKGVERSION.
1293         * elf/sln.c (main): Use PKGVERSION.
1294         (usage): Use REPORT_BUGS_TO.
1295         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
1296         (top level): Use PKGVERSION.
1297         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
1298         (print_version): Use PKGVERSION.
1299         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
1300         (print_version): Use PKGVERSION.
1301         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
1302         (print_version): Use PKGVERSION.
1303         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
1304         (print_version): Use PKGVERSION.
1305         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
1306         (print_version): Use PKGVERSION.
1307         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
1308         (print_version): Use PKGVERSION.
1309         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
1310         and BUGURL.
1311         ($(objpfx)memusage): Likewise.
1312         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
1313         (do_version): Use PKGVERSION.
1314         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
1315         (print_version): Use PKGVERSION.
1316         * malloc/mtrace.pl ($PACKAGE): Remove variable.
1317         ($PKGVERSION): New variable.
1318         ($REPORT_BUGS_TO): Likewise.
1319         (usage): Use $REPORT_BUGS_TO.
1320         (top level): Use $PKGVERSION.
1321         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
1322         ($(objpfx)pkgvers.texi): New rule.
1323         ($(objpfx)stamp-pkgvers): Likewise.
1324         * manual/install.texi: Include pkgvers.texi.
1325         (--with-pkgversion): Document new configure option.
1326         (--with-bugurl): Likewise.
1327         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
1328         than necessarily for this particular distribution.  Use
1329         REPORT_BUGS_TO for where to report bugs.
1330         * INSTALL: Regenerated.
1331         * manual/libc.texinfo: Include pkgvers.texi.
1332         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
1333         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
1334         (print_version): Use PKGVERSION.
1335         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
1336         (print_version): Use PKGVERSION.
1337         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
1338         (print_version): Use PKGVERSION.
1339         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
1340         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
1341         macro.
1342         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
1343         (print_version): Use PKGVERSION.
1344         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
1345         (print_version): Use PKGVERSION.
1346         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
1347         and PKGVERSION.
1349         * timezone/checktab.awk: Update from tzcode 2012i.
1350         * timezone/ialloc.c: Likewise.
1351         * timezone/private.h: Likewise.
1352         * timezone/scheck.c: Likewise.
1353         * timezone/tzfile.h: Likewise.
1354         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
1355         (TZVERSION): Hardcode tzcode version number.
1356         * timezone/zdump.c: Update from tzcode 2012i.
1357         * timezone/zic.c: Likewise.
1358         * timezone/version.h: New file.
1359         * timezone/README: Describe version.h.  Update upstream location.
1361         [BZ #14824]
1362         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
1363         (mktemp): Enable declaration.
1364         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
1365         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
1366         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
1367         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
1368         Likewise.
1369         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
1370         Likewise.
1371         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
1372         Likewise.
1373         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
1374         Likewise.
1375         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
1376         Likewise.
1377         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
1378         Likewise.
1380         [BZ #14821]
1381         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
1382         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
1383         for copies of such integer values.
1384         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
1385         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
1387 2012-11-09  Andreas Jaeger  <aj@suse.de>
1389         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
1390         definitions and declarations that are provided by
1391         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1393 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1395         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
1396         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
1397         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
1398         definition.
1400 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1402         * elf/elf.h: Update comment before AArch64 relocations.
1404 2012-11-07  David S. Miller  <davem@davemloft.net>
1406         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
1407         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1408         (__start_context): Declare.
1409         (__makecontext_ret): Delete.
1410         (__makecontext): Hook up __start_context instead of
1411         __makecontext_ret.
1412         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
1413         (sysdep_routines): Add __start_context when in stdlib.
1415 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
1417         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
1418         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
1419         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
1420         hardcoded "nm".
1421         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
1422         (READELF): New variable.  Use it instead of hardcoded "readelf".
1424 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
1426         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
1427         * sysdeps/x86/Makefile: Here.
1428         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
1429         * sysdeps/x86/tst-xmmymm.sh: This.
1431 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
1433         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
1434         expectations.
1435         [UNIX98] (pthread_barrier_t): Do not expect.
1436         [UNIX98] (pthread_barrierattr_t): Likewise.
1437         [UNIX98] (pthread_spinlock_t): Likewise.
1438         [UNIX98] (pthread_barrier_destroy): Likewise.
1439         [UNIX98] (pthread_barrier_init): Likewise.
1440         [UNIX98] (pthread_barrier_wait): Likewise.
1441         [UNIX98] (pthread_barrierattr_destroy): Likewise.
1442         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
1443         [UNIX98] (pthread_barrierattr_init): Likewise.
1444         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
1445         [UNIX98] (pthread_getcpuclockid): Likewise.
1446         [UNIX98] (pthread_mutex_timedlock): Likewise.
1447         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
1448         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
1449         [UNIX98] (pthread_sigmask): Likewise.
1450         [UNIX98] (pthread_spin_destroy): Likewise.
1451         [UNIX98] (pthread_spin_init): Likewise.
1452         [UNIX98] (pthread_spin_lock): Likewise.
1453         [UNIX98] (pthread_spin_trylock): Likewise.
1454         [UNIX98] (pthread_spin_unlock): Likewise.
1455         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
1456         Do not expect.
1457         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
1458         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
1459         [XPG3 || XPG4] (pthread_cond_t): Likewise.
1460         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
1461         [XPG3 || XPG4] (pthread_key_t): Likewise.
1462         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
1463         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
1464         [XPG3 || XPG4] (pthread_once_t): Likewise.
1465         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
1466         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
1467         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
1468         [XPG3 || XPG4] (pthread_t): Likewise.
1470         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
1471         not expect.
1472         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
1474         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
1475         Change function return type to int.
1477         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
1478         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
1479         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
1480         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
1481         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
1482         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
1483         [!POSIX] (posix_madvise): Likewise.
1484         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
1485         && !UNIX98].
1486         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
1487         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
1488         (mode_t): Likewise.
1489         (posix_mem_offset): Likewise.
1490         (posix_typed_mem_get_info): Likewise.
1491         (posix_typed_mem_open): Likewise.
1493         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
1494         Change condition to [XOPEN2K8].
1496         * conform/conformtest.pl: Preprocess allow-header data with -x c
1497         instead of from stdin.
1498         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
1499         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
1500         [C99-based standards] (cerfc): Likewise.
1501         [C99-based standards] (cexp2): Likewise.
1502         [C99-based standards] (cexpm1): Likewise.
1503         [C99-based standards] (clog10): Likewise.
1504         [C99-based standards] (clog1p): Likewise.
1505         [C99-based standards] (clog2): Likewise.
1506         [C99-based standards] (clgamma): Likewise.
1507         [C99-based standards] (ctgamma): Likewise.
1508         [C99-based standards] (cerff): Likewise.
1509         [C99-based standards] (cerfcf): Likewise.
1510         [C99-based standards] (cexp2f): Likewise.
1511         [C99-based standards] (cexpm1f): Likewise.
1512         [C99-based standards] (clog10f): Likewise.
1513         [C99-based standards] (clog1pf): Likewise.
1514         [C99-based standards] (clog2f): Likewise.
1515         [C99-based standards] (clgammaf): Likewise.
1516         [C99-based standards] (ctgammaf): Likewise.
1517         [C99-based standards] (cerfl): Likewise.
1518         [C99-based standards] (cerfcl): Likewise.
1519         [C99-based standards] (cexp2l): Likewise.
1520         [C99-based standards] (cexpm1l): Likewise.
1521         [C99-based standards] (clog10l): Likewise.
1522         [C99-based standards] (clog1pl): Likewise.
1523         [C99-based standards] (clog2l): Likewise.
1524         [C99-based standards] (clgammal): Likewise.
1525         [C99-based standards] (ctgammal): Likewise.
1526         * conform/data/inttypes.h-data [C99-based standards]: Include
1527         stdint.h-data.  Remove all expectations for stdint.h contents.
1528         [C99-based standards] (PRI*): Do not allow.
1529         [C99-based standards] (SCN*): Likewise.
1530         [C99-based standards] (*_t): Likewise.
1531         [C99-based-standards] (PRId8): Expect macro.
1532         [C99-based-standards] (PRIi8): Likewise.
1533         [C99-based-standards] (PRIo8): Likewise.
1534         [C99-based-standards] (PRIu8): Likewise.
1535         [C99-based-standards] (PRIx8): Likewise.
1536         [C99-based-standards] (PRIX8): Likewise.
1537         [C99-based-standards] (SCNd8): Likewise.
1538         [C99-based-standards] (SCNi8): Likewise.
1539         [C99-based-standards] (SCNo8): Likewise.
1540         [C99-based-standards] (SCNu8): Likewise.
1541         [C99-based-standards] (SCNx8): Likewise.
1542         [C99-based-standards] (PRIdLEAST8): Likewise.
1543         [C99-based-standards] (PRIiLEAST8): Likewise.
1544         [C99-based-standards] (PRIoLEAST8): Likewise.
1545         [C99-based-standards] (PRIuLEAST8): Likewise.
1546         [C99-based-standards] (PRIxLEAST8): Likewise.
1547         [C99-based-standards] (PRIXLEAST8): Likewise.
1548         [C99-based-standards] (SCNdLEAST8): Likewise.
1549         [C99-based-standards] (SCNiLEAST8): Likewise.
1550         [C99-based-standards] (SCNoLEAST8): Likewise.
1551         [C99-based-standards] (SCNuLEAST8): Likewise.
1552         [C99-based-standards] (SCNxLEAST8): Likewise.
1553         [C99-based-standards] (PRIdFAST8): Likewise.
1554         [C99-based-standards] (PRIiFAST8): Likewise.
1555         [C99-based-standards] (PRIoFAST8): Likewise.
1556         [C99-based-standards] (PRIuFAST8): Likewise.
1557         [C99-based-standards] (PRIxFAST8): Likewise.
1558         [C99-based-standards] (PRIXFAST8): Likewise.
1559         [C99-based-standards] (SCNdFAST8): Likewise.
1560         [C99-based-standards] (SCNiFAST8): Likewise.
1561         [C99-based-standards] (SCNoFAST8): Likewise.
1562         [C99-based-standards] (SCNuFAST8): Likewise.
1563         [C99-based-standards] (SCNxFAST8): Likewise.
1564         [C99-based-standards] (PRId16): Likewise.
1565         [C99-based-standards] (PRIi16): Likewise.
1566         [C99-based-standards] (PRIo16): Likewise.
1567         [C99-based-standards] (PRIu16): Likewise.
1568         [C99-based-standards] (PRIx16): Likewise.
1569         [C99-based-standards] (PRIX16): Likewise.
1570         [C99-based-standards] (SCNd16): Likewise.
1571         [C99-based-standards] (SCNi16): Likewise.
1572         [C99-based-standards] (SCNo16): Likewise.
1573         [C99-based-standards] (SCNu16): Likewise.
1574         [C99-based-standards] (SCNx16): Likewise.
1575         [C99-based-standards] (PRIdLEAST16): Likewise.
1576         [C99-based-standards] (PRIiLEAST16): Likewise.
1577         [C99-based-standards] (PRIoLEAST16): Likewise.
1578         [C99-based-standards] (PRIuLEAST16): Likewise.
1579         [C99-based-standards] (PRIxLEAST16): Likewise.
1580         [C99-based-standards] (PRIXLEAST16): Likewise.
1581         [C99-based-standards] (SCNdLEAST16): Likewise.
1582         [C99-based-standards] (SCNiLEAST16): Likewise.
1583         [C99-based-standards] (SCNoLEAST16): Likewise.
1584         [C99-based-standards] (SCNuLEAST16): Likewise.
1585         [C99-based-standards] (SCNxLEAST16): Likewise.
1586         [C99-based-standards] (PRIdFAST16): Likewise.
1587         [C99-based-standards] (PRIiFAST16): Likewise.
1588         [C99-based-standards] (PRIoFAST16): Likewise.
1589         [C99-based-standards] (PRIuFAST16): Likewise.
1590         [C99-based-standards] (PRIxFAST16): Likewise.
1591         [C99-based-standards] (PRIXFAST16): Likewise.
1592         [C99-based-standards] (SCNdFAST16): Likewise.
1593         [C99-based-standards] (SCNiFAST16): Likewise.
1594         [C99-based-standards] (SCNoFAST16): Likewise.
1595         [C99-based-standards] (SCNuFAST16): Likewise.
1596         [C99-based-standards] (SCNxFAST16): Likewise.
1597         [C99-based-standards] (PRId32): Likewise.
1598         [C99-based-standards] (PRIi32): Likewise.
1599         [C99-based-standards] (PRIo32): Likewise.
1600         [C99-based-standards] (PRIu32): Likewise.
1601         [C99-based-standards] (PRIx32): Likewise.
1602         [C99-based-standards] (PRIX32): Likewise.
1603         [C99-based-standards] (SCNd32): Likewise.
1604         [C99-based-standards] (SCNi32): Likewise.
1605         [C99-based-standards] (SCNo32): Likewise.
1606         [C99-based-standards] (SCNu32): Likewise.
1607         [C99-based-standards] (SCNx32): Likewise.
1608         [C99-based-standards] (PRIdLEAST32): Likewise.
1609         [C99-based-standards] (PRIiLEAST32): Likewise.
1610         [C99-based-standards] (PRIoLEAST32): Likewise.
1611         [C99-based-standards] (PRIuLEAST32): Likewise.
1612         [C99-based-standards] (PRIxLEAST32): Likewise.
1613         [C99-based-standards] (PRIXLEAST32): Likewise.
1614         [C99-based-standards] (SCNdLEAST32): Likewise.
1615         [C99-based-standards] (SCNiLEAST32): Likewise.
1616         [C99-based-standards] (SCNoLEAST32): Likewise.
1617         [C99-based-standards] (SCNuLEAST32): Likewise.
1618         [C99-based-standards] (SCNxLEAST32): Likewise.
1619         [C99-based-standards] (PRIdFAST32): Likewise.
1620         [C99-based-standards] (PRIiFAST32): Likewise.
1621         [C99-based-standards] (PRIoFAST32): Likewise.
1622         [C99-based-standards] (PRIuFAST32): Likewise.
1623         [C99-based-standards] (PRIxFAST32): Likewise.
1624         [C99-based-standards] (PRIXFAST32): Likewise.
1625         [C99-based-standards] (SCNdFAST32): Likewise.
1626         [C99-based-standards] (SCNiFAST32): Likewise.
1627         [C99-based-standards] (SCNoFAST32): Likewise.
1628         [C99-based-standards] (SCNuFAST32): Likewise.
1629         [C99-based-standards] (SCNxFAST32): Likewise.
1630         [C99-based-standards] (PRId64): Likewise.
1631         [C99-based-standards] (PRIi64): Likewise.
1632         [C99-based-standards] (PRIo64): Likewise.
1633         [C99-based-standards] (PRIu64): Likewise.
1634         [C99-based-standards] (PRIx64): Likewise.
1635         [C99-based-standards] (PRIX64): Likewise.
1636         [C99-based-standards] (SCNd64): Likewise.
1637         [C99-based-standards] (SCNi64): Likewise.
1638         [C99-based-standards] (SCNo64): Likewise.
1639         [C99-based-standards] (SCNu64): Likewise.
1640         [C99-based-standards] (SCNx64): Likewise.
1641         [C99-based-standards] (PRIdLEAST64): Likewise.
1642         [C99-based-standards] (PRIiLEAST64): Likewise.
1643         [C99-based-standards] (PRIoLEAST64): Likewise.
1644         [C99-based-standards] (PRIuLEAST64): Likewise.
1645         [C99-based-standards] (PRIxLEAST64): Likewise.
1646         [C99-based-standards] (PRIXLEAST64): Likewise.
1647         [C99-based-standards] (SCNdLEAST64): Likewise.
1648         [C99-based-standards] (SCNiLEAST64): Likewise.
1649         [C99-based-standards] (SCNoLEAST64): Likewise.
1650         [C99-based-standards] (SCNuLEAST64): Likewise.
1651         [C99-based-standards] (SCNxLEAST64): Likewise.
1652         [C99-based-standards] (PRIdFAST64): Likewise.
1653         [C99-based-standards] (PRIiFAST64): Likewise.
1654         [C99-based-standards] (PRIoFAST64): Likewise.
1655         [C99-based-standards] (PRIuFAST64): Likewise.
1656         [C99-based-standards] (PRIxFAST64): Likewise.
1657         [C99-based-standards] (PRIXFAST64): Likewise.
1658         [C99-based-standards] (SCNdFAST64): Likewise.
1659         [C99-based-standards] (SCNiFAST64): Likewise.
1660         [C99-based-standards] (SCNoFAST64): Likewise.
1661         [C99-based-standards] (SCNuFAST64): Likewise.
1662         [C99-based-standards] (SCNxFAST64): Likewise.
1663         [C99-based-standards] (PRIdMAX): Likewise.
1664         [C99-based-standards] (PRIiMAX): Likewise.
1665         [C99-based-standards] (PRIoMAX): Likewise.
1666         [C99-based-standards] (PRIuMAX): Likewise.
1667         [C99-based-standards] (PRIxMAX): Likewise.
1668         [C99-based-standards] (PRIXMAX): Likewise.
1669         [C99-based-standards] (SCNdMAX): Likewise.
1670         [C99-based-standards] (SCNiMAX): Likewise.
1671         [C99-based-standards] (SCNoMAX): Likewise.
1672         [C99-based-standards] (SCNuMAX): Likewise.
1673         [C99-based-standards] (SCNxMAX): Likewise.
1674         [C99-based-standards] (PRIdPTR): Likewise.
1675         [C99-based-standards] (PRIiPTR): Likewise.
1676         [C99-based-standards] (PRIoPTR): Likewise.
1677         [C99-based-standards] (PRIuPTR): Likewise.
1678         [C99-based-standards] (PRIxPTR): Likewise.
1679         [C99-based-standards] (PRIXPTR): Likewise.
1680         [C99-based-standards] (SCNdPTR): Likewise.
1681         [C99-based-standards] (SCNiPTR): Likewise.
1682         [C99-based-standards] (SCNoPTR): Likewise.
1683         [C99-based-standards] (SCNuPTR): Likewise.
1684         [C99-based-standards] (SCNxPTR): Likewise.
1685         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
1686         allow.
1687         * conform/data/stdint.h-data: Update comments to clarify
1688         requirements.
1689         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
1690         type.
1691         [C99-based standards] (INT8_MAX): Likewise.
1692         [C99-based standards] (INT16_MIN): Likewise.
1693         [C99-based standards] (INT16_MAX): Likewise.
1694         [C99-based standards] (INT32_MIN): Likewise.
1695         [C99-based standards] (INT32_MAX): Likewise.
1696         [C99-based standards] (INT64_MIN): Likewise.
1697         [C99-based standards] (INT64_MAX): Likewise.
1698         [C99-based standards] (UINT8_MAX): Likewise.
1699         [C99-based standards] (UINT16_MAX): Likewise.
1700         [C99-based standards] (UINT32_MAX): Likewise.
1701         [C99-based standards] (UINT64_MAX): Likewise.
1702         [C99-based standards] (INT_LEAST8_MIN): Likewise.
1703         [C99-based standards] (INT_LEAST8_MAX): Likewise.
1704         [C99-based standards] (INT_LEAST16_MIN): Likewise.
1705         [C99-based standards] (INT_LEAST16_MAX): Likewise.
1706         [C99-based standards] (INT_LEAST32_MIN): Likewise.
1707         [C99-based standards] (INT_LEAST32_MAX): Likewise.
1708         [C99-based standards] (INT_LEAST64_MIN): Likewise.
1709         [C99-based standards] (INT_LEAST64_MAX): Likewise.
1710         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
1711         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
1712         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
1713         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
1714         [C99-based standards] (INT_FAST8_MIN): Likewise.
1715         [C99-based standards] (INT_FAST8_MAX): Likewise.
1716         [C99-based standards] (INT_FAST16_MIN): Likewise.
1717         [C99-based standards] (INT_FAST16_MAX): Likewise.
1718         [C99-based standards] (INT_FAST32_MIN): Likewise.
1719         [C99-based standards] (INT_FAST32_MAX): Likewise.
1720         [C99-based standards] (INT_FAST64_MIN): Likewise.
1721         [C99-based standards] (INT_FAST64_MAX): Likewise.
1722         [C99-based standards] (UINT_FAST8_MAX): Likewise.
1723         [C99-based standards] (UINT_FAST16_MAX): Likewise.
1724         [C99-based standards] (UINT_FAST32_MAX): Likewise.
1725         [C99-based standards] (UINT_FAST64_MAX): Likewise.
1726         [C99-based standards] (INTPTR_MIN): Likewise.
1727         [C99-based standards] (INTPTR_MAX): Likewise.
1728         [C99-based standards] (UINTPTR_MAX): Likewise.
1729         [C99-based standards] (INTMAX_MIN): Likewise.
1730         [C99-based standards] (INTMAX_MAX): Likewise.
1731         [C99-based standards] (UINTMAX_MAX): Likewise.
1732         [C99-based standards] (PTRDIFF_MIN): Likewise.
1733         [C99-based standards] (PTRDIFF_MAX): Likewise.
1734         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
1735         [C99-based standards] (SIZE_MAX): Likewise.
1736         [C99-based standards] (WCHAR_MAX): Likewise.
1737         [C99-based standards] (WINT_MAX): Likewise.
1738         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
1739         constraint on value.
1740         [C99-based standards] (WCHAR_MIN): Likewise.
1741         [C99-based standards] (WINT_MIN): Likewise.
1742         [C99-based standards] (*_t): Allow.
1743         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
1744         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
1745         Include math.h-data and complex.h-data.  Remove all expectations
1746         of math.h and complex.h contents.
1747         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
1748         at end of line.
1749         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
1750         (struct tm): Expect tag.
1751         [C99-based-standards] (wcstof): Expect function.
1752         [C99-based-standards] (wcstold): Likewise.
1753         [C99-based-standards] (wcstoll): Likewise.
1754         [C99-based-standards] (wcstoull): Likewise.
1755         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
1756         macro-int-constant.  Specify type.
1757         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
1758         constraint on value.
1759         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1760         Specify type.
1761         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
1762         Specify value.
1763         [ISO C standards]: Do not allow headers.
1764         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
1765         wcs[abcdefghijklmnopqrstuvwxyz]*.
1766         [ISO C standards] (*_t): Do not allow.
1767         * conform/data/wctype.h-data [C99-based standards] (iswblank):
1768         Expect function.
1769         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
1770         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1771         Specify type.
1772         [ISO C standards]: Do not allow headers.
1773         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
1774         is[abcdefghijklmnopqrstuvwxyz]*.
1775         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
1776         to[abcdefghijklmnopqrstuvwxyz]*.
1777         [ISO C standards] (*_t): Do not allow.
1778         * conform/data/stdalign.h-data: New file.
1779         * conform/data/stdbool.h-data: Likewise.
1780         * conform/data/stdnoreturn.h-data: Likewise.
1782 2012-11-07  Roland McGrath  <roland@hack.frob.com>
1784         [BZ #14815]
1785         * manual/filesys.texi (Directory Entries): Typo fix.
1786         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
1788 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1790         * elf/elf.h (EM_AARCH64): New macro.
1791         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
1792         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
1793         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
1794         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
1795         (R_AARCH64_TLSDESC): Likewise.
1796         (NT_ARM_TLS): Likewise.
1797         (NT_ARM_HW_BREAK): Likewise.
1798         (NT_ARM_HW_WATCH): Likewise.
1800 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
1802         [BZ #14811]
1803         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
1804         (__ieee754_powl): Saturate nonzero exponents with absolute value
1805         below 0x1p-79 to +/- 0x1p-79.
1806         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
1807         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
1808         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
1809         nonzero exponents with absolute value below 0x1p-32 to +/-
1810         0x1p-32.
1811         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
1812         (__ieee754_powl): Saturate nonzero exponents with absolute value
1813         below 0x1p-79 to +/- 0x1p-79.
1814         * math/libm-test.inc (pow_test): Add more tests.
1816 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1818         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
1819         _dl_s390_cap_flags with kernel. Increase string length.
1820         (_dl_s390_platforms): Add z196 and zEC12.
1822 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
1824         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
1825         Change XOPEN21K to XOPEN2K.
1827 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
1829         * string/memmove.c: Use memcpy when possible.
1831 2012-11-06  Andreas Jaeger  <aj@suse.de>
1833         * po/eo.po: Update from translation team.
1835 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
1837         [BZ #14793]
1838         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
1839         exponent and small x and y exponents, scale x or y up.  Increase
1840         by 2 the exponent used in scaling up.
1841         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1842         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1843         * math/libm-test.inc (fma_test): Add more tests.
1844         (fma_test_towardzero): Likewise.
1845         (fma_test_downward): Likewise.
1846         (fma_test_upward): Likewise.
1848 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
1850         [BZ #14805]
1851         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
1852         fenv_t *.
1854         [BZ #14801]
1855         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
1856         namespace for names of struct fields.
1857         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
1858         fenv_t fields.
1859         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1860         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
1862 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1864         [BZ #3665]
1865         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
1867 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
1869         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
1870         PTR_DEMANGLE.
1872         [BZ #5246]
1873         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
1874         PTR_DEMANGLE.
1876 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
1878         [BZ #14797]
1879         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
1880         definitely overflow as x * y not x * y + z.
1881         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1882         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1883         * math/libm-test.inc (fma_test): Add more tests.
1884         (fma_test_towardzero): Likewise.
1885         (fma_test_downward): Likewise.
1886         (fma_test_upward): Likewise.
1888 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
1890         [BZ #157]
1892         * include/stub-tag.h: Remove file.
1893         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
1894         '#include' of it.
1895         * manual/maint.texi (Porting): Don't reference it.
1896         * Makerules ($(objpfx)stubs): Likewise.
1897         * dirent/closedir.c: Don't include <stub-tag.h>.
1898         * dirent/dirfd.c: Likewise.
1899         * dirent/fdopendir.c: Likewise.
1900         * dirent/getdents.c: Likewise.
1901         * dirent/getdents64.c: Likewise.
1902         * dirent/opendir.c: Likewise.
1903         * dirent/readdir.c: Likewise.
1904         * dirent/readdir64.c: Likewise.
1905         * dirent/readdir64_r.c: Likewise.
1906         * dirent/readdir_r.c: Likewise.
1907         * dirent/rewinddir.c: Likewise.
1908         * dirent/seekdir.c: Likewise.
1909         * dirent/telldir.c: Likewise.
1910         * gmon/profil.c: Likewise.
1911         * grp/setgroups.c: Likewise.
1912         * inet/if_index.c: Likewise.
1913         * io/access.c: Likewise.
1914         * io/chdir.c: Likewise.
1915         * io/chmod.c: Likewise.
1916         * io/chown.c: Likewise.
1917         * io/close.c: Likewise.
1918         * io/dup.c: Likewise.
1919         * io/dup2.c: Likewise.
1920         * io/dup3.c: Likewise.
1921         * io/euidaccess.c: Likewise.
1922         * io/faccessat.c: Likewise.
1923         * io/fchdir.c: Likewise.
1924         * io/fchmod.c: Likewise.
1925         * io/fchmodat.c: Likewise.
1926         * io/fchown.c: Likewise.
1927         * io/fchownat.c: Likewise.
1928         * io/fcntl.c: Likewise.
1929         * io/flock.c: Likewise.
1930         * io/fstatfs.c: Likewise.
1931         * io/fstatfs64.c: Likewise.
1932         * io/fstatvfs.c: Likewise.
1933         * io/fstatvfs64.c: Likewise.
1934         * io/futimens.c: Likewise.
1935         * io/fxstat.c: Likewise.
1936         * io/fxstat64.c: Likewise.
1937         * io/fxstatat.c: Likewise.
1938         * io/fxstatat64.c: Likewise.
1939         * io/getcwd.c: Likewise.
1940         * io/isatty.c: Likewise.
1941         * io/lchmod.c: Likewise.
1942         * io/lchown.c: Likewise.
1943         * io/link.c: Likewise.
1944         * io/linkat.c: Likewise.
1945         * io/lseek.c: Likewise.
1946         * io/lseek64.c: Likewise.
1947         * io/lxstat64.c: Likewise.
1948         * io/mkdir.c: Likewise.
1949         * io/mkdirat.c: Likewise.
1950         * io/mkfifo.c: Likewise.
1951         * io/mkfifoat.c: Likewise.
1952         * io/open.c: Likewise.
1953         * io/open64.c: Likewise.
1954         * io/openat.c: Likewise.
1955         * io/openat64.c: Likewise.
1956         * io/pipe.c: Likewise.
1957         * io/pipe2.c: Likewise.
1958         * io/poll.c: Likewise.
1959         * io/posix_fadvise.c: Likewise.
1960         * io/posix_fadvise64.c: Likewise.
1961         * io/posix_fallocate.c: Likewise.
1962         * io/posix_fallocate64.c: Likewise.
1963         * io/read.c: Likewise.
1964         * io/readlink.c: Likewise.
1965         * io/readlinkat.c: Likewise.
1966         * io/rmdir.c: Likewise.
1967         * io/sendfile.c: Likewise.
1968         * io/sendfile64.c: Likewise.
1969         * io/statfs.c: Likewise.
1970         * io/statfs64.c: Likewise.
1971         * io/statvfs.c: Likewise.
1972         * io/statvfs64.c: Likewise.
1973         * io/symlink.c: Likewise.
1974         * io/symlinkat.c: Likewise.
1975         * io/ttyname.c: Likewise.
1976         * io/ttyname_r.c: Likewise.
1977         * io/umask.c: Likewise.
1978         * io/unlink.c: Likewise.
1979         * io/unlinkat.c: Likewise.
1980         * io/utime.c: Likewise.
1981         * io/utimensat.c: Likewise.
1982         * io/write.c: Likewise.
1983         * io/xmknod.c: Likewise.
1984         * io/xmknodat.c: Likewise.
1985         * io/xstat.c: Likewise.
1986         * io/xstat64.c: Likewise.
1987         * login/getpt.c: Likewise.
1988         * login/grantpt.c: Likewise.
1989         * login/unlockpt.c: Likewise.
1990         * math/e_acoshl.c: Likewise.
1991         * math/e_acosl.c: Likewise.
1992         * math/e_asinl.c: Likewise.
1993         * math/e_atan2l.c: Likewise.
1994         * math/e_atanhl.c: Likewise.
1995         * math/e_coshl.c: Likewise.
1996         * math/e_expl.c: Likewise.
1997         * math/e_fmodl.c: Likewise.
1998         * math/e_gammal_r.c: Likewise.
1999         * math/e_hypotl.c: Likewise.
2000         * math/e_j0l.c: Likewise.
2001         * math/e_j1l.c: Likewise.
2002         * math/e_jnl.c: Likewise.
2003         * math/e_lgammal_r.c: Likewise.
2004         * math/e_log10l.c: Likewise.
2005         * math/e_log2l.c: Likewise.
2006         * math/e_logl.c: Likewise.
2007         * math/e_powl.c: Likewise.
2008         * math/e_rem_pio2l.c: Likewise.
2009         * math/e_sinhl.c: Likewise.
2010         * math/e_sqrtl.c: Likewise.
2011         * math/fclrexcpt.c: Likewise.
2012         * math/fedisblxcpt.c: Likewise.
2013         * math/feenablxcpt.c: Likewise.
2014         * math/fegetenv.c: Likewise.
2015         * math/fegetexcept.c: Likewise.
2016         * math/fegetround.c: Likewise.
2017         * math/feholdexcpt.c: Likewise.
2018         * math/fesetenv.c: Likewise.
2019         * math/fesetround.c: Likewise.
2020         * math/feupdateenv.c: Likewise.
2021         * math/fgetexcptflg.c: Likewise.
2022         * math/fraiseexcpt.c: Likewise.
2023         * math/fsetexcptflg.c: Likewise.
2024         * math/ftestexcept.c: Likewise.
2025         * math/k_cosl.c: Likewise.
2026         * math/k_rem_pio2l.c: Likewise.
2027         * math/k_sinl.c: Likewise.
2028         * math/k_tanl.c: Likewise.
2029         * math/s_asinhl.c: Likewise.
2030         * math/s_atanl.c: Likewise.
2031         * math/s_cbrtl.c: Likewise.
2032         * math/s_erfl.c: Likewise.
2033         * math/s_expm1l.c: Likewise.
2034         * math/s_log1pl.c: Likewise.
2035         * math/s_tanhl.c: Likewise.
2036         * misc/acct.c: Likewise.
2037         * misc/brk.c: Likewise.
2038         * misc/chflags.c: Likewise.
2039         * misc/chroot.c: Likewise.
2040         * misc/fchflags.c: Likewise.
2041         * misc/fgetxattr.c: Likewise.
2042         * misc/flistxattr.c: Likewise.
2043         * misc/fremovexattr.c: Likewise.
2044         * misc/fsetxattr.c: Likewise.
2045         * misc/fsync.c: Likewise.
2046         * misc/ftruncate.c: Likewise.
2047         * misc/futimes.c: Likewise.
2048         * misc/futimesat.c: Likewise.
2049         * misc/getdomain.c: Likewise.
2050         * misc/getdtsz.c: Likewise.
2051         * misc/gethostid.c: Likewise.
2052         * misc/gethostname.c: Likewise.
2053         * misc/getloadavg.c: Likewise.
2054         * misc/getpagesize.c: Likewise.
2055         * misc/getsysstats.c: Likewise.
2056         * misc/getxattr.c: Likewise.
2057         * misc/gtty.c: Likewise.
2058         * misc/ioctl.c: Likewise.
2059         * misc/lgetxattr.c: Likewise.
2060         * misc/listxattr.c: Likewise.
2061         * misc/llistxattr.c: Likewise.
2062         * misc/lremovexattr.c: Likewise.
2063         * misc/lsetxattr.c: Likewise.
2064         * misc/lutimes.c: Likewise.
2065         * misc/madvise.c: Likewise.
2066         * misc/mincore.c: Likewise.
2067         * misc/mlock.c: Likewise.
2068         * misc/mlockall.c: Likewise.
2069         * misc/mmap.c: Likewise.
2070         * misc/mprotect.c: Likewise.
2071         * misc/msync.c: Likewise.
2072         * misc/munlock.c: Likewise.
2073         * misc/munlockall.c: Likewise.
2074         * misc/munmap.c: Likewise.
2075         * misc/preadv.c: Likewise.
2076         * misc/preadv64.c: Likewise.
2077         * misc/ptrace.c: Likewise.
2078         * misc/pwritev.c: Likewise.
2079         * misc/pwritev64.c: Likewise.
2080         * misc/readv.c: Likewise.
2081         * misc/reboot.c: Likewise.
2082         * misc/remap_file_pages.c: Likewise.
2083         * misc/removexattr.c: Likewise.
2084         * misc/revoke.c: Likewise.
2085         * misc/select.c: Likewise.
2086         * misc/setdomain.c: Likewise.
2087         * misc/setegid.c: Likewise.
2088         * misc/seteuid.c: Likewise.
2089         * misc/sethostid.c: Likewise.
2090         * misc/sethostname.c: Likewise.
2091         * misc/setregid.c: Likewise.
2092         * misc/setreuid.c: Likewise.
2093         * misc/setxattr.c: Likewise.
2094         * misc/sstk.c: Likewise.
2095         * misc/stty.c: Likewise.
2096         * misc/swapoff.c: Likewise.
2097         * misc/swapon.c: Likewise.
2098         * misc/sync.c: Likewise.
2099         * misc/syncfs.c: Likewise.
2100         * misc/syscall.c: Likewise.
2101         * misc/truncate.c: Likewise.
2102         * misc/ualarm.c: Likewise.
2103         * misc/usleep.c: Likewise.
2104         * misc/ustat.c: Likewise.
2105         * misc/utimes.c: Likewise.
2106         * misc/vhangup.c: Likewise.
2107         * misc/writev.c: Likewise.
2108         * posix/_exit.c: Likewise.
2109         * posix/alarm.c: Likewise.
2110         * posix/execve.c: Likewise.
2111         * posix/fexecve.c: Likewise.
2112         * posix/fork.c: Likewise.
2113         * posix/fpathconf.c: Likewise.
2114         * posix/getaddrinfo.c: Likewise.
2115         * posix/getegid.c: Likewise.
2116         * posix/geteuid.c: Likewise.
2117         * posix/getgid.c: Likewise.
2118         * posix/getgroups.c: Likewise.
2119         * posix/getlogin.c: Likewise.
2120         * posix/getlogin_r.c: Likewise.
2121         * posix/getpgid.c: Likewise.
2122         * posix/getpid.c: Likewise.
2123         * posix/getppid.c: Likewise.
2124         * posix/getresgid.c: Likewise.
2125         * posix/getresuid.c: Likewise.
2126         * posix/getsid.c: Likewise.
2127         * posix/getuid.c: Likewise.
2128         * posix/glob64.c: Likewise.
2129         * posix/nanosleep.c: Likewise.
2130         * posix/pathconf.c: Likewise.
2131         * posix/pause.c: Likewise.
2132         * posix/posix_madvise.c: Likewise.
2133         * posix/pread.c: Likewise.
2134         * posix/pread64.c: Likewise.
2135         * posix/pwrite.c: Likewise.
2136         * posix/pwrite64.c: Likewise.
2137         * posix/sched_getaffinity.c: Likewise.
2138         * posix/sched_getp.c: Likewise.
2139         * posix/sched_gets.c: Likewise.
2140         * posix/sched_primax.c: Likewise.
2141         * posix/sched_primin.c: Likewise.
2142         * posix/sched_rr_gi.c: Likewise.
2143         * posix/sched_setaffinity.c: Likewise.
2144         * posix/sched_setp.c: Likewise.
2145         * posix/sched_sets.c: Likewise.
2146         * posix/sched_yield.c: Likewise.
2147         * posix/setgid.c: Likewise.
2148         * posix/setlogin.c: Likewise.
2149         * posix/setpgid.c: Likewise.
2150         * posix/setresgid.c: Likewise.
2151         * posix/setresuid.c: Likewise.
2152         * posix/setsid.c: Likewise.
2153         * posix/setuid.c: Likewise.
2154         * posix/sleep.c: Likewise.
2155         * posix/spawni.c: Likewise.
2156         * posix/sysconf.c: Likewise.
2157         * posix/times.c: Likewise.
2158         * posix/wait.c: Likewise.
2159         * posix/wait3.c: Likewise.
2160         * posix/wait4.c: Likewise.
2161         * posix/waitpid.c: Likewise.
2162         * resolv/gai_sigqueue.c: Likewise.
2163         * resource/getpriority.c: Likewise.
2164         * resource/getrlimit.c: Likewise.
2165         * resource/getrusage.c: Likewise.
2166         * resource/nice.c: Likewise.
2167         * resource/setpriority.c: Likewise.
2168         * resource/setrlimit.c: Likewise.
2169         * resource/ulimit.c: Likewise.
2170         * rt/aio_cancel.c: Likewise.
2171         * rt/aio_fsync.c: Likewise.
2172         * rt/aio_read.c: Likewise.
2173         * rt/aio_sigqueue.c: Likewise.
2174         * rt/aio_suspend.c: Likewise.
2175         * rt/aio_write.c: Likewise.
2176         * rt/clock_getres.c: Likewise.
2177         * rt/clock_gettime.c: Likewise.
2178         * rt/clock_nanosleep.c: Likewise.
2179         * rt/clock_settime.c: Likewise.
2180         * rt/lio_listio.c: Likewise.
2181         * rt/mq_close.c: Likewise.
2182         * rt/mq_getattr.c: Likewise.
2183         * rt/mq_notify.c: Likewise.
2184         * rt/mq_open.c: Likewise.
2185         * rt/mq_receive.c: Likewise.
2186         * rt/mq_send.c: Likewise.
2187         * rt/mq_setattr.c: Likewise.
2188         * rt/mq_timedreceive.c: Likewise.
2189         * rt/mq_timedsend.c: Likewise.
2190         * rt/mq_unlink.c: Likewise.
2191         * rt/shm_open.c: Likewise.
2192         * rt/shm_unlink.c: Likewise.
2193         * rt/timer_create.c: Likewise.
2194         * rt/timer_delete.c: Likewise.
2195         * rt/timer_getoverr.c: Likewise.
2196         * rt/timer_gettime.c: Likewise.
2197         * rt/timer_settime.c: Likewise.
2198         * setjmp/__longjmp.c: Likewise.
2199         * setjmp/setjmp.c: Likewise.
2200         * signal/kill.c: Likewise.
2201         * signal/killpg.c: Likewise.
2202         * signal/raise.c: Likewise.
2203         * signal/sigaction.c: Likewise.
2204         * signal/sigaltstack.c: Likewise.
2205         * signal/sigblock.c: Likewise.
2206         * signal/sigignore.c: Likewise.
2207         * signal/sigintr.c: Likewise.
2208         * signal/signal.c: Likewise.
2209         * signal/sigpause.c: Likewise.
2210         * signal/sigpending.c: Likewise.
2211         * signal/sigqueue.c: Likewise.
2212         * signal/sigreturn.c: Likewise.
2213         * signal/sigset.c: Likewise.
2214         * signal/sigsetmask.c: Likewise.
2215         * signal/sigstack.c: Likewise.
2216         * signal/sigsuspend.c: Likewise.
2217         * signal/sigtimedwait.c: Likewise.
2218         * signal/sigvec.c: Likewise.
2219         * signal/sigwait.c: Likewise.
2220         * signal/sigwaitinfo.c: Likewise.
2221         * signal/sysv_signal.c: Likewise.
2222         * socket/accept.c: Likewise.
2223         * socket/accept4.c: Likewise.
2224         * socket/bind.c: Likewise.
2225         * socket/connect.c: Likewise.
2226         * socket/getpeername.c: Likewise.
2227         * socket/getsockname.c: Likewise.
2228         * socket/getsockopt.c: Likewise.
2229         * socket/isfdtype.c: Likewise.
2230         * socket/listen.c: Likewise.
2231         * socket/recv.c: Likewise.
2232         * socket/recvfrom.c: Likewise.
2233         * socket/recvmsg.c: Likewise.
2234         * socket/send.c: Likewise.
2235         * socket/sendmsg.c: Likewise.
2236         * socket/sendto.c: Likewise.
2237         * socket/setsockopt.c: Likewise.
2238         * socket/shutdown.c: Likewise.
2239         * socket/sockatmark.c: Likewise.
2240         * socket/socket.c: Likewise.
2241         * socket/socketpair.c: Likewise.
2242         * stdio-common/ctermid.c: Likewise.
2243         * stdio-common/cuserid.c: Likewise.
2244         * stdio-common/remove.c: Likewise.
2245         * stdio-common/rename.c: Likewise.
2246         * stdio-common/renameat.c: Likewise.
2247         * stdio-common/tempname.c: Likewise.
2248         * stdlib/getcontext.c: Likewise.
2249         * stdlib/makecontext.c: Likewise.
2250         * stdlib/setcontext.c: Likewise.
2251         * stdlib/swapcontext.c: Likewise.
2252         * stdlib/system.c: Likewise.
2253         * streams/fattach.c: Likewise.
2254         * streams/fdetach.c: Likewise.
2255         * streams/getmsg.c: Likewise.
2256         * streams/getpmsg.c: Likewise.
2257         * streams/putmsg.c: Likewise.
2258         * streams/putpmsg.c: Likewise.
2259         * sysdeps/unix/bsd/getpt.c: Likewise.
2260         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
2261         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
2262         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
2264         Likewise.
2265         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
2266         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
2267         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2268         * sysvipc/msgctl.c: Likewise.
2269         * sysvipc/msgget.c: Likewise.
2270         * sysvipc/msgrcv.c: Likewise.
2271         * sysvipc/msgsnd.c: Likewise.
2272         * sysvipc/semctl.c: Likewise.
2273         * sysvipc/semget.c: Likewise.
2274         * sysvipc/semop.c: Likewise.
2275         * sysvipc/semtimedop.c: Likewise.
2276         * sysvipc/shmat.c: Likewise.
2277         * sysvipc/shmctl.c: Likewise.
2278         * sysvipc/shmdt.c: Likewise.
2279         * sysvipc/shmget.c: Likewise.
2280         * termios/tcdrain.c: Likewise.
2281         * termios/tcflow.c: Likewise.
2282         * termios/tcflush.c: Likewise.
2283         * termios/tcgetattr.c: Likewise.
2284         * termios/tcgetpgrp.c: Likewise.
2285         * termios/tcsendbrk.c: Likewise.
2286         * termios/tcsetattr.c: Likewise.
2287         * termios/tcsetpgrp.c: Likewise.
2288         * time/adjtime.c: Likewise.
2289         * time/clock.c: Likewise.
2290         * time/getitimer.c: Likewise.
2291         * time/gettimeofday.c: Likewise.
2292         * time/setitimer.c: Likewise.
2293         * time/settimeofday.c: Likewise.
2294         * time/stime.c: Likewise.
2295         * time/time.c: Likewise.
2297 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
2299         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
2300         /usr/old/bin.
2302         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
2303         instead of spaces.
2304         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
2306 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
2308         [BZ #14796]
2309         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
2310         FE_TONEAREST before applying Dekker multiplication and Knuth
2311         addition.  Clear inexact exceptions and check for exact zero
2312         results afterwards.
2313         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2314         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2315         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2316         * math/libm-test.inc (fma_test): Add more tests.
2317         (fma_test_towardzero): Likewise.
2318         (fma_test_downward): Likewise.
2319         (fma_test_upward): Likewise.
2320         * sysdeps/generic/math_private.h (default_libc_fesetround): New
2321         function.
2322         (libc_fesetround): New macro.
2323         (libc_fesetroundf): Likewise.
2324         (libc_fesetroundl): Likewise.
2325         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
2326         function.
2327         (libc_fesetround_387): Likewise.
2328         (libc_fesetroundf): New macro.
2329         (libc_fesetround): Likewise.
2330         (libc_fesetroundl): Likewise.
2331         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
2332         function.
2333         (libc_fesetroundf): New macro.
2334         (libc_fesetround): Likewise.
2335         (libc_fesetroundl): Likewise.
2336         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
2337         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
2338         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
2339         libm_hidden_ver.
2340         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
2341         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
2342         libm_hidden_def.
2343         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
2344         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
2345         libm_hidden_ver.
2346         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
2347         libm_hidden_def.
2349         [BZ #3439]
2350         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
2351         integer constant usable in #if and use that to give value to enum
2352         constant.
2353         (FE_DIVBYZERO): Likewise.
2354         (FE_UNDERFLOW): Likewise.
2355         (FE_OVERFLOW): Likewise.
2356         (FE_INVALID): Likewise.
2357         (FE_INVALID_SNAN): Likewise.
2358         (FE_INVALID_ISI): Likewise.
2359         (FE_INVALID_IDI): Likewise.
2360         (FE_INVALID_ZDZ): Likewise.
2361         (FE_INVALID_IMZ): Likewise.
2362         (FE_INVALID_COMPARE): Likewise.
2363         (FE_INVALID_SOFTWARE): Likewise.
2364         (FE_INVALID_SQRT): Likewise.
2365         (FE_INVALID_INTEGER_CONVERSION): Likewise.
2366         (FE_TONEAREST): Likewise.
2367         (FE_TOWARDZERO): Likewise.
2368         (FE_UPWARD): Likewise.
2369         (FE_DOWNWARD): Likewise.
2370         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
2371         (FE_DIVBYZERO): Likewise.
2372         (FE_OVERFLOW): Likewise.
2373         (FE_UNDERFLOW): Likewise.
2374         (FE_INEXACT): Likewise.
2375         (FE_TONEAREST): Likewise.
2376         (FE_DOWNWARD): Likewise.
2377         (FE_UPWARD): Likewise.
2378         (FE_TOWARDZERO): Likewise.
2379         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
2380         (FE_UNDERFLOW): Likewise.
2381         (FE_OVERFLOW): Likewise.
2382         (FE_DIVBYZERO): Likewise.
2383         (FE_INVALID): Likewise.
2384         (FE_TONEAREST): Likewise.
2385         (FE_TOWARDZERO): Likewise.
2386         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
2387         (FE_OVERFLOW): Likewise.
2388         (FE_UNDERFLOW): Likewise.
2389         (FE_DIVBYZERO): Likewise.
2390         (FE_INEXACT): Likewise.
2391         (FE_TONEAREST): Likewise.
2392         (FE_TOWARDZERO): Likewise.
2393         (FE_UPWARD): Likewise.
2394         (FE_DOWNWARD): Likewise.
2395         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
2396         (FE_DIVBYZERO): Likewise.
2397         (FE_OVERFLOW): Likewise.
2398         (FE_UNDERFLOW): Likewise.
2399         (FE_INEXACT): Likewise.
2400         (FE_TONEAREST): Likewise.
2401         (FE_DOWNWARD): Likewise.
2402         (FE_UPWARD): Likewise.
2403         (FE_TOWARDZERO): Likewise.
2405 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
2407         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
2409 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
2411         * scripts/cross-test-ssh.sh (command): Use newlines to separate
2412         commands.  Quote $PWD.
2413         (blacklist_exports): Don't use remove_newlines.  Replace "declare
2414         -x" by "export".
2415         (remove_newlines): Remove.
2417 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
2419         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
2420         * stdlib/stdlib.h (atof): Moved to ...
2421         * include/bits/stdlib-float.h: Here.  New file.
2422         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
2423         * stdlib/bits/stdlib-float.h: New file.
2424         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
2425         -mno-sse -mno-mmx.
2426         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
2427         <xmmintrin.h>.
2429 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
2431         * conform/conformtest.pl (@headers): Add fenv.h.
2432         * conform/data/fenv.h-data: New file.
2433         * include/fenv.h [_ISOMAC]: Disable all contents of file except
2434         include of <math/fenv.h>.
2436         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
2437         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
2438         && !UNIX98].  Enables tests for XOPEN2K8.
2439         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
2440         POSIX2008]: Likewise.
2442         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
2443         (struct rusage): Do not expect type or its members.
2445         [BZ #3439]
2446         * math/math.h (FP_NAN): Define macro to integer constant usable in
2447         #if and use that to give value to enum constant.
2448         (FP_INFINITE): Likewise.
2449         (FP_ZERO): Likewise.
2450         (FP_SUBNORMAL): Likewise.
2451         (FP_NORMAL): Likewise.
2453 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
2455         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
2456         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
2457         arguments.
2459 2012-11-02  Roland McGrath  <roland@hack.frob.com>
2461         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
2462         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
2463         autoconf-time if not.
2464         * configure.in: Remove AC_PREREQ.
2466 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2468         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
2469         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
2470         of the internal implementation.
2472 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
2474         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
2475         except include of <misc/sys/syslog.h>.
2477 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
2479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
2480         function returns with a NULL context exit with zero.
2482 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2484         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
2486 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
2488         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
2489         (run_program_cmd): This.
2490         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
2491         (tst_langinfo): New variable.  Use it.
2493 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
2495         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
2496         floating point opcodes.
2498 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
2500         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
2501         variable.
2503         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
2505         * sysdeps/mach/hurd/powerpc: Remove directory.
2506         * sysdeps/mach/powerpc: Likewise.
2508 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
2510         * scripts/check-local-headers.sh: Ignore c++ headers.
2512 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
2514         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
2515         __libc_cleanup_region_start argument.
2517 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
2519         [BZ #14784]
2520         [BZ #14785]
2521         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
2522         x * y using scaling, not as x * y + z.
2523         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2524         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2525         * math/libm-test.inc (fma_test): Add more tests.
2526         (fma_test_towardzero): Likewise.
2527         (fma_test_downward): Likewise.
2528         (fma_test_upward): Likewise.
2530 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
2532         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
2534 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
2536         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
2537         New variable.
2539 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
2541         * rt/tst-shm.c (worker): Correct checking for mmap failure.
2543 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
2545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2546         Fix sort order.
2547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2548         Likewise.
2550 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2553         Fix the order of the list for glibc 2.17.
2554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2555         Likewise.
2557 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
2559         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2561 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
2563         [BZ #14610]
2564         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
2565         for low part of x being zero before using __atanl (y).
2566         * math/libm-test.inc (atan2_test): Add another test.
2568         * manual/install.texi (Configuring and compiling): Document
2569         general use of test-wrapper and test-wrapper-env.
2570         * INSTALL: Regenerated.
2572         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
2573         (__fma): Do not extract and scale down low bits on after-rounding
2574         systems when result rounded to normal precision would have normal
2575         exponent.
2576         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
2577         (__fmal): Do not extract and scale down low bits on after-rounding
2578         systems when result rounded to normal precision would have normal
2579         exponent.
2580         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
2581         (__fmal): Do not extract and scale down low bits on after-rounding
2582         systems when result rounded to normal precision would have normal
2583         exponent.
2584         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
2585         macro.
2586         (fma_test): Add more tests.
2587         (fma_test_towardzero): Likewise.
2588         (fma_test_downward): Likewise.
2589         (fma_test_upward): Likewise.
2591 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
2593         * sysdeps/i386/tininess.h: Renamed to ...
2594         * sysdeps/x86/tininess.h: This.
2595         * sysdeps/x86_64/tininess.h: Removed.
2597 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
2599         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
2600         input.  Use $(build-program-cmd).
2601         ($(objpfx)tst-array1-static.out): Likewise.
2602         ($(objpfx)tst-array2.out): Likewise.
2603         ($(objpfx)tst-array3.out): Likewise.
2604         ($(objpfx)tst-array4.out): Likewise.
2605         ($(objpfx)tst-array5.out): Likewise.
2606         ($(objpfx)tst-array5-static.out): Likewise.
2608 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
2610         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
2611         if defined.
2613         * nss/nsswitch.h (nss_interface_function): Provide new
2614         macro for use with NSS functions.
2615         * grp/initgroups.c: Use new macro.
2616         * nss/getXXbyYY.c: Likewise.
2617         * nss/getXXbyYY_r.c: Likewise.
2618         * nss/getXXent.c: Likewise.
2619         * nss/getXXent_r.c: Likewise.
2620         * sysdeps/posix/getaddrinfo.c: Likewise.
2622 2012-10-30  Andreas Jaeger  <aj@suse.de>
2624         * po/ru.po: Update Russion translation from translation project.
2626 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
2628         [BZ #14152]
2629         [BZ #14783]
2630         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
2631         result and shift together with sticky bit instead of replicating
2632         round-to-nearest rounding.
2633         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2634         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2635         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
2636         missing underflow exceptions.
2637         (fma_test_towardzero): Add more tests.
2638         (fma_test_downward): Likewise.
2639         (fma_test_upward): Likewise.
2641         [BZ #14047]
2642         * sysdeps/generic/tininess.h: New file.
2643         * sysdeps/i386/tininess.h: Likewise.
2644         * sysdeps/sh/tininess.h: Likewise.
2645         * sysdeps/x86_64/tininess.h: Likewise.
2646         * stdlib/tst-strtod-underflow.c: Likewise.
2647         * stdlib/tst-tininess.c: Likewise.
2648         * stdlib/strtod_l.c: Include <tininess.h>.
2649         (round_and_return): Do not set errno for exact underflow cases.
2650         Force an underflow exception when setting errno for underflow.
2651         Determine underflow based on rounding to normal precision if
2652         TININESS_AFTER_ROUNDING.
2653         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
2654         ERANGE for exact underflow cases.
2655         * stdlib/Makefile (tests): Add tst-tininess and
2656         tst-strtod-underflow.
2657         ($(objpfx)tst-tininess): Use $(link-libm).
2658         ($(objpfx)tst-strtod-underflow): Likewise.
2660 2012-10-30  Andreas Jaeger  <aj@suse.de>
2662         [BZ#14767]
2663         * elf/Makefile (tests): Remove conditional for have-initfini-array
2664         since this is now always required and the variable does not exist
2665         anymore.
2666         (tests-static): Likewise.
2667         (modules-names): Likewise.
2669         * po/eo.po: Add Esperanto translation from translation project.
2671         * elf/tst-array1.c (fini_array): Make writeable so that it can be
2672         merged with constructor/destructor.
2673         (init_array): Likewise.
2674         * elf/tst-array2dep.c (fini_array): Likewise.
2675         (init_array): Likewise.
2677 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
2679         * manual/message.texi: Delete @cartouche tags.
2681 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
2683         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
2684         EOPNOTSUPP.
2685         * sysdeps/mach/hurd/fsync.c: Likewise.
2687         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
2688         [_POSIX_REALTIME_SIGNALS]: Change condition to
2689         [_POSIX_REALTIME_SIGNALS > 0].
2691 2012-10-27  Andreas Jaeger  <aj@suse.de>
2693         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
2694         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
2695         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
2696         [__WORDSIZE != 64]: Likewise.
2698 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
2700         *  iconvdata/tst-table.sh: Remove ${SHELL}.
2701         *  iconvdata/tst-tables.sh: Likewise.
2703 2012-10-25  David S. Miller  <davem@davemloft.net>
2705         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2706         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
2707         of strtoull.
2709         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
2710         ifunc-impl-list.c
2711         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2712         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
2713         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
2714         file.
2716 2012-10-25  Roland McGrath  <roland@hack.frob.com>
2718         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2719         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
2720         __getdirentries.
2722 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
2723             Jim Blandy  <jimb@codesourcery.com>
2725         * scripts/cross-test-ssh.sh: New file.
2726         * manual/install.texi (Configuring and compiling): Document use of
2727         cross-test-ssh.sh.
2728         * INSTALL: Regenerated.
2730 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
2732         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
2733         EOPNOTSUPP.
2735 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
2737         * Makeconfig (run-program-prefix): Fix comment.
2739 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
2740             Jim Blandy  <jimb@codesourcery.com>
2742         * Makeconfig (test-wrapper): New variable,
2743         (test-wrapper-env): Likewise.
2744         [$(cross-compiling) = yes && $(test-wrapper) != ""]
2745         (run-built-tests): Define to yes.
2746         (run-program-prefix): Use $(test-wrapper).
2747         (built-program-cmd): Likewise.
2748         * Rules (make-test-out): Use $(test-wrapper-env) and
2749         $(host-built-program-cmd).
2750         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
2751         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
2752         tst-pathopt.sh.
2753         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
2754         $(test-wrapper-env) to tst-rtld-load-self.sh.
2755         ($(objpfx)order2.out): Use $(test-wrapper).
2756         ($(objpfx)tst-initorder.out): Likewise.
2757         ($(objpfx)tst-initorder2.out): Likewise.
2758         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
2759         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
2760         (test_wrapper_env): New variable.  Use it to run ld.so.
2761         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
2762         Use it to run ld.so.
2763         (test_wrapper_env): Likewise.
2764         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
2765         $(test-wrapper) to run-iconv-test.sh.
2766         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
2767         (ICONV): Use $test_wrapper.
2768         * posix/Makefile ($(objpfx)globtest.out): Pass
2769         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
2770         globtest.sh, not $(run-program-prefix).
2771         * posix/globtest.sh (run_via_rtld_prefix): New variable.
2772         (test_wrapper): Likewise.
2773         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
2774         set together with run_via_rtld_prefix.
2775         (run_program_prefix): Define in terms of test_wrapper and
2776         run_via_rtld_prefix.
2778 2012-10-24  Roland McGrath  <roland@hack.frob.com>
2780         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
2781         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
2782         Targets removed.
2784         [BZ #14743]
2785         * include/time.h: Remove librt_hidden_proto (clock_gettime).
2786         Declare __clock_getres, __clock_gettime, __clock_settime,
2787         __clock_nanosleep, and __clock_getcpuclockid.
2788         * rt/clock_gettime.c: Define __clock_gettime as an alias.
2789         Remove librt_hidden_def (clock_gettime).
2790         * sysdeps/unix/clock_gettime.c: Likewise.
2791         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
2792         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2793         * rt/clock_getres.c: Define __clock_getres as an alias.
2794         * sysdeps/posix/clock_getres.c: Likewise.
2795         * rt/clock_settime.c: Define __clock_settime as an alias.
2796         * sysdeps/unix/clock_settime.c: Likewise.
2797         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
2798         * sysdeps/unix/clock_nanosleep.c: Likewise.
2799         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2800         * rt/clock-compat.c: New file.
2801         * rt/Makefile (librt-routines): Add clock-compat and move
2802         $(clock-routines) to ...
2803         (routines): ... here, new variable.
2804         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
2805         Don't add get_clockfreq here.
2806         * rt/Versions (libc: GLIBC_2.17): New version set.
2807         Add clock_* symbols here.
2808         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
2809         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
2810         (GLIBC_2.17): Add clock_* symbols.
2811         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2812         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2813         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2815         Likewise.
2816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2817         Likewise.
2818         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2819         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2820         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2821         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2822         * NEWS: Mention the move.
2824         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2825         Use __open, __read, __close rather than their public counterparts.
2826         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2827         (__get_clockfreq_via_cpuinfo): Likewise.
2828         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
2829         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
2831         * config.h.in (HAVE_IFUNC): New #undef.
2832         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
2833         was successful.
2834         * configure: Regenerated.
2836 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
2838         * configure.in: Move READELF check to start of file.
2839         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
2840         libc_cv_asm_gnu_indirect_function in the process.
2841         * configure: Regenerated.
2843 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
2845         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
2846         send the output to /dev/null.
2847         (libc_cv_cc_with_libunwind): Likewise.
2848         (libc_cv_as_noexecstack): Likewise.
2849         * configure: Regenerate.
2851 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
2853         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
2855         * posix/globtest.sh (TMPDIR): Do not set.
2856         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
2857         (testout): Likewise.
2859 2012-10-24  Andreas Jaeger  <aj@suse.de>
2861         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
2862         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
2863         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
2864         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
2865         posix_fadvise64, posix_fallocate64.
2867         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
2868         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
2869         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
2870         Likewise.
2871         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
2872         Likewise.
2873         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
2875         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
2876         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
2877         <bits/fcntl-linux.h>.
2878         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
2880         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
2881         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
2882         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
2883         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
2884         [__WORDSIZE != 64]: Likewise.
2886 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
2888         * Makeconfig (run-built-tests): New variable.
2889         * Rules [$(cross-compiling) = yes]: Change condition to
2890         [$(run-built-tests) = no].
2891         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
2892         to [$(run-built-tests) = yes].
2893         * elf/Makefile [$(cross-compiling) = no]: Likewise
2894         * grp/Makefile [$(cross-compiling) = no]: Likewise.
2895         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
2896         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
2897         * intl/Makefile [$(cross-compiling) = no]: Likewise.
2898         * io/Makefile [$(cross-compiling) = no]: Likewise.
2899         * libio/Makefile [$(cross-compiling) = no]: Likewise.
2900         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
2901         * misc/Makefile [$(cross-compiling) = no]: Likewise.
2902         * posix/Makefile [$(cross-compiling) = no]: Likewise.
2903         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
2904         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
2905         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
2906         * string/Makefile [$(cross-compiling) = no]: Likewise.
2908         * posix/Makefile ($(objpfx)globtest.out): Pass
2909         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
2910         $(rtld-installed-name).
2911         * posix/globtest.sh (elf_objpfx): Remove variable.
2912         (rtld_installed_name): Likewise.
2913         (library_path): Likewise.
2914         (run_program_prefix): New variable.  Use for running globtest
2915         binary.
2917 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
2918             Joseph Myers  <joseph@codesourcery.com>
2920         * Makeconfig (host-built-program-cmd): New variable.
2921         * elf/Makefile (tst-stackguard1-ARGS): Use
2922         $(host-built-program-cmd).
2923         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
2924         (tst-spawn-ARGS): Likewise.
2925         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
2927 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
2928             Jim Blandy  <jimb@codesourcery.com>
2930         * Makeconfig (run-via-rtld-prefix): New variable.
2931         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
2932         (built-program-cmd): Likewise.
2934 2012-10-22  Andreas Jaeger  <aj@suse.de>
2936         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
2937         __O_RSYNC if it exists, otherwise to O_SYNC.
2939 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
2940             Joseph Myers  <joseph@codesourcery.com>
2942         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
2943         /dev/null.
2944         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
2945         from /dev/null
2946         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
2947         /dev/null.
2949 2012-10-22  Andreas Jaeger  <aj@suse.de>
2951         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
2952         Define always.
2953         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
2955         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2956         bits/fcntl-linux.h.
2958         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
2959         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
2961         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
2962         to __O_LARGEFILE.
2963         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
2964         to __O_LARGEFILE.
2966 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
2967             Joseph Myers  <joseph@codesourcery.com>
2969         * config.make.in (NM): New variable.
2971 2012-10-21  Andreas Jaeger  <aj@suse.de>
2973         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
2974         definitions and declarations that are provided by
2975         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2977 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
2979         [BZ #14683]
2980         * elf/Makefile (tests-static): Add tst-leaks1-static.
2981         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
2982         ($(objpfx)tst-leaks1-static): New rule.
2983         ($(objpfx)tst-leaks1-static-mem): Likewise.
2984         (tst-leaks1-static-ENV): New macro.
2985         * elf/dl-open.c (dl_open_worker): Check the main application
2986         only if SHARED is defined.
2987         * elf/tst-leaks1-static.c: New file.
2989 2012-10-20  Andreas Jaeger  <aj@suse.de>
2991         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
2992         generic values for Linux.
2993         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
2994         and declarations that are provided by <bits/fcntl-linux.h> and
2995         include <bits/fcntl-linux.h>.
2996         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2997         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2999 2012-10-20  Roland McGrath  <roland@hack.frob.com>
3001         * io/fcntl.h: Move include of <bits/types.h> to the top and
3002         include it unconditionally.
3004 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
3006         * wcsmbs/Makefile (tests-ifunc): New variable.
3007         (tests): Add $(tests-ifunc).
3008         * wcsmbs/test-wcschr-ifunc.c: New file.
3009         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3010         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3011         * wcsmbs/test-wcslen-ifunc.c: Likewise.
3012         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3013         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3015         * string/Makefile (tests-ifunc): New variable.
3016         (tests): Add $(tests-ifunc).
3017         * string/test-memccpy.c (TEST_NAME): New macro.
3018         * string/test-memchr.c (TEST_NAME): Likewise.
3019         * string/test-memcmp.c (TEST_NAME): Likewise.
3020         * string/test-memcpy.c (TEST_NAME): Likewise.
3021         * string/test-memmem.c (TEST_NAME): Likewise.
3022         * string/test-memmove.c (TEST_NAME): Likewise.
3023         * string/test-memset.c (TEST_NAME): Likewise.
3024         * string/test-rawmemchr.c (TEST_NAME): Likewise.
3025         * string/test-stpcpy.c (TEST_NAME): Likewise.
3026         * string/test-stpncpy.c (TEST_NAME): Likewise.
3027         * string/test-strcasecmp.c (TEST_NAME): Likewise.
3028         * string/test-strcasestr.c (TEST_NAME): Likewise.
3029         * string/test-strcat.c (TEST_NAME): Likewise.
3030         * string/test-strchr.c (TEST_NAME): Likewise.
3031         * string/test-strcmp.c(TEST_NAME): Likewise.
3032         * string/test-strcpy.c (TEST_NAME): Likewise.
3033         * string/test-strcspn.c (TEST_NAME): Likewise.
3034         * string/test-strlen.c (TEST_NAME): Likewise.
3035         * string/test-strncasecmp.c (TEST_NAME): Likewise.
3036         * string/test-strncmp.c (TEST_NAME): Likewise.
3037         * string/test-strncpy.c (TEST_NAME): Likewise.
3038         * string/test-strnlen.c (TEST_NAME): Likewise.
3039         * string/test-strpbrk.c (TEST_NAME): Likewise.
3040         * string/test-strrchr.c (TEST_NAME): Likewise.
3041         * string/test-strspn.c (TEST_NAME): Likewise.
3042         * string/test-strstr.c (TEST_NAME): Likewise.
3043         * string/test-bcopy-ifunc.c: New file.
3044         * string/test-bzero-ifunc.c: Likewise.
3045         * string/test-memccpy-ifunc.c: Likewise.
3046         * string/test-memchr-ifunc.c: Likewise.
3047         * string/test-memcmp-ifunc.c: Likewise.
3048         * string/test-memcpy-ifunc.c: Likewise.
3049         * string/test-memmem-ifunc.c: Likewise.
3050         * string/test-memmove-ifunc.c: Likewise.
3051         * string/test-mempcpy-ifunc.c: Likewise.
3052         * string/test-memset-ifunc.c: Likewise.
3053         * string/test-rawmemchr-ifunc.c: Likewise.
3054         * string/test-stpcpy-ifunc.c: Likewise.
3055         * string/test-stpncpy-ifunc.c: Likewise.
3056         * string/test-strcasecmp-ifunc.c: Likewise.
3057         * string/test-strcasestr-ifunc.c: Likewise.
3058         * string/test-strcat-ifunc.c: Likewise.
3059         * string/test-strchr-ifunc.c: Likewise.
3060         * string/test-strchrnul-ifunc.c: Likewise.
3061         * string/test-strcmp-ifunc.c: Likewise.
3062         * string/test-strcpy-ifunc.c: Likewise.
3063         * string/test-strcspn-ifunc.c: Likewise.
3064         * string/test-strlen-ifunc.c: Likewise.
3065         * string/test-strncasecmp-ifunc.c: Likewise.
3066         * string/test-strncat-ifunc.c: Likewise.
3067         * string/test-strncmp-ifunc.c: Likewise.
3068         * string/test-strncpy-ifunc.c: Likewise.
3069         * string/test-strnlen-ifunc.c: Likewise.
3070         * string/test-strpbrk-ifunc.c: Likewise.
3071         * string/test-strrchr-ifunc.c: Likewise.
3072         * string/test-strspn-ifunc.c: Likewise.
3073         * string/test-strstr-ifunc.c: Likewise.
3075         * debug/Makefile (tests-ifunc): New variable.
3076         (tests): Add $(tests-ifunc).
3077         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
3078         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
3079         * debug/test-stpcpy_chk-ifunc.c: New file.
3080         * debug/test-strcpy_chk-ifunc.c: Likewise.
3082 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
3084         [BZ #13601]
3085         * elf/dl-load.c (open_verify): Retry read if the entire ELF
3086         header is not read in.
3088 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
3090         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
3091         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
3092         directly.  Pass built executable to script as
3093         $(built-program-cmd).
3094         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
3095         $testprogram without using LD_LIBRARY_PATH and $ldso.
3097         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
3098         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
3099         $(rtld-installed-name).
3100         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
3101         (rtld_installed_name): Likewise.
3102         (library_path): Likewise.
3103         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
3104         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
3105         $(run-program-prefix) to tst-tables.sh.
3106         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
3107         it to run tst-table-from and tst-table-to.
3108         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
3109         Pass it to tst-table.sh.
3110         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
3111         $(run-program-prefix) to tst-gettext.sh.
3112         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
3113         tst-translit.sh.
3114         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
3115         tst-gettext2.sh.
3116         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
3117         to run tst-gettext.
3118         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
3119         to run tst-gettext2.
3120         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
3121         to run tst-translit.
3122         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
3123         $(run-program-prefix) to tst-mtrace.sh.
3124         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
3125         to run tst-mtrace.
3126         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
3127         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
3128         $(rtld-installed-name).
3129         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
3130         (rtld_installed_name): Likewise.
3131         (run_program_prefix): New variable.  Use it to run wordexp-test.
3133         * Makeconfig (ARCH): Remove all definitions.
3134         (machine): Likewise.
3135         [ARCH]: Remove conditional code.
3136         [!objdir]: Give error.
3137         [!objdir] (objpfx): Remove.
3138         [!objdir] (common-objpfx): Likewise.
3139         [!objdir] (common-objdir): Likewise.
3140         * configure.in (config_makefile): Remove.  Hardcode Makefile in
3141         AC_CONFIG_FILES call.
3142         * configure: Regenerated.
3144         [BZ #13888]
3145         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
3146         or TMPDIR.
3147         (testout): Likewise.
3149         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
3150         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
3151         $(rtld-installed-name).
3152         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
3153         (rtld_installed_name): Likwise.
3154         (runit): Remove function.
3155         (run_getconf): New variable,  Use it for running getconf binary.
3157 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
3159         [BZ #14716]
3160         * string/test-memmem.c (check_result): New function.
3161         (do_one_test): Use it.
3162         (check1): New function.
3163         (test_main): Use it.
3165 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
3167         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
3169 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
3171         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
3172         (_G_LSEEK64): Likewise.
3173         (_G_MMAP64): Likewise.
3174         (_G_FSTAT64): Likewise.
3175         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
3176         (_G_LSEEK64): Likewise.
3177         (_G_MMAP64): Likewise.
3178         (_G_FSTAT64): Likewise.
3179         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
3180         unconditional.  Call __mmap64 directly.
3181         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
3182         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
3183         __lseek64 directly.
3184         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
3185         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
3186         __mmap64 directly.
3187         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
3188         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
3189         __lseek64 directly.
3190         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
3191         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
3192         __lseek64 directly.
3193         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
3194         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
3195         __lseek64 directly.
3196         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
3197         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
3198         __fxstat64 directly.
3199         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
3200         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
3201         unconditional.
3202         (freopen64) [!_G_OPEN64]: Remove conditional code.
3203         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
3204         unconditional.
3205         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
3206         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
3207         unconditional.
3208         (ftello64) [!_G_LSEEK64]: Remove conditional code.
3209         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
3210         unconditional.
3211         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3212         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
3213         unconditional.
3214         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
3215         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
3216         unconditional.
3217         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3218         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
3219         unconditional.
3220         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3221         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
3222         unconditional.
3223         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3225 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3227         [BZ #12140]
3228         * manual/memory.texi (Malloc Tunable Parameters): Add note
3229         about free list pointers overwriting some perturb bytes.
3230         Wording suggested by Roland McGrath.
3232 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
3234         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
3235         (lgamma_test): Likewise.
3236         (tgamma_test): Likewise.
3238 2012-10-16  Florian Weimer  <fweimer@redhat.com>
3240         [BZ #14700]
3241         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
3242         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
3244 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
3246         * NEWS: Mention BZ #14716.
3247         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
3248         when removing AVAILABLE1_USES_J macro.
3250 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
3252         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
3253         (__bswap_64): __uint64_t for unsigned 64-bit int.
3255 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
3257         * include/string.h (memmem): Declare libc hidden alias.
3258         * string/memmem.c (memmem): Define libc hidden alias.
3259         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
3260         __read, __close instead of open, read, close.
3262 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
3264         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
3265         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
3266         global and hidden.
3267         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
3268         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
3269         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
3270         Likewise.
3271         (__rawmemchr_sse2): Likewise.
3272         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
3273         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
3274         (__strchr_sse2): Likewise.
3275         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
3276         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
3277         (__strcasecmp_sse2): Likewise.
3278         (__strncasecmp_sse2): Likewise.
3279         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
3280         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
3281         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
3282         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
3283         (__strrchr_sse2): Likewise.
3284         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
3285         ifunc-impl-list.c.
3286         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3287         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3288         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3289         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3290         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3291         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3292         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3293         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3294         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
3295         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
3296         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
3297         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
3298         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
3299         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3300         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3301         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3302         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3303         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3304         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
3305         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
3306         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
3307         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
3308         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
3309         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
3310         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
3311         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3312         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3313         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
3314         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3315         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3317         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
3318         global and hidden.
3319         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
3320         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
3321         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
3322         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
3323         Likewise.
3324         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
3325         Likewise.
3326         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
3327         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
3328         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
3329         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
3330         ifunc-impl-list.c.
3331         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3332         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3333         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3334         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3335         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3336         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3337         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3338         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3339         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3340         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3341         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3342         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3343         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3344         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
3345         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
3346         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3347         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
3348         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
3349         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3350         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3351         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3352         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3353         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3354         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3355         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3356         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
3357         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
3358         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
3359         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
3360         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3361         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
3362         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3363         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3364         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
3365         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3366         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3367         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3368         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3369         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3370         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3371         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
3373         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
3374         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
3375         * include/ifunc-impl-list.h: New file.
3376         * misc/ifunc-impl-list.c: Likewise.
3377         * misc/Makefile (routines): Add ifunc-impl-list.
3378         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
3379         * string/test-string.h: Include <ifunc-impl-list.h>.
3380         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
3381         impl_array): New variables.
3382         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
3383         are defined.
3384         (test_init): Call __libc_ifunc_impl_list to initialize
3385         func_list if TEST_IFUNC and TEST_NAME are defined.
3387         * string/Makefile (strop-tests): Add bcopy and bzero.
3388         * string/test-bcopy.c: New file.
3389         * string/test-bzero.c: Likewise.
3390         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
3391         defined.
3392         * string/test-memset.c: Support bzero test if TEST_BZERO is
3393         defined.
3394         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
3395         __libc_memmove.
3396         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
3397         __libc_memset.
3398         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
3399         of memset.
3401 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
3403         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
3404         * configure: Regenerated.
3406         * Makeconfig (+link-static-before-libc): Don't include
3407         $(link-static-libc).
3409         * libio/libio.h (_IO_pos_t): Remove.
3411 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
3413         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
3414         McGrath.
3416 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
3418         * crypt/crypt-entry.c: Include fips-private.h.
3419         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
3420         * crypt/md5c-test.c (main): Tolerate disabled MD5.
3421         * sysdeps/unix/sysv/linux/fips-private.h: New file.
3422         * sysdeps/generic/fips-private.h: New file, dummy fallback.
3424 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
3426         * crypt/crypt-private.h: Include stdbool.h.
3427         (_ufc_setup_salt_r): Return bool.
3428         * crypt/crypt-entry.c: Include errno.h.
3429         (__crypt_r): Return NULL with EINVAL for bad salt.
3430         * crypt/crypt_util.c (bad_for_salt): New.
3431         (_ufc_setup_salt_r): Check that salt is long enough and within
3432         the specified alphabet.
3433         * crypt/badsalttest.c: New file.
3434         * crypt/Makefile (tests): Add it.
3435         ($(objpfx)badsalttest): New.
3437 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
3439         * NEWS: Add entry for BZ #14602.
3441 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
3443         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
3444         type-generic.
3445         * math/libm-test.inc: Update comment listing what functions and
3446         macros are tested.
3447         (isgreater_test): New function.
3448         (isgreaterequal_test): Likewise.
3449         (isless_test): Likewise.
3450         (islessequal_test): Likewise.
3451         (islessgreater_test): Likewise.
3452         (isunordered_test): Likewise.
3453         (main): Call the new functions.
3455 2012-10-09  Roland McGrath  <roland@hack.frob.com>
3457         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
3458         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
3459         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
3460         * sysdeps/i386/configure: Regenerated.
3461         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
3462         * sysdeps/mach/configure: Regenerated.
3463         * sysdeps/mach/hurd/configure: Regenerated.
3464         * sysdeps/powerpc/configure: Regenerated.
3465         * sysdeps/powerpc/powerpc32/configure: Regenerated.
3466         * sysdeps/powerpc/powerpc64/configure: Regenerated.
3467         * sysdeps/s390/s390-32/configure: Regenerated.
3468         * sysdeps/s390/s390-64/configure: Regenerated.
3469         * sysdeps/sh/configure: Regenerated.
3470         * sysdeps/sparc/configure: Regenerated.
3471         * sysdeps/unix/sysv/linux/configure: Regenerated.
3472         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3473         * sysdeps/x86_64/configure: Regenerated.
3475         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
3476         defined.  Don't check if MAP is NULL.
3478 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
3480         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
3481         (_G_stat64): Likewise.
3482         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
3483         (_G_stat64): Likewise.
3484         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
3485         instead of struct _G_stat64.
3486         * libio/fileops.c (mmap_remap_check): Likewise.
3487         (decide_maybe_mmap): Likewise.
3488         (_IO_new_file_seekoff): Likewise.
3489         (_IO_file_stat): Likewise.
3490         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
3491         _G_off64_t.
3492         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
3493         instead of struct _G_stat64.
3494         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3496 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
3498         [BZ #14602]
3499         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3500         Replace with ...
3501         (CHECK_EOL): New macro.
3502         (two_way_short_needle): Check beginning of haystack for EOL.  Use
3503         CHECK_EOL.
3504         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3505         Replace with CHECK_EOL.
3506         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3507         Replace with CHECK_EOL.
3509 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
3511         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
3512         type-generic.
3513         * math/libm-test.inc: Update comment listing what functions and
3514         macros are tested.
3515         (finite_test): New function.
3516         (isinf_test): Likewise.
3517         (isnan_test): Likewise.
3518         (fpclassify_test): Test subnormal input.
3519         (isfinite_test): Likewise.
3520         (isnormal_test): Likewise.
3521         (main): Call the new functions.
3523 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
3525         [BZ #14660]
3526         * Makerules (%.dynsym): Force C locale when running
3527         $(OBJDUMP) --dynamic-syms.
3529 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
3531         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
3532         <stdint.h>.
3534 2012-10-06  David S. Miller  <davem@davemloft.net>
3536         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
3537         upper 32-bits of the length value in %o2 since we use branch-on-register
3538         tests which consider the entire 64-bit register.
3540 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
3542         * string/test-strstr.c (check2): Add a test for page boundary.
3544 2012-10-05  David S. Miller  <davem@davemloft.net>
3546         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
3547         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
3548         file.
3549         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3550         sysdep_routines.
3551         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3552         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
3553         and bzero when HWCAP_SPARC_CRYPTO is present.
3555 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
3557         [BZ #14602]
3558         * string/test-strstr.c (check2): New function.
3559         (test_main): Call check2.
3561         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
3562         and bug-strchr1.
3563         * string/bug-strcasestr1.c (do_test): Moved to ...
3564         * string/test-strcasestr.c (check1): Here.  New function.
3565         (do_one_test): Break out result checking code into ...
3566         (check_result): This.  New function.
3567         (do_one_test): Call check_result.
3568         (test_main): Call check1.
3569         * string/bug-strchr1.c (do_test): Moved to ...
3570         * string/test-strchr.c (check1): Here.  New function.
3571         (do_one_test): Break out result checking code into ...
3572         (check_result): This.  New function.
3573         (do_one_test): Call check_result.
3574         (test_main): Call check1.
3575         * string/bug-strstr1.c (main): Moved to ...
3576         * string/test-strchr.c (check1): Here.  New function.
3577         (do_one_test): Break out result checking code into ...
3578         (check_result): This.  New function.
3579         (do_one_test): Call check_result.
3580         (test_main): Call check1.
3581         * string/bug-strcasestr1.c: Removed.
3582         * string/bug-strchr1.c: Likewise.
3583         * string/bug-strstr1.c: Likewise.
3585         * elf/Makefile (dl-routines): Add hwcaps.
3586         * elf/dl-support.c (_dl_important_hwcaps): Removed.
3587         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
3588         (_dl_important_hwcaps): Moved to ...
3589         * elf/dl-hwcaps.c: Here.  New file.
3590         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
3592         [BZ #14557]
3593         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
3594         if IS_IN_rtld isn't defined.
3596         * elf/dl-support.c (_dl_sysinfo_map): New.
3597         Include "get-dynamic-info.h" and "setup-vdso.h".
3598         (_dl_non_dynamic_init): Call setup_vdso.
3599         * elf/dynamic-link.h: Don't include <assert.h>.
3600         (elf_get_dynamic_info): Moved to ...
3601         * elf/get-dynamic-info.h: Here.  New file.
3602         * elf/dynamic-link.h: Include "get-dynamic-info.h".
3603         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
3604         * elf/setup-vdso.h: Here.  New file.
3605         * elf/rtld.c: Include "setup-vdso.h".
3606         (dl_main): Call setup_vdso.
3608 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
3610         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
3611         creal in comment listing functions tested.  List finite, isinf,
3612         isnan, isless, islessequal, isgreater, isgreaterequal,
3613         islessgreater, isunordered, lgamma_r and pow10 as functions and
3614         macros not tested.  Mention which functions not tested are aliases
3615         for other functions.  Fix typo.  Note that signs of NaNs are not
3616         tested.
3618         * scripts/config.guess: Update from config.git.
3619         * scripts/config.sub: Likewise.
3621 2012-10-04  Roland McGrath  <roland@hack.frob.com>
3623         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
3624         * misc/madvise.c (madvise): Renamed to __madvise.
3625         Make madvise a weak alias.
3626         * include/sys/mman.h: Declare __madvise.
3627         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
3628         * sysdeps/unix/syscalls.list
3629         (madvise): Make __madvise the strong name, and madvise a weak alias.
3630         * sysdeps/unix/sysv/linux/syscalls.list
3631         (madvise, mmap): Remove redundant entries.
3632         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
3633         * malloc/malloc.c (mtrim): Likewise.
3634         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
3636 2012-10-03  Roland McGrath  <roland@hack.frob.com>
3638         * sysdeps/mach/hurd/dl-cache.c: File removed.
3639         * config.h.in (USE_LDCONFIG): New #undef.
3640         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
3641         * configure: Regenerated.
3642         * elf/Makefile (dl-routines): Add dl-cache only under
3643         [$(use-ldconfig) = yes].
3644         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
3645         cache on [USE_LDCONFIG].
3646         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
3647         [USE_LDCONFIG].
3648         * elf/rtld.c (dl_main): Likewise.
3650 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
3652         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
3653         _SC_LEVEL4_CACHE_LINESIZE.
3655 2012-10-03  Roland McGrath  <roland@hack.frob.com>
3657         * sysdeps/unix/bsd/confstr.h: File removed.
3659 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
3661         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
3662         sys/sdt-config.h.
3664 2012-10-02  Roland McGrath  <roland@hack.frob.com>
3666         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
3667         Make 'mapoff' field ElfW(Off) rather than off_t.
3669 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
3671         * nscd/Makefile: Remove nscd-cflags and all its users.
3672         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
3673         (CFLAGS-nonlib): Add compiler flags for nscd modules.
3675         [BZ #10631]
3676         * malloc.c (malloc_printerr): Clarify error message.
3678 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
3680         [BZ #14648]
3681         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3682         Set bit_FMA_Usable if FMA is supported.
3683         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
3684         macro.
3685         (bit_FMA4_Usable): Updated.
3686         (index_FMA_Usable): New macro.
3687         (CPUID_FMA): Likewise
3688         (HAS_FMA): Defined with bit_FMA_Usable.
3690 2012-10-01  Roland McGrath  <roland@hack.frob.com>
3692         * bits/types.h (__swblk_t): Type removed.
3693         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
3694         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
3695         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3696         (__SWBLK_T_TYPE): Likewise.
3697         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3698         (__SWBLK_T_TYPE): Likewise.
3699         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3700         (__SWBLK_T_TYPE): Likewise.
3701         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3702         (__SWBLK_T_TYPE): Likewise.
3704 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
3705             Honza Horak <hhorak@redhat.com>
3707         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
3708         (xdr_mapname): Use YPMAXMAP as maxsize.
3709         (xdr_peername): Use YPMAXPEER as maxsize.
3710         (xdr_keydat): Use YPAXRECORD as maxsize.
3711         (xdr_valdat): Use YPMAXRECORD as maxsize.
3713 2012-10-01  Roland McGrath  <roland@hack.frob.com>
3715         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
3717         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
3718         * csu/init-first.c: ... here.
3719         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
3720         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3721         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
3722         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3723         * sysdeps/i386/init-first.c: File removed.
3724         * sysdeps/sh/init-first.c: File removed.
3726 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
3728         [BZ #14645]
3729         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
3730         if x * y might underflow to zero and z is zero.
3731         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3732         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3733         * math/libm-test.inc (min_subnorm_value): New variable.
3734         (fma_test): Add more tests.
3735         (fma_test_towardzero): Likewise.
3736         (fma_test_downward): Likewise
3737         (fma_test_upward): Likewise.
3738         (initialize): Set min_subnorm_value.
3740 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
3742         [BZ #14638]
3743         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
3744         0 + 0.
3745         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
3746         mode for addition resulting in exact zero.
3747         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
3748         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
3749         exact 0 + 0.
3750         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3751         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3752         * math/libm-test.inc (fma_test): Add more tests.
3753         (fma_test_towardzero): New function.
3754         (fma_test_downward): Likewise.
3755         (fma_test_upward): Likewise.
3756         (main): Call the new functions.
3758 2012-09-28  David S. Miller  <davem@davemloft.net>
3760         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
3762 2012-09-28  Roland McGrath  <roland@hack.frob.com>
3764         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
3765         instead of SIGALRM.
3767         * sysdeps/gnu/_G_config.h: Moved to ...
3768         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
3769         * sysdeps/mach/hurd/_G_config.h: Moved to ...
3770         * sysdeps/generic/_G_config.h: ... here.
3772         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
3774         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
3776         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
3777         Conditionalize target on [libnss_test1.so-version].
3779         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
3781         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
3782         (elfobjdir): Move out of conditionals.
3784         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
3785         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
3786         (__nss_lookup_function): Conditionalize label remove_from_tree on
3787         [!DO_STATIC_NSS || SHARED], matching its only use.
3789 2012-09-28  David S. Miller  <davem@davemloft.net>
3791         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
3792         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
3793         file.
3794         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3795         sysdep_routines.
3796         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3797         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
3798         when HWCAP_SPARC_CRYPTO is present.
3800 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
3802         * io/tst-mknodat.c: Create a FIFO instead of a socket.
3804 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
3806         [BZ #6530]
3807         * stdio-common/vfprintf.c (process_string_arg): Revert
3808         2000-07-22 change.
3810 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
3812         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
3813         for testcase.
3814         * stdio-common/tst-sprintf.c: Include <locale.h>
3815         (main): Test sprintf's handling of incomplete multibyte
3816         characters.
3818 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
3820         * elf/dl-runtime.c (VERSYMIDX): Removed.
3821         * elf/dl-version.c (VERSYMIDX): Likewise.
3822         * elf/do-rel.h (VERSYMIDX): Likewise.
3823         (VALIDX): Likewise.
3824         * elf/dynamic-link.h (VERSYMIDX): Likewise.
3825         * elf/rtld.c (VALIDX): Likewise.
3826         (ADDRIDX): Likewise.
3827         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
3828         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
3829         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
3830         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
3831         (VALIDX): Likewise.
3832         (ADDRIDX): Likewise.
3834 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
3836         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
3838 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
3840         [BZ #11438]
3841         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
3842         to global scope.
3843         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
3844         addresses are in the same scope as 192.0.2/24.
3845         * posix/gai.conf: Document new scope table defaults.
3847 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3849         [BZ #5298]
3850         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
3851         for ftell.  Compute offsets from write pointers instead.
3852         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3854 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3856         [BZ #14543]
3857         * libio/Makefile (tests): New test case tst-fseek.
3858         * libio/tst-fseek.c: New test case to verify that fseek/ftell
3859         combination works in wide mode.
3860         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
3861         state when the external buffer state changes.
3863 2012-09-27  David S. Miller  <davem@davemloft.net>
3865         [BZ #14376]
3866         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
3867         pass reloc->r_addend in as the 'high' argument to
3868         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
3870         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3872 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
3874         * rt/tst-aio2.c: Include <pthread.h>.
3875         * rt/tst-aio3.c: Likewise.
3877 2012-09-27  Steve Ellcey  <sellcey@mips.com>
3879         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
3881 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
3883         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
3884         contents on [SHARED].
3886 2012-09-26  Marek Polacek  <polacek@redhat.com>
3888         [BZ #14530]
3889         [BZ #13741]
3890         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
3891         for C++ and GCC <4.3 as well as for non GCC compilers.
3893 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
3895         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3897 2012-09-25  Roland McGrath  <roland@hack.frob.com>
3899         * Makefile.in (all, install): Declare with .PHONY.
3900         Reported by Michael Hope <michael.hope@linaro.org>.
3902 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3904         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
3905         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
3906         system header.
3907         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
3908         Likewise.
3909         (sydep_routines): Add the new and the internal functions.
3910         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
3911         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
3912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
3913         (GLIBC_2.17): Add the new function.
3914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3915         (GLIBC_2.17): Likewise.
3916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3917         (GLIBC_2.17): Likewise.
3918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
3919         (GLIBC_2.17): Likewise.
3920         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
3922 2012-09-25  Alan Modra  <amodra@gmail.com>
3924         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
3925         Add release barrier before setting once_control to say
3926         initialisation is done.  Add hints on lwarx.  Use macro in
3927         place of isync.
3928         (clear_once_control): Add release barrier.
3930 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
3932         [BZ #13629]
3933         * math/s_clog.c (__clog): Handle more values close to |z| = 1
3934         specially.
3935         * math/s_clog10.c (__clog10): Likewise.
3936         * math/s_clog10f.c (__clog10f): Likewise.
3937         * math/s_clog10l.c (__clog10l): Likewise.
3938         * math/s_clogf.c (__clogf): Likewise.
3939         * math/s_clogl.c (__clogl): Likewise.
3940         * math/Makefile (libm-calls): Add x2y2m1.
3941         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
3942         (__x2y2m1): Likewise.
3943         (__x2y2m1l): Likewise.
3944         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
3945         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
3946         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3947         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3948         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
3949         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
3950         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
3951         * sysdeps/i386/fpu/libm-test-ulps: Update.
3952         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3954         [BZ #14621]
3955         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
3956         int as type of variable DEPTH.
3957         (glob): Use size_t instead of int as type of variables NEWCOUNT
3958         and OLD_PATHC.
3960 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
3962         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3963         Add s_sincosf-sse2.
3964         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
3965         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
3966         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
3967         macros for using routine as __sincosf_ia32.
3968         Use macro for function declaration and weak_alias.
3969         * sysdeps/i386/fpu/libm-test-ulps: Update.
3971         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
3972         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3974         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
3975         subnormal argument.
3976         * math/s_cexpf.c (__cexpf): Likewise.
3977         * math/s_csinf.c (__csinf): Likewise.
3978         * math/s_csinhf.c (__csinhf): Likewise.
3979         * math/s_ctanf.c (__ctanf): Likewise.
3980         * math/s_ctanhf.c (__ctanhf): Likewise.
3981         * math/s_ccosh.c (__ccoshf): Likewise.
3982         * math/s_cexp.c (__cexpl): Likewise.
3983         * math/s_csin.c (__csin): Likewise.
3984         * math/s_csinh.c (__csinh): Likewise.
3985         * math/s_ctan.c (__ctan): Likewise.
3986         * math/s_ctanh.c (ctanh): Likewise.
3987         * math/s_ccoshl.c (__ccoshl): Likewise.
3988         * math/s_cexpl.c (__cexpl): Likewise.
3989         * math/s_csinl.c (__csinl): Likewise.
3990         * math/s_csinhl.c (__csinhl): Likewise.
3991         * math/s_ctanl.c (__ctanl): Likewise.
3992         * math/s_ctanhl.c (__ctanhl): Likewise.
3994 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
3996         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
3997         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
3998         (_IO_off_t): Define to __off_t, not _G_off_t.
3999         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
4000         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
4001         (_IO_wint_t): Define to wint_t, not _G_wint_t.
4002         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
4003         type of __dummy and __dummy2 fields.
4004         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
4005         (_G_ssize_t): Likewise.
4006         (_G_off_t): Likewise.
4007         (_G_pid_t): Likewise.
4008         (_G_uid_t): Likewise.
4009         (_G_wchar_t): Likewise.
4010         (_G_wint_t): Likewise.
4011         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
4012         (_G_ssize_t): Likewise.
4013         (_G_off_t): Likewise.
4014         (_G_pid_t): Likewise.
4015         (_G_uid_t): Likewise.
4016         (_G_wchar_t): Likewise.
4017         (_G_wint_t): Likewise.
4018         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
4019         (_G_ssize_t): Likewise.
4020         (_G_off_t): Likewise.
4021         (_G_pid_t): Likewise.
4022         (_G_uid_t): Likewise.
4023         (_G_wchar_t): Likewise.
4024         (_G_wint_t): Likewise.
4026 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
4028         * malloc/arena.c: Include malloc-sysdep.h.
4029         (shrink_heap): Use check_may_shrink_heap to decide if madvise
4030         is sufficient to shrink the heap or an unmap is needed.
4031         * sysdeps/generic/malloc-sysdep.h: New file.  Define
4032         new function check_may_shrink_heap.
4033         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
4034         new function check_may_shrink_heap.
4036 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
4038         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
4039         comments.
4041 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
4043         * catgets/test-gencat.sh: Add "set -e".
4044         * elf/tst-pathopt.sh: Likewise.
4045         * grp/tst_fgetgrent.sh: Likewise.
4046         * iconvdata/run-iconv-test.sh: Likewise.
4047         * intl/tst-gettext.sh: Likewise.
4048         * intl/tst-gettext2.sh: Likewise.
4049         * intl/tst-gettext4.sh: Likewise.
4050         * intl/tst-gettext6.sh: Likewise.
4051         * intl/tst-translit.sh: Likewise.
4052         * io/ftwtest-sh: Likewise.
4053         * libio/test-freopen.sh: Likewise.
4054         * malloc/tst-mtrace.sh: Likewise.
4055         * posix/globtest.sh: Likewise.
4056         * posix/tst-getconf.sh: Likewise.
4057         * posix/wordexp-tst.sh: Likewise.
4058         * stdio-common/tst-printf.sh: Likewise.
4059         * stdio-common/tst-unbputc.sh: Likewise.
4060         * stdlib/tst-fmtmsg.sh: Likewise.
4061         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
4062         * catgets/Makefile: Do not specify -e option when running
4063         testsuite shell scripts.
4064         * elf/Makefile: Likewise.
4065         * grp/Makefile: Likewise.
4066         * iconvdata/Makefile: Likewise.
4067         * intl/Makefile: Likewise.
4068         * io/Makefile: Likewise.
4069         * libio/Makefile: Likewise.
4070         * malloc/Makefile: Likewise.
4071         * posix/Makefile: Likewise.
4072         * stdio-common/Makefile: Likewise.
4073         * stdlib/Makefile: Likewise.
4074         * sysdeps/x86_64/Makefile: Likewise.
4076         * io/ftwtest-sh: Add copyright header.
4077         * posix/globtest.sh: Likewise.
4078         * posix/tst-getconf.sh: Likewise.
4079         * posix/wordexp-tst.sh: Likewise.
4080         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
4082 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
4084         [BZ #13679]
4085         * Makeconfig (+link): Defined as $(+link-static) if
4086         $(build-shared) isn't yes.
4087         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
4088         isn't yes.
4089         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
4091         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
4093         [BZ #14562]
4094         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
4095         new chunk size with MALLOC_ALIGN_MASK.
4097 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
4099         [BZ #5044]
4100         * stdio-common/printf_fphex.c: Include <stdbool.h> and
4101         <rounding-mode.h>.
4102         (__printf_fphex): Determine rounding using get_rounding_mode and
4103         round_away.
4104         * stdio-common/tst-printf-round.c (struct hex_test): New
4105         structure.
4106         (hex_tests): New variable.
4107         (test_hex_in_one_mode): New function.
4108         (do_test): Also run tests for hex float output.
4110 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
4112         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4113         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4114         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
4115         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4116         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4117         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
4118         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4119         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4121 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
4123         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
4124         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
4125         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
4126         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
4128 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
4130         [BZ #14579]
4131         * elf/rtld.c (dl_main): Limit the check for self loading to normal
4132         mode only.
4133         * elf/tst-rtld-load-self.sh: New test.
4134         * elf/Makefile: Run it.
4136 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
4138         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
4139         (tst-writev-ENV): Remove.
4140         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
4142 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
4144         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
4146 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
4148         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
4149         unconditional.
4150         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
4151         Likewise.
4152         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
4153         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
4154         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
4155         Likewise.
4157 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
4159         [BZ #14587]
4160         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
4161         * config.make.in (have-cpp-asm-debuginfo): Removed.
4162         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
4163         * configure: Regenerated.
4165 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
4167         [BZ #5044]
4168         * stdio-common/printf_fp.c: Include <stdbool.h> and
4169         <rounding-mode.h>.
4170         (___printf_fp): Determine rounding using get_rounding_mode and
4171         round_away.
4172         * stdio-common/tst-printf-round.c: New file.
4173         * stdio-common/Makefile (tests): Add tst-printf-round.
4174         (link-libm): New variable.
4175         ($(objpfx)tst-printf-round): Depend in $(link-libm).
4177 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
4179         [BZ #14576]
4180         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
4181         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
4182         Likewise.
4183         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
4184         Likewise.
4186 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
4188         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
4189         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4190         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4191         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4193 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
4195         [BZ #14518]
4196         * include/rounding-mode.h: New file.
4197         * sysdeps/generic/get-rounding-mode.h: Likewise.
4198         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
4199         * stdlib/strtod_l.c: Include <rounding-mode.h>.
4200         (MAX_VALUE): New macro.
4201         (MIN_VALUE): Likewise.
4202         (overflow_value): New function.
4203         (underflow_value): Likewise.
4204         (round_and_return): Use overflow_value and underflow_value to
4205         determine return values in overflow and underflow cases.  Use
4206         round_away to determine rounding depending on rounding mode.
4207         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
4208         determine return values in overflow and underflow cases.
4209         * stdlib/tst-strtod-round.c: Include <fenv.h>.
4210         (struct test_results): New structure.
4211         (struct test): Use struct test_results to store expected results
4212         for all rounding modes.
4213         (TEST): Include expected results for all rounding modes.
4214         (test_in_one_mode): New function.
4215         (do_test): Use test_in_one_mode to compute and check results.
4216         Check results for all rounding modes.
4217         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
4218         $(link-libm).
4220 2012-12-09  Allan McRae  <allan@archlinux.org>
4222         * sysdeps/i386/fpu/libm-test-ulps: Update
4224 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
4226         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
4227         (_G_int32_t): Likewise.
4228         (_G_uint16_t): Likewise.
4229         (_G_uint32_t): Likewise.
4230         (_G_HAVE_BOOL): Likewise.
4231         (_G_HAVE_ATEXIT): Likewise.
4232         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4233         (_G_HAVE_IO_FILE_OPEN): Likewise.
4234         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
4235         (_G_int32_t): Likewise.
4236         (_G_uint16_t): Likewise.
4237         (_G_uint32_t): Likewise.
4238         (_G_HAVE_BOOL): Likewise.
4239         (_G_HAVE_ATEXIT): Likewise.
4240         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4241         (_G_HAVE_IO_FILE_OPEN): Likewise.
4242         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
4243         (_G_int32_t): Likewise.
4244         (_G_uint16_t): Likewise.
4245         (_G_uint32_t): Likewise.
4246         (_G_HAVE_BOOL): Likewise.
4247         (_G_HAVE_ATEXIT): Likewise.
4248         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4249         (_G_HAVE_IO_FILE_OPEN): Likewise.
4251 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
4253         * csu/libc-tls.c: Update copyright years.
4255 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
4257         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
4258         [!_G_USING_THUNKS]: Remove conditional code.
4259         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
4260         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
4262         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
4263         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
4264         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4265         (_G_VTABLE_LABEL_PREFIX): Likewise.
4266         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4267         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4268         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4269         (_G_VTABLE_LABEL_PREFIX): Likewise.
4270         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4271         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4272         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4273         (_G_VTABLE_LABEL_PREFIX): Likewise.
4274         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4276 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
4278         * libio/Makefile: Include ../Makeconfig before tests.
4279         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
4280         only if $(build-shared) is yes.
4282         * iconv/gconv_db.c: Update copyright years.
4284 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4286         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
4287         unwind info if defined PIC. Fix special cases description.
4288         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
4290         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
4291         DP_HI_MASK entry.
4292         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
4294 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
4296         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
4298         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
4299         is NULL.
4301         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
4302         (LDLIBS-tst-chk4): This.
4303         (LDFLAGS-tst-chk5): Renamed to ...
4304         (LDLIBS-tst-chk5): This.
4305         (LDFLAGS-tst-chk6): Renamed to ...
4306         (LDLIBS-tst-chk6): This.
4307         (LDFLAGS-tst-lfschk4): Renamed to ...
4308         (LDLIBS-tst-lfschk4): This.
4309         (LDFLAGS-tst-lfschk5): Renamed to ...
4310         (LDLIBS-tst-lfschk5): This.
4311         (LDFLAGS-tst-lfschk6): Renamed to ...
4312         (LDLIBS-tst-lfschk6): This.
4314         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
4315         on $(common-objpfx)soversions.mk.
4317 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
4319         [BZ #10014]
4320         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
4321         example host name.
4323 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
4325         * malloc/arena.c (arena_get_retry): New function that gets
4326         another arena for the caller to try its request on.
4327         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
4328         current arena cannot fulfill the request.
4329         (__libc_memalign): Likewise.
4330         (__libc_memalign): Likewise.
4331         (__libc_pvalloc): Likewise.
4332         (__libc_calloc): Likewise.
4334 2012-09-05  John Tobey  <john.tobey@gmail.com>
4336         [BZ #13542]
4337         * manual/arith.texi (Operations on Complex): Fix description
4338         of carg branch cut.
4340 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
4342         [BZ #10014]
4343         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
4344         host name.
4346         [BZ #10038]
4347         * manual/memory.texi (Memory): Make order of menu items match
4348         order of sections.
4350 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
4352         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
4353         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
4354         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
4356 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
4358         * csu/libc-tls.c (static_dtv): Renamed to ...
4359         (_dl_static_dtv): This.  Make it global.
4360         (_dl_initial_dtv): Removed.
4361         (__libc_setup_tls): Updated.
4362         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
4363         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
4364         DL_INITIAL_DTV.
4366 2012-09-06  Petr Machata  <pmachata@redhat.com>
4368         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
4369         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
4370         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
4371         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
4373 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
4375         [BZ #14545]
4376         * csu/libc-tls.c (_dl_initial_dtv): New variable.
4377         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
4378         freeing dtv[-1].
4380 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
4382         [BZ #14544]
4383         * Makeconfig (link-static-before-libc): Replace $(+prector)
4384         with $(+prectorT).
4385         (link-static-after-libc): Replace $(+postctor) with
4386         $(+postctorT).
4387         (link-bounded): Replace $(+prector)/$(+postctor) with
4388         $(+prectorT)/$(+postctorT).
4389         (+prectorT): New macro.
4390         (+postctorT): Likewise.
4392 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
4394         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
4395         (round_str): Handle values above the maximum for IBM long double
4396         as inexact.
4397         * stdlib/tst-strtod-round.c (tests): Regenerated.
4399 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4401         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
4402         assembler flag.
4403         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
4404         zarch_nohighgprs around the zarch optimized routines.
4405         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4406         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4407         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
4408         for zarch.
4410 2012-09-05  David S. Miller  <davem@davemloft.net>
4412         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4414         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
4415         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
4416         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
4417         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
4418         entries.
4420 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
4422         * malloc/arena.c: Fold copyright years.
4423         * malloc/mcheck.c, malloc/memusage.c: Likewise.
4425 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
4427         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
4429 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
4431         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
4433 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
4435         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
4436         change internal state upon failure.
4438 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
4440         * malloc/mcheck.c (mcheck_check_all): Fix typo.
4441         * malloc/memusage.c (mmap): Likewise.
4442         (mmap64, mremap): Likewise.  Adjust name in comment.
4444 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
4446         * libio/fileops.c: Fix typos in comments.
4447         * libio/oldfileops.c: Likewise.
4448         * libio/wfileops.c: Likewise.
4450 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
4452         [BZ #1349]
4453         * malloc/Makefile (tests): Add tst-malloc-usable test case.
4454         (tst-malloc-usable-ENV): Set environment for test case.
4455         * malloc/hooks.c (malloc_check_get_size): New function to get
4456         requested size.
4457         * malloc/malloc.c (musable): Use malloc_check_get_size.
4458         * malloc/tst-malloc-usable.c: New test case.
4460 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
4462         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
4464 2012-09-05  Allan McRae  <allan@archlinux.org>
4466         [BZ #13966]
4467         * configure.in (CXX_SYSINCLUDES): Use compiler output to
4468         determine header location.
4469         * configure: Regenerated.
4471 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
4473         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
4474         float format.
4475         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
4476         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
4477         format.
4478         (test): Regenerate.
4480 2012-09-04  David S. Miller  <davem@davemloft.net>
4482         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
4483         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
4484         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
4486 2012-09-04  Florian Weimer  <fweimer@redhat.com>
4488         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
4489         failures.
4491         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
4493 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
4495         [BZ #9914]
4496         * libio/iogetdelim.c: Include <limits.h>.
4497         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
4498         + len + 1 would overflow.
4500 2012-09-03  Andreas Jaeger  <aj@suse.de>
4502         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4503         * sysdeps/i386/fpu/libm-test-ulps: Update.
4505 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4507         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4508         Add s_sinf-sse2, s_conf-sse2.
4510         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
4511         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
4512         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
4513         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
4515         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
4516         for using routine as __sinf_ia32.
4517         Use macro for function declaration and weak_alias.
4518         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
4519         for using routine as __cosf_ia32.
4520         Use macro for function declaration and weak_alias.
4522         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
4523         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
4525         * sysdeps/x86_64/fpu/s_sinf.S: New file.
4526         * sysdeps/x86_64/fpu/s_cosf.S: New file.
4527         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4529         * math/libm-test.inc (cos_test): Add more test cases.
4530         (sin_test): Likewise.
4531         (sincos_test): Likewise.
4533 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4535         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
4536         (IFUNC_RESOLVE): Make pointers to the specialized implementations
4537         hidden.
4538         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4540 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
4542         [BZ #14538]
4543         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
4544         first element of the GOT.
4545         (elf_machine_load_address): Return the difference between
4546         the runtime address of _DYNAMIC and elf_machine_dynamic ().
4548 2012-09-01  Allan McRae  <allan@archlinux.org>
4550         [BZ #13412]
4551         * configure.in (AWK): Require gawk version 3.0 or later.
4552         * configure: Regenerated.
4554 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
4556         * sysdeps/unix/sysv/linux/kernel-features.h
4557         (__ASSUME_POSIX_CPU_TIMERS): Remove.
4558         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4559         [__NR_clock_getres]: Make code unconditional.
4560         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
4561         (clock_getcpuclockid): Remove code left unreachable by removal of
4562         conditionals.
4563         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
4564         code unconditional.
4565         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4566         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4567         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
4568         Make code unconditional.
4569         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4570         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4571         * sysdeps/unix/sysv/linux/clock_settime.c
4572         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
4573         conditional code.
4574         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
4575         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4577 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
4579         [BZ #14476]
4580         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
4581         scripts/test-installation.pl.
4583         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
4584         and $ld_so_version if it is set.
4586 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
4588         [BZ #14516]
4589         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
4590         failure if reading from procfs failed.
4591         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
4593 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
4595         * sysdeps/unix/sysv/linux/kernel-features.h
4596         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
4597         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4598         Remove conditional code.
4599         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4600         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
4601         Remove conditional code.
4602         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4603         * sysdeps/unix/sysv/linux/i386/fxstat.c
4604         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4605         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4606         * sysdeps/unix/sysv/linux/i386/fxstatat.c
4607         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4608         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4609         * sysdeps/unix/sysv/linux/i386/lxstat.c
4610         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4611         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4612         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
4613         Remove conditional code.
4614         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4615         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4616         Remove conditional code.
4617         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4618         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
4619         <kernel-features.h>.
4620         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
4621         Remove.
4622         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
4623         Remove conditional code.
4624         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4625         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
4626         Remove conditional.
4628 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
4630         [BZ #5400]
4631         * NEWS: Add fixed bug number.
4633 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
4635         [BZ #14519]
4636         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
4637         underflowing exponent in case of negative sign.
4638         * stdlib/tst-strtod-round-data: Add more tests.
4639         * stdlib/tst-strtod-round.c (tests): Regenerated.
4641         [BZ #3479]
4642         * stdlib/strtod_l.c (NDIG): Remove.
4643         (HEXNDIG): Likewise.
4644         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
4645         smallest representable value.
4646         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
4647         lie within an exact representation of 1/2 ulp of the result.
4648         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
4649         unconditionally.
4650         (TENS_P9_IDX): Define unconditionally.
4651         (TENS_P9_SIZE): Likewise.
4652         (TENS_P10_IDX): Likewise.
4653         (TENS_P10_SIZE): Likewise.
4654         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
4655         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
4656         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
4657         entries for 10^2^13 and 10^2^14.
4658         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
4659         (TENS_P13_IDX): Define.
4660         (TENS_P13_SIZE): Likewise.
4661         (TENS_P14_IDX): Likewise.
4662         (TENS_P14_SIZE): Likewise.
4663         (_fpioconst_pow10): Change array size to
4664         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
4665         unconditional.
4666         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
4667         1024]: Add entries for 10^2^13 and 10^2^14.
4668         [LAST_POW10 > _LAST_POW10]: Remove #error.
4669         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
4670         (_fpioconst_pow10): Change array size to
4671         FPIOCONST_POW10_ARRAY_SIZE.
4672         * stdlib/gen-fpioconst.c: New file.
4673         * stdlib/gen-tst-strtod-round.c: Likewise.
4674         * stdlib/tst-strtod-round-data: Likewise.
4675         * stdlib/tst-strtod-round.c: Likewise.
4676         * stdlib/Makefile (tests): Add tst-strtod-round.
4678         [BZ #14459]
4679         * stdlib/strtod_l.c: Include <stdint.h>.
4680         (NDEBUG): Do not define.
4681         (round_and_return): Change EXPONENT parameter to type intmax_t.
4682         Rearrange calculations to avoid internal overflow possibilities.
4683         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
4684         Rearrange calculations to avoid internal overflow possibilities.
4685         Assert that number fits inside MPNSIZE limbs.
4686         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
4687         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
4688         calculations and add assertions to avoid internal overflow
4689         possibilities.  Add casts to avoid signed/unsigned operations.
4690         * stdlib/tst-strtod-overflow.c: New file.
4691         * stdlib/Makefile (tests): Add tst-strtod-overflow.
4693 2012-08-25  Marek Polacek  <polacek@redhat.com>
4695         * time/time.h: Fix some typos in comments.
4697 2012-08-23  Roland McGrath  <roland@hack.frob.com>
4699         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
4700         * posix/tst-rfc3484-2.c: Likewise.
4701         * posix/tst-rfc3484-3.c: Likewise.
4703 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
4705         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
4706         (EF_ARM_ABI_FLOAT_HARD): Likewise.
4708 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
4710         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
4711         #include of fxstatat64.c.
4713 2012-08-22  Roland McGrath  <roland@hack.frob.com>
4715         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
4716         * shadow/getspent_r.c: Likewise.
4717         * shadow/getspnam.c: Likewise.
4718         * shadow/getspnam_r.c: Likewise.
4719         * gshadow/getsgent.c: Likewise.
4720         * gshadow/getsgent_r.c: Likewise.
4721         * gshadow/getsgnam.c: Likewise.
4722         * gshadow/getsgnam_r.c: Likewise.
4723         * inet/getnetbyad.c: Likewise.
4724         * inet/getnetbyad_r.c: Likewise.
4725         * inet/getnetbynm.c: Likewise.
4726         * inet/getnetbynm_r.c: Likewise.
4727         * inet/getnetent.c: Likewise.
4728         * inet/getnetent_r.c: Likewise.
4729         * inet/getproto.c: Likewise.
4730         * inet/getproto_r.c: Likewise.
4731         * inet/getprtent.c: Likewise.
4732         * inet/getprtent_r.c: Likewise.
4733         * inet/getprtname.c: Likewise.
4734         * inet/getprtname_r.c: Likewise.
4735         * inet/getrpcbyname.c: Likewise.
4736         * inet/getrpcbyname_r.c: Likewise.
4737         * inet/getrpcbynumber.c: Likewise.
4738         * inet/getrpcbynumber_r.c: Likewise.
4739         * inet/getrpcent.c: Likewise.
4740         * inet/getrpcent_r.c: Likewise.
4741         * inet/getaliasent.c: Likewise.
4742         * inet/getaliasent_r.c: Likewise.
4743         * inet/getaliasname.c: Likewise.
4744         * inet/getaliasname_r.c: Likewise.
4745         * nscd/getgrgid_r.c: Likewise.
4746         * nscd/getgrnam_r.c: Likewise.
4747         * nscd/gethstbyad_r.c: Likewise.
4748         * nscd/gethstbynm3_r.c: Likewise.
4749         * nscd/getpwnam_r.c: Likewise.
4750         * nscd/getpwuid_r.c: Likewise.
4751         * nscd/getsrvbynm_r.c: Likewise.
4752         * nscd/getsrvbypt_r.c: Likewise.
4753         * nscd/gai.c: Likewise.
4755         * configure.in (build_nscd): New substituted variable, set
4756         by --disable-build-nscd and defaults to $use_nscd.
4757         * configure: Regenerated.
4758         * config.make.in (build-nscd): New substituted variable.
4759         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
4760         Change conditional to require [$(build-nscd) = yes] as well.
4761         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
4763         [BZ# 13696]
4764         * configure.in (use_nscd): New substituted variable, set by
4765         --disable-nscd.  If enabled, define USE_NSCD.
4766         * configure: Regenerated.
4767         * config.h.in: Add USE_NSCD.
4768         * config.make.in (use-nscd): New substituted variable.
4769         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
4770         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
4771         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
4772         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
4773         (CFLAGS-getgrnam_r.c): Likewise.
4774         (CFLAGS-initgroups.c): Likewise.
4775         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
4776         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
4777         Variables removed.
4778         * inet/getnetgrent_r.c
4779         (nscd_setnetgrent): New function, broken out of ...
4780         (setnetgrent): ... here.  Call it.
4781         (innetgr): Conditionalize nscd bits on [USE_NSCD].
4782         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
4783         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
4784         * nscd/Makefile (routines, aux): Move definitions after include of
4785         Makeconfig.  Conditionalize on [$(use-nscd) != no].
4786         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
4787         Conditionalize on [USE_NSCD].
4788         (is_nscd, nscd_init_cb): Likewise.
4789         (nss_load_library): Conditionalize init callback on [USE_NSCD].
4790         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
4791         * nss/nss_db/db-init.c: Likewise.
4792         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
4793         [USE_NSCD].
4794         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
4795         (make_request): Use it.
4796         (cache_valid_p): New function.
4797         (__check_pf): Use it.
4798         * NEWS: Add item for --disable-nscd.
4800 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
4802         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
4803         to support sed >= 4.2.1-20-ga9bf076.
4804         * configure: Regenerated.
4806 2012-08-22  Roland McGrath  <roland@hack.frob.com>
4808         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
4809         Conditionalize whole body on [IREL].
4811 2012-08-22  Jeff Law <law@redhat.com>
4813         [BZ #14505]
4814         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
4815         if the family is PF_UNSPEC.
4817 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
4819         * Makerules (lib-version): Rename from V.
4820         (install-lib-nosubdir): Change V to lib-version.
4822 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
4824         [BZ #14252]
4825         * powerpc32/power6/wcschr.c: New file.
4826         * powerpc32/power6/wcscpy.c: New file.
4827         * powerpc32/power6/wcsrchr.c: New file.
4828         * powerpc64/power6/wcschr.c: New file.
4829         * powerpc64/power6/wcscpy.c: New file.
4830         * powerpc64/power6/wcsrchr.c: New file.
4832 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
4834         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
4835         (two_way_short_needle): Use it.
4836         * string/strstr.c (AVAILABLE1_USES_J): Define.
4837         * string/strcasestr.c: Likewise.
4839         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
4840         array references.
4841         * string/strcasestr.c (TOLOWER): Make side-effect safe.
4843         [BZ #11607]
4844         * NEWS: Add an entry.
4845         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
4846         define their defaults.
4847         (two_way_short_needle): Detect end-of-string on-the-fly.
4848         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
4849         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
4850         * string/bug-strcasestr1.c: New test.
4851         * string/Makefile: Run it.
4853 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
4855         [BZ #11607]
4856         * string/str-two-way.h (two_way_short_needle): Optimize matching of
4857         the first character.
4859 2012-08-21  Roland McGrath  <roland@hack.frob.com>
4861         * csu/elf-init.c (__libc_csu_irel): Function removed.
4862         * csu/libc-start.c (apply_irel): New function.
4863         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
4865 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
4867         * sysdeps/unix/sysv/linux/kernel-features.h
4868         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
4869         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
4870         <kernel-features.h>.
4871         [__NR_fadvise64_64]: Make code unconditional.
4872         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
4873         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4874         !__NR_fadvise64_64)]: Likewise.
4875         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4876         !__NR_fadvise64_64))]: Likewise.
4877         [__NR_fadvise64]: Make code unconditional.
4878         [!__NR_fadvise64]: Remove conditional code.
4879         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
4880         <kernel-features.h>.
4881         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4882         unconditional.
4883         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4884         conditional code.
4885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
4886         not include <kernel-features.h>.
4887         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4888         unconditional.
4889         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4890         conditional code.
4891         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
4892         include <kernel-features.h>.
4893         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4894         unconditional.
4895         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4896         conditional code.
4898 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
4900         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
4901         slight instruction rearrangements per scrollpipe analysis.
4902         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4904 2012-08-20  Roland McGrath  <roland@hack.frob.com>
4906         * manual/syslog.texi (syslog; vsyslog, closelog):
4907         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
4908         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
4910         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
4911         DSOCAPS to match condition on defining it.
4913 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
4915         * sysdeps/unix/sysv/linux/kernel-features.h
4916         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
4917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
4918         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4919         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
4921         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4922         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
4924         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4925         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4927         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
4928         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
4930         * sysdeps/unix/sysv/linux/kernel-features.h
4931         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
4932         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
4933         unconditional.
4934         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4935         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
4936         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4937         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4938         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
4939         Make code unconditional.
4940         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4941         (__mmap64) [!__NR_mmap2]: Likewise.
4942         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
4943         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4944         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4945         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
4946         [__NR_mmap2]: Make code unconditional.
4947         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4948         (__mmap64) [!__NR_mmap2]: Likewise.
4950 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4952         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
4954 2012-08-18  Andreas Jaeger  <aj@suse.de>
4956         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
4958 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
4960         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
4961         * include/unistd.h (__have_sock_cloexec): Likewise.
4962         (__have_pipe2): Likewise.
4963         (__have_dup3): Likewise.
4965 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
4967         [BZ #9685]
4968         * include/unistd.h (__have_pipe2): Change define into an extern int.
4969         (__have_dup3): Likewise.
4970         * socket/have_sock_cloexec.c: Include fcntl.h.
4971         (__have_pipe2): New variable.
4972         (__have_dup3): Likewise.
4974 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
4976         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
4978 2012-08-17  Marek Polacek  <polacek@redhat.com>
4980         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
4981         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
4983 2012-08-17  Roland McGrath  <roland@hack.frob.com>
4985         * configure.in: Add AC_SUBST for sysheaders.
4986         * configure: Regenerated.
4987         * config.make.in (sysheaders): New substituted variable.
4989         * sysdeps/unix/mkfifo.c: Moved ...
4990         * sysdeps/posix/mkfifo.c: ... here.
4991         * sysdeps/unix/mkfifoat.c: Moved ...
4992         * sysdeps/posix/mkfifoat.c: ... here.
4994         * sysdeps/unix/utime.c: Moved ...
4995         * sysdeps/posix/utime.c: ... here.
4997         * sysdeps/unix/time.c: Moved ...
4998         * sysdeps/posix/time.c: ... here.
4999         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
5000         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
5002         * sysdeps/unix/nice.c: Moved ...
5003         * sysdeps/posix/nice.c: ... here.
5005         * sysdeps/unix/alarm.c: Moved ...
5006         * sysdeps/posix/alarm.c: ... here.
5008         * intl/Makefile ($(codeset_mo)): Depend on the input file.
5010 2012-08-17  Jeff Law <law@redhat.com>
5012         * intl/Makefile (codeset_mo): New variable.
5013         ($(codeset_mo)): New target.
5014         (tst-codeset.out): Depend on that.  Remove explicit rule.
5015         (tst-gettext3.out, tst-gettext5.out): Likewise.
5016         (LOCPATH-ENV, tst-codeset-ENV): New variables.
5017         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
5018         * intl/tst-codeset.sh: Remove.
5019         * intl/tst-gettext3.sh: Likewise.
5020         * intl/tst-gettext5.sh: Likewise.
5022 2012-08-17  Roland McGrath  <roland@hack.frob.com>
5024         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
5025         * sysdeps/unix/syscalls.list: ... here.
5027         * sysdeps/posix/getaddrinfo.c
5028         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
5029         (gaiconf_init, gaiconf_reload): Use them.
5030         [!_STATBUF_ST_NSEC]
5031         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
5032         Define using time_t rather than struct timespec.
5034         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
5035         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
5036         Macros removed.
5037         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
5038         [!NO_THREADS].
5039         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
5040         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
5041         Likewise.
5043         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
5044         __libc_cleanup_push argument.
5046         * bits/param.h: New file.
5047         * misc/sys/param.h: New file.
5048         * include/sys/param.h: New file.
5049         * misc/Makefile (headers): Add bits/param.h.
5050         * sysdeps/generic/sys/param.h: File removed.
5051         * sysdeps/unix/sysv/linux/bits/param.h: New file.
5052         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
5053         * sysdeps/mach/hurd/bits/param.h: New file.
5054         * sysdeps/mach/hurd/sys/param.h: File removed.
5056         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
5057         last change.
5059         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
5060         [_IO_MTSAFE_IO].
5061         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
5062         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
5063         New macros.
5065         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
5066         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
5067         rather than -D_IO_MTSAFE_IO conditionally.
5068         * stdio-common/Makefile (CPPFLAGS): Likewise.
5069         * wcsmbs/Makefile (CPPFLAGS): Likewise.
5070         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
5071         Use $(libio-mtsafe).
5072         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
5073         of -D_IO_MTSAFE_IO.
5074         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
5075         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
5076         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
5077         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
5078         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
5079         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
5080         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
5081         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
5082         (CFLAGS-fread_u_chk.c): Likewise.
5083         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
5084         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
5085         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
5086         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
5087         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
5088         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
5089         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
5090         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
5091         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
5093         * libio/Makefile: Test [$(libc-reentrant) = yes]
5094         instead of [$(filter %REENTRANT, $(defines)) nonempty].
5096         * Makeconfig
5097         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
5098         * sysdeps/pthread/configure: File removed.
5099         * sysdeps/pthread/Makeconfig: New file.
5100         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
5101         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
5103 2012-08-16  Gary Benson  <gbenson@redhat.com>
5105         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
5106         unmapping the first object in a namespace.
5108 2012-08-16  Roland McGrath  <roland@hack.frob.com>
5110         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
5111         (__internal_setnetgrent): ... this.  Add internal_function to
5112         definition.  Add libc_hidden_def.
5113         (setnetgrent): Update caller.
5114         (internal_endnetgrent): Renamed to ...
5115         (__internal_endnetgrent): ... this.  Add internal_function to
5116         definition.  Add libc_hidden_def.
5117         (endnetgrent): Update caller.
5118         (internal_getnetgrent_r): Renamed to ...
5119         (__internal_getnetgrent_r): ... this.  Add internal_function to
5120         definition.  Add libc_hidden_def.
5121         (__getnetgrent_r): Update caller.
5122         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
5124 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
5126         * stdlib/longlong.h: Update from GCC.
5128 2012-08-16  Roland McGrath  <roland@hack.frob.com>
5130         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
5131         on _QL, which is set by umul_ppmm but never used.
5132         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
5133         variables, which are set by GMP macros but never used.
5134         * stdio-common/_itowa.c (_itowa): Likewise.
5135         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
5136         * stdlib/mod_1.c (mpn_mod_1): Likewise.
5138 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
5140         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
5141         struct La_sh_regs is not constant.
5142         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
5143         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
5144         and struct La_sparc64_regs are not constant.
5146 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
5148         * sysdeps/unix/sysv/linux/kernel-features.h
5149         (__ASSUME_POSIX_TIMERS): Remove.
5150         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5151         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5152         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
5153         Make code unconditional.
5154         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5155         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
5156         Make code unconditional.
5157         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5158         * sysdeps/unix/sysv/linux/clock_nanosleep.c
5159         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
5160         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5161         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
5162         Make code unconditional.
5163         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5164         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
5165         (__libc_missing_posix_timers): Remove.
5167 2012-08-15  Roland McGrath  <roland@hack.frob.com>
5169         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
5170         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
5172         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
5174         * elf/dl-sym.c: Include <stdlib.h>.
5176         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
5177         constants, which avoids warnings in 32-bit builds.
5179         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
5180         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
5182         * misc/lseek.c: File moved to ...
5183         * io/lseek.c: ... here.
5185         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
5187         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
5188         shifting LEN more than 31 bits at once.
5190 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5192         [BZ #14195]
5193         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
5194         segmentation fault for a case of two empty input strings.
5195         * string/test-strncasecmp.c (check1): Renamed to...
5196         (bz12205): ...this.
5197         (bz14195): Add new testcase for two empty input strings and N > 0.
5198         (test_main): Call new testcase, adapt for renamed function.
5200 2012-08-15  Andreas Jaeger  <aj@suse.de>
5202         [BZ #14090]
5203         * crypt/md5test2.c: New test, based on test supplied by Serge
5204         Belyshev <belyshev@depni.sinp.msu.ru>.
5205         * crypt/Makefile (xtests): Add md5test-giant..
5206         * crypt/Makefile ($(objpfx)md5test-giant): Add.
5208 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
5210         [BZ #14090]
5211         * crypt/md5.c (md5_process_block): Don't assume the buffer
5212         length is less than 2**32.
5213         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
5214         length is less than 2**64.
5216 2012-08-15  Roland McGrath  <roland@hack.frob.com>
5218         * string/str-two-way.h: Include <sys/param.h>.
5219         (MAX): Macro removed.
5221         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
5222         Move #define and #undef of memmove to just before and after
5223         including <string.h>.
5225         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
5226         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
5227         and after including <string.h>.  Move declarations of
5228         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
5229         to before #include "string/memmove.c".
5231         * include/dirent.h: Declare __getdirentries.
5233         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
5234         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
5236 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
5238         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
5239         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
5240         * sysdeps/i386/configure: Regenerated.
5241         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
5242         STABS_CURRENT_FILE, and STABS_FUN.
5243         (END): Remove call to STABS_FUN_END.
5244         (STABS_CURRENT_FILE1): Delete.
5245         (STABS_CURRENT_FILE): Likewise.
5246         (STABS_FUN): Likewise.
5247         (STABS_FUN_END): Likewise.
5248         (STABS_FUN2): Likewise.
5249         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
5250         * sysdeps/x86_64/configure: Regenerated.
5252 2012-08-14  Roland McGrath  <roland@hack.frob.com>
5254         * elf/dl-open.c: Include <atomic.h>.
5255         * elf/dl-lookup.c: Likewise.
5257 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
5259         * sysdeps/unix/sysv/linux/kernel-features.h
5260         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
5261         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
5262         unconditionally.
5263         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
5264         unconditionally.
5265         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
5266         condition on __ASSUME_CLONE_THREAD_FLAGS.
5268 2012-08-14  Andreas Jaeger  <aj@suse.de>
5270         * sysdeps/i386/fpu/libm-test-ulps: Update.
5272 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
5274         * include/atomic.h (atomic_exchange_and_add): Split into ...
5275         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
5276         New atomic macros.
5278 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
5280         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5282 2012-08-13  Jeff Law <law@redhat.com>
5284         * manual/stdio.texi (snprintf): Clarify handling of the trailing
5285         null byte in the output string.
5287 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
5289         * sysdeps/unix/sysv/linux/kernel-features.h
5290         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
5291         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
5292         (__ASSUME_ARG_MAX_STACK_BASED): Define.
5293         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5294         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
5295         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
5296         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
5298 2012-08-09  Jeff Law <law@redhat.com>
5300         [BZ #13939]
5301         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
5302         When avoid_arena is set, don't retry in the that arena.  Pick the
5303         next one, whatever it might be.
5304         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
5305         (arena_lock): Pass in new parameter to arena_get2.
5306         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
5307         arena_get2.
5308         (__libc_malloc): Unify retrying after main arena failure with
5309         __libc_memalign version.
5310         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
5312 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
5314         [BZ #14166]
5315         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
5316         to __redirect_strstr.
5317         (__strstr_sse42): Use typeof __redirect_strstr.
5318         (__strstr_ia32): Likewise.
5319         (__libc_strstr): New prototype.
5320         (strstr): Renamed to ...
5321         (__libc_strstr): This.
5322         (strstr): New strong alias of __libc_strstr.
5323         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
5324         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
5325         __redirect_time.
5326         Include <time.h>.
5327         (__libc_time): New prototype.
5328         (time_ifunc): Replace time with __libc_time.
5329         (time): New strong alias and hidden definition of __libc_time.
5330         (__GI_time): Remove strong alias.
5331         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
5332         Include <stddef.h>.
5333         (memmove): Redefined to __redirect_memmove.
5334         (__memmove_sse2): Use typeof __redirect_memmove.
5335         (__memmove_ssse3): Likewise.
5336         (__memmove_ssse3_back): Likewise.
5337         (__libc_memmove): New prototype.
5338         (memmove): Renamed to ...
5339         (__libc_memmove): This.
5340         (memmove): New strong alias of __libc_memmove.
5342 2012-08-08  Mark Salter  <msalter@redhat.com>
5344         * elf/elf.h
5345         (R_MN10300_TLS_GD): Define.
5346         (R_MN10300_TLS_LD): Likewise.
5347         (R_MN10300_TLS_LDO): Likewise.
5348         (R_MN10300_TLS_GOTIE): Likewise.
5349         (R_MN10300_TLS_IE): Likewise.
5350         (R_MN10300_TLS_LE): Likewise.
5351         (R_MN10300_TLS_DTPMOD): Likewise.
5352         (R_MN10300_TLS_DTPOFF): Likewise.
5353         (R_MN10300_TLS_TPOFF): Likewise.
5354         (R_MN10300_SYM_DIFF): Likewise.
5355         (R_MN10300_ALIGN): Likewise.
5356         (R_MN10300_NUM): Update.
5358 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
5360         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
5361         Remove.
5363 2012-08-08  Roland McGrath  <roland@hack.frob.com>
5365         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
5367         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
5368         sysdeps/unix -> sysdeps/posix move.
5369         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5371 2012-08-07      Allan McRae     <allan@archlinux.org>
5373         [BZ #14303]
5374         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
5375         (SUNOS_CPP): Likewise.
5376         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
5377         not found.
5378         (open_input): Call CPP using execvp.
5380 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
5382         * sysdeps/unix/sysv/linux/kernel-features.h
5383         (__ASSUME_PROT_GROWSUPDOWN): Remove.
5384         (__ASSUME_NO_CLONE_DETACHED): Likewise.
5385         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5386         (__ASSUME_WAITID_SYSCALL): Likewise.
5387         * sysdeps/unix/sysv/linux/dl-execstack.c
5388         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
5389         code unconditional.
5390         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
5391         conditional code.
5392         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
5393         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
5394         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
5395         code.
5396         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
5397         unconditional.
5398         [__ASSUME_WAITID_SYSCALL]: Likewise.
5399         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
5401 2012-08-07  Roland McGrath  <roland@hack.frob.com>
5403         * sysdeps/unix/closedir.c: Renamed to ...
5404         * sysdeps/posix/closedir.c: ... here.
5405         * sysdeps/unix/dirfd.c: Renamed to ...
5406         * sysdeps/posix/dirfd.c: ... here.
5407         * sysdeps/unix/dirstream.h: Renamed to ...
5408         * sysdeps/posix/dirstream.h: ... here.
5409         * sysdeps/unix/fdopendir.c: Renamed to ...
5410         * sysdeps/posix/fdopendir.c: ... here.
5411         * sysdeps/unix/opendir.c: Renamed to ...
5412         * sysdeps/posix/opendir.c: ... here.
5413         * sysdeps/unix/readdir.c: Renamed to ...
5414         * sysdeps/posix/readdir.c: ... here.
5415         * sysdeps/unix/readdir_r.c: Renamed to ...
5416         * sysdeps/posix/readdir_r.c: ... here.
5417         * sysdeps/unix/rewinddir.c: Renamed to ...
5418         * sysdeps/posix/rewinddir.c: ... here.
5419         * sysdeps/unix/seekdir.c: Renamed to ...
5420         * sysdeps/posix/seekdir.c: ... here.
5421         * sysdeps/unix/telldir.c: Renamed to ...
5422         * sysdeps/posix/telldir.c: ... here.
5423         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
5424         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
5425         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
5426         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
5428         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
5429         * bits/fcntl.h: ... here.
5431         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
5432         not 0.
5433         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
5434         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
5435         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
5436         (struct flock): Move l_start, l_len to the beginning.
5437         Use __pid_t for l_pid.
5438         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
5439         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
5440         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
5441         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
5442         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
5443         [__USE_LARGEFILE64] (struct flock64): New type.
5444         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
5446         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
5447         * bits/dirent.h: ... here.
5449         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
5450         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
5452 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
5454         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5455         Change from 2.6.0 to 2.6.16.
5456         * sysdeps/unix/sysv/linux/configure: Regenerated.
5457         * sysdeps/unix/sysv/linux/kernel-features.h
5458         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
5459         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
5460         version.
5461         (__ASSUME_UTIMES): Likewise.
5462         (__ASSUME_CLONE_STOPPED): Remove.
5463         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
5464         architectures, not kernel version.
5465         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
5466         (__ASSUME_NO_CLONE_DETACHED): Likewise.
5467         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5468         (__ASSUME_WAITID_SYSCALL): Likewise.
5469         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
5470         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
5471         * README: State 2.6.16 as minimum Linux kernel version.  Do not
5472         refer to older versions.
5474 2012-08-06  Roland McGrath  <roland@hack.frob.com>
5476         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
5477         Define alphasort64 as an alias.
5478         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
5479         Define versionsort64 as an alias.
5480         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
5481         Define scandir64 as an alias.
5482         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
5483         Define scandirat64 as an alias.
5484         * dirent/alphasort64.c (alphasort64):
5485         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
5486         * dirent/versionsort64.c: Likewise.
5487         * dirent/scandir64.c: Likewise.
5488         * dirent/scandirat64.c: Likewise.
5489         * sysdeps/wordsize-64/alphasort.c: File removed.
5490         * sysdeps/wordsize-64/alphasort64.c: File removed.
5491         * sysdeps/wordsize-64/scandir.c: File removed.
5492         * sysdeps/wordsize-64/scandir64.c: File removed.
5493         * sysdeps/wordsize-64/scandirat.c: File removed.
5494         * sysdeps/wordsize-64/scandirat64.c: File removed.
5495         * sysdeps/wordsize-64/versionsort.c: File removed.
5496         * sysdeps/wordsize-64/versionsort64.c: File removed.
5497         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
5498         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
5499         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
5500         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
5501         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
5502         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
5503         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
5504         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
5506         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
5507         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5508         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
5509         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5510         [defined __arch64__ || defined __sparcv9]
5511         (__INO_T_MATCHES_INO64_T): New macro.
5512         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5513         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
5514         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
5515         * sysdeps/unix/sysv/linux/bits/dirent.h
5516         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
5517         (_DIRENT_MATCHES_DIRENT64): New macro.
5519         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
5520         Define lockf64 as an alias.
5521         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
5522         Define fseeko64 as an alias.
5523         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
5524         Define ftello64 as an alias.
5525         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
5526         Define _IO_fgetpos64 and fgetpos64 as aliases.
5527         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
5528         Define _IO_fsetpos64 and fsetpos64 as aliases.
5529         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
5530         Conditionalize body on this.
5531         * libio/fseeko64.c: Likewise.
5532         * libio/ftello64.c: Likewise.
5533         * libio/iofgetpos64.c: Likewise.
5534         * libio/iofsetpos64.c: Likewise.
5535         * sysdeps/wordsize-64/lockf.c: File removed.
5536         * sysdeps/wordsize-64/lockf64.c: File removed.
5537         * sysdeps/wordsize-64/fseeko.c: File removed.
5538         * sysdeps/wordsize-64/fseeko64.c: File removed.
5539         * sysdeps/wordsize-64/ftello.c: File removed.
5540         * sysdeps/wordsize-64/ftello64.c: File removed.
5541         * sysdeps/wordsize-64/iofgetpos.c: File removed.
5542         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
5543         * sysdeps/wordsize-64/iofsetpos.c: File removed.
5544         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
5545         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
5546         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
5547         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
5548         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
5549         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
5550         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
5551         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
5552         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
5553         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
5554         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
5556         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5557         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5558         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
5559         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5560         [defined __arch64__ || defined __sparcv9]
5561         (__OFF_T_MATCHES_OFF64_T): New macro.
5562         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5563         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5564         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5565         (__OFF_T_MATCHES_OFF64_T): New macro.
5567 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
5569         * stdlib/secure-getenv.c (__secure_getenv): Replace
5570         GLIBC_2_16 with GLIBC_2_17.
5572 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
5574         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
5575         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5577 2012-08-03  David S. Miller  <davem@davemloft.net>
5579         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5581 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
5583         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
5584         Remove.
5585         (__ASSUME_CORRECT_SI_PID): Likewise.
5586         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
5587         (__ASSUME_TMPFS_NAME): Likewise.
5588         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
5589         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
5590         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
5591         (HAVE_AUX_SECURE): Make definition unconditional.
5592         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
5593         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
5595 2012-08-03  Roland McGrath  <roland@hack.frob.com>
5597         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
5598         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
5599         * sysdeps/mach/hurd/eloop-threshold.h: New file.
5600         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5601         __eloop_threshold instead of SYMLOOP_MAX.
5603         * sysdeps/generic/eloop-threshold.h: New file.
5604         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
5605         of MAXSYMLINKS.
5606         * elf/chroot_canon.c (chroot_canon): Likewise.
5608 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
5610         [BZ #13717]
5611         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5612         Change to 2.6.0 everywhere.
5613         * sysdeps/unix/sysv/linux/configure: Regenerated.
5614         * sysdeps/unix/sysv/linux/kernel-features.h
5615         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
5616         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
5617         kernel versions.
5618         (__ASSUME_POSIX_TIMERS): Define unconditionally.
5619         (__ASSUME_FUTEX_REQUEUE): Remove.
5620         (__ASSUME_STATFS64): Define unconditionally.
5621         (__ASSUME_AT_SECURE): Likewise.
5622         (__ASSUME_CORRECT_SI_PID): Likewise.
5623         (__ASSUME_TGKILL): Define without depending on kernel version for
5624         i386.
5625         (__ASSUME_UTIMES): Likewise.
5626         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
5627         kernel version.
5628         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
5629         (__ASSUME_TMPFS_NAME): Likewise.
5630         * README: Update reference to Linux kernel versions.
5632 2012-08-02  Marek Polacek  <polacek@redhat.com>
5634         [BZ# 14150]
5635         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
5636         libc_cv_asm_type_prefix with %.
5637         * configure: Regenerated.
5638         * include/libc-symbols.h: Remove comment about
5639         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5640         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
5641         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
5642         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
5643         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
5644         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5645         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
5646         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
5647         * elf/tst-unique2mod1.c: Likewise.
5648         * elf/tst-unique1mod2.c: Likewise.
5649         * elf/tst-unique1mod1.c: Likewise.
5650         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
5651         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
5652         Replace ASM_TYPE_DIRECTIVE with .type.
5653         * sysdeps/s390/s390-64/sysdep.h: Likewise.
5654         * sysdeps/i386/sysdep.h: Likewise.
5655         * sysdeps/x86_64/sysdep.h: Likewise.
5656         * sysdeps/sh/sysdep.h: Likewise.
5657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5658         Do not define ASM_TYPE_DIRECTIVE.
5659         * sysdeps/powerpc/sysdep.h: Likewise.
5660         * sysdeps/powerpc/powerpc32/sysdep.h:
5661         Replace ASM_TYPE_DIRECTIVE with .type.
5662         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5663         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5664         * sysdeps/i386/fpu/e_powf.S: Likewise.
5665         * sysdeps/i386/fpu/e_expl.S: Likewise.
5666         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5667         * sysdeps/i386/fpu/e_acosh.S: Likewise.
5668         * sysdeps/i386/fpu/e_pow.S: Likewise.
5669         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5670         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5671         * sysdeps/i386/fpu/s_expm1.S: Likewise.
5672         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5673         * sysdeps/i386/fpu/e_log2.S: Likewise.
5674         * sysdeps/i386/fpu/e_log2l.S: Likewise.
5675         * sysdeps/i386/fpu/e_scalb.S: Likewise.
5676         * sysdeps/i386/fpu/e_powl.S: Likewise.
5677         * sysdeps/i386/fpu/e_log10f.S: Likewise.
5678         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5679         * sysdeps/i386/fpu/e_logl.S: Likewise.
5680         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5681         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5682         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5683         * sysdeps/i386/fpu/e_log2f.S: Likewise.
5684         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5685         * sysdeps/i386/fpu/e_log.S: Likewise.
5686         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5687         * sysdeps/i386/fpu/e_logf.S: Likewise.
5688         * sysdeps/i386/fpu/e_log10l.S: Likewise.
5689         * sysdeps/i386/fpu/e_atanh.S: Likewise.
5690         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5691         * sysdeps/i386/fpu/e_log10.S: Likewise.
5692         * sysdeps/i386/fpu/s_frexp.S: Likewise.
5693         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5694         * sysdeps/i386/fpu/s_asinh.S: Likewise.
5695         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5696         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5697         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
5698         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5699         * sysdeps/i386/i686/strtok.S: Likewise.
5700         * sysdeps/i386/i386-mcount.S: Likewise.
5701         * sysdeps/i386/strtok.S: Likewise.
5702         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
5703         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5704         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5705         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5706         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5707         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5708         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5709         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5710         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5711         * sysdeps/x86_64/_mcount.S: Likewise.
5712         * sysdeps/x86_64/strtok.S: Likewise.
5713         * sysdeps/sh/_mcount.S: Likewise.
5715 2012-08-01  Roland McGrath  <roland@hack.frob.com>
5717         * libio/iofopen.c: Include <fcntl.h>.
5718         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
5719         (_IO_fopen64, fopen64): Define as aliases.
5720         * libio/iofopen64.c: Include <fcntl.h>.
5721         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
5722         Conditionalize body on this.
5723         * sysdeps/wordsize-64/iofopen.c: File removed.
5724         * sysdeps/wordsize-64/iofopen64.c: File removed.
5726 2012-08-01  Marek Polacek  <polacek@redhat.com>
5728         * libc/Makeconfig: Use elf in place of binfmt-subdir.
5729         Use dlfcn directly instead of a variable.
5730         (binfmt-subdir): Do not define.
5731         (dlfcn): Likewise.
5733 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
5735         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
5736         Remove all definitions.
5737         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
5738         <kernel-features.h>.
5739         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5740         (miss_F_GETOWN_EX): Remove all definitions.
5741         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
5742         macro definition.
5743         [!__ASSUME_FCNTL64]: Remove conditional code.
5744         [__ASSUME_FCNTL64]: Make code unconditional.
5745         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
5746         <kernel-features.h>.
5747         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5748         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
5749         (lockf64) [__NR_fcntl64]: Make code unconditional.
5750         (lockf64) [__ASSUME_FCNTL64]: Likewise.
5752         * sysdeps/unix/sysv/linux/kernel-features.h
5753         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
5754         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
5755         Make code unconditional.
5756         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5757         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
5759         [__NR_vfork]: Make code unconditional.
5760         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5761         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
5763         [__NR_vfork]: Make code unconditional.
5764         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5765         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5767 2012-08-01  Roland McGrath  <roland@hack.frob.com>
5769         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
5770         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
5772         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5773         Define mkstemp64 as an alias.
5774         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5775         Define mkstemps64 as an alias.
5776         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5777         Define mkostemp64 as an alias.
5778         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5779         Define mkostemps64 as an alias.
5780         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
5781         Conditionalize body on this.
5782         * misc/mkostemp64.c: Likewise.
5783         * misc/mkostemps64.c: Likewise.
5784         * misc/mkstemps64.c: Likewise.
5785         * sysdeps/wordsize-64/mkstemp64.c: File removed.
5786         * sysdeps/wordsize-64/mkostemp64.c: File removed.
5787         * sysdeps/wordsize-64/mkostemp.c: File removed.
5788         * sysdeps/wordsize-64/mkstemp.c: File removed.
5789         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
5790         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
5791         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
5792         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
5794         [BZ #14138]
5795         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
5796         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
5797         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
5798         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
5800         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
5801         compat_symbol macros from <shlib-compat.h> rather than the underlying
5802         default_symbol_version and symbol_version macros, so that DEFAULT
5803         lines in shlib-versions are respected.
5804         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
5806 2012-08-01  Florian Weimer  <fweimer@redhat.com>
5808         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
5809         Declare with warn_unused_result.
5810         (setgid, setregid, setegid, setresgid): Likewise.
5811         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
5812         Likewise.
5813         * WUR-REPORT: Remove set*id functions.
5815 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
5817         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
5819 2012-07-31  Roland McGrath  <roland@hack.frob.com>
5821         * include/sys/socket.h (__libc_accept, __libc_accept4):
5822         Add attribute_hidden.
5823         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
5825         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
5826         use of PTR_MANGLE.
5827         * inet/getnetgrent_r.c (setup): Likewise.
5829         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
5831 2012-07-31  David S. Miller  <davem@davemloft.net>
5833         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5835 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
5837         [BZ #13629]
5838         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
5839         value between 1.0 and 2.0 and smaller part has absolute value less
5840         than 1.0.
5841         * math/s_clog10.c (__clog10): Likewise.
5842         * math/s_clog10f.c (__clog10f): Likewise.
5843         * math/s_clog10l.c (__clog10l): Likewise.
5844         * math/s_clogf.c (__clogf): Likewise.
5845         * math/s_clogl.c (__clogl): Likewise.
5846         * math/libm-test.inc (clog_test): Add more tests.
5847         (clog10_test): Likewise.
5848         * sysdeps/i386/fpu/libm-test-ulps: Update.
5849         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5851 2012-07-31  Florian Weimer  <fweimer@redhat.com>
5853         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
5854         Exit with zero in case no suitable GID is found, and write a
5855         message to standard error.
5857 2012-07-30  Roland McGrath  <roland@hack.frob.com>
5859         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
5860         rather than to 1.
5861         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
5862         (MAXPATHLEN): Removed.
5863         (NOGROUP, NODEV): New macros.
5864         (setbit, clrbit, isset, isclr): New macros.
5865         (howmany, roundup, powerof2): New macros.
5866         (DEV_BSIZE): New macro.
5868         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
5869         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
5871         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
5872         definition on [!__NO_LONG_DOUBLE_MATH].
5874         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
5875         PTR_MANGLE and PTR_DEMANGLE.
5877         * socket/accept4.c (accept4): Rename to __libc_accept4.
5878         Define accept4 as a weak alias.
5880         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
5881         on [_DIRENT_HAVE_D_TYPE].
5882         * io/ftw.c (ftw_dir): Likewise.
5884         * io/xmknod.c (__xmknod): Don't check PATH for being null.
5886         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
5888         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
5889         Use the BSD numbers rather than the arbitrary ones we had.
5890         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
5891         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
5892         (SIGXCPU, SIGXFSZ): New macros.
5893         (_NSIG): Now 32.
5895         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
5896         initializer on [_LIBC_REENTRANT].
5898         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
5899         definitions inside [_POSIX_MAPPED_FILES].
5901         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
5903         * dirent/opendir.c: Include <fcntl.h>.
5905         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
5906         (__libc_getspecific): Likewise.
5907         (__libc_key_create): Likewise.
5909         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
5910         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
5911         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
5912         (tmpfile64): Define as alias.
5913         * sysdeps/wordsize-64/tmpfile.c: File removed.
5914         * sysdeps/wordsize-64/tmpfile64.c: File removed.
5915         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
5916         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
5918         * stdio-common/vfscanf.c: Include <stdbool.h>.
5919         * nss/makedb.c: Likewise.
5920         * stdio-common/_i18n_number.h: Likewise.
5921         * argp/argp-help.c: Likewise.
5922         * posix/wordexp.c: Likewise.
5923         * sysdeps/posix/spawni.c: Likewise.
5924         * nss/nss_files/files-initgroups.c: Likewise.
5925         * stdio-common/reg-modifier.c: Include <stdlib.h>.
5926         * nss/nss_files/files-initgroups.c: Likewise.
5927         * nss/nss_db/db-netgrp.c: Likewise.
5928         * nss/nss_db/db-initgroups.c: Likewise.
5929         * io/fchmodat.c: Include <sys/stat.h>.
5931         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
5932         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
5934         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
5935         [HAVE_MMAP].
5937         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
5938         Add multiple inclusion protection.
5940 2012-07-27  David S. Miller  <davem@davemloft.net>
5942         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5944 2012-07-27  Gary Benson  <gbenson@redhat.com>
5946         [BZ #14298]
5947         * elf/rtld.c: Include <stap-probe.h>.
5948         (dl_main): Added static probes "init_start" and "init_complete".
5949         * elf/dl-load.c: Include <stap-probe.h>.
5950         (lose): Take new parameter "nsid".
5951         Added static probe "map_failed".
5952         (_dl_map_object_from_fd): Pass namespace id to lose.
5953         Added static probe "map_start".
5954         (open_verify): Pass namespace id to lose.
5955         * elf/dl-open.c: Include <stap-probe.h>.
5956         (dl_open_worker) Added static probes "map_complete", "reloc_start"
5957         and "reloc_complete".
5958         * elf/dl-close.c: Include <stap-probe.h>.
5959         (_dl_close_worker): Added static probes "unmap_start" and
5960         "unmap_complete".
5961         * elf/rtld-debugger-interface.txt: New file documenting the above.
5963 2012-07-26  Roland McGrath  <roland@hack.frob.com>
5965         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
5966         rather than a string variable.
5967         * sunrpc/rpc_main.c (h_output): Likewise.
5968         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
5970 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
5972         * inet/check_native.c: New file.
5974 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
5976         [BZ #13629]
5977         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
5978         if larger part has absolute value 1.0.
5979         * math/s_clog10.c (__clog10): Likewise.
5980         * math/s_clog10f.c (__clog10f): Likewise.
5981         * math/s_clog10l.c (__clog10l): Likewise.
5982         * math/s_clogf.c (__clogf): Likewise.
5983         * math/s_clogl.c (__clogl): Likewise.
5984         * math/libm-test.inc (clog_test): Add more tests.
5985         (clog10_test): Likewise.
5986         * sysdeps/i386/fpu/libm-test-ulps: Update.
5987         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5989         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
5990         (pltexit): Likewise.
5991         (La_regs): Likewise.
5992         (La_retval): Likewise.
5993         (int_retval): Likewise.
5994         Update #error for removed macros to refer only to definitions in
5995         tst-audit.h.
5996         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
5997         macro.
5998         (pltexit): Likewise.
5999         (La_regs): Likewise.
6000         (La_retval): Likewise.
6001         (int_retval): Likewise.
6002         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
6003         macro.
6004         (pltexit): Likewise.
6005         (La_regs): Likewise.
6006         (La_retval): Likewise.
6007         (int_retval): Likewise.
6008         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
6009         macro.
6010         (pltexit): Likewise.
6011         (La_regs): Likewise.
6012         (La_retval): Likewise.
6013         (int_retval): Likewise.
6014         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
6015         macro.
6016         (pltexit): Likewise.
6017         (La_regs): Likewise.
6018         (La_retval): Likewise.
6019         (int_retval): Likewise.
6020         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
6021         macro.
6022         (pltexit): Likewise.
6023         (La_regs): Likewise.
6024         (La_retval): Likewise.
6025         (int_retval): Likewise.
6026         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
6027         macro.
6028         (pltexit): Likewise.
6029         (La_regs): Likewise.
6030         (La_retval): Likewise.
6031         (int_retval): Likewise.
6032         * sysdeps/generic/tst-audit.h: Update comment to refer only to
6033         macro definitions in tst-audit.h.
6034         * sysdeps/i386/tst-audit.h: New file.
6035         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
6036         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
6037         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
6038         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
6039         * sysdeps/sh/tst-audit.h: Likewise.
6040         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
6041         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
6042         * sysdeps/x86_64/tst-audit.h: Likewise.
6044 2012-07-26  Andreas Jaeger  <aj@suse.de>
6046         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
6047         ptrace.
6049         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
6050         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
6051         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
6052         PTRACE_O_MASK.
6053         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
6054         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
6055         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
6057         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
6058         value.
6060         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
6061         _sigsys.
6062         (si_call_addr, si_syscall, si_arch): Define new macro.
6063         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
6064         _sigsys.
6065         (si_call_addr, si_syscall, si_arch): Define new marcro.
6066         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
6067         _sigsys.
6068         (si_call_addr, si_syscall, si_arch): Define new macro.
6069         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
6070         _sigsys.
6071         (si_call_addr, si_syscall, si_arch): Define new macro.
6073 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
6075         [BZ #13717]
6076         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6077         Change to 2.4.21 where previously 2.4.1.
6078         * sysdeps/unix/sysv/linux/configure: Regenerated.
6079         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
6080         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
6081         Linux kernel version.
6082         (__ASSUME_STD_AUXV): Remove.
6083         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
6084         kernel version.
6085         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
6086         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
6087         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
6088         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
6089         (__ASSUME_NETLINK_SUPPORT): Likewise.
6090         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
6091         (__no_netlink_support): Remove conditional definition.
6092         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
6093         Remove.
6094         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6095         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
6096         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
6097         (if_nameindex_ioctl): Remove.
6098         (if_nameindex_netlink): Do not handle __no_netlink_support.
6099         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6100         code.
6101         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
6102         Remove conditional code.
6103         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6104         code.
6105         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
6106         unconditional.
6107         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6108         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
6109         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
6110         Remove.
6111         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
6112         [!__ASSUME_STD_AUXV]: Remove conditional code.
6113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
6114         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
6115         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
6116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
6117         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
6118         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6119         code.
6120         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6122         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
6123         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6124         conditional code.
6125         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
6127         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6128         code.
6129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6130         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6131         conditional code.
6132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
6133         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6134         code unconditional.
6135         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6136         conditional code.
6137         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6138         unconditional.
6139         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6140         conditional code.
6141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6142         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6143         unconditional.
6144         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6145         conditional code.
6146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
6147         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6148         code unconditional.
6149         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6150         conditional code.
6151         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6152         unconditional.
6153         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6154         conditional code.
6155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
6156         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6157         code unconditional.
6158         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6159         conditional code.
6160         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6161         unconditional.
6162         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6163         conditional code.
6165 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
6167         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
6168         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
6169         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6170         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
6171         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
6172         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6173         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6174         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
6175         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
6176         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6177         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
6178         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
6179         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
6180         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6181         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
6182         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
6183         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
6184         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
6185         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
6186         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
6187         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
6188         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
6189         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6191 2012-07-25  Florian Weimer  <fweimer@redhat.com>
6193         * Versions.def: Add GLIBC_2.17.
6194         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
6195         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
6196         Introduce __libc_secure_getenv.
6197         * stdlib/Versions (2.17): Add secure_getenv
6198         (GLIBC_PRIVATE): Add __libc_secure_getenv.
6199         * stdlib/secure-getenv.c: Rename __secure_getenv to
6200         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
6201         symbol __secure_getenv for GLIBC_2.0.
6202         * stdlib/tst-secure-getenv.c: New.
6203         * stdlib/Makefile (tests): Add testcase.
6204         * manual/startup.texi (Environment Access): Document
6205         secure_getenv.
6206         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
6207         __libc_secure_getenv.
6208         * inet/ruserpass.c (ruserpass): Likewise.
6209         * malloc/mtrace.c (mtrace): Likewise.
6210         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
6211         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
6212         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
6213         * sysdeps/posix/tempname.c: Likewise.  Evaluate
6214         HAVE_SECURE_GETENV.
6215         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
6216         __secure_getenv to __libc_secure_getenv.
6217         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
6218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6219         Likewise.
6220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6221         Likewise.
6222         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6223         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6224         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6225         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6226         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6227         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6228         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
6230 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
6232         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
6233         (struct La_i86_retval): Likewise.
6234         (struct La_x86_64_regs): Likewise.
6235         (struct La_x86_64_retval): Likewise.
6236         (struct La_x32_regs): Likewise.
6237         (struct La_x32_retval): Likewise.
6238         (struct La_ppc32_regs): Likewise.
6239         (struct La_ppc32_retval): Likewise.
6240         (struct La_ppc64_regs): Likewise.
6241         (struct La_ppc64_retval): Likewise.
6242         (struct La_sh_regs): Likewise.
6243         (struct La_sh_retval): Likewise.
6244         (struct La_s390_32_regs): Likewise.
6245         (struct La_s390_32_retval): Likewise.
6246         (struct La_s390_64_regs): Likewise.
6247         (struct La_s390_64_retval): Likewise.
6248         (struct La_sparc32_regs): Likewise.
6249         (struct La_sparc32_retval): Likewise.
6250         (struct La_sparc64_regs): Likewise.
6251         (struct La_sparc64_retval): Likewise.
6252         (struct audit_ifaces): Remove architecture-specific pltenter and
6253         pltexit members.
6254         * sysdeps/i386/ldsodefs.h: New file.
6255         * sysdeps/powerpc/ldsodefs.h: Likewise.
6256         * sysdeps/s390/ldsodefs.h: Likewise.
6257         * sysdeps/sh/ldsodefs.h: Likewise.
6258         * sysdeps/sparc/ldsodefs.h: Likewise.
6259         * sysdeps/x86_64/ldsodefs.h: Likewise.
6261 2012-07-25  Marek Polacek  <polacek@redhat.com>
6263         [BZ #6808]
6264         * math/libm-test.inc (yn_test): Add another test.
6265         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
6266         to ERANGE when the result is +-Inf.
6267         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6268         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
6269         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
6270         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
6272 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
6274         * conform/data/time.h-data (NULL): Use macro-constant.  Require
6275         equal to 0.
6276         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
6277         clock_t.
6278         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
6280 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
6282         * configure.in <sysdeps resolving>: Correct printing
6283         Implies_before.
6284         * configure: Regenerate.
6286 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
6288         * math/w_ilogb.c: Include <limits.h>.
6289         * math/w_ilogbl.c: Likewise.
6291 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
6293         * manual/lang.texi (__va_copy): Document primarily as ISO C99
6294         va_copy.  Document allowing for unavailable va_copy only as
6295         pre-C99 compatibility.
6296         * manual/string.texi (Copying and Concatenation): Use va_copy
6297         instead of __va_copy in concat example.
6299 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
6301         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
6302         (__sendto): Use create_address_port.  Initialize APORT and deallocate
6303         it if not null.
6305         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
6306         with O_NOLINK passed to __file_name_lookup.
6308         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
6309         with O_NOLINK passed to __file_name_lookup.
6311         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
6312         negative N or less than NGIDS.
6314         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
6315         type to string_t.  Set ERANGE as errno and return it if NAME is not big
6316         enough.  Use memcpy instead of strncpy.
6318 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
6320         * elf/Makefile (check-data): Remove.
6321         (localplt.data): New vpath directive.
6322         ($(objpfx)check-localplt.out): Use localplt.data from vpath
6323         instead of $(check-data).
6324         * scripts/data/localplt-generic.data: Move to ...
6325         * sysdeps/generic/localplt.data: ... here.
6326         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
6327         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
6328         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
6329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6330         ... here.
6331         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
6332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
6333         ... here.
6334         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
6335         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
6336         ... here.
6337         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
6338         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6339         ... here.
6340         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
6341         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
6342         ... here.
6343         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
6344         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
6345         ... here.
6347 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6349         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
6350         PPC32 and PPC64 files.
6351         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
6352         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
6354 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6356         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
6357         __makecontext_ret to ...
6358         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
6359         ... here and call exit if uc_link is NULL.  New file.
6360         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
6361         __makecontext_ret.S.
6362         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
6363         __makecontext_ret to ...
6364         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
6365         ... here and call exit if uc_link is NULL.  New file.
6366         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
6367         __makecontext_ret.S.
6369 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6371         * elf/elf.h (R_390_IRELATIVE): New definition.
6372         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
6373         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
6374         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
6375         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6376         (elf_machine_lazy_rel): Likewise.
6377         * sysdeps/s390/dl-irel.h: New file.
6378         * sysdeps/s390/s390-64/memcpy.S: New asm code.
6379         * sysdeps/s390/s390-64/memset.S: New asm code.
6380         * sysdeps/s390/s390-64/memcmp.S: New asm code.
6381         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
6382         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
6383         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
6384         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
6385         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
6386         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
6387         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
6388         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
6389         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
6390         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
6391         * sysdeps/s390/s390-32/memcpy.S: New asm code.
6392         * sysdeps/s390/s390-32/memset.S: New asm code.
6393         * sysdeps/s390/s390-32/memcmp.S: New asm code.
6395 2012-07-17  Marek Polacek  <polacek@redhat.com>
6397         [BZ #14349]
6398         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
6399         * sysdeps/s390/s390-64/configure.in: Likewise.
6400         * sysdeps/sparc/configure.in: Likewise.
6401         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
6402         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
6403         * sysdeps/i386/configure.in: Likewise.
6404         * sysdeps/x86_64/configure.in: Likewise.
6405         * sysdeps/sh/configure.in: Likewise.
6406         * sysdeps/s390/s390-32/configure: Regenerated.
6407         * sysdeps/s390/s390-64/configure: Likewise.
6408         * sysdeps/x86_64/configure: Likewise.
6409         * sysdeps/sh/configure: Likewise.
6410         * sysdeps/powerpc/powerpc64/configure: Likewise.
6411         * sysdeps/powerpc/powerpc32/configure: Likewise.
6412         * sysdeps/sparc/configure: Likwise.
6413         * sysdeps/i386/configure: Likewise.
6415         * elf/dl-open.c: Comment fixes.
6417 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
6419         * Makefile [CXX] (check-data): Remove.
6420         [CXX] (c++-types.data): New vpath directive.
6421         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
6422         vpath.  Do not allow for C++ type data being missing.
6423         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
6424         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
6425         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
6426         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
6427         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
6428         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
6429         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
6430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6431         ... here.
6432         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
6433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6434         ... here.
6435         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
6436         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
6437         ... here.
6438         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
6439         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
6440         ... here.
6441         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
6442         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
6443         ... here.
6444         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
6445         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
6446         ... here.
6447         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
6448         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
6449         ... here.
6450         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
6451         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
6453         * elf/tls-macros.h (TLS_LE): Move architecture-specific
6454         definitions to architecture-specific files.
6455         (TLS_IE): Likewise.
6456         (TLS_LD): Likewise.
6457         (TLS_GD): Likewise.
6458         * sysdeps/i386/tls-macros.h: New file.
6459         * sysdeps/powerpc/tls-macros.h: Likewise.
6460         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
6461         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
6462         * sysdeps/sh/tls-macros.h: Likewise.
6463         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
6464         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
6465         * sysdeps/x86_64/tls-macros.h: Likewise.
6467 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
6469         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
6470         zero value for regular exit case.
6472         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6473         (__start_context): Preserve zero value for regular exit case.
6475 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
6476             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6478         * manual/setjmp.texi (setcontext): Clarify normal process
6479         termination when uc_link is the null pointer.
6480         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
6481         exit call.
6483 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
6485         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
6486         preprocessor.  Test for each exception mask separately.
6488 2012-07-16  Andreas Jaeger  <aj@suse.de>
6490         * po/ru.po: Update from translation team.
6492 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
6494         * conform/data/string.h-data (NULL): Use macro-constant.  Require
6495         equal to 0.
6496         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6497         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6498         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
6499         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
6500         [ISO || ISO99 || ISO11] (*_t): Do not allow.
6502 2012-07-13  Andreas Jaeger  <aj@suse.de>
6504         * po/fr.po: Update from translation team.
6506 2012-07-12  Marek Polacek  <polacek@redhat.com>
6508         [BZ #14173]
6509         * math/libm-test.inc (yn_test): Add test for BZ #14173.
6510         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
6511         loop condition.
6513 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
6515         [BZ #13717]
6516         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6517         Change to 2.4.1 where previously 2.4.0.
6518         * sysdeps/unix/sysv/linux/configure: Regenerated.
6519         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
6520         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
6521         version.
6522         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
6523         (__ASSUME_AT_CLKTCK): Remove.
6524         (__ASSUME_AT_PAGESIZE): Likewise.
6525         (__ASSUME_AT_XID): Likewise.
6526         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
6527         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
6528         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
6529         unconditionally.
6530         (HAVE_AUX_PAGESIZE): Likewise.
6531         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
6532         [__ASSUME_AT_CLKTCK]: Make code unconditional.
6533         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
6535 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
6537         [BZ #14307]
6538         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
6539         the temporary buffer used to invoke __gethostbyname2_r,
6540         __gethostbyaddr_r and gethostbyname4_r to make room for struct
6541         host_data / struct gaih_addrtuple.
6542         * resolv/nss_dns/dns-host.c (global scope): Move definition of
6543         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
6544         header file nss/nsswitch.h.
6545         * nss/nsswitch.h (global scope): Add definition of implementation
6546         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
6547         resolv/nss_dns/dns-host.c).
6549 2012-07-11  Andreas Jaeger  <aj@suse.de>
6551         * po/fr.po: Update from translation team.
6553         * po/sv.po: Update from translation team
6554         * po/fr.po: Another update from translation team.
6556 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6558         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
6559         for subnormals or multiply small sinh result by itself.
6560         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6561         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6563 2012-07-11  David S. Miller  <davem@davemloft.net>
6565         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6567 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
6569         [BZ #14347]
6570         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
6571         (INTERNAL_MARK): Shift it here.
6573 2012-07-10  Marek Polacek  <polacek@redhat.com>
6575         [BZ #14151]
6576         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
6577         libc_cv_asm_global_directive with .globl.
6578         * configure: Regenerated.
6579         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
6580         with .globl.
6581         * sysdeps/i386/configure: Regenerated.
6582         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
6583         with .globl.
6584         * sysdeps/x86_64/configure: Regenerated.
6585         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
6586         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
6587         * elf/tst-unique2mod2.c: Likewise.
6588         * elf/tst-unique2mod1.c: Likewise.
6589         * elf/tst-unique1mod2.c: Likewise.
6590         * elf/tst-unique1mod1.c: Likewise.
6591         * sysdeps/s390/s390-32/sysdep.h: Likewise.
6592         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6593         * sysdeps/s390/s390-64/sysdep.h: Likewise.
6594         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6595         * sysdeps/mach/sysdep.h: Likewise.
6596         * sysdeps/i386/sysdep.h: Likewise.
6597         * sysdeps/i386/i386-mcount.S: Likewise.
6598         * sysdeps/x86_64/_mcount.S: Likewise.
6599         * sysdeps/x86_64/sysdep.h: Likewise.
6600         * sysdeps/sh/_mcount.S: Likewise.
6601         * sysdeps/sh/sysdep.h: Likewise.
6602         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
6603         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
6604         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
6605         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6606         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
6607         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
6608         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
6609         * locale/localeinfo.h: Likewise.
6610         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
6611         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
6613 2012-07-09  Roland McGrath  <roland@hack.frob.com>
6615         [BZ #14336]
6616         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
6617         system".
6618         * manual/message.texi (The Uniforum approach): Likewise.
6619         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
6620         (glibc iconv Implementation): Likewise.
6622 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
6624         [BZ #14337]
6625         * math/s_clog.c (__clog): Avoid scaling a value down where that
6626         could result in underflow.
6627         * math/s_clog10.c (__clog10): Likewise.
6628         * math/s_clog10f.c (__clog10f): Likewise.
6629         * math/s_clog10l.c (__clog10l): Likewise.
6630         * math/s_clogf.c (__clogf): Likewise.
6631         * math/s_clogl.c (__clogl): Likewise.
6632         * math/libm-test.inc (clog_test): Add more tests.
6633         (clog10_test): Likewise.
6634         * sysdeps/i386/fpu/libm-test-ulps: Update.
6635         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6637 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
6639         [BZ #14283]
6640         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
6641         by 7 not 8 to examine high bit of fractional part.
6643         [BZ #14042]
6644         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
6645         for call to __mcount_internal.
6646         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
6647         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
6648         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
6650 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
6652         [BZ #14154]
6653         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
6654         approximation for values within 0x1p-13f of an odd multiple of
6655         pi/4.
6656         * math/libm-test.inc (tan_test): Do not allow spurious underflow
6657         exception.  Add more tests.
6658         * sysdeps/i386/fpu/libm-test-ulps: Update.
6660         [BZ #6778]
6661         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
6662         inputs and return -1 for them.  Do not check for +Inf in case not
6663         reachable for +Inf.
6664         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6665         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
6666         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6667         and return -1 for them.  Do not check for +Inf in case not
6668         reachable for +Inf.
6669         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
6670         define.
6671         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6672         and return -1 for them.  Do not check for +Inf in case not
6673         reachable for +Inf.
6674         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
6675         spurious underflow.
6676         * sysdeps/i386/fpu/libm-test-ulps: Update.
6677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6679 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
6681         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
6683 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
6685         [BZ #14157]
6686         [BZ #14331]
6687         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
6688         could result in spurious underflow.  Scale down values above
6689         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
6690         * math/s_csqrtf.c (__csqrtf): Likewise.
6691         * math/s_csqrtl.c (__csqrtl): Likewise.
6692         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
6693         spurious underflow.
6694         * sysdeps/i386/fpu/libm-test-ulps: Update.
6695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6697 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
6699         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
6700         xopen-msg.sed.
6701         * catgets/xopen-msg.awk: New file.
6702         * catgets/xopen-msg.sed: Removed.
6704         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
6705         po2text.sed.
6706         * intl/po2test.awk: New file.
6707         * intl/po2test.sed: Removed.
6709 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
6711         [BZ #14328]
6712         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
6713         or multiply small sinh result by itself.
6714         * math/s_ctanf.c (__ctanf): Likewise.
6715         * math/s_ctanh.c (__ctanh): Likewise.
6716         * math/s_ctanhf.c (__ctanhf): Likewise.
6717         * math/s_ctanhl.c (__ctanhl): Likewise.
6718         * math/s_ctanl.c (__ctanl): Likewise.
6719         * math/libm-test.inc (ctan_test_tonearest): New function.
6720         (ctan_test_towardzero): Likewise.
6721         (ctan_test_downward): Likewise.
6722         (ctan_test_upward): Likewise.
6723         (ctanh_test_tonearest): Likewise.
6724         (ctanh_test_towardzero): Likewise.
6725         (ctanh_test_downward): Likewise.
6726         (ctanh_test_upward): Likewise.
6727         (main): Call these new functions.
6728         * sysdeps/i386/fpu/libm-test-ulps: Update.
6729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6731 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
6733         * .gitignore: Delete /ports entry.
6735 2012-07-03  Andreas Jaeger  <aj@suse.de>
6737         * po/bg.po: Update from translation team.
6738         * po/cs.po: Likewise.
6739         * po/de.po: Likewise.
6740         * po/hr.po: Likewise.
6741         * po/nl.pl: Likewise.
6742         * po/pl.po: Likewise.
6743         * po/vi.po: Likewise.
6745 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
6747         * Makeconfig [!+link] (+link-before-libc): New variable.
6748         [!+link] (+link-after-libc): Likewise.
6749         [!+link] (+link-tests): Likewise.
6750         [!+link] (+link): Define in terms of $(+link-before-libc) and
6751         $(+link-after-libc).
6752         [!+link-static] (+link-static-before-libc): New variable.
6753         [!+link-static] (+link-static-after-libc): Likewise.
6754         [!+link-static] (+link-static-tests): Likewise.
6755         [!+link-static] (+link-static): Define in terms of
6756         $(+link-static-before-libc) and $(+link-static-after-libc).
6757         [build-shared] (link-libc-before-gnulib): New variable.
6758         [build-shared] (link-libc-tests): Likewise.
6759         [build-shared] (link-libc): Define in terms of
6760         $(link-libc-before-gnulib).
6761         [!build-shared] (link-libc-tests): New variable.
6762         (link-libc-static-tests): New variable.
6763         [!gnulib] (gnulib-arch): New variable.
6764         [!gnulib] (gnulib-tests): Likewise.
6765         [!gnulib] (static-gnulib-arch): Likewise.
6766         [!gnulib] (static-gnulib-tests): Likewise.
6767         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
6768         Define with "=" instead of ":=".
6769         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
6770         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
6771         * Rules (binaries-all-notests): New variable.
6772         (binaries-all-tests): Likewise.
6773         (binaries-static-notests): Likewise.
6774         (binaries-static-tests): Likewise.
6775         (binaries-all): Define using $(binaries-all-notests) and
6776         $(binaries-all-tests).
6777         (binaries-static): Define using $(binaries-static-notests) and
6778         $(binaries-static-tests).
6779         (binaries-shared-tests): New variable.
6780         (binaries-shared-notests): Likewise.
6781         (binaries-shared): Remove variable.
6782         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
6783         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
6784         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
6785         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
6786         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
6787         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
6788         * elf/Makefile (sln-modules): New variable.
6789         (extra-objs): Add $(sln-modules:=.o).
6790         (ldconfig-modules): Add static-stubs.
6791         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
6792         * elf/static-stubs.c: New file.
6794         [BZ #14283]
6795         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
6796         by 7 not 8 to examine high bit of fractional part.  Use volatile
6797         variables when splitting into final array of floats if
6798         __FLT_EVAL_METHOD__ != 0.
6799         * math/libm-test.inc (cos_test): Add another test.
6800         (sin_test): Likewise.
6801         * sysdeps/i386/fpu/libm-test-ulps: Update.
6803         [BZ #14273]
6804         * math/libm-test.inc (cosh_test): Add more tests.
6806         * version.h (RELEASE): Set to "development".
6807         (VERSION): Set to "2.16.90".
6809 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
6811         * NEWS: Update copyright. Remove last-updated date.
6812         Mention math library bug fixes and timezone data changes.
6813         * README: Mention GNU/Hurd, x32, and HPPA support status.
6815 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
6817         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
6819 2012-06-27  Andreas Jaeger  <aj@suse.de>
6821         * manual/contrib.texi (Contributors): Add Samuel Thibault.
6823 2012-06-25  Andreas Jaeger  <aj@suse.de>
6825         * sysdeps/s390/fpu/libm-test-ulps: Update.
6827 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
6828             Thomas Schwinge  <thomas@codesourcery.com>
6830         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
6831         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
6832         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
6833         fanotify_mark.
6835 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
6837         * sysdeps/mach/start.c: Remove file.
6838         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
6839         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
6840         * sysdeps/sh/init-first.c: Likewise.
6842         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
6843         registers for frame unwinding purposes, add CFI directives.
6844         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6845         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
6846         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
6847         Likewise.
6849         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
6850         __fortify_fail returning.
6851         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6853         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
6854         sysdeps/sh/____longjmp_chk.S.
6855         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
6856         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
6857         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
6858         (gen-as-const-headers): Append sigaltstack-offsets.sym.
6860         * sysdeps/sh/abort-instr.h: New file.
6861         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
6862         process in case exit returns.
6864         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
6865         initialize the GOT register before use.
6867         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
6868         calculation of ARGC > 4.
6870         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
6871         meaningful names to some local labels.
6873 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
6874             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6876         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
6877         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
6878         (__arch_compare_and_exchange_val_16_acq): Likewise.
6879         (__arch_compare_and_exchange_val_32_acq): Likewise.
6880         (atomic_exchange_and_add): Fix gUSA sequence.
6881         (atomic_add): Likewise.
6882         (atomic_add_negative): Likewise.
6883         (atomic_add_zero): Likewise.
6884         (atomic_bit_test_set): Likewise.
6886 2012-06-22  Andreas Schwab  <schwab@redhat.com>
6888         [BZ #13579]
6889         * include/link.h (struct link_map): Add l_free_initfini.
6890         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
6891         l_initfini.
6892         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
6893         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
6894         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
6895         set.
6897 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
6899         * configure.in: Use AC_LANG_SOURCE.
6900         * configure: Regenerate.
6902 2012-06-22  Roland McGrath  <roland@hack.frob.com>
6904         * configure.in (libc_cv_localstatedir): New substituted variable.
6905         * configure: Regenerated.
6906         * config.make.in (localstatedir): New variable, substituted from
6907         libc_cv_localstatedir.
6908         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
6909         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
6910         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
6911         * sysdeps/gnu/configure: Regenerated.
6913 2012-06-21  Jeff Law  <law@redhat.com>
6915         [BZ #14277]
6916         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
6917         free.  Simplify list management for _LIBC case.
6919 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
6921         [BZ #14273]
6922         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
6923         Clear sign bit of 64-bit integer value before comparing against
6924         overflow value.
6926         * sysdeps/mach/configure: Regenerated.
6928 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
6930         [BZ #14278]
6931         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
6933 2012-06-21  Jeff Law  <law@redhat.com>
6935         [BZ #13882]
6936         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
6937         uint16_t for elements in the "seen" array to avoid char overflows.
6938         * elf/dl-fini.c (_dl_sort_fini): Likewise.
6939         * elf/dl-open.c (dl_open_worker): Likewise.
6941 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
6943         * scripts/list-sources.sh: Scan PORTS for translations.
6944         * po/libc.pot: Regenerated.
6946 2012-06-21  Andreas Jaeger  <aj@suse.de>
6948         [BZ #12194]
6949         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
6950         warning.
6951         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
6952         * bits/byteswap-16.h (__bswap_16): Likewise.
6953         * bits/byteswap.h (__bswap_constant_16): Likewise.
6955 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
6957         [BZ #14117]
6958         * sysdeps/i386/fpu_control.h: Removed.
6959         * sysdeps/x86_64/fpu_control.h: Moved to ...
6960         * sysdeps/x86/fpu_control.h: Here.
6962         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
6963         (_FPU_SETCW): Likewise.
6965 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
6967         [BZ #14117]
6968         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
6969         * sysdeps/x86/fpu/bits/mathinline.h: This.
6970         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
6972         [BZ #14050]
6973         [BZ #14117]
6974         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
6975         functions if __x86_64__ is defined.
6977 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
6979         * string/endian.h: Add !__ASSEMBLER__ condition for including
6980         conversion interfaces.
6982 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
6984         [BZ #14241]
6985         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
6986         of ABS(x) in calculating zero to negative powers other than odd
6987         integers.
6988         * math/libm-test.inc (pow_test): Add more tests.
6990 2012-06-15  Andreas Jaeger  <aj@suse.de>
6992         * manual/contrib.texi (Contributors): Update entry of Liubov
6993         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
6994         Machado Filho.
6996 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
6998         * string/string.h: Add __wur to GNU version of strerror_r.
7000 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
7002         [BZ #14229]
7003         * string/Makefile (tests): Add tst-strtok_r.
7004         * string/tst-strtok_r.c: New file.
7005         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
7006         RAX_LP/RDX_LP on SAVE_PTR.
7008 2012-06-14  Roland McGrath  <roland@hack.frob.com>
7010         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
7012 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
7014         * libm_test.inc (csqrt_test): Allow more spurious underflow
7015         exceptions.
7016         (j0_test): Likewise.
7017         (j1_test): Likewise.
7018         (y0_test): Likewise.
7019         (y1_test): Likewise.
7021 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
7023         * po/Makefile (libc.pot): Use UTF-8 charset.
7025 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
7027         [BZ #14210]
7028         Suppress sign-conversion warning from FD_SET.
7029         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
7030         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
7031         not unsigned long int.
7032         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
7034 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
7036         [BZ #14050]
7037         [BZ #14117]
7038         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
7039         __extern_always_inline instead of __extern_inline.
7040         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
7041         (__signbit): Likewise.
7042         (__signbitl): Support C++ namespace.
7043         (lrintf): New inline function.
7044         (lrint): Likewise.
7045         (llrintf): Likewise.
7046         (llrint): Likewise.
7047         (fmaxf): Likewise.
7048         (fmax): Likewise.
7049         (fminf): Likewise.
7050         (fmin): Likewise.
7051         (rint): Likewise.
7052         (rintf): Likewise.
7053         (ceil): Likewise.
7054         (ceilf): Likewise.
7055         (floor): Likewise.
7056         (floorf): Likewise.
7057         (nearbyint): Likewise.
7058         (nearbyintf): Likewise.
7060 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
7062         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
7063         non-default versions.
7065 2012-06-11  Roland McGrath  <roland@hack.frob.com>
7067         [BZ #14218]
7068         * manual/argp.texi (Argp): Reword argp_parse description slightly.
7070 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
7072         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
7073         (FE_UPWARD, FE_DOWNWARD): Don't define.
7074         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
7075         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7077         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
7078         reading it.
7079         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7080         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7082 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7084         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7085         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
7086         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
7087         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
7089 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
7091         [BZ #14117]
7092         * sysdeps/i386/fpu/bits/fenv.h: Removed.
7093         * sysdeps/i386/fpu/Implies: New file.
7094         * sysdeps/x86_64/fpu/Implies: Likewise.
7095         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
7096         * sysdeps/x86/fpu/bits/fenv.h: This.
7098         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
7099         __SSE_MATH__.
7101 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
7103         [BZ #14134]
7104         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
7105         character 0xffff that matches the last element of the
7106         conversion table.
7108 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7110         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
7111         fmodl commit.
7113 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7115         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
7116         values higher than 25.6283.
7118 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7120         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
7121         subnormal exponent extraction and add some __builtin_expect.
7122         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
7123         Fix for subnormal mantissa calculation.
7125 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
7127         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
7128         cpu2 is -1 and errno is not ENOSYS.
7130 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
7132         [BZ #14117]
7133         * sysdeps/i386/i486/bits/string.h: Renamed to ...
7134         * sysdeps/x86/bits/string.h: This.
7135         * sysdeps/x86_64/bits/string.h: Removed.
7137         * sysdeps/i386/i486/bits/string.h: Define inline functions only
7138         if not compiling for x86-64, but compiling for >= i486.
7140         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
7141         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
7143         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
7144         New macro from Linux kernel 3.4.0.
7145         (FP_XSTATE_MAGIC2): Likewise.
7146         (FP_XSTATE_MAGIC2_SIZE): Likewise.
7147         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
7148         (struct _fpx_sw_bytes): New struct.
7149         (struct _xsave_hdr): Likewise.
7150         (struct _ymmh_state): Likewise.
7151         (struct _xstate): Likewise.
7153         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
7154         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
7155         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
7156         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
7157         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
7158         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
7160         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
7161         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
7162         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
7163         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
7164         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
7165         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
7167 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7169         [BZ #13743]
7170         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
7171         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
7172         (sysdep_headers): Include sys/platform/ppc.h.
7173         * sysdeps/powerpc/test-gettimebase.c: Test for
7174         __ppc_get_timebase() to catch future ISA opcode/insn changes.
7175         * manual/Makefile (appendices): Include platform.texi.
7176         * manual/contrib.texi (Contributors): Update @node pointers.
7177         * manual/maint.texi (Maintenance): Likewise.
7178         (Platform): New node.
7179         * manual/platform.texi: New file.  Document the new features.
7181 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7182             Jakub Jelinek  <jakub@redhat.com>
7184         [BZ #14188]
7185         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
7186         where __builtin_expect is unavailable.
7188 2012-06-03  David S. Miller  <davem@davemloft.net>
7190         * stdlib/longlong.h: Updated from GCC.
7192 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
7194         [BZ #14042]
7195         * sysdeps/powerpc/powerpc32/mcount.c: New file.
7196         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
7197         __mcount_internal.
7198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7199         (GLIBC_2.16): Likewise.
7201 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
7203         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
7205 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
7207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
7208         (default-abi): New variable.
7209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
7210         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
7211         variable.
7212         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
7213         Likewise.
7214         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
7215         Likewise.
7216         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
7217         Likewise.
7219         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
7220         definition.  Document in comment.
7222 2012-06-01  David S. Miller  <davem@davemloft.net>
7224         * stdlib/longlong.h: Updated from GCC.
7226 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
7228         [BZ #14117]
7229         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
7230         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
7231         sys/debugreg.h sys/io.h here.
7232         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
7233         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
7234         sys/io.h.
7235         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
7236         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
7237         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
7238         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
7239         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
7240         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
7242         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
7243         Define only if __x86_64__ is defined.
7245 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
7247         [BZ #14048]
7248         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
7249         Use int64_t for variable i.
7250         * math/libm-test.inc (fmod_test): Add more tests.
7252         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
7253         z computation is not scheduled after fetestexcept.
7254         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
7255         Use math_force_eval instead of asm to ensure calculation scheduled
7256         before exception test.
7257         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
7258         Ensure a1 + u.d computation is not scheduled after fetestexcept.
7260 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
7262         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
7263         computation is not scheduled after fetestexcept.
7265 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
7267         [BZ #14117]
7268         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
7269         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
7271 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7273         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
7274         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7276 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
7278         [BZ #14117]
7279         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
7280         <bits/wordsize.h>.
7281         (__WCHAR_MIN): Support __WORDSIZE == 64.
7282         (__WCHAR_MAX): Likewise.
7284         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
7285         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
7287         [BZ #14183]
7288         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
7289         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
7291         [BZ #14117]
7292         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
7293         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
7295         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
7296         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
7298         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
7299         Defined to 1 if __x86_64__ isn't defined.
7300         (_STAT_VER_LINUX_OLD): New.
7301         (st_atime): Remove duplicate.
7302         (st_mtime): Likewise.
7303         (st_ctime): Likewise.
7305 2012-05-31  David S. Miller  <davem@davemloft.net>
7307         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
7308         entries.
7310 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
7312         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
7313         gen-libm-test.pl.
7315         [BZ #14132]
7316         * elf/dl-reloc.c: Include <_itoa.h>.
7317         (_dl_reloc_bad_type): Remove use of INTUSE.
7318         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
7319         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
7320         * stdio-common/psiginfo.c (psiginfo): Likewise.
7321         * stdio-common/psignal.c (psignal): Likewise.
7322         * string/strsignal.c (strsignal): Likewise.
7323         * include/signal.h (_sys_siglist): Declare hidden proto.
7324         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
7325         INTVARDEF with libc_hidden_data_def.
7326         * stdio-common/itoa-udigits.c: Likewise.
7327         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
7328         (_itoa_lower_digits_internal): Remove declaration.
7329         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
7330         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
7331         (_sys_sigabbrev_internal): Remove aliases.
7332         (_sys_siglist): Define hidden alias.
7334 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
7336         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7337         bits/sysctl.h.
7339 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
7341         [BZ #14117]
7342         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
7343         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
7345         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
7346         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
7347         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
7348         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
7349         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
7350         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
7352         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
7353         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
7354         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
7356         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
7357         with __addr.
7358         (insw): Likewise.
7359         (insl): Likewise.
7360         (outsb): Likewise.
7361         (outsw): Likewise.
7362         (outsl): Likewise.
7364         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
7365         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
7366         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
7368         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
7369         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
7370         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
7371         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
7372         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
7373         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
7375         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
7376         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
7378         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
7379         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
7381         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
7382         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
7383         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
7385         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
7386         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
7387         to ...
7388         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
7390         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
7391         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
7392         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
7394         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
7395         for x86-64.
7396         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
7398 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
7400         * math/math.h (M_El): Use two more decimal places.
7401         (M_LOG2El): Likewise.
7402         (M_LOG10El): Likewise.
7403         (M_LN2l): Likewise.
7404         (M_LN10l): Likewise.
7405         (M_PIl): Likewise.
7406         (M_PI_2l): Likewise.
7407         (M_PI_4l): Likewise.
7408         (M_1_PIl): Likewise.
7409         (M_2_PIl): Likewise.
7410         (M_2_SQRTPIl): Likewise.
7411         (M_SQRT2l): Likewise.
7412         (M_SQRT1_2l): Likewise.
7414 2012-05-31  David S. Miller  <davem@davemloft.net>
7416         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
7417         values between float registers.
7418         * sysdeps/sparc/sparc64/memset.S: Likewise.
7419         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7421 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
7423         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
7424         -D_FORTIFY_SOURCE=1.
7425         (CPPFLAGS-tst-longjmp_chk.c): Define.
7426         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
7427         (CPPFLAGS-tst-longjmp_chk2.c): Define.
7428         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
7429         CFLAGS-tst-wchar-h.c.
7431 2012-05-31  Marek Polacek  <polacek@redhat.com>
7433         [BZ #14132]
7434         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
7435         __endmntent_internal): Remove declaration.
7436         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
7437         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
7438         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
7440 2012-05-30  David S. Miller  <davem@davemloft.net>
7442         * sysdeps/sparc/sparc32/soft-fp/q_util.c
7443         (___Q_simulate_exceptions): Use real FP ops rather than writing
7444         into the %fsr.
7445         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
7446         Likewise.
7448 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
7450         [BZ #14117]
7451         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
7452         * sysdeps/x86/bits/xtitypes.h: This.
7454         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
7455         * sysdeps/x86/bits/wordsize.h: This.
7457         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
7458         * sysdeps/x86/bits/huge_vall.h: This.
7460         * sysdeps/i386/bits/select.h: Removed.
7461         * sysdeps/x86_64/bits/select.h: Renamed to ...
7462         * sysdeps/x86/bits/select.h: This.
7464         * sysdeps/i386/bits/setjmp.h: Removed.
7465         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
7466         * sysdeps/x86/bits/setjmp.h: This.
7468         * sysdeps/i386/bits/mathdef.h: Removed.
7469         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
7470         * sysdeps/x86/bits/mathdef.h: This.
7472 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
7474         [BZ #14132]
7475         * include/sys/socket.h (__connect_internal)
7476         (__libc_sa_len_internal): Remove declaration.
7477         (__connect, __libc_sa_len): Declare hidden_proto.
7478         (SA_LEN): Remove use of INTUSE.
7479         * socket/connect.c: Add libc_hidden_def.
7480         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
7481         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
7482         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
7483         alias.
7484         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7485         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7486         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
7487         of adding _internal alias.
7489 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
7491         [BZ #14117]
7492         * sysdeps/i386/bits/link.h: Removed.
7493         * sysdeps/i386/bits/linkmap.h: Likewise.
7494         * sysdeps/x86_64/bits/link.h: Renamed to ...
7495         * sysdeps/x86/bits/link.h: This.
7496         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
7497         * sysdeps/x86/bits/linkmap.h: This.
7499         * sysdeps/i386/bits/endian.h: Removed.
7500         * sysdeps/x86_64/bits/endian.h: Renamed to ...
7501         * sysdeps/x86/bits/endian.h: This.
7503         * sysdeps/i386/bits/byteswap.h: Removed.
7504         * sysdeps/i386/bits/byteswap-16.h: Likewise.
7505         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
7506         * sysdeps/x86/bits/byteswap.h: This.
7507         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
7508         * sysdeps/x86/bits/byteswap-16.h: This.
7509         * sysdeps/i386/Implies: Add x86.
7510         * sysdeps/x86_64/Implies: Likewise.
7512 2012-05-30  David S. Miller  <davem@davemloft.net>
7514         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
7515         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
7516         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7517         (FP_TRAPPING_EXCEPTIONS): Define.
7518         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7519         (FP_TRAPPING_EXCEPTIONS): Define.
7520         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
7521         subnormals only when inexact has been signalled or underflow
7522         exceptions are enabled.
7523         (_FP_PACK_CANONICAL): Likewise.
7525 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
7527         [BZ #14183]
7528         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
7529         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
7531 2012-05-30  Richard Henderson  <rth@twiddle.net>
7533         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
7534         with #ifndef NOT_IN_libc.
7536         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
7537         marked to avoid plt entry.
7539 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
7541         [BZ #14112]
7542         * Makeconfig (default-abi): New macro.
7543         (abi-includes): Likewise.
7544         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
7545         $(abi-$(default-abi)-lib-soname) for soname if defined.
7546         ($(common-objpfx)gnu/lib-names.stmp): Generate from
7547         abi-variants.
7548         * Makefile (installed-stubs): Likewise.
7549         * include/stubs-biarch.h: Removed.
7550         * scripts/lib-names.awk: Only handle one library at a time.
7551         * scripts/soversions.awk: Remove WORDSIZE support.
7552         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
7553         entries.
7554         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
7555         Removed.
7556         (syscall-list-default-condition): Likewise.
7557         (syscall-list-default-condition): Likewise.
7558         (syscall-list-includes): Likewise.
7559         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
7560         syscall-list-* with abi-*.  Handle undefined abi-variants.
7561         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
7562         * sysdeps/unix/sysv/linux/i386/Implies: New file.
7563         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
7564         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
7565         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
7566         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
7567         Removed.
7568         (syscall-list-32-options): Likewise.
7569         (syscall-list-32-condition): Likewise.
7570         (syscall-list-64-options): Likewise.
7571         (syscall-list-64-condition): Likewise.
7572         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
7573         macro.
7574         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
7575         Renamed to ...
7576         (abi-*): This.
7577         (abi-64-ld-soname): New macro.
7578         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
7579         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
7580         Renamed to ...
7581         (abi-*): This.
7582         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
7583         * sysdeps/x86_64/x32/shlib-versions: Likewise.
7585 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
7587         * sysdeps/unix/sysv/linux/kernel-features.h
7588         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
7589         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
7590         include <kernel-features.h>.
7591         [!__NR_ftruncate64]: Remove conditional code.
7592         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7593         [__NR_ftruncate64]: Make code unconditional.
7594         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7595         * sysdeps/unix/sysv/linux/truncate64.c: Do not
7596         include <kernel-features.h>.
7597         [!__NR_ftruncate64]: Remove conditional code.
7598         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7599         [__NR_ftruncate64]: Make code unconditional.
7600         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
7602         include <kernel-features.h>.
7603         [!__NR_ftruncate64]: Remove conditional code.
7604         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7605         [__NR_ftruncate64]: Make code unconditional.
7606         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7608         include <kernel-features.h>.
7609         [!__NR_ftruncate64]: Remove conditional code.
7610         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7611         [__NR_ftruncate64]: Make code unconditional.
7612         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7614         * configure.in (libc_cv_fpie): Weaken to a compile test using
7615         LIBC_TRY_CC_OPTION.
7616         * configure: Regenerated.
7618 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7620         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
7621         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
7622         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
7623         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7624         Refreshed.
7625         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
7626         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
7627         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
7628         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
7629         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
7630         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7631         Refreshed.
7633 2012-05-27  David S. Miller  <davem@davemloft.net>
7635         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
7636         (___Q_zero): New.
7637         (__Q_simulate_exceptions): Return void.  Change to simulate
7638         exceptions by writing into the %fsr.
7639         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
7640         (__Qp_handle_exceptions): Likewise.
7641         (numbers): Delete.
7642         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
7643         __Qp_handle_exceptions.
7644         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
7645         __Qp_handle_exceptions.
7646         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7647         as unused and give dummy FP_RND_NEAREST initializer.
7648         (FP_INHIBIT_RESULTS): Define.
7649         (___Q_simulate_exceptions): Update declaration.
7650         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
7651         formatting.
7652         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7653         as unused and give dummy FP_RND_NEAREST initializer.
7654         (__Qp_handle_exceptions): Update declaration.
7655         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
7656         formatting.
7658 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
7660         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
7661         the temporary FPU control word.
7662         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7663         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
7664         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7665         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7666         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7667         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7668         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7669         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7670         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7671         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
7672         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7674 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7676         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
7677         fields.
7679 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
7681         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
7682         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
7683         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
7684         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
7685         Likewise.
7686         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
7687         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
7688         Likewise.
7690 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
7692         * po/h.po: Update from translation team.
7694 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
7696         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
7698         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
7699         handling of denormals.
7700         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7701         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7702         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7703         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7704         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7705         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
7706         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
7707         Likewise.
7709 2012-05-26  Marek Polacek  <polacek@redhat.com>
7711         [BZ #14152]
7712         * math/libm-test.inc (fma_test): Don't always expect underflow
7713         exception.
7715 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7717         [BZ #12416]
7718         * elf/tst-execstack.c: Include stackinfo.h.
7719         (do_test): Adjust test case to ensure that pthread_getattr_np
7720         behaviour remains the same after marking stack executable.
7722 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
7724         * sysdeps/unix/sysv/linux/kernel-features.h
7725         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
7726         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
7727         kernel-features.h.
7728         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7729         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7730         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
7731         kernel-features.h.
7732         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7733         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7735 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
7737         * configure.in: Define the default includes to being none.
7738         * configure: Regenerated.
7740 2012-05-25  Roland McGrath  <roland@hack.frob.com>
7742         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
7743         * sysdeps/x86_64/setjmp.S: Likewise.
7744         * sysdeps/i386/bsd-setjmp.S: Likewise.
7745         * sysdeps/i386/bsd-_setjmp.S: Likewise.
7746         * sysdeps/i386/setjmp.S: Likewise.
7747         * sysdeps/i386/__longjmp.S: Likewise.
7748         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7749         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
7751         * include/stap-probe.h: New file.
7752         * configure.in: Handle --enable-systemtap.
7753         * configure: Regenerated.
7754         * config.h.in (USE_STAP_PROBE): New #undef.
7755         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
7756         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
7757         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7759 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
7761         [BZ #13717]
7762         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
7763         to 2.4.0 where earlier.
7764         * sysdeps/unix/sysv/linux/configure: Regenerated.
7765         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7766         <kernel-features.h>.
7767         [__ASSUME_32BITUIDS]: Make code unconditional.
7768         [!__ASSUME_32BITUIDS]: Remove conditional code.
7769         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
7770         <kernel-features.h>.
7771         [__ASSUME_32BITUIDS]: Make code unconditional.
7772         [!__ASSUME_32BITUIDS]: Remove conditional code.
7773         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
7774         [__ASSUME_32BITUIDS]: Make code unconditional.
7775         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
7776         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
7777         <kernel-features.h>.
7778         [__ASSUME_32BITUIDS]: Make code unconditional.
7779         [!__ASSUME_32BITUIDS]: Remove conditional code.
7780         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
7781         <kernel-features.h>.
7782         [__ASSUME_32BITUIDS]: Make code unconditional.
7783         [!__ASSUME_32BITUIDS]: Remove conditional code.
7784         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
7785         <kernel-features.h>.
7786         [__ASSUME_32BITUIDS]: Make code unconditional.
7787         [!__ASSUME_32BITUIDS]: Remove conditional code.
7788         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
7789         <kernel-features.h>.
7790         [__ASSUME_32BITUIDS]: Make code unconditional.
7791         [!__ASSUME_32BITUIDS]: Remove conditional code.
7792         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7793         <kernel-features.h>.
7794         [__ASSUME_32BITUIDS]: Make code unconditional.
7795         [!__ASSUME_32BITUIDS]: Remove conditional code.
7796         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7797         <kernel-features.h>.
7798         [__ASSUME_32BITUIDS]: Make code unconditional.
7799         [!__ASSUME_32BITUIDS]: Remove conditional code.
7800         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
7801         <kernel-features.h>.
7802         [__ASSUME_32BITUIDS]: Make code unconditional.
7803         [!__ASSUME_32BITUIDS]: Remove conditional code.
7804         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7805         <kernel-features.h>.
7806         [__ASSUME_32BITUIDS]: Make code unconditional.
7807         [!__ASSUME_32BITUIDS]: Remove conditional code.
7808         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7809         <kernel-features.h>.
7810         [__ASSUME_32BITUIDS]: Make code unconditional.
7811         [!__ASSUME_32BITUIDS]: Remove conditional code.
7812         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
7813         <kernel-features.h>.
7814         [__ASSUME_32BITUIDS]: Make code unconditional.
7815         [!__ASSUME_32BITUIDS]: Remove conditional code.
7816         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
7817         <kernel-features.h>.
7818         [__NR_setresgid] (__setresgid): Do not declare.
7819         [__ASSUME_32BITUIDS]: Make code unconditional.
7820         [!__ASSUME_32BITUIDS]: Remove conditional code.
7821         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
7822         <kernel-features.h>.
7823         [__NR_setresuid] (__setresuid): Do not declare.
7824         [__ASSUME_32BITUIDS]: Make code unconditional.
7825         [!__ASSUME_32BITUIDS]: Remove conditional code.
7826         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
7827         <kernel-features.h>.
7828         [__ASSUME_32BITUIDS]: Make code unconditional.
7829         [!__ASSUME_32BITUIDS]: Remove conditional code.
7830         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
7831         <kernel-features.h>.
7832         [__ASSUME_32BITUIDS]: Make code unconditional.
7833         [!__ASSUME_32BITUIDS]: Remove conditional code.
7834         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
7835         <kernel-features.h>.
7836         [__ASSUME_32BITUIDS]: Make code unconditional.
7837         [!__ASSUME_32BITUIDS]: Remove conditional code.
7838         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
7839         <kernel-features.h>.
7840         [__ASSUME_32BITUIDS]: Make code unconditional.
7841         [!__ASSUME_32BITUIDS]: Remove conditional code.
7842         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
7843         <kernel-features.h>.
7844         [__ASSUME_32BITUIDS]: Make code unconditional.
7845         [!__ASSUME_32BITUIDS]: Remove conditional code.
7846         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
7847         <kernel-features.h>.
7848         [__ASSUME_32BITUIDS]: Make code unconditional.
7849         [!__ASSUME_32BITUIDS]: Remove conditional code.
7850         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
7851         <kernel-features.h>.
7852         [__ASSUME_32BITUIDS]: Make code unconditional.
7853         [!__ASSUME_32BITUIDS]: Remove conditional code.
7854         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
7855         <kernel-features.h>.
7856         [__ASSUME_32BITUIDS]: Make code unconditional.
7857         [!__ASSUME_32BITUIDS]: Remove conditional code.
7858         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
7859         <kernel-features.h>.
7860         [__ASSUME_32BITUIDS]: Make code unconditional.
7861         [!__ASSUME_32BITUIDS]: Remove conditional code.
7862         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7863         <kernel-features.h>.
7864         [__ASSUME_32BITUIDS]: Make code unconditional.
7865         [!__ASSUME_32BITUIDS]: Remove conditional code.
7866         * sysdeps/unix/sysv/linux/kernel-features.h
7867         (__ASSUME_SETRESUID_SYSCALL): Remove.
7868         (__ASSUME_SETRESGID_SYSCALL): Likewise.
7869         (__ASSUME_32BITUIDS): Likewise.
7870         (__ASSUME_LDT_WORKS): Likewise.
7871         (__ASSUME_O_DIRECTORY): Likewise.
7872         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
7873         architecture but not kernel version.
7874         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7875         (__ASSUME_MMAP2_SYSCALL): Likewise.
7876         (__ASSUME_STAT64_SYSCALL): Likewise.
7877         (__ASSUME_IPC64): Likewise.
7878         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
7879         <kernel-features.h>.
7880         [__ASSUME_32BITUIDS]: Make code unconditional.
7881         [!__ASSUME_32BITUIDS]: Remove conditional code.
7882         * sysdeps/unix/sysv/linux/opendir.c: Do not include
7883         <kernel-features.h>.
7884         [__ASSUME_O_DIRECTORY]: Make code unconditional.
7885         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
7886         132096]: Remove conditional code.
7887         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
7888         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7889         <kernel-features.h>.
7890         [__ASSUME_32BITUIDS]: Make code unconditional.
7891         [!__ASSUME_32BITUIDS]: Remove conditional code.
7892         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7893         <kernel-features.h>.
7894         [__ASSUME_32BITUIDS]: Make code unconditional.
7895         [!__ASSUME_32BITUIDS]: Remove conditional code.
7896         * sysdeps/unix/sysv/linux/setegid.c: Do not include
7897         <kernel-features.h>.
7898         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
7899         unconditional.
7900         (__setresgid): Do not declare.
7901         [__ASSUME_32BITUIDS]: Make code unconditional.
7902         [!__ASSUME_32BITUIDS]: Remove conditional code.
7903         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
7904         <kernel-features.h>.
7905         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
7906         unconditional.
7907         (__setresuid): Do not declare.
7908         [__ASSUME_32BITUIDS]: Make code unconditional.
7909         [!__ASSUME_32BITUIDS]: Remove conditional code.
7910         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7911         <kernel-features.h>.
7912         [__ASSUME_32BITUIDS]: Make code unconditional.
7913         [!__ASSUME_32BITUIDS]: Remove conditional code.
7914         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
7915         <kernel-features.h>.
7916         [__ASSUME_32BITUIDS]: Make code unconditional.
7917         [!__ASSUME_32BITUIDS]: Remove conditional code.
7919 2012-05-25  Richard Henderson  <rth@twiddle.net>
7921         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
7922         dl_hwcap to ifunc resolver.
7923         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
7924         elf_ifunc_invoke.
7925         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
7926         dl_hwcap to ifunc resolver.
7927         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
7929 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
7931         [BZ #14153]
7932         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
7933         for |x| <= 2**-26, not 2**-57.
7934         * math/libm-test.inc (acos_test): Do not allow spurious underflow
7935         exception.
7937 2012-05-24  Jeff Law  <law@redhat.com>
7939         * stdio-common/Makefile (tests): Add bug25.
7940         * stdio-common/bug25.c: New test.
7942 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
7944         [BZ #13576]
7945         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
7946         multiple of MALLOC_ALIGNMENT in size.
7947         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
7949 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
7951         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
7952         Require >= 256.
7953         (FILENAME_MAX): Use macro-int-constant.
7954         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
7955         (_IOFBF): Use macro-int-constant.
7956         (_IOLBF): Likewise.
7957         (_IONBF): Likewise.
7958         (SEEK_CUR): Likewise.
7959         (SEEK_END): Likewise.
7960         (SEEK_SET): Likewise.
7961         (TMP_MAX): Likewise.
7962         (EOF): Use macro-int-constant.  Require < 0.
7963         (NULL): Use macro-constant.  Require == 0.
7964         (stdin): Require type to be FILE *.
7965         (stdout): Likewise.
7966         (stderr): Likewise.
7967         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
7968         macro-int-constant.
7969         (EXIT_SUCCESS): Likewise.
7970         (NULL): Use macro-constant.  Require == 0.
7971         (RAND_MAX): Use macro-int-constant.
7972         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
7973         [C99-based standards] (strtof): Require function.
7974         [C99-based standards] (strtold): Likewise.
7975         [C99-based standards] (strtoll): Likewise.
7976         [C99-based standards] (strtoull): Likewise.
7977         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7978         [ISO || ISO99 || ISO11] (limits.h): Likewise.
7979         [ISO || ISO99 || ISO11] (math.h): Likewise.
7980         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
7981         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7982         [ISO || ISO99 || ISO11] (*_t): Do not allow.
7984 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
7986         [BZ #14132]
7987         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
7988         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
7989         * intl/dgettext.c (DCGETTEXT): Likewise.
7990         * intl/gettext.c (DCGETTEXT): Likewise.
7991         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
7992         * posix/regex_internal.h (gettext): Likewise.
7993         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
7994         Remove declaration.
7995         * include/argz.h (__argz_count_internal)
7996         (__argz_stringify_internal): Remove declaration.
7997         (__argz_count, __argz_stringify): Declare hidden proto.
7998         * intl/dcgettext.c: Remove use of INTDEF.
7999         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
8000         * string/argz-stringify.c: Likewise.
8001         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8002         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8003         Declare hidden proto.
8004         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8005         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8006         Declare hidden proto.
8007         * include/stdio.h (__asprintf_internal): Don't declare.
8008         (__asprintf): Don't define as macro.  Declare hidden proto.
8009         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
8010         (__fsetlocking): Declare hidden proto.
8011         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
8012         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
8013         hidden proto.
8014         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
8015         (_IO_setlinebuf): Remove use of INTUSE.
8016         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
8017         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
8018         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
8019         Remove declaration.
8020         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
8021         (_IO_do_flush): Remove use of INTUSE.
8022         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
8023         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
8024         (_IO_adjust_column, _IO_least_wmarker)
8025         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
8026         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
8027         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
8028         (_IO_default_doallocate, _IO_wdefault_doallocate)
8029         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
8030         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
8031         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
8032         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
8033         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
8034         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
8035         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
8036         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
8037         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
8038         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
8039         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
8040         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
8041         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
8042         proto.
8043         (_IO_flush_all_internal, _IO_adjust_column_internal)
8044         (_IO_default_uflow_internal, _IO_default_finish_internal)
8045         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
8046         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
8047         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
8048         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
8049         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
8050         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
8051         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
8052         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
8053         (_IO_file_close_internal, _IO_file_close_it_internal)
8054         (_IO_file_underflow_internal, _IO_file_overflow_internal)
8055         (_IO_file_init_internal, _IO_file_attach_internal)
8056         (_IO_file_fopen_internal, _IO_file_read_internal)
8057         (_IO_file_sync_internal, _IO_file_seek_internal)
8058         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
8059         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
8060         (_IO_str_underflow_internal, _IO_str_overflow_internal)
8061         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
8062         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
8063         (_IO_list_all_internal, _IO_link_in_internal)
8064         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
8065         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
8066         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
8067         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
8068         (_IO_do_write_internal, _IO_padn_internal)
8069         (_IO_getline_info_internal, _IO_getline_internal)
8070         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
8071         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
8072         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
8073         (_IO_vfscanf_internal, _IO_vfprintf_internal)
8074         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
8075         (_IO_init_internal, _IO_un_link_internal): Don't declare.
8076         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
8077         with libc_hidden_ver, remove use of INTUSE.
8078         * libio/genops.c: Likewise.
8079         * libio/freopen.c: Likewise.
8080         * libio/freopen64.c: Likewise.
8081         * libio/iofclose.c: Likewise.
8082         * libio/iofdopen.c: Likewise.
8083         * libio/iofflush.c: Likewise.
8084         * libio/iofflush_u.c: Likewise.
8085         * libio/iofgets.c: Likewise.
8086         * libio/iofgets_u.c: Likewise.
8087         * libio/iofopen.c: Likewise.
8088         * libio/iofopncook.c: Likewise.
8089         * libio/iofread.c: Likewise.
8090         * libio/iofread_u.c: Likewise.
8091         * libio/ioftell.c: Likewise.
8092         * libio/iofwrite.c: Likewise.
8093         * libio/iogetline.c: Likewise.
8094         * libio/iogets.c: Likewise.
8095         * libio/iogetwline.c: Likewise.
8096         * libio/iopadn.c: Likewise.
8097         * libio/iopopen.c: Likewise.
8098         * libio/ioseekoff.c: Likewise.
8099         * libio/ioseekpos.c: Likewise.
8100         * libio/iosetbuffer.c: Likewise.
8101         * libio/iosetvbuf.c: Likewise.
8102         * libio/ioungetc.c: Likewise.
8103         * libio/ioungetwc.c: Likewise.
8104         * libio/iovdprintf.c: Likewise.
8105         * libio/iovsprintf.c: Likewise.
8106         * libio/iovsscanf.c: Likewise.
8107         * libio/memstream.c: Likewise.
8108         * libio/obprintf.c: Likewise.
8109         * libio/oldfileops.c: Likewise.
8110         * libio/oldiofclose.c: Likewise.
8111         * libio/oldiofdopen.c: Likewise.
8112         * libio/oldiofopen.c: Likewise.
8113         * libio/oldiopopen.c: Likewise.
8114         * libio/oldstdfiles.c: Likewise.
8115         * libio/putc.c: Likewise.
8116         * libio/setbuf.c: Likewise.
8117         * libio/setlinebuf.c: Likewise.
8118         * libio/stdfiles.c: Likewise.
8119         * libio/strops.c: Likewise.
8120         * libio/vasprintf.c: Likewise.
8121         * libio/vscanf.c: Likewise.
8122         * libio/vsnprintf.c: Likewise.
8123         * libio/vswprintf.c: Likewise.
8124         * libio/wfiledoalloc.c: Likewise.
8125         * libio/wfileops.c: Likewise.
8126         * libio/wgenops.c: Likewise.
8127         * libio/wmemstream.c: Likewise.
8128         * libio/wstrops.c: Likewise.
8129         * libio/__fpurge.c: Likewise.
8130         * libio/__fsetlocking.c: Likewise.
8131         * assert/assert.c: Likewise.
8132         * debug/fgets_chk.c: Likewise.
8133         * debug/fgets_u_chk.c: Likewise.
8134         * debug/fread_chk.c: Likewise.
8135         * debug/fread_u_chk.c: Likewise.
8136         * debug/gets_chk.c: Likewise.
8137         * debug/obprintf_chk.c: Likewise.
8138         * debug/vasprintf_chk.c: Likewise.
8139         * debug/vdprintf_chk.c: Likewise.
8140         * debug/vsnprintf_chk.c: Likewise.
8141         * debug/vsprintf_chk.c: Likewise.
8142         * malloc/mtrace.c: Likewise.
8143         * misc/error.c: Likewise.
8144         * misc/syslog.c: Likewise.
8145         * stdio-common/asprintf.c: Likewise.
8146         * stdio-common/fxprintf.c: Likewise.
8147         * stdio-common/getw.c: Likewise.
8148         * stdio-common/isoc99_fscanf.c: Likewise.
8149         * stdio-common/isoc99_scanf.c: Likewise.
8150         * stdio-common/isoc99_vfscanf.c: Likewise.
8151         * stdio-common/isoc99_vscanf.c: Likewise.
8152         * stdio-common/isoc99_vsscanf.c: Likewise.
8153         * stdio-common/printf-prs.c: Likewise.
8154         * stdio-common/printf_fp.c: Likewise.
8155         * stdio-common/printf_fphex.c: Likewise.
8156         * stdio-common/printf_size.c: Likewise.
8157         * stdio-common/putw.c: Likewise.
8158         * stdio-common/scanf.c: Likewise.
8159         * stdio-common/sprintf.c: Likewise.
8160         * stdio-common/tmpfile.c: Likewise.
8161         * stdio-common/vfprintf.c: Likewise.
8162         * stdio-common/vfscanf.c: Likewise.
8163         * stdlib/strfmon_l.c: Likewise.
8164         * sunrpc/openchild.c: Likewise.
8165         * sunrpc/xdr_stdio.c: Likewise.
8166         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
8167         * sysdeps/mach/hurd/tmpfile.c: Likewise.
8169 2012-05-24  Roland McGrath  <roland@hack.frob.com>
8171         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8173         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
8174         in the third column, to generate for the shared library an IFUNC
8175         that uses _dl_vdso_vsym.
8176         * Makerules (COMPILE.c, compile-stdin.c): New variables.
8177         * Makeconfig (object-suffixes-noshared): New variable.
8179         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
8180         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
8181         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
8182         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
8184         [BZ #14132]
8185         * include/sys/time.h (__gettimeofday): Remove macro.
8186         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
8187         * time/gettimeofday.c (__gettimeofday): Remove #undef.
8188         Remove INTDEF.
8189         (__gettimeofday): Add libc_hidden_def.
8190         (gettimeofday): Add libc_hidden_weak.
8191         * sysdeps/mach/gettimeofday.c: Likewise.
8192         * sysdeps/posix/gettimeofday.c: Likewise.
8193         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
8194         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
8195         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
8196         (__gettimeofday_internal): Remove strong_alias.
8197         (__gettimeofday): Add libc_hidden_def.
8198         (gettimeofday): Add libc_hidden_weak.
8199         * sysdeps/unix/syscalls.list (gettimeofday):
8200         Remove __gettimeofday_internal alias.
8202 2012-05-24  Daniel Jacobowitz  <drow@false.org>
8203             H.J. Lu  <hongjiu.lu@intel.com>
8205         [BZ #12495]
8206         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
8207         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
8208         (largebin_index_32_big): New.
8209         (largebin_index): Use it for 16-byte alignment.
8210         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
8211         correction with front_misalign.
8213 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
8215         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
8216         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8217         Likewise.
8218         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
8219         Likewise.
8220         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8221         Likewise.
8222         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
8223         Likewise.
8224         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
8225         Likewise.
8226         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
8227         Likewise.
8228         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
8229         Likewise.
8230         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
8231         Likewise.
8232         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
8233         Likewise.
8234         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
8235         Likewise.
8236         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8237         Likewise.
8238         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
8239         Likewise.
8241         * scripts/data/c++-types-x32-linux-gnu.data: New file.
8242         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
8244 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
8246         [BZ #10846]
8247         [BZ #14036]
8248         * math/libm-test.inc (exp_test): Add test from bug 14036.
8249         (pow_test): Add test from bug 10846.
8251         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
8252         and other flags.
8253         (special_function): Do not include flags in test name.
8254         (parse_args): Likewise.
8255         * sysdeps/i386/fpu/libm-test-ulps: Update.
8256         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8257         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8258         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8259         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8261         * math/gen-libm-test.pl (%beautify): Add entries for underflow
8262         exceptions.
8263         * math/libm-test.inc ("Philosophy"): Update comment about
8264         exception testing.
8265         (UNDERFLOW_EXCEPTION): New macro.
8266         (UNDERFLOW_EXCEPTION_OK): Likewise.
8267         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8268         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8269         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8270         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8271         (INVALID_EXCEPTION_OK): Update value.
8272         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8273         (OVERFLOW_EXCEPTION_OK): Likewise.
8274         (IGNORE_ZERO_INF_SIGN): Likewise.
8275         (test_exceptions): Handle underflow exceptions.
8276         (acos_test): Update for underflow exception expectations.
8277         (cexp_test): Likewise.
8278         (clog_test): Likewise.
8279         (clog10_test): Likewise.
8280         (csqrt_test): Likewise.
8281         (ctan_test): Likewise.
8282         (ctanh_test): Likewise.
8283         (exp_test): Likewise.
8284         (exp10_test): Likewise.
8285         (exp2_test): Likewise.
8286         (expm1_test): Likewise.
8287         (fma_test): Likewise.
8288         (j0_test): Likewise.
8289         (jn_test): Likewise.
8290         (nexttoward_test): Likewise.
8291         (pow_test): Likewise.
8292         (scalbn_test): Likewise.
8293         (scalbln_test): Likewise.
8294         (tan_test): Likewise.
8295         (y1_test): Likewise.
8296         * sysdeps/i386/fpu/libm-test-ulps: Update.
8297         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8299 2012-05-23  David S. Miller  <davem@davemloft.net>
8301         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8302         (__libc_sigaction): Remove unused local variables.
8304 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
8306         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
8308 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
8310         mktime: avoid signed integer overflow
8311         * time/mktime.c (__mktime_internal): Do not mishandle the case
8312         where diff == INT_MIN.
8314         mktime: simplify computation of average
8315         * time/mktime.c (ranged_convert): Use new time_t_avg function
8316         instead of rolling our own (probably-slower) code.
8318         mktime: do not assume signed right shift propagates sign bit
8319         * time/mktime.c (isdst_differ): New static function.
8320         (__mktime_internal): No need to normalize tm_isdst now.
8321         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
8322         tm_isdst values.
8324         mktime: merge another wrapv change from gnulib
8325         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
8326         from some compilers.
8328         mktime: remove incorrect attempt at unusual arithmetics
8329         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
8330         The code didn't really work on such machines anyway.
8331         (TYPE_MINIMUM): Assume two's complement.
8332         (twos_complement_arithmetic): Verify that long_int and time_t
8333         are two's complement (or unsigned, in the latter case).
8335         mktime: check signed shifts on long_int and time_t, too
8336         * time/mktime.c (SHR): Check that shifts work as desired
8337         on the types long_int and time_t too, as SHR is used on
8338         such types.
8340         mktime: do not assume 'long' is wide enough
8341         * time/mktime.c (verify): Move decl up.
8342         (long_int): New type.
8343         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
8344         to remove assumption in the code that 'long' is wide enough to
8345         store year values.  This assumption is not true on x32 and on
8346         some non-glibc platforms.
8348         mktime: merge wrapv change from gnulib
8349         * time/mktime.c (WRAPV): New macro.
8350         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
8351         (guess_time_tm, __mktime_internal): Do not assume that signed
8352         integer overflow wraps around; modern compilers generate code
8353         where this assumption is no longer valid.
8355 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
8357         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8358         Replace "jmp L(pseudo_end)" with "ret".
8359         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
8360         Likewise.
8362 2012-05-23  Andreas Jaeger  <aj@suse.de>
8364         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
8365         * sysdeps/unix/sysv/linux/poll.c: Remove file.
8367 2012-05-23  Andreas Jaeger  <aj@suse.de>
8368             Maximilian Attems  <max@stro.at>
8370         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
8371         New macros.
8373 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
8375         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
8376         code so that pseudo_end is just ret and the stack pointer is
8377         correct also for static library in error case.
8379 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
8381         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
8382         move to syscalls.list.
8383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8388         * manual/install.texi (Running make install): Do not mention Linux
8389         kernel version for which pt_chown is not needed.
8390         (Linux): Do not mention problems with nscd with 2.0 kernels.
8391         * INSTALL: Regenerated.
8393 2012-05-23  Andreas Jaeger  <aj@suse.de>
8395         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
8396         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
8397         macro.
8398         * sysdeps/unix/sysv/linux/s390/bits/mman.h
8399         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8400         * sysdeps/unix/sysv/linux/sh/bits/mman.h
8401         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8402         * sysdeps/unix/sysv/linux/i386/bits/mman.h
8403         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8404         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
8405         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8406         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
8407         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8408         * sysdeps/unix/sysv/linux/bits/in.h
8409         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
8411 2012-05-22  Roland McGrath  <roland@hack.frob.com>
8413         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
8414         (PREPARE_VERSION): Just use assert instead, it will be elided
8415         under [NDEBUG] anyway.
8417 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
8419         * sysdeps/unix/sysv/linux/Makefile: Include
8420         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
8421         (sysdep_routines): Remove sysctl.
8422         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
8423         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
8424         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
8425         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
8426         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
8428 2012-05-22  Andreas Jaeger  <aj@suse.de>
8430         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
8431         that pseudo_end is just ret and the stack pointer is correct also
8432         for static library in error case.
8434 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
8436         [BZ #14122]
8437         * nss/nsswitch.c (defconfig_entries): New variable.
8438         (__nss_database_lookup): Don't leak defconfig entries.
8439         (nss_parse_service_list): Don't leak on error paths.
8440         (free_database_entries): New function.
8441         (free_defconfig): New function.
8442         (free_mem): Move common code to free_database_entries.
8444 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
8446         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
8447         Add arch_prctl.
8448         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
8450         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8451         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
8452         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
8453         New macro.
8454         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
8455         (INTERNAL_SYSCALL_TYPES): Likewise.
8456         (LOAD_ARGS_TYPES_[1-6]): Likewise.
8457         (LOAD_REGS_TYPES_[1-6]): Likewise.
8458         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
8459         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
8461 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8463         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
8464         copysignl for GLIBC_2_0.
8465         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
8466         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
8467         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
8468         logbl for GLIBC_2_0.
8469         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8470         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8472 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
8474         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
8475         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
8477         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8478         Use "neg %eax".
8480         * time/mktime.c: Update copyright years.
8482 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
8484         mktime: merge comment-quoting-style change from gnulib
8485         * time/mktime.c: Quote 'like this' in comments.
8486         The GNU coding standards suggest that we no longer quote `like this',
8487         as "`" and "'" are typically rendered asymmetrically nowadays.
8488         The typical gnulib style is to quote 'like this' when quoting
8489         code, and "like this" when quoting English.
8491         * time/mktime.c (compile-command): Add "-I.".
8493         mktime: merge mktime-internal.h change from gnulib
8494         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
8496         mktime: merge time_r change from gnulib
8497         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
8499         mktime: merge DEBUG change from gnulib
8500         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
8501         case system <time.h> has a #define.
8503         mktime: merge <sys/types.h> change from gnulib
8504         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
8505         since <time.t> is now guaranteed to define time_t.
8507         mktime: merge HAVE_CONFIG_H change from gnulib
8508         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
8510 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
8512         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8513         Use "neg %eax".
8515         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
8516         __rlim_t cast.
8517         (struct rusage): Use anonymous union to pad each field to
8518         __syscall_slong_t.
8520 2012-05-21  David S. Miller  <davem@davemloft.net>
8522         * Makefules (o-iterator): Remove .s cases.
8523         (compile-command.s): Delete.
8524         (COMPILE.s): Delete.
8525         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
8527 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
8529         * configure.in (libc_cv_predef_stack_protector): Only consider
8530         "foobar" and "__stack_chk_fail" lines in libc_undefs.
8531         * configure: Regenerated.
8533 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
8535         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8536         New macro.  Use R*LP on int and pointer.
8537         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
8538         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
8539         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
8540         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
8542         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
8543         [__WORDSIZE_TIME64_COMPAT32] instead of
8544         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
8545         (struct utmp): Likewise.
8546         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
8547         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
8548         Renamed to ...
8549         (__WORDSIZE_TIME64_COMPAT32): This.
8550         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
8551         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
8552         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
8553         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
8554         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
8555         (__WORDSIZE_TIME64_COMPAT32): New macro.
8557 2012-05-21  Andreas Jaeger  <aj@suse.de>
8559         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
8560         only if [SHARED]. Add prototype for __wcschr_ia32.
8562 2012-05-21  Roland McGrath  <roland@hack.frob.com>
8564         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
8565         of %rbp unmolested in the jmp_buf while mangling the low bits.
8566         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
8567         unmolested high bits of %rbp while demangling the low bits.
8568         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8570 2012-05-21  Andreas Jaeger  <aj@suse.de>
8572         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
8573         * sunrpc/svc_simple.c: Use it for registerrpc.
8574         * sunrpc/xcrypt.c: Use it for passwd2des.
8576         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
8578 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
8580         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
8581         Don't define if [__SYSCALL_WORDSIZE != 32].
8582         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
8583         New macro.
8585 2012-05-21  Bruno Haible  <bruno@clisp.org>
8586             Andreas Jaeger  <aj@suse.de>
8588         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
8589         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
8590         inptr and inend for must_buffer_ch.
8591         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
8592         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
8593         * stdio-common/Makefile (tests): Remove bug15.
8594         (bug15-ENV): Remove macro.
8595         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
8596         anymore.
8598 2012-05-19  Andreas Jaeger  <aj@suse.de>
8599             Roland McGrath  <roland@hack.frob.com>
8601         * manual/contrib.texi: Completely rewritten. It contains now an
8602         alphabetical list of contributors and their contributions.
8604 2012-05-21  Richard Henderson  <rth@twiddle.net>
8606         * misc/getauxval.c (__getauxval): Use unsigned long int.
8607         * misc/sys/auxv.h: Include <sys/cdefs.h>.
8608         (getauxval): Use unsigned long int.
8610 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
8612         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8614 2012-05-21  Roland McGrath  <roland@hack.frob.com>
8616         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
8617         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
8618         __alignof__ (long double).
8620 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8622         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8624 2012-05-20  Richard Henderson  <rth@twiddle.net>
8626         * misc/getauxval.c: New file.
8627         * misc/sys/auxv.h: New file.
8628         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
8629         (routines): Add getauxval.
8630         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
8631         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
8632         * elf/dl-sysdep.c (_dl_auxv): Remove.
8633         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
8634         * elf/dl-support.c (_dl_auxv): New variable.
8635         (_dl_aux_init): Initialize it.
8636         * manual/startup.texi (Auxiliary Vector): New node.
8637         * sysdeps/generic/bits/hwcap.h: New file.
8638         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
8639         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
8640         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
8641         * sysdeps/sparc/sysdep.h: ... here.  Include it.
8642         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
8643         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
8644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8645         Update.
8646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
8647         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
8648         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
8649         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
8650         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8651         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8652         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
8653         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
8655 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8657         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8659 2012-05-19  David S. Miller  <davem@davemloft.net>
8661         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8663 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
8665         [BZ #14123]
8666         * math/s_ccosh.c: Include <float.h>
8667         (__ccosh): Avoid internal overflow calculating sinh and cosh
8668         values before multiplying by sin and cos values.
8669         * math/s_ccoshf.c: Likewise.
8670         * math/s_ccoshl.c: Likewise.
8671         * math/s_csin.c: Likewise.
8672         * math/s_csinf.c: Likewise.
8673         * math/s_csinl.c: Likewise.
8674         * math/s_csinh.c: Likewise.
8675         * math/s_csinhf.c: Likewise.
8676         * math/s_csinhl.c: Likewise.
8677         * math/libm-test.inc (ccos_test): Add more tests.
8678         (ccosh_test): Likewise.
8679         (csin_test): Likewise.
8680         (csinh_test): Likewise.
8681         * sysdeps/i386/fpu/libm-test-ulps: Update.
8682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8684 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
8686         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
8687         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
8689         * sysdeps/x86_64/x32/_itoa.h: Add comment.
8691 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
8693         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
8694         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
8695         * sysdeps/powerpc/soft-fp/Versions: Likewise.
8696         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
8697         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
8698         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
8699         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
8700         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
8701         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
8702         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
8703         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
8704         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
8705         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
8706         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
8707         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
8708         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
8709         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
8710         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
8711         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
8712         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
8713         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
8714         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
8715         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
8716         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
8717         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
8718         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
8719         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
8720         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
8721         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
8722         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
8723         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
8725 2012-05-18  Andreas Jaeger  <aj@suse.de>
8727         * csu/.gitignore: Delete.
8729 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
8731         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
8732         (timex): Use __syscall_slong_t.
8734 2012-05-18  Andreas Jaeger  <aj@suse.de>
8735             Carlos O'Donell  <carlos_odonell@mentor.com>
8737         * manual/install.texi (Configuring and compiling): Update
8738         description about files modified in the source directory.
8739         * INSTALL: Regenerated.
8741 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
8743         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
8744         value.  Use "or" to set return value to -1.
8745         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
8746         negate return value.
8748 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8750         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
8751         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
8752         failure if the compiler has Graphite support disabled.
8753         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
8754         Likewise.
8755         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
8756         CFLAGS-memmove.c): Likewise.
8757         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
8758         Likewise.
8760 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
8762         * sysdeps/x86_64/x32/_itoa.h: New file.
8764         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
8765         getdents system call only if kernel and user dirents have the
8766         same d_ino and d_off.
8768         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8769         LLONG_MAX != LONG_MAX.
8770         (_itoa_word): Use _ITOA_WORD_TYPE on value.
8771         (_fitoa_word): Likewise.
8773         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
8774         years.
8775         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
8776         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
8777         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
8779         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
8780         include <bits/wordsize.h>.  Check __x86_64__ instead of
8781         __WORDSIZE.
8782         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
8783         if __x86_64__ is defined.  Use anonymous union on fpstate.
8785         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
8786         anonymous union.
8788 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
8790         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8791         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
8792         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
8793         Refer to _rtld_local_ro instead of _rtld_global_ro.
8794         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
8795         Likewise.
8796         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
8797         Likewise.
8798         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
8799         Likewise.
8800         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
8801         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
8802         of _rtld_global, and rtld_progname instead of _dl_argv[0].
8804         * sysdeps/powerpc/powerpc32/dl-machine.c
8805         (__elf_machine_runtime_setup) [PROF]: Don't reference
8806         _dl_prof_resolve.
8808 2012-05-18  Andreas Jaeger  <aj@suse.de>
8810         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
8811         function only available for GCCs before 3.4 since GCC 3.4
8812         introduced a builtin.
8813         (lrint): Likewise.
8814         (llrintf): Likewise.
8815         (llrint): Likewise.
8816         (fmaxf): Likewise.
8817         (fmax): Likewise.
8818         (fminf): Likewise.
8819         (fmin): Likewise.
8820         (rint): Likewise.
8821         (rintf): Likewise.
8822         (nearbyint): Likewise.
8823         (nearbyintf): Likewise.
8824         (ceil): Likewise.
8825         (ceilf): Likewise.
8826         (floor): Likewise.
8827         (floorf): Likewise.
8829 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
8831         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
8832         on both fields and cast pointer to __syscall_ulong_t.
8834         * bits/types.h (__fsword_t): New type.
8835         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
8836         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
8837         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8838         (__FSWORD_T_TYPE): Likewise.
8839         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8840         (__FSWORD_T_TYPE): Likewise.
8841         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8842         (__FSWORD_T_TYPE): Likewise.
8843         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
8844         (__FSWORD_T_TYPE): Likewise.
8845         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
8846         __SWORD_TYPE with __fsword_t.
8847         (statfs64): Likewise.
8849 2012-05-17  David S. Miller  <davem@davemloft.net>
8851         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
8853 2012-05-17  Andreas Jaeger  <aj@suse.de>
8855         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
8856         warning.
8858 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
8860         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
8862 2012-05-17  Andreas Jaeger  <aj@suse.de>
8864         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
8865         when it is used.
8867 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
8869         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
8871 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
8873         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
8874         * sysdeps/x86_64/tst-mallocalign1.c: New file.
8876 2012-05-17  Andreas Jaeger  <aj@suse.de>
8877             Carlos O'Donell  <carlos_odonell@mentor.com>
8879         [BZ #14059]
8880         * sysdeps/x86_64/multiarch/init-arch.h
8881         (bit_YMM_Usable): Rename to...
8882         (bit_AVX_Usable): ... this.
8883         (bit_FMA4_Usable): New macro.
8884         (bit_XMM_state): New macro.
8885         (bit_YMM_state): New macro.
8886         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
8887         [__ASSEMBLER__] (index_AVX_Usable): ... this.
8888         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
8889         (CPUID_OSXSAVE): New macro.
8890         (CPUID_AVX): New macro.
8891         (CPUID_FMA4): New macro.
8892         (index_YMM_Usable): Rename to...
8893         (index_AVX_Usable): ... this.
8894         (HAS_AVX): Use HAS_ARCH_FEATURE.
8895         (HAS_FMA4): Likewise.
8896         (HAS_YMM_USABLE): Remove.
8897         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8898         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
8899         are present.
8900         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
8901         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
8902         * sysdeps/x86_64/multiarch/Makefile: Likewise.
8903         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
8904         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
8906 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
8908         * math/libm-test.c: Support platforms without multiple rounding modes.
8909         * math/bug-nextafter.c: Support platforms without FP exceptions.
8910         * math/bug-nexttoward.c: Likewise.
8911         * math/test-fenv.c: Likewise.
8912         * math/test-misc.c: Likewise.
8913         * stdlib/bug-getcontext.c: Likewise.
8915 2012-05-17  Andreas Jaeger  <aj@suse.de>
8917         * manual/examples/search.c (critter_cmp): Change signature to
8918         avoid warnings.
8919         * manual/string.texi (Collation Functions): Likewise.
8921 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
8923         * bits/types.h: Fold copyright years.
8924         * bits/typesizes.h: Likewise.
8925         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
8926         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8927         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
8928         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
8929         * time/time.h: Likewise.
8931 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
8933         [BZ #208]
8934         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
8935         in instead of returning them.  Return void.
8936         (__libc_mallinfo): Accumulate over all arenas.
8937         (__malloc_stats): Adjust for change in int_mallinfo interface.
8939 2012-05-16  Roland McGrath  <roland@hack.frob.com>
8941         [BZ #10375]
8942         * configure.in (NM): Add AC_CHECK_TOOL for it.
8943         (libc_extra_cflags): New substituted variable.
8944         Check for -fstack-protector being used implicitly.
8945         * configure: Regenerated.
8946         * config.make.in (config-extra-cflags): New variable,
8947         gets @libc_extra_cflags@.
8948         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
8950         [BZ #10375]
8951         * configure.in: Check for _FORTIFY_SOURCE being predefined.
8952         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
8953         * configure: Regenerated.
8954         * config.make.in (CPPUNDEFS): New substituted variable.
8955         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
8956         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
8957         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
8959 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
8961         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
8962         (mq_attr): Use __syscall_slong_t.
8964 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
8966         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
8967         Check __x86_64__ instead of __WORDSIZE.
8968         (_STAT_VER_LINUX): Likewise.
8969         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
8970         __syscall_ulong_t and __syscall_slong_t.
8971         (stat64): Likewise.
8973 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
8975         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
8977 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
8979         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
8981 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
8983         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
8984         __syscall_ulong_t.
8986         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
8987         include <bits/wordsize.h>.  Check __x86_64__ instead of
8988         __WORDSIZE.
8989         (greg_t): Use "__extension__ long long int" if __x86_64__ is
8990         defined.
8991         (mcontext_t): Replace "unsigned long" with "unsigned long long".
8993         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
8994         include <bits/wordsize.h>.  Check __x86_64__ instead of
8995         __WORDSIZE.
8996         (user_regs_struct): Use "__extension__ unsigned long long"
8997         instead of "unsigned long" if __x86_64__ is defined.
8998         (user): Likewise.  Pad after pointer field if __ILP32__ is
8999         defined.
9001 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
9003         * configure.in (makeinfo): Require version 4.5 or later.  Allow
9004         versions 5 to 9.
9005         * configure: Regenerated.
9006         * manual/install.texi (texinfo): Increase version requirement to
9007         4.5 or later.
9008         * INSTALL: Regenerated.
9010         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
9012 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9014         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
9016         * sysdeps/x86_64/x32/ffs.c: New file.
9018         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
9019         __syscall_ulong_t.
9020         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
9021         defined.  Use __syscall_ulong_t.
9022         (shminfo): Use __syscall_ulong_t.
9023         (shm_info): Likewise.
9025         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
9026         __syscall_ulong_t.
9028         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
9029         <bits/wordsize.h>.
9030         (msgqnum_t): Use __syscall_ulong_t.
9031         (msglen_t): Likewise.
9032         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
9033         __syscall_ulong_t.
9035         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
9036         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
9038         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
9040         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
9041         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
9043         * sysvipc/sys/msg.h (msgbuf): Replace long int with
9044         __syscall_slong_t.
9046         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
9047         include <bits/wordsize.h>.  Check __x86_64__ instead of
9048         __WORDSIZE.
9050         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
9051         "unsigned long long int" if __x86_64__ is defined.
9052         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
9054         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
9055         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
9056         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
9058         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
9059         <stdint.h>.
9060         (GET_PC): Cast to uintptr_t first.
9061         (GET_FRAME): Likewise.
9062         (GET_STACK): Likewise.
9064         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
9065         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
9066         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
9067         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
9068         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
9069         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
9070         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
9071         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
9072         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
9073         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
9074         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
9075         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
9076         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9077         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
9078         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
9079         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
9080         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
9081         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
9082         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
9083         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
9084         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
9085         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
9086         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
9087         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
9088         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
9089         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
9090         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
9091         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
9092         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
9094 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
9096         * Makerules (+depfiles): Also collect depfiles from .oS in
9097         $(extra-objs).
9098         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
9099         .oS, $(libnldbl-routines)).
9101         * Makerules (native-compile-mkdep-flags): Define.
9102         * sunrpc/Makefile (extra-objs): Add $(addprefix
9103         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
9104         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
9105         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
9106         calling $(make-target-directory).
9108 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9110         * bits/types.h (__snseconds_t): Removed.
9111         * time/time.h (struct timespec): Replace __snseconds_t with
9112         __syscall_slong_t.
9113         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
9114         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
9115         Likewise.
9116         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9117         (__SNSECONDS_T_TYPE): Likewise.
9118         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9119         (__SNSECONDS_T_TYPE): Likewise.
9120         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9121         (__SNSECONDS_T_TYPE): Likewise.
9123 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9125         * sysdeps/mach/hurd/bits/typesizes.h
9126         (__SYSCALL_SLONG_TYPE): New macro.
9127         (__SYSCALL_ULONG_TYPE): Likewise.
9129 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9131         * bits/types.h (__syscall_slong_t): New type.
9132         (__syscall_ulong_t): Likewise.
9134         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
9135         (__SYSCALL_ULONG_TYPE): Likewise.
9136         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9137         (__SYSCALL_SLONG_TYPE): Likewise.
9138         (__SYSCALL_ULONG_TYPE): Likewise.
9139         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9140         (__SYSCALL_SLONG_TYPE): Likewise.
9141         (__SYSCALL_ULONG_TYPE): Likewise.
9142         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9143         (__SYSCALL_SLONG_TYPE): Likewise.
9144         (__SYSCALL_ULONG_TYPE): Likewise.
9146 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9148         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
9149         Add sigaltstack-offsets.sym.
9150         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
9151         <sigaltstack-offsets.h>.
9152         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
9153         longjmp_msg pointer.
9154         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
9155         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
9156         signal stack.
9157         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
9159 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
9161         * elf/stackguard-macros.h: Remove file.
9162         * sysdeps/generic/stackguard-macros.h: New file.
9163         * sysdeps/i386/stackguard-macros.h: Likewise.
9164         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9165         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9166         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9167         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9168         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9169         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9170         * sysdeps/x86_64/stackguard-macros.h: Likewise.
9171         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
9172         <elf/stackguard-macros.h>.
9174         [BZ #14109]
9175         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
9176         __aligned__ in attribute.
9177         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
9178         (gregset_t): Likewise.
9180 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9182         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
9183         * sysdeps/x86_64/64/Implies-after: Here.  New file.
9184         * sysdeps/x86_64/x32/Implies-after: New file.
9186 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9188         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
9189         and access return value for _dl_profile_fixup.  Use R10_LP to
9190         load frame size.
9192 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9194         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
9196 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9198         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
9199         * sysdeps/x86_64/x32/sysdep.h: New file.
9201 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9203         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
9204         * sysdeps/x86_64/setjmp.S: Likewise.
9206 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9208         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
9209         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
9210         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
9211         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
9212         remove unused global constant.
9214 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
9216         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
9217         include of <not-cancel.h>.
9219 2012-05-15  Roland McGrath  <roland@hack.frob.com>
9221         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
9223 2012-05-15  Jeff Law  <law@redhat.com>
9224             Andreas Jaeger  <aj@suse.de>
9226         [BZ #13594]
9227         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
9228         out from...
9229         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
9230         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
9231         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
9232         code changing __hst_map_handle.map.
9234 2012-05-15  Roland McGrath  <roland@hack.frob.com>
9236         * configure.in (sysnames): Look for Implies-before and Implies-after
9237         files.
9238         * configure: Regenerated.
9240 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9242         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
9243         8-byte data alignment with LP_SIZE alignment.
9245 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9247         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
9248         into R10_LP.
9250 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9252         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
9254 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9256         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
9257         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
9258         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
9259         Likewise.
9260         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9262 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9264         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
9265         (stackinfo_sub_sp): Likewise.
9267 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9269         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
9270         RAX_LP.
9272 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9274         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
9275         into R*_LP.
9277 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9279         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
9280         sizes into R*_LP.
9282 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9284         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
9286 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9288         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
9289         into R11_LP and load __x86_64_shared_cache_size_half into
9290         R8_LP.
9292 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9294         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
9295         R8_LP.
9297 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9299         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
9300         logb for POWER7.
9301         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
9302         logbf for POWER7.
9303         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
9304         logbl for POWER7.
9305         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
9306         powerpc32/power7/fpu/s_logb.c via #include.
9307         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
9308         powerpc32/power7/fpu/s_logbf.c via #include.
9309         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
9310         powerpc32/power7/fpu/s_logbl.c via #include.
9312 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
9314         * README.libm: Remove file.
9316 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9318         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
9319         count for x32.  Use R*_LP and omit operand-size suffix.
9321 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9323         * shlib-versions: Move x86_64-.*-linux.* entries to ...
9324         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
9325         * sysdeps/x86_64/x32/shlib-versions: New file.
9327 2012-05-14  Roland McGrath  <roland@hack.frob.com>
9329         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
9330         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
9331         Use _dl_fatal_printf instead.
9333 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
9335         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
9336         set if not set by the user.  Do not allow for being unset.
9337         * sysdeps/unix/sysv/linux/configure: Regenerated.
9339 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9341         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
9342         the `q' suffix from lea and replace .quad with ASM_ADDR.
9344 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9346         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
9347         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
9348         instead of $17.
9349         (PTR_DEMANGLE): Likewise.
9351 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9353         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
9354         (LP_OP): Likewise.
9355         (ASM_ADDR): Likewise.
9356         (RAX_LP): Likewise.
9357         (RBP_LP): Likewise.
9358         (RBX_LP): Likewise.
9359         (RCX_LP): Likewise.
9360         (RDI_LP): Likewise.
9361         (RSI_LP): Likewise.
9362         (RSP_LP): Likewise.
9363         (R8_LP): Likewise.
9364         (R9_LP): Likewise.
9365         (R10_LP): Likewise.
9366         (R10_LP): Likewise.
9367         (R11_LP): Likewise.
9368         (R12_LP): Likewise.
9369         (R13_LP): Likewise.
9370         (R14_LP): Likewise.
9371         (R15_LP): Likewise.
9373 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9375         * sysdeps/x86_64/x32/dl-machine.h: New file.
9377 2012-05-14  Andreas Jaeger  <aj@suse.de>
9379         * manual/Makefile (subdir): Remove export of subdir.
9380         (all): Remove target.
9381         (.PHONY): Remove all from list.
9382         (mkinstalldirs): Remove.
9383         (.PHONY): Remove installdirs from list.
9384         ($(inst_infodir)/libc.info): Use make-target-directory.
9385         (installdirs): Remove.
9386         (subdir_%): Remove.
9387         (glibc-targets): Remove.
9388         (lib): Remove.
9389         (stubs): Remove.
9390         ($(objpfx)stubs ../po/manual.pot): Remove.
9391         ($(objpfx)stamp%): Remove.
9392         (make-target-directory): Remove.
9393         (subdir_install): Remove.
9394         (routines): Remove.
9395         (aux): Remove.
9396         (sources): Remove.
9397         (objects): Remove.
9398         (headers): Remove.
9400         [BZ #13750]
9401         * manual/.gitignore: Remove, it's not needed anymore.
9402         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
9403         all files in it.
9404         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
9405         directory.
9406         (texis): Renamed to $(objpfx)texis.
9407         (texis-path): New, contains path to generated files.
9408         (chapters.%): Use texis-path for complete path, add extra argument
9409         libc-texinfo.sh.
9410         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
9411         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
9412         (summary,texi, stamp-summary): Use complete path of
9413         files. Generate files in build dir.
9414         (dir-add.texi): Build in build dir.
9415         (libm-err.texi,stamp-libm-err): Likewise.
9416         (version.texi, stamp-version): Likewise.
9417         (.%c.texi): Likewise.
9418         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
9419         (mostlyclean): Remove target.
9420         (realclean): Remove target.
9421         (generated): Add new variable with contents from mostlyclean and
9422         realclean, remove entries duplicated in common-mostlyclean, add
9423         stamp-libm-err and stamp-version.
9424         (generated-dirs): Add libc directory.
9425         ($(inst_infodir)/libc.info): Install files from build dir.
9427         * manual/install.texi (Configuring and compiling): Adjust since
9428         the info files are not part of the tar ball anymore.
9430 2012-05-14  Andreas Jaeger  <aj@suse.de>
9432         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
9433         variable.
9435 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
9437         [BZ #13717]
9438         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9439         to 2.2.0 where earlier.
9440         * sysdeps/unix/sysv/linux/configure: Regenerated.
9441         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
9442         Remove conditional code.
9443         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
9444         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
9445         Remove conditional code.
9446         [!__NR_lchown]: Likewise.
9447         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9448         [__NR_lchown]: Likewise.
9449         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
9450         comment referencing __ASSUME_LCHOWN_SYSCALL.
9451         * sysdeps/unix/sysv/linux/i386/sigaction.c
9452         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9453         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9454         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
9455         Remove conditional code.
9456         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
9457         (__protocol_available): Remove #if 0 code.
9458         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
9459         conditional code.
9460         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
9461         * sysdeps/unix/sysv/linux/kernel-features.h
9462         (__ASSUME_GETCWD_SYSCALL): Don't define.
9463         (__ASSUME_REALTIME_SIGNALS): Likewise.
9464         (__ASSUME_PREAD_SYSCALL): Likewise.
9465         (__ASSUME_PWRITE_SYSCALL): Likewise.
9466         (__ASSUME_POLL_SYSCALL): Likewise.
9467         (__ASSUME_LCHOWN_SYSCALL): Likewise.
9468         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
9469         non-SPARC.
9470         (__ASSUME_SIOCGIFNAME): Don't define.
9471         (__ASSUME_MSG_NOSIGNAL): Likewise.
9472         (__ASSUME_SENDFILE): Define unconditionally.
9473         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
9474         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
9475         conditional code.
9476         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
9477         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
9478         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9479         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9480         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
9481         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9482         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
9484         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9485         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9487         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9488         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
9490         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9491         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
9493         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9494         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
9496         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9497         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
9499         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9500         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
9502         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9503         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
9505         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9506         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9507         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
9508         Remove conditional code.
9509         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9510         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9511         Remove conditional code.
9512         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9513         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
9514         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
9515         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9516         Remove conditional code.
9517         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9518         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
9519         Remove conditional code.
9520         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9521         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
9522         Remove conditional code.
9523         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9524         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9525         Remove conditional code.
9526         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9527         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9528         Remove conditional code.
9529         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9530         * sysdeps/unix/sysv/linux/sh/pwrite64.c
9531         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9532         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9533         * sysdeps/unix/sysv/linux/sigaction.c
9534         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9535         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9536         * sysdeps/unix/sysv/linux/sigpending.c
9537         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9538         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9539         * sysdeps/unix/sysv/linux/sigprocmask.c
9540         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9541         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9542         * sysdeps/unix/sysv/linux/sigsuspend.c
9543         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9544         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9545         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9546         (__libc_missing_rt_sigs): Remove.
9547         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
9548         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
9549         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
9550         Remove conditional code.
9551         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
9552         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
9553         return 1.
9554         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
9555         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
9556         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
9557         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
9559 2012-05-14  Andreas Jaeger  <aj@suse.de>
9561         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
9562         it's not used in glibc.
9563         (__coshm1): Likewise.
9564         (__acosh1p): Likewise.
9565         (__sgn): Likewise.
9567         * manual/string.texi (Copying and Concatenation): Add missing
9568         variable in concat example.
9569         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9571 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9573         [BZ #14103]
9574         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
9575         __builtin_clzl with __builtin_clzll.
9577 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9579         [BZ #14104]
9580         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
9581         libc_freeres_ptr.
9583 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9585         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
9586         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
9587         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
9588         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
9590 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
9592         * NEWS: Update ia64 info.
9594 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
9596         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
9597         used as bcopy.
9599 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
9601         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
9602         * sysdeps/unix/syscalls.list (dup3): Likewise.
9603         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
9604         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
9606 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
9608         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
9609         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
9611 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
9613         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
9614         thread pointer.
9615         (TLS_IE): Use mov/add instead of movq/addq to load thread
9616         pointer.
9617         (TLS_GD_PREFIX): New.
9618         (TLS_GD): Use it.
9620 2012-05-11  David S. Miller  <davem@davemloft.net>
9622         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
9623         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
9624         (_FPU_SETCW): Likewise.
9626 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
9628         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
9629         is 32-byte aligned.
9631 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
9633         [BZ #11837]
9634         * iconvdata/gb18030.c: Update tables.
9635         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
9636         characters specially.
9637         (BODY for TO_LOOP): Add encoding of missing ranges.
9639 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
9641         [BZ #13673]
9642         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
9643         * sysdeps/mach/hurd/dup3.c: Likewise.
9644         * sysdeps/mach/hurd/readlinkat.c: Likewise.
9645         * sysdeps/powerpc/memmove.c:: Likewise.
9647 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
9649         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
9650         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
9652 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
9654         * elf/elf.h (R_X86_64_RELATIVE64): New.
9655         (R_X86_64_NUM): Updated.
9656         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9657         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
9658         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
9659         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
9660         tst-quad1pie tst-quad2pie
9661         (modules-names): Add tst-quadmod1 tst-quadmod2.
9662         ($(objpfx)tst-quad1): New dependency.
9663         ($(objpfx)tst-quad2): Likewise.
9664         ($(objpfx)tst-quad1pie): Likewise.
9665         ($(objpfx)tst-quad2pie): Likewise.
9666         * sysdeps/x86_64/tst-quad1.c: New file.
9667         * sysdeps/x86_64/tst-quad1pie.c: New file.
9668         * sysdeps/x86_64/tst-quad2.c: Likewise.
9669         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
9670         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
9671         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
9672         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
9673         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
9675 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9677         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
9678         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
9679         * streams/stropts.h (t_scalar_t): Define type.
9681         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
9682         (_PATH_PRESERVE): Set to "/var/lib".
9683         (_PATH_RWHODIR): Set to "/var/spool/rwho".
9685         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
9686         instead of int.
9688         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
9689         if __dir_mkfile succeeded.
9691         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
9692         checking for _hurd_dtablesize.  Unlock it right after having
9693         finished _hurd_dtable allocation.
9695 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9697         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
9698         * sysdeps/mach/hurd/configure: Regenerated.
9699         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
9700         special-casing to...
9701         * sysdeps/gnu/configure.in: ... this new file.
9702         * sysdeps/unix/sysv/linux/configure: Regenerated.
9703         * sysdeps/gnu/configure: New generated file.
9705         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
9706         for Linux: use nsec instead of usec, as well as:
9707         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
9708         members of type struct timespec.
9709         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
9710         New macros.
9711         (struct stat64): Likewise.
9712         (_STATBUF_ST_NSEC): New macro.
9713         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
9715         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9716         __strtoul_internal rather than strtoul.
9718 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
9720         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
9721         and reject them.
9723 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9725         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
9726         which preserves existing values.
9727         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
9729 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
9731         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
9732         TIMEOUT values.  Return EINVAL for NFDS values either negative or
9733         greater than FD_SETSIZE.
9735 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9737         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
9738         allocated, call __vm_protect to finish enabling the existing space, and
9739         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
9740         allocate the remainder.
9742 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
9744         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
9745         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
9747 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9749         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
9750         sysdeps/mach/hurd/readlink.c.
9752         * posix/tst-sysconf.c (posix_options): Only use
9753         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
9754         _POSIX_SYNCHRONIZED_IO when they are defined
9755         * sysdeps/mach/hurd/bits/posix_opt.h:
9756         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
9757         (_XOPEN_REALTIME): Undefine macro.
9758         (_XOPEN_REALTIME_THREADS): Undefine macro.
9759         (_XOPEN_SHM): Undefine macro.
9760         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
9761         macro to -1.
9762         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
9763         macro to -1.
9764         (_POSIX_ASYNC_IO): Undefine macro.
9765         (_POSIX_PRIORITIZED_IO): Undefine macro.
9766         (_POSIX_SPIN_LOCKS): Define macro to -1.
9768         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
9769         SA_NODEFER, SA_RESETHAND.
9770         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
9771         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
9772         F_DUPFD_CLOEXEC.
9774 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9776         * elf/Makefile (pldd-modules): Define unconditionally.
9778 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9780         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
9782 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9784         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
9785         Return ENOENT when name is empty.
9786         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
9788 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9790         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
9792         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
9794 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9796         Fix mlock in all cases except non-readable pages.
9797         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
9798         instead of VM_PROT_ALL as parameter to __vm_wire function.
9800         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
9801         (__mkdir): When path is `/', just fail with EEXIST.
9802         * sysdeps/mach/hurd/mkdirat.c: Likewise.
9804 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9806         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
9807         <sys/uio.h> (for writev).
9808         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
9809         and <sys/param.h> (for MIN).
9811 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
9813         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
9814         REQUESTED_TIME.  Properly set the remaining time and return EINTR
9815         if interrupted.
9817 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9819         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
9820         Depend on against $(link-rpcuserlibs).
9822 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9824         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
9825         (__libc_stack_end): Do not use attribute_relro.
9826         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
9827         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
9828         to libthread-provided value.
9829         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
9830         attribute_relro.
9832 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9834         [BZ #3748]
9835         * bits/libc-lock.h (__libc_once_get): New macro.
9836         * sysdeps/mach/bits/libc-lock.h: Likewise.
9837         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
9838         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
9839         instead of using implementation details.
9841         * libio/fileops.c: Unconditionally include <kernel-features.h>.
9842         * libio/freopen.c: Likewise.
9843         * libio/freopen64.c: Likewise.
9844         * misc/syslog.c: Likewise.
9845         * nscd/connections.c: Likewise.
9846         * nscd/netgroupcache.c: Likewise.
9847         * sysdeps/posix/getcwd.c: Likewise.
9849 2012-05-10  Roland McGrath  <roland@hack.frob.com>
9851         * math/w_ilogbf.c: Add #include <limits.h>.
9853 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9855         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
9856         path instead of returning without unlocking.
9858         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
9859         immediate-write ioctls.
9860         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
9862 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9864         * sysdeps/mach/hurd/i386/init-first.c (init): Use
9865         __builtin_frame_address instead of making assumptions about the
9866         location of the return address relative to DATA.  Force early load of
9867         the return address.
9868         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
9869         __builtin_frame_address.
9871         dup3 for GNU Hurd.
9872         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
9873         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
9874         implement dup3 and do some further code clean-ups.
9875         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
9876         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
9878 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9880         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
9882         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
9883         HURD_CRITICAL_END around holding _hurd_dtable_lock.
9884         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
9885         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
9886         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
9887         d->port.lock.
9889         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
9890         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
9891         when handler == SIG_ERR, not when handler != SIG_ERR.
9893 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9895         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
9896         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
9897         definitions.
9899         accept4 for GNU Hurd.
9900         * include/sys/socket.h (__libc_accept4): New prototype.
9901         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
9902         to implement __libc_accept4.
9903         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
9904         __libc_accept4.
9905         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
9907         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
9908         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
9909         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
9910         signal-defines.sym.
9912 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9914         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
9916 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9918         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
9919         assertion on O_CLOEXEC flag.
9920         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
9921         * hurd/intern-fd.c: Likewise.
9922         * hurd/port2fd.c: Likewise.
9924 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9926         [BZ #3906]
9927         * bits/in.h (IPV6_PKTINFO): Define new macro.
9928         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
9930 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9932         [BZ #13954]
9933         [BZ #13955]
9934         [BZ #13956]
9935         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
9936         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9937         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
9938         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9939         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9940         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9941         * math/libm-test.inc (logb_test) : Additional logb tests.
9943 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
9944             Andreas Jaeger  <aj@suse.de>
9946         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
9947         * configure: Regenerated.
9948         * config.h.in (LINK_OBSOLETE_RPC): New macro.
9949         * config.make.in (link-obsolete-rpc): New substituted variable.
9950         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
9951         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
9952         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9953         (shared-only-routines): Don't set it under [link-obsolete-rpc],
9954         so that libc.a contains the symbols.
9955         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9956         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
9957         * sunrpc/auth_none.c: Likewise.
9958         * sunrpc/auth_unix.c: Likewise.
9959         * sunrpc/authdes_prot.c: Likewise.
9960         * sunrpc/authuxprot.c: Likewise.
9961         * sunrpc/clnt_gen.c: Likewise.
9962         * sunrpc/clnt_perr.c: Likewise.
9963         * sunrpc/clnt_raw.c: Likewise.
9964         * sunrpc/clnt_simp.c: Likewise.
9965         * sunrpc/clnt_tcp.c: Likewise.
9966         * sunrpc/clnt_udp.c: Likewise.
9967         * sunrpc/clnt_unix.c: Likewise.
9968         * sunrpc/des_crypt.c: Likewise.
9969         * sunrpc/des_soft.c: Likewise.
9970         * sunrpc/get_myaddr.c: Likewise.
9971         * sunrpc/key_call.c: Likewise.
9972         * sunrpc/key_prot.c: Likewise.
9973         * sunrpc/netname.c: Likewise.
9974         * sunrpc/pm_getmaps.c: Likewise.
9975         * sunrpc/pm_getport.c: Likewise.
9976         * sunrpc/pmap_clnt.c: Likewise.
9977         * sunrpc/pmap_prot.c: Likewise.
9978         * sunrpc/pmap_prot2.c: Likewise.
9979         * sunrpc/pmap_rmt.c: Likewise.
9980         * sunrpc/publickey.c: Likewise.
9981         * sunrpc/rpc_cmsg.c: Likewise.
9982         * sunrpc/rpc_common.c: Likewise.
9983         * sunrpc/rpc_dtable.c: Likewise.
9984         * sunrpc/rpc_prot.c: Likewise.
9985         * sunrpc/rpc_thread.c: Likewise.
9986         * sunrpc/rtime.c: Likewise.
9987         * sunrpc/svc.c: Likewise.
9988         * sunrpc/svc_auth.c: Likewise.
9989         * sunrpc/svc_raw.c: Likewise.
9990         * sunrpc/svc_run.c: Likewise.
9991         * sunrpc/svc_tcp.c: Likewise.
9992         * sunrpc/svc_udp.c: Likewise.
9993         * sunrpc/svc_unix.c: Likewise.
9994         * sunrpc/svcauth_des.c: Likewise.
9995         * sunrpc/xcrypt.c: Likewise.
9996         * sunrpc/xdr.c: Likewise.
9997         * sunrpc/xdr_array.c: Likewise.
9998         * sunrpc/xdr_float.c: Likewise.
9999         * sunrpc/xdr_intXX_t.c: Likewise.
10000         * sunrpc/xdr_mem.c: Likewise.
10001         * sunrpc/xdr_rec.c: Likewise.
10002         * sunrpc/xdr_ref.c: Likewise.
10003         * sunrpc/xdr_sizeof.c: Likewise.
10004         * sunrpc/xdr_stdio.c: Likewise.
10006 2012-05-10  Roland McGrath  <roland@hack.frob.com>
10008         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
10009         change.  Update copyright years.
10011 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
10013         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
10015 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
10016             Joseph Myers  <joseph@codesourcery.com>
10017             Paul Pluzhnikov  <ppluzhnikov@google.com>
10019         [BZ #14012]
10020         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
10021         requiring rpcgen.
10022         [cross-compiling] (extra-libs): Likewise.
10023         [cross-compiling] (extra-libs-others): Likewise.
10024         [cross-compiling] (librpcsvc-routines): Likewise.
10025         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
10026         [cross-compiling] (omit-deps): Likewise.
10027         (sunrpc-CPPFLAGS): New variable.
10028         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
10029         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
10030         (cross-rpcgen-objs): New variable.
10031         (extra-objs): Append $(cross-rpcgen-objs).
10032         ($(cross-rpcgen-objs)): New rule.
10033         ($(objpfx)cross-rpcgen): Likewise.
10034         (rpcgen-cmd): Define to use $(built-program-file).  Expand
10035         comment.
10036         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
10037         ($(objpfx)x%.stmp): Likewise.
10038         * sunrpc/proto.h [IS_IN_build] (_): Define.
10039         [IS_IN_build] (_libc_intl_domainname): Likewise.
10041 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
10043         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
10044         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
10045         and R_X86_64_TPOFF64.
10047 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
10049         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
10050         sysdeps/unix/sysv/syscalls.list.
10051         (stime): Likewise.
10052         (utime): Likewise.
10053         * sysdeps/unix/sysv/syscalls.list: Remove file.
10055 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
10057         [BZ #3440]
10058         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
10059         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
10060         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
10061         (__LC_IDENTIFICATION): Make these macros useful in #if
10062         expressions, as required by C99.
10064 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
10066         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
10067         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
10068         after this.
10070 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
10072         * stdlib/longlong.h: Updated from GCC.
10074 2012-05-09  Andreas Jaeger  <aj@suse.de>
10076         * nscd/nscd.c (run_modes): Make named enum, reorder so that
10077         default is first entry.
10078         (run_mode): Set type.
10079         (main): Remove informal message about syslog.
10080         (options): Fix typo.
10082         [BZ #14053]
10083         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
10084         to asm.
10085         (lrint): Likewise.
10086         (llrintf): Likewise.
10087         (llrint): Likewise.
10088         (rint): Likewise.
10089         (rintf): Likewise.
10090         (nearbyint): Likewise.
10091         (nearbyintf): Likewise.
10093 2012-05-09  Andreas Jaeger  <aj@suse.de>
10094             Pedro Alves  <palves@redhat.com>
10096         * nscd/nscd.c (run_mode): Use enum.
10097         (main): Cleanup coding style issue.
10099 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
10100             Andreas Jaeger  <aj@suse.de>
10102         * nscd/nscd.c (go_background): Replaced with...
10103         (run_mode): ... this.
10104         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
10105         (options): Add -F --foreground.
10106         (main): Implement it.
10107         (parse_opt): Parse it.
10109 2012-05-09  Andreas Jaeger  <aj@suse.de>
10111         [BZ #14083]
10112         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
10113         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
10114         -Wconversion warning.
10115         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
10116         Likewise.
10118 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
10120         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
10121         == 0.
10122         (LC_ALL): Use macro-int-constant.
10123         (LC_COLLATE): Likewise.
10124         (LC_CTYPE): Likewise.
10125         (LC_MESSAGES): Likewise.
10126         (LC_MONETARY): Likewise.
10127         (LC_NUMERIC): Likewise.
10128         (LC_TIME): Likewise.
10129         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
10130         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10131         [ISO || ISO99 || ISO11] (*_t): Do not allow.
10132         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
10133         Specify type.
10134         [C99-based standards] (float_t): Expect type.
10135         [C99-based standards] (double_t): Expect type.
10136         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
10137         type.
10138         [C99-based standards] (HUGE_VALL): Likewise.
10139         [C99-based standards] (INFINITY): Likewise.
10140         [C99-based standards] (NAN): Likewise.
10141         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
10142         [C99-based standards] (FP_NAN): Likewise.
10143         [C99-based standards] (FP_NORMAL): Likewise.
10144         [C99-based standards] (FP_SUBNORMAL): Likewise.
10145         [C99-based standards] (FP_ZERO): Likewise.
10146         [C99-based standards] (FP_FAST_FMA): Use
10147         optional-macro-int-constant.  Specify type.  Require == 1.
10148         [C99-based standards] (FP_FAST_FMAF): Likewise.
10149         [C99-based standards] (FP_FAST_FMAL): Likewise.
10150         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
10151         [C99-based standards] (FP_ILOGBNAN): Likewise.
10152         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
10153         Specify type.
10154         [C99-based standards] (MATH_ERREXCEPT): Likewise.
10155         [C99-based standards] (math_errhandling): Specify type.
10156         [ISO99 || ISO11] (signgam): Do not allow.
10157         [non-C99-based standards] (copysignf): Do not allow.
10158         [non-C99-based standards] (exp2f): Likewise.
10159         [non-C99-based standards] (log2f): Likewise.
10160         [non-C99-based standards] (modff): Allow.
10161         [non-C99-based standards] (erff): Do not allow.
10162         [non-C99-based standards] (erfcf): Likewise.
10163         [non-C99-based standards] (gammaf): Likewise.
10164         [non-C99-based standards] (hypotf): Likewise.
10165         [non-C99-based standards] (j0f): Likewise.
10166         [non-C99-based standards] (j1f): Likewise.
10167         [non-C99-based standards] (jnf): Likewise.
10168         [non-C99-based standards] (lgammaf): Likewise.
10169         [non-C99-based standards] (tgammaf): Likewise.
10170         [non-C99-based standards] (y0f): Likewise.
10171         [non-C99-based standards] (y1f): Likewise.
10172         [non-C99-based standards] (ynf): Likewise.
10173         [non-C99-based standards] (isnanf): Likewise.
10174         [non-C99-based standards] (acoshf): Likewise.
10175         [non-C99-based standards] (asinhf): Likewise.
10176         [non-C99-based standards] (atanhf): Likewise.
10177         [non-C99-based standards] (cbrtf): Likewise.
10178         [non-C99-based standards] (expm1f): Likewise.
10179         [non-C99-based standards] (ilogbf): Likewise.
10180         [non-C99-based standards] (log1pf): Likewise.
10181         [non-C99-based standards] (logbf): Likewise.
10182         [non-C99-based standards] (nextafterf): Likewise.
10183         [non-C99-based standards] (remainderf): Likewise.
10184         [non-C99-based standards] (rintf): Likewise.
10185         [non-C99-based standards] (scalbf): Likewise.
10186         [non-C99-based standards] (copysignl): Likewise.
10187         [non-C99-based standards] (exp2l): Likewise.
10188         [non-C99-based standards] (log2l): Likewise.
10189         [non-C99-based standards] (modfl): Allow.
10190         [non-C99-based standards] (erfl): Do not allow.
10191         [non-C99-based standards] (erfcl): Likewise.
10192         [non-C99-based standards] (gammal): Likewise.
10193         [non-C99-based standards] (hypotl): Likewise.
10194         [non-C99-based standards] (j0l): Likewise.
10195         [non-C99-based standards] (j1l): Likewise.
10196         [non-C99-based standards] (jnl): Likewise.
10197         [non-C99-based standards] (lgammal): Likewise.
10198         [non-C99-based standards] (tgammal): Likewise.
10199         [non-C99-based standards] (y0l): Likewise.
10200         [non-C99-based standards] (y1l): Likewise.
10201         [non-C99-based standards] (ynl): Likewise.
10202         [non-C99-based standards] (isnanl): Likewise.
10203         [non-C99-based standards] (acoshl): Likewise.
10204         [non-C99-based standards] (asinhl): Likewise.
10205         [non-C99-based standards] (atanhl): Likewise.
10206         [non-C99-based standards] (cbrtl): Likewise.
10207         [non-C99-based standards] (expm1l): Likewise.
10208         [non-C99-based standards] (ilogbl): Likewise.
10209         [non-C99-based standards] (log1pl): Likewise.
10210         [non-C99-based standards] (logbl): Likewise.
10211         [non-C99-based standards] (nextafterl): Likewise.
10212         [non-C99-based standards] (remainderl): Likewise.
10213         [non-C99-based standards] (rintl): Likewise.
10214         [non-C99-based standards] (scalbl): Likewise.
10215         [ISO || ISO99 || ISO11] (*_t): Do not allow.
10216         [non-C99-based standards] (FP_*): Do not allow.
10217         [C99-based standards] (FP_*): Change to
10218         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10219         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10220         allow.
10221         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
10222         (SIG_ERR): Likewise.
10223         [X/Open-based standards] (SIG_HOLD): Likewise.
10224         (SIG_IGN): Likewise.
10225         (SIGABRT): Use macro-int-constant.  Specify type.  Require
10226         positive value.
10227         (SIGFPE): Likewise.
10228         (SIGILL): Likewise.
10229         (SIGINT): Likewise.
10230         (SIGSEGV): Likewise.
10231         (SIGTER): Likewise.
10232         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
10233         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
10234         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
10235         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
10236         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
10237         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
10238         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
10239         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
10240         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
10241         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
10242         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
10243         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
10244         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
10245         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
10246         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
10247         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
10248         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
10249         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
10250         [X/Open-based standards] (SIGTRAP): Likewise.
10251         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
10252         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
10253         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
10254         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
10255         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10256         allow.
10258 2012-05-08  Ian Wienand  <ianw@vmware.com>
10260         [BZ #14080]
10261         * time/tzset.c (__tzset_parse_tz): Update default rules for
10262         daylight time changes in the Energy Policy Act of 2005.
10264 2012-05-09  Andreas Jaeger  <aj@suse.de>
10266         [BZ #13983]
10267         * elf/ldconfig.c (parse_conf): Change string to make clear that
10268         ldconfig only issued a warning if ld.so.conf does not exist.
10270 2012-05-08  David S. Miller  <davem@davemloft.net>
10272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
10273         movxtod instead of popping the value on the stack.
10275         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10277 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
10279         * config.h.in: Add HAVE_ARM_PCS_VFP.
10281 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
10283         [BZ #13979]
10284         * include/features.h: Warn if user requests __FORTIFY_SOURCE
10285         checking but the checks are disabled for any reason.
10287 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
10289         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
10290         and ELF64_R_TYPE with ELFW(R_TYPE).
10292 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
10294         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
10295         (ulimit): Likewise.
10297         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
10298         (settimeofday): Likewise.
10300 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
10302         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
10303         a struct th_u2 inside the union, and move tu_block/tu_code into
10304         a new th_u3 union of tu_block/tu_code inside of that.  Move
10305         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
10306         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
10307         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
10308         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
10309         (th_stuff): Change to th_u1.tu_stuff.
10310         (th_data): Define.
10311         (th_msg): Change to th_u1.th_u2.tu_data.
10313 2012-05-07  David S. Miller  <davem@davemloft.net>
10315         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10317         [BZ #14074]
10318         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
10319         (SETUP_PIC_REG): Use it.
10320         (SETUP_PIC_REG_LEAF): Use it.
10322 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
10324         [BZ #13885]
10325         [BZ #13923]
10326         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10327         USE_AS_EXPM1L.
10328         (EXPL_FINITE): Likewise.
10329         (FLDLOG): Likewise.
10330         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10331         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10332         e_expl.S.
10333         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10334         USE_AS_EXPM1L.
10335         (EXPL_FINITE): Likewise.
10336         (FLDLOG): Likewise.
10337         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10338         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10339         e_expl.S.
10340         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
10341         test of -max_value argument for long double.
10342         * sysdeps/i386/fpu/libm-test-ulps: Update.
10343         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10345 2012-05-06  David S. Miller  <davem@davemloft.net>
10347         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
10348         quad soft-float symbols whose references which are compiler
10349         generated.
10350         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10352 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
10354         [BZ #13884]
10355         [BZ #13914]
10356         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10357         USE_AS_EXP10L.
10358         (EXPL_FINITE): Likewise.
10359         (FLDLOG): Likewise.
10360         (c0): Likewise.
10361         (c1): Likewise.
10362         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
10363         Adjust comments for base varying.
10364         (__expl_finite): Change alias to EXPL_FINITE.
10365         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
10366         e_expl.S.
10367         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
10368         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10369         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10370         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
10371         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10372         USE_AS_EXP10L.
10373         (EXPL_FINITE): Likewise.
10374         (FLDLOG): Likewise.
10375         (c0): Likewise.
10376         (c1): Likewise.
10377         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
10378         Adjust comments for base varying.
10379         (__expl_finite): Change alias to EXPL_FINITE.
10380         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
10381         tests for bugs.
10382         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10384         [BZ #14064]
10385         * math/libm-test.inc (check_float_internal): Correct ulp
10386         calculation for subnormal expected results.
10388 2012-05-06  Andreas Jaeger  <aj@suse.de>
10390         * Makeconfig (+math-flags): New, set to -frounding-math.
10391         (+cflags): Add +math-flags so that all of glibc gets compiled with
10392         it.
10394         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
10396 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
10398         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
10399         Disable one test.
10401         [BZ #13787]
10402         [BZ #13922]
10403         [BZ #14036]
10404         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
10405         (__ieee754_expl): Allow for and saturate large arguments.
10406         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
10407         (u_threshold): Likewise.
10408         (__exp): Call __ieee754_exp before checking for overflow and
10409         underflow.
10410         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
10411         (u_threshold): Likewise.
10412         (__expf): Call __ieee754_expf before checking for overflow and
10413         underflow.
10414         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
10415         (u_threshold): Likewise.
10416         (__expl): Call __ieee754_expl before checking for overflow and
10417         underflow.
10418         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
10419         (__ieee754_expl): Allow for and saturate large arguments.
10420         * math/libm-test.inc (exp_test): Add another test.  Do not allow
10421         missing overflow exception on overflow.
10422         (expm1_test): Do not allow missing overflow exception on overflow.
10424         * sysdeps/i386/fpu/e_expl.c: Move to ...
10425         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
10426         rather than using inline asm.
10427         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
10428         * sysdeps/x86_64/fpu/e_expl.S: Copy from
10429         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
10431         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
10432         (nice): Likewise.
10433         (poll): Likewise.
10434         (signal): Likewise.
10435         (time): Likewise.
10436         (times): Likewise.
10438 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
10440         * sysdeps/unix/syscalls.list (adjtime): Add entry from
10441         sysdeps/unix/common/syscalls.list.
10442         (fchmod): Likewise.
10443         (fchown): Likewise.
10444         (ftruncate): Likewise.
10445         (getrusage): Likewise.
10446         (gettimeofday): Likewise.
10447         (setpgid): Likewise.
10448         (setregid): Likewise.
10449         (setreuid): Likewise.
10450         (sigaction): Likewise.
10451         (truncate): Likewise.
10452         (vhangup): Likewise.
10453         * sysdeps/unix/common/syscalls.list: Remove file.
10454         * sysdeps/unix/bsd/Implies: Don't include unix/common.
10455         * sysdeps/unix/sysv/linux/Implies: Likewise.
10457 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
10459         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
10460         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
10461         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
10462         Moved to ...
10463         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10464         Here.
10465         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
10466         to ...
10467         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
10468         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
10469         to ...
10470         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
10471         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
10472         to ...
10473         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
10474         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
10475         to ...
10476         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
10477         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
10478         to ...
10479         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
10480         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
10481         to ...
10482         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
10483         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
10484         to ...
10485         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
10486         Here.
10487         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
10488         to ...
10489         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
10490         Here.
10491         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
10492         to ...
10493         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
10494         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
10495         Moved to ...
10496         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
10497         Here.
10498         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
10499         to ...
10500         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
10502 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
10504         * sysdeps/unix/common/bits/dirent.h: Remove file.
10505         * sysdeps/unix/common/bits/fcntl.h: Likewise.
10507         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
10508         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
10509         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
10510         * sysdeps/unix/bsd/isatty.c: Likewise.
10511         * sysdeps/unix/bsd/tcdrain.c: Likewise.
10512         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
10513         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
10515 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10517         [BZ #13563]
10518         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
10519         long double comparison inaccuracies.
10520         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10521         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10523 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
10525         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
10526         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
10528 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
10530         [BZ #14049]
10531         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
10532         nonzero digits before rounding a hex value.
10533         * stdlib/tst-strtod.c (tests): Add another test.
10535 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10537         * sysdeps/s390/fpu/libm-test-ulps: Update.
10539 2012-05-03  Andreas Jaeger  <aj@suse.de>
10541         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
10542         does not get optimized out.
10543         (malloc_opt_barrier): New.
10545 2012-05-03  Andreas Jaeger  <aj@suse.de>
10546             Roland McGrath  <roland@hack.frob.com>
10548         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
10549         intermediate file deletion.
10550         (generated): Add .symlist files.
10552 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
10554         [BZ #13775]
10555         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
10556         Redirect under this condition.
10557         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10558         [__USE_GNU] (__dprintf_chk): Not under this condition.
10559         [__USE_GNU] (__vdprintf_chk): Likewise.
10560         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
10561         under this condition.
10562         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10563         [__USE_XOPEN2K8] (dprintf): Define under this condition.
10564         [__USE_XOPEN2K8] (vdprintf): Likewise.
10565         [__USE_GNU] (__dprintf_chk): Not under this condition.
10566         [__USE_GNU] (__vdprintf_chk): Likewise.
10567         [__USE_GNU] (dprintf): Likewise.
10568         [__USE_GNU] (vdprintf): Likewise.
10570 2012-05-03  Roland McGrath  <roland@hack.frob.com>
10572         * elf/Makefile (common-generated): Set this instead of generated for
10573         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
10574         $(all-built-dso)-derived lists.
10576 2012-05-03  Andreas Jaeger  <aj@suse.de>
10578         * sysdeps/i386/fpu/libm-test-ulps: Update.
10580         * FAQ: Removed.
10581         * FAQ.in: Likewise.
10582         * scripts/gen-FAQ.pl: Likewise.
10583         * manual/install.texi (Installation): Point to online location of
10584         FAQ.
10585         * Makefile (files-for-dist): Remove FAQ.
10586         (FAQ): Remove.
10588 2012-05-02  Allan McRae  <allan@archlinux.org>
10590         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
10591         (LDFLAGS-reldepmod5.so): Likewise.
10592         (LDFLAGS-reldep6mod1.so): Likewise.
10593         (LDFLAGS-reldep6mod4.so): Likewise.
10594         (LDFLAGS-reldep8mod3.so): Likewise.
10595         (LDFLAGS-unload4mod1.so): Likewise.
10596         (LDFLAGS-unload4mod2.so): Likewise.
10597         (LDFLAGS-tst-initorder): Likewise.
10598         (LDFLAGS-tst-initordera2.so): Likewise.
10599         (LDFLAGS-tst-initordera3.so): Likewise.
10600         (LDFLAGS-tst-initordera4.so): Likewise.
10601         (LDFLAGS-tst-initorderb2.so): Likewise.
10602         (LDFLAGS-noload): Likewise.
10603         (LDFLAGS-next): Likewise.
10604         (LDFLAGS-order2mod1.so): Likewise.
10605         (LDFLAGS-order2mod2.so): Likewise.
10606         (LDFLAGS-tst-initorder2): Likewise.
10607         (LDFLAGS-tst-initorder2a.so): Likewise.
10608         (LDFLAGS-tst-initorder2b.so): Likewise.
10609         (LDFLAGS-tst-initorder2c.so): Likewise.
10610         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
10612 2012-05-02  David S. Miller  <davem@davemloft.net>
10614         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10616 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
10618         [BZ #14055]
10619         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
10621 2012-05-02  Andreas Jaeger  <aj@suse.de>
10623         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
10624         since we manipulate rounding mode.
10625         (CPPFLAGS-test-idouble.c): Likewise.
10626         (CPPFLAGS-test-ifloat.c): Likewise.
10627         (CFLAGS-test-ldouble.c): Likewise.
10628         (CFLAGS-test-double.c): Likewise.
10629         (CFLAGS-test-float.c): Likewise.
10630         (CFLAGS-test-misc.c): Likewise.
10631         (CFLAGS-test-test-fenv.c): Likewise.
10633 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10635         [BZ #2550]
10636         [BZ #2570]
10637         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
10638         comparisons to determine direction to adjust input.
10640 2012-05-01  Roland McGrath  <roland@hack.frob.com>
10642         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
10643         output to the target.
10645         * scripts/localplt.awk: New file.
10646         * elf/Makefile ($(objpfx)check-localplt): Target removed.
10647         (check-localplt-CFLAGS): Variable removed.
10648         ($(all-built-dso:=.jmprel)): New static pattern rule.
10649         (generated): Add those targets.
10650         (localplt-built-dso): New variable.
10651         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
10653         * elf/check-localplt.c: File removed.
10655         * scripts/check-execstack.awk: New file.
10656         * elf/Makefile ($(objpfx)check-execstack): Target removed.
10657         (check-execstack-CFLAGS): Variable removed.
10658         ($(objpfx)check-execstack.h): Target removed.
10659         ($(objpfx)execstack-default): New target.
10660         (generated): Add that instead of check-execstack.h.
10661         ($(all-built-dso:=.phdr)): New static pattern rule.
10662         (generated): Add those targets.
10663         * elf/check-execstack.c: File removed.
10665         * scripts/check-textrel.awk: New file.
10666         * elf/Makefile ($(objpfx)check-textrel): Target removed.
10667         (check-textrel-CFLAGS): Variable removed.
10668         (all-built-dso): Use := to define.o
10669         ($(all-built-dso:=.dyn)): New static pattern rule.
10670         (generated): Add those targets.
10671         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
10672         * config.make.in (READELF): New substituted variable.
10673         * elf/check-textrel.c: File removed.
10675 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
10677         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10678         allow.
10679         * conform/data/ctype.h-data [C99-based standards] (isblank):
10680         Expect function.
10681         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
10682         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
10683         [ISO || ISO99 || ISO11] (*_t): Do not allow.
10684         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
10685         Specify type.  Require positive value.
10686         (EILSEQ): Likewise.
10687         (ERANGE): Likewise.
10688         [ISO || POSIX] (EILSEQ): Do not expect.
10689         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
10690         Specify type.  Require positive value.
10691         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
10692         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
10693         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
10694         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
10695         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
10696         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
10697         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
10698         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
10699         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
10700         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
10701         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
10702         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
10703         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
10704         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
10705         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
10706         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
10707         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
10708         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
10709         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
10710         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
10711         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
10712         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
10713         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
10714         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
10715         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
10716         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
10717         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
10718         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
10719         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
10720         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
10721         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
10722         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
10723         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
10724         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
10725         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
10726         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
10727         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
10728         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
10729         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
10730         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
10731         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
10732         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
10733         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
10734         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
10735         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
10736         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
10737         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
10738         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
10739         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
10740         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
10741         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
10742         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
10743         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
10744         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
10745         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
10746         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
10747         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
10748         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
10749         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
10750         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
10751         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
10752         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
10753         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
10754         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
10755         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
10756         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
10757         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
10758         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
10759         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
10760         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
10761         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
10762         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
10763         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
10764         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
10765         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
10766         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
10767         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
10768         Require >= 2.
10769         (FLT_ROUNDS): Expect as macro, not constant.
10770         (FLT_MANT_DIG): Use macro-int-constant.
10771         (DBL_MANT_DIG): Likewise.
10772         (LDBL_MANT_DIG): Likewise.
10773         (FLT_DIG): Likewise.
10774         (DBL_DIG): Likewise.
10775         (LDBL_DIG): Likewise.
10776         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
10777         (DBL_MIN_EXP): Likewise.
10778         (LDBL_MIN_EXP): Likewise.
10779         (FLT_MAX_EXP): Use macro-int-constant.
10780         (DBL_MAX_EXP): Likewise.
10781         (LDBL_MAX_EXP): Likewise.
10782         (FLT_MAX_10_EXP): Likewise.
10783         (DBL_MAX_10_EXP): Likewise.
10784         (LDBL_MAX_10_EXP): Likewise.
10785         (FLT_MAX): Use macro-constant.
10786         (DBL_MAX): Likewise.
10787         (LDBL_MAX): Likewise.
10788         (FLT_EPSILON): Use macro-constant.  Give upper bound.
10789         (DBL_EPSILON): Likewise.
10790         (LDBL_EPSILON): Likewise.
10791         (FLT_MIN): Likewise.
10792         (DBL_MIN): Likewise.
10793         (LDBL_MIN): Likewise.
10794         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
10795         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
10796         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
10797         [ISO11] (FLT_HAS_SUBNORM): Likewise.
10798         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
10799         [ISO11] (DBL_DECIMAL_DIG): Likewise.
10800         [ISO11] (FLT_DECIMAL_DIG): Likewise.
10801         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
10802         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
10803         [ISO11] (FLT_TRUE_MIN): Likewise.
10804         [ISO11] (LDBL_TRUE_MIN): Likewise.
10805         [ISO || ISO99 || ISO11] (*_t): Do not allow.
10806         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
10807         (SCHAR_MIN): Use macro-int-constant.  Specify type.
10808         (SCHAR_MAX): Likewise.
10809         (UCHAR_MAX): Likewise.
10810         (CHAR_MIN): Likewise.
10811         (CHAR_MAX): Likewise.
10812         (MB_LEN_MAX): Use macro-int-constant.
10813         (SHRT_MIN): Use macro-int-constant.  Specify type.
10814         (SHRT_MAX): Likewise.
10815         (USHRT_MAX): Likewise.
10816         (INT_MAX): Likewise.
10817         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
10818         bound negative.
10819         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
10820         bound with "U".
10821         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
10822         bound with "L".
10823         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
10824         bound negative.  Suffix upper bound with "L".
10825         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
10826         bound with "UL".
10827         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
10828         Specify type.
10829         [C99-based standards] (LLONG_MAX): Likewise.
10830         [C99-based standards] (ULLONG_MAX): Likewise.
10831         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
10832         == 0.
10833         [ISO11] (max_align_t): Require type.
10834         [ISO || ISO99 || ISO11] (*_t): Do not allow.
10836         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
10837         from $CFLAGS, without defining away __attribute__ calls.
10838         (checknamespace): Use $CFLAGS_namespace.
10840         * conform/conformtest.pl (@keywords): Only include C99 keywords
10841         for standards based on C99 or C11.
10843         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
10844         Disable tests.
10845         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
10846         UNIX98]: Likewise.
10848         * conform/conformtest.pl: Handle "macro-int-constant" and test for
10849         usability of symbols in #if.
10851         * conform/conformtest.pl: If macro or constant types start
10852         "promoted:", expect the symbol to be of the following type
10853         promoted by the integer promotions.
10855         * conform/conformtest.pl: Parse all "constant" and "macro" lines
10856         in one place.  Also handle "macro-constant".
10858         * conform/conformtest.pl: Only accept expected macro values with
10859         "==".  Parse all "macro" lines in one place.
10860         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
10862         * conform/conformtest.pl: Handle braced types on "constant" lines
10863         instead of handling "typed-constant".
10864         * conform/data/signal.h-data: Use "constant" instead of
10865         "typed-constant".
10867         * conform/conformtest.pl: Handle "optional-" at start of lines in
10868         one place rather than duplicating several cases.  Handle each
10869         format of "macro" line with initial "optional-".
10871         * conform/conformtest.pl: Only accept expected constant or
10872         optional-constant values with "==".  Parse all "constant" lines in
10873         one place.  Parse all "optional-constant" lines in one place.
10874         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
10875         * conform/data/fmtmsg.h-data: Likewise.
10876         * conform/data/netinet/in.h-data: Likewise.
10877         * conform/data/tar.h-data: Likewise.
10878         * conform/data/limits.h-data: Use "==" form on "constant" and
10879         "optional-constant" lines.
10881         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
10882         Use -std=c99 for XOPEN2K.
10883         (@knownproblems): Remove.
10884         (newtoken): Don't check %isknown.
10886         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
10887         Do not expect macro.
10888         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
10889         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
10890         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
10891         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
10892         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
10893         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
10894         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
10895         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
10896         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
10897         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
10898         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
10899         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
10900         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
10901         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
10902         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
10903         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
10904         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
10905         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
10906         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
10907         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
10908         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
10909         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
10910         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
10911         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
10912         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
10913         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
10914         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
10915         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
10916         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
10917         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
10918         [XPG3] (acosh): Likewise.
10919         [XPG3] (asinh): Likewise.
10920         [XPG3] (atanh): Likewise.
10921         [XPG3] (cbrt): Likewise.
10922         [XPG3] (expm1): Likewise.
10923         [XPG3] (ilogb): Likewise.
10924         [XPG3] (log1p): Likewise.
10925         [XPG3] (logb): Likewise.
10926         [XPG3] (nextafter): Likewise.
10927         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
10928         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
10929         [XPG3] (remainder): Likewise.
10930         [XPG3] (rint): Likewise.
10931         [XPG3 || XPG4 || UNIX98] (round): Likewise.
10932         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
10933         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
10934         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
10935         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
10936         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
10937         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
10938         [UNIX98 || XOPEN2K] (scalb): Expect.
10939         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
10940         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
10941         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
10942         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
10943         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
10944         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
10945         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
10946         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
10947         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
10948         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
10949         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
10950         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
10951         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
10952         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
10953         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
10954         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
10955         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
10956         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
10957         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
10958         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
10959         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
10960         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
10961         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
10962         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
10963         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
10964         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
10965         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
10966         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
10967         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
10968         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
10969         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
10970         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
10971         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
10972         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
10973         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
10974         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
10975         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
10976         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
10977         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
10978         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
10979         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
10980         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
10981         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
10982         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
10983         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
10984         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
10985         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
10986         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
10987         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
10988         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
10989         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
10990         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
10991         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
10992         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
10993         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
10994         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
10995         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
10996         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
10997         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
10998         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
10999         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
11000         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
11001         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
11002         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
11003         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
11004         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
11005         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
11006         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
11007         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
11008         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
11009         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
11010         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
11011         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
11012         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
11013         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
11014         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
11015         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
11016         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
11017         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
11018         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
11019         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
11020         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
11021         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
11022         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
11023         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
11024         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
11025         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
11026         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
11027         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
11028         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
11029         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
11030         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
11031         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
11032         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
11033         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
11034         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
11035         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
11036         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
11037         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
11038         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
11039         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
11040         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
11041         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
11042         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
11043         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
11044         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
11045         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
11046         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
11047         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
11048         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
11049         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
11050         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
11051         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
11052         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
11053         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
11054         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
11055         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
11056         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
11057         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
11058         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
11059         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
11060         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
11061         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
11062         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
11063         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
11064         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
11065         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
11066         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
11067         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
11068         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
11069         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
11070         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
11071         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
11072         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
11073         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
11074         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
11075         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
11077         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
11078         _XOPEN_SOURCE_EXTENDED for XPG4.
11080         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
11082         * Makeconfig (localtime): Remove variable.
11083         (inst_localtime-file): Likewise.
11085 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
11087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
11088         Update.
11089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11090         Update.
11091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
11092         Update.
11093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11094         Update.
11095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
11096         Update.
11097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
11098         Update.
11099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11100         Update.
11101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
11102         Update.
11103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11104         Update.
11106 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
11108         [BZ #2550]
11109         [BZ #2570]
11110         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
11111         comparisons to determine direction to adjust input.
11112         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11113         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
11114         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
11115         Likewise.
11116         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
11117         Likewise.
11118         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11119         Likewise.
11120         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
11121         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11122         Likewise.
11123         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11124         Likewise.
11125         * math/libm-test.inc (nexttoward_test): Add more tests.
11127 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
11129         [BZ #14040]
11130         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
11131         in version GLIBC_2.1, not GLIBC_2.0.
11132         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
11133         Likewise.
11135 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
11137         [BZ #13942]
11138         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
11139         (1 - x) * (1 + x).
11140         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11141         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
11142         * math/libm-test.inc (acos_test): Add more tests.
11143         (asin_test): Likewise.
11144         * sysdeps/i386/fpu/libm-test-ulps: Update.
11145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11147         [BZ #14034]
11148         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
11149         of square root.
11150         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
11151         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11152         * math/libm-test.inc (acos_test_tonearest): New function.
11153         (acos_test_towardzero): Likewise.
11154         (acos_test_downward): Likewise.
11155         (acos_test_upward): Likewise.
11156         (asin_test_tonearest): Likewise.
11157         (asin_test_towardzero): Likewise.
11158         (asin_test_downward): Likewise.
11159         (asin_test_upward): Likewise.
11160         (main): Call the new functions.
11161         * sysdeps/i386/fpu/libm-test-ulps: Update.
11162         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11164         [BZ #13884]
11165         [BZ #13924]
11166         * math/e_exp10.c: Include <float.h>.
11167         (__ieee754_exp10): Handle underflow here rather than multiplying
11168         large negative argument by M_LN10.
11169         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
11170         of __ieee754_expf.
11171         * math/e_exp10l.c: Include <float.h>.
11172         (__ieee754_exp10l): Handle underflow here rather than multiplying
11173         large negative argument by M_LN10l.
11174         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
11175         spurious overflow exception on underflow.
11177 2012-04-29  Marek Polacek  <polacek@redhat.com>
11179         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
11180         (__fortify_function): New macro.
11181         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
11182         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
11183         __extern_always_inline.
11184         * libio/bits/stdio2.h: Likewise.
11185         * libio/bits/stdio.h: Likewise.
11186         * string/string.h: Likewise.
11187         * string/bits/string3.h: Likewise.
11188         * include/stdio.h: Likewise.
11189         * stdlib/bits/stdlib.h: Likewise.
11190         * stdlib/stdlib.h: Likewise.
11191         * rt/bits/mqueue2.h: Likewise.
11192         * rt/mqueue.h: Likewise.
11193         * posix/bits/unistd.h: Likewise.
11194         * posix/unistd.h: Likewise.
11195         * io/bits/poll2.h: Likewise.
11196         * io/bits/fcntl2.h: Likewise.
11197         * io/fcntl.h: Likewise.
11198         * io/sys/poll.h: Likewise.
11199         * misc/bits/syslog.h: Likewise.
11200         * misc/bits/syslog-ldbl.h: Likewise.
11201         * misc/sys/syslog.h: Likewise.
11202         * socket/bits/socket2.h: Likewise.
11203         * socket/sys/socket.h: Likewise.
11204         * debug/tst-chk1.c: Likewise.
11205         * wcsmbs/bits/wchar2.h: Likewise.
11206         * wcsmbs/bits/wchar-ldbl.h: Likewise.
11207         * wcsmbs/wchar.h: Likewise.
11209 2012-04-29  Andreas Jaeger  <aj@suse.de>
11211         * Makerules (tests): Remove enable-check-abi protection.
11212         (check-abi-warn): Remove.
11213         (check-abi-%): Remove check-abi-warn usage.
11215         * configure.in: Remove check-abi configure option.
11216         * configure: Regenerated.
11217         * config.make.in (enable-check-abi): Remove.
11219 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
11221         [BZ #14033]
11222         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
11223         double functions to double *_finite functions.
11225         [BZ #13941]
11226         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
11227         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
11228         LDBL_MIN_EXP.
11229         * stdio-common/Makefile (tests): Add tst-sprintf3.
11230         * stdio-common/tst-sprintf3.c: New file.
11232         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
11233         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
11235 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
11237         * conform/conformtest.pl: Remove duplicate typed-constant
11238         handling.
11240 2012-04-28  David S. Miller  <davem@davemloft.net>
11242         * Makerules (%.abilist): Add vpath on sysdep_dirs.
11243         (check-abi-%): Remove AWK script prerequisite and explicit
11244         abilist directory.
11245         (check-abi): Rewrite to just diff the symlist with the abilist.
11246         (config-tls, config-abi-config): Delete, no longer used.
11247         (update-abi-%): Remove AWK script and explicit abilist directory.
11248         (update-abi): Rewrite to simply compare and conditionally copy the
11249         symlist and the sysdep abilist file.  Remove update-abi-config
11250         checks.
11251         * abilist/ld.abilist: Remove.
11252         * abilist/libBrokenLocale.abilist: Remove.
11253         * abilist/libanl.abilist: Remove.
11254         * abilist/libcrypt.abilist: Remove.
11255         * abilist/libdl.abilist: Remove.
11256         * abilist/librt.abilist: Remove.
11257         * abilist/libthread_db.abilist: Remove.
11258         * abilist/libutil.abilist: Remove.
11259         * scripts/extract-abilist.awk: Remove.
11260         * scripts/merge-abilist.awk: Remove.
11261         * sysdeps/generic/libcidn.abilist: New file.
11262         * sysdeps/generic/libnss_compat.abilist: New file.
11263         * sysdeps/generic/libnss_db.abilist: New file.
11264         * sysdeps/generic/libnss_dns.abilist: New file.
11265         * sysdeps/generic/libnss_files.abilist: New file.
11266         * sysdeps/generic/libnss_hesiod.abilist: New file.
11267         * sysdeps/generic/libnss_nis.abilist: New file.
11268         * sysdeps/generic/libnss_nisplus.abilist: New file.
11269         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
11270         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
11271         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
11272         file.
11273         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
11274         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
11275         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
11276         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
11277         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
11278         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
11279         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
11280         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
11281         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
11282         file.
11283         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
11284         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
11285         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
11286         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
11287         file.
11288         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
11289         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
11290         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
11291         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
11292         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
11293         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
11294         file.
11295         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
11296         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
11297         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
11298         file.
11299         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
11300         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
11301         New file.
11302         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
11303         New file.
11304         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
11305         New file.
11306         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
11307         New file.
11308         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
11309         New file.
11310         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
11311         New file.
11312         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
11313         New file.
11314         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
11315         New file.
11316         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
11317         New file.
11318         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
11319         New file.
11320         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
11321         New file.
11322         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
11323         New file.
11324         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
11325         New file.
11326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
11327         file.
11328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11329         New file.
11330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11331         New file.
11332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
11333         file.
11334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11335         New file.
11336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11337         New file.
11338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
11339         file.
11340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11341         New file.
11342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11343         New file.
11344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11345         New file.
11346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11347         New file.
11348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11349         New file.
11350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11351         New file.
11352         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
11353         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
11354         file.
11355         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
11356         New file.
11357         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
11358         file.
11359         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
11360         file.
11361         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
11362         file.
11363         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
11364         file.
11365         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
11366         file.
11367         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11368         New file.
11369         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
11370         file.
11371         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
11372         file.
11373         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
11374         New file.
11375         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
11376         file.
11377         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
11378         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
11379         file.
11380         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
11381         New file.
11382         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
11383         file.
11384         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
11385         file.
11386         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
11387         file.
11388         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
11389         file.
11390         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
11391         file.
11392         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11393         New file.
11394         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
11395         file.
11396         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
11397         file.
11398         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
11399         New file.
11400         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
11401         file.
11402         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11403         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
11404         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
11405         file.
11406         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
11407         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
11408         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
11409         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
11410         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
11411         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
11412         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
11413         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
11414         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
11415         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
11416         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
11417         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
11418         file.
11419         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
11420         New file.
11421         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
11422         file.
11423         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
11424         file.
11425         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
11426         file.
11427         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
11428         file.
11429         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
11430         file.
11431         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11432         New file.
11433         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
11434         New file.
11435         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
11436         file.
11437         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
11438         New file.
11439         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
11440         file.
11441         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
11442         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
11443         file.
11444         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
11445         New file.
11446         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
11447         file.
11448         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
11449         file.
11450         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
11451         file.
11452         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
11453         file.
11454         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
11455         file.
11456         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11457         New file.
11458         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
11459         New file.
11460         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
11461         file.
11462         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
11463         New file.
11464         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
11465         file.
11467 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
11469         * conform/conformtest.pl: Fix typo in handling typed-constant from
11470         allow-header.
11472 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
11474         * README: Cut down references to pre-2.6 Linux kernels and
11475         Linuxthreads.  Update lists of configurations in libc and ports
11476         and sort alphabetically.  Say "or newer" with Linux kernel version
11477         requirements.
11479         * config.h.in [IS_IN_build]: Allow compiling without optimization.
11481 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
11483         [BZ #887]
11484         * math/libm-test.inc (logb_test_downward): New test to expose
11485         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
11486         rounding mode.
11488 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
11490         [BZ #14027]
11491         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
11492         to be done.
11493         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
11494         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
11496 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
11498         * sysdeps/unix/i386/brk.S: Remove file.
11499         * sysdeps/unix/i386/dl-brk.S: Likewise.
11500         * sysdeps/unix/i386/pipe.S: Likewise.
11501         * sysdeps/unix/i386/sigreturn.S: Likewise.
11502         * sysdeps/unix/i386/syscall.S: Likewise.
11503         * sysdeps/unix/i386/vfork.S: Likewise.
11504         * sysdeps/unix/i386/wait.S: Likewise.
11506         * sysdeps/unix/common/tcsendbrk.c: Move to ...
11507         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
11509         * configure.in (arm*-none*): Do not allow without
11510         --enable-hacker-mode.
11511         (netbsd*): Remove case setting base_os.
11512         (386bsd*): Likewise.
11513         (freebsd*): Likewise.
11514         (bsdi*): Likewise.
11515         (osf*): Likewise.
11516         (sunos*): Likewise.
11517         (ultrix*): Likewise.
11518         (newsos*): Likewise.
11519         (dynix*): Likewise.
11520         (*bsd*): Likewise.
11521         (sysv*): Likewise.
11522         (isc*): Likewise.
11523         (esix*): Likewise.
11524         (sco*): Likewise.
11525         (minix*): Likewise.
11526         (irix4*): Likewise.
11527         (irix6*): Likewise.
11528         (solaris[2-9]*): Likewise.
11529         (none): Likewise.
11530         * configure: Regenerated.
11532 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11534         [BZ #11521]
11535         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
11536         overflow or cancellation in calculating denominator.
11537         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
11538         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
11539         down expression to avoid unexpected rounding in newer GCCs.
11540         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
11542 2012-04-26  David S. Miller  <davem@davemloft.net>
11544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
11545         long-double compat symbols.
11546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
11548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
11549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
11550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
11551         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
11552         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
11553         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
11554         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
11555         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11556         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
11557         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
11558         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11560 2012-04-25  David S. Miller  <davem@davemloft.net>
11562         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
11563         HWCAP_* values only after the memory barriers have been defined.
11564         (atomic_full_barrier): Define.
11565         (atomic_read_barrier): Define.
11566         (atomic_write_barrier): Define.
11568 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11570         * shlib-versions: Add libgcc_s version information.
11571         * sysdeps/generic/libgcc_s.h: Remove.
11572         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
11573         libgcc_s.h.
11574         * sysdeps/gnu/unwind-resume.c: Likewise.
11575         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
11577 2012-04-25  David S. Miller  <davem@davemloft.net>
11579         * sysdeps/unix/sparc/brk.S: Delete.
11580         * sysdeps/unix/sparc/dl-brk.S: Delete.
11581         * sysdeps/unix/sparc/pipe.S: Delete.
11582         * sysdeps/unix/sparc/sysdep.S: Delete.
11583         * sysdeps/unix/sparc/sysdep.h: Delete.
11584         * sysdeps/unix/sparc/vfork.S: Delete.
11585         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
11586         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
11587         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
11588         ret_ERRVAL, r0, r1, MOVE): Define.
11589         (JUMPTARGET): Remove.
11590         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
11591         sysdeps/unix/sparc/sysdep.h
11592         (ENTRY, END): Remove.
11593         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11595 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
11597         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
11598         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
11599         -DIS_IN_build.
11601         * timezone/README: Update upstream location and email address for
11602         tzcode and tzdata.
11603         * timezone/zdump.c: Update from tzcode 2012b.
11604         * timezone/zic.c: Likewise.
11606         * configure.in (libc_cv_as_needed): Remove test.
11607         * configure: Regenerated.
11608         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
11609         conditional definition.
11610         [$(have-as-needed) != yes] (no-as-needed): Likewise.
11611         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
11612         * config.make.in (have-as-needed): Remove variable.
11614 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
11615             Paul Pluzhnikov  <ppluzhnikov@google.com>
11617         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
11618         strings correctly.
11620 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
11622         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
11623         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
11624         * sysdeps/sh/strlen.S: Likewise.
11626 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
11628         * sysdeps/unix/fork.S: Remove file.
11629         * sysdeps/unix/i386/fork.S: Likewise.
11630         * sysdeps/unix/sparc/fork.S: Likewise.
11632         * sysdeps/unix/system.c: Remove file.
11633         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
11635         * sysdeps/unix/getegid.S: Remove file.
11636         * sysdeps/unix/geteuid.S: Likewise.
11638 2012-04-24  Roland McGrath  <roland@hack.frob.com>
11640         * scripts/check-localplt.awk: New file.
11641         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
11642         of diff.
11643         * scripts/data/localplt-generic.data: Add a comment.
11645         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
11646         NODE when __dir_mkfile failed.
11647         * sysdeps/mach/hurd/symlinkat.c: Likewise.
11648         Reported by Ludovic Courtès <ludo@gnu.org>.
11650 2012-04-24  Andreas Jaeger  <aj@suse.de>
11652         * Makerules (common-clean): Also remove gen-as-const-headers
11653         files.
11655 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
11657         * Makerules (native-compile): Do not change working directory for
11658         build.  Use $(OUTPUT_OPTION) in command.
11659         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
11661 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11663         [BZ #13886]
11664         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
11665         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
11666         * math/libm-test.inc (floor_test): Add more tests.
11667         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
11669 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
11671         * sysdeps/unix/getdents.c: Remove file.
11672         * sysdeps/unix/sysv/getdents.c: Likewise.
11673         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
11675         * sysdeps/unix/syscalls.list (madvise): Add syscall from
11676         sysdeps/unix/mman/syscalls.list.
11677         (mmap): Likewise.
11678         (mprotect): Likewise.
11679         (msync): Likewise.
11680         (munmap): Likewise.
11681         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
11682         * sysdeps/unix/mman/syscalls.list: Remove.
11683         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
11685         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
11686         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
11687         * configure: Regenerated.
11688         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
11689         $(libgcc_s_suffix).
11690         * config.make.in (libgcc_s_suffix): Remove variable.
11692 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
11694         * sysdeps/unix/sysv/gethostname.c: Move to ...
11695         * sysdeps/posix/gethostname.c: ... here.
11697         * sysdeps/unix/execve.S: Remove file.
11699         * sysdeps/unix/_exit.S: Remove file.
11701 2012-04-23  Andreas Jaeger  <aj@suse.de>
11703         [BZ #13739]
11704         * manual/Makefile: Remove make dist support, there's no
11705         need for a stand-alone documentation tar ball.
11706         (TEXI2DVI): Define always, it's not in Makeconfig.
11707         (dist): Removed.
11708         (tar-it): Removed.
11709         (edition): Removed.
11710         (glibc-doc-$(edition).tar): Removed
11711         (%.Z): Removed.
11712         (%.gz): Removed.
11713         (%.uu): Removed.
11714         (ETAGS): Remove, it's in Makeconfig.
11715         (move-if-change): Remove, it's in Makeconfig.
11717 2013-04-23  Paul Eggert  <eggert@cs.ucla.edu>
11719         [BZ #13970]
11720         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
11721         (strtod, strtof, strtold, strtol, strtoul, strtoq)
11722         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
11723         (strtod_l, strtof_l, strtold_l): Remove __wur.
11724         It is not necessarily an error to ignore strtol's return value.
11725         One can reliably look at the stored endptr to decide whether
11726         the number had valid syntax.
11728 2012-04-21  Andreas Jaeger  <aj@suse.de>
11730         [BZ #13739]
11731         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
11733 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
11735         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
11736         * sysdeps/unix/sysv/Versions: Remove file.
11738 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
11740         [BZ #13927]
11741         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11743 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
11745         [BZ #7064]
11746         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
11747         version from __vm86.
11749 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
11751         * sysdeps/unix/common/lxstat.c: Remove file.
11752         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
11754         * sysdeps/unix/sysv/Makefile: Remove file.
11756         * sysdeps/unix/sysv/direct.h: Remove file.
11758         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
11759         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
11760         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
11761         * sysdeps/unix/sysv/bits/signum.h: Likewise.
11762         * sysdeps/unix/sysv/bits/stat.h: Likewise.
11763         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
11764         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
11766         * sysdeps/unix/sysv/setrlimit.c: Remove file.
11768         * sysdeps/unix/xmknod.c: Remove file.
11769         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
11771         * sysdeps/unix/sysv/settimeofday.c: Remove file.
11773         * sysdeps/unix/sysv/i386/time.S: Remove file.
11775         * sysdeps/unix/fxstat.c: Remove file.
11776         * sysdeps/unix/xstat.c: Likewise.
11777         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
11779         * sysdeps/unix/sysv/sigaction.c: Remove file.
11781         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
11782         (sysdep_headers): Remove variable.
11783         [termio.h not in sysdep_headers] (generated): Likewise.
11784         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
11785         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
11786         * sysdeps/unix/sysv/tcdrain.c: Likewise.
11787         * sysdeps/unix/sysv/tcflow.c: Likewise.
11788         * sysdeps/unix/sysv/tcflush.c: Likewise.
11789         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
11790         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
11791         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
11792         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
11793         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
11795         * sysdeps/unix/siglist.c: Remove file.
11797         * sysdeps/unix/getppid.S: Remove file.
11799         * sysdeps/unix/mkdir.c: Remove file.
11800         * sysdeps/unix/rmdir.c: Likewise.
11802 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
11804         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
11805         ERR_MAX value.
11806         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
11807         errlist-compat value.
11809 2012-04-18  David S. Miller  <davem@davemloft.net>
11811         * sysdeps/generic/memcopy.h (reg_char): Delete.
11812         * debug/strcat_chk.c: Use char, not reg_char.
11813         * debug/strcpy_chk.c: Likewise.
11814         * debug/strncat_chk.c: Likewise.
11815         * debug/strncpy_chk.c: Likewise.
11816         * string/memchr.c: Likewise.
11817         * string/memrchr.c: Likewise.
11818         * string/rawmemchr.c: Likewise.
11819         * string/strcat.c: Likewise.
11820         * string/strchr.c: Likewise.
11821         * string/strchrnul.c: Likewise.
11822         * string/strcmp.c: Likewise.
11823         * string/strcpy.c: Likewise.
11824         * string/strncat.c: Likewise.
11825         * string/strncmp.c: Likewise.
11826         * string/strncpy.c: Likewise.
11828 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
11830         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
11831         __builtin_memcopy is called when src and dest ranges are known to not
11832         overlap.
11834 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
11836         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
11837         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
11838         fwd_align_merge macro call.
11839         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
11840         bwd_align_merge macro call.
11841         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11843 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
11845         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
11846         bwd_align_merge macros.
11847         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
11848         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
11849         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11851 2012-04-18  David S. Miller  <davem@davemloft.net>
11853         * sysdeps/sparc/sparc64/memcopy.h: Delete.
11855 2012-04-18  Andreas Jaeger  <aj@suse.de>
11857         [BZ# 6794]
11858         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
11859         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
11860         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11862         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
11863         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
11864         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11866         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
11867         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
11868         Adjust for changed ldbl-128 files.
11870         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
11871         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
11872         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11874 2012-04-17  David S. Miller  <davem@davemloft.net>
11876         * sysdeps/sparc/sparc32/memcopy.h: Delete.
11878 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
11880         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
11881         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
11882         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
11883         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
11884         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11885         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
11887 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11889         [BZ #6794]
11890         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
11891         * math/libm-test.inc: Add ilogb errno and exception tests.
11892         * math/w_ilogb.c: New file: ilogb wrapper.
11893         * math/w_ilogbf.c: New file: ilogbf wrapper.
11894         * math/w_ilogbl.c: New file: ilogbl wrapper.
11895         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
11896         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
11897         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
11898         exception being thrown with 0.0 as argument.
11899         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
11900         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
11901         exception being thrown with 0.0 as argument.
11902         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
11903         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11904         exception being thrown with 0.0 as argument.
11905         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
11906         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11907         exception being thrown with 0.0 as argument.
11908         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
11909         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
11910         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
11911         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
11912         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
11913         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
11914         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
11915         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
11916         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
11918 2012-04-17  Petr Baudis  <pasky@ucw.cz>
11920         * include/sys/uio.h: Change __vector to __iovec to avoid clash
11921         with altivec.
11923 2012-04-16  Marek Polacek  <polacek@redhat.com>
11925         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
11927 2012-04-16  Marek Polacek  <polacek@redhat.com>
11929         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
11930         operands of fdivp instruction.
11932 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
11934         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
11935         * elf/tst-auditmod3b.c: Likewise.
11936         * elf/tst-auditmod4b.c: Likewise.
11937         * elf/tst-auditmod5b.c: Likewise.
11938         * elf/tst-auditmod6b.c: Likewise.
11939         * elf/tst-auditmod6c.c: Likewise.
11940         * elf/tst-auditmod7b.c: Likewise.
11941         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
11942         * sysdeps/x86_64/preconfigure.in: Likewise.
11943         * sysdeps/x86_64/preconfigure: Regenerated.
11945 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
11947         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
11948         __ILP32__.
11950 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
11952         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11953         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
11955 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
11957         [BZ #13973]
11958         * locale/iso-639.def: Fix gl language name. Spotted by
11959         Yaron Shahrabani.
11961 2012-04-12  Roland McGrath  <roland@hack.frob.com>
11963         [BZ #2074]
11964         * libio/libio.h (__io_write_fn): Update comment.
11966 2012-04-12  Petr Baudis  <pasky@ucw.cz>
11968         [BZ #2074]
11969         * stdio.texi (Hook Functions): The user provided writer function
11970         is not allowed to return -1.
11972 2012-04-11  David S. Miller  <davem@davemloft.net>
11974         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11976 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
11978         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
11979         Add a leading slash to rtkaio.
11981 2012-04-11  Jim Meyering  <meyering@redhat.com>
11983         [BZ #11959]
11984         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
11985         It is not necessarily an error to ignore fwrite's return
11986         value.  One can reliably use ferror to test for errors after
11987         the fact.
11989 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
11991         * bits/types.h (__snseconds_t): New type.
11992         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
11994         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
11995         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11996         (__SNSECONDS_T_TYPE): Likewise.
11997         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11998         (__SNSECONDS_T_TYPE): Likewise.
11999         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12000         (__SNSECONDS_T_TYPE): Likewise.
12002 2012-04-10  Andreas Jaeger  <aj@suse.de>
12004         [BZ #2636]
12005         * manual/time.texi (Processor Time): Return type of times is
12006         elapsed real time since an arbitrary point in the past.
12007         (CPU Time): Move CLK_TCK from here...
12008         (Processor Time): ...to here.  Correct description.
12009         * manual/conf.texi (Constants for Sysconf): Correct description of
12010         _SC_CLK_TCK.
12012 2012-04-10  David S. Miller  <davem@davemloft.net>
12014         [BZ #13967]
12015         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
12016         where the is a gap between DT_REL(A) and DT_JMPREL.
12018 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
12020         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
12021         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12022         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12024 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12026         * elf/dl-support.c (_dl_inhibit_cache): New variable.
12027         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
12028         (dl_main): Handle --inhibit-cache.
12029         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
12030         _dl_inhibit_cache.
12031         * elf/dl-load.c (_dl_map_object): Use it.
12032         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
12034 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
12036         [BZ #13872]
12037         * sysdeps/i386/fpu/e_powl.S (p78): New object.
12038         (__ieee754_powl): Saturate large exponents rather than testing for
12039         overflow of y*log2(x).
12040         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12041         * math/libm-test.inc (pow_test): Do not permit spurious overflow
12042         exceptions.
12044         [BZ #11521]
12045         * math/s_ctan.c: Include <float.h>.
12046         (__ctan): Avoid internal overflow or cancellation in calculating
12047         denominator.
12048         * math/s_ctanf.c: Likewise.
12049         * math/s_ctanl.c: Likewise.
12050         * math/s_ctanh.c: Likewise.
12051         * math/s_ctanhf.c: Likewise.
12052         * math/s_ctanhl.c: Likewise.
12053         * math/libm-test.inc (ctan_test): Add more tests.
12054         (ctanh_test): Likewise.
12055         * sysdeps/i386/fpu/libm-test-ulps: Update.
12056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12058 2012-04-09  Andreas Jaeger  <aj@suse.de>
12060         [BZ #6894]
12061         * manual/filesys.texi (Directory Entries): Mention that d_namlen
12062         is an optional BSD extension.
12064         [BZ #10254]
12065         * manual/stdio.texi (Opening Streams): Document additional fopen
12066         parameters.
12068 2012-04-09  Roland McGrath  <roland@hack.frob.com>
12070         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
12071         %eax without telling the compiler.
12073 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
12075         [BZ # 13963]
12076         * manual/install.texi: Use sourceware.org.
12078 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
12080         [BZ #13873]
12081         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
12082         (__ieee754_pow): Generate overflow and underflow using huge*huge
12083         and tiny*tiny rather than just returning constant infinity or zero
12084         for large exponents.
12085         * math/libm-test.inc (pow_test): Require overflow exceptions for
12086         applicable cases of large exponents.
12088         [BZ #706]
12089         * sysdeps/i386/fpu/e_pow.S (p10): New object.
12090         (__ieee754_pow): Use iterative multiplication algorithm only for
12091         integer exponents with absolute value below 1024.  Check for odd
12092         integer exponents when using algorithm for real exponents.
12093         * math/libm-test.inc (pow_test): Add more tests.
12094         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12096 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
12098         [BZ #13705]
12099         * math/libm-test.inc (exp_test): Do not allow overflow exception
12100         on underflow test.
12102 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
12104         [BZ #13705]
12105         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
12106         instead of __kernel_standard_f.
12108 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
12110         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
12111         * sysdeps/x86_64/memset_chk.S: Likewise.
12113 2012-04-08  Andreas Jaeger  <aj@suse.de>
12115         [BZ #10153]
12116         * manual/startup.texi (Environment Access): Describe return value
12117         for putenv and setenv.
12119         [BZ #6895]
12120         * manual/filesys.texi (Directory Entries): Add description for
12121         DT_LNK.
12123         [BZ #6890]
12124         * manual/filesys.texi (Directory Entries): Clarify that it's file
12125         system not operating system in the description of DT_UNKNOWN.
12127         [BZ #6578]
12128         * manual/syslog.texi (closelog): Fix reference, it's openlog.
12130 2012-04-08  Stephen Compall  <s11@member.fsf.org>
12132         [BZ #6649]
12133         * manual/llio.texi (Opening and Closing Files): Add cross
12134         reference to explain mode argument.
12136 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
12138         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
12139         * sysdeps/x86_64/memset_chk.S: Likewise.
12141 2012-04-07  David S. Miller  <davem@davemloft.net>
12143         * elf/elf.h (R_SPARC_WDISP10): Define.
12144         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
12145         R_SPARC_SIZE32.
12146         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
12147         R_SPARC_SIZE64 and R_SPARC_H34.
12149 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
12151         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
12152         conditions and remove no longer applicable assertion.
12154 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
12156         * bits/byteswap.h: Include <features.h>.
12157         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12158         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12160 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
12162         * bits/byteswap.h (__bswap_16): Removed.
12163         Include <bits/byteswap-16.h> to get __bswap_16.
12164         * sysdeps/i386/bits/byteswap.h: Likewise.
12165         * sysdeps/s390/bits/byteswap.h: Likewise.
12166         * sysdeps/x86_64/bits/byteswap.h: Likewise.
12167         * bits/byteswap-16.h: New file.
12168         * sysdeps/i386/bits/byteswap-16.h: Likewise.
12169         * sysdeps/s390/bits/byteswap-16.h: Likewise.
12170         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
12171         * string/Makefile (headers): Add bits/byteswap-16.h.
12173 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
12175         [BZ #13895]
12176         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
12177         extra indirection.
12178         * nss/Makefile (tests-static, tests): Add tst-nss-static.
12179         * nss/tst-nss-static.c: New.
12181 2012-04-06  Robert Millan  <rmh@gnu.org>
12183         [BZ #6486]
12184         * manual/llio.texi (File Position Primitive): lseek
12185         refers to WHENCE when it really means OFFSET.
12187 2012-04-06  Andreas Jaeger  <aj@suse.de>
12189         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
12190         strncmp declarations.
12192         * abilist/libc.abilist: Add __poll and __ppoll.
12194 2012-04-05  David S. Miller  <davem@davemloft.net>
12196         * scripts/check-local-headers.sh: Accept a host triplet in the
12197         path matched by the exclude regexp.
12199         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
12200         definition.
12201         * sysdeps/powerpc/powerpc32/dl-machine.h
12202         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
12203         * sysdeps/s390/s390-32/dl-machine.h
12204         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12205         * sysdeps/sparc/sparc32/dl-machine.h
12206         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12207         * sysdeps/sparc/sparc64/dl-machine.h
12208         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12210         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
12211         lazy binding.
12212         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
12213         undefined symbol errors.
12215         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
12216         DT_NEEDED entries.
12218 2012-04-05  Michael Matz  <matz@suse.de>
12220         [BZ #13592]
12221         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
12223 2012-04-05  Andreas Jaeger  <aj@suse.de>
12225         [BZ #13908]
12226         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
12227         comment.
12229 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
12231         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
12232         which ROUND is no valid rounding mode.
12234 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
12236         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
12237         read again.
12238         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
12240 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
12242         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
12243         an exception using FPU order intentionally.
12245 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
12247         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
12248         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
12249         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
12250         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
12252 2012-04-05  Simon Josefsson  <simon@josefsson.org>
12254         [BZ #12340]
12255         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
12256         EINVAL when BUFLEN is too smal.
12258 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
12260         [BZ #13553]
12261         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
12262         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
12264 2012-04-03  Andreas Jaeger  <aj@suse.de>
12266         [BZ #13938]
12267         * manual/setjmp.texi (System V contexts): Fix sentence.
12269         [BZ #13926]
12270         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
12271         New macro for this case.
12272         [!__GNUC__] (__bswap_64): New inline function for this case.
12273         * sysdeps/x86_64/bits/byteswap.h: Likewise.
12274         * bits/byteswap.h: Likewise.
12275         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
12276         ull, guard with __GLIBC_HAVE_LONG_LONG.
12278         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
12279         __GLIBC_HAVE_LONG_LONG.
12281         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
12282         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
12284 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12286         [BZ #13691]
12287         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
12288         inptr and inend, rather than using last_ch.
12290 2012-04-02  David S. Miller  <davem@davemloft.net>
12292         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
12293         * stdio-common/printf-parse.h (read_int): Change return type to
12294         'int', return -1 on INT_MAX overflow.
12295         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
12296         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
12297         overflows INT_MAX.  Check for overflow of in-format-string precision
12298         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
12299         SIZE_MAX not INT_MAX for integer overflow test.
12300         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
12301         skip the construct in the format string but do not record anything.
12302         * stdio-common/bug22.c: Adjust to test both width/prevision
12303         INT_MAX overflow as well as total length INT_MAX overflow.  Check
12304         explicitly for proper errno values.
12306 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
12308         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
12309         CHAR_MAX.
12310         * string/test-strcmp.c [! WIDE]: Likewise.
12311         * time/tst-mktime2.c: Likewise for INT_MAX.
12312         * string/test-string.h: #include <sys/param.h> for MIN.
12314         * csu/init-first.c (__libc_init_first): Call __ctype_init.
12315         * sysdeps/i386/init-first.c (init): Likewise.
12316         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
12317         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
12318         * sysdeps/sh/init-first.c (init): Likewise.
12320 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
12322         * po/ru.po: Update from translation team.
12323         * po/vi.po: Likewise.
12325 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
12327         * resolv/nss_dns/dns-host.c: Merge copyright years.
12329 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12331         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12332         Optimize memcpy with prefetch if
12333         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
12334         src, dst pointers have unequal 16 byte alignments.
12336 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12338         [BZ #13928]
12339         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
12340         from a CNAME entry and return the minimum ttl for the query.
12341         (gaih_getanswer_slice): Likewise.
12343 2012-03-30  Jeff Law  <law@redhat.com>
12345         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
12346         due to long keys.
12347         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12348         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12350         * resolv/nss_dns/dns-host.c: Update copyright year.
12352 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
12354         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
12355         requests to save a system call.  Fix check that all bytes are sent.
12357         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
12358         comments for sendmmsg.
12360 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12362         [BZ #13691]
12363         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
12364         with only 1 character between 0x0041 and 0x01b0.
12365         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
12366         * wcsmbs/tst-mbsnrtowcs.c: New file.
12368 2012-03-29  David S. Miller  <davem@davemloft.net>
12370         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
12371         small copies by hand.
12373 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12375         [BZ #13761]
12376         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
12377         _nss_compat_initgroups_dyn): Fall back to malloc/free
12378         for large group memberships.
12380 2012-03-28  David S. Miller  <davem@davemloft.net>
12382         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
12383         that branches into memcpy.
12384         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12385         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
12386         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12387         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
12388         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
12389         bits.
12390         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
12391         implementation too.
12392         * sysdeps/sparc/mempcpy.S: New file.
12394         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
12395         the IFUNC routine in the libc case.
12396         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12398         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
12399         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
12400         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
12401         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
12402         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
12403         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
12404         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
12405         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
12407         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
12408         loop to 256 bytes instead of 64 bytes and fix test signedness.
12410         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
12411         * sysdeps/sparc/sparc32/Makefile: rather than here...
12412         * sysdeps/sparc/sparc64/Makefile: and here.
12414 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
12416         * malloc/mallocbug.c: Avoid warnings about unused variables.
12418 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
12420         [BZ #13760]
12421         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
12422         in the right place. Discard and retry query if response is
12423         larger than input buffer size.
12425 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
12427         [BZ #369]
12428         [BZ #2678]
12429         [BZ #3866]
12430         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
12431         x for large integer exponent.
12432         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12433         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
12434         sign of result as needed afterwards.
12435         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12436         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
12437         result for underflowing pow the same as for overflow.
12438         (__kernel_standard_l): Handle powl overflow and underflow here
12439         rather than calling __kernel_standard.
12440         * math/libm-test.inc (pow_test): Add more tests.
12442         [BZ #3868]
12443         [BZ #13879]
12444         [BZ #13910]
12445         [BZ #13911]
12446         [BZ #13912]
12447         [BZ #13913]
12448         [BZ #13915]
12449         [BZ #13916]
12450         [BZ #13917]
12451         [BZ #13918]
12452         [BZ #13919]
12453         [BZ #13920]
12454         [BZ #13921]
12455         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
12456         * sysdeps/ieee754/k_standard.c: Include <float.h>.
12457         (__kernel_standard_l): New function.
12458         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
12459         __kernel_standard.
12460         * math/w_acosl.c (__acosl): Likewise.
12461         * math/w_asinl.c (__asinl): Likewise.
12462         * math/w_atan2l.c (__atan2l): Likewise.
12463         * math/w_atanhl.c (__atanhl): Likewise.
12464         * math/w_coshl.c (__coshl): Likewise.
12465         * math/w_exp10l.c (__exp10l): Likewise.
12466         * math/w_exp2l.c (__exp2l): Likewise.
12467         * math/w_fmodl.c (__fmodl): Likewise.
12468         * math/w_hypotl.c (__hypotl): Likewise.
12469         * math/w_j0l.c (__j0l, __y0l): Likewise.
12470         * math/w_j1l.c (__j1l, __y1l): Likewise.
12471         * math/w_jnl.c (__jnl, __ynl): Likewise.
12472         * math/w_lgammal.c (__lgammal): Likewise.
12473         * math/w_log10l.c (__log10l): Likewise.
12474         * math/w_log2l.c (__log2l): Likewise.
12475         * math/w_logl.c (__logl): Likewise.
12476         * math/w_powl.c (__powl): Likewise.
12477         * math/w_remainderl.c (__remainderl): Likewise.
12478         * math/w_scalbl.c (sysv_scalbl): Likewise.
12479         * math/w_sinhl.c (__sinhl): Likewise.
12480         * math/w_sqrtl.c (__sqrtl): Likewise.
12481         * math/w_tgammal.c (__tgammal): Likewise.
12482         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
12483         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
12484         * math/libm-test.inc (acos_test): Add more tests.
12485         (acosh_test): Likewise.
12486         (asin_test): Likewise.
12487         (atanh_test): Likewise.
12488         (exp_test): Likewise.
12489         (exp10_test): Likewise.
12490         (exp2_test): Likewise.
12491         (expm1_test): Likewise.
12492         (lgamma_test): Likewise.
12493         (log_test): Likewise.
12494         (log10_test): Likewise.
12495         (log1p_test): Likewise.
12496         (log2_test): Likewise.
12497         (pow_test): Do not allow some spurious overflow exceptions.
12498         (sqrt_test): Add more tests.
12499         (tgamma_test): Likewise.
12500         (y0_test): Likewise.
12501         (y1_test): Likewise.
12502         (yn_test): Likewise.
12504 2012-03-27  Anton Blanchard  <anton@samba.org>
12506         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
12507         MAP_HUGETLB.
12508         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12509         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12510         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12512 2012-03-27  David S. Miller  <davem@davemloft.net>
12514         * conform/Makefile: Run run-conformtest.sh using $(BASH).
12516         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
12517         have-as-vis3 check.
12519 2012-03-27  Andreas Jaeger  <aj@suse.de>
12521         * sysdeps/x86_64/elf/configure.in: Moved to ...
12522         * sysdeps/x86_64/configure.in: ... here.
12523         * sysdeps/x86_64/elf/start.S: Moved to ...
12524         * sysdeps/x86_64/start.S: ... here.
12525         * sysdeps/x86_64/elf/configure: Delete.
12527         * sysdeps/x86_64/configure.in: Merge contents from
12528         sysdeps/i386/configure.in (without i686 check).
12530         * sysdeps/i386/elf/Versions: Merge into ...
12531         * sysdeps/i386/Versions: ... this.
12532         * sysdeps/i386/elf/Versions: Delete file.
12533         * sysdeps/i386/elf/start.S: Moved to ...
12534         * sysdeps/i386/start.S: ...here.
12535         * sysdeps/i386/elf/configure.in: Merge into...
12536         * sysdeps/i386/configure.in: ...here.
12537         * sysdeps/i386/elf/configure.in: Delete file.
12538         * sysdeps/i386/elf/configure: Delete file.
12540         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
12541         * debug/backtracesyms.c: ... here.
12542         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
12543         * debug/backtracesymsfd.c: ... here.
12544         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
12545         * sysdeps/generic/ifunc-sel.h: ... here.
12547         * sysdeps/unix/i386/start.c: Delete file.
12548         * sysdeps/unix/sparc/start.c: Delete file.
12549         * sysdeps/unix/start.c: Delete file.
12551         * sysdeps/sh/elf/configure.in: Moved to ...
12552         * sysdeps/sh/configure.in: ... here.
12553         * sysdeps/sh/elf/start.S: Moved to ...
12554         * sysdeps/sh/start.S: ... here.
12555         * sysdeps/sh/elf/configure: Delete file.
12557         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
12558         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
12559         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
12560         * sysdeps/powerpc/powerpc64/entry.h: ... here.
12561         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
12562         * sysdeps/powerpc/powerpc64/start.S: here.
12563         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
12564         * sysdeps/powerpc/powerpc64/Makefile: ... this.
12565         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
12566         * sysdeps/powerpc/powerpc64/configure.in: ... this.
12567         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
12569         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
12570         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
12571         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
12572         * sysdeps/powerpc/powerpc32/start.S: ... here.
12573         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
12574         * sysdeps/powerpc/powerpc32/configure.in: ... this.
12575         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
12577         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
12578         * sysdeps/powerpc/ifunc-sel.h: ... here.
12579         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
12580         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
12582         * sysdeps/sparc/elf/configure.in: Moved to ...
12583         * sysdeps/sparc/configure.in: ... here.
12584         * sysdeps/sparc/elf/configure: Delete file.
12585         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
12586         * sysdeps/sparc/sparc32/start.S: ... here.
12587         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
12588         * sysdeps/sparc/sparc64/start.S: ... here.
12589         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
12590         * sysdeps/sparc/sparc32/Makefile: ... this.
12591         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
12592         * sysdeps/sparc/sparc64/Makefile: ... this.
12594         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
12595         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
12596         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
12597         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
12598         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
12599         * sysdeps/s390/s390-32/setjmp.S: ... here.
12600         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
12601         * sysdeps/s390/s390-32/configure.in: ... here.
12602         * sysdeps/s390/s390-32/elf/configure: Delete file.
12603         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
12604         * sysdeps/s390/s390-32/start.S: ... here.
12606         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
12607         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
12608         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
12609         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
12610         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
12611         * sysdeps/s390/s390-64/setjmp.S: ... here.
12612         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
12613         * sysdeps/s390/s390-64/configure.in: ... here
12614         * sysdeps/s390/s390-64/elf/configure: Delete file.
12615         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
12616         * sysdeps/s390/s390-64/start.S: ... here.
12617         * sysdeps/s390/s390-64/elf/configure: Delete.
12619         * configure.in: Remove support for elf directories in sysdeps.
12621         * configure: Regenerated.
12622         * sysdeps/i386/configure: Regenerated.
12623         * sysdeps/powerpc/powerpc32/configure: Regenerated.
12624         * sysdeps/powerpc/powerpc64/configure: Regenerated.
12625         * sysdeps/s390/s390-32/configure: Regenerated.
12626         * sysdeps/s390/s390-64/configure: Regenerated.
12627         * sysdeps/sh/configure: Regenerated.
12628         * sysdeps/sparc/configure: Regenerated.
12629         * sysdeps/x86_64/configure: Regenerated.
12631 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
12633         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12635         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
12636         denormal result into account.
12638 2012-03-25  Roland McGrath  <roland@hack.frob.com>
12640         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
12641         Reported by Allan McRae <allan@archlinux.org>.
12643 2012-03-23  Jeff Law  <law@redhat.com>
12645         * nss/getnssent.c (__nss_getent): Fix typo.
12647 2012-03-23  David S. Miller  <davem@davemloft.net>
12649         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12651 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
12653         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
12654         to pad to uint64_t for each field.
12655         (dl_tls_index): Replace unsigned long with uint64_t.
12657 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
12658         Paul Pluzhnikov  <ppluzhnikov@google.com>
12660         [BZ #6528]
12661         * grp/Makefile (otherlibs): Don't set it.
12662         * inet/Makefile (otherlibs): Likewise.
12663         * login/Makefile (otherlibs): Likewise.
12664         * nscd/Makefile (otherlibs): Likewise.
12665         * posix/Makefile (otherlibs): Likewise.
12666         * pwd/Makefile (otherlibs): Likewise.
12667         * rt/Makefile (otherlibs): Likewise.
12668         * sunrpc/Makefile (otherlibs): Likewise.
12669         * nss/Makefile (otherlibs): Likewise.
12670         Add libnss_files to routines and static-only-routines.
12671         ($(objpfx)getent): Remove rule.
12672         * resolv/Makefile: Add libnss_dns and libresolv to routines and
12673         static-only-routines.
12675 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
12677         [BZ #13892]
12678         * math/s_cexp.c: Include <float.h>.
12679         (__cexp): Handle exp result overflowing not necessarily
12680         overflowing both real and imaginary parts of result.
12681         * math/s_cexpf.c: Likewise.
12682         * math/s_cexpl.c: Likewise.
12683         * math/libm-test.inc (cexp_test): Add more tests.
12684         * sysdeps/i386/fpu/libm-test-ulps: Update.
12685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12687 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
12689         * include/link.h (ELFW): New macro.
12690         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
12691         Replace ELF64_R_TYPE with ELFW(R_TYPE).
12693 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
12695         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
12696         with uint64_t.
12698 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
12700         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
12701         declaration.
12702         (struct La_x32_retval): Likewise.
12704 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
12706         * sysdeps/x86_64/preconfigure.in: New file.
12707         * sysdeps/x86_64/preconfigure: New generated file.
12709 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
12711         [BZ #13824]
12712         * math/e_exp2l.c: Include <float.h>.
12713         (__ieee754_exp2l): Handle overflow and underflow cases
12714         separately.  Only pass fractional part of argument to
12715         __ieee754_expl.
12716         * math/libm-test.inc (exp2_test): Add more tests.
12718         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
12719         negating x to take absolute value.
12720         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
12721         Likewise.
12722         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12723         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
12724         Likewise.
12725         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
12726         computing low part if x was negated.
12727         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12729 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
12731         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
12732         la_x32_gnu_pltexit.
12733         (pltexit): Cast int_retval to ptrdiff_t.
12734         * elf/tst-auditmod3b.c: Likewise.
12735         * elf/tst-auditmod4b.c: Likewise.
12736         * elf/tst-auditmod5b.c: Likewise.
12737         * elf/tst-auditmod6b.c: Likewise.
12738         * elf/tst-auditmod6c.c: Likewise.
12739         * elf/tst-auditmod7b.c: Likewise.
12741         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
12742         and x32_gnu_pltexit.
12744         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
12745         __ELF_NATIVE_CLASS.
12746         (La_x32_regs): New macro.
12747         (La_x32_retval): Likewise.
12748         (la_x32_gnu_pltenter): New function prototype.
12749         (la_x32_gnu_pltexit): Likewise.
12751 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
12753         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
12754         exponent.
12756         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12758         * configure.in (libc_cv_cc_nofma): Check for option to disable
12759         generation of FMA instructions.
12760         * configure: Regenerate.
12761         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
12762         * sysdeps/ieee754/dbl-64/Makefile: New file.
12763         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
12764         Remove brandred-fma4.
12765         (CFLAGS-brandred-fma4.c): Remove.
12766         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
12767         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
12768         define.
12769         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
12770         define.
12772 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
12774         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12775         LLONG_MAX != LONG_MAX.
12776         (_itoa_word): Use _ITOA_WORD_TYPE on value.
12777         (_fitoa_word): Likewise.
12778         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
12779         LLONG_MAX != LONG_MAX.
12780         * stdio-common/_itowa.h: Include <_itoa.h>.
12781         (_itowa_word): Use _ITOA_WORD_TYPE on value.
12782         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
12783         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
12784         only if not defined.
12785         (_ITOA_WORD_TYPE): Likewise.
12786         (_itoa_word): Use _ITOA_WORD_TYPE on value.
12787         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
12789 2012-03-21  David S. Miller  <davem@davemloft.net>
12791         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12793 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
12795         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
12796         of x86_64 when setting libc_cv_slibdir, libdir and
12797         libc_cv_localedir.
12798         * sysdeps/unix/sysv/linux/configure: Regenerated.
12800 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
12802         * manual/lang.texi (Old Varargs): Remove section.
12803         (How Variadic): Update menu.
12804         (va_start): Do not mention varargs.h.
12806 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
12807             Joseph Myers  <joseph@codesourcery.com>
12809         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
12810         link test.
12811         * configure: Regenerated.
12813 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
12815         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
12816         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
12817         conformtest.pl
12819 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
12821         * NOTES: Remove.
12822         * Makefile (files-for-dist): Remove NOTES.
12823         (NOTES): Remove rule.
12824         * README: Don't refer to NOTES.
12825         * manual/creature.texi: Don't include macros.texi.
12826         * manual/intro.texi (creature.texi): Remove comment referring to
12827         NOTES.
12829         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
12830         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
12831         * configure: Regenerated.
12832         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
12833         LIBC_TRY_CC_OPTION.
12834         (libc_cv_as_i686): Likewise.
12835         (libc_cv_cc_avx): Likewise.
12836         (libc_cv_cc_sse2avx): Likewise.
12837         (libc_cv_cc_fma4): Likewise.
12838         (libc_cv_cc_novzeroupper): Likewise.
12839         * sysdeps/i386/configure: Regenerated.
12841         [BZ #13883]
12842         * sysdeps/i386/fpu/s_cexp.S: Remove.
12843         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12844         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12845         * math/libm-test.inc (cexp_test): Add more tests.
12846         * sysdeps/i386/fpu/libm-test-ulps: Update.
12847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12849 2012-03-21  Allan McRae  <allan@archlinux.org>
12851         * timezone/Makefile: Do not install iso3166.tab and zone.tab
12853 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
12855         [BZ #13871]
12856         * math/w_exp2.c: Do not include <float.h>.
12857         (o_threshold, u_threshold): Remove.
12858         (__exp2): Calculate result before checking finiteness and calling
12859         __kernel_standard.
12860         * math/w_exp2f.c: Likewise.
12861         * math/w_exp2l.c: Likewise.
12862         * math/libm-test.inc (exp2_test): Require overflow exception for
12863         1e6 input.
12865         [BZ #3866]
12866         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
12867         range of signed 64-bit integers before using fistpll.  Remove
12868         checks for whether integers fit in mantissa bits.
12869         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
12870         the range of signed 32-bit integers before using fistpl.  Remove
12871         checks for whether integers fit in mantissa bits.
12872         * sysdeps/i386/fpu/e_powl.S (p64): New object.
12873         (__ieee754_powl): Test for y outside the range of signed 64-bit
12874         integers before using fistpll.  Reduce 64-bit values to 63-bit
12875         ones as needed.
12876         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
12877         divide-by-zero is raised for zero to large negative powers.
12878         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
12879         (__ieee754_powl): Test for y outside the range of signed 64-bit
12880         integers before using fistpll.  Reduce 64-bit values to 63-bit
12881         ones as needed.
12882         * math/libm-test.inc (pow_test): Add more tests.
12884 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
12886         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
12887         <stdio-common/_itoa.h>.
12888         * debug/segfault.c: Likewise.
12889         * elf/dl-cache.c: Likewise.
12890         * elf/dl-minimal.c: Likewise.
12891         * elf/dl-misc.c: Likewise.
12892         * elf/dl-sysdep.c: Likewise.
12893         * elf/dl-version.c: Likewise.
12894         * elf/rtld.c: Likewise.
12895         * hurd/hurdsock.c: Likewise.
12896         * hurd/lookup-retry.c: Likewise.
12897         * malloc/malloc.c: Likewise.
12898         * malloc/mtrace.c: Likewise.
12899         * nscd/nscd_getgr_r.c: Likewise.
12900         * nscd/nscd_getpw_r.c: Likewise.
12901         * nscd/nscd_getserv_r.c: Likewise.
12902         * posix/getopt_init.c: Likewise.
12903         * posix/wordexp.c: Likewise.
12904         * stdio-common/_itoa.c: Likewise.
12905         * stdio-common/printf_fphex.c: Likewise.
12906         * stdio-common/vfprintf.c: Likewise.
12907         * string/_strerror.c: Likewise.
12908         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
12909         * sysdeps/i386/i686/hp-timing.h: Likewise.
12910         * sysdeps/mach/_strerror.c: Likewise.
12911         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
12912         * sysdeps/mach/hurd/sethostid.c: Likewise.
12913         * sysdeps/mach/hurd/xmknodat.c: Likewise.
12914         * sysdeps/mach/xpg-strerror.c: Likewise.
12915         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12916         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12917         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
12918         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
12919         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12920         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
12921         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
12922         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
12923         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
12924         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
12925         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
12926         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12927         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
12928         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12929         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12930         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
12931         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
12932         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
12933         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
12934         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12935         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
12937         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
12939         * stdio-common/_itoa.h: Moved to ...
12940         * sysdeps/generic/_itoa.h: Here.
12942         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
12944         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
12945         instead of "_itoa.h" and "_itowa.h".
12946         * stdio-common/vfprintf.: Likewise.
12948 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
12950         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
12951         <bits/wordsize.h>.
12952         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
12953         (__signbit): Likwise.
12954         (llrintf): Likwise.
12955         (llrint): Likwise.
12957 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
12959         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
12960         __WORDSIZE != 64.
12962 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
12964         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
12965         OVERFLOW_EXCEPTION_OK.
12966         * math/libm-test.inc ("Philosophy"): Update comment about
12967         exception testing.
12968         (OVERFLOW_EXCEPTION): Define.
12969         (OVERFLOW_EXCEPTION_OK): Likewise.
12970         (INVALID_EXCEPTION_OK): Renumber.
12971         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12972         (IGNORE_ZERO_INF_SIGN): Likewise.
12973         (test_exceptions): Handle FE_OVERFLOW.
12974         (exp10_test): Expect overflow exceptions.
12975         (exp2_test): Likewise.
12976         (expm1_test): Likewise.
12977         (nextafter_test): Likewise.
12978         (pow_test): Likewise.
12979         (scalbn_test): Likewise.
12980         (scalbln_test): Likewise.
12982 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
12984         * sysdeps/x86_64/bits/atomic.h
12985         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
12986         64bit integer.
12987         (atomic_exchange_acq): Likewise.
12988         (__arch_exchange_and_add_body): Likewise.
12989         (__arch_add_body): Likewise.
12990         (atomic_add_negative): Likewise.
12991         (atomic_add_zero): Likewise.
12993 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
12995         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
12996         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
12998 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
13000         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
13001         Check __x86_64__ instead of __WORDSIZE.
13003 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
13005         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
13007 2012-03-19  David S. Miller  <davem@davemloft.net>
13009         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13011         * sysdeps/sparc/fpu/fenv_private.h: New file.
13012         * sysdeps/sparc/fpu/math_private.h: Use it.
13013         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
13014         Remove.
13015         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
13016         (libc_feholdexcept_setroundl): Remove.
13017         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
13018         Remove.
13019         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
13020         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
13022 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
13024         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
13025         int64_t instead of long int.
13026         (INSERT_WORDS64): Likwise.
13028 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
13030         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
13031         _Unwind_GetCFA return to _Unwind_Ptr first.
13033 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
13035         [BZ #13629]
13036         * math/s_clog.c: Include <float.h>.
13037         (__clog): Scale large or subnormal inputs.
13038         * math/s_clogf.c: Likewise.
13039         * math/s_clogl.c: Likewise.
13040         * math/s_clog10.c: Include <float.h>.
13041         (M_LOG10_2): Define.
13042         (__clog10): Scale large or subnormal inputs.
13043         * math/s_clog10f.c: Likewise.
13044         * math/s_clog10l.c: Likewise.
13045         * math/libm-test.inc (clog_test): Add more tests.
13046         (clog10_test): Likewise.
13047         * sysdeps/i386/fpu/libm-test-ulps: Update.
13048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13050         [BZ #11451]
13051         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
13052         x and y.
13053         * math/libm-test.inc (atan2_test): Add another test.
13055         * Makerules (common-objdir-compile): Remove.
13056         * sysdeps/unix/Makefile (config-generated): Do not add
13057         $(unix-generated) to variable.
13058         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
13059         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
13060         Remove rule.
13061         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
13062         Likewise.
13063         [generic bits/local_lim.h] (before-compile): Do not append to
13064         variable.
13065         [generic bits/local_lim.h] (common-generated): Likewise.
13066         [generic sys/param.h] (before-compile): Do not append to variable.
13067         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
13068         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
13069         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
13070         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
13071         include.
13072         [generic sys/param.h] (sys/param.h-includes): Remove variable.
13073         [generic sys/param.h] (sys/param.h-includes): Remove rule.
13074         [generic sys/param.h] ($(addprefix
13075         $(common-objpfx),$(sys/param.h-includes))): Likewise.
13076         [generic sys/param.h] (common-generated): Do not append to
13077         variable.
13078         [generic sys/param.h] (sysdep_headers): Likewise.
13079         [generic bits/errno.h] (before-compile): Do not append to
13080         variable.
13081         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
13082         rule.
13083         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
13084         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
13085         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
13086         [generic bits/errno.h] (common-generated): Do not append to
13087         variable.
13088         [generic bits/ioctls.h] (before-compile): Do not append to
13089         variable.
13090         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
13091         rule.
13092         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
13093         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
13094         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
13095         rule.
13096         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
13097         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
13098         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
13099         [generic bits/ioctls.h] (common-generated): Do not append to
13100         variable.
13101         [generic sys/syscall.h] (syscall.h): Remove variable.
13102         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
13103         rule.
13104         [generic sys/syscall.h] (before-compile): Do not append to
13105         variable.
13106         [generic sys/syscall.h] (common-generated): Likewise.
13107         * sysdeps/unix/errnos-tmpl.c: Remove file.
13108         * sysdeps/unix/errnos.awk: Likewise.
13109         * sysdeps/unix/ioctls-tmpl.c: Likewise.
13110         * sysdeps/unix/ioctls.awk: Likewise.
13111         * sysdeps/unix/mk-local_lim.c: Likewise.
13112         * sysdeps/unix/snarf-ioctls: Likewise.
13114 2012-03-19  Richard Henderson  <rth@twiddle.net>
13116         * sysdeps/i386/fpu/fenv_private.h: New file.
13117         * sysdeps/i386/fpu/math_private.h: Use it.
13118         (math_opt_barrier, math_force_eval): Remove.
13119         (libc_feholdexcept_setround_53bit): Remove.
13120         (libc_feupdateenv_53bit): Remove.
13121         * sysdeps/x86_64/fpu/math_private.h: Likewise.
13122         (math_opt_barrier, math_force_eval): Remove.
13123         (libc_feholdexcept): Remove.
13124         (libc_feholdexcept_setround): Remove.
13125         (libc_fetestexcept, libc_fesetenv): Remove.
13126         (libc_feupdateenv_test): Remove.
13127         (libc_feupdateenv, libc_feholdsetround): Remove.
13128         (libc_feresetround): Remove.
13130         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
13131         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
13133         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
13134         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
13135         (libc_feupdateenv_testl): New.
13136         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
13137         (libc_feupdateenv_testf): New.
13138         (libc_feupdateenv): Use libc_feupdateenv_test.
13139         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
13140         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
13142         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
13143         (libc_feholdsetroundf, libc_feholdsetroundl): New.
13144         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
13145         (libc_feresetround_noex): New.
13146         (libc_feresetround_noexf): New.
13147         (libc_feresetround_noexl): New.
13148         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
13149         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
13150         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
13151         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
13152         SET_RESTORE_ROUND.
13153         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
13154         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
13155         (__cos): Likewise.
13156         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
13157         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
13158         SET_RESTORE_ROUND_NOEX.
13159         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
13160         SET_RESTORE_ROUND_NOEXF.
13161         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
13162         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
13163         (libc_feholdsetroundf): New.
13164         (libc_feresetround, libc_feresetroundf): New.
13166         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
13167         (libc_feholdexcept_setround_53bit): Convert from macro to function.
13168         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
13170         * sysdeps/generic/math_private.h: Include <fenv.h>.
13171         (default_libc_feholdexcept): New.
13172         (default_libc_feholdexcept_setround): New.
13173         (default_libc_fesetenv, default_libc_feupdateenv): New.
13174         (libc_feholdexcept): Only define if undefined.
13175         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
13176         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
13177         (libc_feholdexcept_setroundl): Likewise.
13178         (libc_feholdexcept_setround_53bit): Likewise.
13179         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
13180         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
13181         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
13182         (libc_feupdateenv_53bit): Likewise.
13183         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
13184         (libc_feholdexcept): Convert from macro to inline function.
13185         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
13186         (libc_fesetenv, libc_feupdateenv): Likewise.
13188         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
13189         not previously defined.
13190         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
13191         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
13192         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
13193         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
13194         * sysdeps/ieee754/flt-32/math_private.h: New file.
13195         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
13196         math_private.h below SET_FLOAT_WORD.
13197         (__isnan, __isinf_ns, __finite): Remove.
13198         (__isnanf, __isinf_nsf, __finitef): Remove.
13200 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
13202         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13204 2012-03-17  David S. Miller  <davem@davemloft.net>
13206         [BZ #6471]
13207         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
13208         for 2.16.
13210 2012-03-16  David S. Miller  <davem@davemloft.net>
13212         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
13213         warnings.
13215         [BZ #6471]
13216         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
13217         properly.
13218         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
13219         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
13220         sysdep_routines when subdir is sysvipc.
13221         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
13222         __getshmlba helper.
13224         * sysdeps/sparc/fpu/libm-test/ulps: Update.
13226 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
13228         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
13229         [__LP64__].
13231 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
13233         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
13234         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
13235         (__lround): Renamed to ...
13236         (__llround): This.  Replace long int with long long int.
13237         Define lround functions as aliases of llround functions.
13238         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
13240 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
13242         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
13243         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
13244         adresses to uintptr_t.  Replace "long int" and "unsigned long
13245         int" with "greg_t" on va_arg.
13247 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
13249         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
13250         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
13252         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
13253         Move e_machine check before EI_CLASS check.  Handle x32
13254         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
13255         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
13256         SKIP_EM_IA_64 and include
13257         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
13259         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
13260         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
13261         (add_system_dir): New macro.
13263         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
13264         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
13266 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
13268         [BZ #2551]
13269         [BZ #2552]
13270         [BZ #2553]
13271         [BZ #2554]
13272         [BZ #2562]
13273         [BZ #2563]
13274         [BZ #2565]
13275         [BZ #2566]
13276         [BZ #2576]
13277         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
13278         (y0): Likewise.
13279         * math/w_j0f.c (j0f): Likewise.
13280         (y0f): Likewise.
13281         * math/w_j0l.c (__j0l): Likewise.
13282         (__y0l): Likewise.
13283         * math/w_j1.c (j1): Likewise.
13284         (y1): Likewise.
13285         * math/w_j1f.c (j1f): Likewise.
13286         (y1f): Likewise.
13287         * math/w_j1l.c (__j1l): Likewise.
13288         (__y1l): Likewise.
13289         * math/w_jn.c (jn): Likewise.
13290         (yn): Likewise.
13291         * math/w_jnf.c (jnf): Likewise.
13292         (ynf): Likewise.
13293         * math/w_jnl.c (__jnl): Likewise.
13294         (__ynl): Likewise.
13295         * math/libm-test.inc (j0_test): Add more tests.
13296         (j1_test): Likewise.
13297         (jn_test): Likewise.  Add trailing semicolon to existing test.
13298         (y0_test): Likewise.
13299         (y1_test): Likewise.
13300         * sysdeps/i386/fpu/libm-test-ulps: Update.
13301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13303         [BZ #13851]
13304         [BZ #13854]
13305         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
13306         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
13307         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
13308         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
13309         (__tanl): Set errno for infinite argument.
13310         * sysdeps/i386/fpu/mptan.c: Remove.
13311         * sysdeps/i386/fpu/s_tan.S: Likewise.
13312         * sysdeps/i386/fpu/s_tanl.S: Likewise.
13313         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
13314         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
13315         * math/libm-test.inc (tan_test): Add more tests and enable more
13316         tests for double and long double.
13317         * sysdeps/i386/fpu/libm-test-ulps: Update.
13318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13320 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
13322         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
13323         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
13325 2012-03-16  Roland McGrath  <roland@hack.frob.com>
13327         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
13328         * configure.in: Use it for both main tree and add-ons.
13329         * configure: Regenerated.
13331 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
13333         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
13335 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
13337         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
13338         in comment.
13340         [BZ #13851]
13341         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
13342         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
13343         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13344         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
13345         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
13346         infinite argument.
13347         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
13348         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
13349         != 0 for prec == 2.
13350         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
13351         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
13352         * sysdeps/i386/fpu/s_cosl.S: Likewise.
13353         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
13354         * sysdeps/i386/fpu/s_sinl.S: Likewise.
13355         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
13356         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
13357         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
13358         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
13359         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
13360         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
13361         * math/libm-test.inc (cos_test): Add more tests and enable more
13362         tests for long double.
13363         (sin_test): Likewise.
13364         (sincos_test): Likewise.
13365         * sysdeps/i386/fpu/libm-test-ulps: Update.
13366         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13368 2012-03-16  David S. Miller  <davem@davemloft.net>
13370         * sysdeps/sparc/fpu/math_private.h: New file.
13372 2012-03-15  David S. Miller  <davem@davemloft.net>
13374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
13375         file.
13376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
13377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
13378         file.
13379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
13380         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
13381         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
13382         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
13383         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
13384         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
13385         sysdep routines.
13386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13388         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
13389         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
13391         * sysdeps/sparc/sparc-ifunc.h: New file.
13392         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
13393         sparc-ifunc.h
13394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
13396         Likewise.
13397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
13398         Likewise.
13399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
13400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
13401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13403         Likewise.
13404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
13406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
13408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
13409         Likewise.
13410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
13411         Likewise.
13412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
13414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
13415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
13416         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13417         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13418         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
13419         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
13420         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13421         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13422         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
13423         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
13424         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
13425         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
13426         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
13427         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
13428         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
13429         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
13430         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
13431         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
13432         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
13433         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
13434         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
13435         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
13437 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
13439         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
13440         scaling.
13441         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13443 2012-03-15  Andreas Jaeger  <aj@suse.de>
13445         [BZ #13852]
13446         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
13447         ieee754/flt-32 implementation for sin, cos and sincos.
13448         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
13449         * sysdeps/i386/fpu/s_cosf.S: Likewise.
13450         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
13451         * sysdeps/i386/fpu/s_sinf.S: Likewise.
13452         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
13453         ieee754/flt-32 implementation for tan.
13455         * math/libm-test.inc (cos_test): Enable some large input tests for
13456         float as well
13457         (sin_test): Likewise.
13458         (sincos_test): Likewise.
13459         (tan_test): Add tests for large input.
13461         * sysdeps/i386/fpu/libm-test-ulps: Update.
13463 2012-03-15  Andreas Jaeger  <aj@suse.de>
13465         [BZ #13658]
13466         * math/libm-test.inc (cos_test): Add more test cases.
13467         (sin_test): Likewise.
13468         (sincos_test): Likewise.
13470 2012-03-15  Andreas Jaeger  <aj@suse.de>
13472         [BZ #13837]
13473         * math/libm-test.inc (cos_test): Add a test case for large input
13474         value.
13475         (sin_test): Likewise.
13476         (sincos_test): Likewise.
13478 2012-03-15  Andreas Jaeger  <aj@suse.de>,
13479         Joseph Myers  <joseph@codesourcery.com>
13481         [BZ #13658]
13482         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
13483         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
13484         * sysdeps/i386/fpu/branred.c: Likewise.
13485         * sysdeps/i386/fpu/dosincos.c: Likewise.
13486         * sysdeps/i386/fpu/mpa.c: Likewise.
13487         * sysdeps/i386/fpu/s_cos.S: Likewise.
13488         * sysdeps/i386/fpu/s_sin.S: Likewise.
13489         * sysdeps/i386/fpu/s_sincos.S: Likewise.
13490         * sysdeps/i386/fpu/sincos32.c: Likewise.
13492         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
13493         Define.
13494         (libc_feupdateenv_53bit): Define.
13495         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
13496         Define.
13497         (libc_feupdateenv_53bit): Define.
13499         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
13500         53 bit (without extend i386 double precision).
13502         * math/libm-test.inc (sincos_test): Add tests for large input.
13503         (sin): Likewise.
13504         (cos): Likewise.
13506         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13508 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
13510         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13512 2012-03-15  David S. Miller  <davem@davemloft.net>
13514         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
13515         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
13516         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
13517         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
13518         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
13519         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
13520         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
13521         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
13522         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
13523         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
13524         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
13525         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
13526         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
13527         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
13528         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
13529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
13530         file.
13531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
13532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
13533         file.
13534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
13535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
13536         file.
13537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
13538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
13539         file.
13540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
13541         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
13542         fmin/fmax sysdep routines.
13543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13545 2012-03-14  David S. Miller  <davem@davemloft.net>
13547         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
13548         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
13549         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
13550         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
13551         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
13552         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
13553         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
13554         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
13555         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
13556         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
13557         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
13558         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
13559         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
13560         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
13561         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
13562         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
13563         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
13564         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
13565         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
13566         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
13567         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
13568         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
13569         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
13570         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
13571         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
13572         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
13573         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
13574         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
13575         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
13576         routines.
13577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
13578         file.
13579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
13580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
13581         file.
13582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
13583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
13584         file.
13585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
13586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
13587         file.
13588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
13589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
13590         file.
13591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
13592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
13593         file.
13594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
13595         file.
13596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
13597         file.
13598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
13599         file.
13600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
13601         New file.
13602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
13603         file.
13604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
13605         file.
13606         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
13607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
13608         file.
13609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
13610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
13611         file.
13612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
13613         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
13614         file.
13615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
13616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
13617         VIS3 routines.
13619         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13620         New file.
13622         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13624         * sysdeps/sparc/configure.in: New file.
13625         * sysdeps/sparc/configure: Generate.
13626         * configure.in (libc_cv_sparc_as_vis3): Substitute.
13627         * configure: Regenerate.
13628         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
13629         * config.make.in (have-as-vis3): New.
13630         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
13631         available use -Av9d instead of -Av9a.
13632         * sysdeps/sparc/sparc64/Makefile: Likewise.
13633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
13634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
13635         New file.
13636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
13637         file.
13638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
13639         New file.
13640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
13641         file.
13642         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
13643         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
13644         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
13645         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
13646         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
13648         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
13649         fzeros/fnegs to load 0x80000000 into a float register instead of
13650         using the stack.
13651         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
13653 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
13655         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13656         bits/syscall.h.
13657         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
13658         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
13659         ($(inst_includedir)/bits/syscall.h): Remove rule.
13660         ($(objpfx)bits/syscall.d): Include instead of
13661         $(objpfx)syscall-list.d.
13662         (generated): Change syscall-list.h and syscall-list.d to
13663         bits/syscall.h and bits/syscall.d.
13665 2012-03-14  Roland McGrath  <roland@hack.frob.com>
13667         [BZ #13846]
13668         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
13670 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
13672         [BZ #13841]
13673         * math/s_csqrt.c: Include <float.h>.
13674         (__csqrt): Scale large or subnormal inputs.
13675         * math/s_csqrtf.c: Likewise.
13676         * math/s_csqrtl.c: Likewise.
13677         * math/libm-test.inc (csqrt_test): Add more tests.
13678         * sysdeps/i386/fpu/libm-test-ulps: Update.
13679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13681         [BZ #13840]
13682         * math/libm-test.inc (hypot_test): Add more tests.
13684 2012-03-13  David S. Miller  <davem@davemloft.net>
13686         [BZ #13840]
13687         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
13688         double-precision for the calculation instead of scaling.
13690 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
13692         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
13693         manipulate bits before adding and subtracting TWO52[sx].
13694         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
13695         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
13696         Likewise.
13697         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
13699 2012-03-13  David S. Miller  <davem@davemloft.net>
13701         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
13702         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
13703         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
13704         rtld-global-offsets.h
13705         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13707         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
13708         large parameters.
13710         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
13712         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
13713         'err' in the ifdef scope in which it is actually used.
13715         * nss/nss_db/db-init.c: Include string.h
13717 2012-03-12  David S. Miller  <davem@davemloft.net>
13719         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13720         masking out of the most significant byte of random value used.
13721         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13722         Fix coding style in previous change.
13724         * sysdeps/unix/sysv/linux/kernel-features.h
13725         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
13726         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
13727         expression.
13728         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
13729         later.
13731 2012-03-11  David S. Miller  <davem@davemloft.net>
13733         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13734         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
13735         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
13736         for 'resultvar' otherwise things get truncated on 64-bit.
13738         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13739         Fix masking out of the most significant byte of random value used.
13741         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13743 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
13745         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13747 2012-03-09  David S. Miller  <davem@davemloft.net>
13749         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
13750         variables with appropriate CPP guards.
13751         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
13752         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
13753         on resulting framesize and the management of the outregs buffer for pltexit.
13754         Preserve floating point return values across _dl_call_pltexit call.
13755         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
13756         framesize and the management of the outregs buffer for pltexit.
13757         Preserve floating point return values across _dl_call_pltexit
13758         call.
13759         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
13760         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
13761         (print_exit): Fix format string for return register value.
13763 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
13765         * sunrpc/Makefile (others): Add rpcgen.
13766         ($(objpfx)rpcgen): Remove special build rule and dependency on
13767         libc.
13768         * sunrpc/rpcgen.c: New file.
13770 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
13772         [BZ #13673]
13773         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
13774         * stdio-common/bug-vfprintf-nargs.c: Likewise.
13775         * sysdeps/i386/crti.S: Likewise.
13776         * sysdeps/i386/crtn.S: Likewise.
13777         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
13778         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
13779         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
13780         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
13781         * sysdeps/sh/crti.S: Likewise.
13782         * sysdeps/sh/crtn.S: Likewise.
13783         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13785         [BZ #13673]
13786         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
13787         with URL.
13788         * locale/programs/locfile-kw.gperf: Likewise.
13789         * locale/programs/charmap-kw.h: Regenerated.
13790         * locale/programs/locfile-kw.h: Likewise.
13792         [BZ #13673]
13793         * intl/plural.y: Replace FSF snail mail address with URL.
13794         * intl/plural.c: Regenerated.
13796 2012-03-09  Richard Henderson  <rth@twiddle.net>
13798         * include/math_private.h: Remove file.
13799         * math/math_private.h: Move file ...
13800         * sysdeps/generic/math_private.h: ... here.
13802         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
13803         * sysdeps/powerpc/fpu/math_private.h: Likewise.
13804         * sysdeps/x86_64/fpu/math_private.h: Likewise.
13806         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
13807         and <math_private.h>.
13808         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13809         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13810         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13811         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13812         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13813         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
13814         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13815         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13816         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13817         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13818         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13819         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13820         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13821         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13822         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13823         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13824         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13825         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13826         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13827         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13828         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13829         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13830         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13831         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13832         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13833         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13834         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13835         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13836         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13837         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13838         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13839         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13840         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13841         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13842         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13843         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13844         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13845         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13846         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13847         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13848         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
13849         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13850         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13851         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13852         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13853         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13854         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13855         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13856         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13857         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13858         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13859         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13860         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13861         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13862         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13863         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13864         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13865         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13866         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13867         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
13868         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13869         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13870         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13871         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13872         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
13873         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13874         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13875         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13876         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
13877         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
13878         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13879         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13880         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13881         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13882         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
13883         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
13884         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
13885         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13886         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
13887         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13888         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13889         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13890         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13891         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13892         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13893         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
13894         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
13895         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
13896         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13897         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13898         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13899         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13900         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13901         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13902         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13903         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13904         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13905         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13906         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13907         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13908         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13909         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13910         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13911         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13912         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13913         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13914         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13915         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13916         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13917         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13918         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13919         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13920         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13921         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13922         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
13923         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13924         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13925         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13926         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13927         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13928         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13929         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13930         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13931         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
13932         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13933         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13934         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13935         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
13936         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13937         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13938         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13939         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13940         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13941         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13942         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13943         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13944         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13945         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13946         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
13947         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13948         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13949         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13950         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13951         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
13952         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
13953         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13954         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13955         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13956         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
13957         * sysdeps/ieee754/k_standard.c: Likewise.
13958         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13959         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13960         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13961         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13962         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13963         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13964         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13965         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13966         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13967         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13968         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13969         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13970         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13971         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13972         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13973         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13974         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13975         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13976         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13977         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
13978         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13979         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13980         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13981         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13982         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13983         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13984         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13985         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13986         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13987         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13988         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13989         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13990         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13991         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13992         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13993         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13994         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13995         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
13996         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
13997         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13998         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13999         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14000         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14001         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14002         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14003         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14004         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14005         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14006         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14007         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14008         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14009         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14010         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
14011         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
14012         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14013         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14014         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
14015         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
14016         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14017         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14018         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14019         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14020         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
14021         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14022         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14023         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14024         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14025         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14026         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14027         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14028         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14029         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14030         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14031         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14032         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14033         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14034         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
14035         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14036         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14037         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14038         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14039         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14040         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14041         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14042         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
14043         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
14044         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
14045         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
14046         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14047         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14048         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
14049         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
14050         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
14051         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14052         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
14053         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
14054         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
14055         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
14056         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
14057         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
14058         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
14059         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
14060         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14061         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14062         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
14063         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14064         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14065         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
14066         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
14067         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
14068         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14069         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
14070         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14071         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14072         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14073         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14074         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14075         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14076         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14077         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14078         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14079         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14080         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14081         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14082         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14083         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
14084         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14085         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
14086         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
14087         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14088         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14089         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14090         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14091         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14092         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
14093         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
14094         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
14095         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14096         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14097         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
14098         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
14099         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14100         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
14101         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
14102         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
14103         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14104         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14105         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14106         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14107         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
14108         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14109         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14110         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
14111         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14112         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
14113         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
14114         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
14115         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14116         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
14117         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14118         * sysdeps/ieee754/s_lib_version.c: Likewise.
14119         * sysdeps/ieee754/s_matherr.c: Likewise.
14120         * sysdeps/ieee754/s_signgam.c: Likewise.
14121         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14122         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14123         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
14124         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
14125         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
14126         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
14127         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
14128         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
14129         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
14130         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
14131         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14132         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
14133         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
14134         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14135         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
14136         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14137         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14138         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14139         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14140         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14141         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14143 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
14145         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
14146         * sunrpc/rpc_main.c: Likewise.
14147         * sunrpc/rpc_svcout.c: Likewise.
14149 2012-03-09  David S. Miller  <davem@davemloft.net>
14151         * include/math_private.h: New file.
14153 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
14155         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
14156         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
14157         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
14158         from <bits/socket_type.h>.
14159         (enum __socket_type): Don't define here.
14160         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
14161         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14162         bits/socket_type.h.
14164         [BZ #13566]
14165         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
14166         checking __USE_GNU.
14168         * Makerules ($(inst_includedir)/%.h): New rule.
14169         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
14170         (install-others): Remove variable setting.
14171         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
14173 2012-03-08  Richard Henderson  <rth@twiddle.net>
14175         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
14176         from macro to inline function; merge with the
14177         !__LIBC_INTERNAL_MATH_INLINES version.
14178         (__ieee754_sqrtf): Likewise.
14180         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
14181         to inline function.
14182         (__rintf, __floor, __floorf): Likewise.
14184         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
14185         macro to inline function.
14186         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
14188         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
14189         not <math/math_private.h>.
14191 2012-03-08  David S. Miller  <davem@davemloft.net>
14193         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
14194         copyright year.
14195         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
14197 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
14199         * resolv/gai_misc.c (handle_requests): Fix struct timespec
14200         normalization.
14201         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
14202         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
14204 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
14206         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
14207         be defined individually, they must be defined as a block.  Define
14208         S for printing a string instead of hidint the different by using a
14209         macro for adding the 'l'.
14210         * stdio-common/tst-fphex-wide.c: Adjust.
14212 2012-03-07  Marek Polacek  <polacek@redhat.com>
14214         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
14216 2012-03-08  Marek Polacek  <polacek@redhat.com>
14218         [BZ #13806]
14219         * stdio-common/Makefile (tests): Add tst-fphex-wide.
14220         * stdio-common/tst-fphex.c: Define a few macros to make the
14221         test reusable.  Use them.
14222         * stdio-common/tst-fphex-wide.c: New file.
14224 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
14226         [BZ #6911]
14227         * manual/macros.texi (gnusystems): New macro.
14228         (nongnusystems): Likewise.
14229         (gnulinuxhurdsystems): Likewise.
14230         (gnuhurdsystems): Likewise..
14231         (gnulinuxsystems): Likewise.
14232         * manual/charset.texi: Use new macros or @theglibc{} to refer to
14233         variants of the GNU system, not "GNU system".
14234         * manual/conf.texi: Likewise.
14235         * manual/errno.texi: Likewise.  Update example of errno macro
14236         expansion.
14237         * manual/filesys.texi: Likewise.
14238         (getumask): Document as specific to GNU/Hurd.
14239         * manual/install.texi: Likewise.  Reword some references to
14240         GNU/Linux.
14241         * manual/intro.texi: Likewise.
14242         * manual/io.texi: Likewise.
14243         (File Name Portability): Detail which constraints are inapplicable
14244         to all GNU systems and which are only inapplicable to GNU/Hurd.
14245         * manual/job.texi: Likewise.
14246         * manual/llio.texi: Likewise.
14247         (O_NOCTTY): Document as present on GNU/Linux.
14248         * manual/maint.texi: Likewise.
14249         * manual/memory.texi: Likewise.
14250         * manual/pattern.texi: Likewise.
14251         * manual/pipe.texi: Likewise.
14252         * manual/process.texi: Likewise.
14253         * manual/resource.texi: Likewise.
14254         (RUSAGE_CHILDREN): Remove statement about specifying a particular
14255         child on GNU/Hurd.
14256         * manual/setjmp.texi: Likewise.
14257         * manual/signal.texi: Likewise.
14258         * manual/startup.texi: Likewise.
14259         * manual/stdio.texi: Likewise.
14260         * manual/terminal.texi: Likewise.
14261         (ONLCR): Document as POSIX.
14262         (OXTABS): Document availability on GNU/Linux as XTABS.
14263         (ONOEOT): Document availability separately from other bits.
14264         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
14265         * manual/time.texi: Likewise.
14266         * manual/users.texi: Likewise.
14267         * INSTALL: Regenerated.
14268         * sysdeps/gnu/errlist.c: Regenerated.
14270         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
14271         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
14272         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
14273         puts.
14274         * configure: Regenerated.
14276 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
14278         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
14279         default includes instead of AC_HEADER_CHECK.
14280         * sysdeps/i386/configure: Regenerated.
14282         [BZ #10716]
14283         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
14284         * math/s_cacoshf.c (__cacoshf): Likewise.
14285         * math/s_cacoshl.c (__cacoshl): Likewise.
14286         * math/s_casinh.c (__casinh): Set signs of result from argument.
14287         * math/s_casinhf.c (__casinhf): Likewise.
14288         * math/s_casinhl.c (__casinhl): Likewise.
14289         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
14290         (casinh_test): Add more tests.
14291         * sysdeps/i386/fpu/libm-test-ulps: Update.
14292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14294 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
14296         * po/zh_TW.po: Update from translation team.
14298         * login/Makefile (distribute): Remove variable.
14299         * catgets/Makefile: Likewise.
14300         * mach/Makefile: Likewise.
14301         * malloc/Makefile: Likewise.
14302         * misc/Makefile: Likewise.
14303         * iconv/Makefile: Likewise.
14304         * nscd/Makefile: Likewise.
14305         * hurd/Makefile: Likewise.
14306         * manual/Makefile: Likewise.
14307         * locale/Makefile: Likewise.
14308         * intl/Makefile: Likewise.
14309         * conform/Makefile: Likewise.
14310         * nss/Makefile: Likewise.
14311         * time/Makefile: Likewise.
14312         * soft-fp/Makefile: Likewise.
14313         * dirent/Makefile: Likewise.
14314         * gmon/Makefile: Likewise.
14315         * po/Makefile: Likewise.
14316         * rt/Makefile: Likewise.
14317         * socket/Makefile: Likewise.
14318         * math/Makefile: Likewise.
14319         * signal/Makefile: Likewise.
14320         * debug/Makefile: Likewise.
14321         * elf/Makefile: Likewise.
14322         * timezone/Makefile: Likewise.
14323         * stdlib/Makefile: Likewise.
14324         * iconvdata/Makefile: Likewise.
14325         * sunrpc/Makefile: Likewise.
14326         * io/Makefile: Likewise.
14327         * argp/Makefile: Likewise.
14328         * inet/Makefile: Likewise.
14329         * hesiod/Makefile: Likewise.
14330         * grp/Makefile: Likewise.
14331         * csu/Makefile: Likewise.
14332         * wctype/Makefile: Likewise.
14333         * crypt/Makefile: Likewise.
14334         * libio/Makefile: Likewise.
14335         * string/Makefile: Likewise.
14336         * nis/Makefile: Likewise.
14337         * resolv/Makefile: Likewise.
14338         * stdio-common/Makefile: Likewise.
14339         * wcsmbs/Makefile: Likewise.
14340         * dlfcn/Makefile: Likewise.
14341         * posix/Makefile: Likewise.
14343         [BZ #6959]
14344         * timezone/Makefile: Don't install timezone files, just the programs
14345         and scripts.
14347 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
14349         * nss/databases.def: Add missing gshadow entry.
14351         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
14353 2012-03-06  Marek Polacek  <polacek@redhat.com>
14355         [BZ #13726]
14356         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
14357         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14358         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
14359         * stdio-common/tst-long-dbl-fphex.c: New file.
14361 2012-03-06  David S. Miller  <davem@davemloft.net>
14363         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14364         (set_obp_int): New function.
14365         (get_obp_int): New function.
14366         (__get_clockfreq_via_dev_openprom): Likewise.
14367         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
14368         Avoid unused variable warnings on 'val' and use builtin_expect.
14369         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
14370         __builtin_expect.
14371         (INLINE_CLONE_SYSCALL): Likewise.
14373 2012-03-05  David S. Miller  <davem@davemloft.net>
14375         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14377 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
14379         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14381         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
14382         only for |x| >= 40.
14383         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14385 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
14387         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
14388         Replace gettimeofday with __vdso_gettimeofday.
14390         * sysdeps/unix/sysv/linux/x86_64/init-first.c
14391         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
14392         __vdso_clock_gettime and __vdso_getcpu.
14394         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
14395         time with __vdso_time.
14397 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
14399         * manual/lang.texi (size_t): Note types to which size_t may be
14400         equivalent with the GNU C Library, but do not describe when
14401         differences between them are significant.
14403 2012-03-05  Andreas Jaeger  <aj@suse.de>
14405         * sysdeps/i386/fpu/libm-test-ulps: Update.
14407 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
14409         [BZ #3976]
14410         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
14411         (__ieee754_pow): Save and restore rounding mode and use
14412         round-to-nearest for main computations.
14413         * math/libm-test.inc (pow_test_tonearest): New function.
14414         (pow_test_towardzero): Likewise.
14415         (pow_test_downward): Likewise.
14416         (pow_test_upward): Likewise.
14417         (main): Call the new functions.
14418         * sysdeps/i386/fpu/libm-test-ulps: Update.
14419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14421         [BZ #3976]
14422         * math/libm-test.inc (cosh_test_tonearest): New function.
14423         (cosh_test_towardzero): Likewise.
14424         (cosh_test_downward): Likewise.
14425         (cosh_test_upward): Likewise.
14426         (sinh_test_tonearest): Likewise.
14427         (sinh_test_towardzero): Likewise.
14428         (sinh_test_downward): Likewise.
14429         (sinh_test_upward): Likewise.
14430         (main): Call the new functions.
14431         * sysdeps/i386/fpu/libm-test-ulps: Update.
14432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14434 2012-03-05  Tom de Vries  <tom@codesourcery.com>
14436         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
14437         default stack guard is set in last bytes.
14438         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
14440 2012-03-05  Kees Cook  <keescook@chromium.org>
14442         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
14444         [BZ #13656]
14445         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
14446         possibly allocate from heap instead of stack.
14447         * stdio-common/bug-vfprintf-nargs.c: New file.
14448         * stdio-common/Makefile (tests): Add nargs overflow test.
14450 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
14452         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14454 2012-03-03  Marek Polacek  <polacek@redhat.com>
14456         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
14457         * math/math_private.h: Likewise.
14458         * stdlib/tst-strtod.c: Likewise.
14459         * sysdeps/i386/i486/bits/atomic.h: Likewise.
14460         * sysdeps/x86_64/bits/atomic.h: Likewise.
14462 2012-03-02  David S. Miller  <davem@davemloft.net>
14464         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
14465         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
14466         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
14467         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
14468         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
14469         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
14470         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
14471         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
14473 2012-03-02  Roland McGrath  <roland@hack.frob.com>
14475         [BZ #13792]
14476         * manual/examples/README: New file, says the example source files
14477         can be used under GPL>=2.
14478         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
14479         line containing just "*/".
14480         * manual/examples/add.c: Add copyright header (GPL>=2).
14481         * manual/examples/argp-ex1.c: Likewise.
14482         * manual/examples/argp-ex2.c: Likewise.
14483         * manual/examples/argp-ex3.c: Likewise.
14484         * manual/examples/argp-ex4.c: Likewise.
14485         * manual/examples/atexit.c: Likewise.
14486         * manual/examples/db.c: Likewise.
14487         * manual/examples/dir.c: Likewise.
14488         * manual/examples/dir2.c: Likewise.
14489         * manual/examples/execinfo.c: Likewise.
14490         * manual/examples/filecli.c: Likewise.
14491         * manual/examples/filesrv.c: Likewise.
14492         * manual/examples/fmtmsgexpl.c: Likewise.
14493         * manual/examples/genpass.c: Likewise.
14494         * manual/examples/inetcli.c: Likewise.
14495         * manual/examples/inetsrv.c: Likewise.
14496         * manual/examples/isockad.c: Likewise.
14497         * manual/examples/longopt.c: Likewise.
14498         * manual/examples/memopen.c: Likewise.
14499         * manual/examples/memstrm.c: Likewise.
14500         * manual/examples/mkfsock.c: Likewise.
14501         * manual/examples/mkisock.c: Likewise.
14502         * manual/examples/mygetpass.c: Likewise.
14503         * manual/examples/pipe.c: Likewise.
14504         * manual/examples/popen.c: Likewise.
14505         * manual/examples/rprintf.c: Likewise.
14506         * manual/examples/search.c: Likewise.
14507         * manual/examples/select.c: Likewise.
14508         * manual/examples/setjmp.c: Likewise.
14509         * manual/examples/sigh1.c: Likewise.
14510         * manual/examples/sigusr.c: Likewise.
14511         * manual/examples/stpcpy.c: Likewise.
14512         * manual/examples/strdupa.c: Likewise.
14513         * manual/examples/strftim.c: Likewise.
14514         * manual/examples/strncat.c: Likewise.
14515         * manual/examples/subopt.c: Likewise.
14516         * manual/examples/swapcontext.c: Likewise.
14517         * manual/examples/termios.c: Likewise.
14518         * manual/examples/testopt.c: Likewise.
14519         * manual/examples/testpass.c: Likewise.
14520         * manual/examples/timeval_subtract.c: Likewise.
14522         [BZ #13792]
14523         * manual/time.texi (Elapsed Time): Move timeval_subtract example
14524         function to ...
14525         * manual/timeval_subtract.c.texi: ... here, new file.
14527 2012-03-02  David S. Miller  <davem@davemloft.net>
14529         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
14531 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
14533         [BZ #3976]
14534         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
14535         (__sin): Save and restore rounding mode and use round-to-nearest
14536         for all computations.
14537         (__cos): Save and restore rounding mode and use round-to-nearest
14538         for all computations.
14539         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
14540         <fenv.h>.
14541         (tan): Save and restore rounding mode and use round-to-nearest for
14542         all computations.
14543         * math/libm-test.inc (cos_test_tonearest): New function.
14544         (cos_test_towardzero): Likewise.
14545         (cos_test_downward): Likewise.
14546         (cos_test_upward): Likewise.
14547         (sin_test_tonearest): Likewise.
14548         (sin_test_towardzero): Likewise.
14549         (sin_test_downward): Likewise.
14550         (sin_test_upward): Likewise.
14551         (tan_test_tonearest): Likewise.
14552         (tan_test_towardzero): Likewise.
14553         (tan_test_downward): Likewise.
14554         (tan_test_upward): Likewise.
14555         (main): Call the new functions.
14556         * sysdeps/i386/fpu/libm-test-ulps: Update.
14557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14559         [BZ #10135]
14560         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
14561         small n, then large n, before computing and testing k+n.
14562         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14563         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
14564         Likewise.
14565         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
14566         Likewise.
14567         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
14568         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
14569         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
14570         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
14571         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14572         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14573         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
14574         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
14575         * math/libm-test.inc (scalbn_test): Add more tests.
14576         (scalbln_test): Likewise.
14578         * manual/filesys.texi (mode_t): Describe constraints on size and
14579         signedness, not exact equivalence to a particular type.
14580         (ino_t): Likewise.
14581         (ino64_t): Likewise.
14582         (dev_t): Likewise.
14583         (nlink_t): Likewise.
14584         (blkcnt_t): Likewise.
14585         (blkcnt64_t): Likewise.
14586         * manual/llio.texi (off_t): Likewise.
14588         [BZ #3976]
14589         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
14590         (__ieee754_exp): Save and restore rounding mode and use
14591         round-to-nearest for all computations.
14592         * math/libm-test.inc (exp_test_tonearest): New function.
14593         (exp_test_towardzero): Likewise.
14594         (exp_test_downward): Likewise.
14595         (exp_test_upward): Likewise.
14596         (main): Call the new functions.
14597         * sysdeps/i386/fpu/libm-test-ulps: Update.
14598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14600 2012-03-01  Chris Demetriou  <cgd@google.com>
14602         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
14603         have predictable order.
14605 2012-03-01  David S. Miller  <davem@davemloft.net>
14607         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
14609         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
14610         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
14611         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
14612         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
14614         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
14615         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
14616         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
14617         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
14618         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
14619         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
14620         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
14621         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
14622         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
14624         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14626         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
14627         * sysdeps/sparc/fpu/libm-test-ulps: to here.
14628         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
14630         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
14631         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14632         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14633         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
14634         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
14635         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
14636         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
14637         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14638         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14639         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
14640         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
14641         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14642         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14643         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14644         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14645         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14646         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
14647         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
14648         * sysdeps/sparc/elf/configure: Regenerated.
14650 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
14652         * configure.in (AS, LD): Require binutils 2.20 or later.
14653         * configure: Regenerated.
14654         * manual/install.texi (Tools for Compilation): Give binutils 2.20
14655         as required minimum version.
14656         * INSTALL: Regenerated.
14658         [BZ #2541]
14659         [BZ #4108]
14660         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
14661         before squaring exponent.
14662         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
14663         bottom long double and 27 bits of top long double before squaring
14664         exponent.
14665         * math/libm-test.inc (erfc_test): Add more tests.
14666         * sysdeps/i386/fpu/libm-test-ulps: Update.
14667         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14668         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14670 2012-03-01  Kai Tietz  <ktietz@redhat.com>
14672         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
14673         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
14674         containing bit-fields.
14675         * soft-fp/extended.h (_FP_UNION_E): Likewise.
14676         * soft-fp/single.h (_FP_UNION_S): Likewise.
14677         * soft-fp/double.h (_FP_UNION_D): Likewise.
14679 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
14681         [BZ #13786]
14682         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
14683         not include ../strcmp.S.
14684         [USE_AS_STRNCASECMP_L]: Likewise.
14685         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
14686         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
14687         * sysdeps/i386/i686/multiarch/strncase_l-c.c
14688         (__strncasecmp_l_ia32): Define as alias to
14689         __strncasecmp_l_nonascii.
14691         [BZ #5794]
14692         * math/libm-test.inc (expm1_test): Add test for bug 5794.
14693         * sysdeps/i386/fpu/libm-test-ulps: Update.
14694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14696         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
14697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14699 2012-02-29  Jeff Law  <law@redhat.com>
14701         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
14702         out of bounds read.
14704 2012-02-29  Marek Polacek  <polacek@redhat.com>
14706         [BZ #13706]
14707         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
14708         * elf/Makefile: Add rules to run tst-unused-dep.out.
14710 2012-02-28  David S. Miller  <davem@davemloft.net>
14712         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
14713         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
14714         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
14715         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
14716         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
14717         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
14719 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
14721         * math/libm-test.inc (llround_test): Move one test from
14722         lround_test.  Use TEST_f_L in moved test.
14723         (lround_test): Move misplaced test to llround_test.  Add testcase
14724         from bug 2561.
14726 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
14728         * sysdeps/x86_64/fpu/e_expf.S: New file.
14729         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
14731 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
14733         [BZ #13637]
14734         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
14735         of remain_len that may cause incomplete multi-byte character and
14736         false match.
14737         * posix/bug-regex33.c: New file.
14738         * posix/Makefile (tests): Add bug-regex33.
14740 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
14742         * manual/macros.texi: New file.
14743         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
14744         * manual/libc.texinfo: Include macros.texi.
14745         * manual/creatute.texi: Likewise.
14746         * manual/install.texi: Likewise.
14747         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
14748         @glibcadj{} in references to the GNU C Library.
14749         * manual/charset.texi: Likewise.
14750         * manual/conf.texi: Likewise.
14751         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
14752         when not using those macros.
14753         * manual/creature.texi: Likewise.
14754         * manual/crypt.texi: Likewise.
14755         * manual/errno.texi: Likewise.
14756         * manual/filesys.texi: Likewise.
14757         * manual/header.texi: Likewise.
14758         * manual/install.texi: Likewise.
14759         * manual/intro.texi: Likewise.
14760         * manual/io.texi: Likewise.
14761         * manual/job.texi: Likewise.
14762         * manual/lang.texi: Likewise.
14763         * manual/libc.texiinfo: Likewise.
14764         * manual/llio.texi: Likewise.
14765         * manual/locale.texi: Likewise.
14766         * manual/maint.texi: Likewise.
14767         * manual/math.texi: Likewise.
14768         * manual/memory.texi: Likewise.
14769         * manual/message.texi: Likewise.
14770         * manual/nss.texi: Likewise.
14771         * manual/pattern.texi: Likewise.
14772         * manual/process.texi: Likewise.
14773         * manual/resource.texi: Likewise.
14774         * manual/search.texi: Likewise.
14775         * manual/setjmp.texi: Likewise.
14776         * manual/signal.texi: Likewise.
14777         * manual/socket.texi: Likewise.
14778         * manual/startup.texi: Likewise.
14779         * manual/stdio.texi: Likewise.
14780         * manual/string.texi: Likewise.
14781         * manual/sysinfo.texi: Likewise.
14782         * manual/syslog.texi: Likewise.
14783         * manual/terminal.texi: Likewise.
14784         * manual/time.texi: Likewise.
14785         * manual/users.texi: Likewise.
14786         * INSTALL: Regenerated.
14787         * NOTES: Regenerated.
14788         * sysdeps/gnu/errlist.c: Regenerated.
14790 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
14792         * include/dirent.h: Include <dirstream.h> before
14793         <dirent/dirent.h>.
14795 2012-02-28  David S. Miller  <davem@davemloft.net>
14797         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
14798         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
14799         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
14800         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
14802 2012-02-27  David S. Miller  <davem@davemloft.net>
14804         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
14805         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
14806         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
14807         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
14809         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
14810         frame pointer instead of stack pointer relative arg slot.
14811         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14812         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14813         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14815 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
14817         [BZ #3992]
14818         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
14820 2012-02-27  David S. Miller  <davem@davemloft.net>
14822         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
14823         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14824         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14825         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
14826         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14827         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14828         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
14829         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
14831 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
14833         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
14834         later.  Allow versions 5-9.
14835         * configure: Regenerated.
14836         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
14837         required minimum version and 4.6 as recommended version.  Do not
14838         mention bugs in GCC 2.7 and 2.8.
14839         * INSTALL: Regenerated.
14841 2012-02-27  David S. Miller  <davem@davemloft.net>
14843         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
14844         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
14845         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
14846         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
14847         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
14848         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
14849         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
14850         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
14852         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
14853         manipulate bits before adding and subtracting TWO112[sx].
14854         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14856 2012-02-27  Roland McGrath  <roland@hack.frob.com>
14858         [BZ #13775]
14859         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
14860         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
14861         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
14862         being in POSIX, because they are in 1003.1-2008.
14864         * rt/tst-aio.c: Include <fcntl.h>.
14865         * rt/tst-aio7.c: Likewise.
14866         * rt/tst-aio64.c: Likewise.
14868         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
14870 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
14872         * manual/install.texi (--with-headers): Describe headers as
14873         interface headers, not private headers.
14874         (Specific advice for GNU/Linux systems): Describe use of headers
14875         from "make headers_install", not private headers from older
14876         kernels.
14877         * INSTALL: Regenerated.
14878         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
14879         Change to 2.6.19.
14880         * sysdeps/unix/sysv/linux/configure: Regenerated.
14882         * manual/llio.texi (fclean): Remove documentation.
14884         * manual/Makefile (libc-texi-generated): New variable.  Include
14885         version.texi.
14886         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
14887         $(libc-texi-generated), not duplicated list of files.
14888         (version.texi, stamp-version): New rules.
14889         (realclean): Remove $(libc-texi-generated), not individual files
14890         from that list.  Do not remove dir-add.texinfo.
14891         * manual/libc.texinfo: Comment out uses of edition numbers and
14892         references to printed manual.  Remove last-updated dates.
14893         (EDITION): Comment out.
14894         (ISBN): Likewise.
14895         (VERSION, UPDATED): Remove.
14896         (version.texi): Include.
14898 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
14900         * sysdeps/posix/spawni.c: Include <signal.h>.
14901         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
14902         * sysdeps/pthread/aio_fsync.c: Likewise.
14904 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
14906         * conform/Makefile (tests): Run only when not cross-compiling and
14907         when fast-check is not defined.
14909         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
14910         * conform/data/limits.h-data: Fixes for POSIX2008.
14911         * conform/run-conformtest.sh: Run all tests.
14912         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
14913         headers.
14914         * include/bits/dlfcn.h: Likewise.
14915         * include/langinfo.h: Likewise.
14916         * include/monetary.h: Likewise.
14917         * include/sys/poll.h: Likewise.
14919         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
14920         for __USE_GNU.
14921         * posix/spawn.h: Define __need_sigset_t.
14922         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
14923         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
14924         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
14925         to get sigevent_t only.
14926         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
14927         only for __USE_GNU.
14928         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14929         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14930         process_vm_writev only for __USE_GNU.
14931         * termios/termios.h: Declare tcgetsid also for POSIX2008.
14933         * conform/Makefile: For now ignore errors from run-conformtest.
14934         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
14935         POSIX to avoid namespace pollution.  Don't prepend headers.
14936         * conform/data/aio.h-data: Fixes for POSIX testing.
14937         * conform/data/fcntl.h-data: Likewise.
14938         * conform/data/glob.h-data: Likewise.
14939         * conform/data/grp.h-data: Likewise.
14940         * conform/data/pthread.h-data: Likewise.
14941         * conform/data/pwd.h-data: Likewise.
14942         * conform/data/signal.h-data: Likewise.
14943         * conform/data/spawn.h-data: Likewise.
14944         * conform/data/stdio.h-data: Likewise.
14945         * conform/data/stdlib.h-data: Likewise.
14946         * conform/data/stropts.h-data: Likewise.
14947         * conform/data/sys/mman.h-data: Likewise.
14948         * conform/data/sys/stat.h-data: Likewise.
14949         * conform/data/sys/types.h-data: Likewise.
14950         * conform/data/sys/wait.h-data: Likewise.
14951         * conform/data/time.h-data: Likewise.
14952         * conform/data/unistd.h-data: Likewise.
14953         * conform/data/utime.h-data: Likewise.
14955         * io/sys/stat.h: fchmod was always in POSIX.
14956         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
14957         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
14958         * rt/aio.h: Define __need_timespec before including <time.h>.
14959         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
14960         struct.  Add forward declaration of pthread_attr_t and use it in
14961         sigevent.
14962         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14963         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14964         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
14965         always remove CLK_TCK definition.
14967 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
14969         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
14971 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
14973         * conform/run-conformtest.sh: New file.
14974         * conform/Makefile: Run run-conformtest for tests.
14975         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
14976         support.
14978         * conform/data/uchar.h-data: New file.
14979         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
14980         * conform/data/arpa/inet.h-data: Likewise.
14981         * conform/data/assert.h-data: Likewise.
14982         * conform/data/complex.h-data: Likewise.
14983         * conform/data/cpio.h-data: Likewise.
14984         * conform/data/ctype.h-data: Likewise.
14985         * conform/data/dirent.h-data: Likewise.
14986         * conform/data/dlfcn.h-data: Likewise.
14987         * conform/data/errno.h-data: Likewise.
14988         * conform/data/fcntl.h-data: Likewise.
14989         * conform/data/float.h-data: Likewise.
14990         * conform/data/fmtmsg.h-data: Likewise.
14991         * conform/data/fnmatch.h-data: Likewise.
14992         * conform/data/ftw.h-data: Likewise.
14993         * conform/data/glob.h-data: Likewise.
14994         * conform/data/grp.h-data: Likewise.
14995         * conform/data/iconv.h-data: Likewise.
14996         * conform/data/inttypes.h-data: Likewise.
14997         * conform/data/langinfo.h-data: Likewise.
14998         * conform/data/libgen.h-data: Likewise.
14999         * conform/data/limits.h-data: Likewise.
15000         * conform/data/locale.h-data: Likewise.
15001         * conform/data/math.h-data: Likewise.
15002         * conform/data/monetary.h-data: Likewise.
15003         * conform/data/mqueue.h-data: Likewise.
15004         * conform/data/ndbm.h-data: Likewise.
15005         * conform/data/net/if.h-data: Likewise.
15006         * conform/data/netdb.h-data: Likewise.
15007         * conform/data/netinet/in.h-data: Likewise.
15008         * conform/data/nl_types.h-data: Likewise.
15009         * conform/data/poll.h-data: Likewise.
15010         * conform/data/pthread.h-data: Likewise.
15011         * conform/data/pwd.h-data: Likewise.
15012         * conform/data/regex.h-data: Likewise.
15013         * conform/data/sched.h-data: Likewise.
15014         * conform/data/search.h-data: Likewise.
15015         * conform/data/semaphore.h-data: Likewise.
15016         * conform/data/setjmp.h-data: Likewise.
15017         * conform/data/signal.h-data: Likewise.
15018         * conform/data/spawn.h-data: Likewise.
15019         * conform/data/stdarg.h-data: Likewise.
15020         * conform/data/stdio.h-data: Likewise.
15021         * conform/data/stdlib.h-data: Likewise.
15022         * conform/data/string.h-data: Likewise.
15023         * conform/data/strings.h-data: Likewise.
15024         * conform/data/stropts.h-data: Likewise.
15025         * conform/data/sys/ipc.h-data: Likewise.
15026         * conform/data/sys/mman.h-data: Likewise.
15027         * conform/data/sys/msg.h-data: Likewise.
15028         * conform/data/sys/resource.h-data: Likewise.
15029         * conform/data/sys/select.h-data: Likewise.
15030         * conform/data/sys/sem.h-data: Likewise.
15031         * conform/data/sys/shm.h-data: Likewise.
15032         * conform/data/sys/socket.h-data: Likewise.
15033         * conform/data/sys/stat.h-data: Likewise.
15034         * conform/data/sys/statvfs.h-data: Likewise.
15035         * conform/data/sys/time.h-data: Likewise.
15036         * conform/data/sys/timeb.h-data: Likewise.
15037         * conform/data/sys/times.h-data: Likewise.
15038         * conform/data/sys/types.h-data: Likewise.
15039         * conform/data/sys/uio.h-data: Likewise.
15040         * conform/data/sys/un.h-data: Likewise.
15041         * conform/data/sys/utsname.h-data: Likewise.
15042         * conform/data/sys/wait.h-data: Likewise.
15043         * conform/data/syslog.h-data: Likewise.
15044         * conform/data/tar.h-data: Likewise.
15045         * conform/data/termios.h-data: Likewise.
15046         * conform/data/utime.h-data: Likewise.
15047         * conform/data/utmpx.h-data: Likewise.
15048         * conform/data/varargs.h-data: Likewise.
15049         * conform/data/wchar.h-data: Likewise.
15050         * conform/data/wctype.h-data: Likewise.
15051         * conform/data/wordexp.h-data: Likewise.
15053         * include/stropts.h: New file.
15054         * include/uchar.h: New file.
15055         * include/aio.h: Changes to allow conformtest.pl to use the headers.
15056         * include/assert.h: Likewise.
15057         * include/ctype.h: Likewise.
15058         * include/dirent.h: Likewise.
15059         * include/dlfcn.h: Likewise.
15060         * include/fcntl.h: Likewise.
15061         * include/fnmatch.h: Likewise.
15062         * include/glob.h: Likewise.
15063         * include/grp.h: Likewise.
15064         * include/libio.h: Likewise.
15065         * include/locale.h: Likewise.
15066         * include/math.h: Likewise.
15067         * include/net/if.h: Likewise.
15068         * include/netdb.h: Likewise.
15069         * include/netinet/in.h: Likewise.
15070         * include/pthread.h: Likewise.
15071         * include/pwd.h: Likewise.
15072         * include/regex.h: Likewise.
15073         * include/sched.h: Likewise.
15074         * include/search.h: Likewise.
15075         * include/setjmp.h: Likewise.
15076         * include/signal.h: Likewise.
15077         * include/stdio.h: Likewise.
15078         * include/stdlib.h: Likewise.
15079         * include/string.h: Likewise.
15080         * include/sys/cdefs.h: Likewise.
15081         * include/sys/mman.h: Likewise.
15082         * include/sys/msg.h: Likewise.
15083         * include/sys/resource.h: Likewise.
15084         * include/sys/select.h: Likewise.
15085         * include/sys/socket.h: Likewise.
15086         * include/sys/stat.h: Likewise.
15087         * include/sys/statvfs.h: Likewise.
15088         * include/sys/time.h: Likewise.
15089         * include/sys/times.h: Likewise.
15090         * include/sys/uio.h: Likewise.
15091         * include/sys/utsname.h: Likewise.
15092         * include/sys/wait.h: Likewise.
15093         * include/termios.h: Likewise.
15094         * include/time.h: Likewise.
15095         * include/ulimit.h: Likewise.
15096         * include/unistd.h: Likewise.
15097         * include/utime.h: Likewise.
15098         * include/wchar.h: Likewise.
15099         * include/wctype.h: Likewise.
15100         * include/wordexp.h: Likewise.
15102         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
15104         * time/time.h: TIME_UTC must be a macro.
15105         Make timespec_get available for ISO C11 only as well.
15107 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
15109         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
15110         Reported by Peng Haitao <penght@cn.fujitsu.com>.
15112 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
15114         * configure.in: Use -o not -a in test for unsupported multi-arch.
15116 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
15118         * manual/texinfo.tex: Update to version 2012-01-19.16.
15120 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
15122         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
15124 2012-02-24  Roland McGrath  <roland@hack.frob.com>
15126         [BZ #13738]
15127         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
15128         * manual/fdl-1.3.texi: New file.
15129         * manual/fdl-1.1.texi: File removed.
15131         [BZ #13738]
15132         * manual/libc.texinfo (FDL_VERSION): New @set.
15133         Use it for mention of FDL in cover text.
15134         (Documentation License): Use it in @include file name.
15136 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
15137             Roland McGrath  <roland@hack.frob.com>
15139         [BZ #5461]
15140         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
15141         not LONG_LONG_MAX and LONG_LONG_MIN.
15142         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
15143         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
15144         name.
15145         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
15147 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
15149         [BZ #2547]
15150         [BZ #11365]
15151         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
15152         manipulate bits before adding and subtracting TWO23[sx].
15153         * math/libm-test.inc (nearbyint_test): Add more tests.
15155 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
15157         [BZ #2548]
15158         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
15159         bits before adding and subtracting TWO23[sx].
15160         * math/libm-test.inc (rint_test): Add more tests.
15161         (rint_test_tonearest): Likewise.
15162         (rint_test_towardzero): Likewise.
15163         (rint_test_downward): Likewise.
15164         (rint_test_upward: Likewise.
15166 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
15168         [BZ #10110]
15169         * include/stdc-predef.h: New file.  Extracted from features.h.
15170         * include/features.h: Include stdc-predef.h.
15171         * Makefile (headers): Add stdc-predef.h.
15172         * CONFORMANCE (Compiler limitations): Update.
15174 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
15176         * manual/libc.texinfo (VERSION, UPDATED): Revert.
15178 2012-02-21  David S. Miller  <davem@davemloft.net>
15180         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
15181         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15183 2012-02-20  David S. Miller  <davem@davemloft.net>
15185         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
15186         using a normal save/restore sequence, rather than allocating a
15187         dummy stack frame just to store a frame pointer and restore.
15188         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15190 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
15192         * manual/install.texi: Fix stray word in line-wrapped comment.
15194 2012-02-20  David S. Miller  <davem@davemloft.net>
15196         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
15197         both binutils and gcc support GOTDATA.
15199         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
15200         "rd %pc" in the PIC register setup sequences.
15202         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
15203         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
15204         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15205         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
15206         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15207         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15208         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15209         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15210         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
15211         (SYSCALL_ERROR_HANDLER): Likewise.
15212         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15213         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15214         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
15215         (SYSCALL_ERROR_HANDLER): Likewise.
15217         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
15218         (HAVE_GCC_GOTDATA): New.
15219         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
15220         relocation support in both binutils and gcc.
15221         * sysdeps/sparc/elf/configure: Regenerate.
15223         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
15224         * sysdeps/sparc/sparc32/elf/configure: Delete.
15225         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
15226         * sysdeps/sparc/sparc64/elf/configure: Delete.
15227         * sysdeps/sparc/elf/configure.in: New file.
15228         * sysdeps/sparc/elf/configure: Generate.
15230         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
15231         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
15232         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15233         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
15234         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
15236 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
15238         * manual/install.texi: Do not mention specific glibc version
15239         numbers.
15240         * manual/libc.texinfo (VERSION, UPDATED): Update.
15241         (@copying): Use @copyright{} and range of years.
15243 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
15245         [BZ #13695]
15246         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
15247         [crti.S not in sysdirs] (generated): Do not append.
15248         [crti.S not in sysdirs] (omit-deps): Likewise.
15249         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
15250         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
15251         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
15252         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
15253         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
15254         Likewise.
15255         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
15256         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
15257         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
15258         * csu/defs.awk: Remove file.
15259         * sysdeps/generic/initfini.c: Likewise.
15260         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
15261         variable.
15262         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
15263         Likewise.
15265 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
15267         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
15268         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
15269         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
15270         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
15271         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15272         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
15273         <bits/epoll.h>.
15274         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
15275         (__EPOLL_PACKED): Define to empty if not defined by
15276         <bits/epoll.h>.
15277         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
15278         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15279         bits/epoll.h.
15281 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
15283         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
15284         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
15285         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
15286         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
15287         <bits/timerfd.h>.
15288         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
15289         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15290         bits/timerfd.h.
15292 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
15294         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
15295         in C locale.
15296         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15297         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15298         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
15299         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15301 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
15303         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15304         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15306 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
15308         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
15309         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
15310         defined.
15311         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
15312         Likewise.
15313         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
15314         entry for 2.16.
15316 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
15318         * math/w_acos.c: Use non-signaling floating-point comparisons.
15319         * math/w_acosf.c: Likewise.
15320         * math/w_acosh.c: Likewise.
15321         * math/w_acoshf.c: Likewise.
15322         * math/w_acoshl.c: Likewise.
15323         * math/w_acosl.c: Likewise.
15324         * math/w_asin.c: Likewise.
15325         * math/w_asinf.c: Likewise.
15326         * math/w_asinl.c: Likewise.
15327         * math/w_atanh.c: Likewise.
15328         * math/w_atanhf.c: Likewise.
15329         * math/w_atanhl.c: Likewise.
15330         * math/w_exp2.c: Likewise.
15331         * math/w_exp2f.c: Likewise.
15332         * math/w_exp2l.c: Likewise.
15333         * math/w_j0.c: Likewise.
15334         * math/w_j0f.c: Likewise.
15335         * math/w_j0l.c: Likewise.
15336         * math/w_j1.c: Likewise.
15337         * math/w_j1f.c: Likewise.
15338         * math/w_j1l.c: Likewise.
15339         * math/w_jn.c: Likewise.
15340         * math/w_jnf.c: Likewise.
15341         * math/w_log.c: Likewise.
15342         * math/w_log10.c: Likewise.
15343         * math/w_log10f.c: Likewise.
15344         * math/w_log10l.c: Likewise.
15345         * math/w_log2.c: Likewise.
15346         * math/w_log2f.c: Likewise.
15347         * math/w_log2l.c: Likewise.
15348         * math/w_logf.c: Likewise.
15349         * math/w_logl.c: Likewise.
15350         * math/w_sqrt.c: Likewise.
15351         * math/w_sqrtf.c: Likewise.
15352         * math/w_sqrtl.c: Likewise.
15353         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15354         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
15355         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15356         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15357         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15359 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
15361         [BZ #9739]
15362         * manual/string.texi (strnlen): Use correct parameter name in
15363         equivalent expression.
15365 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
15367         [BZ #11174]
15368         * manual/users.texi (seteuid): Consistently use neweuid for
15369         argument name.
15371 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
15373         [BZ #13704]
15374         * manual/nss.texi (Services in the NSS configuration): Correct
15375         list of services in example configuration file.
15377 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
15379         [BZ #11322]
15380         * manual/arith.texi: Remove statements about negative zero
15381         behaving identically to zero.
15383 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
15385         [BZ #5993]
15386         * manual/install.texi: Do not document upgrading from libc5.
15388 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
15390         [BZ #4596]
15391         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
15393 2012-02-18  David S. Miller  <davem@davemloft.net>
15395         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
15396         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
15397         %o7 across the call.
15398         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
15399         instead.
15400         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
15401         SETUP_PIC_REG_LEAF.
15402         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15403         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
15404         * sysdeps/sparc/crtn.S: Likewise.
15406 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
15408         * aout/Makefile: Remove.
15410 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
15412         [BZ #13058]
15413         * manual/examples/argp-ex1.c (main): Format definition in GNU
15414         style.
15415         * manual/examples/argp-ex2.c (main): Likewise.
15416         * manual/examples/argp-ex3.c (main): Likewise.
15417         * manual/examples/argp-ex4.c (main): Likewise.
15418         * manual/examples/longopt.c (main): Use new-style prototype
15419         definition.
15420         * manual/examples/strncat.c (main): Specify return type and use
15421         (void) for arguments.
15422         * manual/examples/subopt.c (main): Use char **argv argument.
15424 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
15426         [BZ #5077]
15427         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
15428         rounding modes.
15430 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
15432         [BZ #6907]
15433         * manual/string.texi (strchr): Change when strchrnul is
15434         recommended.
15436 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
15438         [BZ #174]
15439         * manual/locale.texi (setlocale): Document LOCPATH.
15441 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
15443         [BZ #10210]
15444         * manual/process.texi (execle): Move @dots{} before last argument.
15446 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
15448         [BZ #12047]
15449         * manual/charset.texi (Generic Charset Conversion): Fix typo
15450         (LC_TYPE -> LC_CTYPE).
15452 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
15454         [BZ #5805]
15455         * manual/arith.texi (scalbn): Use @var{} on parameter names.
15456         (scalbnf): Likewise.
15457         (scalbnl): Likewise.
15458         (scalbln): Likewise.
15459         (scalblnf): Likewise.
15460         (scalblnl): Likewise.
15461         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
15462         (vwarnx): Likewise.
15463         (verr): Likewise.
15464         (verrx): Likewise.
15465         * manual/filesys.texi (telldir): Use braces around return type.
15466         * manual/llio.texi (mmap): Add space after comma.
15467         (mmap64): Likewise.
15468         * manual/math.texi (jn): Use @var{} on parameter names.
15469         (jnf): Likewise.
15470         (jnl): Likewise.
15471         (yn): Likewise.
15472         (ynf): Likewise.
15473         (ynl): Likewise.
15474         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
15475         line.
15476         * manual/resource.texi (ulimit): Use @dots{} instead of literal
15477         "...".
15478         (sched_get_priority_min): Remove semicolon on @deftypefun line.
15479         (sched_get_priority_max): Likewise.
15480         * manual/signal.texi (sigvec): Add space after comma.
15481         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
15482         names.
15483         (if_indextoname): Likewise.
15484         (if_freenameindex): Likewise.
15485         (sendto): Use ',' instead of '.' in prototype.
15486         * manual/startup.texi (syscall): Use @dots{} instead of literal
15487         "...".
15488         * manual/stdio.texi (__fpending): Separate initial words of
15489         paragraph from @deftypefun line.
15490         * manual/syslog.texi (syslog): Use @dots{} instead of literal
15491         "...".
15492         (vsyslog): Use @var{} on parameter names.
15493         * manual/terminal.texi (stty): Use @var{} on parameter names.
15494         * manual/users.texi (getutmp): Use @var{} on parameter names.
15495         (getutmpx): Likewise.
15497 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
15499         [BZ #6884]
15500         * manual/stdio.texi (fopen): Fix typos in description of
15501         ",ccs=STRING".
15503 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
15505         [BZ #4026]
15506         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
15507         get clock_id definition.
15509 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
15511         [BZ #4822]
15512         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
15513         (madvise): Cast every argument to void on its own.
15515 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
15517         [BZ #9902]
15518         * manual/startup.texi (Exit Status): Fix typo.
15520 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
15522         [BZ #10140]
15523         * manual/examples/argp-ex1.c: Include <stdlib.h>.
15524         * manual/examples/argp-ex2.c: Likewise.
15525         * manual/examples/argp-ex3.c: Likewise.
15527 2012-02-16  Richard Henderson  <rth@redhat.com>
15529         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
15530         * sysdeps/s390/s390-32/initfini.c: Remove.
15531         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
15532         * sysdeps/s390/s390-64/initfini.c: Remove.
15534 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15536         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
15537         compiler output for sysdeps/generic/initfini.c.
15538         * sysdeps/sh/elf/initfini.c: Remove file.
15540 2012-02-16  David S. Miller  <davem@davemloft.net>
15542         [BZ #11494]
15543         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
15545         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
15546         * sysdeps/sparc/crti.S: New file.
15547         * sysdeps/sparc/crtn.S: New file.
15548         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
15549         * sysdeps/sparc/sparc64/Makefile: Likewise.
15551 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
15553         [BZ #3335]
15554         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
15556 2012-02-15  Roland McGrath  <roland@hack.frob.com>
15558         [BZ #4822]
15559         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
15561         * mach/devstream.c (cookie_io_functions_t): Macro removed.
15562         (write, read, close): Likewise.
15563         Patch by Aurelien Jarno <aurelien@aurel32.net>.
15565 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
15567         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
15568         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
15569         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
15570         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
15571         <bits/signalfd.h>.
15572         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
15573         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15574         bits/signalfd.h.
15576 2012-02-14  Marek Polacek  <polacek@redhat.com>
15578         * sysdeps/x86_64/crti.S: New file.
15579         * sysdeps/x86_64/crtn.S: New file.
15580         * sysdeps/x86_64/elf/initfini.c: Remove file.
15582 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
15584         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
15585         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
15586         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
15587         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
15588         <bits/inotify.h>.
15589         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
15590         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15591         bits/inotify.h.
15593 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
15595         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
15596         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
15597         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
15598         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
15599         <bits/eventfd.h>.
15600         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
15601         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15602         bits/eventfd.h.
15604 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
15606         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
15607         __feraiseexcept instead of feraiseexcept.
15609         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
15610         nanosleep invocations.
15611         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
15612         strings, and add error checking for a nanosleep invocations.
15614 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
15616         Replace FSF snail mail address with URLs, as per GNU coding standards.
15617         Most of the snail mail addresses were wrong anyway, and omitting
15618         them makes the source code easier to maintain.  Almost all of the
15619         changes are to license notices and to locale LC_IDENTIFICATION
15620         addresses, except for this one:
15621         * manual/libc.texinfo: In "Published by", give the FSF's URL,
15622         not its snail mail address.
15624 2012-02-09  Richard Henderson  <rth@twiddle.net>
15626         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
15627         of kernel-features.h.
15629         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
15631 2012-02-08  Marek Polacek  <polacek@redhat.com>
15633         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
15634         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
15635         * sysdeps/gnu/_G_config.h: Likewise.
15636         * sysdeps/generic/_G_config.h: Likewise.
15638 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
15640         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
15641         tests.
15642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15644         * sysdeps/powerpc/powerpc32/crti.S: New file.
15645         * sysdeps/powerpc/powerpc32/crtn.S: New file.
15646         * sysdeps/powerpc/powerpc64/crti.S: New file.
15647         * sysdeps/powerpc/powerpc64/crtn.S: New file.
15649         * Makeconfig (have-initfini): Don't set.
15650         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
15651         * configure.in (nopic_initfini): Don't substitute.
15652         * config.h.in (HAVE_INITFINI): Don't #undef.
15653         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
15654         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
15656 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
15658         Support crti.S and crtn.S provided directly by architectures.
15659         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
15660         [crti.S in sysdirs] (omit-deps): Likewise.
15661         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
15662         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
15663         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
15664         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
15665         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
15666         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
15667         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
15668         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
15669         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
15670         compiler output for sysdeps/generic/initfini.c.
15671         * sysdeps/i386/elf/Makefile: Remove file.
15672         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
15674 2012-02-07  Marek Polacek  <polacek@redhat.com>
15676         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
15677         * sysdeps/gnu/_G_config.h: Likewise.
15678         * sysdeps/mach/hurd/_G_config.h: Likewise.
15680 2012-02-07  Marek Polacek  <polacek@redhat.com>
15682         * math/Makefile (tests): Add tst-CMPLX2.
15683         * math/tst-CMPLX2.c: New file.
15685 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
15687         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15689         * math/libm-test.inc (jn_test): Add missing L suffix.
15691 2012-02-06  Marek Polacek  <polacek@redhat.com>
15693         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
15694         * sysdeps/i386/fpu/e_powf.S: Likewise.
15695         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15696         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15697         * sysdeps/i386/fpu/e_acosh.S: Likewise.
15698         * sysdeps/i386/fpu/e_pow.S: Likewise.
15699         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15700         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15701         * sysdeps/i386/fpu/s_expm1.S: Likewise.
15702         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15703         * sysdeps/i386/fpu/e_log2.S: Likewise.
15704         * sysdeps/i386/fpu/e_log2l.S: Likewise.
15705         * sysdeps/i386/fpu/e_scalb.S: Likewise.
15706         * sysdeps/i386/fpu/e_powl.S: Likewise.
15707         * sysdeps/i386/fpu/s_log1p.S: Likewise.
15708         * sysdeps/i386/fpu/e_log10f.S: Likewise.
15709         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15710         * sysdeps/i386/fpu/e_logl.S: Likewise.
15711         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15712         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
15713         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15714         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15715         * sysdeps/i386/fpu/e_log2f.S: Likewise.
15716         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15717         * sysdeps/i386/fpu/e_log.S: Likewise.
15718         * sysdeps/i386/fpu/s_cexp.S: Likewise.
15719         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15720         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
15721         * sysdeps/i386/fpu/e_logf.S: Likewise.
15722         * sysdeps/i386/fpu/e_log10l.S: Likewise.
15723         * sysdeps/i386/fpu/e_atanh.S: Likewise.
15724         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
15725         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15726         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15727         * sysdeps/i386/fpu/e_log10.S: Likewise.
15728         * sysdeps/i386/fpu/s_frexp.S: Likewise.
15729         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15730         * sysdeps/i386/fpu/s_asinh.S: Likewise.
15731         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15732         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15733         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15734         * sysdeps/i386/asm-syntax.h: Likewise.
15735         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15736         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15737         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15738         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
15739         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
15740         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15741         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15742         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15743         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15744         * sysdeps/powerpc/sysdep.h: Likewise.
15745         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
15746         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15748 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
15750         [BZ #411]
15751         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
15753 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
15755         * sysdeps/i386/sysdep.h: Include <features.h>.
15756         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
15757         version.
15759 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
15761         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
15762         Define.
15763         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
15764         LOAD_PIC_REG_STR.
15766 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
15768         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
15769         (SETUP_PIC_REG): Use GET_PC_THUNK.
15770         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
15771         macro.
15773 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
15775         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
15776         for non-PIC compilation.
15777         (SETUP_PIC_REG): Add .p2align directive.
15778         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
15779         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
15780         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15781         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15782         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15783         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15784         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
15785         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15786         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15787         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15788         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15789         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15790         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15791         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15792         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15793         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15794         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15795         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15796         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15797         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15798         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15799         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15800         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15801         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15802         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15803         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15804         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15805         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15806         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15807         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15808         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15809         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15810         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15811         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15812         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15813         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15814         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15815         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15816         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15817         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15818         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15820 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
15822         * math/tst-CMPLX.c: Include <stdio.h>.
15824 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
15826         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
15827         float.
15828         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15829         * sysdeps/sparc/bits/mathdef.h: Likewise.
15831 2012-01-31  Marek Polacek  <polacek@redhat.com>
15833         * libio/libio.h: Don't define _PARAMS.
15834         * locale/programs/config.h: Don't define PARAMS.
15835         * stdlib/strtol_l.c: Likewise.
15836         (__strtol_l): Remove PARAMS from the prototype.
15838 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
15840         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
15841         names.  Just use the correct names.  Remove unnecessary wrapper
15842         functions.
15843         * malloc/arena.c: Likewise.
15844         * malloc/hooks.c: Likewise.
15846         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
15847         ARENA_TEST says not to.  Simplify test for creation of a new arena.
15848         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
15850 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
15852         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
15853         into tail calls.
15854         (update_get_addr): New function.
15855         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
15856         GET_ADDR_MODULE parameter.
15858 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
15860         * crypt/cert.c: Remove __STDC__ conditionals.
15861         * crypt/crypt-entry.c: Likewise.
15862         * crypt/crypt_util.c: Likewise.
15863         * libio/filedoalloc.c: Likewise.
15864         * libio/fileops.c: Likewise.
15865         * libio/genops.c: Likewise.
15866         * libio/iofclose.c: Likewise.
15867         * libio/iofdopen.c: Likewise.
15868         * libio/iofopen.c: Likewise.
15869         * libio/iofopen64.c: Likewise.
15870         * libio/iogetdelim.c: Likewise.
15871         * libio/iopopen.c: Likewise.
15872         * libio/obprintf.c: Likewise.
15873         * libio/oldfileops.c: Likewise.
15874         * libio/oldiofclose.c: Likewise.
15875         * libio/oldiofdopen.c: Likewise.
15876         * libio/oldiofopen.c: Likewise.
15877         * libio/oldiopopen.c: Likewise.
15878         * libio/wfiledoalloc.c: Likewise.
15879         * libio/wgenops.c: Likewise.
15880         * locale/programs/xmalloc.c: Likewise.
15881         * misc/syslog.c: Likewise.
15882         * stdio-common/xbug.c: Likewise.
15883         * string/memchr.c: Likewise.
15884         * string/memcmp.c: Likewise.
15885         * string/memrchr.c: Likewise.
15886         * string/rawmemchr.c: Likewise.
15887         * sysdeps/posix/getcwd.c: Likewise.
15888         * time/strftime_l.c: Likewise.
15890 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
15892         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
15893         * config.make.in (config-cflags-sse2avx): Define.
15894         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
15895         Fix typo.
15897 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
15899         * scripts/config.guess: Update from upstream config git repository.
15900         * scripts/config.sub: Likewise.
15902 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
15904         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
15905         (EM_NUM): Update.
15906         (R_TILEPRO_*, R_TILEGX_*): New macros.
15908         * scripts/firstversions.awk: Fix bug in version range handling.
15910         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
15912         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
15914         * include/sys/epoll.h: New file.
15915         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
15916         libc_hidden_def.
15918 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
15920         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
15921         Avoid unnecessary __WORDSIZE == 64 test.
15922         (fmaxf): Use VEX format if possible.
15923         (fmax): Likewise.
15924         (fminf): Likewise.
15925         (fmin): Likewise.
15927         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
15928         * math/math_private.h: Remove libc_fegetround* and
15929         libc_fesetround*.
15930         * sysdeps/i386/configure.in: Check for -msse2avx.
15931         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
15932         also if SSE2AVX is defined.
15933         Remove libc_fegetround* and libc_fesetround*.
15934         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
15935         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
15936         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
15937         of HAS_YMM_USABLE.
15938         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15939         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15940         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15941         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15942         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15944         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
15946 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15948         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
15949         size is not set.
15950         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15952 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
15954         [BZ #13618]
15955         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
15956         relocation.
15957         * Makeconfig (libm): Define.
15958         * elf/Makefile: Add rules to build and run tst-relsort1.
15959         * elf/tst-relsort1.c: New file.
15960         * elf/tst-relsort1mod1.c: New file.
15961         * elf/tst-relsort1mod2.c: New file.
15963 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
15965         * math/s_ldexp.c: Remove __STDC__ conditionals.
15966         * math/s_ldexpf.c: Likewise.
15967         * math/s_ldexpl.c: Likewise.
15968         * math/s_nextafter.c: Likewise.
15969         * math/s_nexttowardf.c: Likewise.
15970         * math/s_significand.c: Likewise.
15971         * math/s_significandf.c: Likewise.
15972         * math/s_significandl.c: Likewise.
15973         * math/w_jnl.c: Likewise.
15974         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15975         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15976         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15977         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15978         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15979         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15980         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
15981         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15982         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15983         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15984         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15985         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15986         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15987         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15988         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15989         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15990         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15991         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15992         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15993         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15994         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15995         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15996         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15997         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15998         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15999         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16000         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16001         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16002         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16003         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16004         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16005         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16006         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16007         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16008         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16009         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16010         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16011         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16012         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16013         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16014         * sysdeps/ieee754/k_standard.c: Likewise.
16015         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16016         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16017         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16018         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16019         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16020         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16021         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16022         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16023         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16024         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16025         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16026         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
16027         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16028         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16029         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16030         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16031         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16032         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16033         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16034         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16035         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16036         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16037         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16038         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16039         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16040         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16041         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16042         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16043         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16044         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16045         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16046         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
16047         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16048         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16049         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16050         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
16051         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
16052         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16053         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
16054         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
16055         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
16056         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
16057         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
16058         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
16059         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16060         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16061         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16062         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16063         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16064         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
16065         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
16066         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16067         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16068         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
16069         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16070         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
16071         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
16072         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16073         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16074         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16075         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16076         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
16077         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
16078         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16079         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16080         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16081         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16082         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
16083         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
16084         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16085         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16086         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16087         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16088         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16089         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16090         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16091         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
16092         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16093         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
16094         * sysdeps/ieee754/s_matherr.c: Likewise.
16095         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
16096         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16097         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16098         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16100 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
16102         * crypt/md5.h: Remove __STDC__ conditionals.
16103         * libio/libioP.h: Likewise.
16104         * locale/programs/config.h: Likewise.
16105         * sysdeps/generic/sysdep.h: Likewise.
16106         * sysdeps/i386/asm-syntax.h: Likewise.
16107         * sysdeps/s390/asm-syntax.h: Likewise.
16108         * sysdeps/unix/sysdep.h: Likewise.
16109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16112 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
16114         * libio/libio.h: Remove __STDC__ conditionals.
16115         * malloc/obstack.h: Likewise.
16116         * math/complex.h: Likewise.
16117         * math/math.h: Likewise.
16118         * sysdeps/generic/_G_config.h: Likewise.
16119         * sysdeps/gnu/_G_config.h: Likewise.
16120         * sysdeps/mach/hurd/_G_config.h: Likewise.
16121         * sysdeps/powerpc/bits/mathdef.h: Likewise.
16122         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
16123         * sysdeps/sparc/bits/mathdef.h: Likewise.
16125 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
16127         [BZ #13583]
16128         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
16129         Clean up HAS_* macros.
16130         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
16131         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
16132         possible.
16133         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
16134         HAS_AVX.
16135         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16136         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16137         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16138         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16139         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16141 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
16143         * elf/tst-unique3.cc (gets): Remove declaration.
16144         * elf/tst-unique3lib.cc (gets): Likewise.
16145         * elf/tst-unique3lib2.cc (gets): Likewise.
16146         * elf/tst-unique4.cc (gets): Likewise.
16148 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
16150         * include/stdio.h: Add C++ protection.  Add gets declarations and
16151         definitions.
16152         * debug/tst-chk1.c: Don't declare gets here.
16153         * stdio-common/tst-gets.c: Likewise.
16155 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
16157         * posix/glob: Remove directory.
16159 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
16161         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
16163 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
16165         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
16166         of the non-standard EPFNOSUPPORT.
16168 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16170         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
16171         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
16172         ANYWHERE set to 1 only on KERN_NO_SPACE error.
16174 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
16176         * wcsmbs/uchar.h: Test __STDC_VERSION__.
16178 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
16180         * nscd/aicache.c (addhstaiX): Do not cache negative results of
16181         transient errors.
16182         * nscd/grpcache.c (cache_addgr): Likewise.
16183         * nscd/hstcache.c (cache_addhst): Likewise.
16184         * nscd/initgrcache.c (addinitgroupsX): Likewise.
16185         * nscd/pwdcache.c (cache_addpw): Likewise.
16186         * nscd/servicescache.c (cache_addserv): Likewise.
16188 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
16190         * malloc/malloc.c: Various cleanups.
16191         * malloc/hooks.c: Likewise.
16193         * stdlib/Makefile (tests): Add bug-fmtmsg1.
16194         * stdlib/bug-fmtmsg1.c: New file.
16196         * stdlib/fmtmsg.c (init): Add missing unlock.
16197         Patch by Peng Haitao <penght@cn.fujitsu.com>.
16199 2012-01-12  Marek Polacek  <polacek@redhat.com>
16201         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
16202         and _GNU_SOURCE.
16204 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
16206         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
16207         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
16208         macro to ensure uniqueness of label name.
16209         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16210         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16212 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
16214         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
16216         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
16217         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16218         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16219         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
16221 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
16223         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
16225         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
16226         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16227         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16229         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
16231         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
16232         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16233         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16234         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
16236         * math/bits/math-finite.h: Add ldexp support.
16238 2012-01-10  Marek Polacek  <polacek@redhat.com>
16240         * locale/programs/localedef.h (show_archive_content): Add noreturn
16241         attribute.
16243 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
16245         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
16247 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
16249         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
16251         * io/Makefile (headers): Add bits/poll2.h.
16253 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
16255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
16256         typo #include statement.
16258 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
16260         * include/sys/cdefs.h: Define __attribute_alloc_size.
16261         * catgets/gencat.c: Add alloc_size attribute and apply consistently
16262         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
16263         * elf/pldd.c: Likewise.
16264         * iconv/iconv_charmap.c: Likewise.
16265         * iconv/iconvconfig.c: Likewise.
16266         * iconv/strtab.c: Likewise.
16267         * locale/programs/locale.c: Likewise.
16268         * locale/programs/localedef.h: Likewise.
16269         * locale/programs/simple-hash.c: Likewise.
16270         * nscd/nscd.h: Likewise.
16271         * nss/makedb.c: Likewise.
16272         * sysdeps/generic/ldconfig.h: Likewise.
16273         * locale/programs/localedef.c: Remove xmalloc prototype.
16274         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
16276 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
16278         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
16279         appropriate.
16281 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
16283         * math/Makefile (tests): Add tst-CMPLX.
16284         * math/tst-CMPLX.c: New file.
16286         * math/complex.h (CMPLXL): Fix typo.
16288         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
16289         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
16290         GLIBC_2.16.
16291         * debug/tst-chk1.c: Add poll and ppoll tests.
16292         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
16293         * include/sys/poll.h: Add hidden proto for ppoll.
16294         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
16295         * sysdeps/mach/hurd/ppoll.c: Likewise.
16296         * io/ppoll.c: Likewise.
16297         * debug/poll_chk.c: New file.
16298         * debug/ppoll_chk.c: New file.
16299         * include/bits/poll2.h: New file.
16300         * io/bits/poll2.h: New file.
16302         [BZ #1350]
16303         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
16305         * configure.in: static is always set to yes.  Remove.
16306         * config.make.in: Don't set build-static.
16307         * Makeconfig: Remove use of build-static.
16308         * dlfcn/Makefile: Likewise.
16309         * elf/Makefile: Likewise.
16310         * math/Makefile: Likewise.
16311         * misc/Makefile: Likewise.
16312         * nptl/Makefile: Likewise.
16313         * sysdeps/mach/hurd/Makefile: Likewise.
16315         * configure.in: PWD_P is not used anymore.
16316         * config.make.in: Remove PWD_P entry.
16318         * configure.in: Remove last remnants of RANLIB.
16319         No need to check for signed size_t anymore.
16320         Don't set libc_commonpagesize and libc_relro_required here for Alpha
16321         and IA-64.
16322         Remove __builtin_expect test because we require at least gcc 3.4.
16323         * aclocal.m4: Likewise.
16325         * wcsmbs/mbrtoc16.c: Implement using towc function.
16326         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
16327         * wcsmbs/wcsmbsload.c: Likewise.
16328         * iconv/gconv_simple.c: Likewise.
16329         * iconv/gconv_int.h: Likewise.
16330         * iconv/gconv_builtin.h: Likewise.
16331         * iconv/iconv_prog.c: Remove CHAR16 handling.
16333         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
16335         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
16337         * configure.in: Remove --with-elf and --enable-bounded options.
16338         Dont set base_machine for ia64.  More non-ELF conditions removed.
16339         Remove testing and setting of leading underscore information.
16340         * config.make.in (build-bounded): Set to no.
16341         * config.h.in: Remove NO_UNDERSCORES entry.
16342         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
16343         them.
16344         * csu/start.c: Remove !NO_UNDERSCORE code.
16345         * locale/localeinfo.h: Likewise.
16346         * sysdeps/generic/machine-gmon.h: Likewise.
16347         * sysdeps/generic/sysdep.h: Likewise.
16348         * sysdeps/i386/sysdep.h: Likewise.
16349         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16350         * sysdeps/mach/sysdep.h: Likewise.
16351         * sysdeps/s390/s390-32/sysdep.h: Likewise.
16352         * sysdeps/s390/s390-64/sysdep.h: Likewise.
16353         * sysdeps/sh/sysdep.h: Likewise.
16354         * sysdeps/sparc/sparc32/alloca.S: Likewise.
16355         * sysdeps/unix/i386/sysdep.S: Likewise.
16356         * sysdeps/unix/sparc/start.c: Likewise.
16357         * sysdeps/unix/sparc/sysdep.S: Likewise.
16358         * sysdeps/unix/sparc/sysdep.h: Likewise.
16359         * sysdeps/unix/start.c: Likewise.
16360         * sysdeps/unix/x86_64/sysdep.S: Likewise.
16361         * sysdeps/x86_64/sysdep.h: Likewise.
16363 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
16365         [BZ #13553]
16366         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
16367         for non-gcc.
16368         * argp/argp-fmtstream.h: Use const instead __const.
16369         * argp/argp.h: Likewise.
16370         * assert/assert.h: Likewise.
16371         * bits/fenv.h: Likewise.
16372         * bits/sched.h: Likewise.
16373         * bits/sigset.h: Likewise.
16374         * bits/sigthread.h: Likewise.
16375         * catgets/nl_types.h: Likewise.
16376         * conform/data/pthread.h-data: Likewise.
16377         * crypt/crypt-private.h: Likewise.
16378         * crypt/crypt.h: Likewise.
16379         * crypt/crypt_util.c: Likewise.
16380         * ctype/ctype.h: Likewise.
16381         * debug/execinfo.h: Likewise.
16382         * debug/mbsnrtowcs_chk.c: Likewise.
16383         * debug/mbsrtowcs_chk.c: Likewise.
16384         * debug/wcsnrtombs_chk.c: Likewise.
16385         * debug/wcsrtombs_chk.c: Likewise.
16386         * debug/wcstombs_chk.c: Likewise.
16387         * dirent/dirent.h: Likewise.
16388         * dlfcn/dlfcn.h: Likewise.
16389         * elf/neededtest4.c: Likewise.
16390         * grp/grp.h: Likewise.
16391         * gshadow/gshadow.h: Likewise.
16392         * iconv/gconv.h: Likewise.
16393         * iconv/gconv_int.h: Likewise.
16394         * iconv/gconv_simple.c: Likewise.
16395         * iconv/iconv.h: Likewise.
16396         * iconv/loop.c: Likewise.
16397         * iconv/skeleton.c: Likewise.
16398         * include/aio.h: Likewise.
16399         * include/aliases.h: Likewise.
16400         * include/argz.h: Likewise.
16401         * include/arpa/inet.h: Likewise.
16402         * include/assert.h: Likewise.
16403         * include/dirent.h: Likewise.
16404         * include/dlfcn.h: Likewise.
16405         * include/execinfo.h: Likewise.
16406         * include/fcntl.h: Likewise.
16407         * include/fenv.h: Likewise.
16408         * include/glob.h: Likewise.
16409         * include/grp.h: Likewise.
16410         * include/libintl.h: Likewise.
16411         * include/mntent.h: Likewise.
16412         * include/netdb.h: Likewise.
16413         * include/pwd.h: Likewise.
16414         * include/rpc/netdb.h: Likewise.
16415         * include/sched.h: Likewise.
16416         * include/search.h: Likewise.
16417         * include/shadow.h: Likewise.
16418         * include/signal.h: Likewise.
16419         * include/stdio.h: Likewise.
16420         * include/stdlib.h: Likewise.
16421         * include/string.h: Likewise.
16422         * include/sys/socket.h: Likewise.
16423         * include/sys/stat.h: Likewise.
16424         * include/sys/statfs.h: Likewise.
16425         * include/sys/statvfs.h: Likewise.
16426         * include/sys/syslog.h: Likewise.
16427         * include/sys/time.h: Likewise.
16428         * include/sys/uio.h: Likewise.
16429         * include/time.h: Likewise.
16430         * include/unistd.h: Likewise.
16431         * include/utmp.h: Likewise.
16432         * include/wchar.h: Likewise.
16433         * include/wctype.h: Likewise.
16434         * inet/aliases.h: Likewise.
16435         * inet/arpa/inet.h: Likewise.
16436         * inet/netinet/ether.h: Likewise.
16437         * inet/netinet/in.h: Likewise.
16438         * intl/libintl.h: Likewise.
16439         * io/bits/fcntl2.h: Likewise.
16440         * io/fcntl.h: Likewise.
16441         * io/ftw.h: Likewise.
16442         * io/sys/poll.h: Likewise.
16443         * io/sys/stat.h: Likewise.
16444         * io/sys/statfs.h: Likewise.
16445         * io/sys/statvfs.h: Likewise.
16446         * io/utime.h: Likewise.
16447         * libio/bits/stdio.h: Likewise.
16448         * libio/bits/stdio2.h: Likewise.
16449         * libio/libio.h: Likewise.
16450         * libio/libioP.h: Likewise.
16451         * libio/stdio.h: Likewise.
16452         * locale/lc-ctype.c: Likewise.
16453         * locale/locale.h: Likewise.
16454         * login/utmp.h: Likewise.
16455         * malloc/arena.c: Likewise.
16456         * malloc/malloc.c: Likewise.
16457         * malloc/malloc.h: Likewise.
16458         * malloc/mcheck.c: Likewise.
16459         * malloc/mtrace.c: Likewise.
16460         * math/bits/mathcalls.h: Likewise.
16461         * math/fenv.h: Likewise.
16462         * math/math_private.h: Likewise.
16463         * misc/bits/error.h: Likewise.
16464         * misc/bits/syslog.h: Likewise.
16465         * misc/err.h: Likewise.
16466         * misc/error.h: Likewise.
16467         * misc/fstab.h: Likewise.
16468         * misc/mntent.h: Likewise.
16469         * misc/regexp.h: Likewise.
16470         * misc/search.h: Likewise.
16471         * misc/sgtty.h: Likewise.
16472         * misc/sys/mman.h: Likewise.
16473         * misc/sys/syslog.h: Likewise.
16474         * misc/sys/uio.h: Likewise.
16475         * misc/sys/xattr.h: Likewise.
16476         * misc/ttyent.h: Likewise.
16477         * nis/rpcsvc/ypclnt.h: Likewise.
16478         * nss/nss.h: Likewise.
16479         * posix/bits/unistd.h: Likewise.
16480         * posix/fnmatch.h: Likewise.
16481         * posix/glob.h: Likewise.
16482         * posix/sched.h: Likewise.
16483         * posix/spawn.h: Likewise.
16484         * posix/sys/wait.h: Likewise.
16485         * posix/unistd.h: Likewise.
16486         * posix/wordexp.h: Likewise.
16487         * pwd/pwd.h: Likewise.
16488         * resolv/netdb.h: Likewise.
16489         * resource/sys/resource.h: Likewise.
16490         * rt/aio.h: Likewise.
16491         * rt/bits/mqueue2.h: Likewise.
16492         * rt/mqueue.h: Likewise.
16493         * shadow/shadow.h: Likewise.
16494         * signal/signal.h: Likewise.
16495         * socket/send.c: Likewise.
16496         * socket/sendto.c: Likewise.
16497         * socket/sys/socket.h: Likewise.
16498         * stdio-common/printf.h: Likewise.
16499         * stdlib/bits/stdlib.h: Likewise.
16500         * stdlib/fmtmsg.h: Likewise.
16501         * stdlib/monetary.h: Likewise.
16502         * stdlib/stdlib.h: Likewise.
16503         * stdlib/ucontext.h: Likewise.
16504         * streams/stropts.h: Likewise.
16505         * string/argz.h: Likewise.
16506         * string/bits/string2.h: Likewise.
16507         * string/string.h: Likewise.
16508         * string/strings.h: Likewise.
16509         * sunrpc/rpc/auth.h: Likewise.
16510         * sunrpc/rpc/auth_des.h: Likewise.
16511         * sunrpc/rpc/clnt.h: Likewise.
16512         * sunrpc/rpc/netdb.h: Likewise.
16513         * sunrpc/rpc/pmap_clnt.h: Likewise.
16514         * sunrpc/rpc/xdr.h: Likewise.
16515         * sysdeps/generic/inttypes.h: Likewise.
16516         * sysdeps/generic/net/if.h: Likewise.
16517         * sysdeps/generic/sys/swap.h: Likewise.
16518         * sysdeps/gnu/net/if.h: Likewise.
16519         * sysdeps/gnu/utmpx.h: Likewise.
16520         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
16521         * sysdeps/i386/i486/bits/string.h: Likewise.
16522         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
16523         * sysdeps/s390/bits/string.h: Likewise.
16524         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
16525         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
16526         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
16527         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
16528         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
16529         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
16530         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
16531         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
16532         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
16533         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
16534         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
16535         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16536         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
16537         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16538         * sysdeps/unix/sysv/linux/readv.c: Likewise.
16539         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
16540         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16541         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16542         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16543         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16544         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16545         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
16546         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
16547         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
16548         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
16549         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
16550         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
16551         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16552         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
16553         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
16554         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
16555         * sysvipc/sys/ipc.h: Likewise.
16556         * sysvipc/sys/msg.h: Likewise.
16557         * sysvipc/sys/sem.h: Likewise.
16558         * sysvipc/sys/shm.h: Likewise.
16559         * termios/termios.h: Likewise.
16560         * time/sys/time.h: Likewise.
16561         * time/time.h: Likewise.
16562         * wcsmbs/bits/wchar2.h: Likewise.
16563         * wcsmbs/uchar.h: Likewise.
16564         * wcsmbs/wchar.h: Likewise.
16565         * wctype/wctype.h: Likewise.
16567         [BZ #13551]
16568         * Makeconfig: Remove all but ELF support including AIX support.
16569         * Makerules: Likewise.
16570         * config.h.in: Likewise.
16571         * config.make.in: Likewise.
16572         * configure: Likewise.
16573         * configure.in: Likewise.
16574         * csu/Makefile: Likewise.
16575         * csu/version.c: Likewise.
16576         * debug/Makefile: Likewise.
16577         * dlfcn/Makefile: Likewise.
16578         * elf/Makefile: Likewise.
16579         * extra-lib.mk: Likewise.
16580         * iconv/Makefile: Likewise.
16581         * include/libc-symbols.h: Likewise.
16582         * include/shlib-compat.h: Likewise.
16583         * resolv/Makefile: Likewise.
16584         * resolv/res_libc.c: Likewise.
16585         * rt/Makefile: Likewise.
16586         * sysdeps/i386/asm-syntax.h: Likewise.
16587         * sysdeps/i386/sysdep.h: Likewise.
16588         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16589         * sysdeps/mach/sysdep.h: Likewise.
16590         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
16591         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
16592         * sysdeps/s390/asm-syntax.h: Likewise.
16593         * sysdeps/s390/s390-32/sysdep.h: Likewise.
16594         * sysdeps/s390/s390-64/sysdep.h: Likewise.
16595         * sysdeps/sh/sysdep.h: Likewise.
16596         * sysdeps/unix/sparc/sysdep.h: Likewise.
16597         * sysdeps/wordsize-32/divdi3.c: Likewise.
16598         * sysdeps/x86_64/sysdep.h: Likewise.
16600         * argp/Versions: Remove _argp_unlock_xxx.
16602         [BZ #13559]
16603         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
16604         * abilist/libBrokenLocale.abilist: Likewise.
16605         * abilist/libanl.abilist: Likewise.
16606         * abilist/libc.abilist: Likewise.
16607         * abilist/libcrypt.abilist: Likewise.
16608         * abilist/libdl.abilist: Likewise.
16609         * abilist/libm.abilist: Likewise.
16610         * abilist/libnsl.abilist: Likewise.
16611         * abilist/libpthread.abilist: Likewise.
16612         * abilist/libresolv.abilist: Likewise.
16613         * abilist/librt.abilist: Likewise.
16614         * abilist/libthread_db.abilist: Likewise.
16615         * abilist/libutil.abilist: Likewise.
16616         * abilist/libnss_db.abilist: New file.
16618         * scripts/abilist.awk: Add support for indirect functions.
16620         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
16622         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
16624         * shlib-versions: Remove entries for ports architectures.
16626         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
16627         files in ports.
16628         * elf/stackguard-macros.h: Remove support for IA-64.
16629         * elf/tst-auditmod1.c: Likewise.
16630         * sysdeps/generic/ldsodefs.h: Likewise.
16632         * sysdeps/unix/sysv/linux/configure.in: Ports should define
16633         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
16634         configure files.
16636         [BZ #13552]
16637         * configure.in: Remove --enable-omitfp support.
16638         * FAQ.in: Adjust.
16639         * config.make.in: Likewise.
16640         * Makeconfig: Likewise.
16641         * manual/install.texi: Likewise.
16643         In case anyone cares, the IA-64 architecture could move to ports.
16644         * sysdeps/ia64/*: Removed.
16645         * sysdeps/unix/sysv/linux/ia64/*: Removed.
16646         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
16648         [BZ #13555]
16649         * configure.in: Remove entries for unsupported architectures.
16651         [BZ #13533]
16652         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
16653         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
16654         routines.
16655         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
16656         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
16657         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
16658         fall back to using wcrtomb.
16659         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
16660         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
16661         renaming.
16662         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
16663         * wcsmbs/tst-c16c32-1.c: New file.
16665         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
16666         local variable.
16668         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
16670         * elf/tst-unique3.cc: Add explicit declaration of gets.
16671         * elf/tst-unique3lib.cc: Likewise.
16672         * elf/tst-unique3lib2.cc: Likewise.
16673         * elf/tst-unique4.cc: Likewise.
16675         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
16677 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
16679         [BZ #13566]
16680         * assert/assert.h (static_assert): Don't define for C++.
16681         * libio/stdio.h (gets): Do declare for C++ <= C++11.
16682         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
16684 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
16686         * iconv/loop.c (single loop): Fix assertion in storing of
16687         remaining bytes.
16689         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
16691 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
16693         * posix/getconf.c: Update copyright year.
16694         * nss/getent.c: Likewise.
16695         * nss/makedb.c: Likewise.
16696         * iconv/iconvconfig.c: Likewise.
16697         * iconv/iconv_prog.c: Likewise.
16698         * elf/ldconfig.c: Likewise.
16699         * elf/pldd.c: Likewise.
16700         * elf/sotruss.ksh: Likewise.
16701         * catgets/gencat.c: Likewise.
16702         * csu/version.c: Likewise.
16703         * elf/ldd.bash.in: Likewise.
16704         * elf/sprof.c (print_version): Likewise.
16705         * locale/programs/locale.c: Likewise.
16706         * locale/programs/localedef.c: Likewise.
16707         * login/programs/pt_chown.c: Likewise.
16708         * nscd/nscd.c (print_version): Likewise.
16709         * debug/xtrace.sh: Likewise.
16710         * malloc/memusage.sh: Likewise.
16711         * malloc/mtrace.pl: Likewise.
16712         * debug/catchsegv.sh: Likewise.
16714 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
16716         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
16717         pure attribute.
16719 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
16721         [BZ #13533]
16722         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
16723         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
16724         transformations.
16725         * iconv/gconv_int.h: Likewise.
16726         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
16727         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
16728         from libc for GLIBC_2.16.
16729         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
16730         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
16731         * wcsmbs/uchar.h: Really define mbstate_t.
16732         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
16733         * wcsmbs/c16rtomb.c: New file.
16734         * wcsmbs/mbrtoc16.c: New file.
16735         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
16736         for C/POSIX locale.
16737         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
16738         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
16740         * wcsmbs/wchar.h: Add missing __restrict.
16742 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
16744         [BZ #13532]
16745         * time/Makefile (routines): Add timespec_get.
16746         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
16747         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
16748         timespec for ISO C11.
16749         * time/timespec_get.c: New file.
16750         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
16751         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
16753         [BZ #13531]
16754         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
16755         * stdlib/stdlib.h: Declare aligned_alloc.
16756         * Versions.def: Add GLIBC_2.16 for libc.
16757         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
16759         [BZ 13527]
16760         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
16761         ISO C11.
16763         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
16764         code.
16766         [BZ #13528]
16767         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
16769         [BZ #13529]
16770         * assert/assert.h (static_assert): Define.
16772         * version.h: Update for 2.16 development version.
16774         [BZ #13526]
16775         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
16776         _ISOC11_SOURCE.
16778         * version.h (RELEASE): Bump for 2.15 release.
16779         * include/features.h (__GLIBC_MINOR__): Bump to 15.
16781         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
16782         Patch by Marek Polacek <mpolacek@redhat.com>.
16784         * bits/byteswap.h: Protect long long constants with __extension__.
16785         * sysdeps/i386/bits/byteswap.h: Likewise.
16786         * sysdeps/ia64/bits/byteswap.h: Likewise.
16787         * sysdeps/s390/bits/byteswap.h: Likewise.
16788         * sysdeps/x86_64/bits/byteswap.h: Likewise.
16790 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16792         [BZ #13540]
16793         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
16794         destination buffer.
16795         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
16797 2011-12-23  Marek Polacek  <polacek@redhat.com>
16799         * elf/dl-addr.c (determine_info): Add inline keyword.
16800         * elf/tst-auditmod4b.c (check_avx): Likewise.
16801         * elf/tst-auditmod6b.c (check_avx): Likewise.
16802         * elf/tst-auditmod6c.c (check_avx): Likewise.
16803         * elf/tst-auditmod7b.c (check_avx): Likewise.
16805 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
16807         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
16808         !__SSE_MATH__.
16810 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16812         [BZ #13540]
16813         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
16814         processing for last bytes.
16816 2011-08-06  Bruno Haible  <bruno@clisp.org>
16818         [BZ #13061]
16819         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
16820         U+0385, not to U+1FEE.
16822         [BZ #13062]
16823         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
16824         entry for U+00A5 U+0301.
16826 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
16828         [BZ #13166]
16829         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
16830         buffer for the output is too small.
16832         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
16833         optimization.
16835         [BZ #13185]
16836         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
16837         SSE flags if possible.
16839 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16841         [BZ #13540]
16842         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
16843         processing for last bytes.
16845 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
16847         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
16848         (syscall-list-default-options, syscall-list-default-condition)
16849         (syscall-list-includes): Define.
16850         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
16851         list of ABIs and options and #if conditions for each ABI.  Do not
16852         handle common syscalls between ABIs specially.
16853         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
16854         Remove.
16855         (syscall-list-variants, syscall-list-32bit-options)
16856         (syscall-list-32bit-condition, syscall-list-64bit-options)
16857         (syscall-list-64bit-condition): Define.
16858         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
16859         (syscall-list-variants, syscall-list-32bit-options)
16860         (syscall-list-32bit-condition, syscall-list-64bit-options)
16861         (syscall-list-64bit-condition): Define.
16862         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
16863         Remove.
16864         (syscall-list-variants, syscall-list-32bit-options)
16865         (syscall-list-32bit-condition, syscall-list-64bit-options)
16866         (syscall-list-64bit-condition): Define.
16867         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
16868         Remove.
16869         (syscall-list-variants, syscall-list-32bit-options)
16870         (syscall-list-32bit-condition, syscall-list-64bit-options)
16871         (syscall-list-64bit-condition): Define.
16873 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
16875         * locale/iso-639.def: Add brx entry.
16877         [BZ #13328]
16878         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
16879         Proposed by Mariusz_Cukr <marcukr@op.pl>.
16881         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
16882         __feraiseexcept_renamed.
16884 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
16886         [BZ #13538]
16887         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
16888         EPOLLET with unsigned values.
16889         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16890         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16892         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
16893         to large cancellation.
16894         * math/s_cacoshf.c: Likewise.
16895         * math/s_cacoshl.c: Likewise.
16897 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
16899         [BZ #13305]
16900         [BZ #12786]
16901         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
16902         * math/s_cacoshf.c: Likewise.
16903         * math/s_cacoshl.c: Likewise.
16905 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
16907         [BZ #13439]
16908         * iconv/gconv.h: Define __GCONV_SWAP.
16909         * iconvdata/unicode.c: The swap bit must be stored in __flags.
16910         * iconvdata/utf-16.c: Likewise.
16911         * iconvdata/utf-32.c: Likewise.
16913 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
16915         [BZ #13524]
16916         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
16917         numerator after shifting it by one limb.
16919 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
16921         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
16922         under [__USE_EXTERN_INLINES].
16924 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
16926         [BZ #13446]
16927         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
16929 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16931         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
16932         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
16933         optimized code.
16934         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
16935         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
16936         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
16937         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
16938         for strncasecmp/strncasecmp_l compilation.
16939         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
16940         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
16942 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
16944         [BZ #13484]
16945         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
16946         of __asm__.
16948 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
16950         [BZ #13506]
16951         * time/tzfile.c (__tzfile_read): Check values from file header.
16953 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
16955         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
16956         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
16957         * powerpc/powerpc32/dl-start.S: Likewise.
16958         * powerpc/powerpc32/elf/start.S: Likewise.
16959         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16960         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
16961         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
16962         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
16963         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16964         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
16965         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
16966         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16967         * powerpc/powerpc32/fpu/s_round.S: Likewise.
16968         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16969         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16970         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16971         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
16972         * powerpc/powerpc32/memset.S: Likewise.
16973         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16974         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16975         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16976         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16977         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16978         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16979         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16980         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16981         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
16982         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
16983         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
16984         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16985         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16987 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16989         * math/libm-test.inc: Added more nearbyint tests.
16990         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
16991         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
16992         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
16993         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
16995 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
16997         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
16998         FD_CLOEXEC.
17000 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17002         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
17003         Add wcscpy-ssse3 wcscpy-c.
17004         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
17005         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
17006         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
17007         * sysdeps/x86_64/wcschr.S: New file.
17008         * sysdeps/x86_64/wcsrchr.S: New file.
17009         * string/test-strcmp.c: Remove checking of wcscmp function for
17010         wrong alignments.
17011         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
17012         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
17013         wcsrchr-sse2 wcsrchr-c.
17014         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
17015         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
17016         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
17017         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
17018         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
17019         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
17020         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
17021         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
17022         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
17023         * wcsmbc/wcschr.c (WCSCHR): New macro.
17025 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17027         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
17028         * wcsmbs/test-wcsrchr.c: New file.
17029         * string/test-strrchr.c: Add wcsrchr support.
17030         (WIDE): New macro.
17031         * wcsmbs/test-wcscpy.c: New file.
17032         * string/test-strcpy.c: Add wcscpy support.
17033         (WIDE): New macro.
17035 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
17037         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
17038         the inner loop.
17040 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
17042         [BZ #13472]
17043         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
17045 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
17047         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
17048         Minor optimizations.
17050         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
17051         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
17052         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
17054 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
17056         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
17057         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
17058         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
17059         for gcc to avoid warnings.
17060         * inet/Makefile (tests): Add tst-checks.
17061         * inet/tst-checks.c: New file.
17063         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
17064         warning.
17066         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
17067         __wmemcmp_sse2.
17069         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
17070         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
17072         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
17074 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
17076         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
17077         problem.
17079         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
17081 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
17083         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
17084         conditional on GCC version.
17085         (__arch_compare_and_exchange_val_8_acq)
17086         (__arch_compare_and_exchange_val_16_acq)
17087         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
17088         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
17089         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
17091 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
17093         * sysdeps/sh/backtrace.c: New file.
17095 2011-12-02  Andreas Schwab  <schwab@redhat.com>
17097         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
17098         parenthesis.
17100 2011-12-01  Andreas Schwab  <schwab@redhat.com>
17102         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
17103         falling back to utime.
17105 2011-11-30  Andreas Schwab  <schwab@redhat.com>
17107         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
17108         expectations for float.
17110 2011-11-29  Andreas Schwab  <schwab@redhat.com>
17112         * locale/weight.h (findidx): Add parameter len.
17113         * locale/weightwc.h (findidx): Likewise.
17114         * posix/fnmatch_loop.c (FCT): Adjust caller.
17115         * posix/regcomp.c (build_equiv_class): Likewise.
17116         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
17117         * posix/regexec.c (check_node_accept_bytes): Likewise.
17118         * string/strcoll_l.c (STRCOLL): Likewise.
17119         * string/strxfrm_l.c (STRXFRM): Likewise.
17121 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
17123         * Makefile.in: Remove CVSOPT handling.
17124         * configure.in: Remove use of AC_REVISION.
17125         * iconvdata/Makefile (distribute): No need to filter out CVS.
17126         * scripts/list-sources.sh: Remove CVS, subversion and monotone
17127         handling.
17129 2011-11-16  Andreas Schwab  <schwab@redhat.com>
17131         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
17132         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
17133         [USE_AS_STRNCASECMP_L]: Likewise.
17134         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
17135         NO_TLS_DIRECT_SEG_REFS.
17136         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
17137         Fix argument offsets for non-PIC.
17138         [USE_AS_STRNCASECMP_L]: Likewise.
17139         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
17140         NO_TLS_DIRECT_SEG_REFS.
17142 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
17144         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
17145         O_CLOEXEC.
17146         * locale/loadlocale.c (_nl_load_locale): Likewise.
17148 2011-11-15  Andreas Schwab  <schwab@redhat.com>
17150         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
17151         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
17152         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
17153         (SYSCALL_GETTIME): Set errno on error.
17155         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
17156         count references to noai6ai_cached.
17158 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
17160         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
17162         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
17163         FD_CLOEXEC for /proc/self/maps.
17165         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
17166         FD_CLOEXEC for /proc/meminfo.
17168         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
17169         gai.conf.
17171         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
17172         FD_CLOEXEC for given file.
17174         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
17176         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
17177         FD_CLOEXEC for /etc/hosts.
17178         (_gethtent): Likewise.
17180         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
17182         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
17183         cancellation and set FD_CLOEXEC for /etc/netgroup.
17185         * nss/nss_files/files-key.c (search): Don't allow cancellation when
17186         reading /etc/publickey.
17188         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
17189         allow cancellation when reading /etc/group.
17191         * nss/nss_files/files-alias.c (internal_setent): Don't allow
17192         cancellation.
17193         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
17195         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
17196         when using data file.
17198         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
17200         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
17201         (write_nis_obj): Use "c" and "e" in fopen.
17203         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
17205         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
17207         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
17209         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
17211         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
17212         locale.alias.
17214         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
17216         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
17218         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
17220         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
17221         file parsing and set FD_CLOEXEC.
17223 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
17225         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
17227 2011-11-14  Andreas Schwab  <schwab@redhat.com>
17229         * malloc/arena.c (arena_get2): Don't call reused_arena when
17230         _int_new_arena failed.
17232 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
17234         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
17235         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
17236         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
17237         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17238         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17239         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
17240         to compile strcasecmp and strncasecmp.
17241         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
17242         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
17244         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
17246 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
17248         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
17249         locale-defines.sym to gen-as-const-headers.
17250         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
17251         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
17252         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
17253         to compile strcasecmp and strncasecmp.
17254         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
17255         strcasecmp_l and strncasecmp_l.
17256         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
17257         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
17258         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
17259         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
17260         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
17261         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
17262         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
17263         * sysdeps/i386/i686/multiarch/strncase.S: New file.
17264         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
17265         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
17266         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
17268 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
17270         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
17271         result of SYSDEP_GETTIME_CPU to retval.
17272         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
17273         parameter list to macro.  Remove trailing semicolon.  Adjust users.
17275         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
17276         variable.
17278         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
17279         mantissa words.
17280         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
17282         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
17283         from unused variable.
17285         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
17286         DWARF definitions.
17287         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
17288         for assembling.
17290         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
17291         over namespaces.
17293         * sunrpc/rpc_prot.c (rejected): Fix case value.
17295         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
17296         unsigned long long int to avoid warnings in shift.
17298         * posix/regex_internal.c (re_string_reconstruct): Actually use result
17299         of use of trans.
17300         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
17301         variable tmp.
17303         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
17304         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
17305         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
17307         * nis/nis_table.c (nis_list): Use variable of correct type for
17308         result of __follow_path call.
17310 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17312         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
17313         of math functions ceil, trunc, floor, round, and sqrt, when
17314         avaliable on the platform.
17315         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
17316         name clash.
17317         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17318         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17319         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17321 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
17323         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
17324         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17326 2011-11-11  Roland McGrath  <roland@hack.frob.com>
17328         * include/unistd.h: Fix __readlink return type.
17329         Reported by Chris Metcalf <cmetcalf@tilera.com>.
17331 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
17333         * stdlib/ucontext.h: Undo last change for makecontext.
17335 2011-11-11  Andreas Schwab  <schwab@redhat.com>
17337         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
17339         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
17340         * setjmp/setjmp.h: Mark functions as non-leaf.
17341         * setjmp/bits/setjmp2.h: Likewise.
17342         * stdlib/ucontext.h: Likewise.
17344 2011-11-10  Andreas Schwab  <schwab@redhat.com>
17346         * malloc/arena.c (_int_new_arena): Don't increment narenas.
17347         (reused_arena): Don't check arena limit.
17348         (arena_get2): Atomically check arena limit.
17350 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
17352         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
17353         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
17355         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
17356         instructions.
17358 2011-11-07  Andreas Schwab  <schwab@redhat.com>
17360         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
17361         handler when locking.
17363         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17364         Fix size of allocated buffer.
17366 2011-11-04  Andreas Schwab  <schwab@redhat.com>
17368         [BZ #10103]
17369         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
17370         declarations for long double functions.
17371         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
17373         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
17375 2011-11-03  Andreas Schwab  <schwab@redhat.com>
17377         * nscd/nscd.c (main): Don't start AVC thread until credentials are
17378         installed.
17380         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
17381         is disabled.
17383 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17385         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
17387 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
17389         * include/alloca.h (stackinfo_alloca_round): Define.
17390         (extend_alloca): Use it.
17391         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
17392         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
17393         here.
17395         * scripts/check-local-headers.sh: Ignore libaudit.h.
17397         * nscd/Makefile (extra-objs): Make recursively expanded.
17399 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
17401         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
17402         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17404         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
17405         * posix/tst-rfc3484-2.c: Likewise.
17406         * posix/tst-rfc3484-3.c: Likewise.
17408         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17409         process_vm_writev.
17410         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
17411         process_vm_writev.
17412         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
17413         process_vm_writev from libc using GLIBC_2.15 version.
17415         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
17417 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
17419         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
17420         stack usage.
17422 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
17424         [BZ #13367]
17425         * nss/getent.c (initgroups_keys): Show error message in case no group
17426         names are given.
17428         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
17429         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
17430         __bump_nl_timestamp.
17431         * nscd/connections (nscd_init): When host database is served open
17432         netlink socket and request notification about configuration changes.
17433         (main_loop_poll): Track netlink file descriptor and bump timestamp
17434         in case data becomes available.
17435         (main_loop_epoll): Likewise.
17436         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
17437         (database_pers_head): Add extra_data fileds.
17438         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
17439         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
17440         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
17441         Adjust caller.
17442         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
17443         in6ai data, call __free_in6ai.
17444         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
17445         Add -DHAVE_NETLINK.
17446         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
17447         interface information.  Reuse previous data if netlink timestamp
17448         is not changed.
17449         (__bump_nl_timestamp): New function.
17450         (__free_in6ai): New function.
17452 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
17454         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
17455         close_not_cancel_no_status here.
17456         (__check_pf): Reorganize code a bit to not call close twice if OOM.
17458 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
17460         [BZ #13276]
17461         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
17462         return value.
17464         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
17465         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
17466         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
17468 2011-07-03  Andreas Jaeger  <aj@suse.de>
17470         [BZ #10709]
17471         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
17472         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
17473         * math/libm-test.inc (sin_test): Add test case.
17475 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
17477         [BZ #13337]
17478         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
17479         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17481         * elf/chroot_canon.c (chroot_canon): Cleanups.
17483         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
17485         [BZ #13335]
17486         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
17487         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17489         * string/test-strchr.c: Make usable for strchrnul testing.
17490         * string/test-strchrnul.c: New file.
17491         * string/Makefile (strop-tests): Add strchrnul.
17493         * po/it.po: Update from translation team.
17494         * po/es.po: Likewise.
17496 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
17498         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
17499         the three constants needed as parameters.  Drop the others.
17500         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
17501         __m128i_strloadu_tolower.
17502         Create and initialize variable zero and use it in all the places
17503         where _mm_setzero_si128 was used.
17505         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
17506         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
17507         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
17508         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
17509         anymore.
17510         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
17511         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
17512         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
17513         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
17514         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
17515         __mpranred, __mptan.
17516         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
17517         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
17518         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
17519         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
17520         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
17521         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
17522         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
17523         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
17524         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
17526 2011-10-28  Andreas Schwab  <schwab@redhat.com>
17528         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
17529         redefine if SHARED.
17530         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
17532         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
17533         wide char related routines to wcsmbs subdir.
17535 2011-10-27  Andreas Schwab  <schwab@redhat.com>
17537         [BZ #13344]
17538         * misc/sys/cdefs.h (__THROWNL): Define.
17539         * posix/unistd.h: Use __THREADNL instead of __THREAD
17540         for memory synchronization functions.
17542 2011-10-26  Roland McGrath  <roland@hack.frob.com>
17544         [BZ #13349]
17545         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
17546         doesn't exist.
17547         * manual/stdio.texi (Obstack Streams): Node removed.
17549 2011-10-26  Andreas Schwab  <schwab@redhat.com>
17551         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
17552         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17553         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17555         * math/math_private.h (math_force_eval): Allow non-addressable
17556         arguments.
17557         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
17559 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
17561         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
17562         file is not needed.
17564         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
17565         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
17566         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17567         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17568         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17569         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17570         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17571         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
17572         Add AVX variants.
17573         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
17574         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
17575         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
17576         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
17577         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
17578         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
17579         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
17580         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
17581         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
17582         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
17583         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
17584         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
17585         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
17586         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
17587         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
17588         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
17589         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
17590         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
17591         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
17593         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
17594         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
17596         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
17597         place.  Use VEX encoding when compiling for AVX.
17599 2011-10-25  Andreas Schwab  <schwab@redhat.com>
17601         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
17602         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17604         * string/test-strchr.c (do_test): Don't generate NUL bytes.
17606 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
17608         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
17609         useless if() expression.
17610         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17611         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17612         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17613         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17614         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17615         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17616         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17617         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17618         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17619         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17620         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17621         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17622         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17623         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17624         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17625         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17626         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17627         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17628         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17630         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
17632 2011-10-25  Andreas Schwab  <schwab@redhat.com>
17634         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
17635         condition.
17636         * elf/dl-fini.c (_dl_sort_fini): Likewise.
17638 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
17640         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
17641         .text section.  Avoid duplicate constants.
17642         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17643         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17644         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17645         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17646         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17647         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17648         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17649         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17650         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17651         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
17652         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17653         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17654         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
17655         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
17656         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
17657         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
17658         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
17659         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17660         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17661         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17662         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17663         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17664         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17665         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
17666         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
17667         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
17668         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
17669         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
17670         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
17671         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17672         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
17673         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17674         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17675         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
17676         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
17677         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17678         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17679         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
17680         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
17681         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
17682         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
17683         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
17684         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
17685         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17686         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17688 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
17690         * sysdeps/x86_64/dla.h: Move to ...
17691         * sysdeps/x86_64/fpu/dla.h: ...here.
17692         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
17693         situations.  Use __builtin_fma only for gcc 4.6 and up.
17695         * config.make.in: Add have-mfma4 entry.
17696         * configure.in: Substitute libc_cv_cc_fma4.
17697         * math/Makefile (dbl-only-routines): Add sincostab.
17698         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
17699         Use __sincostab not sincos.
17700         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
17701         name is a macro.
17702         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17703         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17704         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17705         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
17706         using __copysign.
17707         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
17708         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
17709         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
17710         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
17711         and __inv.
17712         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
17713         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
17714         __copysign.
17715         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
17716         define aliases when function name is a macro.
17717         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
17718         sysdeps/ieee754/dbl-64/sincos.tbl.
17719         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
17720         fma4-enabled routines.
17721         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
17722         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
17723         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
17724         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
17725         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
17726         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
17727         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
17728         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
17729         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
17730         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
17731         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
17732         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
17733         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
17734         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
17735         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
17736         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
17737         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
17738         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
17739         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
17740         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
17741         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
17742         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
17743         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
17744         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
17745         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
17746         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
17747         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
17748         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
17749         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
17750         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
17752         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
17753         rename.
17754         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17755         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17756         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17757         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17758         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17759         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17760         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17761         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17763 2011-10-24  Andreas Schwab  <schwab@redhat.com>
17765         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
17767 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
17769         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
17771         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
17772         prediction.
17773         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
17775         * string/strnlen.c: Don't define STRNLEN, reverse logic.
17776         Remove unused variable magic_bits.
17777         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
17779         * string/strnlen.c: Define and use STRNLEN macro.
17780         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
17781         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
17782         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
17783         * wcsmbs/wcslen.c: Define and use WCSLEN.
17784         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
17785         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
17786         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
17787         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
17788         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
17789         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
17790         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17792 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17794         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17795         strnlen-sse2-no-bsf.
17796         Rename strlen-no-bsf to strlen-sse2-no-bsf.
17797         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
17798         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
17799         Add strnlen support.
17800         (USE_AS_STRNLEN): New macro.
17801         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
17802         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
17803         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
17804         * sysdeps/x86_64/wcslen.S: New file.
17806 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
17808         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17809         XMM-moves are used for copying on small sizes.
17811 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17813         * wcsmbs/Makefile (strop-tests): Add wcschr.
17814         * wcsmbs/test-wcschr.c: New file.
17815         * string/test-strchr.c: Update.
17816         Add wcschr support.
17817         (WIDE): New macro.
17819 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17821         * wcsmbs/Makefile (strop-tests): Add wcslen.
17822         * wcsmbs/test-wcslen.c: New file.
17823         * string/test-strlen.c: Update.
17824         Add wcslen support.
17825         (WIDE): New macro.
17827 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
17829         * po/it.po: Update from translation team.
17831 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17833         * sysdeps/x86_64/wcscmp.S: Update.
17834         Fix wrong comparison semantics.
17835         wcscmp shall use signed comparison not unsigned.
17836         Don't use substraction to avoid overflow bug.
17837         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
17838         * wcsmbc/wcscmp.c: Likewise.
17839         * string/test-strcmp.c: Likewise.
17840         Add new tests to check cases with negative values.
17842 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
17844         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
17845         * sysdeps/x86_64/dla.h: ...here.  New file.
17846         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
17847         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17848         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17849         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17850         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17851         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17852         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17853         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17854         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17856 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
17858         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
17859         __ynl_finite aliases.
17861 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
17863         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17865         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
17866         define DLA_FMA.
17867         [DLA_FMA] (EMULV): Use DLA_FMA.
17868         [DLA_FMA] (MUL12): Use EMULV.
17869         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
17870         that are not needed.
17871         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17872         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17873         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17874         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17875         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17876         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17877         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17879 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
17881         * math/s_nan.c: Undef __nan.
17882         * math/s_nanf.c: Undef __nanf.
17883         * math/s_nanl.c: Undef __nanl.
17884         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
17885         "math_private.h".
17887 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
17889         * math/s_catan.c: Add branch predictions.
17890         * math/s_catanf.c: Likewise.
17891         * math/s_catanh.c: Likewise.
17892         * math/s_catanhf.c: Likewise.
17893         * math/s_catanhl.c: Likewise.
17894         * math/s_catanl.c: Likewise.
17895         * math/s_cexp.c: Likewise.
17896         * math/s_cexpf.c: Likewise.
17897         * math/s_cexpl.c: Likewise.
17898         * math/s_clog.c: Likewise.
17899         * math/s_clog10.c: Likewise.
17900         * math/s_clog10f.c: Likewise.
17901         * math/s_clog10l.c: Likewise.
17902         * math/s_clogf.c: Likewise.
17903         * math/s_clogl.c: Likewise.
17904         * math/s_csqrt.c: Likewise.
17905         * math/s_csqrtf.c: Likewise.
17906         * math/s_csqrtl.c: Likewise.
17907         * math/s_ctanf.c: Likewise.
17908         * math/s_ctanh.c: Likewise.
17909         * math/s_ctanhf.c: Likewise.
17910         * math/s_ctanhl.c: Likewise.
17911         * math/s_ctanl.c: Likewise.
17913         * math/math_private.h: Define __nan, __nanf, __nanl.
17914         * math/s_cacosh.c: Include <math_private.h>.
17915         * math/s_cacoshl.c: Likewise.
17916         * math/s_casinh.c: Likewise.
17917         * math/s_casinhf.c: Likewise.
17918         * math/s_casinhl.c: Likewise.
17919         * math/s_ccos.c: Rely entire on ccosh.
17920         * math/s_ccosf.c: Rely entire on ccoshf.
17921         * math/s_ccosl.c: Rely entirely on ccoshl.
17922         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
17923         Remove tests for FE_INVALID.
17924         * math/s_ccoshf.c: Likewise.
17925         * math/s_ccoshl.c: Likewise.
17926         * math/s_csin.c: Likewise.
17927         * math/s_csinf.c: Likewise.
17928         * math/s_csinh.c Likewise.
17929         * math/s_csinhf.c: Likewise.
17930         * math/s_csinhl.c: Likewise.
17931         * math/s_csinl.c: Likewise.
17932         * math/s_ctan.c: Likewise.
17933         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
17934         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
17935         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
17937 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
17939         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
17940         compilation problems.
17942         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
17943         __builtin_expect.
17945 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
17947         * sysdeps/i386/configure.in: Test for -mfma4 option.
17948         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
17949         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
17950         COMMON_CPUID_INDEX_80000001.
17951         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
17952         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
17953         use it if FMA3 is not supported.
17954         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
17956         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
17957         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17959 2011-10-20  Andreas Schwab  <schwab@redhat.com>
17961         [BZ #12892]
17962         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
17963         it would create a cycle with a link time dependency.
17965 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
17967         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
17968         instruction.
17969         * string/Makefile (strop-tests): Add rawmemchr.
17970         * string/test-rawmemchr.c: New file.
17972         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
17973         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
17974         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
17975         when compiling str{,n}casecmp and when AVX is available.  Hook up
17976         new optimized code in initializers.
17978 2011-10-19  Andreas Schwab  <schwab@redhat.com>
17980         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
17981         __feraiseexcept instead of feraiseexcept.
17983 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
17985         * math/math_private.h: Define defaults for libc_fetestexcept and
17986         libc_feupdateenv.
17987         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
17988         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
17989         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17990         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17991         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17992         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17993         libc_fetestexcept and libc_feupdateenv.
17995         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
17996         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
17997         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
17998         * sysdeps/x86_64/fpu/math_private.h: Define special version of
17999         libc_feholdexcept_setround.
18001         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
18002         Add s_nearbyint-c and s_nearbyintf-c.
18003         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
18004         nearbyintf inlines.
18005         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
18006         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
18007         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
18008         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
18010         * math/math_private.h: Define defaults for libc_fegetround,
18011         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
18012         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
18013         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
18014         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
18015         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
18016         standard functions.
18017         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18018         Remove comments and hacks for old compiler versions.
18019         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18020         libc_fegetround, libc_fesetround, libc_feholdexcept, and
18021         libc_feholdexceptl.
18023 2011-10-18  Andreas Schwab  <schwab@redhat.com>
18025         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
18026         (__feraiseexcept_renamed): Add __NTH.
18027         (feraiseexcept): Add __NTH.  Rename local variables to fix
18028         namespace violations.
18030 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
18032         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
18034         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
18036         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
18037         recently added interfaces.
18038         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
18040         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
18041         about macro parameter expansion.
18043         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
18044         __NO_MATH_INLINES is defined.  Cleanups.
18046         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
18047         and __floorf is target has SSE4.1.
18048         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
18049         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
18050         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
18051         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
18053         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
18054         name.
18055         (floorf): Likewise.
18057         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
18059 2011-10-17  Andreas Schwab  <schwab@redhat.com>
18061         * misc/sys/cdefs.h: Fix last change.
18063         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
18064         database lookup.
18066 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
18068         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
18070         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
18071         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18072         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18073         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18074         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18075         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18076         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18077         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18078         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18079         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
18080         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
18081         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
18082         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
18083         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
18084         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
18085         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
18086         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
18087         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
18088         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
18089         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
18090         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
18091         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
18093         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
18094         ceil, ceilf, floor, floorf.
18096         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
18097         Perform IRELATIVE relocations last.
18099         * elf/do-rel.h: Add another parameter nrelative, replacing the
18100         local variable with the same name.  Change name of the function
18101         to end in Rel or Rela (uppercase).
18102         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
18103         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
18104         elf_dynamic_do_##reloc function.
18106 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
18108         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
18109         is sufficient, at least on modern CPUs.
18111         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
18113         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
18114         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
18116         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
18117         __expl_finite.
18118         * math/bits/math-finite.h: Add entries for exp.
18119         * math/e_expl.c: Add __*_finite alias.
18120         * sysdeps/i386/fpu/e_exp.S: Likewise.
18121         * sysdeps/i386/fpu/e_expf.S: Likewise.
18122         * sysdeps/i386/fpu/e_expl.c: Likewise.
18123         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18124         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18125         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18126         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18127         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
18128         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18129         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18131         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
18132         is sufficient, at least on modern CPUs.
18134         * ctype/ctype-info.c (__ctype_init): Define.
18135         * include/ctype.h (__ctype_init): Declare.
18136         (__ctype_b_loc): The variable is always initialized.
18137         (__ctype_toupper_loc): Likewise.
18138         (__ctype_tolower_loc): Likewise.
18139         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
18140         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
18142 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
18144         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
18146         * configure.in: Also look in $cxxmachine/include for C++ system
18147         headers.
18149 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18151         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
18152         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
18153         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
18154         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
18155         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
18156         (USE_AS_WMEMCMP): New macro.
18157         Fixing indents.
18158         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
18159         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
18160         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
18161         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
18162         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18163         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
18164         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
18165         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
18166         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
18167         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
18168         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
18169         (USE_AS_WMEMCMP): New macro.
18170         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
18171         * sysdeps/string/test-memcmp.c: Update.
18172         Fix simple_wmemcmp.
18173         Add new tests.
18174         * wcsmbs/wmemcmp.c: Update.
18175         (WMEMCMP): New macro.
18176         Fix overflow bug.
18178 2011-10-12  Andreas Jaeger  <aj@suse.de>
18180         [BZ #13268]
18181         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
18183 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
18185         * libio/iofwide.c (do_length): Avoid warning.
18187         * ctype/ctype.h (__isctype_f): Add missing __THROW.
18189 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
18191         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
18193         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
18194         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
18195         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
18196         * sysdeps/i386/i686/fpu/e_log.S: New file.
18197         * sysdeps/i386/i686/fpu/e_logf.S: New file.
18198         * sysdeps/i386/i686/fpu/e_logl.S: New file.
18200         * ctype/ctype.h: Add support for inlined isXXX functions when
18201         compiling C++ code.
18203 2011-10-14  Andreas Schwab  <schwab@redhat.com>
18205         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18207         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
18209 2011-10-13  Roland McGrath  <roland@hack.frob.com>
18211         [BZ #13291]
18212         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
18214 2011-10-13  Andreas Schwab  <schwab@redhat.com>
18216         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
18217         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
18218         feraiseexcept.
18220         * sysdeps/x86_64/memrchr.S: Check for zero size.
18222         * string/stratcliff.c: Add memrchr tests.
18224 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18226         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18227         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
18228         rawmemchr-sse2 rawmemchr-sse2-bsf.
18229         * sysdeps/i386/i686/multiarch/memchr.S: New file.
18230         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
18231         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
18232         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
18233         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
18234         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
18235         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
18236         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
18237         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
18238         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
18239         * string/memrchr.c (MEMRCHR): New macro.
18241 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
18243         Add integration with gcc's -ffinite-math-only and optimize wrapper
18244         functions in libm.
18245         * Versions.def: Define GLIBC_2.15 version for libm.
18246         * math/Makefile (headers): Add bits/math-finite.h.
18247         * math/bits/math-finite.h: New file.
18248         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
18249         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
18250         * math/e_acoshl.c: Add __*_finite alias.
18251         * math/e_acosl.c: Likewise.
18252         * math/e_asinl.c: Likewise.
18253         * math/e_atan2l.c: Likewise.
18254         * math/e_atanhl.c: Likewise.
18255         * math/e_coshl.c: Likewise.
18256         * math/e_exp10.c: Likewise.
18257         * math/e_exp10f.c: Likewise.
18258         * math/e_exp10l.c: Likewise.
18259         * math/e_exp2l.c: Likewise.
18260         * math/e_fmodl.c: Likewise.
18261         * math/e_gammal_r.c: Likewise.
18262         * math/e_hypotl.c: Likewise.
18263         * math/e_j0l.c: Likewise.
18264         * math/e_j1l.c: Likewise.
18265         * math/e_jnl.c: Likewise.
18266         * math/e_lgammal_r.c: Likewise.
18267         * math/e_log10l.c: Likewise.
18268         * math/e_log2l.c: Likewise.
18269         * math/e_logl.c: Likewise.
18270         * math/e_powl.c: Likewise.
18271         * math/e_sinhl.c: Likewise.
18272         * math/e_sqrtl.c: Likewise.
18273         * math/e_scalb.c: Completely rewritten and optimized.
18274         * math/e_scalbf.c: Likewise.
18275         * math/e_scalbl.c: Likewise.
18276         * math/w_acos.c: Likewise.
18277         * math/w_acosf.c: Likewise.
18278         * math/w_acosl.c: Likewise.
18279         * math/w_acosh.c: Likewise.
18280         * math/w_acoshf.c: Likewise.
18281         * math/w_acoshl.c: Likewise.
18282         * math/w_asin.c: Likewise.
18283         * math/w_asinf.c: Likewise.
18284         * math/w_asinl.c: Likewise.
18285         * math/w_atan2.c: Likewise.
18286         * math/w_atan2f.c: Likewise.
18287         * math/w_atan2l.c: Likewise.
18288         * math/w_atanh.c: Likewise.
18289         * math/w_atanhf.c: Likewise.
18290         * math/w_atanhl.c: Likewise.
18291         * math/w_exp10.c: Likewise.
18292         * math/w_exp10f.c: Likewise.
18293         * math/w_exp10l.c: Likewise.
18294         * math/w_fmod.c: Likewise.
18295         * math/w_fmodf.c: Likewise.
18296         * math/w_fmodl.c: Likewise.
18297         * math/w_j0.c: Likewise.
18298         * math/w_j0f.c: Likewise.
18299         * math/w_j0l.c: Likewise.
18300         * math/w_j1.c: Likewise.
18301         * math/w_j1f.c: Likewise.
18302         * math/w_j1l.c: Likewise.
18303         * math/w_jn.c: Likewise.
18304         * math/w_jnf.c: Likewise.
18305         * math/w_log.c: Likewise.
18306         * math/w_logf.c: Likewise.
18307         * math/w_logl.c: Likewise.
18308         * math/w_log10.c: Likewise.
18309         * math/w_log10f.c: Likewise.
18310         * math/w_log10l.c: Likewise.
18311         * math/w_log2.c: Likewise.
18312         * math/w_log2f.c: Likewise.
18313         * math/w_log2l.c: Likewise.
18314         * math/w_pow.c: Likewise.
18315         * math/w_powf.c: Likewise.
18316         * math/w_powl.c: Likewise.
18317         * math/w_remainder.c: Likewise.
18318         * math/w_remainderf.c: Likewise.
18319         * math/w_remainderl.c: Likewise.
18320         * math/w_scalb.c: Likewise.
18321         * math/w_scalbf.c: Likewise.
18322         * math/w_scalbl.c: Likewise.
18323         * math/w_sqrt.c: Likewise.
18324         * math/w_sqrtf.c: Likewise.
18325         * math/w_sqrtl.c: Likewise.
18326         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
18327         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
18328         used.
18329         * math/math_private.h: Declare __kernel_standard_f.
18330         * math/w_cosh.c: Remove cruft and optimize a bit.
18331         * math/w_coshf.c: Likewise.
18332         * math/w_coshl.c: Likewise.
18333         * math/w_exp2.c: Likewise.
18334         * math/w_exp2f.c: Likewise.
18335         * math/w_exp2l.c: Likewise.
18336         * math/w_hypot.c: Likewise.
18337         * math/w_hypotf.c: Likewise.
18338         * math/w_hypotl.c: Likewise.
18339         * math/w_lgamma.c: Likewise.
18340         * math/w_lgamma_r.c: Likewise.
18341         * math/w_lgammaf.c: Likewise.
18342         * math/w_lgammaf_r.c: Likewise.
18343         * math/w_lgammal.c: Likewise.
18344         * math/w_lgammal_r.c: Likewise.
18345         * math/w_sinh.c: Likewise.
18346         * math/w_sinhf.c: Likewise.
18347         * math/w_sinhl.c: Likewise.
18348         * math/w_tgamma.c: Likewise.
18349         * math/w_tgammaf.c: Likewise.
18350         * math/w_tgammal.c: Likewise.
18351         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18352         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18353         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
18354         Minor optimizations.  Pretty printing.  Remove cruft.
18355         * sysdeps/i386/fpu/e_acosf.S: Likewise.
18356         * sysdeps/i386/fpu/e_acosh.S: Likewise.
18357         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18358         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18359         * sysdeps/i386/fpu/e_acosl.c: Likewise.
18360         * sysdeps/i386/fpu/e_asin.S: Likewise.
18361         * sysdeps/i386/fpu/e_asinf.S: Likewise.
18362         * sysdeps/i386/fpu/e_atan2.S: Likewise.
18363         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
18364         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
18365         * sysdeps/i386/fpu/e_atanh.S: Likewise.
18366         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18367         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18368         * sysdeps/i386/fpu/e_exp10.S: Likewise.
18369         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
18370         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
18371         * sysdeps/i386/fpu/e_exp2.S: Likewise.
18372         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
18373         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
18374         * sysdeps/i386/fpu/e_fmod.S: Likewise.
18375         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
18376         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
18377         * sysdeps/i386/fpu/e_hypot.S: Likewise.
18378         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
18379         * sysdeps/i386/fpu/e_log.S: Likewise.
18380         * sysdeps/i386/fpu/e_log10.S: Likewise.
18381         * sysdeps/i386/fpu/e_log10f.S: Likewise.
18382         * sysdeps/i386/fpu/e_log10l.S: Likewise.
18383         * sysdeps/i386/fpu/e_log2.S: Likewise.
18384         * sysdeps/i386/fpu/e_log2f.S: Likewise.
18385         * sysdeps/i386/fpu/e_log2l.S: Likewise.
18386         * sysdeps/i386/fpu/e_logf.S: Likewise.
18387         * sysdeps/i386/fpu/e_logl.S: Likewise.
18388         * sysdeps/i386/fpu/e_pow.S: Likewise.
18389         * sysdeps/i386/fpu/e_powf.S: Likewise.
18390         * sysdeps/i386/fpu/e_powl.S: Likewise.
18391         * sysdeps/i386/fpu/e_remainder.S: Likewise.
18392         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
18393         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
18394         * sysdeps/i386/fpu/e_scalb.S: Likewise.
18395         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18396         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18397         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
18398         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
18399         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
18400         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18401         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18402         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18403         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18404         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18405         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18406         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18407         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18408         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18409         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18410         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18411         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18412         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18413         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18414         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18415         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18416         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18417         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18418         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18419         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18420         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18421         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18422         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18423         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18424         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18425         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18426         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18427         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18428         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
18429         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18430         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18431         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18432         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18433         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18434         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18435         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18436         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18437         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18438         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18439         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18440         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18441         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18442         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18443         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18444         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18445         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18446         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18447         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18448         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18449         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
18450         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18451         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18452         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18453         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18454         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18455         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18456         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18457         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18458         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18459         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18460         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18461         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18462         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18463         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18464         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18465         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18466         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18467         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18468         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
18469         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18470         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18471         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18472         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18473         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18474         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18475         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18476         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
18477         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18478         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18479         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18480         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18481         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18482         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
18483         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18484         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18485         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18486         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18487         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18488         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18489         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18490         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18491         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18492         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18493         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18494         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18495         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18496         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18497         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
18498         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
18499         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
18500         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
18501         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
18502         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
18503         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
18504         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18505         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18506         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18507         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18508         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
18509         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18510         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
18511         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
18512         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
18513         (__isnanf): Likewise.
18514         (__isinf_ns): Likewise.
18515         (__isinf_nsf): Likewise.
18516         (__finite): Likewise.
18517         (__finitef): Likewise.
18518         (__ieee754_sqrt): Define as macro.
18519         (__ieee754_sqrtf): Define as macro.
18520         (__ieee754_sqrtl): Define as macro.
18521         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
18522         inlined copy.
18523         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
18524         __FINITE_MATH_ONLY__ consistent.
18525         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
18527 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
18529         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
18530         of rawmemchr.
18532         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
18534 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
18536         * po/ja.po: Update from translation team.
18538 2011-10-08  Roland McGrath  <roland@hack.frob.com>
18540         * locale/programs/locarchive.c (prepare_address_space): New function.
18541         (create_archive, enlarge_archive, open_archive): Use it.
18543         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
18544         inside [SHARED], where it is used.
18546         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
18548         * nss/getent.c (netgroup_keys): Remove unused variable.
18549         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18551 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
18553         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
18554         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
18555         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
18556         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
18557         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
18558         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
18559         * math/Makefile (libm-calls): Add s_isinf_ns.
18560         * math/divtc3.c: Use __isinf_nsl instead of isinf.
18561         * math/multc3.c: Likewise.
18562         * math/s_casin.c: Likewise.
18563         * math/s_casinf.c: Likewise.
18564         * math/s_casinl.c: Likewise.
18565         * math/s_ccos.c: Likewise.
18566         * math/s_ccosf.c: Likewise.
18567         * math/s_ccosl.c: Likewise.
18568         * math/s_ctan.c: Likewise.
18569         * math/s_ctanf.c: Likewise.
18570         * math/s_ctanh.c: Likewise.
18571         * math/s_ctanhf.c: Likewise.
18572         * math/s_ctanhl.c: Likewise.
18573         * math/s_ctanl.c: Likewise.
18574         * math/w_fmod.c: Likewise.
18575         * math/w_fmodf.c: Likewise.
18576         * math/w_fmodl.c: Likewise.
18577         * math/w_remainder.c: Likewise.
18578         * math/w_remainderf.c: Likewise.
18579         * math/w_remainderl.c: Likewise.
18580         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
18581         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
18582         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
18583         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
18584         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
18585         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
18586         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
18587         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
18589         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
18590         of the number.
18591         * stdio-common/printf_fphex.c: Likewise.
18592         * stdio-common/printf_size.c: Likewise.
18594         * math/e_exp10.c: Include math_private.h using <...> not "...".
18595         * math/e_exp10f.c: Likewise.
18596         * math/e_exp10l.c: Likewise.
18597         * math/e_exp2l.c: Likewise.
18598         * math/e_j0l.c: Likewise.
18599         * math/e_j1l.c: Likewise.
18600         * math/e_jnl.c: Likewise.
18601         * math/e_lgammal_r.c: Likewise.
18602         * math/e_rem_pio2l.c: Likewise.
18603         * math/e_scalb.c: Likewise.
18604         * math/e_scalbf.c: Likewise.
18605         * math/e_scalbl.c: Likewise.
18606         * math/k_cosl.c: Likewise.
18607         * math/k_sinl.c: Likewise.
18608         * math/k_tanl.c: Likewise.
18609         * math/s_cacoshf.c: Likewise.
18610         * math/s_catan.c: Likewise.
18611         * math/s_catanf.c: Likewise.
18612         * math/s_catanh.c: Likewise.
18613         * math/s_catanhf.c: Likewise.
18614         * math/s_catanhl.c: Likewise.
18615         * math/s_catanl.c: Likewise.
18616         * math/s_ccosh.c: Likewise.
18617         * math/s_ccoshf.c: Likewise.
18618         * math/s_ccoshl.c: Likewise.
18619         * math/s_cexp.c: Likewise.
18620         * math/s_cexpf.c: Likewise.
18621         * math/s_cexpl.c: Likewise.
18622         * math/s_clog.c: Likewise.
18623         * math/s_clog10.c: Likewise.
18624         * math/s_clog10f.c: Likewise.
18625         * math/s_clog10l.c: Likewise.
18626         * math/s_clogf.c: Likewise.
18627         * math/s_clogl.c: Likewise.
18628         * math/s_csin.c: Likewise.
18629         * math/s_csinf.c: Likewise.
18630         * math/s_csinh.c: Likewise.
18631         * math/s_csinhf.c: Likewise.
18632         * math/s_csinhl.c: Likewise.
18633         * math/s_csinl.c: Likewise.
18634         * math/s_csqrt.c: Likewise.
18635         * math/s_csqrtf.c: Likewise.
18636         * math/s_csqrtl.c: Likewise.
18637         * math/s_ctan.c: Likewise.
18638         * math/s_ctanf.c: Likewise.
18639         * math/s_ctanh.c: Likewise.
18640         * math/s_ctanhf.c: Likewise.
18641         * math/s_ctanhl.c: Likewise.
18642         * math/s_ctanl.c: Likewise.
18643         * math/s_ldexp.c: Likewise.
18644         * math/s_ldexpf.c: Likewise.
18645         * math/s_ldexpl.c: Likewise.
18646         * math/s_significand.c: Likewise.
18647         * math/s_significandf.c: Likewise.
18648         * math/s_significandl.c: Likewise.
18649         * math/w_acos.c: Likewise.
18650         * math/w_acosf.c: Likewise.
18651         * math/w_acosh.c: Likewise.
18652         * math/w_acoshf.c: Likewise.
18653         * math/w_acoshl.c: Likewise.
18654         * math/w_acosl.c: Likewise.
18655         * math/w_asin.c: Likewise.
18656         * math/w_asinf.c: Likewise.
18657         * math/w_asinl.c: Likewise.
18658         * math/w_atan2.c: Likewise.
18659         * math/w_atan2f.c: Likewise.
18660         * math/w_atan2l.c: Likewise.
18661         * math/w_atanh.c: Likewise.
18662         * math/w_atanhf.c: Likewise.
18663         * math/w_atanhl.c: Likewise.
18664         * math/w_cosh.c: Likewise.
18665         * math/w_coshf.c: Likewise.
18666         * math/w_coshl.c: Likewise.
18667         * math/w_dremf.c: Likewise.
18668         * math/w_exp10.c: Likewise.
18669         * math/w_exp10f.c: Likewise.
18670         * math/w_exp10l.c: Likewise.
18671         * math/w_exp2.c: Likewise.
18672         * math/w_exp2f.c: Likewise.
18673         * math/w_fmod.c: Likewise.
18674         * math/w_fmodf.c: Likewise.
18675         * math/w_fmodl.c: Likewise.
18676         * math/w_hypot.c: Likewise.
18677         * math/w_hypotf.c: Likewise.
18678         * math/w_hypotl.c: Likewise.
18679         * math/w_j0.c: Likewise.
18680         * math/w_j0f.c: Likewise.
18681         * math/w_j0l.c: Likewise.
18682         * math/w_j1.c: Likewise.
18683         * math/w_j1f.c: Likewise.
18684         * math/w_j1l.c: Likewise.
18685         * math/w_jn.c: Likewise.
18686         * math/w_jnf.c: Likewise.
18687         * math/w_jnl.c: Likewise.
18688         * math/w_lgamma.c: Likewise.
18689         * math/w_lgamma_r.c: Likewise.
18690         * math/w_lgammaf.c: Likewise.
18691         * math/w_lgammaf_r.c: Likewise.
18692         * math/w_lgammal.c: Likewise.
18693         * math/w_lgammal_r.c: Likewise.
18694         * math/w_log.c: Likewise.
18695         * math/w_log10.c: Likewise.
18696         * math/w_log10f.c: Likewise.
18697         * math/w_log10l.c: Likewise.
18698         * math/w_log2.c: Likewise.
18699         * math/w_log2f.c: Likewise.
18700         * math/w_log2l.c: Likewise.
18701         * math/w_logf.c: Likewise.
18702         * math/w_logl.c: Likewise.
18703         * math/w_pow.c: Likewise.
18704         * math/w_powf.c: Likewise.
18705         * math/w_powl.c: Likewise.
18706         * math/w_remainder.c: Likewise.
18707         * math/w_remainderf.c: Likewise.
18708         * math/w_remainderl.c: Likewise.
18709         * math/w_scalb.c: Likewise.
18710         * math/w_scalbf.c: Likewise.
18711         * math/w_scalbl.c: Likewise.
18712         * math/w_sinh.c: Likewise.
18713         * math/w_sinhf.c: Likewise.
18714         * math/w_sinhl.c: Likewise.
18715         * math/w_sqrt.c: Likewise.
18716         * math/w_sqrtf.c: Likewise.
18717         * math/w_sqrtl.c: Likewise.
18718         * math/w_tgamma.c: Likewise.
18719         * math/w_tgammaf.c: Likewise.
18720         * math/w_tgammal.c: Likewise.
18722         * po/ja.po: Update from translation team.
18724 2011-09-29  Andreas Jaeger  <aj@suse.de>
18726         [BZ #13179]
18727         * sunrpc/netname.c (netname2host): Fix logic.
18729         [BZ #6779]
18730         [BZ #6783]
18731         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
18732         correctly.
18733         * math/w_remainder.c (__remainder): Likewise.
18734         * math/w_remainderf.c (__remainderf): Likewise.
18735         * math/libm-test.inc (remainder_test): Add test cases.
18737 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18739         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
18740         sdiv_qrnnd.
18742 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
18744         * string/test-memcmp.c: Avoid unncessary #defines.
18745         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18747 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18749         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
18750         Use new sse2 version for core i3 - i7 as it's faster
18751         than sse42 version.
18752         (bit_Prefer_PMINUB_for_stringop): New.
18753         * sysdeps/x86_64/rawmemchr.S: Update.
18754         Replace with faster SSE2 version.
18755         * sysdeps/x86_64/memrchr.S: New file.
18756         * sysdeps/x86_64/memchr.S: Update.
18757         Replace with faster SSE2 version.
18759 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
18761         * elf/dl-load.c (lose): Add cast to avoid warning.
18763 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
18765         * po/ca.po: Update from translation team.
18767         * inet/getnetgrent_r.c: Hook up nscd.
18768         * nscd/Makefile (routines): Add nscd_netgroup.
18769         (nscd-modules): Add netgroupcache.
18770         (CFLAGS-netgroupcache.c): Define.
18771         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
18772         (cache_search): Add const to second parameter.
18773         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
18774         INNETGR.
18775         (dbs): Add netgrdb entry.
18776         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
18777         (verify_persistent_db): Handle netgrdb.
18778         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
18779         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
18780         GETFDNETGR.
18781         (netgroup_response_header): Define.
18782         (innetgroup_response_header): Define.
18783         (datahead): Add netgroup_response_header and innetgroup_response_header
18784         elements.
18785         * nscd/nscd.conf: Add entries for netgroup cache.
18786         * nscd/nscd.h (dbtype): Add netgrdb.
18787         (_PATH_NSCD_NETGROUP_DB): Define.
18788         (netgroup_iov_disabled): Declare.
18789         (xmalloc, xcalloc, xrealloc): Move declarations here.
18790         (cache_search): Adjust prototype.
18791         Add netgroup-related prototypes.
18792         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
18793         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
18794         (__nscd_innetgr): Declare.
18795         * nscd/selinux.c (perms): Use access_vector_t as element type and
18796         add netgroup-related initializers.
18797         * nscd/netgroupcache.c: New file.
18798         * nscd/nscd_netgroup.c: New file.
18799         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
18800         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
18801         For four parameters use innetgr.
18802         * nss/nss_files/files-init.c: Add definition and callback for netgr.
18803         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
18804         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
18805         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
18807         * nscd/connections.c (register_traced_file): Don't register file
18808         for disabled databases.
18810 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
18812         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
18814         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
18815         from tree and freeing node.
18817 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
18819         * nss/nsswitch.c (__nss_database_lookup): Handle
18820         nss_parse_service_list out of memory case.
18822 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
18824         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
18825         out of memory case.
18827 2011-10-04  Andreas Schwab  <schwab@redhat.com>
18829         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
18830         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
18831         pass it down.
18832         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
18833         elf_machine_rela, elf_machine_lazy_rel.
18834         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
18835         (ELF_DYNAMIC_DO_REL): Likewise.
18836         (ELF_DYNAMIC_DO_RELA): Likewise.
18837         (ELF_DYNAMIC_RELOCATE): Likewise.
18838         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
18839         to ELF_DYNAMIC_DO_REL.
18840         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
18841         (dl_main): In trace mode always set __RTLD_NOIFUNC.
18842         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
18843         elf_machine_rela.
18844         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
18845         skip_ifunc, don't call ifunc function if non-zero.
18846         (elf_machine_rela): Likewise.
18847         (elf_machine_lazy_rel): Likewise.
18848         (elf_machine_lazy_rela): Likewise.
18849         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
18850         (elf_machine_lazy_rel): Likewise.
18851         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
18852         Likewise.
18853         (elf_machine_lazy_rel): Likewise.
18854         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18855         Likewise.
18856         (elf_machine_lazy_rel): Likewise.
18857         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
18858         (elf_machine_lazy_rel): Likewise.
18859         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
18860         (elf_machine_lazy_rel): Likewise.
18861         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18862         (elf_machine_lazy_rel): Likewise.
18863         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
18864         (elf_machine_lazy_rel): Likewise.
18865         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
18866         (elf_machine_lazy_rel): Likewise.
18867         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18868         (elf_machine_lazy_rel): Likewise.
18870 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
18872         * nss/nss_files/files-init.c (_nss_files_init): Use static
18873         initialization for all the *_traced_file variables.
18875 2011-09-28  Andreas Schwab  <schwab@redhat.com>
18877         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18879 2011-09-27  Roland McGrath  <roland@hack.frob.com>
18881         [BZ #13226]
18882         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
18884 2011-09-27  Andreas Schwab  <schwab@redhat.com>
18886         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18887         Reread the line before reparsing it.
18889 2011-09-26  Andreas Schwab  <schwab@redhat.com>
18891         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
18893 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
18894             Maxim Kuvyrkov  <maxim@codesourcery.com>
18895             Joseph Myers  <joseph@codesourcery.com>
18897         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
18898         if needed for __stack_chk_guard.
18900 2011-09-19  Roland McGrath  <roland@hack.frob.com>
18902         * sysdeps/posix/spawni.c (script_execute): Always define it.
18903         It will be optimized away if unused.
18904         (maybe_script_execute): New function.
18905         (__spawni): Call it.
18907         * Makerules: Don't include tls.make.
18908         (config-tls): Always set to thread.
18909         * tls.make.c: File removed.
18911 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
18913         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
18914         * config.make.in (CPPFLAGS-config): New substituted variable.
18916 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
18918         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
18920         [BZ #13192]
18921         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
18922         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
18924 2011-09-15  Roland McGrath  <roland@hack.frob.com>
18926         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
18927         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
18928         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18929         (CALL_FAIL): Likewise.
18930         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
18931         (CALL_FAIL): Macro removed.
18932         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
18934 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
18936         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
18937         for __FINITE_MATH_ONLY__ == 1.
18939 2011-09-15  Andreas Schwab  <schwab@redhat.com>
18941         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
18942         __ieee754_sqrt instead of sqrt.
18943         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
18944         __ieee754_sqrtf instead of sqrtf.
18945         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
18946         __floorf instead of floorf.
18947         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
18948         __floorf, __truncf instead of floorf, truncf.
18950 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
18952         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
18954         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
18955         __extern_always_inline.
18956         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
18957         32-bit.
18959 2011-09-14  Andreas Schwab  <schwab@redhat.com>
18961         * elf/rtld.c (dl_main): Also relocate in dependency order when
18962         doing symbol dependency testing.
18964 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
18966         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18967         Always define `refsym'.
18969 2011-09-13  Andreas Schwab  <schwab@redhat.com>
18971         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
18972         (__FD_ELT): Renamed from __FDELT.
18973         * misc/bits/select2.h (__FD_ELT): Likewise.
18974         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
18975         __FD_MASK instead of __FDELT, __FDMASK.
18976         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18977         Likewise.
18978         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18979         Likewise.
18981         * elf/Makefile (gen-ldd): Fix pattern.
18983         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
18984         (init_tls): Likewise.
18986 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
18988         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
18990 2011-09-12  Andreas Schwab  <schwab@redhat.com>
18992         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
18993         `struct cmsghdr *' instead of `void *'.
18994         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
18995         Likewise.
18997 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
18999         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
19000         if non-absolute.
19001         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
19002         ldd_rewrite_script.
19004 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
19006         * configure.in: Remove --with-tls option.
19007         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
19008         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
19009         out in case it is missing.
19010         * sysdeps/ia64/elf/configure.in: Likewise.
19011         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
19012         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
19013         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
19014         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
19015         * sysdeps/sh/elf/configure.in: Likewise.
19016         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
19017         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19018         * sysdeps/x86_64/elf/configure.in: Likewise.
19019         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
19020         * sysdeps/mach/hurd/tls.h: Likewise.
19022         [BZ #13067]
19023         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
19025         [BZ #13090]
19026         * configure.in: Fix use of AC_INIT.
19028         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
19030 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
19032         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
19033         __set_errno.
19034         * malloc/hooks.c: Likewise.
19036         [BZ #11929]
19037         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
19038         variables statically.
19039         (narenas): Initialize.
19040         (list_lock): Initialize.
19041         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
19042         initializtion of main_arena and list_lock.  Small cleanups.
19043         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
19044         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
19045         Add initializers to main_arena and mp_.
19046         (malloc_state): Remove pagesize member.  Change all users to use
19047         GLRO(dl_pagesize).
19049         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
19050         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
19051         is always initialized.
19053         * malloc/malloc.c: Removed unused configurations and dead code.
19054         * malloc/arena.c: Likewise.
19055         * malloc/hooks.c: Likewise.
19056         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
19058         * include/tls.h: Removed.  USE___THREAD must always be defined.
19059         * bits/libc-tsd.h: Don't handle !USE___THREAD.
19060         * elf/dl-libc.c: Likewise.
19061         * elf/dl-tsd.c: Likewise.
19062         * include/errno.h: Likewise.
19063         * include/netdb.h: Likewise.
19064         * include/resolv.h: Likewise.
19065         * inet/herrno-loc.c: Likewise.
19066         * inet/herrno.c: Likewise.
19067         * malloc/arena.c: Likewise.
19068         * malloc/hooks.c: Likewise.
19069         * malloc/malloc.c: Likewise.
19070         * resolv/res-state.c: Likewise.
19071         * resolv/res_libc.c: Likewise.
19072         * sysdeps/i386/dl-machine.h: Likewise.
19073         * sysdeps/ia64/dl-machine.h: Likewise.
19074         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
19075         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19076         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
19077         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
19078         * sysdeps/sh/dl-machine.h: Likewise.
19079         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19080         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19081         * sysdeps/unix/i386/sysdep.S: Likewise.
19082         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19083         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
19084         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
19085         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19086         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
19087         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19088         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19089         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19090         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19091         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19092         * sysdeps/unix/x86_64/sysdep.S: Likewise.
19093         * sysdeps/x86_64/dl-machine.h: Likewise.
19094         * tls.make.c: Likewise.
19096         * configure.in: Remove --with-__thread option.  Make tests for
19097         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
19098         tls_model attribute fail if no support is available.  Remove
19099         USE_IN_LIBIO.
19100         * Makeconfig: Adjust for dropped configure option.  All features are
19101         now mandatory.
19102         * Makerules: Likewise.
19103         * Versions.def: Likewise.
19104         * argp/argp-fmtstream.c: Likewise.
19105         * argp/argp-fmtstream.h: Likewise.
19106         * argp/argp-help.c: Likewise.
19107         * assert/assert.c: Likewise.
19108         * config.h.in: Likewise.
19109         * config.make.in: Likewise.
19110         * configure: Likewise.
19111         * configure.in: Likewise.
19112         * csu/Versions: Likewise.
19113         * csu/init.c: Likewise.
19114         * elf/tst-audit2.c: Likewise.
19115         * elf/tst-tls10.c: Likewise.
19116         * elf/tst-tls10.h: Likewise.
19117         * elf/tst-tls11.c: Likewise.
19118         * elf/tst-tls12.c: Likewise.
19119         * elf/tst-tls14.c: Likewise.
19120         * elf/tst-tlsmod11.c: Likewise.
19121         * elf/tst-tlsmod12.c: Likewise.
19122         * elf/tst-tlsmod13.c: Likewise.
19123         * elf/tst-tlsmod13a.c: Likewise.
19124         * elf/tst-tlsmod14a.c: Likewise.
19125         * elf/tst-tlsmod15b.c: Likewise.
19126         * elf/tst-tlsmod16a.c: Likewise.
19127         * elf/tst-tlsmod16b.c: Likewise.
19128         * elf/tst-tlsmod7.c: Likewise.
19129         * elf/tst-tlsmod8.c: Likewise.
19130         * elf/tst-tlsmod9.c: Likewise.
19131         * gmon/gmon.c: Likewise.
19132         * grp/fgetgrent_r.c: Likewise.
19133         * grp/putgrent.c: Likewise.
19134         * hurd/fopenport.c: Likewise.
19135         * include/libc-symbols.h: Likewise.
19136         * include/tls.h: Likewise.
19137         * intl/gettextP.h: Likewise.
19138         * intl/loadinfo.h: Likewise.
19139         * locale/global-locale.c: Likewise.
19140         * locale/localeinfo.h: Likewise.
19141         * mach/devstream.c: Likewise.
19142         * malloc/arena.c: Likewise.
19143         * malloc/set-freeres.c: Likewise.
19144         * misc/err.c: Likewise.
19145         * misc/getttyent.c: Likewise.
19146         * misc/mntent_r.c: Likewise.
19147         * posix/getopt.c: Likewise.
19148         * posix/wordexp.c: Likewise.
19149         * pwd/fgetpwent_r.c: Likewise.
19150         * resolv/Versions: Likewise.
19151         * resolv/res_hconf.c: Likewise.
19152         * shadow/fgetspent_r.c: Likewise.
19153         * shadow/putspent.c: Likewise.
19154         * stdio-common/printf_fphex.c: Likewise.
19155         * stdio-common/tmpfile.c: Likewise.
19156         * stdlib/abort.c: Likewise.
19157         * stdlib/fmtmsg.c: Likewise.
19158         * sunrpc/auth_unix.c: Likewise.
19159         * sunrpc/clnt_perr.c: Likewise.
19160         * sunrpc/clnt_tcp.c: Likewise.
19161         * sunrpc/clnt_udp.c: Likewise.
19162         * sunrpc/clnt_unix.c: Likewise.
19163         * sunrpc/openchild.c: Likewise.
19164         * sunrpc/svc_simple.c: Likewise.
19165         * sunrpc/svc_tcp.c: Likewise.
19166         * sunrpc/svc_udp.c: Likewise.
19167         * sunrpc/svc_unix.c: Likewise.
19168         * sunrpc/xdr.c: Likewise.
19169         * sunrpc/xdr_array.c: Likewise.
19170         * sunrpc/xdr_rec.c: Likewise.
19171         * sunrpc/xdr_ref.c: Likewise.
19172         * sunrpc/xdr_stdio.c: Likewise.
19174 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
19176         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19178 2011-07-03  Andreas Jaeger  <aj@suse.de>
19180         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
19181         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
19182         regenerate with gen-libm-tests.pl.
19184 2010-05-12  Petr Baudis  <pasky@suse.cz>
19186         [BZ #11589]
19187         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
19188         around j0() zero points by switching to j1().
19189         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19190         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19191         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19192         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19194 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
19196         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
19197         instead of 0.
19198         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
19199         instead of 0.                              .
19200         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19201         Patch in part by Pavel Roskin <proski@gnu.org>.
19203         [BZ #13138]
19204         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
19205         realloc.
19206         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
19207         Free memory block if necessary.
19209         [BZ #12847]
19210         * libio/genops.c (INTDEF): For string streams the _lock pointer can
19211         be NULL.  Don't lock in this case.
19213 2011-09-09  Roland McGrath  <roland@hack.frob.com>
19215         * elf/elf.h (ELFOSABI_GNU): New macro.
19216         (ELFOSABI_LINUX): Define to that.
19218 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
19220         * string/strncat.c (strncat): Undef the symbol in case it has been
19221         defined in bits/string.h.
19223 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
19225         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
19227         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
19228         link map.
19230 2011-08-17  Andreas Jaeger  <aj@suse.de>
19232         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
19234 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
19235             Ian Lance Taylor  <iant@google.com>
19237         * math/libm-test.inc (lround_test): New testcase.
19238         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
19240 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
19242         * Makefile: Remove support for automatic cvs check-ins.
19243         * Makerules: Likewise.
19244         * config.make.in: Likewise.
19245         * configure.in: Likewise.
19246         * intl/Makefile: Likewise.
19247         * locale/Makefile: Likewise.
19248         * po/Makefile: Likewise.
19249         * posix/Makefile: Likewise.
19250         * sysdeps/gnu/Makefile: Likewise.
19251         * sysdeps/mach/hurd/Makefile: Likewise.
19252         * sysdeps/sparc/sparc32/Makefile: Likewise.
19254         [BZ #13118]
19255         * posix/Makefile (bug-regex32-ENV): Define.
19256         Patch by John Stanley <jpsinthemix@verizon.net>.
19258         * misc/Makefile (headers): Add bits/select2.h.
19259         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
19260         * misc/bits/select2.h: New file.
19261         * include/bits/select2.h: New file.
19262         * debug/Makefile (routines): Add fdelt_chk.
19263         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
19264         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
19265         FD_ISSET.
19266         * debug/fdelt_chk.c: New file.
19268         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
19269         * wcsmbs/test-wmemcmp.c: Likewise.
19270         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
19271         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
19273 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19275         * string/Makefile (strop-tests): Add memcmp.
19276         * string/test-wmemcmp.c: New file.
19277         * string/test-memcmp.c: Add wmemcmp support.
19279 2011-09-08  Roland McGrath  <roland@hack.frob.com>
19281         [BZ #13153]
19282         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
19283         2011-07-19 change.
19285         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
19286         garbage value in a __mach_port_mod_refs call in the cases of the
19287         task-self and thread-self ports.
19289 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19291         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
19293 2011-09-08  Andreas Schwab  <schwab@redhat.com>
19295         * elf/dl-load.c (lose): Check for non-null L.
19297 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
19299         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
19301         * elf/dl-libc.c (dlerror_run): Pass back error code from
19302         dl_catch_error.
19304         [BZ #13123]
19305         * elf/dl-load.c (lose): Free l_origin if it is valid.
19307         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
19308         names.
19309         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
19310         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19311         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19312         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19313         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
19314         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
19316 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19318         * sysdeps/powerpc/fpu/e_hypot.c: New file.
19319         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
19320         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
19321         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
19322         * sysdeps/powerpc/fpu/k_cosf.c: New file.
19323         * sysdeps/powerpc/fpu/k_sinf.c: New file.
19324         * sysdeps/powerpc/fpu/s_cosf.c: New file.
19325         * sysdeps/powerpc/fpu/s_sinf.c: New file.
19326         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
19327         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
19329 2011-08-15  Alan Modra  <amodra@gmail.com>
19331         [BZ #13092]
19332         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
19333         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
19334         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
19335         ppc_mcount to static-only-routines.
19336         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
19337         __mcount_internal.
19338         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
19339         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
19341 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
19343         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
19344         for finite and infinity parameters.
19346 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
19348         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
19349         and add nop instructions for throughput optimization.
19350         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19352 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
19354         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
19355         aligned copy for power7 with vector-scalar instructions.
19356         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
19358 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
19360         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
19361         AVX check.
19363 2011-09-07  Andreas Schwab  <schwab@redhat.com>
19365         [BZ #13144]
19366         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
19367         last change.
19369 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
19371         * sysdeps/unix/sysv/linux/x86_64/init-first.c
19372         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
19373         syscall wrapper around clock_gettime in __vdso_clock_gettime.
19374         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
19375         clock_gettime.
19377 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
19379         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
19380         Forgot to demangle the pointer.
19382         * sysdeps/i386/sysdep.h: Define atom_text_section.
19383         * sysdeps/x86_64/sysdep.h: Likewise.
19384         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
19385         section with atom_text_section.
19386         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19387         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19388         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
19389         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19390         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
19392         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
19393         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
19394         already be defined.  Change to take two parameters and don't assign
19395         result to variable.  Adjust all users.
19396         Define INTERNAL_GETTIME if not already defined.
19397         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
19398         call.
19399         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
19400         HAVE_CLOCK_GETTIME_VSYSCALL.
19401         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
19403         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
19404         gettimeofday vsyscall, just use time.
19406 2011-09-06  Andreas Schwab  <schwab@redhat.com>
19408         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
19409         <errno.h>.
19411 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
19413         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
19414         syscall on x86-64.
19415         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
19416         syscall.
19417         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
19418         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
19419         syscall if possible.
19421 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
19423         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
19424         e_ident.  Don't pass to find_mapsXX.
19425         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
19427 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19429         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19430         strchr-sse2-no-bsf strrchr-sse2-no-bsf
19431         * sysdeps/x86_64/multiarch/strchr.S: Update.
19432         Check bit_slow_BSF bit.
19433         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19434         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
19435         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
19437 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
19439         [BZ #13134]
19440         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
19441         before glibc 2.15.
19442         (tryshell): Define.
19443         (__spawni): Change last parameter to be flag.  Test
19444         SPAWN_XFLAGS_USE_PATH flag to use path or not.
19445         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
19446         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
19447         * posix/spawni.c: Likewise.
19448         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
19449         * posix/spawnp.c: Likewise.  Change normal version to use
19450         SPAWN_XFLAGS_USE_PATH.
19451         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
19452         SPAWN_XFLAGS_TRY_SHELL.
19454         [BZ #13150]
19455         * posix/glob.h: Remove gcc 1.x support.
19457         [BZ #13068]
19458         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
19460 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19462         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19463         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
19464         strrchr-sse2-bsf
19465         * sysdeps/i386/i686/multiarch/strchr.S: New file.
19466         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
19467         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
19468         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
19469         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
19470         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
19472 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19474         * sysdeps/x86_64/wcscmp.S: New file.
19476         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
19477         wcscmp-c wcscmp-sse2
19478         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
19479         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
19480         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
19481         * wcsmbs/wcscmp.c: Allow renaming.
19483 2011-09-05  David S. Miller  <davem@davemloft.net>
19485         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
19486         stack slot, rather than the struct return pointer slot.
19487         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
19488         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
19489         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
19490         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
19492 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
19494         * po/ja.po: Update from translation team.
19496         [BZ #13144]
19497         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
19498         kernel in 64-bit binaries.
19500 2011-09-01  David S. Miller  <davem@davemloft.net>
19502         * elf/elf.h (HWCAP_SPARC_*): Move to..
19503         * sysdeps/sparc/sysdep.h: this new file and add new values.
19504         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
19505         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
19506         _DL_HWCAP_COUNT to 24.
19507         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19508         entries.
19509         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
19510         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
19511         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
19512         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
19513         instead of magic constants.
19514         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19516 2011-08-31  David S. Miller  <davem@davemloft.net>
19518         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
19519         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
19520         Reimplement to do errno handling inline.
19521         (SYSCALL_ERROR_HANDLER): New macro.
19522         (__SYSCALL_STRING): Do not do errno handling in asm.
19523         (__CLONE_SYSCALL_STRING): Delete.
19524         (__INTERNAL_SYSCALL_STRING): Delete.
19525         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
19526         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
19527         (PSEUDO): Reimplement to do errno handling inline.
19528         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
19529         (SYSCALL_ERROR_HANDLER): New macro.
19530         (__SYSCALL_STRING): Do not do errno handling in asm.
19531         (__CLONE_SYSCALL_STRING): Delete.
19532         (__INTERNAL_SYSCALL_STRING): Delete.
19533         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
19534         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
19535         i386.
19536         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
19537         (inline_syscall*): Add 'err' argument.
19538         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
19539         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
19540         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
19541         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
19543         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
19544         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19546 2011-08-30  Andreas Schwab  <schwab@redhat.com>
19548         * elf/rtld.c (dl_main): Relocate objects in dependency order.
19550 2011-08-29  Jiri Olsa <jolsa@redhat.com>
19552         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
19553         directive.
19555 2011-08-24  David S. Miller  <davem@davemloft.net>
19557         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
19559 2011-08-24  Andreas Schwab  <schwab@redhat.com>
19561         * elf/Makefile: Add rules to build and run unload8 test.
19562         * elf/unload8.c: New file.
19563         * elf/unload8mod1.c: New file.
19564         * elf/unload8mod1x.c: New file.
19565         * elf/unload8mod2.c: New file.
19566         * elf/unload8mod3.c: New file.
19568         * elf/dl-close.c (_dl_close_worker): Reset private search list if
19569         it wasn't used.
19571 2011-08-23  David S. Miller  <davem@davemloft.net>
19573         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
19574         subtract stack bias.
19575         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
19576         %sp not %fp in calculations.
19577         (_JMPBUF_UNWINDS_ADJ): Likewise.
19579         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
19580         (aio_suspend): Call it to force an exception region around the
19581         AIO_MISC_WAIT() invocation.
19583 2011-08-23  Andreas Schwab  <schwab@redhat.com>
19585         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
19586         backslash.
19588 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
19590         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
19591         protection macro.
19592         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
19593         and <dl-machine.h>.
19594         (Elf64_FuncDesc): Remove.
19596 2011-08-22  David S. Miller  <davem@davemloft.net>
19598         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
19599         sigaltstack check, add missing cfi directives.
19600         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
19601         missing cfi directives, and sigaltstack handling.
19603 2011-08-16  Andreas Schwab  <schwab@redhat.com>
19605         [BZ #11724]
19606         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
19607         object is seen twice.
19608         * elf/dl-fini.c (_dl_sort_fini): Likewise.
19610         * elf/Makefile (distribute): Add tst-initorder2.c.
19611         (tests): Add tst-initorder2.
19612         (modules-names): Add tst-initorder2a tst-initorder2b
19613         tst-initorder2c tst-initorder2d.  Add rules to build them.
19614         ($(objpfx)tst-initorder2.out): New rule.
19615         * elf/tst-initorder2.c: New file.
19616         * elf/tst-initorder2.exp: New file.
19618 2011-08-22  Andreas Schwab  <schwab@redhat.com>
19620         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
19622         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
19623         dependencies back to end of function.
19625         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19626         $(elfobjdir)/ld.so.
19628 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
19630         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
19631         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
19632         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
19633         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
19634         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
19635         of __vdso_gettimeofday.
19636         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
19637         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
19638         attribute_hidden.
19639         (_libc_vdso_platform_setup): Remove initialization of
19640         __vdso_gettimeofday and __vdso_time.
19642 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
19644         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
19645         and fgetc_unlocked.
19646         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
19647         getc_unlocked.
19649         * elf/dl-open.c (add_to_global): Report additions to the global scope
19650         for LD_DEBUG=scopes.
19651         (dl_open_worker): Also print scope of newly loaded dependencies.
19652         (_dl_show_scope): Indicate if there is no scope.
19654         [BZ #13114]
19655         * stdio-common/Makefile (tests): Add bug24.
19656         * stdio-common/bug24.c: New file.
19658 2011-08-19  Andreas Jaeger  <aj@suse.de>
19660         [BZ #13114]
19661         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
19662         non-existant file when using close-on-exec mode.
19664 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
19666         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
19667         the very first instruction.
19669         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
19670         the CFI state in the end.
19671         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
19672         inclusion of dl-trampoline.h.
19673         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
19675 2011-08-19  Andreas Schwab  <schwab@redhat.com>
19677         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
19678         expectations for long double.
19680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
19681         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
19683 2011-08-14  David S. Miller  <davem@davemloft.net>
19685         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
19686         artificual limit depends upon the system page size.
19688 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
19690         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
19691         * resolv/Makefile: Define CFLAGS-libresolv.
19693 2011-08-17  Andreas Schwab  <schwab@redhat.com>
19695         * nss/makedb.c (compute_tables): Make variables used in nested
19696         function static.
19698 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
19700         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
19701         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
19702         if buffer was too small.
19704         * elf/pldd.c (main): Attach to all threads in the process.
19705         Rewrite /proc handling to use *at functions.
19707 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
19709         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
19710         specifies first scope to show.
19711         (dl_open_worker): Update callers.  Move printing scope of new
19712         object to before the relocation.
19713         * elf/rtld.c (dl_main): Update _dl_show_scope call.
19714         * sysdeps/generic/ldsodefs.h: Update declaration.
19716         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
19717         string for the scope number.
19719 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
19721         * nscd/servicescache.c (cache_addserv): Make sure written is always
19722         initialized.
19724 2011-08-14  Roland McGrath  <roland@hack.frob.com>
19726         * sysdeps/i386/i486/bits/atomic.h
19727         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
19728         statement expression, so as to suppress "set but not used" warning.
19729         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
19731         * string/strncat.c (STRNCAT): Use prototype definition.
19733         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
19734         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
19735         -Iprograms here.
19736         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
19737         (localedef-modules): Add localedef.
19738         (locale-modules): Add locale.
19740         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
19741         * elf/rtld.c (dl_main): Invert order of assignment in last change,
19742         to avoid a warning.
19744 2011-08-14  David S. Miller  <davem@davemloft.net>
19746         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
19747         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
19749 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
19751         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
19752         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
19753         * elf/rtld.c (dl_main): Set l_name of vDSO.
19754         Call _dl_show_scope when DL_DEBUG_SCOPES.
19755         (process_dl_debug): Recognize scopes flag and also set it for all.
19756         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
19757         Declare _dl_show_scope.
19759         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
19760         (do_dlopen): Pass caller_dlopen to dl_open.
19761         (__libc_dlopen_mode): Initialize caller_dlopen.
19763         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
19764         of libc.  Make tolower call locale-independent.  Optimize a bit by
19765         using isdigit instead of isalnum.
19766         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
19768 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
19770         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
19771         was a dependency or dynamically loaded.
19773 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
19775         * intl/l10nflist.c: Allow architecture-specific pop function.
19776         * sysdeps/x86_64/l10nflist.c: New file.
19778         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
19779         classification.
19781 2011-08-10  Andreas Schwab  <schwab@redhat.com>
19783         * include/dirent.h: Add libc_hidden_proto for scandirat and
19784         scandirat64.  Don't declare __scandirat64.
19785         * dirent/scandirat.c: Add libc_hidden_def.
19786         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
19787         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
19789 2011-08-10  David S. Miller  <davem@davemloft.net>
19791         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
19792         enum.
19793         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19794         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19795         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19797 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
19799         * Versions.def [libc]: Add GLIBC_2.15.
19800         * dirent/Makefile (routines): Add scandirat and scandirat64.
19801         * dirent/Versions [libc]: Export scandirat and scandirat64 for
19802         GLIBC_2.15.
19803         * dirent/dirent.h: Declare scandirat and scandirat64.
19804         * dirent/scandirat.c: New file.
19805         * dirent/scandirat64.c: New file.
19806         * sysdeps/wordsize-64/scandirat.c: New file.
19807         * sysdeps/wordsize-64/scandirat64.c: New file.
19808         * dirent/opendir.c: Define opendirat.
19809         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
19810         using scandirat.
19811         * dirent/scandir64.c: Adjust for scandir.c change.
19812         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
19813         __scandirat64, and __scandir_cancel_handler.
19814         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
19815         additional parameter and use openat instead of open (outside of ld.so).
19816         Add new __opendir as wrapper around __opendirat.
19817         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
19818         here without requiring old scandirat implementation.
19820 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
19822         * dirent/scandir.c (cancel_handler): Renamed to
19823         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
19824         defined.  Adjust users.
19825         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
19826         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
19828 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
19830         * string/test-string.h (IMPL): Use __STRING to expand name and then
19831         stringify it.
19833         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
19834         of cleanups.
19836 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19838         * string/Makefile: Update.
19839         (strop-tests): Append strncat.
19840         * string/test-wcscmp.c: New file.
19841         New comprehensive test for wcscmp.
19842         * string/test-strcmp.c: Update.
19843         (WIDE): New define.
19845 2011-07-22  Andreas Schwab  <schwab@redhat.com>
19847         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
19848         line.
19850 2011-07-26  Andreas Schwab  <schwab@redhat.com>
19852         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19853         encoding to ACE if AI_IDN.
19855 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
19857         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
19858         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
19860 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19862         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
19863         Fix overflow bug in strncat.
19864         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
19866         * string/test-strncat.c: Update.
19867         Add new tests for checking overflow bugs.
19869 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19871         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19872         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
19873         * sysdeps/i386/i686/multiarch/strcat.S: New file.
19874         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
19875         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
19876         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
19877         * sysdeps/i386/i686/multiarch/strncat.S: New file.
19878         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
19879         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
19881         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
19882         (USE_AS_STRCAT): Define.
19883         Add strcat and strncat support.
19884         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19886 2011-07-25  Andreas Schwab  <schwab@redhat.com>
19888         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
19889         __n bigger than INT_MAX+1.
19890         (__strncmp_g): Likewise.
19892 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
19894         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
19895         * libio/stido.h: Likewise.
19897         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
19898         (AF_NFC): Define.
19899         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
19900         (AF_NFC): Define.
19902         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
19903         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19904         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19905         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19906         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19908         [BZ #13021]
19909         * scripts/test-installation.pl: Don't expect libnss_test1 to be
19910         installed.
19912         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
19913         typo.
19914         (_dl_x86_64_save_sse): Likewise.
19916 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
19918         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
19919         OSXSAVE.
19920         (_dl_x86_64_save_sse): Likewise.
19922         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
19924         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
19926 2011-07-21  Andreas Schwab  <schwab@redhat.com>
19928         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
19929         change.
19930         (_dl_x86_64_save_sse): Use correct AVX check.
19932 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19934         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
19935         bug in strncpy/strncat.
19936         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
19938 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
19940         * string/tester.c (test_strcat): Add tests for different alignments
19941         of source and destination.
19942         (test_strncat): Likewise.
19944 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
19946         [BZ #12852]
19947         * posix/glob.c (glob): Check passed in values before using them in
19948         expressions to avoid some overflows.
19949         (glob_in_dir): Likewise.
19951         [BZ #13007]
19952         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
19953         check for AVX enablement so that we don't crash with old kernels and
19954         new hardware.
19955         * elf/tst-audit4.c: Add same checks here.
19956         * elf/tst-audit6.c: Likewise.
19958         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
19960 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
19962         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
19964 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
19966         * po/cs.po: Update from translation team.
19967         * po/bg.po: Likewise.
19969 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
19971         * misc/sys/cdefs.h: Add support for const attribute.
19972         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
19973         to gnu_dev_{major,minor,makedev} functions.
19975 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
19977         * intl/dcigettext.c (get_output_charset): Add missing bracket.
19979 2011-07-20  Andreas Schwab  <schwab@redhat.com>
19981         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
19982         strlen results.
19984 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19986         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
19987         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
19988         register in order to avoid conflicts with the soft frame pointer
19989         being held in r11 when necessary.
19990         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19991         (INTERNAL_VSYSCALL_NCS): Likewise.
19993 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
19995         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
19996         * elf/dl-fini.c (_dl_fini): Adjust caller.
19997         * elf/dl-close.c (_dl_close_worker): Likewise.
19998         * sysdeps/generic/ldsodefs.h: Adjust declaration.
20000 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
20002         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
20003         "aux_cache->nlibs < 0".
20005         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
20006         in the reload-count case.
20008 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20010         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20011         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
20012         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
20013         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
20014         * sysdeps/x86_64/multiarch/strcat.S: New file.
20015         * sysdeps/x86_64/multiarch/strncat.S: New file.
20016         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
20017         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
20018         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
20019         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
20020         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
20021         (USE_AS_STRCAT): Define.
20022         Add strcat and strncat support.
20023         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
20024         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20025         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
20026         * string/strncat.c: Update.
20027         (USE_AS_STRNCAT): Define.
20028         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20029         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
20030         and i7.
20031         * sysdeps/x86_64/multiarch/init-arch.h
20032         (bit_Prefer_PMINUB_for_stringop): New.
20033         (index_Prefer_PMINUB_for_stringop): Likewise.
20034         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
20035         bit_Prefer_PMINUB_for_stringop.
20037 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
20039         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
20040         buffer64.
20041         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
20042         of casting of buffer.
20043         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
20044         buffer32 and buffer64.
20045         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
20046         writes instead of casting of buffer.
20047         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
20048         buffer32.
20049         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
20050         casting of buffer.
20052 2011-07-19  Andreas Schwab  <schwab@redhat.com>
20054         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
20056 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
20058         * nscd/nscd.c (termination_handler): Don't do anything for a database
20059         if it has not yet been initialized.
20061 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
20063         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
20065 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
20067         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
20069 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
20071         * po/nl.po: Update from translation team.
20072         * po/sv.po: Likewise.
20074 2011-07-16  Roland McGrath  <roland@hack.frob.com>
20076         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
20077         now disallowed by GCC.
20079         * configure.in (use-default-link): Default to yes if a test -shared
20080         link meets our qualifications.
20081         * configure: Regenerated.
20083         * config.make.in (output-format): New variable.
20084         * configure.in: Check for ld --print-output-format support.
20085         * configure: Regenerated.
20086         * Makerules ($(common-objpfx)format.lds)
20087         [$(output-format) != unknown]: Just use $(output-format),
20088         instead of the linker-script munging.
20090 2011-07-14  Roland McGrath  <roland@hack.frob.com>
20092         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
20093         of $(common-objpfx)shlib.lds.
20094         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
20096         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
20097         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
20099         * configure.in (-z relro check): Adjust test code to add a large
20100         writable data section after it.
20101         * configure: Regenerated.
20103 2011-07-11  Roland McGrath  <roland@hack.frob.com>
20105         * configure.in (-z relro check): Fix test code to make the variable
20106         truly const.
20107         * configure: Regenerated.
20109 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
20111         * nscd/nscd.h (struct traced_file): Define.
20112         (struct database_dyn): Remove inotify_descr, reset_res, and filename
20113         elements.  Add traced_files.
20114         (inotify_fd): Declare.
20115         (register_traced_file): Declare.
20116         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
20117         (inotify_fd): Export.
20118         (resolv_conf_descr): Remove.
20119         (nscd_init): Move inotify descriptor creation to main.
20120         Don't register files for notification here.
20121         (register_traced_file): New function.
20122         (invalidate_cache): Don't use reset_res to determine whether to call
20123         res_init, go through the list of registered files.
20124         (main_loop_poll): The inotify descriptors are now stored in the
20125         structures for the traced files.
20126         (main_loop_epoll): Likewise
20127         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
20128         to __nss_disable_nscd.
20129         * nscd/cache.c (prune_cache): There is no single inotify descriptor
20130         for a database anymore.  Check the records for all the registered
20131         files instead.
20132         * nss/Makefile (libnss_files-routines): Add files-init.
20133         (libnss_db-routines): Add db-init.
20134         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
20135         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
20136         * nss/nss_db/db-init.c: New file.
20137         * nss/nss_files/files-init.c: New file.
20138         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
20139         __nss_lookup_function.
20140         (__nss_lookup_function): Call nss_load_library.
20141         (nss_load_all_libraries): New function.
20142         (__nss_disable_nscd): Take parameter with callback function for files
20143         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
20144         used for the cached services.
20145         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
20146         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
20147         options for features to all the files in nscd.
20149         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
20151 2011-07-10  Roland McGrath  <roland@hack.frob.com>
20153         * csu/elf-init.c (__libc_csu_init): Comment typo.
20155 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
20157         * po/pl.po: Update from translation team.
20158         * po/ja.po: Likewise.
20159         * po/ru.po: Likewise.
20160         * po/ko.po: Likewise.
20161         * po/fr.po: Likewise.
20163 2011-07-09  Roland McGrath  <roland@hack.frob.com>
20165         * configure.in (.ctors/.dtors header and trailer check):
20166         Use an empirical test on a built program.
20167         * configure: Regenerated.
20169         * configure.in (-z relro check): Use an empirical test on a built DSO.
20170         Detect, but do not require, on ia64.
20171         * configure: Regenerated.
20173         * configure.in (READELF): Find it with AC_CHECK_TOOL.
20174         Update tests that use readelf to use $READELF instead.
20175         * configure: Regenerated.
20177 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
20179         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
20180         if the result is not used.
20182 2011-07-05  Andreas Jaeger  <aj@suse.de>
20184         [BZ#9696]
20185         * stdlib/tst-strtod.c: Add testcase.
20187 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
20189         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
20190         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
20191         The latter has a higher limit.  Take additional parameter to pass to
20192         the new function.
20193         (__pathconf): Pass file to __statfs_link_max.
20194         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
20195         __statfs_link_max.
20196         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
20197         __statfs_link_max.
20199         [BZ #12868]
20200         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
20201         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20202         Handle Lustre.
20203         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
20204         (__statfs_filesize_max): Likewise.
20205         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
20207 2011-07-05  Andreas Jaeger  <aj@suse.de>
20209         * resolv/res_comp.c (dn_skipname): Remove unused variable.
20211 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
20213         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
20214         `status' variable.
20215         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
20216         Likewise.
20218 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
20220         * Makefile (strop-tests): Add strncat.
20221         * string/test-strncat.c: New file.
20223 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
20225         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
20227 2011-06-21  Andreas Jaeger  <aj@suse.de>
20229         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
20230         Copy rule from iconvdata/Makefile.
20232 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
20234         [BZ #12922]
20235         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
20236         but no long options are defined, just return 'W'.
20238 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
20240         [BZ #9696]
20241         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
20243 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
20245         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
20246         netgroups to read.
20247         (innetgr): Likewise.
20249 2011-07-05  Roland McGrath  <roland@hack.frob.com>
20251         * config.make.in (install_root): Default to $(DESTDIR).
20253 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
20255         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
20257 2011-07-02  Roland McGrath  <roland@hack.frob.com>
20259         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
20261         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
20262         containing directory rather than embedding absolute directory names.
20264         * scripts/check-local-headers.sh: Rewritten using awk.
20265         Match by word, not by line.  Print error messages for matches.
20266         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
20268         * Makerules [shlib-lds-flags empty]:
20269         ($(common-objpfx)libc_pic.opts): New target.
20270         ($(common-objpfx)libc_pic.os.clean): New target.
20271         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
20273         * config.make.in (OBJCOPY): New variable.
20274         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
20275         * configure: Regenerated.
20277         * config.make.in (use-default-link): New variable.
20278         * configure.in (use_default_link): Grok --with-default-link to set it.
20279         * configure: Regenerated.
20280         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
20281         (shlib-lds, shlib-lds-flags): Define to empty.
20283         * Makerules (shlib-lds): New variable.
20284         (shlib-lds-flags): New variable.
20285         (build-shlib, build-moduile, build-module-asneeded): Use it.
20286         ($(common-objpfx)libc.so): Use $(shlib-lds).
20287         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
20288         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
20290         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
20291         DT_FLAGS/DT_FLAGS_1 with zero flags.
20293         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
20294         linker script munging.
20296 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
20298         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
20299         as 128-bit value.
20300         * crypt/sha512.c (sha512_process_block): Perform total addition using
20301         128-bit if possible.
20302         (__sha512_finish_ctx): Likewise.
20303         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
20304         as 64-bit value.
20305         * crypt/sha256.c (SWAP64): Define.
20306         (sha256_process_block): Perform total addition using 64-bit if
20307         possible.
20308         (__sha256_finish_ctx): Likewise.
20310 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
20312         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
20313         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20314         * nscd/hstcache.c (cache_addhst): Likewise.
20315         * nscd/grpcache.c (cache_addgr): Likewise.
20316         * nscd/aicache.c (addhstaiX): Likewise
20317         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
20319 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
20321         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
20322         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20323         * nscd/hstcache.c (cache_addhst): Likewise.
20324         * nscd/grpcache.c (cache_addgr): Likewise.
20325         * nscd/aicache.c (addhstaiX): Likewise
20327 2011-07-01  Andreas Schwab  <schwab@redhat.com>
20329         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
20330         domain only when needed.
20332 2011-06-30  Andreas Schwab  <schwab@redhat.com>
20334         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
20335         is always restored.
20337 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
20339         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
20340         are re-adding the entry.
20341         * nscd/servicescache.c (cache_addserv): Likewise.
20343 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
20345         * sysdeps/generic/dl-irel.h: fix protection against multiple
20346         inclusions.
20347         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
20349 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
20351         [BZ #12935]
20352         * malloc/memusage.sh: Fix quoting in message.
20353         * debug/xtrace.sh: Likewise.
20355         * configure.in: Remove support for --experimental-malloc option, make
20356         it the default.
20357         * config.make.in: Likewise.
20358         * malloc/Makefile: Likewise.
20360 2011-06-27  Andreas Schwab  <schwab@redhat.com>
20362         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
20363         two-byte characters.
20365 2011-06-27  Roland McGrath  <roland@hack.frob.com>
20367         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
20368         AC_CACHE_CHECK invocation.
20369         * configure: Regenerated.
20371         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
20373 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
20375         [BZ #12350]
20376         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
20377         bit from old_res_options.
20379         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
20381         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
20382         value type for setfct.
20384 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
20386         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20387         __gettimeofday instead of gettimeofday.
20389 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
20391         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
20393 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
20395         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
20397         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
20398         info.
20400 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
20402         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20403         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20404         strcpy-sse2-unaligned strncpy-sse2-unaligned
20405         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
20406         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
20407         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
20408         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
20409         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
20410         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
20411         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
20412         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
20413         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
20414         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
20415         (STRCPY): Support SSE2 and SSSE3 versions.
20417 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
20419         [BZ #12874]
20420         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
20421         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
20422         kernels which artificially limit size of requests.
20424 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
20426         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20427         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20428         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
20429         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
20430         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
20431         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
20432         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
20433         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
20434         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
20435         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
20436         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
20437         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
20438         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
20439         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
20440         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
20441         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20442         Enable unaligned load optimization for Intel Core i3, i5 and i7
20443         processors.
20444         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
20445         Define.
20446         (index_Fast_Unaligned_Load): Define.
20447         (HAS_FAST_UNALIGNED_LOAD): Define.
20449 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
20451         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
20453 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
20455         [BZ #12907]
20456         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
20457         until it is clear that the information is realy needed.
20458         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
20460 2011-06-22  Andreas Schwab  <schwab@redhat.com>
20462         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
20464 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
20466         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20467         /sys/devices/system/cpu/online if it is usable.
20469         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
20470         reading the information from the /proc filesystem to once a second.
20472 2011-06-21  Andreas Jaeger  <aj@suse.de>
20474         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
20475         NULL after inclusion of kernel headers.
20477 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
20479         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
20480         calls to internal_setent.
20482         [BZ #12885]
20483         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
20484         addresses using gethostbyname4_r ignore IPv4 addresses.
20486         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
20487         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
20489         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
20491 2011-06-20  David S. Miller  <davem@davemloft.net>
20493         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
20494         inclusions.
20495         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
20497         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
20498         (elf_irel): Use it.
20499         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
20500         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
20501         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
20502         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
20503         * sysdeps/x86_64/dl-irel.h: Likewise.
20505         * elf/dl-runtime.c: Use elf_ifunc_invoke.
20506         * elf/dl-sym.c: Likewise.
20508 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
20510         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
20511         need to dereference resplen2.
20513 2011-06-14  Andreas Schwab  <schwab@redhat.com>
20515         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
20517 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
20519         * Makeconfig: Define vardbdir and inst_vardbdir.
20520         * nss/Makefile: Add rules to install db-Makefile.
20522         * nss/nss_db/db-XXX.c: Cleanup.
20524         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
20525         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
20526         GLIBC_PRIVATE.
20527         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
20528         * nss/makedb.c: Implement -g option to specify that value strings
20529         are generated and should not be added to table iterated over for
20530         get*ent calls.
20531         * nss/nss_db/db-initgroups.c: New file.
20533         * nss/getent.c: Add support for initgroups lookups through getgrouplist
20534         interface.
20536         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
20537         (internal_getgrouplist): Adjust to name change.
20538         Update use_initgroups_entry if this is not the first call.
20539         * nss/databases.def: Add initgroups entry.
20541         * nss/makedb.c (compute_tables): Check result of multiple hash table
20542         sizes to minimize maximum chain length.
20544 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
20546         * Versions.def: Add entry for libnss_db.
20547         * shlib-versions: Likewise.
20548         * nss/Makefile: Add rules to build libnss_db.
20549         * nss/Versions: Add libnss_db information.  Organize libnss_files
20550         entries better.
20551         * nss/db-Makefile: Add gshadow support.  Change rules for the new
20552         makedb progra.  Some minor improvements to generate smaller files.
20553         * nss/nss_db/nss_db.h: Move NSS database header data structures to
20554         here from...
20555         * nss/makedb.c: ...here.
20556         Improve database format to be smaller and require less memory at
20557         runtime.
20558         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
20559         db anymore.
20560         * nss/nss_db/db-netgrp.c: Likewise.
20561         * nss/nss_db/db-open.c: Likewise.
20562         * nss/nss_files/flies-XXX.x: Adjust comments.
20563         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
20564         * nss/nss_files/files-grp.c: Likewise.
20565         * nss/nss_files/files-hosts.c: Likewise.
20566         * nss/nss_files/files-network.c: Likewise.
20567         * nss/nss_files/files-proto.c: Likewise.
20568         * nss/nss_files/files-pwd.c: Likewise.
20569         * nss/nss_files/files-rpc.c: Likewise.
20570         * nss/nss_files/files-service.c: Likewise.
20571         * nss/nss_files/files-sgrp.c: Likewise.
20572         * nss/nss_files/files-spwd.c: Likewise.
20573         * nss/nss_db/db-alias.c: Removed.
20574         * nss/nss_db/dummy-db.h: Removed.
20576 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
20578         * nss/makedb.c: Rewritten to not use database library.
20579         * nss/Makefile: Update to build new makedb program.
20581 2011-06-14  Andreas Jaeger  <aj@suse.de>
20583         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
20584         memset declaration.
20586 2011-06-10  Andreas Schwab  <schwab@redhat.com>
20588         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
20589         tmpbuf.
20591 2011-06-10  Roland McGrath  <roland@hack.frob.com>
20593         * Makerules (shlib.lds): Fail if the linker script comes out empty.
20594         * elf/Makefile ($(objpfx)ld.so): Likewise.
20596         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
20597         Don't list ld.so twice in dependencies.
20599         * posix/bug-regex31.c: Include <stdlib.h>.
20601         * nscd/hstcache.c (cache_addhst): Remove unused variable.
20603         * nis/nss_compat/compat-spwd.c
20604         (getspent_next_nss_netgr): Remove unused variable.
20605         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
20607         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
20608         nonmembers" output to use the right array.
20610         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
20612         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
20614         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
20615         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
20616         * catgets/gencat.c (read_input_file): Likewise.
20617         * locale/programs/locarchive.c (enlarge_archive): Likewise.
20619         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
20620         variable definition inside #if's controlling its use.
20622         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
20624         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
20626         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
20628         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
20629         unreachable code.
20631         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
20633         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
20634         * configure: Regenerated.
20636         * Makerules: Revert last change.
20637         * elf/Makefile: Likewise.
20639 2011-06-09  Roland McGrath  <roland@hack.frob.com>
20641         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
20642         * elf/Makefile ($(objpfx)librtld.os): Likewise.
20643         (reloc-link): Likewise.
20645 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
20647         * elf/Makefile: Add rules to build pldd.
20648         * elf/pldd.c: New file.
20649         * elf/pldd-xx.c: New file.
20651 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
20653         * version.h: Update for 2.15 development version.
20655 2011-06-07  David S. Miller  <davem@davemloft.net>
20657         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
20658         ifuncs.
20659         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
20660         elf_machine_lazy_rel): Likewise.
20661         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
20662         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
20663         elf_machine_lazy_rel): Likewise.
20664         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
20665         dl_hwcap via passed in argument.
20666         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
20667         Likewise.
20669 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20671         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
20673 2011-06-06  Roland McGrath  <roland@hack.frob.com>
20675         [BZ #12849]
20676         * manual/fdl-1.1.texi: New file, verbatim from:
20677         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
20678         * manual/lgpl-2.1.texi: New file, verbatim from:
20679         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
20680         * manual/Makefile (licenses): New variable, list those new file names.
20681         (texis): Use it.
20682         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
20684         * manual/fdl.texi: File removed.
20685         * manual/lesser.texi: File removed.
20686         * manual/libc.texinfo (Copying, Documentation License):
20687         Use new @include file names, put @appendix directive before @include.
20689 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
20691         [BZ #12841]
20692         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
20693         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
20694         (mq_open): Add __NTH.
20696 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
20698         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20699         Assume Intel Core i3/i5/i7 processor if AVX is available.
20701 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
20703         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20704         typo.
20706 2011-05-31  Andreas Schwab  <schwab@redhat.com>
20708         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
20709         memory.  Use alloca_account.  Fix memory leak when retrying.
20711 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
20713         * version.h (RELEASE): Bump for 2.14 release.
20714         * include/features.h (__GLIBC_MINOR__): Bump to 14.
20716         * config.make.in (RANLIB): Remove entry.
20718 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
20720         * po/Makefile (po-sed-cmd): Add ksh to extensions.
20721         (libc.pot): Work around missing support for .ksh extension in xgettext.
20723         [BZ #12684]
20724         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
20725         if both request failed.
20726         (send_dg): In case of server errors clear resplen or *resplen2.
20728         [BZ #12454]
20729         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
20730         when there are multiple maps.
20731         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
20732         (_dl_fini): Remove test here.
20734         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
20736 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
20738         [BZ #12350]
20739         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
20740         bit from old_res_options.
20741         (gaih_inet): Likewise.
20743         [BZ #11099]
20744         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
20745         as signed.
20747         * resolv/res_init.c (res_setoptions): Make the code more compact.
20749         [BZ #11558]
20750         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
20751         set RES_USEVC.
20753         [BZ #11634]
20754         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
20756         * malloc/malloc.h: Mark malloc hook variables as deprecated.
20758         [BZ #11781]
20759         * malloc/malloc.h: Declare malloc hook variables as volatile.
20761         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
20762         in last patch.
20764         [BZ #11799]
20765         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
20766         raise in the comment.
20767         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20768         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20769         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
20771 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
20773         [BZ #12811]
20774         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
20775         grow the buffers more if it already has to be sufficient.
20776         (build_wcs_upper_buffer): Likewise.
20777         * posix/regexec.c (check_matching): Likewise.
20778         (clean_state_log_if_needed): Likewise.
20779         (extend_buffers): Don't enlarge buffers beyond size of the input
20780         buffer.
20781         Patches mostly by Emil Wojak <emil@wojak.eu>.
20782         * posix/bug-regex32.c: New file.
20783         * posix/Makefile (tests): Add bug-regex32.
20785         * locale/findlocale.c (_nl_find_locale): Return right away if
20786         _nl_explode_name failed.
20787         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
20789         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
20791         * debug/xtrace.sh: Unify messages.
20792         * malloc/memusage.sh: Likewise.
20794         [BZ #12813]
20795         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
20796         time symbol from vDSO.  Substitute with vsyscall if not available.
20797         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
20798         __vdso_time.
20800         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
20801         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
20802         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
20803         Add sendmmsg and internal_sendmmsg.
20804         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
20805         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
20806         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
20808         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
20809         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
20810         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
20812 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
20814         [BZ #12813]
20815         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
20816         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
20817         available.
20818         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
20819         __vdso_getcpu.
20821         [BZ #12814]
20822         * iconvdata/Makefile (tests): Add bug-iconv9.
20823         * iconvdata/bug-iconv9.c: New file.
20825 2011-05-27  Andreas Schwab  <schwab@redhat.com>
20827         [BZ #12814]
20828         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
20830 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
20832         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20833         (struct user_regs_struct): Change intcs field back to cs.
20835 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
20837         * po/ja.po: Update from translation team.
20839 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
20841         [BZ #12795]
20842         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
20843         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
20845 2011-05-20  Andreas Schwab  <schwab@redhat.com>
20847         * stdlib/longlong.h: Update from GCC.
20849 2011-05-23  Andreas Schwab  <schwab@redhat.com>
20851         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
20852         parameter name.
20853         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
20854         Add parameter name.
20855         (__sysconf): Pass it down.
20857 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
20859         [BZ #12671]
20860         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
20861         some situations.
20862         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
20863         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
20864         add in in __libc_use_alloca calls.  Adjust callers.
20865         (glob): Use malloc in some situations.
20867         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
20868         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
20869         pltexit.
20871 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
20873         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
20874         and CLOCK_BOOTTIME_ALARM.
20876         [BZ #12782]
20877         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
20878         is returned.
20880         * string/_strerror.c (__strerror_r): Print negative errors as signed
20881         numbers.
20883         [BZ #12777]
20884         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
20885         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
20886         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
20888         * configure.in: Fix typo in redirection and correct removal of test
20889         files in two cases.
20891         [BZ #12788]
20892         * locale/setlocale.c (new_composite_name): Fix test to check for
20893         identical name of all categories.
20895         [BZ #12792]
20896         * libio/filedoalloc.c (local_isatty): New function.
20897         (_IO_file_doallocate): Use local_isatty.
20898         * stdio-common/perror.c (perror): In case a new stream is used
20899         forward the stream error.
20900         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
20901         error flag.
20903 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
20905         [BZ #11869]
20906         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
20907         alloca.
20908         * include/alloca.h (extend_alloca_account): Define.
20910         [BZ #11857]
20911         * posix/regex.h: Fix comments with documentation of user-accessible
20912         fields after compilation and describe correct free'ing of pattern
20913         after re_compile_pattern.
20914         Patch by Reuben Thomas <rrt@sc3d.org>.
20916 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
20918         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
20919         and -mno-altivec to prevent the compiler from using Altivec and/or
20920         VSX instructions when the corresponding registers are not available.
20922 2011-05-19  Andreas Schwab  <schwab@redhat.com>
20924         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
20926 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
20928         * libio/freopen.c (freopen): Use __dup2, not dup2.
20929         * libio/freopen64.c (freopen64): Likewise.
20931 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
20933         [BZ #12775]
20934         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
20935         * math/Makefile (tests): Add test-powl.
20936         (CFLAGS-test-powl.c): Define.
20937         * math/test-powl.c: New file.
20939 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20941         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
20943 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
20945         [BZ #11837]
20946         * iconvdata/gb18030.c: Update to GB18020-2005.
20948 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
20950         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
20951         RE_SYNTAX_POSIX_AWK): Update to match recent development.
20952         Patch by Aharon Robbins <arnold@skeeve.com>.
20954         [BZ #11892]
20955         * stdlib/putenv.c (putenv): Don't always create copy of the variable
20956         on the stack.
20958         [BZ #11895]
20959         * misc/pselect.c (__pselect): Handle timeout value errors hidden
20960         through underflows.
20962         [BZ #12766]
20963         * misc/error.c (error_at_line): Ensure file_name and old_file_name
20964         point to strings before performing equality test for error_one_per_line
20965         mode.
20967         [BZ #11697]
20968         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
20970         [BZ #11820]
20971         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20972         (struct user_fpregs_struct): Avoid __uint*_t types.
20974         [BZ #6420]
20975         * malloc/mtrace.c (tr_where): Add additional parameter to point to
20976         symbol info.  Use it instead of calling _dl_addr locally.
20977         (lock_and_info): New function.
20978         (tr_freehook): Call lock_and_info and pass symbol info as additional
20979         parameter to tr_where.
20980         (tr_mallochook): Likewise.
20981         (tr_reallochook): Likewise.
20982         (tr_memalignhook): Likewise.
20984         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
20985         used and couldn't be at all thread-safe.
20987 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
20989         * libio/freopen.c (freopen): Don't close old file descriptor
20990         before the new one is opened.  Instead dup the new file descriptor
20991         to the old one after the new stream is created.
20992         * libio/freopen64.c (freopen64): Likewise.
20993         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
20994         * libio/fileops.c (_IO_new_file_close_it): Handle new
20995         _IO_FLAGS2_NOCLOSE flag.
20996         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
20997         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
20998         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
20999         _IO_FLAGS2_NOCLOSE flag.
21000         * include/unistd.h: Add hidden_proto for dup3.
21001         Define __have_dup3.
21002         * io/dup3.c: Define hidden symbol.
21003         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
21005         [BZ #7101]
21006         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
21007         when an incomplete long option is used.
21008         * posix/tst-getopt_long1.c: New file.
21009         * posix/Makefile (tests): Add tst-getopt_long1.
21011         [BZ #10138]
21012         * scripts/config.guess: Update from autoconf-2.68.
21013         * scripts/config.sub: Likewise.
21015         [BZ #10157]
21016         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
21017         tests into ...
21018         (has_cpuclock): ...this.  New function.
21019         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
21020         macro here based on has_cpuclock code.
21022         [BZ #10149]
21023         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21024         First byte (not low byte) is now always NUL.
21025         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
21027         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21028         Use non-cancelable interfaces.
21030         [BZ #9809]
21031         * locale/iso-639.def: Add entry for Sorani.
21033         [BZ #11901]
21034         * include/stdlib.h: Move include protection to the right place.
21035         Define abort_msg_s.  Declare __abort_msg with it.
21036         * stdlib/abort.c (__abort_msg): Adjust type.
21037         * assert/assert.c (__assert_fail_base): New function.  Majority
21038         of code from __assert_fail.  Allocate memory for __abort_msg with
21039         mmap.
21040         (__assert_fail): Now call __assert_fail_base.
21041         * assert/assert-perr.c: Remove bulk of implementation.  Use
21042         __assert_fail_base.
21043         * include/assert.hL Declare __assert_fail_base.
21044         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
21045         mmap.
21046         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
21048 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
21050         [BZ #11952]
21051         [BZ #12453]
21052         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
21053         until all modules are registered in the DTV.
21054         * elf/Makefile: Add rules to build and run tst-tls19.
21055         * elf/tst-tls19.c: New file.
21056         * elf/tst-tls19mod1.c: New file.
21057         * elf/tst-tls19mod2.c: New file.
21058         * elf/tst-tls19mod3.c: New file.
21059         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
21061         [BZ #12083]
21062         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
21063         correctly.
21065         [BZ #12601]
21066         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
21067         two-byte sequence errors.
21068         * iconvdata/Makefile (tests): Add bug-iconv8.
21069         * iconvdata/bug-iconv8.c: New file.
21071         [BZ #12626]
21072         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
21073         buf2 definition.
21075         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
21077         [BZ #12432]
21078         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
21079         (dummy_getcfa): New function.
21080         (init): Get _Unwind_GetCFA address, use dummy if not found.
21081         (backtrace_helper): In recursion check, also check whether CFA changes.
21082         (__backtrace): Completely initialize arg.
21084         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
21085         storing incomplete byte sequence in state object.  Avoid testing for
21086         guaranteed too small input if we know there is enough data available.
21088 2011-05-11  Andreas Schwab  <schwab@redhat.com>
21090         * Makeconfig (+link-pie): Indent.
21091         * Rules (binaries-pie): Define if $(have-fpie) and
21092         $(build-shared).
21093         (binaries-shared): Also filter out $(binaries-pie).
21094         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
21095         * nscd/Makefile (others-pie): Add nscd.
21096         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
21097         ($(objpfx)nscd): Remove command override.
21098         * login/Makefile (others-pie): Add pt_chown.
21099         ($(objpfx)pt_chown): Remove command override.
21100         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
21101         remove command overrides.
21103 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
21105         * libio/tst_putwc.c: Fix error messages.
21107         [BZ #12724]
21108         * libio/fileops.c (_IO_new_file_close_it): Always flush when
21109         currently writing and seek to current position when not.
21110         * libio/Makefile (tests): Add bug-fclose1.
21111         * libio/bug-fclose1.c: New file.
21113 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
21115         [BZ #12511]
21116         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
21117         don't set DF_1_NODELETE here.
21118         (do_lookup_x): When entering new entry test for copy relocation
21119         and if necessary set DF_1_NODELETE flag.
21120         * elf/tst-unique4.cc: New file.
21121         * elf/tst-unique4.h: New file.
21122         * elf/tst-unique4lib.cc: New file.
21123         * elf/Makefile: Add rules to build and run tst-unique4.
21124         Patch by Piotr Bury <pbury@goahead.com>.
21126 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
21128         [BZ #12052]
21129         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
21131         [BZ #12625]
21132         * misc/mntent_r.c (addmntent): Flush the stream after the output
21134         [BZ #12393]
21135         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
21136         (is_trusted_path_normalize): Skip initial colon.  Append slash
21137         to empty buffer.  Duplicate is_trusted_path code but allow
21138         constructed patch to be prefix.
21139         (is_dst): Allow $ORIGIN followed by /.
21140         (_dl_dst_substitute): Correct clearing of check_for_trusted.
21141         Correct testing of result of is_trusted_path_normalize
21142         (decompose_rpath): Fix warning.
21144 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
21146         [BZ #11257]
21147         * grp/initgroups.c (internal_getgrouplist): When we found the service
21148         list through the initgroups entry in nsswitch.conf do not always
21149         continue on a successful lookup.  Don't always use the
21150         __nss_group_database value if it is set.
21151         * nss/nsswitch.conf (initgroups): Change action for successful db
21152         lookup to continue for compatibility.
21154 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
21156         [BZ #11532]
21157         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
21158         and CP774 modules.
21159         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
21160         and CP774 modules.
21161         * iconvdata/tst-tables.sh: Likewise.
21162         * iconvdata/cp770.c: New file.
21163         * iconvdata/cp771.c: New file.
21164         * iconvdata/cp772.c: New file.
21165         * iconvdata/cp773.c: New file.
21166         * iconvdata/cp774.c: New file.
21167         * iconvdata/testdata/CP770: New file.
21168         * iconvdata/testdata/CP770..UTF8: New file.
21169         * iconvdata/testdata/CP771: New file.
21170         * iconvdata/testdata/CP771..UTF8: New file.
21171         * iconvdata/testdata/CP772: New file.
21172         * iconvdata/testdata/CP772..UTF8: New file.
21173         * iconvdata/testdata/CP773: New file.
21174         * iconvdata/testdata/CP773..UTF8: New file.
21175         * iconvdata/testdata/CP774: New file.
21176         * iconvdata/testdata/CP774..UTF8: New file.
21178         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
21179         END CHARMAP line.
21180         * iconvdata/gen-8bit-gap.sh: Likewise.
21181         * iconvdata/gen-8bit.sh: Likewise.
21183         * locale/iso-639.def: Add ary entry.
21185         [BZ #11258]
21186         * locale/C-translit.h.in: Add U20A1 transliteration.
21188         [BZ #12178]
21189         * locale/iso-639.def: Add wae entry.
21190         Patch by Kevin Bortis <bortis@translate-wae.ch>.
21192         [BZ #12545]
21193         * locale/programs/localedef.c (construct_output_path): Use ssize_t
21194         for n.
21196         [BZ #12711]
21197         * locale/C-translit.h.in: Add entry for U20B9.
21198         Patch by pravin.d.s@gmail.com.
21200 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
21202         [BZ #12713]
21203         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
21204         ENAMETOOLONG use generic getcwd.
21205         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
21206         in rtld.  Use *stat64.
21207         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
21208         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
21209         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
21210         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
21211         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
21212         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
21213         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
21214         __fstatat64 macros.
21215         * include/dirent.h: Add libc_hidden_proto for rewinddir.
21216         * dirent/rewinddir.c: Add libc_hidden_def.
21217         * sysdeps/mach/hurd/rewinddir.c: Likewise.
21218         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
21220         * include/dirent.h (__alloc_dir): Add flags parameter.
21221         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
21222         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
21223         __alloc_dir.
21224         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
21225         from fdopendir if O_CLOEXEC is already set.
21227 2011-03-15  Alan Modra  <amodra@gmail.com>
21229         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
21230         l_tls_firstbyte_offset non-zero.  Save padding offset in
21231         l_tls_firstbyte_offset for later use.
21232         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
21233         freeing static tls block.
21235 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
21237         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
21238         where #ifdef was intended.  The intent is to prevent ARG_MAX from
21239         being defined by the kernel headers.
21241 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
21243         [BZ #12734]
21244         * resolv/resolv.h: Define RES_NOTLDQUERY.
21245         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
21246         no-tld-query and set RES_NOTLDQUERY.
21247         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
21248         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
21249         modern BIND to search name as TLD unless forbidden.
21251 2011-05-07  Petr Baudis  <pasky@suse.cz>
21252             Ulrich Drepper  <drepper@gmail.com>
21254         [BZ #12393]
21255         * elf/dl-load.c (fillin_rpath): Move trusted path check...
21256         (is_trusted_path): ...to here.
21257         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
21258         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
21259         using is_trusted_path_normalize() in setuid scripts.
21261 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
21263         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
21264         __BEGIN/__END_DECLS.
21266 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
21268         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
21269         NSS_STATUS_NOTFOUND if no record was found.
21271 2011-05-05  Andreas Schwab  <schwab@redhat.com>
21273         * sunrpc/Makefile (headers): Add rpc/netdb.h.
21274         (headers-not-in-tirpc): Remove rpc/netdb.h
21275         * resolv/netdb.h: Revert last change.
21277 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
21279         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
21280         circular dependency between libgcc.a and libc.a.
21282 2011-05-05  Andreas Schwab  <schwab@redhat.com>
21284         * resolv/netdb.h: Don't include <rpc/netdb.h>.
21285         * nis/Makefile: Don't install rpcsvc/*.
21286         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
21287         instead of <rpc/types.h>.
21288         (MAXHOSTNAMELEN): Define.
21290 2011-05-03  Andreas Schwab  <schwab@redhat.com>
21292         * elf/ldconfig.c (add_dir): Don't crash on empty path.
21294 2011-04-28  Maciej Babinski  <mbabinski@google.com>
21296         [BZ #12714]
21297         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
21298         gethostbyname4_r when IPv6 results are possible.
21300 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
21302         [BZ #12723]
21303         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
21304         _PC_PIPE_BUF handling.
21306 2011-04-30  Bruno Haible  <bruno@clisp.org>
21308         [BZ #12717]
21309         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
21310         * resolv/netdb.h (getnameinfo): Change type of flags parameter
21311         to 'int'.
21312         * inet/getnameinfo.c (getnameinfo): Likewise.
21314 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
21316         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
21317         to groups setting in database lookup.
21318         * nss/nsswitch.conf: Add initgroups entry.
21320 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
21322         [BZ #12685]
21323         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
21324         mode string.
21325         Patch by Eric Blake <eblake@redhat.com>.
21327 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
21329         * sunrpc/Makefile (need-export-routines): Add svc_run.
21330         (routines): Remove svc_run.
21331         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
21332         * sunrpc/clnt_perr.c (clnt_perrno): Export.
21333         * sunrpc/svc_run.c (svc_run): Likewise.
21334         * sunrpc/svc_udp.c (svcudp_create): Likewise.
21336 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
21338         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
21339         problem in reallocation in last patch.
21341 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
21343         * sunrpc/Makefile: Move inclusion of Rules.
21345 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
21347         * nss/nss_files/files-initgroups.c: New file.
21348         * nss/Makefile (libnss_files-routines): Add files-initgroups.
21349         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
21350         _nss_files_initgroups_dyn.
21352 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
21354         * elf/elf.h (R_ARM_IRELATIVE): Define.
21356 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
21358         * po/ru.po: Update from translation team.
21360 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
21362         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
21363         dependencies.
21365 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
21367         [BZ #12653]
21368         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
21369         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
21370         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21371         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21372         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21374 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
21376         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
21377         differing bytes.
21378         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21379         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21380         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21382 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
21384         [BZ #12420]
21385         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
21386         storing it.
21387         * stdlib/bug-getcontext.c: New file.
21388         * stdlib/Makefile: Add rules to build and run bug-getcontext.
21390 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21392         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
21393         instructions into .machine "z9-109".
21394         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
21395         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
21397 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21399         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
21400         between environment variables and auxiliary vector.
21402 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
21404         * Makefile: Add rules to build linkobj/libc.so.
21405         * include/libc-symbols.h: Define libc_hidden_nolink.
21406         * include/rpc/auth.h: Mark functions which are to be hidden.
21407         * include/rpc/auth_des.h: Likewise.
21408         * include/rpc/auth_unix.h: Likewise.
21409         * include/rpc/clnt.h: Likewise.
21410         * include/rpc/des_crypt.h: Likewise.
21411         * include/rpc/key_prot.h: Likewise.
21412         * include/rpc/pmap_clnt.h: Likewise.
21413         * include/rpc/pmap_prot.h: Likewise.
21414         * include/rpc/pmap_rmt.h: Likewise.
21415         * include/rpc/rpc_msg.h: Likewise.
21416         * include/rpc/svc.h: Likewise.
21417         * include/rpc/svc_auth.h: Likewise.
21418         * include/rpc/xdr.h: Likewise.
21419         * nis/Makefile: Link all DSOs against linkobj/libc.so.
21420         * nss/Makefile: Likewise.
21421         * sunrpc/Makefile: Don't install headers.  Build library with normal
21422         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
21423         * sunrpc/auth_des.c: Hide exported symbols by default, export some
21424         for the compat linking library.  Remove use of INTDEF/INTUSE.
21425         * sunrpc/auth_none.c: Likewise.
21426         * sunrpc/auth_unix.c: Likewise.
21427         * sunrpc/authdes_prot.c: Likewise.
21428         * sunrpc/authuxprot.c: Likewise.
21429         * sunrpc/clnt_gen.c: Likewise.
21430         * sunrpc/clnt_perr.c: Likewise.
21431         * sunrpc/clnt_raw.c: Likewise.
21432         * sunrpc/clnt_simp.c: Likewise.
21433         * sunrpc/clnt_tcp.c: Likewise.
21434         * sunrpc/clnt_udp.c: Likewise.
21435         * sunrpc/clnt_unix.c: Likewise.
21436         * sunrpc/des_crypt.c: Likewise.
21437         * sunrpc/des_soft.c: Likewise.
21438         * sunrpc/get_myaddr.c: Likewise.
21439         * sunrpc/key_call.c: Likewise.
21440         * sunrpc/key_prot.c: Likewise.
21441         * sunrpc/netname.c: Likewise.
21442         * sunrpc/pm_getmaps.c: Likewise.
21443         * sunrpc/pm_getport.c: Likewise.
21444         * sunrpc/pmap_clnt.c: Likewise.
21445         * sunrpc/pmap_prot.c: Likewise.
21446         * sunrpc/pmap_prot2.c: Likewise.
21447         * sunrpc/pmap_rmt.c: Likewise.
21448         * sunrpc/publickey.c: Likewise.
21449         * sunrpc/rpc_cmsg.c: Likewise.
21450         * sunrpc/rpc_common.c: Likewise.
21451         * sunrpc/rpc_dtable.c: Likewise.
21452         * sunrpc/rpc_prot.c: Likewise.
21453         * sunrpc/rpc_thread.c: Likewise.
21454         * sunrpc/rtime.c: Likewise.
21455         * sunrpc/svc.c: Likewise.
21456         * sunrpc/svc_auth.c: Likewise.
21457         * sunrpc/svc_authux.c: Likewise.
21458         * sunrpc/svc_raw.c: Likewise.
21459         * sunrpc/svc_run.c: Likewise.
21460         * sunrpc/svc_simple.c: Likewise.
21461         * sunrpc/svc_tcp.c: Likewise.
21462         * sunrpc/svc_udp.c: Likewise.
21463         * sunrpc/svc_unix.c: Likewise.
21464         * sunrpc/svcauth_des.c: Likewise.
21465         * sunrpc/xcrypt.c: Likewise.
21466         * sunrpc/xdr.c: Likewise.
21467         * sunrpc/xdr_array.c: Likewise.
21468         * sunrpc/xdr_float.c: Likewise.
21469         * sunrpc/xdr_intXX_t.c: Likewise.
21470         * sunrpc/xdr_mem.c: Likewise.
21471         * sunrpc/xdr_rec.c: Likewise.
21472         * sunrpc/xdr_ref.c: Likewise.
21473         * sunrpc/xdr_sizeof.c: Likewise.
21474         * sunrpc/xdr_stdio.c: Likewise.
21476 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
21478         [BZ #12650]
21479         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
21480         * sysdeps/ia64/dl-tls.h: Likewise.
21481         * sysdeps/powerpc/dl-tls.h: Likewise.
21482         * sysdeps/s390/dl-tls.h: Likewise.
21483         * sysdeps/sh/dl-tls.h: Likewise.
21484         * sysdeps/sparc/dl-tls.h: Likewise.
21485         * sysdeps/x86_64/dl-tls.h: Likewise.
21486         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
21488 2011-03-14  Andreas Schwab  <schwab@redhat.com>
21490         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
21491         rpath element also skip the following colon.
21492         (expand_dynamic_string_token): Add is_path parameter and pass
21493         down to DL_DST_REQUIRED and _dl_dst_substitute.
21494         (decompose_rpath): Call expand_dynamic_string_token with
21495         non-zero is_path.  Ignore empty rpaths.
21496         (_dl_map_object_from_fd): Call expand_dynamic_string_token
21497         with zero is_path.
21499 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
21501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21502         Make cancelable.
21504 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
21506         [BZ #12655]
21507         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
21508         Patch by Filipe David Manana <fdmanana@apache.org>.
21510 2011-04-07  Andreas Schwab  <schwab@redhat.com>
21512         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
21513         Maintain aligned stack.
21514         (CHECK_RSP): Remove unused macro.
21516 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
21518         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
21519         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
21521 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
21523         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
21525         * include/features.h: Mention __USE_XOPEN2K8 in comment.
21527 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
21529         [BZ #12518]
21530         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
21531         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
21532         * sysdeps/x86_64/memmove.c: New file.
21533         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
21534         (memcpy): Renamed to ...
21535         (__new_memcpy): This.
21536         (memcpy): Provide GLIBC_2_14 memcpy.
21537         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
21538         (memcpy): Provide GLIBC_2_2_5 memcpy.
21540 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
21542         [BZ #12631]
21543         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
21545 2011-03-30  Andreas Schwab  <schwab@redhat.com>
21547         * misc/syncfs.c: New file.
21548         * misc/Makefile (routines): Add syncfs.
21549         * posix/unistd.h: Declare syncfs.
21550         * sysdeps/unix/syscalls.list: Add syncfs.
21552 2011-04-01  Andreas Schwab  <schwab@redhat.com>
21554         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
21555         open_by_handle_at.
21556         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
21557         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21558         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21559         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21560         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21561         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
21562         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21564 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
21566         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
21567         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21568         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
21569         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21570         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21571         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21572         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21574         * io/Makefile: Compile fallocate.c, fallocate64.c, and
21575         sync_file_range.c with -fexceptions.
21576         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
21577         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
21578         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
21579         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
21580         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
21581         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21582         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
21583         sync_file_range as cancellation point
21584         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
21585         now a wrapper around __call_sync_file_range with cancellation handling.
21586         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
21587         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
21588         function name to __call_sync_file_range.
21589         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
21590         Add call_sync_file_range.
21592 2011-04-01  Andreas Schwab  <schwab@redhat.com>
21594         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21595         bits/timex.h.
21597 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
21599         * iconv/iconv.h: Fix typo in comment.
21600         * io/fcntl.h: Likewise.
21601         * libio/stdio.h: Likewise.
21602         * posix/spawn.h: Likewise.
21603         * posix/unistd.h: Likewise.
21604         * stdlib/stdlib.h: Likewise.
21605         * time/time.h: Likewise.
21606         * wcsmbs/wchar.h: Likewise.
21608         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
21609         open_by_handle): Add.
21610         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
21611         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
21612         Augment a few comments.
21613         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21614         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21615         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21616         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21617         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21618         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
21619         open_by_handle.
21621         * io/fcntl.h (AT_EMPTY_PATH): Define.
21623 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
21625         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
21626         * sysdeps/unix/sysv/linux/bits/time.h: New file.
21627         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
21628         to...
21629         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
21630         * Versions.def: Add GLIBC_2.14.
21631         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
21632         Export.
21634 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
21636         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
21637         round counter.
21638         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21640 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
21642         [BZ #12597]
21643         * string/test-strncmp.c (do_page_test): New function.
21644         (check2): Likewise.
21645         (test_main): Call check2.
21646         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
21648 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
21650         [BZ #12587]
21651         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
21652         Handle cache information in CPU leaf 4.
21653         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21655 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
21657         [BZ #12583]
21658         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
21659         character representation.
21660         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
21662 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
21664         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
21665         END(__isnan) to END(__isnanf) to match function entry point/label
21666         EALIGN(__isnanf,...).
21668 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
21670         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
21672 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
21674         [BZ #12510]
21675         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
21676         copy from the symbol referenced in the relocation to initialize the
21677         used variable.
21678         Patch by Piotr Bury <pbury@goahead.com>.
21679         * elf/Makefile: Add rules to build and tst-unique3.
21680         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
21681         * elf/tst-unique3.cc: New file.
21682         * elf/tst-unique3.h: New file.
21683         * elf/tst-unique3lib.cc: New file.
21684         * elf/tst-unique3lib2.cc: New file.
21686         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
21688 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
21690         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
21691         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
21692         to _start.
21694 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
21696         * elf/dl-load.c (_dl_map_object): If we are looking for the first
21697         to-be-loaded object along a path to loader is ld.so.
21699 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
21700             Ulrich Drepper  <drepper@gmail.com>
21702         * sysdeps/x86_64/memset.S: After aligning destination, code
21703         branches to different locations depending on the value of
21704         misalignment, when multiarch is enabled. Fix this.
21706 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
21708         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
21709         Set _x86_64_preferred_memory_instruction for AMD processsors.
21710         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21711         Set bit_Prefer_SSE_for_memop for AMD processors.
21713 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
21715         * libio/fmemopen.c (fmemopen): Optimize a bit.
21717 2011-03-03  Andreas Schwab  <schwab@redhat.com>
21719         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
21721 2011-03-03  Roland McGrath  <roland@redhat.com>
21723         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
21725 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
21727         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
21728         __bzero_ultra1 instead of __memset_ultra1.
21730 2011-02-23  Andreas Schwab  <schwab@redhat.com>
21731             Ulrich Drepper  <drepper@gmail.com>
21733         [BZ #12509]
21734         * include/link.h (struct link_map): Add l_orig_initfini.
21735         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
21736         returning unsuccessfully.
21737         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
21738         close of a file loaded at startup, restore the original l_initfini
21739         list.
21740         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
21741         list, store the pointer.
21742         * elf/Makefile ($(objpfx)noload-mem): New rule.
21743         (noload-ENV): Define.
21744         (tests): Add $(objpfx)noload-mem.
21745         * elf/noload.c: Include <memcheck.h>.
21746         (main): Call mtrace.  Close all opened handles.
21748 2011-02-17  Andreas Schwab  <schwab@redhat.com>
21750         [BZ #12454]
21751         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
21752         dependencies are missing.
21754 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21756         Fix __if_freereq crash: Unlike the generic version which uses free,
21757         Hurd needs munmap.
21758         * sysdeps/mach/hurd/ifreq.h: New file.
21760 2011-01-27  Petr Baudis  <pasky@suse.cz>
21761             Ulrich Drepper  <drepper@gmail.com>
21763         [BZ 12445]#
21764         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
21765         to extend_alloca().
21766         * stdio-common/bug23.c: New file.
21767         * stdio-common/Makefile (tests): Add bug23.
21769 2010-09-28  Andreas Schwab  <schwab@redhat.com>
21770             Ulrich Drepper  <drepper@gmail.com>
21772         [BZ #12489]
21773         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
21774         before performing relro protection.  At old place add assertion
21775         to make sure nothing changed.
21777 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
21778             Glauber de Oliveira Costa  <glommer@gmail.com>
21780         * elf/elf.h: Add new ARM TLS relocs.
21782 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
21784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21785         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
21786         cast from r3.
21787         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
21788         'tests' variable.
21789         * sysdeps/wordsize-64/tst-writev.c: New file.
21791 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
21793         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
21794         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
21795         insns in _dl_start to prevent a TOC reference before relocs are
21796         resolved.
21798 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
21800         [BZ #12469]
21801         * Makeconfig: Remove RANLIB definition.
21802         * Makerules: Don't use RANLIB.
21803         * aclocal.m4: Remove ranlib test.
21804         * configure.in: No need to check for ranlib.
21805         * elf/rtld-Rules: Don't use RANLIB.
21807 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21809         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
21810         protection macro.
21811         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
21812         inclusion protection macro.
21814         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
21815         SIGRTMIN and SIGRTMAX and print information in that case only when
21816         SIGRTMIN is defined.
21818 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
21820         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
21821         arginfo fn returning -1.
21823         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
21824         and thousands string is zero terminated.
21826 2011-02-03  Andreas Schwab  <schwab@redhat.com>
21828         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
21829         sysdeps/unix/sysv/linux/bits/socket.h.
21831 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21833         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
21834         (__CPU_COUNT): Remove old macros.
21835         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
21836         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
21837         (__CPU_ALLOC, __CPU_FREE): Add macros.
21838         (__sched_cpualloc, __sched_cpufree): Add declarations.
21840 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
21842         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
21843         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
21844         * nscd/aicache.c (addhstaiX): Return timeout of added value.
21845         (readdhstai): Return value of addhstaiX call.
21846         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
21847         (addgrbyX): Return value returned by cache_addgr.
21848         (readdgrbyname): Return value returned by addgrbyX.
21849         (readdgrbygid): Likewise.
21850         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
21851         (addpwbyX): Return value returned by cache_addpw.
21852         (readdpwbyname): Return value returned by addhstbyX.
21853         (readdpwbyuid): Likewise.
21854         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
21855         (addservbyX): Return value returned by cache_addserv.
21856         (readdservbyname): Return value returned by addservbyX:
21857         (readdservbyport): Likewise.
21858         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
21859         (addhstbyX): Return value returned by cache_addhst.
21860         (readdhstbyname): Return value returned by addhstbyX.
21861         (readdhstbyaddr): Likewise.
21862         (readdhstbynamev6): Likewise.
21863         (readdhstbyaddrv6): Likewise.
21864         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
21865         (readdinitgroups): Return value returned by addinitgroupsX.
21866         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
21867         (prune_cache): Keep track of timeout value of re-added entries.
21868         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
21869         * nscd/nscd.h: Adjust prototypes of readd* functions.
21871 2011-02-04  Roland McGrath  <roland@redhat.com>
21873         * nis/nis_server.c (nis_servstate): Use the right name for 0.
21874         (nis_stats): Likewise.
21875         * nis/nis_modify.c (nis_modify): Likewise.
21876         * nis/nis_remove.c (nis_remove): Likewise.
21877         * nis/nis_add.c (nis_add): Likewise.
21879         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
21881         * posix/fnmatch_loop.c: Add some consts.
21883         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
21885 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
21887         [BZ #12460]
21888         * config.make.in (config-cflags-novzeroupper): Define.
21889         * configure.in: Substitute libc_cv_cc_novzeroupper.
21890         * elf/Makefile (AVX-CFLAGS): Define.
21891         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
21892         (CFLAGS-tst-auditmod4a.c): Likewise.
21893         (CFLAGS-tst-auditmod4b.c): Likewise.
21894         (CFLAGS-tst-auditmod6b.c): Likewise.
21895         (CFLAGS-tst-auditmod6c.c): Likewise.
21896         (CFLAGS-tst-auditmod7b.c): Likewise.
21897         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
21899 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
21901         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
21902         function to the callback.
21903         Patch partly by Jiri Olsa <jolsa@redhat.com>.
21905 2011-02-02  Andreas Schwab  <schwab@redhat.com>
21907         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
21908         of errno.
21910 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
21912         [BZ #11724]
21913         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
21914         of constructors.
21915         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
21916         of destructors.
21917         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
21919         [BZ #11724]
21920         * elf/Makefile: Add rules to build and run new test.
21921         * elf/tst-initorder.c: New file.
21922         * elf/tst-initorder.exp: New file.
21923         * elf/tst-initordera1.c: New file.
21924         * elf/tst-initordera2.c: New file.
21925         * elf/tst-initordera3.c: New file.
21926         * elf/tst-initordera4.c: New file.
21927         * elf/tst-initorderb1.c: New file.
21928         * elf/tst-initorderb2.c: New file.
21929         * elf/tst-order-a1.c: New file.
21930         * elf/tst-order-a2.c: New file.
21931         * elf/tst-order-a3.c: New file.
21932         * elf/tst-order-a4.c: New file.
21933         * elf/tst-order-b1.c: New file.
21934         * elf/tst-order-b2.c: New file.
21935         * elf/tst-order-main.c: New file.
21936         New test case by George Gensure <werkt0@gmail.com>.
21938 2010-10-01  Andreas Schwab  <schwab@redhat.com>
21940         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21941         decoding ACE if AI_CANONIDN.
21943 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
21945         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
21947 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
21949         * version.h (RELEASE): Bump for 2.13 release.
21950         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
21952         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
21954         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
21955         MADV_NOHUGEPAGE.
21956         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
21957         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21958         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21959         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21960         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21961         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21963         * posix/getconf.c: Update copyright year.
21964         * catgets/gencat.c: Likewise.
21965         * csu/version.c: Likewise.
21966         * debug/catchsegv.sh: Likewise.
21967         * debug/xtrace.sh: Likewise.
21968         * elf/ldconfig.c: Likewise.
21969         * elf/ldd.bash.in: Likewise.
21970         * elf/sprof.c (print_version): Likewise.
21971         * iconv/iconv_prog.c: Likewise.
21972         * iconv/iconvconfig.c: Likewise.
21973         * locale/programs/locale.c: Likewise.
21974         * locale/programs/localedef.c: Likewise.
21975         * malloc/memusage.sh: Likewise.
21976         * malloc/mtrace.pl: Likewise.
21977         * nscd/nscd.c (print_version): Likewise.
21978         * nss/getent.c: Likewise.
21980         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
21981         PF_CAIF, and PF_ALG.
21982         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21984 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
21986         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
21987         (modules-names): Use them.
21988         (ifunc-test-modules, ifunc-pie-tests): Define.
21989         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
21990         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
21991         (test-extras): Likewise.
21992         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
21993         $(compile-command.c).
21994         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
21995         (all-built-dso): Define.
21996         (check-textrel.out, check-execstack.out): Depend on it.
21998         * configure.in: Don't override --enable-multi-arch.
22000 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
22002         [BZ #6812]
22003         * nscd/hstcache.c (tryagain): Define.
22004         (cache_addhst): Return tryagain not notfound for temporary errors.
22005         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
22006         failed.
22008 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
22010         [BZ #10563]
22011         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
22012         to make the syscall.
22013         * sysdeps/unix/sysv/linux/setgroups.c: New file.
22015         [BZ #12378]
22016         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
22017         and fall back to matching as normal character if the string ends before
22018         the matching ']' is found.  This is what POSIX requires.
22019         * posix/testfnm.c: Adjust test result.
22020         * posix/globtest.sh: Adjust test result.  Add new test.
22021         * posix/tst-fnmatch.input: Likewise.
22022         * posix/tst-fnmatch2.c: Add new test.
22024 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
22026         * elf/Makefile (check-execstack): Revert last change.  Depend on
22027         check-execstack.h.
22028         (check-execstack.h): New target.
22029         (generated): Add check-execstack.h.
22030         * elf/check-execstack.c: Include "check-execstack.h".
22031         (main): Revert last change.
22032         (handle_file): Return zero if GNU_STACK is absent and
22033         DEFAULT_STACK_PERMS doesn't include PF_X.
22035 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
22037         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
22038         in child fails because the descriptor is already closed.
22039         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
22040         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
22041         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
22043         [BZ #12397]
22044         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
22045         syscall.
22047         [BZ #10484]
22048         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
22049         temporary buffer used to handle multi lookups locally.
22050         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
22052 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
22054         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
22055         loader is ld.so.
22057 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
22059         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
22060         alignment for SSE2.
22062 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
22064         [BZ #12394]
22065         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
22066         characters.  When rounding increased number of integer digits recompute
22067         number of groups.
22068         * stdio-common/tst-grouping.c: New file.
22069         * stdio-common/Makefile: Add rules to build and run tst-grouping.
22071 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
22073         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
22074         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
22076         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
22077         void.
22078         * bits/select.h: Likewise.
22080 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
22082         * po/ja.po: Update from translation team.
22084 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
22086         [BZ #11155]
22087         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
22088         implementation just like for lxstat, fxstatat, et al.
22090 2010-12-27  Jim Meyering  <meyering@redhat.com>
22092         [BZ #12348]
22093         * posix/regexec.c (build_trtable): Return failure indication upon
22094         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
22096 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
22098         [BZ #12201]
22099         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
22100         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
22101         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
22102         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
22104         [BZ #12207]
22105         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
22107         [BZ #12204]
22108         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
22109         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
22111 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
22113         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
22114         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
22115         script has SORT_BY_INIT_PRIORITY.
22116         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
22117         NO_CTORS_DTORS_SECTIONS is defined.
22118         * elf/soinit.c: Likewise.
22119         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
22120         NO_CTORS_DTORS_SECTIONS is defined.
22121         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
22122         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
22123         * sysdeps/sh/init-first.c: Likewise.
22124         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
22126 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
22128         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
22129         always use the slow path.
22131 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
22133         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
22134         similar rule which adds the sysdep directories to the header search in
22135         order to pick up the correct platform stackinfo.h.
22136         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
22137         perform test if it is, otherwise return successfully without testing.
22138         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
22139         DEFAULT_STACK_PERMS define in stackinfo.h.
22140         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
22141         defined in stackinfo.h.
22142         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
22143         DEFAULT_STACK_PERMS defined in stackinfo.h.
22144         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
22145         * sysdeps/ia64/stackinfo.h: Likewise.
22146         * sysdeps/s390/stackinfo.h: Likewise.
22147         * sysdeps/sh/stackinfo.h: Likewise.
22148         * sysdeps/sparc/stackinfo.h: Likewise.
22149         * sysdeps/x86_64/stackinfo.h: Likewise.
22150         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
22151         PF_X for powerpc64.  Retain PF_X for powerpc32.
22153 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
22155         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
22156         accurately.
22157         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
22158         GETDENTS_64BIT_ALIGNED.
22160 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
22162         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
22164 2010-12-10  Andreas Schwab  <schwab@redhat.com>
22166         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
22167         _GNU_SOURCE.
22169         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
22170         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
22171         Remove __restrict.
22172         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
22173         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
22175 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
22177         [BZ #11655]
22178         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
22179         are initialized.
22181 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
22183         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
22185 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
22187         * po/it.po: Update from translation team.
22189 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
22191         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
22192         unused codes.
22194 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
22196         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
22198 2010-11-24  Andreas Schwab  <schwab@redhat.com>
22200         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
22201         specially.
22202         (gaih_getanswer_slice): Likewise.
22204 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
22206         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
22208 2010-05-31  Petr Baudis  <pasky@suse.cz>
22210         [BZ #11149]
22211         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
22212         silently even in the chroot mode.
22214 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
22216         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
22217         last patch a bit.  Pretty printing
22219 2010-05-31  Petr Baudis <pasky@suse.cz>
22221         [BZ #10085]
22222         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
22223         initialization of skip_initgroups_dyn.
22225 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
22227         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
22228         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22230 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
22232         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
22234 2010-11-11  Andreas Schwab  <schwab@redhat.com>
22236         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
22237         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
22238         (tst-fnmatch-ENV): Set MALLOC_TRACE.
22239         ($(objpfx)tst-fnmatch-mem): New rule.
22240         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
22241         * posix/tst-fnmatch.c (main): Call mtrace.
22243 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
22245         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22246         Support Intel processor model 6 and model 0x2c.
22248 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
22250         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
22251           signed comparison.
22253 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
22255         [BZ #12205]
22256         * string/test-strncasecmp.c (check_result): New function.
22257         (do_one_test): Use it.
22258         (check1): New function.
22259         (test_main): Use it.
22260         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
22261         Support strcasecmp and strncasecmp.
22263 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
22265         [BZ #12194]
22266         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
22267         * sysdeps/x86_64/bits/byteswap.h: Likewise.
22269 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
22271         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
22272         IFUNC support.
22273         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22274         memset-x86-64.
22275         * sysdeps/x86_64/multiarch/bzero.S: New file.
22276         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
22277         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
22278         * sysdeps/x86_64/multiarch/memset.S: New file.
22279         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
22280         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22281         Set bit_Prefer_SSE_for_memop for Intel processors.
22282         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
22283         Define.
22284         (index_Prefer_SSE_for_memop): Define.
22285         (HAS_PREFER_SSE_FOR_MEMOP): Define.
22287 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
22289         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
22290         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
22292 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
22294         [BZ #12191]
22295         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22296         (__x86_64_raw_data_cache_size_half): Likewise.
22297         (__x86_64_raw_shared_cache_size): Likewise.
22298         (__x86_64_raw_shared_cache_size_half): Likewise.
22300         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22301         (__x86_64_raw_data_cache_size_half): Likewise.
22302         (__x86_64_raw_shared_cache_size): Likewise.
22303         (__x86_64_raw_shared_cache_size_half): Likewise.
22304         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
22305         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
22306         and __x86_64_raw_shared_cache_size_half.  Round
22307         __x86_64_data_cache_size_half, __x86_64_data_cache_size
22308         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
22309         to multiple of 256 bytes.
22311 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
22313         [BZ #12167]
22314         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
22315         of inacessible symlinks.  Verify result of symlink before returning it.
22316         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22317         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
22319 2010-10-28  Erich Ritz  <erichritz@gmail.com>
22321         * math/math.h (isinf): Fix typo in comment.
22323 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
22325         * po/da.po: Update from translation team.
22327 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
22329         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
22330         is added to the list.
22332 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22333             Ulrich Drepper  <drepper@gmail.com>
22335         * elf/dl-object.c (_dl_new_object): Don't append the new object to
22336         the global list here.  Move code to...
22337         (_dl_add_to_namespace_list): ...here.  New function.
22338         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
22339         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
22340         * elf/dl-load.c (lose): Don't remove the element from the list.
22341         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
22342         (_dl_map_object): Likewise.
22344 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
22346         [BZ #12159]
22347         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
22348         into all bytes of SSE register.
22349         Patch by Richard Li <richardpku@gmail.com>.
22351 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
22353         [BZ #12140]
22354         * malloc/malloc.c (_int_free): Fill correct number of bytes when
22355         perturbing.
22357 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
22359         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
22360         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
22361         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
22362         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
22363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
22364         submachine.
22365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
22367 2010-10-22  Andreas Schwab  <schwab@redhat.com>
22369         * include/dlfcn.h (__RTLD_SECURE): Define.
22370         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
22371         mode & __RTLD_SECURE instead.
22372         (open_path): Rename preloaded parameter to secure.
22373         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
22374         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
22375         * elf/dl-deps.c (openaux): Likewise.
22376         * elf/rtld.c (struct map_args): Remove is_preloaded.
22377         (map_doit): Don't use it.
22378         (dl_main): Likewise.
22379         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
22380         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
22382 2010-09-09  Andreas Schwab  <schwab@redhat.com>
22384         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
22385         (sysd-rules-targets): Remove duplicates.
22386         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
22387         rtld-%.$o dependency.
22389 2010-10-18  Andreas Schwab  <schwab@redhat.com>
22391         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
22392         _dl_map_object do it.
22394 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
22396         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
22397         fast fma builtins, define the macros in the C99 standard.
22398         (FP_FAST_FMAF): Likewise.
22399         (FP_FAST_FMAL): Likewise.
22400         * sysdeps/x86_64/bits/mathdef.h: Likewise.
22402         * bits/mathdef.h: Update copyright year.
22403         * sysdeps/powerpc/bits/mathdef.h: Likewise.
22405 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
22407         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
22408         builtins, define the macros in the C99 standard.
22409         (FP_FAST_FMAF): Likewise.
22410         (FP_FAST_FMAL): Likewise.
22411         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
22412         multiply/add.
22413         (FP_FAST_FMAF): Likewise.
22415 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
22417         [BZ #3268]
22418         * math/libm-test.inc (fma_test): Some new testcases.
22419         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
22420         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
22421         y and infinite z.  Do multiplication by C already in long double.
22422         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
22423         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
22424         y and infinite z.  Do bitwise or of inexact bit into u.d.
22425         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
22426         * sysdeps/i386/fpu/s_fmaf.S: Removed.
22427         * sysdeps/i386/fpu/s_fma.S: Removed.
22428         * sysdeps/i386/fpu/s_fmal.S: Removed.
22430 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
22432         [BZ #3268]
22433         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
22434         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
22435         computation is not scheduled after fetestexcept.  Fix value
22436         of minimum denormal long double.
22438 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
22440         [BZ #3268]
22441         * math/libm-test.inc (fma_test): Add some more tests.
22442         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
22443         correctly.
22445 2010-10-15  Andreas Schwab  <schwab@redhat.com>
22447         * scripts/data/localplt-s390-linux-gnu.data: New file.
22448         * scripts/data/localplt-s390x-linux-gnu.data: New file.
22450 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
22452         [BZ #3268]
22453         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
22454         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
22455         instead of dbl-64.
22456         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
22457         inlines.
22458         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
22459         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
22460         if one of x and y is very large and the other is subnormal.
22461         * sysdeps/s390/fpu/s_fmaf.c: New file.
22462         * sysdeps/s390/fpu/s_fma.c: New file.
22463         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
22464         * sysdeps/powerpc/fpu/s_fma.S: New file.
22465         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
22466         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
22467         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
22469 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
22471         [BZ #3268]
22472         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
22473         fma tests.
22474         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
22475         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
22476         * sysdeps/i386/i686/multiarch/s_fma.c: Include
22477         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
22478         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
22479         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
22480         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
22482 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
22484         [BZ #12078]
22485         * posix/regcomp.c (parse_branch): One more memory leak plugged.
22486         * posix/bug-regex31.input: Add test case.
22488 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
22490         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
22491         * posix/bug-regex31.input: New file.
22493         [BZ #12078]
22494         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
22495         (parse_sub_exp): Fix last change, use postorder.
22497         * posix/bug-regex31.c: New file.
22498         * posix/Makefile: Add rules to build and run bug-regex31.
22500         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
22502         [BZ #12078]
22503         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
22505         [BZ #12108]
22506         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
22507         to have entries in sys_siglist.
22509         [BZ #12093]
22510         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
22511         be NULL.
22513 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
22515         [BZ #3268]
22516         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
22517         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
22518         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22519         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
22520         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22521         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
22522         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
22523         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
22524         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
22525         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
22526         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
22527         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
22528         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22529         * math/ftestexcept.c (fetestexcept): Likewise.
22530         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
22531         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
22532         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
22533         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
22534         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
22535         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
22536         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22538 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
22540         [BZ #12107]
22541         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
22542         newline.
22544 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
22546         * string/bug-strstr1.c: New file.
22547         * string/Makefile: Add rules to build and run bug-strstr1.
22549 2010-10-05  Eric Blake  <eblake@redhat.com>
22551         [BZ #12092]
22552         * string/str-two-way.h (two_way_long_needle): Always clear memory
22553         when skipping input due to the shift table.
22555 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
22557         [BZ #12005]
22558         * malloc/mcheck.c: Handle large requests.
22560         [BZ #12077]
22561         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
22562         for strncmp and strncasecmp.
22563         * string/stratcliff.c: Add tests for strcmp and strncmp.
22564         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
22566 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
22568         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
22569         __set_fpscr.
22571 2010-09-30  Andreas Jaeger  <aj@suse.de>
22573         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
22574         (CGROUP_SUPER_MAGIC): Define.
22575         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22576         Handle btrfs and cgroup file systems.
22577         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22578         Likewise.
22580 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
22582         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
22583         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
22585 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22587         [BZ #12067]
22588         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
22589         trying to locate the ELF header.
22591 2010-09-27  Andreas Schwab  <schwab@redhat.com>
22593         [BZ #11611]
22594         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
22595         Mask out sign-bit copies when constructing f_fsid.
22597 2010-09-24  Petr Baudis <pasky@suse.cz>
22599         * debug/stack_chk_fail_local.c: Add missing licence exception.
22600         * debug/warning-nop.c: Likewise.
22602 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
22604         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
22605         implementing getdents64 using getdents syscall, set d_type if
22606         __ASSUME_GETDENTS32_D_TYPE.
22608 2010-09-16  Andreas Schwab  <schwab@redhat.com>
22610         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
22611         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
22613 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
22615         [BZ #12037]
22616         * posix/unistd.h: Undo change of feature selection for ftruncate from
22617         2010-01-11.
22619 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
22621         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
22622         detection.
22624 2010-09-20  Andreas Schwab  <schwab@redhat.com>
22626         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
22627         fanotify_mark.
22628         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22630 2010-09-14  Andreas Schwab  <schwab@redhat.com>
22632         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
22633         variables after CHECK_SP call.
22634         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
22636 2010-09-13  Andreas Schwab  <schwab@redhat.com>
22637             Ulrich Drepper  <drepper@redhat.com>
22639         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
22640         re-relocationg ld.so.
22641         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
22642         _dl_init_paths call.
22643         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
22644         here anymore.
22646 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
22648         * resolv/res_init.c (__res_vinit): Count the default server we added.
22650 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
22651             Ulrich Drepper  <drepper@redhat.com>
22653         [BZ #11968]
22654         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22655         (____longjmp_chk): Use %ebx for saving value across system call.
22656         Add unwind info.
22658 2010-09-06  Andreas Schwab  <schwab@redhat.com>
22660         * manual/Makefile: Don't mix pattern rules with normal rules.
22662 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
22664         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
22665         operation.
22666         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
22667         * libio/iofopncook.c (_IO_cookie_init): Likewise.
22668         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
22669         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22670         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22671         Likewise.
22673 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
22675         [BZ #11979]
22676         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
22677         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
22679 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
22681         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
22682         * sysdeps/x86_64/addmul_1.S: Likewise.
22683         * sysdeps/x86_64/lshift.S: Likewise.
22684         * sysdeps/x86_64/mul_1.S: Likewise.
22685         * sysdeps/x86_64/rshift.S: Likewise.
22686         * sysdeps/x86_64/sub_n.S: Likewise.
22687         * sysdeps/x86_64/submul_1.S: Likewise.
22689 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22691         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
22692         Define __sched_param instead of SCHED_* and sched_param when
22693         <bits/sched.h> is included with __need_schedparam defined.
22694         * bits/sched.h [__need_schedparam]
22695         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
22696         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
22697         (__defined_schedparam): Define to 1.
22698         (__sched_param): New structure, identical to sched_param.
22699         (__need_schedparam): Undefine.
22701 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
22703         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
22704         (epoll_create1): Declare.
22706         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
22708 2010-08-31  Andreas Schwab  <schwab@redhat.com>
22710         [BZ #7066]
22711         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
22712         shifting retval into place.
22714 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
22716         * nis/rpcsvc/nis.h: Update copyright notice.
22717         * nis/rpcsvc/nis.x: Likewise.
22718         * nis/rpcsvc/nis_callback.h: Likewise.
22719         * nis/rpcsvc/nis_callback.x: Likewise.
22720         * nis/rpcsvc/nis_object.x: Likewise.
22721         * nis/rpcsvc/nis_tags.h: Likewise.
22722         * nis/rpcsvc/yp.h: Likewise.
22723         * nis/rpcsvc/yp.x: Likewise.
22724         * nis/rpcsvc/ypupd.h: Likewise.
22725         * nis/yp_xdr.c: Likewise.
22726         * nis/ypupdate_xdr.c: Likewise.
22728         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
22729         mainly the body of pmap_getport.  Add parameters to specify timeouts.
22730         (pmap_getport): Use __libc_rpc_getport.
22731         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
22732         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
22733         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
22735 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
22737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
22738         fanotify_mark.
22740 2010-08-27  Roland McGrath  <roland@redhat.com>
22742         * sysdeps/i386/i686/multiarch/Makefile
22743         (CFLAGS-varshift.c): New variable.
22745 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
22747         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
22748         * sysdeps/i386/i686/multiarch/varshift.c: New file.
22750         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
22752         * sysdeps/x86_64/strlen.S: Minimal code improvement.
22754 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
22756         * sysdeps/x86_64/strlen.S: Unroll the loop.
22757         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22758         strlen-sse2 strlen-sse2-bsf.
22759         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
22760         __strlen_no_bsf if bit_Slow_BSF is set.
22761         (__strlen_sse42): Removed.
22762         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
22763         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
22765 2010-08-25  Roland McGrath  <roland@redhat.com>
22767         * sysdeps/x86_64/multiarch/varshift.S: File removed.
22768         * sysdeps/x86_64/multiarch/varshift.c: New file.
22769         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
22770         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
22771         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
22772         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22774 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
22776         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22777         strlen-sse2 strlen-sse2-bsf.
22778         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
22779         __strlen_sse2_bsf if bit_Slow_BSF is unset.
22780         (__strlen_sse2): Removed.
22781         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
22782         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
22783         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22784         bit_Slow_BSF for Atom.
22785         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
22786         (index_Slow_BSF): Define.
22787         (HAS_SLOW_BSF): Define.
22789 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
22791         [BZ #10851]
22792         * resolv/res_init.c (__res_vinit): When no server address at all
22793         is given default to loopback.
22795 2010-08-24  Roland McGrath  <roland@redhat.com>
22797         * configure.in: Remove config-name.h generation.
22798         * configure: Regenerated.
22799         * config-name.in: File removed.
22800         * scripts/config-uname.sh: New file.
22801         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
22802         ($(objdir)config-name.h): New target.
22804         * sunrpc/rpc_parse.h: Avoid nested comment.
22806 2010-08-24  Richard Henderson  <rth@redhat.com>
22807             Ulrich Drepper  <drepper@redhat.com>
22808             H.J. Lu  <hongjiu.lu@intel.com>
22810         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
22811         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
22812         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
22813         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
22814         _mm_alignr_epi8 with _mm_loadu_si128.
22815         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
22816         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
22817         (__m128i_shift_right): Removed.
22818         * sysdeps/i386/i686/multiarch/varshift.h: New file.
22819         * sysdeps/i386/i686/multiarch/varshift.S: New file.
22820         * sysdeps/x86_64/multiarch/varshift.h: New file.
22821         * sysdeps/x86_64/multiarch/varshift.S: New file.
22823 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
22825         * configure.in: Move assembler checks to before sysdep dir checking.
22827 2010-08-20  Petr Baudis  <pasky@suse.cz>
22829         * LICENSES: Sync the sunrpc license.
22831 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
22833         * sunrpc/auth_des.c: Update copyright notice once again.
22834         * sunrpc/auth_none.c: Likewise.
22835         * sunrpc/auth_unix.c: Likewise.
22836         * sunrpc/authdes_prot.c: Likewise.
22837         * sunrpc/authuxprot.c: Likewise.
22838         * sunrpc/bindrsvprt.c: Likewise.
22839         * sunrpc/clnt_gen.c: Likewise.
22840         * sunrpc/clnt_perr.c: Likewise.
22841         * sunrpc/clnt_raw.c: Likewise.
22842         * sunrpc/clnt_simp.c: Likewise.
22843         * sunrpc/clnt_tcp.c: Likewise.
22844         * sunrpc/clnt_udp.c: Likewise.
22845         * sunrpc/clnt_unix.c: Likewise.
22846         * sunrpc/des_crypt.c: Likewise.
22847         * sunrpc/des_soft.c: Likewise.
22848         * sunrpc/get_myaddr.c: Likewise.
22849         * sunrpc/getrpcport.c: Likewise.
22850         * sunrpc/key_call.c: Likewise.
22851         * sunrpc/key_prot.c: Likewise.
22852         * sunrpc/openchild.c: Likewise.
22853         * sunrpc/pm_getmaps.c: Likewise.
22854         * sunrpc/pm_getport.c: Likewise.
22855         * sunrpc/pmap_clnt.c: Likewise.
22856         * sunrpc/pmap_prot.c: Likewise.
22857         * sunrpc/pmap_prot2.c: Likewise.
22858         * sunrpc/pmap_rmt.c: Likewise.
22859         * sunrpc/rpc/auth.h: Likewise.
22860         * sunrpc/rpc/auth_unix.h: Likewise.
22861         * sunrpc/rpc/clnt.h: Likewise.
22862         * sunrpc/rpc/des_crypt.h: Likewise.
22863         * sunrpc/rpc/key_prot.h: Likewise.
22864         * sunrpc/rpc/netdb.h: Likewise.
22865         * sunrpc/rpc/pmap_clnt.h: Likewise.
22866         * sunrpc/rpc/pmap_prot.h: Likewise.
22867         * sunrpc/rpc/pmap_rmt.h: Likewise.
22868         * sunrpc/rpc/rpc.h: Likewise.
22869         * sunrpc/rpc/rpc_des.h: Likewise.
22870         * sunrpc/rpc/rpc_msg.h: Likewise.
22871         * sunrpc/rpc/svc.h: Likewise.
22872         * sunrpc/rpc/svc_auth.h: Likewise.
22873         * sunrpc/rpc/types.h: Likewise.
22874         * sunrpc/rpc/xdr.h: Likewise.
22875         * sunrpc/rpc_clntout.c: Likewise.
22876         * sunrpc/rpc_cmsg.c: Likewise.
22877         * sunrpc/rpc_common.c: Likewise.
22878         * sunrpc/rpc_cout.c: Likewise.
22879         * sunrpc/rpc_dtable.c: Likewise.
22880         * sunrpc/rpc_hout.c: Likewise.
22881         * sunrpc/rpc_main.c: Likewise.
22882         * sunrpc/rpc_parse.c: Likewise.
22883         * sunrpc/rpc_parse.h: Likewise.
22884         * sunrpc/rpc_prot.c: Likewise.
22885         * sunrpc/rpc_sample.c: Likewise.
22886         * sunrpc/rpc_scan.c: Likewise.
22887         * sunrpc/rpc_scan.h: Likewise.
22888         * sunrpc/rpc_svcout.c: Likewise.
22889         * sunrpc/rpc_tblout.c: Likewise.
22890         * sunrpc/rpc_util.c: Likewise.
22891         * sunrpc/rpc_util.h: Likewise.
22892         * sunrpc/rpcinfo.c: Likewise.
22893         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
22894         * sunrpc/rpcsvc/key_prot.x: Likewise.
22895         * sunrpc/rpcsvc/klm_prot.x: Likewise.
22896         * sunrpc/rpcsvc/mount.x: Likewise.
22897         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
22898         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
22899         * sunrpc/rpcsvc/rex.x: Likewise.
22900         * sunrpc/rpcsvc/rstat.x: Likewise.
22901         * sunrpc/rpcsvc/rusers.x: Likewise.
22902         * sunrpc/rpcsvc/sm_inter.x: Likewise.
22903         * sunrpc/rpcsvc/spray.x: Likewise.
22904         * sunrpc/rpcsvc/yppasswd.x: Likewise.
22905         * sunrpc/rtime.c: Likewise.
22906         * sunrpc/svc.c: Likewise.
22907         * sunrpc/svc_auth.c: Likewise.
22908         * sunrpc/svc_authux.c: Likewise.
22909         * sunrpc/svc_raw.c: Likewise.
22910         * sunrpc/svc_run.c: Likewise.
22911         * sunrpc/svc_simple.c: Likewise.
22912         * sunrpc/svc_tcp.c: Likewise.
22913         * sunrpc/svc_udp.c: Likewise.
22914         * sunrpc/svc_unix.c: Likewise.
22915         * sunrpc/svcauth_des.c: Likewise.
22916         * sunrpc/xcrypt.c: Likewise.
22917         * sunrpc/xdr.c: Likewise.
22918         * sunrpc/xdr_array.c: Likewise.
22919         * sunrpc/xdr_float.c: Likewise.
22920         * sunrpc/xdr_mem.c: Likewise.
22921         * sunrpc/xdr_rec.c: Likewise.
22922         * sunrpc/xdr_ref.c: Likewise.
22923         * sunrpc/xdr_sizeof.c: Likewise.
22924         * sunrpc/xdr_stdio.c: Likewise.
22926         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
22927         handling.
22929 2010-08-19  Andreas Schwab  <schwab@redhat.com>
22931         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
22933 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
22935         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
22936         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
22937         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
22938         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
22939         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
22940         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
22941         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
22942         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
22943         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
22944         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
22945         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
22946         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
22947         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
22948         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
22950 2010-07-26  Anton Blanchard  <anton@samba.org>
22952         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
22953         * malloc/arena.c (heap_trim): Likewise.
22955 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
22957         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
22958         here.  Not...
22959         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
22960         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
22962 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
22964         * sysdeps/i386/elf/Makefile: New file.
22966 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
22968         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
22969         from fanotify_init.
22970         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
22971         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22973 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
22975         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
22976         of strncasecmp_l.
22977         * sysdeps/multiarch/strcmp.S: Likewise.
22979 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
22981         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22982         strncase_l-nonascii.
22983         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22984         Add strncase_l-ssse3.
22985         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
22986         * sysdeps/x86_64/strcmp.S: Likewise.
22987         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
22988         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
22989         * sysdeps/x86_64/strncase.S: New file.
22990         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
22991         * sysdeps/x86_64/strncase_l.S: New file.
22992         * string/Makefile (strop-tests): Add strncasecmp.
22993         * string/test-strncasecmp.c: New file.
22995         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
22996         warning.
22998         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
22999         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
23001 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
23003         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
23005 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
23007         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
23008         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
23009         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
23011 2010-05-01  Alan Modra  <amodra@gmail.com>
23013         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
23014         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
23015         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
23016         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
23017         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
23018         tidying.  Don't tail-call __sigjmp_save for static lib.
23019         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
23020         save location.
23021         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
23022         (CALL_MCOUNT): Add eh info, and nop after bl.
23023         (TAIL_CALL_SYSCALL_ERROR): New macro.
23024         (PSEUDO_RET): Use it.
23025         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
23026         Correct save location of integer regs and cr.
23027         (_dl_profile_resolve): Correct cr save location.  Delete nops
23028         after bl when SHARED.  Reduce cfi size a little by better
23029         placement of cfi directives.
23030         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
23031         make a stack frame.  Instead use parm save area as a temp.
23032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
23033         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
23034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
23035         Don't make a stack frame for parent, use parm save area.
23036         Increase child stack frame to 112 bytes.  Don't save unused reg,
23037         and adjust reg usage.  Set up cfi on error recovery and
23038         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
23039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23040         (__makecontext): Add dummy nop after jump to exit.
23041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
23042         Use correct parm save area and cr save, reduce stack frame.
23043         Correct cfi for possible PSEUDO_RET frame setup.
23044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
23045         Branch to local label emitted by PSEUDO_RET rather than
23046         __syscall_error.
23048 2010-08-12  Andreas Schwab  <schwab@redhat.com>
23050         [BZ #11904]
23051         * locale/programs/locale.c (print_assignment): New function.
23052         (show_locale_vars): Use it.
23054 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
23056         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
23057         field.
23058         (struct statfs64): Likewise.
23059         (_STATFS_F_FLAGS): Define.
23060         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
23061         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23062         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
23063         (ST_VALID): Define locally.
23064         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
23065         __statvfs_getflags, use the provided value.
23066         * sysdeps/unix/sysv/linux/kernel-features.h: Define
23067         __ASSUME_STATFS_F_FLAGS.
23069         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
23071         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
23072         Add sys/fanotify.h.
23073         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
23074         fanotify_mask for GLIBC_2.13.
23075         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
23076         fanotify_init and fanotify_mark.
23077         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23078         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
23080         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
23081         Add prlimit.
23082         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
23083         prlimit64 for GLIBC_2.13.
23084         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
23085         prlimit64.
23086         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
23087         syscall.
23088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
23089         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
23090         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
23091         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
23092         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
23093         add prlimit alias.
23094         * sysdeps/unix/sysv/linux/prlimit.c: New file.
23096         [BZ #11903]
23097         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
23098         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
23100         * nss/Makefile: Add rules to build and run tst-nss-test1.
23101         * shlib-versions: Add entry for libnss_test1.
23102         * nss/nss_test1.c: New file.
23103         * nss/tst-nss-test1.c: New file.
23105         * nss/nsswitch.c (__nss_database_custom): Define new variable.
23106         (__nss_configure_lookup): Set appropriate entry in
23107         __nss_configure_lookup to true.
23108         * nss/nsswitch.h: Define enum with indeces of databases in
23109         databases and __nss_database_custom arrays.  Declare
23110         __nss_database_custom.
23111         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
23112         to avoid using nscd when custom rules are installed.
23113         * nss/getXXbyYY_r.c: Likewise.
23114         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23116         * nss/nss_files/files-parse.c: Whitespace fixes.
23118 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
23120         [BZ #11883]
23121         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
23122         * posix/fnmatch_loop.c: Likewise.
23124 2010-07-17  Andi Kleen  <ak@linux.intel.com>
23126         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
23127         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
23128         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
23129         * Versions.def [GLIBC_2.13]: Add.
23131 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
23133         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23134         Also fail if tpwd after pwuid call is NULL.
23136 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23138         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
23139         when converting to ms.
23141 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23143         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
23144         EOPNOTSUPP errors with ENOTTY.
23145         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
23146         EOPNOTSUPP errors with ENOTTY.
23148 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
23150         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23151         Add strcasecmp_l-ssse3.
23152         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
23153         strcasecmp.
23154         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
23155         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
23156         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
23158 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
23160         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
23162         * string/Makefile (strop-tests): Add strcasecmp.
23163         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23164         strcasecmp_l-nonascii.
23165         (gen-as-const-headers): Add locale-defines.sym.
23166         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
23167         * sysdeps/x86_64/strcasecmp.S: New file.
23168         * sysdeps/x86_64/strcasecmp_l.S: New file.
23169         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
23170         * sysdeps/x86_64/locale-defines.sym: New file.
23171         * string/test-strcasecmp.c: New file.
23173         * string/test-strcasestr.c: Test both ends of the range of characters.
23174         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
23176 2010-07-29  Roland McGrath  <roland@redhat.com>
23178         [BZ #11856]
23179         * manual/locale.texi (Yes-or-No Questions): Fix example code.
23181 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
23183         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
23184         for ld.so.
23186 2010-07-27  Andreas Schwab  <schwab@redhat.com>
23188         * manual/memory.texi (Malloc Tunable Parameters): Document
23189         M_PERTURB.
23191 2010-07-26  Roland McGrath  <roland@redhat.com>
23193         [BZ #11840]
23194         * configure.in (-fgnu89-inline check): Set and substitute
23195         gnu89_inline, not libc_cv_gnu89_inline.
23196         * configure: Regenerated.
23197         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
23199 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
23201         * string/test-strnlen.c: New file.
23202         * string/Makefile (strop-tests): Add strnlen.
23203         * string/tester.c (test_strnlen): Add a few more test cases.
23204         * string/tst-strlen.c: Better error reporting.
23206         * sysdeps/x86_64/strnlen.S: New file.
23208 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
23210         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
23211         lower-latency instructions.
23213 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
23215         * string/test-strcasestr.c: New file.
23216         * string/test-strstr.c: New file.
23217         * string/Makefile (strop-tests): Add strstr and strcasestr.
23218         * string/str-two-way.h: Don't undefine MAX.
23219         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
23221 2010-07-21  Andreas Schwab  <schwab@redhat.com>
23223         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23224         strcasestr-nonascii.
23225         (CFLAGS-strcasestr-nonascii.c): Define.
23226         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
23227         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
23228         Remove unused attribute.
23230 2010-07-20  Roland McGrath  <roland@redhat.com>
23232         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
23233         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
23234         ld.so.cache was broken.  With it, there is no way to disable dsocaps
23235         like LD_HWCAP_MASK can disable hwcaps.
23237 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
23239         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
23241 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
23243         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
23244         call in strcasestr.
23245         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
23246         __strcasestr_sse42_nonascii.
23247         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
23248         strcasestr-nonascii.c.
23249         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
23251 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
23253         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
23254         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
23255         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
23256         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
23258 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
23260         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
23261         fcntl.
23263 2010-07-06  Andreas Schwab  <schwab@redhat.com>
23265         [BZ #11577]
23266         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
23267         dl_signal_cerror.
23269 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
23271         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
23272         _PC_PIPE_BUF using F_GETPIPE_SZ.
23274 2010-07-05  Roland McGrath  <roland@redhat.com>
23276         * manual/arith.texi (Rounding Functions): Fix rint description
23277         implicit in round description.
23279 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
23281         * elf/Makefile: Fix linking for a few tests to make recent linker
23282         happy.
23284 2010-06-30  Andreas Schwab  <schwab@redhat.com>
23286         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23287         $(common-objpfx)libc_nonshared.a.
23289 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
23291         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
23292         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
23293         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23294         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23295         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
23296         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
23297         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23298         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
23300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
23301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
23302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
23304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
23306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
23307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
23308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
23309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
23311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
23313         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
23314         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
23315         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
23316         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
23317         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
23318         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
23319         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
23320         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
23321         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
23322         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
23323         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
23324         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
23325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
23326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
23327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
23328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
23329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
23330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
23331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
23332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
23333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
23334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
23335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
23336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
23337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
23338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
23340 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
23342         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
23343         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
23344         * string/memmove.c (memmove): Renamed to ...
23345         (MEMMOVE): ...this.  Default to memmove.
23346         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
23347         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
23348         (END_CHK): Define.
23349         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23350         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
23351         mempcpy-ssse3-back memmove-ssse3-back.
23352         * sysdeps/x86_64/multiarch/bcopy.S: New file .
23353         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
23354         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
23355         * sysdeps/x86_64/multiarch/memcpy.S: New file.
23356         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
23357         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
23358         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
23359         * sysdeps/x86_64/multiarch/memmove.c: New file.
23360         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
23361         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
23362         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
23363         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
23364         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
23365         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
23366         Define.
23367         (index_Fast_Copy_Backward): Define.
23368         (HAS_ARCH_FEATURE): Define.
23369         (HAS_FAST_REP_STRING): Define.
23370         (HAS_FAST_COPY_BACKWARD): Define.
23372 2010-06-21  Andreas Schwab  <schwab@redhat.com>
23374         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23375         Restore proper fallback handling.
23377 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
23379         [BZ #11701]
23380         * posix/group_member.c (__group_member): Correct checking loop.
23382         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
23383         OOM in getpwuid_r correctly.  Return error number when the caller
23384         should return, otherwise -1.
23385         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
23386         call returning > 0 value.
23387         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
23389 2010-06-07  Andreas Schwab  <schwab@redhat.com>
23391         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
23392         libc_nonshared.a from targets in modules-names.
23394 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
23396         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
23397         requires it.
23399 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
23401         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
23402         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
23403         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
23404         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
23406 2010-06-02  Andreas Schwab  <schwab@redhat.com>
23408         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
23410 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
23412         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
23413         and F_GETPIPE_SZ.
23414         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23415         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23416         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23417         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23418         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23419         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
23421 2010-06-14  Roland McGrath  <roland@redhat.com>
23423         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
23425 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
23427         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
23428         __REDIRECT followed by __THROW.
23429         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
23430         * posix/getopt.h (getopt): Likewise.
23432 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
23434         * hurd/lookup-at.c (__file_name_lookup_at): Accept
23435         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
23436         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
23437         in AT_FLAGS.
23438         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
23439         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
23441 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
23443         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
23445 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
23447         [BZ #11640]
23448         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23449         Properly check family and model.
23451 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
23453         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
23455 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
23457         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
23459 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
23461         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
23462         symbol reference.
23464 2010-05-19  Andreas Schwab  <schwab@redhat.com>
23466         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
23467         symbol reference.
23469 2010-05-21  Andreas Schwab  <schwab@redhat.com>
23471         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
23472         and internal_recvmmsg.
23473         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
23474         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
23475         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
23476         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
23478         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
23479         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23480         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23482 2010-05-20  Andreas Schwab  <schwab@redhat.com>
23484         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
23486 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
23488         POWER7 optimizations.
23489         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
23490         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
23492 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
23494         * version.h: Update for 2.13 development version.
23496 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
23498         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
23499         exceptions.  Return 0.
23501 2010-05-07  Roland McGrath  <roland@redhat.com>
23503         * elf/ldconfig.c (main): Add a const.
23505 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
23507         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
23508         (args_options): Add no-idn option.
23509         (ahosts_keys_int): Add idn_flags to ai_flags.
23510         (parse_option): Handle 'i' option to clear idn_flags.
23512         * malloc/malloc.c (_int_free): Possible race in the most recently
23513         added check.  Only act on the data if no current modification
23514         happened.
23516 See ChangeLog.17 for earlier changes.