PowerPC: modf optimization fix
[glibc.git] / ChangeLog
blob10e84d11932dfba8316f47794db8c494cdf26ef4
1 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
4         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
5         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
6         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
7         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
8         powerpc/power5+/fpu folders.
9         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
11 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
14         POWER.
15         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
16         for POWER.
17         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
18         powerpc/power5/fpu folders.
19         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
21 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
24         instructions.
25         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
27         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
28         * benchtests/Makefile: Add rint benchtest.
29         * benchtests/rint-inputs: Input for rint benchtest.
31 2013-03-28  Alan Modra  <amodra@gmail.com>
33         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
34         Define as empty.
35         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
36         Likewise.
38 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
41         llroundl symbol when building for PPC32.
43 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
46         symbol.
48 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
51         macro to return vdso values correctly in IFUNC implementations.
52         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
53         Optimization by using IFUNC.
55 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
58         default_ldbl_pack and using as default implementation.
59         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
60         implementation.
61         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
62         redundant definition.
63         (ldbl_insert_mantissa): Likewise.
64         (ldbl_canonicalize): Likewise.
65         (ldbl_nearbyint): Likewise.
66         (ldbl_pack): Rename to ldbl_pack_ppc.
67         (ldbl_unpack): Rename to ldbl_unpack_ppc.
68         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
69         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
71 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
73         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
74         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
75         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
76         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
77         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
78         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
79         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
80         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
82 2013-02-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com> 
84         [BZ #15055] 
85         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use 
86         __ieee754_sqrl instead of __sqrl. 
88 2013-01-18  Anton Blanchard  <anton@samba.org>
89             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
91         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
92         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
93         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
94         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
95         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
96         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
97         "+r" and remove output regs list as redundant.  Add explicit inline
98         asm to specify register of return val to work around compiler codegen
99         bug.  Remove (int) cast on return value.  Add return type parameter to
100         use in macro so that this macro does not truncate return value for
101         64-bit values.
102         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
103         pass to INTERNAL_VSYSCALL_NCS.
104         (INLINE_VSYSCALL): Add 'long int' as return type to
105         INTERNAL_VSYSCALL_NCS macro invocation.
106         (INTERNAL_VSYSCALL): Add 'long int' as return type to
107         INTERNAL_VSYSCALL_NCS macro invocation.
108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
110 2013-01-09  Anton Blanchard  <anton@samba.org>
112         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
113         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
114         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
115         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
117 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
119         [BZ #15006]
120         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
121         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
123 2013-03-30  David S. Miller  <davem@davemloft.net>
125         * po/de.po: Update from translation team.
127 2013-01-31  David S. Miller  <davem@davemloft.net>
129         * po/de.po: Update from translation team.
131 2013-01-11  Andreas Jaeger  <aj@suse.de>
133         [BZ #15003]
134         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
135         value. Sync with Linux 3.7.
137 2013-01-09  David S. Miller  <davem@davemloft.net>
139         [BZ# 15003]
140         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
141         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
142         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
143         TCP_FASTOPEN): Define.
144         (tcp_repair_opt): New structure.
145         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
146         enum values.
147         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
148         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
149         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
150         (tcp_cookie_transactions): New structure.
152 2013-01-09  Andreas Jaeger  <aj@suse.de>
154         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
155         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
157 2013-01-01  David S. Miller  <davem@davemloft.net>
159         * po/fr.po: Update from translation team.
160         * po/ca.po: Likewise.
162 2012-12-21  David S. Miller  <davem@davemloft.net>
164         * po/hr.po: Update from translation team.
166 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
168         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
170 2012-12-19  Steve Ellcey  <sellcey@mips.com>
172         * NEWS:  Mention new memcpy for MIPS.
174 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
176         * manual/contrib.texi (Contributors): Spelling correction.
178 2012-12-15  David S. Miller  <davem@davemloft.net>
180         * po/ru.po: Update from translation team.
182 2012-12-13  David S. Miller  <davem@davemloft.net>
184         * NEWS: Mention IFUNC testsuite enhancements.
186         * po/pl.po: Update from translation team.
187         * po/bg.po: Likewise.
189         * manual/contrib.texi (Contributors): Update entries for Hongjiu
190         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
192 2012-12-11  David S. Miller  <davem@davemloft.net>
194         * po/sv.po: Update from translation team.
196         * po/vi.po: Update from translation team.
198         * po/cs.po: Update from translation team.
200         * po/de.po: Update from translation team.
201         * po/eo.po: Likewise.
202         * po/nl.po: Likewise.
204 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
206         [BZ #14246]
207         * manual/argp.texi (Argp Helper Functions): Move node to follow
208         Argp Parsing State.
210         [BZ #14872]
211         * manual/conf.texi (Limits on File System Capacity): Mention if
212         terminating null is included in the max size.
214 2012-12-10  Andreas Jaeger  <aj@suse.de>
216         * po/cs.po: Update from translation team.
218 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
220         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
221         void pointer and cast to uintptr_t.
222         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
223         path.
224         * sysdeps/s390/s390-64/memcpy.S: Likewise.
225         * sysdeps/s390/s390-64/memset.S: Likewise.
227 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
229         [BZ #14833]
230         * menual/message.texi (Message Translation): Fix typos.
231         (Helper programs for gettext): Likewise.
233 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
235         [BZ #14898]
236         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
237         Change to -1.
239 2012-12-07  David S. Miller  <davem@davemloft.net>
241         * po/libc.pot: Update.
243 2012-12-07  Richard Henderson  <rth@redhat.com>
245         [BZ #10114]
246         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
247         normal/normal case to before the switch.
248         (_FP_DIV): Likewise.
250 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
251             Mike Frysinger  <vapier@gentoo.org>
253         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
254         check for __NR_fadvise64_64.
256 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
258         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
259         0, not just to plain "0" as a statement.
260         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
261         with cw.
263 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
265         * NEWS: Use sourceware.org in Bugzilla URL.
267 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
270         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
272         * stdio-common/tst-put-error.c (do_test): Add newline to the
273         padded test to ensure flush.
275 2012-12-05  Jeff Law  <law@redhat.com>
277         * sunrpc/etc.rpc (fedfs_admin): Add entry.
279 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
281         * README: Don't refer to ports add-on as distributed separately.
282         Mention AArch64 in list of systems supported in the ports add-on.
284         * LICENSES: Add more non-FSF copyright and license notices.
286         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
287         ((unused)).
289         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
291         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
292         10000 as width of padded output.
294 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
296         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
298         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
299         variable LX with __attribute__ ((unused)).
300         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
301         Likewise.
302         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
303         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
304         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
305         with __attribute__ ((unused)).
307 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
309         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
311 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
313         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
314         (CFLAGS-nldbl-acos.c): New variable.
315         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
316         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
317         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
318         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
319         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
320         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
321         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
322         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
323         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
324         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
325         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
326         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
327         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
328         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
329         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
330         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
331         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
332         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
333         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
334         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
335         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
336         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
337         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
338         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
339         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
340         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
341         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
342         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
343         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
344         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
345         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
346         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
347         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
348         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
349         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
350         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
351         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
352         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
353         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
354         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
355         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
356         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
357         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
358         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
359         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
360         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
361         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
362         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
363         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
364         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
365         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
366         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
367         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
368         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
369         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
370         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
371         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
372         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
373         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
374         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
375         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
376         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
377         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
378         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
379         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
380         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
381         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
382         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
383         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
384         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
385         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
386         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
387         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
388         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
389         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
390         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
391         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
392         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
393         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
394         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
395         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
396         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
397         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
398         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
399         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
400         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
401         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
402         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
403         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
404         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
405         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
406         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
407         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
408         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
409         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
410         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
411         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
414         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
416         [BZ #14914]
417         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
418         whole low double instead of just low 47 bits when splitting values
419         into two parts.
421 2012-12-03  Allan McRae  <allan@archlinux.org>
423         * manual/stdio.texi (Predefined Printf Handlers): Remove
424         @hsep and @vsep usage.
426 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
428         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
429         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
431 2012-12-03  Jeff Law  <law@redhat.com>
433         * time/sys/time.h (settimeofday): Do not mark TV argument
434         as __nonnull.
436 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
438         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
439         when currently writing and seek to current position when not.
440         * libio/Makefile (tests): Remove bug-fclose1.
441         * libio/bug-fclose1.c: Delete.
443 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
445         * manual/arith.texi (feenableexcept): Fix typo.
446         (fedisableexcept): Likewise.
448 2012-11-30  Roland McGrath  <roland@hack.frob.com>
450         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
451         second, differently-typed declaration, rather than a cast.
453 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
455         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
456         * include/rpc/svc.h: ... here.
458 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
460         [BZ #13013]
461         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
462         depending n and resplen2 to catch cases where answer
463         equals answerp2.
465 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
467         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
468         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
470 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
472         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
474 2012-11-29  Roland McGrath  <roland@hack.frob.com>
476         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
478 2012-11-28  Jeff Law  <law@redhat.com>
480         [BZ #13761]
481         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
482         dataset_temporary.  Track alloca usage into alloca_used.
483         If dataset is large allocate and release it via malloc/free.
485 2012-06-04  Florian Weimer  <fweimer@redhat.com>
487         [BZ #14197]
488         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
490 2012-11-28  David S. Miller  <davem@davemloft.net>
492         * sysdeps/sparc/fpu/libm-test-ulps: Update.
494 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
496         [BZ #14803]
497         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
498         of pi/2 rounded to nearest to 64 bits.
499         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
500         nearest to 64 bits.
501         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
502         bits.
504 2012-11-28  Jeff Law <law@redhat.com>
505             Martin Osvald <mosvald@redhat.com>
507         [BZ #14889]
508         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
509         * sunrpc/svc.c: Include time.h.
510         (__svc_accept_failed): New function.
511         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
512         any reason other than EINTR, call __svc_accept_failed.
513         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
514         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
516 2012-11-28  Andreas Schwab  <schwab@suse.de>
518         * scripts/abilist.awk: Also handle indirect functions in .opd
519         section.
521 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
523         [BZ #13881]
524         * sysdeps/x86/fpu/powl_helper.c: New file.
525         * sysdeps/x86/fpu/Makefile: Likewise.
526         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
527         (p3): New object.
528         (__ieee754_powl): Use __powl_helper for finite arguments except
529         integer exponents below 8.
530         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
531         (p3): New object.
532         (__ieee754_powl): Use __powl_helper for finite arguments except
533         integer exponents below 8.
534         * math/libm-test.inc (pow_test): Add more tests and enable some
535         previously disabled tests.
536         * sysdeps/i386/fpu/libm-test-ulps: Update.
537         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
539 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
540             Carlos O'Donell  <carlos_odonell@mentor.com>
542         * nss/makedb.c (is_prime): Assert that input is odd and greater
543         than 4.  Note that fact in a comment too.
544         (next_prime): Add 4 to input.
546 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
548         [BZ #11741]
549         * libio/Makefile (tests): Add test case tst-fwrite-error.
550         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
551         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
552         * libio/tst-fwrite-error.c: New test case.
554 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
556         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
557         before casting to void *.
558         * include/libc-internal.h (__pointer_type): New macro.
559         (__integer_if_pointer_type_sub): Likewise.
560         (__integer_if_pointer_type): Likewise.
561         (cast_to_integer): Likewise.
562         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
563         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
564         before casting to atomic64_t.
565         (atomic_exchange_acq): Likewise.
566         (__arch_exchange_and_add_body): Likewise.
567         (__arch_add_body): Likewise.
568         (atomic_add_negative): Likewise.
569         (atomic_add_zero): Likewise.
571 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
573         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
574         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
575         (add_fdes): Likewise.
576         (linear_search_fdes): Likewise.
577         (binary_search_unencoded_fdes): Likewise.
579 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
581         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
583 2012-11-24  Adam Conrad  <adconrad@0c3.net>
585         * configure.in: Autodetect C++ header directories.
586         * configure: Regenerated.
588 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
590         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
592 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
594         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
596 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
598         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
599         LDBL_MANT_DIG == 106]: Disable some tests.
600         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
601         Likewise.
602         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
603         Likewise.
605         [BZ #14871]
606         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
607         input for small inputs.  Return +/- pi/2 for large inputs.
608         * math/libm-test.inc (atan_test): Add more tests.
610         * sysdeps/generic/unwind-dw2-fde-glibc.c
611         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
612         __attribute__ ((unused)).
614         [BZ #14645]
615         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
616         x * y if x and y are nonzero and z is zero.
618         [BZ #14811]
619         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
620         nonzero exponents with absolute value below 0x1p-117 to +/-
621         0x1p-117.
623         [BZ #14869]
624         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
625         up arguments below 2**-450, not just those below 2**-500.
626         * math/libm-test.inc (hypot_test): Add another test.
628         [BZ #14868]
629         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
630         Return a+b for ratio over 2**120, not 2**60.
631         * math/libm-test.inc (hypot_test): Add another test.
633         * math/libm-test.inc (clog_test): Use
634         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
635         (clog10_test): Likewise.
637         [BZ #6778]
638         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
640 2012-11-22  Andreas Schwab  <schwab@suse.de>
642         * sysdeps/i386/fpu/libm-test-ulps: Update.
644 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
646         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
647         printf output with newline.
649 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
651         [BZ #14865]
652         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
653         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
654         -z nodlopen, -z initfirst and -z execstack support.
655         * configure: Regenerated.
657         * elf/elf.h (DF_1_NODIRECT): New macro.
658         (DF_1_IGNMULDEF): Likewise.
659         (DF_1_NOKSYMS): Likewise.
660         (DF_1_NOHDR): Likewise.
661         (DF_1_EDITED): Likewise.
662         (DF_1_NORELOC): Likewise.
663         (DF_1_SYMINTPOSE): Likewise.
664         (DF_1_GLOBAUDIT): Likewise.
665         (DF_1_SINGLETON): Likewise.
666         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
667         DT_1_SUPPORTED_MASK bits.
668         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
670 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
672         * sysdeps/unix/make-syscalls.sh: Document prefixes.
674 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
676         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
677         macro.
679         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
680         (sendmmsg): Move declarations...
681         * socket/sys/socket.h: ... here.
682         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
683         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
684         include it from...
685         * socket/recvmmsg.c: ... this new file.
686         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
687         (sendmmsg): Rename to __sendmmsg, create weak alias and make
688         definition of __sendmmsg hidden.
689         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
690         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
691         Move ENOSYS stub into and include it from...
692         * socket/sendmmsg.c: ... this new file.
693         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
694         (sysdep_routines): Move recvmmsg and sendmmsg...
695         * socket/Makefile (routines): ... here.
696         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
697         (GLIBC_PRIVATE): Add __sendmmsg.
698         * include/sys/socket.h (__sendmmsg): Add declarations.
699         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
700         sendmmsg.
702 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
704         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
705         variable I1 with __attribute__ ((unused)).
706         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
708 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
710         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
711         DUMMY variables with __attribute__ ((unused)).
713         * bits/byteswap.h: Include <bits/types.h>.
714         (__bswap_64): Use __uint64_t instead of unsigned long long int.
716 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
718         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
719         string_t.  Do not manually set errno.
720         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
721         length with __strnlen.  Make sure to both set errno and return it on
722         failure.
724 2012-11-19  David S. Miller  <davem@davemloft.net>
726         With help from Joseph Myers.
727         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
728         very large arguments properly.
729         * math/libm-test.inc (atan_test): New tests.
730         (atan2_test): New tests.
731         * sysdeps/sparc/fpu/libm-test-ulps: Update.
732         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
734 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
736         [BZ #14856]
737         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
738         Define to 3.
740         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
741         [POSIX] (EADDRNOTAVAIL): Likewise.
742         [POSIX] (EAFNOSUPPORT): Likewise.
743         [POSIX] (EALREADY): Likewise.
744         [POSIX] (ECONNABORTED): Likewise.
745         [POSIX] (ECONNREFUSED): Likewise.
746         [POSIX] (ECONNRESET): Likewise.
747         [POSIX] (EDESTADDRREQ): Likewise.
748         [POSIX] (EDQUOT): Likewise.
749         [POSIX] (EHOSTUNREACH): Likewise.
750         [POSIX] (EIDRM): Likewise.
751         [POSIX] (EISCONN): Likewise.
752         [POSIX] (ELOOP): Likewise.
753         [POSIX] (EMULTIHOP): Likewise.
754         [POSIX] (ENETDOWN): Likewise.
755         [POSIX] (ENETUNREACH): Likewise.
756         [POSIX] (ENOBUFS): Likewise.
757         [POSIX] (ENODATA): Likewise.
758         [POSIX] (ENOLINK): Likewise.
759         [POSIX] (ENOMSG): Likewise.
760         [POSIX] (ENOPROTOOPT): Likewise.
761         [POSIX] (ENOSR): Likewise.
762         [POSIX] (ENOSTR): Likewise.
763         [POSIX] (ENOTCONN): Likewise.
764         [POSIX] (ENOTSOCK): Likewise.
765         [POSIX] (EOPNOTSUPP): Likewise.
766         [POSIX] (EOVERFLOW): Likewise.
767         [POSIX] (EPROTO): Likewise.
768         [POSIX] (EPROTONOSUPPORT): Likewise.
769         [POSIX] (EPROTOTYPE): Likewise.
770         [POSIX] (ESTALE): Likewise.
771         [POSIX] (ETIME): Likewise.
772         [POSIX] (ETXTBSY): Likewise.
773         [POSIX] (EWOULDBLOCK): Likewise.
774         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
775         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
776         [POSIX] (SEEK_CUR): Likewise.
777         [POSIX] (SEEK_END): Likewise.
778         [POSIX || UNIX98] (mode_t): Do not require.
779         [POSIX] (off_t): Likewise.
780         [POSIX] (pid_t): Likewise.
781         [POSIX] (sys/stat.h): Do not allow header.
782         [POSIX] (unistd.h): Likewise.
783         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
784         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
785         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
786         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
787         require.
788         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
789         sigevent): Specify elements.
790         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
791         entry.
792         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
793         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
795         * conform/data/cpio.h-data [POSIX]: Disable whole file.
796         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
797         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
798         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
799         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
800         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
801         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
802         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
803         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
804         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
805         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
806         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
807         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
808         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
809         Likewise.
810         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
811         Likewise.
812         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
813         Likewise.
814         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
815         Likewise.
816         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
817         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
818         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
819         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
820         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
821         Specify lower bound on value.
822         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
823         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
824         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
825         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
826         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
827         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
828         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
829         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
830         value.
831         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
832         as optional.
833         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
834         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
835         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
836         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
837         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
838         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
839         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
840         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
841         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
842         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
843         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
844         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
845         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
846         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
847         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
848         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
849         entry.
850         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
851         optional.
852         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
853         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
854         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
855         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
856         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
857         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
858         Likewise.
859         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
860         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
861         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
862         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
863         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
864         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
865         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
866         as optional.
867         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
868         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
869         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
870         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
871         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
872         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
873         specify as optional.
874         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
875         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
876         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
877         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
878         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
879         [XPG3] (NL_LANGMAX): Likewise.
880         [POSIX || XPG3] (NL_MSGMAX): Likewise.
881         [POSIX || XPG3] (NL_NMAX): Likewise.
882         [POSIX || XPG3] (NL_SETMAX): Likewise.
883         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
884         [XPG3] (NZERO): Likewise.
885         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
886         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
887         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
888         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
889         (REG_ERANGE): Expect.
890         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
891         optional-constant.
892         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
893         Use (void) in prototype.
894         [POSIX] (*_t): Allow.
895         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
896         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
897         (WRDE_BADVAL): Expect.
899         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
900         expect.
901         [XPG3 || XPG4] (O_RSYNC): Likewise.
902         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
903         Likewise.
904         [XPG3 || XPG4] (pthread_sigmask): Likewise.
905         [XPG3 || XPG4] (sigqueue): Likewise.
906         [XPG3 || XPG4] (sigtimedwait): Likewise.
907         [XPG3 || XPG4] (sigwaitinfo): Likewise.
908         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
909         [XPG3 || XPG4] (vsnprintf): Likewise.
910         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
911         Likewise.
912         [XPG3 || XPG4] (blksize_t): Likewise.
913         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
914         Likewise.
915         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
916         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
917         [XPG3 || XPG4] (struct itimerspec): Likewise.
918         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
919         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
920         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
921         [XPG3 || XPG4] (clockid_t): Likewise.
922         [XPG3 || XPG4] (timer_t): Likewise.
923         [XPG3 || XPG4] (clock_getres): Likewise.
924         [XPG3 || XPG4] (clock_gettime): Likewise.
925         [XPG3 || XPG4] (clock_settime): Likewise.
926         [XPG3 || XPG4] (nanosleep): Likewise.
927         [XPG3 || XPG4] (timer_create): Likewise.
928         [XPG3 || XPG4] (timer_delete): Likewise.
929         [XPG3 || XPG4] (timer_gettime): Likewise.
930         [XPG3 || XPG4] (timer_getoverrun): Likewise.
931         [XPG3 || XPG4] (timer_settime): Likewise.
932         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
933         [XPG3 || XPG4] (getlogin_r): Likewise.
934         [XPG3 || XPG4] (pread): Likewise.
935         [XPG3 || XPG4] (pthread_atfork): Likewise.
936         [XPG3 || XPG4] (pwrite): Likewise.
938         [BZ #14835]
939         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
940         <bits/siginfo.h>.
942 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
944         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
945         finalizing MALLSTREAM.
947         * sysdeps/mach/hurd/syncfs.c: New file.
949 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
951         [BZ #14719]
952         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
953         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
954         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
955         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
956         (_nss_dns_gethostbyname4_r): Likewise.
957         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
958         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
960 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
962         [BZ #13763]
963         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
965 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
967         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
968         * elf/cache.c (print_entry): Print ",AArch64" for
969         FLAG_AARCH64_LIB64
971         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
972         * elf/cache.c (print_entry): Print ",hard-float" for
973         FLAG_ARM_LIBHF.
975 2012-11-18  David S. Miller  <davem@davemloft.net>
977         With help from Joseph Myers.
978         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
979         cutoff to 2**-13.
980         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
981         cutoff to 2**-25.
982         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
983         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
984         small.
985         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
986         * math/libm-test.inc (y0_test): New tests.
987         (y1_test): New tests.
988         * sysdeps/i386/fpu/libm-test-ulps: Update.
989         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
990         * sysdeps/sparc/fpu/libm-test-ulps: Update.
992 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
994         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
995         64-bit targets.
996         * configure: Regenerated.
998 2012-11-17  David S. Miller  <davem@davemloft.net>
1000         [BZ #14811]
1001         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
1002         nonzero exponents with absolute value below 0x1p-128 to +/-
1003         0x1p-128.
1005 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
1007         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
1009         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
1011         * posix/getconf-speclist.c: New file.
1012         * posix/posix-envs.def: Likewise.
1013         * posix/confstr.c (START_ENV_GROUP): New macro.
1014         (END_ENV_GROUP): Likewise.
1015         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
1016         (KNOWN_PRESENT_ENV_STRING): Likewise.
1017         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
1018         (UNKNOWN_ENVIRONMENT): Likewise.
1019         (confstr): Include posix-envs.def instead of handling
1020         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
1021         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
1022         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
1023         (END_ENV_GROUP): Likewise.
1024         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
1025         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
1026         (UNKNOWN_ENVIRONMENT): Likewise.
1027         (__sysconf): Include posix-envs.def instead of handling associated
1028         cases directly here.
1029         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
1030         preprocessing getconf-speclist.c rather than running getconf or
1031         generating empty file.
1033 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
1035         * scripts/check-local-headers.sh: Ignore 'mach' headers.
1037 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
1039         [BZ #14672]
1040         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
1042 2012-11-16  David S. Miller  <davem@davemloft.net>
1044         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
1045         smaller than LDBL_EPSILON/2.0L, just return xm1.
1047 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
1049         * elf/tst-array1.c (init): Set constructor priority to 1000.
1050         (fini): Set destructor priority to 1000.
1051         * elf/tst-array2dep.c: Likewise.
1053 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1055         [BZ #11741]
1056         * libio/fileops.c (_IO_new_file_write): Correctly return error.
1057         (_IO_new_file_xsputn): Also return EOF if none of the input
1058         data was written when overflow failed.
1059         * libio/iopadn.c (_IO_padn): Likewise.
1060         * libio/iowpadn.c (_IO_wpadn): Likewise.
1061         * stdio-common/tst-put-error.c: Add copyright notice.
1062         (do_test): Add case for printing padded string.
1063         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
1064         _IO_padn returned error.
1065         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
1066         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
1067         return EOF.
1069 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1071         * libio/libioP.h: Add comment note that the references to C++
1072         bits are now obsolete.
1074 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1076         * math/libm-test.inc (check_complex): Use asprintf.
1078 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
1080         * debug/pcprofiledump.c (print_version): Update copyright year.
1081         * malloc/memusagestat.c (print_version): Likewise.
1083 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
1085         [BZ #14831]
1086         * elf/Makefile (tests): Add tst-audit8.
1087         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
1088         ($(objpfx)tst-audit8.out): New target.
1089         (tst-audit8-ENV): New variable.
1090         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
1091         audit if l_reloc_result is NULL.
1092         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
1093         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
1094         * elf/tst-audit8.c: New file.
1096 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1098         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
1099         * misc/Makefile (CFLAGS-select.c): Define.
1100         * posix/Makefile (CFLAGS-pause.c): Define.
1102 2012-11-13  David S. Miller  <davem@davemloft.net>
1104         * crypt/Makefile: Move test targets after toplevel Rules
1105         inclusion.  Grab any necessary sysdep routines when linking.
1106         * crypt/md5.c (md5_process_block): Remove define, we will always
1107         name it __md5_process_block.
1108         (md5_finish_ctx): Update md5_process_block call.
1109         (md5_stream): Likewise.
1110         (md5_process_bytes): Likewise.
1111         (md5_process_block): Rename to __md5_process_block and move to ...
1112         * crypt/md5-block.c: ... here.
1113         * crypt/sha256.c (sha256_process_block): Move to ...
1114         * crypt/sha256-block.c: ... here.
1115         * crypt/sha512.c (sha512_process_block): Move to ...
1116         * crypt/sha512-block.c: ... here.
1117         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
1118         path.
1119         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
1120         * sysdeps/sparc/sparc64/multiarch/Makefile
1121         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
1122         crypt subdir.
1123         (localedef-aux): Add md5 crypto assembler when in locale subdir.
1124         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
1125         multiarch changes.
1126         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
1127         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
1128         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
1129         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
1130         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
1131         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
1132         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
1133         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
1134         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
1135         file.
1136         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
1137         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
1138         file.
1139         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
1141 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
1143         * timezone/tzselect.ksh: Update from tzcode git revision
1144         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
1145         * timezone/zdump.c: Likewise.
1146         * timezone/zic.c: Likewise.
1147         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
1148         in TZVERSION setting, not $(PKGVERSION).
1149         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
1150         REPORT_BUGS_TO settings.
1152         [BZ #14838]
1153         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
1154         macro.
1156 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1158         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
1159         detection to immediately after _FP_ROUND().
1160         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
1161         bits are 0.
1163 2012-11-11  David S. Miller  <davem@davemloft.net>
1165         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
1166         inttypes.h
1167         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
1168         __close rather than their public counterparts.
1170 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
1172         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
1173         file.
1174         [UNIX98] (sem_timedwait): Do not expect.
1175         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
1176         [XPG4 || UNIX98] (sockatmark): Do not expect.
1177         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
1178         (clock_getcpuclockid): Do not expect.
1179         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
1180         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
1181         Do not expect.
1182         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
1183         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
1184         [UNIX98] (vwscanf): Likewise.
1185         [UNIX98] (vswscanf): Likewise.
1187 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
1189         * timezone/version.h: Remove file.
1190         * timezone/README: Do not refer to version.h.
1191         * timezone/Makefile ($(objpfx)zic.o): New dependency on
1192         $(objpfx)version.h.
1193         ($(objpfx)zdump.o): Likewise.
1194         ($(objpfx)version.h): New target.
1196         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
1197         2012i.
1198         * timezone/README: Don't mention modification to tzselect.ksh.
1199         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
1200         work on unmodified tzselect.ksh.  Substitute version numbers in
1201         tzselect.ksh.
1203         * Makefile (format-me): Remove.
1204         (INSTALL): Adjust indentation.  Use commands directly instead of
1205         using $(format-me).
1207         * aclocal.m4 (ACX_PKGVERSION): New macro.
1208         (ACX_BUGURL): Likewise.
1209         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
1210         (PKGVERSION): New AC_DEFINE_UNQUOTED.
1211         (REPORT_BUGS_TO): Likewise.
1212         * configure: Regenerated.
1213         * config.h.in (PKGVERSION): New macro.
1214         (REPORT_BUGS_TO): Likewise.
1215         * config.make.in (PKGVERSION): New variable.
1216         (PKGVERSION_TEXI): Likewise.
1217         (REPORT_BUGS_TO): Likewise.
1218         (REPORT_BUGS_TEXI): Likewise.
1219         * Makefile (format-me): Use -I$(common-objpfx)manual.
1220         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
1221         ($(common-objpfx)manual/%): New target.
1222         (manual/%): Remove target.
1223         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
1224         (print_version): Use PKGVERSION.
1225         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
1226         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
1227         and REPORT_BUGS_TO.
1228         ($(objpfx)xtrace): Likewise.
1229         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
1230         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
1231         (print_version): Use PKGVERSION.
1232         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
1233         (do_version): Use PKGVERSION.
1234         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
1235         REPORT_BUGS_TO.
1236         (common-ldd-rewrite): Likewise.
1237         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
1238         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
1239         (print_version): Use PKGVERSION.
1240         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
1241         * elf/pldd.c (argp_program_bug_address): Remove variable.
1242         (more_help): New function.
1243         (argp): Use more_help.
1244         (print_version): Use PKGVERSION.
1245         * elf/sln.c (main): Use PKGVERSION.
1246         (usage): Use REPORT_BUGS_TO.
1247         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
1248         (top level): Use PKGVERSION.
1249         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
1250         (print_version): Use PKGVERSION.
1251         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
1252         (print_version): Use PKGVERSION.
1253         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
1254         (print_version): Use PKGVERSION.
1255         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
1256         (print_version): Use PKGVERSION.
1257         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
1258         (print_version): Use PKGVERSION.
1259         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
1260         (print_version): Use PKGVERSION.
1261         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
1262         and BUGURL.
1263         ($(objpfx)memusage): Likewise.
1264         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
1265         (do_version): Use PKGVERSION.
1266         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
1267         (print_version): Use PKGVERSION.
1268         * malloc/mtrace.pl ($PACKAGE): Remove variable.
1269         ($PKGVERSION): New variable.
1270         ($REPORT_BUGS_TO): Likewise.
1271         (usage): Use $REPORT_BUGS_TO.
1272         (top level): Use $PKGVERSION.
1273         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
1274         ($(objpfx)pkgvers.texi): New rule.
1275         ($(objpfx)stamp-pkgvers): Likewise.
1276         * manual/install.texi: Include pkgvers.texi.
1277         (--with-pkgversion): Document new configure option.
1278         (--with-bugurl): Likewise.
1279         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
1280         than necessarily for this particular distribution.  Use
1281         REPORT_BUGS_TO for where to report bugs.
1282         * INSTALL: Regenerated.
1283         * manual/libc.texinfo: Include pkgvers.texi.
1284         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
1285         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
1286         (print_version): Use PKGVERSION.
1287         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
1288         (print_version): Use PKGVERSION.
1289         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
1290         (print_version): Use PKGVERSION.
1291         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
1292         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
1293         macro.
1294         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
1295         (print_version): Use PKGVERSION.
1296         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
1297         (print_version): Use PKGVERSION.
1298         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
1299         and PKGVERSION.
1301         * timezone/checktab.awk: Update from tzcode 2012i.
1302         * timezone/ialloc.c: Likewise.
1303         * timezone/private.h: Likewise.
1304         * timezone/scheck.c: Likewise.
1305         * timezone/tzfile.h: Likewise.
1306         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
1307         (TZVERSION): Hardcode tzcode version number.
1308         * timezone/zdump.c: Update from tzcode 2012i.
1309         * timezone/zic.c: Likewise.
1310         * timezone/version.h: New file.
1311         * timezone/README: Describe version.h.  Update upstream location.
1313         [BZ #14824]
1314         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
1315         (mktemp): Enable declaration.
1316         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
1317         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
1318         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
1319         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
1320         Likewise.
1321         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
1322         Likewise.
1323         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
1324         Likewise.
1325         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
1326         Likewise.
1327         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
1328         Likewise.
1329         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
1330         Likewise.
1332         [BZ #14821]
1333         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
1334         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
1335         for copies of such integer values.
1336         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
1337         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
1339 2012-11-09  Andreas Jaeger  <aj@suse.de>
1341         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
1342         definitions and declarations that are provided by
1343         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1345 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1347         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
1348         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
1349         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
1350         definition.
1352 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1354         * elf/elf.h: Update comment before AArch64 relocations.
1356 2012-11-07  David S. Miller  <davem@davemloft.net>
1358         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
1359         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1360         (__start_context): Declare.
1361         (__makecontext_ret): Delete.
1362         (__makecontext): Hook up __start_context instead of
1363         __makecontext_ret.
1364         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
1365         (sysdep_routines): Add __start_context when in stdlib.
1367 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
1369         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
1370         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
1371         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
1372         hardcoded "nm".
1373         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
1374         (READELF): New variable.  Use it instead of hardcoded "readelf".
1376 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
1378         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
1379         * sysdeps/x86/Makefile: Here.
1380         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
1381         * sysdeps/x86/tst-xmmymm.sh: This.
1383 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
1385         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
1386         expectations.
1387         [UNIX98] (pthread_barrier_t): Do not expect.
1388         [UNIX98] (pthread_barrierattr_t): Likewise.
1389         [UNIX98] (pthread_spinlock_t): Likewise.
1390         [UNIX98] (pthread_barrier_destroy): Likewise.
1391         [UNIX98] (pthread_barrier_init): Likewise.
1392         [UNIX98] (pthread_barrier_wait): Likewise.
1393         [UNIX98] (pthread_barrierattr_destroy): Likewise.
1394         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
1395         [UNIX98] (pthread_barrierattr_init): Likewise.
1396         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
1397         [UNIX98] (pthread_getcpuclockid): Likewise.
1398         [UNIX98] (pthread_mutex_timedlock): Likewise.
1399         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
1400         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
1401         [UNIX98] (pthread_sigmask): Likewise.
1402         [UNIX98] (pthread_spin_destroy): Likewise.
1403         [UNIX98] (pthread_spin_init): Likewise.
1404         [UNIX98] (pthread_spin_lock): Likewise.
1405         [UNIX98] (pthread_spin_trylock): Likewise.
1406         [UNIX98] (pthread_spin_unlock): Likewise.
1407         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
1408         Do not expect.
1409         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
1410         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
1411         [XPG3 || XPG4] (pthread_cond_t): Likewise.
1412         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
1413         [XPG3 || XPG4] (pthread_key_t): Likewise.
1414         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
1415         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
1416         [XPG3 || XPG4] (pthread_once_t): Likewise.
1417         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
1418         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
1419         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
1420         [XPG3 || XPG4] (pthread_t): Likewise.
1422         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
1423         not expect.
1424         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
1426         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
1427         Change function return type to int.
1429         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
1430         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
1431         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
1432         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
1433         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
1434         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
1435         [!POSIX] (posix_madvise): Likewise.
1436         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
1437         && !UNIX98].
1438         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
1439         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
1440         (mode_t): Likewise.
1441         (posix_mem_offset): Likewise.
1442         (posix_typed_mem_get_info): Likewise.
1443         (posix_typed_mem_open): Likewise.
1445         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
1446         Change condition to [XOPEN2K8].
1448         * conform/conformtest.pl: Preprocess allow-header data with -x c
1449         instead of from stdin.
1450         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
1451         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
1452         [C99-based standards] (cerfc): Likewise.
1453         [C99-based standards] (cexp2): Likewise.
1454         [C99-based standards] (cexpm1): Likewise.
1455         [C99-based standards] (clog10): Likewise.
1456         [C99-based standards] (clog1p): Likewise.
1457         [C99-based standards] (clog2): Likewise.
1458         [C99-based standards] (clgamma): Likewise.
1459         [C99-based standards] (ctgamma): Likewise.
1460         [C99-based standards] (cerff): Likewise.
1461         [C99-based standards] (cerfcf): Likewise.
1462         [C99-based standards] (cexp2f): Likewise.
1463         [C99-based standards] (cexpm1f): Likewise.
1464         [C99-based standards] (clog10f): Likewise.
1465         [C99-based standards] (clog1pf): Likewise.
1466         [C99-based standards] (clog2f): Likewise.
1467         [C99-based standards] (clgammaf): Likewise.
1468         [C99-based standards] (ctgammaf): Likewise.
1469         [C99-based standards] (cerfl): Likewise.
1470         [C99-based standards] (cerfcl): Likewise.
1471         [C99-based standards] (cexp2l): Likewise.
1472         [C99-based standards] (cexpm1l): Likewise.
1473         [C99-based standards] (clog10l): Likewise.
1474         [C99-based standards] (clog1pl): Likewise.
1475         [C99-based standards] (clog2l): Likewise.
1476         [C99-based standards] (clgammal): Likewise.
1477         [C99-based standards] (ctgammal): Likewise.
1478         * conform/data/inttypes.h-data [C99-based standards]: Include
1479         stdint.h-data.  Remove all expectations for stdint.h contents.
1480         [C99-based standards] (PRI*): Do not allow.
1481         [C99-based standards] (SCN*): Likewise.
1482         [C99-based standards] (*_t): Likewise.
1483         [C99-based-standards] (PRId8): Expect macro.
1484         [C99-based-standards] (PRIi8): Likewise.
1485         [C99-based-standards] (PRIo8): Likewise.
1486         [C99-based-standards] (PRIu8): Likewise.
1487         [C99-based-standards] (PRIx8): Likewise.
1488         [C99-based-standards] (PRIX8): Likewise.
1489         [C99-based-standards] (SCNd8): Likewise.
1490         [C99-based-standards] (SCNi8): Likewise.
1491         [C99-based-standards] (SCNo8): Likewise.
1492         [C99-based-standards] (SCNu8): Likewise.
1493         [C99-based-standards] (SCNx8): Likewise.
1494         [C99-based-standards] (PRIdLEAST8): Likewise.
1495         [C99-based-standards] (PRIiLEAST8): Likewise.
1496         [C99-based-standards] (PRIoLEAST8): Likewise.
1497         [C99-based-standards] (PRIuLEAST8): Likewise.
1498         [C99-based-standards] (PRIxLEAST8): Likewise.
1499         [C99-based-standards] (PRIXLEAST8): Likewise.
1500         [C99-based-standards] (SCNdLEAST8): Likewise.
1501         [C99-based-standards] (SCNiLEAST8): Likewise.
1502         [C99-based-standards] (SCNoLEAST8): Likewise.
1503         [C99-based-standards] (SCNuLEAST8): Likewise.
1504         [C99-based-standards] (SCNxLEAST8): Likewise.
1505         [C99-based-standards] (PRIdFAST8): Likewise.
1506         [C99-based-standards] (PRIiFAST8): Likewise.
1507         [C99-based-standards] (PRIoFAST8): Likewise.
1508         [C99-based-standards] (PRIuFAST8): Likewise.
1509         [C99-based-standards] (PRIxFAST8): Likewise.
1510         [C99-based-standards] (PRIXFAST8): Likewise.
1511         [C99-based-standards] (SCNdFAST8): Likewise.
1512         [C99-based-standards] (SCNiFAST8): Likewise.
1513         [C99-based-standards] (SCNoFAST8): Likewise.
1514         [C99-based-standards] (SCNuFAST8): Likewise.
1515         [C99-based-standards] (SCNxFAST8): Likewise.
1516         [C99-based-standards] (PRId16): Likewise.
1517         [C99-based-standards] (PRIi16): Likewise.
1518         [C99-based-standards] (PRIo16): Likewise.
1519         [C99-based-standards] (PRIu16): Likewise.
1520         [C99-based-standards] (PRIx16): Likewise.
1521         [C99-based-standards] (PRIX16): Likewise.
1522         [C99-based-standards] (SCNd16): Likewise.
1523         [C99-based-standards] (SCNi16): Likewise.
1524         [C99-based-standards] (SCNo16): Likewise.
1525         [C99-based-standards] (SCNu16): Likewise.
1526         [C99-based-standards] (SCNx16): Likewise.
1527         [C99-based-standards] (PRIdLEAST16): Likewise.
1528         [C99-based-standards] (PRIiLEAST16): Likewise.
1529         [C99-based-standards] (PRIoLEAST16): Likewise.
1530         [C99-based-standards] (PRIuLEAST16): Likewise.
1531         [C99-based-standards] (PRIxLEAST16): Likewise.
1532         [C99-based-standards] (PRIXLEAST16): Likewise.
1533         [C99-based-standards] (SCNdLEAST16): Likewise.
1534         [C99-based-standards] (SCNiLEAST16): Likewise.
1535         [C99-based-standards] (SCNoLEAST16): Likewise.
1536         [C99-based-standards] (SCNuLEAST16): Likewise.
1537         [C99-based-standards] (SCNxLEAST16): Likewise.
1538         [C99-based-standards] (PRIdFAST16): Likewise.
1539         [C99-based-standards] (PRIiFAST16): Likewise.
1540         [C99-based-standards] (PRIoFAST16): Likewise.
1541         [C99-based-standards] (PRIuFAST16): Likewise.
1542         [C99-based-standards] (PRIxFAST16): Likewise.
1543         [C99-based-standards] (PRIXFAST16): Likewise.
1544         [C99-based-standards] (SCNdFAST16): Likewise.
1545         [C99-based-standards] (SCNiFAST16): Likewise.
1546         [C99-based-standards] (SCNoFAST16): Likewise.
1547         [C99-based-standards] (SCNuFAST16): Likewise.
1548         [C99-based-standards] (SCNxFAST16): Likewise.
1549         [C99-based-standards] (PRId32): Likewise.
1550         [C99-based-standards] (PRIi32): Likewise.
1551         [C99-based-standards] (PRIo32): Likewise.
1552         [C99-based-standards] (PRIu32): Likewise.
1553         [C99-based-standards] (PRIx32): Likewise.
1554         [C99-based-standards] (PRIX32): Likewise.
1555         [C99-based-standards] (SCNd32): Likewise.
1556         [C99-based-standards] (SCNi32): Likewise.
1557         [C99-based-standards] (SCNo32): Likewise.
1558         [C99-based-standards] (SCNu32): Likewise.
1559         [C99-based-standards] (SCNx32): Likewise.
1560         [C99-based-standards] (PRIdLEAST32): Likewise.
1561         [C99-based-standards] (PRIiLEAST32): Likewise.
1562         [C99-based-standards] (PRIoLEAST32): Likewise.
1563         [C99-based-standards] (PRIuLEAST32): Likewise.
1564         [C99-based-standards] (PRIxLEAST32): Likewise.
1565         [C99-based-standards] (PRIXLEAST32): Likewise.
1566         [C99-based-standards] (SCNdLEAST32): Likewise.
1567         [C99-based-standards] (SCNiLEAST32): Likewise.
1568         [C99-based-standards] (SCNoLEAST32): Likewise.
1569         [C99-based-standards] (SCNuLEAST32): Likewise.
1570         [C99-based-standards] (SCNxLEAST32): Likewise.
1571         [C99-based-standards] (PRIdFAST32): Likewise.
1572         [C99-based-standards] (PRIiFAST32): Likewise.
1573         [C99-based-standards] (PRIoFAST32): Likewise.
1574         [C99-based-standards] (PRIuFAST32): Likewise.
1575         [C99-based-standards] (PRIxFAST32): Likewise.
1576         [C99-based-standards] (PRIXFAST32): Likewise.
1577         [C99-based-standards] (SCNdFAST32): Likewise.
1578         [C99-based-standards] (SCNiFAST32): Likewise.
1579         [C99-based-standards] (SCNoFAST32): Likewise.
1580         [C99-based-standards] (SCNuFAST32): Likewise.
1581         [C99-based-standards] (SCNxFAST32): Likewise.
1582         [C99-based-standards] (PRId64): Likewise.
1583         [C99-based-standards] (PRIi64): Likewise.
1584         [C99-based-standards] (PRIo64): Likewise.
1585         [C99-based-standards] (PRIu64): Likewise.
1586         [C99-based-standards] (PRIx64): Likewise.
1587         [C99-based-standards] (PRIX64): Likewise.
1588         [C99-based-standards] (SCNd64): Likewise.
1589         [C99-based-standards] (SCNi64): Likewise.
1590         [C99-based-standards] (SCNo64): Likewise.
1591         [C99-based-standards] (SCNu64): Likewise.
1592         [C99-based-standards] (SCNx64): Likewise.
1593         [C99-based-standards] (PRIdLEAST64): Likewise.
1594         [C99-based-standards] (PRIiLEAST64): Likewise.
1595         [C99-based-standards] (PRIoLEAST64): Likewise.
1596         [C99-based-standards] (PRIuLEAST64): Likewise.
1597         [C99-based-standards] (PRIxLEAST64): Likewise.
1598         [C99-based-standards] (PRIXLEAST64): Likewise.
1599         [C99-based-standards] (SCNdLEAST64): Likewise.
1600         [C99-based-standards] (SCNiLEAST64): Likewise.
1601         [C99-based-standards] (SCNoLEAST64): Likewise.
1602         [C99-based-standards] (SCNuLEAST64): Likewise.
1603         [C99-based-standards] (SCNxLEAST64): Likewise.
1604         [C99-based-standards] (PRIdFAST64): Likewise.
1605         [C99-based-standards] (PRIiFAST64): Likewise.
1606         [C99-based-standards] (PRIoFAST64): Likewise.
1607         [C99-based-standards] (PRIuFAST64): Likewise.
1608         [C99-based-standards] (PRIxFAST64): Likewise.
1609         [C99-based-standards] (PRIXFAST64): Likewise.
1610         [C99-based-standards] (SCNdFAST64): Likewise.
1611         [C99-based-standards] (SCNiFAST64): Likewise.
1612         [C99-based-standards] (SCNoFAST64): Likewise.
1613         [C99-based-standards] (SCNuFAST64): Likewise.
1614         [C99-based-standards] (SCNxFAST64): Likewise.
1615         [C99-based-standards] (PRIdMAX): Likewise.
1616         [C99-based-standards] (PRIiMAX): Likewise.
1617         [C99-based-standards] (PRIoMAX): Likewise.
1618         [C99-based-standards] (PRIuMAX): Likewise.
1619         [C99-based-standards] (PRIxMAX): Likewise.
1620         [C99-based-standards] (PRIXMAX): Likewise.
1621         [C99-based-standards] (SCNdMAX): Likewise.
1622         [C99-based-standards] (SCNiMAX): Likewise.
1623         [C99-based-standards] (SCNoMAX): Likewise.
1624         [C99-based-standards] (SCNuMAX): Likewise.
1625         [C99-based-standards] (SCNxMAX): Likewise.
1626         [C99-based-standards] (PRIdPTR): Likewise.
1627         [C99-based-standards] (PRIiPTR): Likewise.
1628         [C99-based-standards] (PRIoPTR): Likewise.
1629         [C99-based-standards] (PRIuPTR): Likewise.
1630         [C99-based-standards] (PRIxPTR): Likewise.
1631         [C99-based-standards] (PRIXPTR): Likewise.
1632         [C99-based-standards] (SCNdPTR): Likewise.
1633         [C99-based-standards] (SCNiPTR): Likewise.
1634         [C99-based-standards] (SCNoPTR): Likewise.
1635         [C99-based-standards] (SCNuPTR): Likewise.
1636         [C99-based-standards] (SCNxPTR): Likewise.
1637         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
1638         allow.
1639         * conform/data/stdint.h-data: Update comments to clarify
1640         requirements.
1641         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
1642         type.
1643         [C99-based standards] (INT8_MAX): Likewise.
1644         [C99-based standards] (INT16_MIN): Likewise.
1645         [C99-based standards] (INT16_MAX): Likewise.
1646         [C99-based standards] (INT32_MIN): Likewise.
1647         [C99-based standards] (INT32_MAX): Likewise.
1648         [C99-based standards] (INT64_MIN): Likewise.
1649         [C99-based standards] (INT64_MAX): Likewise.
1650         [C99-based standards] (UINT8_MAX): Likewise.
1651         [C99-based standards] (UINT16_MAX): Likewise.
1652         [C99-based standards] (UINT32_MAX): Likewise.
1653         [C99-based standards] (UINT64_MAX): Likewise.
1654         [C99-based standards] (INT_LEAST8_MIN): Likewise.
1655         [C99-based standards] (INT_LEAST8_MAX): Likewise.
1656         [C99-based standards] (INT_LEAST16_MIN): Likewise.
1657         [C99-based standards] (INT_LEAST16_MAX): Likewise.
1658         [C99-based standards] (INT_LEAST32_MIN): Likewise.
1659         [C99-based standards] (INT_LEAST32_MAX): Likewise.
1660         [C99-based standards] (INT_LEAST64_MIN): Likewise.
1661         [C99-based standards] (INT_LEAST64_MAX): Likewise.
1662         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
1663         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
1664         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
1665         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
1666         [C99-based standards] (INT_FAST8_MIN): Likewise.
1667         [C99-based standards] (INT_FAST8_MAX): Likewise.
1668         [C99-based standards] (INT_FAST16_MIN): Likewise.
1669         [C99-based standards] (INT_FAST16_MAX): Likewise.
1670         [C99-based standards] (INT_FAST32_MIN): Likewise.
1671         [C99-based standards] (INT_FAST32_MAX): Likewise.
1672         [C99-based standards] (INT_FAST64_MIN): Likewise.
1673         [C99-based standards] (INT_FAST64_MAX): Likewise.
1674         [C99-based standards] (UINT_FAST8_MAX): Likewise.
1675         [C99-based standards] (UINT_FAST16_MAX): Likewise.
1676         [C99-based standards] (UINT_FAST32_MAX): Likewise.
1677         [C99-based standards] (UINT_FAST64_MAX): Likewise.
1678         [C99-based standards] (INTPTR_MIN): Likewise.
1679         [C99-based standards] (INTPTR_MAX): Likewise.
1680         [C99-based standards] (UINTPTR_MAX): Likewise.
1681         [C99-based standards] (INTMAX_MIN): Likewise.
1682         [C99-based standards] (INTMAX_MAX): Likewise.
1683         [C99-based standards] (UINTMAX_MAX): Likewise.
1684         [C99-based standards] (PTRDIFF_MIN): Likewise.
1685         [C99-based standards] (PTRDIFF_MAX): Likewise.
1686         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
1687         [C99-based standards] (SIZE_MAX): Likewise.
1688         [C99-based standards] (WCHAR_MAX): Likewise.
1689         [C99-based standards] (WINT_MAX): Likewise.
1690         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
1691         constraint on value.
1692         [C99-based standards] (WCHAR_MIN): Likewise.
1693         [C99-based standards] (WINT_MIN): Likewise.
1694         [C99-based standards] (*_t): Allow.
1695         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
1696         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
1697         Include math.h-data and complex.h-data.  Remove all expectations
1698         of math.h and complex.h contents.
1699         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
1700         at end of line.
1701         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
1702         (struct tm): Expect tag.
1703         [C99-based-standards] (wcstof): Expect function.
1704         [C99-based-standards] (wcstold): Likewise.
1705         [C99-based-standards] (wcstoll): Likewise.
1706         [C99-based-standards] (wcstoull): Likewise.
1707         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
1708         macro-int-constant.  Specify type.
1709         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
1710         constraint on value.
1711         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1712         Specify type.
1713         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
1714         Specify value.
1715         [ISO C standards]: Do not allow headers.
1716         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
1717         wcs[abcdefghijklmnopqrstuvwxyz]*.
1718         [ISO C standards] (*_t): Do not allow.
1719         * conform/data/wctype.h-data [C99-based standards] (iswblank):
1720         Expect function.
1721         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
1722         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1723         Specify type.
1724         [ISO C standards]: Do not allow headers.
1725         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
1726         is[abcdefghijklmnopqrstuvwxyz]*.
1727         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
1728         to[abcdefghijklmnopqrstuvwxyz]*.
1729         [ISO C standards] (*_t): Do not allow.
1730         * conform/data/stdalign.h-data: New file.
1731         * conform/data/stdbool.h-data: Likewise.
1732         * conform/data/stdnoreturn.h-data: Likewise.
1734 2012-11-07  Roland McGrath  <roland@hack.frob.com>
1736         [BZ #14815]
1737         * manual/filesys.texi (Directory Entries): Typo fix.
1738         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
1740 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1742         * elf/elf.h (EM_AARCH64): New macro.
1743         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
1744         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
1745         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
1746         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
1747         (R_AARCH64_TLSDESC): Likewise.
1748         (NT_ARM_TLS): Likewise.
1749         (NT_ARM_HW_BREAK): Likewise.
1750         (NT_ARM_HW_WATCH): Likewise.
1752 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
1754         [BZ #14811]
1755         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
1756         (__ieee754_powl): Saturate nonzero exponents with absolute value
1757         below 0x1p-79 to +/- 0x1p-79.
1758         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
1759         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
1760         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
1761         nonzero exponents with absolute value below 0x1p-32 to +/-
1762         0x1p-32.
1763         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
1764         (__ieee754_powl): Saturate nonzero exponents with absolute value
1765         below 0x1p-79 to +/- 0x1p-79.
1766         * math/libm-test.inc (pow_test): Add more tests.
1768 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1770         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
1771         _dl_s390_cap_flags with kernel. Increase string length.
1772         (_dl_s390_platforms): Add z196 and zEC12.
1774 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
1776         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
1777         Change XOPEN21K to XOPEN2K.
1779 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
1781         * string/memmove.c: Use memcpy when possible.
1783 2012-11-06  Andreas Jaeger  <aj@suse.de>
1785         * po/eo.po: Update from translation team.
1787 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
1789         [BZ #14793]
1790         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
1791         exponent and small x and y exponents, scale x or y up.  Increase
1792         by 2 the exponent used in scaling up.
1793         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1794         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1795         * math/libm-test.inc (fma_test): Add more tests.
1796         (fma_test_towardzero): Likewise.
1797         (fma_test_downward): Likewise.
1798         (fma_test_upward): Likewise.
1800 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
1802         [BZ #14805]
1803         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
1804         fenv_t *.
1806         [BZ #14801]
1807         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
1808         namespace for names of struct fields.
1809         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
1810         fenv_t fields.
1811         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1812         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
1814 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1816         [BZ #3665]
1817         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
1819 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
1821         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
1822         PTR_DEMANGLE.
1824         [BZ #5246]
1825         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
1826         PTR_DEMANGLE.
1828 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
1830         [BZ #14797]
1831         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
1832         definitely overflow as x * y not x * y + z.
1833         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1834         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1835         * math/libm-test.inc (fma_test): Add more tests.
1836         (fma_test_towardzero): Likewise.
1837         (fma_test_downward): Likewise.
1838         (fma_test_upward): Likewise.
1840 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
1842         [BZ #157]
1844         * include/stub-tag.h: Remove file.
1845         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
1846         '#include' of it.
1847         * manual/maint.texi (Porting): Don't reference it.
1848         * Makerules ($(objpfx)stubs): Likewise.
1849         * dirent/closedir.c: Don't include <stub-tag.h>.
1850         * dirent/dirfd.c: Likewise.
1851         * dirent/fdopendir.c: Likewise.
1852         * dirent/getdents.c: Likewise.
1853         * dirent/getdents64.c: Likewise.
1854         * dirent/opendir.c: Likewise.
1855         * dirent/readdir.c: Likewise.
1856         * dirent/readdir64.c: Likewise.
1857         * dirent/readdir64_r.c: Likewise.
1858         * dirent/readdir_r.c: Likewise.
1859         * dirent/rewinddir.c: Likewise.
1860         * dirent/seekdir.c: Likewise.
1861         * dirent/telldir.c: Likewise.
1862         * gmon/profil.c: Likewise.
1863         * grp/setgroups.c: Likewise.
1864         * inet/if_index.c: Likewise.
1865         * io/access.c: Likewise.
1866         * io/chdir.c: Likewise.
1867         * io/chmod.c: Likewise.
1868         * io/chown.c: Likewise.
1869         * io/close.c: Likewise.
1870         * io/dup.c: Likewise.
1871         * io/dup2.c: Likewise.
1872         * io/dup3.c: Likewise.
1873         * io/euidaccess.c: Likewise.
1874         * io/faccessat.c: Likewise.
1875         * io/fchdir.c: Likewise.
1876         * io/fchmod.c: Likewise.
1877         * io/fchmodat.c: Likewise.
1878         * io/fchown.c: Likewise.
1879         * io/fchownat.c: Likewise.
1880         * io/fcntl.c: Likewise.
1881         * io/flock.c: Likewise.
1882         * io/fstatfs.c: Likewise.
1883         * io/fstatfs64.c: Likewise.
1884         * io/fstatvfs.c: Likewise.
1885         * io/fstatvfs64.c: Likewise.
1886         * io/futimens.c: Likewise.
1887         * io/fxstat.c: Likewise.
1888         * io/fxstat64.c: Likewise.
1889         * io/fxstatat.c: Likewise.
1890         * io/fxstatat64.c: Likewise.
1891         * io/getcwd.c: Likewise.
1892         * io/isatty.c: Likewise.
1893         * io/lchmod.c: Likewise.
1894         * io/lchown.c: Likewise.
1895         * io/link.c: Likewise.
1896         * io/linkat.c: Likewise.
1897         * io/lseek.c: Likewise.
1898         * io/lseek64.c: Likewise.
1899         * io/lxstat64.c: Likewise.
1900         * io/mkdir.c: Likewise.
1901         * io/mkdirat.c: Likewise.
1902         * io/mkfifo.c: Likewise.
1903         * io/mkfifoat.c: Likewise.
1904         * io/open.c: Likewise.
1905         * io/open64.c: Likewise.
1906         * io/openat.c: Likewise.
1907         * io/openat64.c: Likewise.
1908         * io/pipe.c: Likewise.
1909         * io/pipe2.c: Likewise.
1910         * io/poll.c: Likewise.
1911         * io/posix_fadvise.c: Likewise.
1912         * io/posix_fadvise64.c: Likewise.
1913         * io/posix_fallocate.c: Likewise.
1914         * io/posix_fallocate64.c: Likewise.
1915         * io/read.c: Likewise.
1916         * io/readlink.c: Likewise.
1917         * io/readlinkat.c: Likewise.
1918         * io/rmdir.c: Likewise.
1919         * io/sendfile.c: Likewise.
1920         * io/sendfile64.c: Likewise.
1921         * io/statfs.c: Likewise.
1922         * io/statfs64.c: Likewise.
1923         * io/statvfs.c: Likewise.
1924         * io/statvfs64.c: Likewise.
1925         * io/symlink.c: Likewise.
1926         * io/symlinkat.c: Likewise.
1927         * io/ttyname.c: Likewise.
1928         * io/ttyname_r.c: Likewise.
1929         * io/umask.c: Likewise.
1930         * io/unlink.c: Likewise.
1931         * io/unlinkat.c: Likewise.
1932         * io/utime.c: Likewise.
1933         * io/utimensat.c: Likewise.
1934         * io/write.c: Likewise.
1935         * io/xmknod.c: Likewise.
1936         * io/xmknodat.c: Likewise.
1937         * io/xstat.c: Likewise.
1938         * io/xstat64.c: Likewise.
1939         * login/getpt.c: Likewise.
1940         * login/grantpt.c: Likewise.
1941         * login/unlockpt.c: Likewise.
1942         * math/e_acoshl.c: Likewise.
1943         * math/e_acosl.c: Likewise.
1944         * math/e_asinl.c: Likewise.
1945         * math/e_atan2l.c: Likewise.
1946         * math/e_atanhl.c: Likewise.
1947         * math/e_coshl.c: Likewise.
1948         * math/e_expl.c: Likewise.
1949         * math/e_fmodl.c: Likewise.
1950         * math/e_gammal_r.c: Likewise.
1951         * math/e_hypotl.c: Likewise.
1952         * math/e_j0l.c: Likewise.
1953         * math/e_j1l.c: Likewise.
1954         * math/e_jnl.c: Likewise.
1955         * math/e_lgammal_r.c: Likewise.
1956         * math/e_log10l.c: Likewise.
1957         * math/e_log2l.c: Likewise.
1958         * math/e_logl.c: Likewise.
1959         * math/e_powl.c: Likewise.
1960         * math/e_rem_pio2l.c: Likewise.
1961         * math/e_sinhl.c: Likewise.
1962         * math/e_sqrtl.c: Likewise.
1963         * math/fclrexcpt.c: Likewise.
1964         * math/fedisblxcpt.c: Likewise.
1965         * math/feenablxcpt.c: Likewise.
1966         * math/fegetenv.c: Likewise.
1967         * math/fegetexcept.c: Likewise.
1968         * math/fegetround.c: Likewise.
1969         * math/feholdexcpt.c: Likewise.
1970         * math/fesetenv.c: Likewise.
1971         * math/fesetround.c: Likewise.
1972         * math/feupdateenv.c: Likewise.
1973         * math/fgetexcptflg.c: Likewise.
1974         * math/fraiseexcpt.c: Likewise.
1975         * math/fsetexcptflg.c: Likewise.
1976         * math/ftestexcept.c: Likewise.
1977         * math/k_cosl.c: Likewise.
1978         * math/k_rem_pio2l.c: Likewise.
1979         * math/k_sinl.c: Likewise.
1980         * math/k_tanl.c: Likewise.
1981         * math/s_asinhl.c: Likewise.
1982         * math/s_atanl.c: Likewise.
1983         * math/s_cbrtl.c: Likewise.
1984         * math/s_erfl.c: Likewise.
1985         * math/s_expm1l.c: Likewise.
1986         * math/s_log1pl.c: Likewise.
1987         * math/s_tanhl.c: Likewise.
1988         * misc/acct.c: Likewise.
1989         * misc/brk.c: Likewise.
1990         * misc/chflags.c: Likewise.
1991         * misc/chroot.c: Likewise.
1992         * misc/fchflags.c: Likewise.
1993         * misc/fgetxattr.c: Likewise.
1994         * misc/flistxattr.c: Likewise.
1995         * misc/fremovexattr.c: Likewise.
1996         * misc/fsetxattr.c: Likewise.
1997         * misc/fsync.c: Likewise.
1998         * misc/ftruncate.c: Likewise.
1999         * misc/futimes.c: Likewise.
2000         * misc/futimesat.c: Likewise.
2001         * misc/getdomain.c: Likewise.
2002         * misc/getdtsz.c: Likewise.
2003         * misc/gethostid.c: Likewise.
2004         * misc/gethostname.c: Likewise.
2005         * misc/getloadavg.c: Likewise.
2006         * misc/getpagesize.c: Likewise.
2007         * misc/getsysstats.c: Likewise.
2008         * misc/getxattr.c: Likewise.
2009         * misc/gtty.c: Likewise.
2010         * misc/ioctl.c: Likewise.
2011         * misc/lgetxattr.c: Likewise.
2012         * misc/listxattr.c: Likewise.
2013         * misc/llistxattr.c: Likewise.
2014         * misc/lremovexattr.c: Likewise.
2015         * misc/lsetxattr.c: Likewise.
2016         * misc/lutimes.c: Likewise.
2017         * misc/madvise.c: Likewise.
2018         * misc/mincore.c: Likewise.
2019         * misc/mlock.c: Likewise.
2020         * misc/mlockall.c: Likewise.
2021         * misc/mmap.c: Likewise.
2022         * misc/mprotect.c: Likewise.
2023         * misc/msync.c: Likewise.
2024         * misc/munlock.c: Likewise.
2025         * misc/munlockall.c: Likewise.
2026         * misc/munmap.c: Likewise.
2027         * misc/preadv.c: Likewise.
2028         * misc/preadv64.c: Likewise.
2029         * misc/ptrace.c: Likewise.
2030         * misc/pwritev.c: Likewise.
2031         * misc/pwritev64.c: Likewise.
2032         * misc/readv.c: Likewise.
2033         * misc/reboot.c: Likewise.
2034         * misc/remap_file_pages.c: Likewise.
2035         * misc/removexattr.c: Likewise.
2036         * misc/revoke.c: Likewise.
2037         * misc/select.c: Likewise.
2038         * misc/setdomain.c: Likewise.
2039         * misc/setegid.c: Likewise.
2040         * misc/seteuid.c: Likewise.
2041         * misc/sethostid.c: Likewise.
2042         * misc/sethostname.c: Likewise.
2043         * misc/setregid.c: Likewise.
2044         * misc/setreuid.c: Likewise.
2045         * misc/setxattr.c: Likewise.
2046         * misc/sstk.c: Likewise.
2047         * misc/stty.c: Likewise.
2048         * misc/swapoff.c: Likewise.
2049         * misc/swapon.c: Likewise.
2050         * misc/sync.c: Likewise.
2051         * misc/syncfs.c: Likewise.
2052         * misc/syscall.c: Likewise.
2053         * misc/truncate.c: Likewise.
2054         * misc/ualarm.c: Likewise.
2055         * misc/usleep.c: Likewise.
2056         * misc/ustat.c: Likewise.
2057         * misc/utimes.c: Likewise.
2058         * misc/vhangup.c: Likewise.
2059         * misc/writev.c: Likewise.
2060         * posix/_exit.c: Likewise.
2061         * posix/alarm.c: Likewise.
2062         * posix/execve.c: Likewise.
2063         * posix/fexecve.c: Likewise.
2064         * posix/fork.c: Likewise.
2065         * posix/fpathconf.c: Likewise.
2066         * posix/getaddrinfo.c: Likewise.
2067         * posix/getegid.c: Likewise.
2068         * posix/geteuid.c: Likewise.
2069         * posix/getgid.c: Likewise.
2070         * posix/getgroups.c: Likewise.
2071         * posix/getlogin.c: Likewise.
2072         * posix/getlogin_r.c: Likewise.
2073         * posix/getpgid.c: Likewise.
2074         * posix/getpid.c: Likewise.
2075         * posix/getppid.c: Likewise.
2076         * posix/getresgid.c: Likewise.
2077         * posix/getresuid.c: Likewise.
2078         * posix/getsid.c: Likewise.
2079         * posix/getuid.c: Likewise.
2080         * posix/glob64.c: Likewise.
2081         * posix/nanosleep.c: Likewise.
2082         * posix/pathconf.c: Likewise.
2083         * posix/pause.c: Likewise.
2084         * posix/posix_madvise.c: Likewise.
2085         * posix/pread.c: Likewise.
2086         * posix/pread64.c: Likewise.
2087         * posix/pwrite.c: Likewise.
2088         * posix/pwrite64.c: Likewise.
2089         * posix/sched_getaffinity.c: Likewise.
2090         * posix/sched_getp.c: Likewise.
2091         * posix/sched_gets.c: Likewise.
2092         * posix/sched_primax.c: Likewise.
2093         * posix/sched_primin.c: Likewise.
2094         * posix/sched_rr_gi.c: Likewise.
2095         * posix/sched_setaffinity.c: Likewise.
2096         * posix/sched_setp.c: Likewise.
2097         * posix/sched_sets.c: Likewise.
2098         * posix/sched_yield.c: Likewise.
2099         * posix/setgid.c: Likewise.
2100         * posix/setlogin.c: Likewise.
2101         * posix/setpgid.c: Likewise.
2102         * posix/setresgid.c: Likewise.
2103         * posix/setresuid.c: Likewise.
2104         * posix/setsid.c: Likewise.
2105         * posix/setuid.c: Likewise.
2106         * posix/sleep.c: Likewise.
2107         * posix/spawni.c: Likewise.
2108         * posix/sysconf.c: Likewise.
2109         * posix/times.c: Likewise.
2110         * posix/wait.c: Likewise.
2111         * posix/wait3.c: Likewise.
2112         * posix/wait4.c: Likewise.
2113         * posix/waitpid.c: Likewise.
2114         * resolv/gai_sigqueue.c: Likewise.
2115         * resource/getpriority.c: Likewise.
2116         * resource/getrlimit.c: Likewise.
2117         * resource/getrusage.c: Likewise.
2118         * resource/nice.c: Likewise.
2119         * resource/setpriority.c: Likewise.
2120         * resource/setrlimit.c: Likewise.
2121         * resource/ulimit.c: Likewise.
2122         * rt/aio_cancel.c: Likewise.
2123         * rt/aio_fsync.c: Likewise.
2124         * rt/aio_read.c: Likewise.
2125         * rt/aio_sigqueue.c: Likewise.
2126         * rt/aio_suspend.c: Likewise.
2127         * rt/aio_write.c: Likewise.
2128         * rt/clock_getres.c: Likewise.
2129         * rt/clock_gettime.c: Likewise.
2130         * rt/clock_nanosleep.c: Likewise.
2131         * rt/clock_settime.c: Likewise.
2132         * rt/lio_listio.c: Likewise.
2133         * rt/mq_close.c: Likewise.
2134         * rt/mq_getattr.c: Likewise.
2135         * rt/mq_notify.c: Likewise.
2136         * rt/mq_open.c: Likewise.
2137         * rt/mq_receive.c: Likewise.
2138         * rt/mq_send.c: Likewise.
2139         * rt/mq_setattr.c: Likewise.
2140         * rt/mq_timedreceive.c: Likewise.
2141         * rt/mq_timedsend.c: Likewise.
2142         * rt/mq_unlink.c: Likewise.
2143         * rt/shm_open.c: Likewise.
2144         * rt/shm_unlink.c: Likewise.
2145         * rt/timer_create.c: Likewise.
2146         * rt/timer_delete.c: Likewise.
2147         * rt/timer_getoverr.c: Likewise.
2148         * rt/timer_gettime.c: Likewise.
2149         * rt/timer_settime.c: Likewise.
2150         * setjmp/__longjmp.c: Likewise.
2151         * setjmp/setjmp.c: Likewise.
2152         * signal/kill.c: Likewise.
2153         * signal/killpg.c: Likewise.
2154         * signal/raise.c: Likewise.
2155         * signal/sigaction.c: Likewise.
2156         * signal/sigaltstack.c: Likewise.
2157         * signal/sigblock.c: Likewise.
2158         * signal/sigignore.c: Likewise.
2159         * signal/sigintr.c: Likewise.
2160         * signal/signal.c: Likewise.
2161         * signal/sigpause.c: Likewise.
2162         * signal/sigpending.c: Likewise.
2163         * signal/sigqueue.c: Likewise.
2164         * signal/sigreturn.c: Likewise.
2165         * signal/sigset.c: Likewise.
2166         * signal/sigsetmask.c: Likewise.
2167         * signal/sigstack.c: Likewise.
2168         * signal/sigsuspend.c: Likewise.
2169         * signal/sigtimedwait.c: Likewise.
2170         * signal/sigvec.c: Likewise.
2171         * signal/sigwait.c: Likewise.
2172         * signal/sigwaitinfo.c: Likewise.
2173         * signal/sysv_signal.c: Likewise.
2174         * socket/accept.c: Likewise.
2175         * socket/accept4.c: Likewise.
2176         * socket/bind.c: Likewise.
2177         * socket/connect.c: Likewise.
2178         * socket/getpeername.c: Likewise.
2179         * socket/getsockname.c: Likewise.
2180         * socket/getsockopt.c: Likewise.
2181         * socket/isfdtype.c: Likewise.
2182         * socket/listen.c: Likewise.
2183         * socket/recv.c: Likewise.
2184         * socket/recvfrom.c: Likewise.
2185         * socket/recvmsg.c: Likewise.
2186         * socket/send.c: Likewise.
2187         * socket/sendmsg.c: Likewise.
2188         * socket/sendto.c: Likewise.
2189         * socket/setsockopt.c: Likewise.
2190         * socket/shutdown.c: Likewise.
2191         * socket/sockatmark.c: Likewise.
2192         * socket/socket.c: Likewise.
2193         * socket/socketpair.c: Likewise.
2194         * stdio-common/ctermid.c: Likewise.
2195         * stdio-common/cuserid.c: Likewise.
2196         * stdio-common/remove.c: Likewise.
2197         * stdio-common/rename.c: Likewise.
2198         * stdio-common/renameat.c: Likewise.
2199         * stdio-common/tempname.c: Likewise.
2200         * stdlib/getcontext.c: Likewise.
2201         * stdlib/makecontext.c: Likewise.
2202         * stdlib/setcontext.c: Likewise.
2203         * stdlib/swapcontext.c: Likewise.
2204         * stdlib/system.c: Likewise.
2205         * streams/fattach.c: Likewise.
2206         * streams/fdetach.c: Likewise.
2207         * streams/getmsg.c: Likewise.
2208         * streams/getpmsg.c: Likewise.
2209         * streams/putmsg.c: Likewise.
2210         * streams/putpmsg.c: Likewise.
2211         * sysdeps/unix/bsd/getpt.c: Likewise.
2212         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
2213         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
2214         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
2216         Likewise.
2217         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
2218         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
2219         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2220         * sysvipc/msgctl.c: Likewise.
2221         * sysvipc/msgget.c: Likewise.
2222         * sysvipc/msgrcv.c: Likewise.
2223         * sysvipc/msgsnd.c: Likewise.
2224         * sysvipc/semctl.c: Likewise.
2225         * sysvipc/semget.c: Likewise.
2226         * sysvipc/semop.c: Likewise.
2227         * sysvipc/semtimedop.c: Likewise.
2228         * sysvipc/shmat.c: Likewise.
2229         * sysvipc/shmctl.c: Likewise.
2230         * sysvipc/shmdt.c: Likewise.
2231         * sysvipc/shmget.c: Likewise.
2232         * termios/tcdrain.c: Likewise.
2233         * termios/tcflow.c: Likewise.
2234         * termios/tcflush.c: Likewise.
2235         * termios/tcgetattr.c: Likewise.
2236         * termios/tcgetpgrp.c: Likewise.
2237         * termios/tcsendbrk.c: Likewise.
2238         * termios/tcsetattr.c: Likewise.
2239         * termios/tcsetpgrp.c: Likewise.
2240         * time/adjtime.c: Likewise.
2241         * time/clock.c: Likewise.
2242         * time/getitimer.c: Likewise.
2243         * time/gettimeofday.c: Likewise.
2244         * time/setitimer.c: Likewise.
2245         * time/settimeofday.c: Likewise.
2246         * time/stime.c: Likewise.
2247         * time/time.c: Likewise.
2249 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
2251         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
2252         /usr/old/bin.
2254         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
2255         instead of spaces.
2256         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
2258 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
2260         [BZ #14796]
2261         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
2262         FE_TONEAREST before applying Dekker multiplication and Knuth
2263         addition.  Clear inexact exceptions and check for exact zero
2264         results afterwards.
2265         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2266         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2267         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2268         * math/libm-test.inc (fma_test): Add more tests.
2269         (fma_test_towardzero): Likewise.
2270         (fma_test_downward): Likewise.
2271         (fma_test_upward): Likewise.
2272         * sysdeps/generic/math_private.h (default_libc_fesetround): New
2273         function.
2274         (libc_fesetround): New macro.
2275         (libc_fesetroundf): Likewise.
2276         (libc_fesetroundl): Likewise.
2277         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
2278         function.
2279         (libc_fesetround_387): Likewise.
2280         (libc_fesetroundf): New macro.
2281         (libc_fesetround): Likewise.
2282         (libc_fesetroundl): Likewise.
2283         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
2284         function.
2285         (libc_fesetroundf): New macro.
2286         (libc_fesetround): Likewise.
2287         (libc_fesetroundl): Likewise.
2288         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
2289         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
2290         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
2291         libm_hidden_ver.
2292         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
2293         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
2294         libm_hidden_def.
2295         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
2296         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
2297         libm_hidden_ver.
2298         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
2299         libm_hidden_def.
2301         [BZ #3439]
2302         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
2303         integer constant usable in #if and use that to give value to enum
2304         constant.
2305         (FE_DIVBYZERO): Likewise.
2306         (FE_UNDERFLOW): Likewise.
2307         (FE_OVERFLOW): Likewise.
2308         (FE_INVALID): Likewise.
2309         (FE_INVALID_SNAN): Likewise.
2310         (FE_INVALID_ISI): Likewise.
2311         (FE_INVALID_IDI): Likewise.
2312         (FE_INVALID_ZDZ): Likewise.
2313         (FE_INVALID_IMZ): Likewise.
2314         (FE_INVALID_COMPARE): Likewise.
2315         (FE_INVALID_SOFTWARE): Likewise.
2316         (FE_INVALID_SQRT): Likewise.
2317         (FE_INVALID_INTEGER_CONVERSION): Likewise.
2318         (FE_TONEAREST): Likewise.
2319         (FE_TOWARDZERO): Likewise.
2320         (FE_UPWARD): Likewise.
2321         (FE_DOWNWARD): Likewise.
2322         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
2323         (FE_DIVBYZERO): Likewise.
2324         (FE_OVERFLOW): Likewise.
2325         (FE_UNDERFLOW): Likewise.
2326         (FE_INEXACT): Likewise.
2327         (FE_TONEAREST): Likewise.
2328         (FE_DOWNWARD): Likewise.
2329         (FE_UPWARD): Likewise.
2330         (FE_TOWARDZERO): Likewise.
2331         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
2332         (FE_UNDERFLOW): Likewise.
2333         (FE_OVERFLOW): Likewise.
2334         (FE_DIVBYZERO): Likewise.
2335         (FE_INVALID): Likewise.
2336         (FE_TONEAREST): Likewise.
2337         (FE_TOWARDZERO): Likewise.
2338         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
2339         (FE_OVERFLOW): Likewise.
2340         (FE_UNDERFLOW): Likewise.
2341         (FE_DIVBYZERO): Likewise.
2342         (FE_INEXACT): Likewise.
2343         (FE_TONEAREST): Likewise.
2344         (FE_TOWARDZERO): Likewise.
2345         (FE_UPWARD): Likewise.
2346         (FE_DOWNWARD): Likewise.
2347         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
2348         (FE_DIVBYZERO): Likewise.
2349         (FE_OVERFLOW): Likewise.
2350         (FE_UNDERFLOW): Likewise.
2351         (FE_INEXACT): Likewise.
2352         (FE_TONEAREST): Likewise.
2353         (FE_DOWNWARD): Likewise.
2354         (FE_UPWARD): Likewise.
2355         (FE_TOWARDZERO): Likewise.
2357 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
2359         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
2361 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
2363         * scripts/cross-test-ssh.sh (command): Use newlines to separate
2364         commands.  Quote $PWD.
2365         (blacklist_exports): Don't use remove_newlines.  Replace "declare
2366         -x" by "export".
2367         (remove_newlines): Remove.
2369 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
2371         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
2372         * stdlib/stdlib.h (atof): Moved to ...
2373         * include/bits/stdlib-float.h: Here.  New file.
2374         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
2375         * stdlib/bits/stdlib-float.h: New file.
2376         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
2377         -mno-sse -mno-mmx.
2378         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
2379         <xmmintrin.h>.
2381 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
2383         * conform/conformtest.pl (@headers): Add fenv.h.
2384         * conform/data/fenv.h-data: New file.
2385         * include/fenv.h [_ISOMAC]: Disable all contents of file except
2386         include of <math/fenv.h>.
2388         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
2389         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
2390         && !UNIX98].  Enables tests for XOPEN2K8.
2391         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
2392         POSIX2008]: Likewise.
2394         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
2395         (struct rusage): Do not expect type or its members.
2397         [BZ #3439]
2398         * math/math.h (FP_NAN): Define macro to integer constant usable in
2399         #if and use that to give value to enum constant.
2400         (FP_INFINITE): Likewise.
2401         (FP_ZERO): Likewise.
2402         (FP_SUBNORMAL): Likewise.
2403         (FP_NORMAL): Likewise.
2405 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
2407         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
2408         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
2409         arguments.
2411 2012-11-02  Roland McGrath  <roland@hack.frob.com>
2413         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
2414         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
2415         autoconf-time if not.
2416         * configure.in: Remove AC_PREREQ.
2418 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2420         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
2421         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
2422         of the internal implementation.
2424 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
2426         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
2427         except include of <misc/sys/syslog.h>.
2429 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
2431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
2432         function returns with a NULL context exit with zero.
2434 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2436         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
2438 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
2440         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
2441         (run_program_cmd): This.
2442         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
2443         (tst_langinfo): New variable.  Use it.
2445 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
2447         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
2448         floating point opcodes.
2450 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
2452         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
2453         variable.
2455         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
2457         * sysdeps/mach/hurd/powerpc: Remove directory.
2458         * sysdeps/mach/powerpc: Likewise.
2460 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
2462         * scripts/check-local-headers.sh: Ignore c++ headers.
2464 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
2466         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
2467         __libc_cleanup_region_start argument.
2469 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
2471         [BZ #14784]
2472         [BZ #14785]
2473         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
2474         x * y using scaling, not as x * y + z.
2475         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2476         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2477         * math/libm-test.inc (fma_test): Add more tests.
2478         (fma_test_towardzero): Likewise.
2479         (fma_test_downward): Likewise.
2480         (fma_test_upward): Likewise.
2482 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
2484         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
2486 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
2488         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
2489         New variable.
2491 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
2493         * rt/tst-shm.c (worker): Correct checking for mmap failure.
2495 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
2497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2498         Fix sort order.
2499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2500         Likewise.
2502 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2505         Fix the order of the list for glibc 2.17.
2506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2507         Likewise.
2509 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
2511         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2513 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
2515         [BZ #14610]
2516         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
2517         for low part of x being zero before using __atanl (y).
2518         * math/libm-test.inc (atan2_test): Add another test.
2520         * manual/install.texi (Configuring and compiling): Document
2521         general use of test-wrapper and test-wrapper-env.
2522         * INSTALL: Regenerated.
2524         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
2525         (__fma): Do not extract and scale down low bits on after-rounding
2526         systems when result rounded to normal precision would have normal
2527         exponent.
2528         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
2529         (__fmal): Do not extract and scale down low bits on after-rounding
2530         systems when result rounded to normal precision would have normal
2531         exponent.
2532         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
2533         (__fmal): Do not extract and scale down low bits on after-rounding
2534         systems when result rounded to normal precision would have normal
2535         exponent.
2536         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
2537         macro.
2538         (fma_test): Add more tests.
2539         (fma_test_towardzero): Likewise.
2540         (fma_test_downward): Likewise.
2541         (fma_test_upward): Likewise.
2543 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
2545         * sysdeps/i386/tininess.h: Renamed to ...
2546         * sysdeps/x86/tininess.h: This.
2547         * sysdeps/x86_64/tininess.h: Removed.
2549 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
2551         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
2552         input.  Use $(build-program-cmd).
2553         ($(objpfx)tst-array1-static.out): Likewise.
2554         ($(objpfx)tst-array2.out): Likewise.
2555         ($(objpfx)tst-array3.out): Likewise.
2556         ($(objpfx)tst-array4.out): Likewise.
2557         ($(objpfx)tst-array5.out): Likewise.
2558         ($(objpfx)tst-array5-static.out): Likewise.
2560 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
2562         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
2563         if defined.
2565         * nss/nsswitch.h (nss_interface_function): Provide new
2566         macro for use with NSS functions.
2567         * grp/initgroups.c: Use new macro.
2568         * nss/getXXbyYY.c: Likewise.
2569         * nss/getXXbyYY_r.c: Likewise.
2570         * nss/getXXent.c: Likewise.
2571         * nss/getXXent_r.c: Likewise.
2572         * sysdeps/posix/getaddrinfo.c: Likewise.
2574 2012-10-30  Andreas Jaeger  <aj@suse.de>
2576         * po/ru.po: Update Russion translation from translation project.
2578 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
2580         [BZ #14152]
2581         [BZ #14783]
2582         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
2583         result and shift together with sticky bit instead of replicating
2584         round-to-nearest rounding.
2585         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2586         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2587         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
2588         missing underflow exceptions.
2589         (fma_test_towardzero): Add more tests.
2590         (fma_test_downward): Likewise.
2591         (fma_test_upward): Likewise.
2593         [BZ #14047]
2594         * sysdeps/generic/tininess.h: New file.
2595         * sysdeps/i386/tininess.h: Likewise.
2596         * sysdeps/sh/tininess.h: Likewise.
2597         * sysdeps/x86_64/tininess.h: Likewise.
2598         * stdlib/tst-strtod-underflow.c: Likewise.
2599         * stdlib/tst-tininess.c: Likewise.
2600         * stdlib/strtod_l.c: Include <tininess.h>.
2601         (round_and_return): Do not set errno for exact underflow cases.
2602         Force an underflow exception when setting errno for underflow.
2603         Determine underflow based on rounding to normal precision if
2604         TININESS_AFTER_ROUNDING.
2605         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
2606         ERANGE for exact underflow cases.
2607         * stdlib/Makefile (tests): Add tst-tininess and
2608         tst-strtod-underflow.
2609         ($(objpfx)tst-tininess): Use $(link-libm).
2610         ($(objpfx)tst-strtod-underflow): Likewise.
2612 2012-10-30  Andreas Jaeger  <aj@suse.de>
2614         [BZ#14767]
2615         * elf/Makefile (tests): Remove conditional for have-initfini-array
2616         since this is now always required and the variable does not exist
2617         anymore.
2618         (tests-static): Likewise.
2619         (modules-names): Likewise.
2621         * po/eo.po: Add Esperanto translation from translation project.
2623         * elf/tst-array1.c (fini_array): Make writeable so that it can be
2624         merged with constructor/destructor.
2625         (init_array): Likewise.
2626         * elf/tst-array2dep.c (fini_array): Likewise.
2627         (init_array): Likewise.
2629 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
2631         * manual/message.texi: Delete @cartouche tags.
2633 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
2635         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
2636         EOPNOTSUPP.
2637         * sysdeps/mach/hurd/fsync.c: Likewise.
2639         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
2640         [_POSIX_REALTIME_SIGNALS]: Change condition to
2641         [_POSIX_REALTIME_SIGNALS > 0].
2643 2012-10-27  Andreas Jaeger  <aj@suse.de>
2645         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
2646         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
2647         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
2648         [__WORDSIZE != 64]: Likewise.
2650 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
2652         *  iconvdata/tst-table.sh: Remove ${SHELL}.
2653         *  iconvdata/tst-tables.sh: Likewise.
2655 2012-10-25  David S. Miller  <davem@davemloft.net>
2657         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2658         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
2659         of strtoull.
2661         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
2662         ifunc-impl-list.c
2663         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2664         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
2665         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
2666         file.
2668 2012-10-25  Roland McGrath  <roland@hack.frob.com>
2670         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2671         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
2672         __getdirentries.
2674 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
2675             Jim Blandy  <jimb@codesourcery.com>
2677         * scripts/cross-test-ssh.sh: New file.
2678         * manual/install.texi (Configuring and compiling): Document use of
2679         cross-test-ssh.sh.
2680         * INSTALL: Regenerated.
2682 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
2684         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
2685         EOPNOTSUPP.
2687 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
2689         * Makeconfig (run-program-prefix): Fix comment.
2691 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
2692             Jim Blandy  <jimb@codesourcery.com>
2694         * Makeconfig (test-wrapper): New variable,
2695         (test-wrapper-env): Likewise.
2696         [$(cross-compiling) = yes && $(test-wrapper) != ""]
2697         (run-built-tests): Define to yes.
2698         (run-program-prefix): Use $(test-wrapper).
2699         (built-program-cmd): Likewise.
2700         * Rules (make-test-out): Use $(test-wrapper-env) and
2701         $(host-built-program-cmd).
2702         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
2703         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
2704         tst-pathopt.sh.
2705         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
2706         $(test-wrapper-env) to tst-rtld-load-self.sh.
2707         ($(objpfx)order2.out): Use $(test-wrapper).
2708         ($(objpfx)tst-initorder.out): Likewise.
2709         ($(objpfx)tst-initorder2.out): Likewise.
2710         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
2711         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
2712         (test_wrapper_env): New variable.  Use it to run ld.so.
2713         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
2714         Use it to run ld.so.
2715         (test_wrapper_env): Likewise.
2716         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
2717         $(test-wrapper) to run-iconv-test.sh.
2718         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
2719         (ICONV): Use $test_wrapper.
2720         * posix/Makefile ($(objpfx)globtest.out): Pass
2721         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
2722         globtest.sh, not $(run-program-prefix).
2723         * posix/globtest.sh (run_via_rtld_prefix): New variable.
2724         (test_wrapper): Likewise.
2725         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
2726         set together with run_via_rtld_prefix.
2727         (run_program_prefix): Define in terms of test_wrapper and
2728         run_via_rtld_prefix.
2730 2012-10-24  Roland McGrath  <roland@hack.frob.com>
2732         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
2733         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
2734         Targets removed.
2736         [BZ #14743]
2737         * include/time.h: Remove librt_hidden_proto (clock_gettime).
2738         Declare __clock_getres, __clock_gettime, __clock_settime,
2739         __clock_nanosleep, and __clock_getcpuclockid.
2740         * rt/clock_gettime.c: Define __clock_gettime as an alias.
2741         Remove librt_hidden_def (clock_gettime).
2742         * sysdeps/unix/clock_gettime.c: Likewise.
2743         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
2744         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2745         * rt/clock_getres.c: Define __clock_getres as an alias.
2746         * sysdeps/posix/clock_getres.c: Likewise.
2747         * rt/clock_settime.c: Define __clock_settime as an alias.
2748         * sysdeps/unix/clock_settime.c: Likewise.
2749         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
2750         * sysdeps/unix/clock_nanosleep.c: Likewise.
2751         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2752         * rt/clock-compat.c: New file.
2753         * rt/Makefile (librt-routines): Add clock-compat and move
2754         $(clock-routines) to ...
2755         (routines): ... here, new variable.
2756         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
2757         Don't add get_clockfreq here.
2758         * rt/Versions (libc: GLIBC_2.17): New version set.
2759         Add clock_* symbols here.
2760         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
2761         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
2762         (GLIBC_2.17): Add clock_* symbols.
2763         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2764         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2765         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2767         Likewise.
2768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2769         Likewise.
2770         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2771         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2772         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2773         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2774         * NEWS: Mention the move.
2776         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2777         Use __open, __read, __close rather than their public counterparts.
2778         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2779         (__get_clockfreq_via_cpuinfo): Likewise.
2780         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
2781         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
2783         * config.h.in (HAVE_IFUNC): New #undef.
2784         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
2785         was successful.
2786         * configure: Regenerated.
2788 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
2790         * configure.in: Move READELF check to start of file.
2791         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
2792         libc_cv_asm_gnu_indirect_function in the process.
2793         * configure: Regenerated.
2795 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
2797         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
2798         send the output to /dev/null.
2799         (libc_cv_cc_with_libunwind): Likewise.
2800         (libc_cv_as_noexecstack): Likewise.
2801         * configure: Regenerate.
2803 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
2805         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
2807         * posix/globtest.sh (TMPDIR): Do not set.
2808         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
2809         (testout): Likewise.
2811 2012-10-24  Andreas Jaeger  <aj@suse.de>
2813         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
2814         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
2815         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
2816         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
2817         posix_fadvise64, posix_fallocate64.
2819         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
2820         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
2821         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
2822         Likewise.
2823         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
2824         Likewise.
2825         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
2827         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
2828         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
2829         <bits/fcntl-linux.h>.
2830         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
2832         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
2833         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
2834         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
2835         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
2836         [__WORDSIZE != 64]: Likewise.
2838 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
2840         * Makeconfig (run-built-tests): New variable.
2841         * Rules [$(cross-compiling) = yes]: Change condition to
2842         [$(run-built-tests) = no].
2843         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
2844         to [$(run-built-tests) = yes].
2845         * elf/Makefile [$(cross-compiling) = no]: Likewise
2846         * grp/Makefile [$(cross-compiling) = no]: Likewise.
2847         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
2848         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
2849         * intl/Makefile [$(cross-compiling) = no]: Likewise.
2850         * io/Makefile [$(cross-compiling) = no]: Likewise.
2851         * libio/Makefile [$(cross-compiling) = no]: Likewise.
2852         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
2853         * misc/Makefile [$(cross-compiling) = no]: Likewise.
2854         * posix/Makefile [$(cross-compiling) = no]: Likewise.
2855         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
2856         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
2857         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
2858         * string/Makefile [$(cross-compiling) = no]: Likewise.
2860         * posix/Makefile ($(objpfx)globtest.out): Pass
2861         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
2862         $(rtld-installed-name).
2863         * posix/globtest.sh (elf_objpfx): Remove variable.
2864         (rtld_installed_name): Likewise.
2865         (library_path): Likewise.
2866         (run_program_prefix): New variable.  Use for running globtest
2867         binary.
2869 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
2870             Joseph Myers  <joseph@codesourcery.com>
2872         * Makeconfig (host-built-program-cmd): New variable.
2873         * elf/Makefile (tst-stackguard1-ARGS): Use
2874         $(host-built-program-cmd).
2875         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
2876         (tst-spawn-ARGS): Likewise.
2877         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
2879 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
2880             Jim Blandy  <jimb@codesourcery.com>
2882         * Makeconfig (run-via-rtld-prefix): New variable.
2883         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
2884         (built-program-cmd): Likewise.
2886 2012-10-22  Andreas Jaeger  <aj@suse.de>
2888         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
2889         __O_RSYNC if it exists, otherwise to O_SYNC.
2891 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
2892             Joseph Myers  <joseph@codesourcery.com>
2894         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
2895         /dev/null.
2896         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
2897         from /dev/null
2898         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
2899         /dev/null.
2901 2012-10-22  Andreas Jaeger  <aj@suse.de>
2903         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
2904         Define always.
2905         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
2907         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2908         bits/fcntl-linux.h.
2910         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
2911         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
2913         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
2914         to __O_LARGEFILE.
2915         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
2916         to __O_LARGEFILE.
2918 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
2919             Joseph Myers  <joseph@codesourcery.com>
2921         * config.make.in (NM): New variable.
2923 2012-10-21  Andreas Jaeger  <aj@suse.de>
2925         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
2926         definitions and declarations that are provided by
2927         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2929 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
2931         [BZ #14683]
2932         * elf/Makefile (tests-static): Add tst-leaks1-static.
2933         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
2934         ($(objpfx)tst-leaks1-static): New rule.
2935         ($(objpfx)tst-leaks1-static-mem): Likewise.
2936         (tst-leaks1-static-ENV): New macro.
2937         * elf/dl-open.c (dl_open_worker): Check the main application
2938         only if SHARED is defined.
2939         * elf/tst-leaks1-static.c: New file.
2941 2012-10-20  Andreas Jaeger  <aj@suse.de>
2943         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
2944         generic values for Linux.
2945         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
2946         and declarations that are provided by <bits/fcntl-linux.h> and
2947         include <bits/fcntl-linux.h>.
2948         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2949         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2951 2012-10-20  Roland McGrath  <roland@hack.frob.com>
2953         * io/fcntl.h: Move include of <bits/types.h> to the top and
2954         include it unconditionally.
2956 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
2958         * wcsmbs/Makefile (tests-ifunc): New variable.
2959         (tests): Add $(tests-ifunc).
2960         * wcsmbs/test-wcschr-ifunc.c: New file.
2961         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2962         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2963         * wcsmbs/test-wcslen-ifunc.c: Likewise.
2964         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2965         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2967         * string/Makefile (tests-ifunc): New variable.
2968         (tests): Add $(tests-ifunc).
2969         * string/test-memccpy.c (TEST_NAME): New macro.
2970         * string/test-memchr.c (TEST_NAME): Likewise.
2971         * string/test-memcmp.c (TEST_NAME): Likewise.
2972         * string/test-memcpy.c (TEST_NAME): Likewise.
2973         * string/test-memmem.c (TEST_NAME): Likewise.
2974         * string/test-memmove.c (TEST_NAME): Likewise.
2975         * string/test-memset.c (TEST_NAME): Likewise.
2976         * string/test-rawmemchr.c (TEST_NAME): Likewise.
2977         * string/test-stpcpy.c (TEST_NAME): Likewise.
2978         * string/test-stpncpy.c (TEST_NAME): Likewise.
2979         * string/test-strcasecmp.c (TEST_NAME): Likewise.
2980         * string/test-strcasestr.c (TEST_NAME): Likewise.
2981         * string/test-strcat.c (TEST_NAME): Likewise.
2982         * string/test-strchr.c (TEST_NAME): Likewise.
2983         * string/test-strcmp.c(TEST_NAME): Likewise.
2984         * string/test-strcpy.c (TEST_NAME): Likewise.
2985         * string/test-strcspn.c (TEST_NAME): Likewise.
2986         * string/test-strlen.c (TEST_NAME): Likewise.
2987         * string/test-strncasecmp.c (TEST_NAME): Likewise.
2988         * string/test-strncmp.c (TEST_NAME): Likewise.
2989         * string/test-strncpy.c (TEST_NAME): Likewise.
2990         * string/test-strnlen.c (TEST_NAME): Likewise.
2991         * string/test-strpbrk.c (TEST_NAME): Likewise.
2992         * string/test-strrchr.c (TEST_NAME): Likewise.
2993         * string/test-strspn.c (TEST_NAME): Likewise.
2994         * string/test-strstr.c (TEST_NAME): Likewise.
2995         * string/test-bcopy-ifunc.c: New file.
2996         * string/test-bzero-ifunc.c: Likewise.
2997         * string/test-memccpy-ifunc.c: Likewise.
2998         * string/test-memchr-ifunc.c: Likewise.
2999         * string/test-memcmp-ifunc.c: Likewise.
3000         * string/test-memcpy-ifunc.c: Likewise.
3001         * string/test-memmem-ifunc.c: Likewise.
3002         * string/test-memmove-ifunc.c: Likewise.
3003         * string/test-mempcpy-ifunc.c: Likewise.
3004         * string/test-memset-ifunc.c: Likewise.
3005         * string/test-rawmemchr-ifunc.c: Likewise.
3006         * string/test-stpcpy-ifunc.c: Likewise.
3007         * string/test-stpncpy-ifunc.c: Likewise.
3008         * string/test-strcasecmp-ifunc.c: Likewise.
3009         * string/test-strcasestr-ifunc.c: Likewise.
3010         * string/test-strcat-ifunc.c: Likewise.
3011         * string/test-strchr-ifunc.c: Likewise.
3012         * string/test-strchrnul-ifunc.c: Likewise.
3013         * string/test-strcmp-ifunc.c: Likewise.
3014         * string/test-strcpy-ifunc.c: Likewise.
3015         * string/test-strcspn-ifunc.c: Likewise.
3016         * string/test-strlen-ifunc.c: Likewise.
3017         * string/test-strncasecmp-ifunc.c: Likewise.
3018         * string/test-strncat-ifunc.c: Likewise.
3019         * string/test-strncmp-ifunc.c: Likewise.
3020         * string/test-strncpy-ifunc.c: Likewise.
3021         * string/test-strnlen-ifunc.c: Likewise.
3022         * string/test-strpbrk-ifunc.c: Likewise.
3023         * string/test-strrchr-ifunc.c: Likewise.
3024         * string/test-strspn-ifunc.c: Likewise.
3025         * string/test-strstr-ifunc.c: Likewise.
3027         * debug/Makefile (tests-ifunc): New variable.
3028         (tests): Add $(tests-ifunc).
3029         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
3030         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
3031         * debug/test-stpcpy_chk-ifunc.c: New file.
3032         * debug/test-strcpy_chk-ifunc.c: Likewise.
3034 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
3036         [BZ #13601]
3037         * elf/dl-load.c (open_verify): Retry read if the entire ELF
3038         header is not read in.
3040 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
3042         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
3043         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
3044         directly.  Pass built executable to script as
3045         $(built-program-cmd).
3046         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
3047         $testprogram without using LD_LIBRARY_PATH and $ldso.
3049         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
3050         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
3051         $(rtld-installed-name).
3052         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
3053         (rtld_installed_name): Likewise.
3054         (library_path): Likewise.
3055         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
3056         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
3057         $(run-program-prefix) to tst-tables.sh.
3058         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
3059         it to run tst-table-from and tst-table-to.
3060         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
3061         Pass it to tst-table.sh.
3062         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
3063         $(run-program-prefix) to tst-gettext.sh.
3064         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
3065         tst-translit.sh.
3066         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
3067         tst-gettext2.sh.
3068         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
3069         to run tst-gettext.
3070         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
3071         to run tst-gettext2.
3072         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
3073         to run tst-translit.
3074         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
3075         $(run-program-prefix) to tst-mtrace.sh.
3076         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
3077         to run tst-mtrace.
3078         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
3079         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
3080         $(rtld-installed-name).
3081         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
3082         (rtld_installed_name): Likewise.
3083         (run_program_prefix): New variable.  Use it to run wordexp-test.
3085         * Makeconfig (ARCH): Remove all definitions.
3086         (machine): Likewise.
3087         [ARCH]: Remove conditional code.
3088         [!objdir]: Give error.
3089         [!objdir] (objpfx): Remove.
3090         [!objdir] (common-objpfx): Likewise.
3091         [!objdir] (common-objdir): Likewise.
3092         * configure.in (config_makefile): Remove.  Hardcode Makefile in
3093         AC_CONFIG_FILES call.
3094         * configure: Regenerated.
3096         [BZ #13888]
3097         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
3098         or TMPDIR.
3099         (testout): Likewise.
3101         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
3102         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
3103         $(rtld-installed-name).
3104         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
3105         (rtld_installed_name): Likwise.
3106         (runit): Remove function.
3107         (run_getconf): New variable,  Use it for running getconf binary.
3109 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
3111         [BZ #14716]
3112         * string/test-memmem.c (check_result): New function.
3113         (do_one_test): Use it.
3114         (check1): New function.
3115         (test_main): Use it.
3117 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
3119         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
3121 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
3123         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
3124         (_G_LSEEK64): Likewise.
3125         (_G_MMAP64): Likewise.
3126         (_G_FSTAT64): Likewise.
3127         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
3128         (_G_LSEEK64): Likewise.
3129         (_G_MMAP64): Likewise.
3130         (_G_FSTAT64): Likewise.
3131         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
3132         unconditional.  Call __mmap64 directly.
3133         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
3134         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
3135         __lseek64 directly.
3136         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
3137         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
3138         __mmap64 directly.
3139         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
3140         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
3141         __lseek64 directly.
3142         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
3143         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
3144         __lseek64 directly.
3145         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
3146         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
3147         __lseek64 directly.
3148         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
3149         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
3150         __fxstat64 directly.
3151         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
3152         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
3153         unconditional.
3154         (freopen64) [!_G_OPEN64]: Remove conditional code.
3155         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
3156         unconditional.
3157         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
3158         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
3159         unconditional.
3160         (ftello64) [!_G_LSEEK64]: Remove conditional code.
3161         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
3162         unconditional.
3163         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3164         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
3165         unconditional.
3166         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
3167         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
3168         unconditional.
3169         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3170         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
3171         unconditional.
3172         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3173         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
3174         unconditional.
3175         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3177 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3179         [BZ #12140]
3180         * manual/memory.texi (Malloc Tunable Parameters): Add note
3181         about free list pointers overwriting some perturb bytes.
3182         Wording suggested by Roland McGrath.
3184 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
3186         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
3187         (lgamma_test): Likewise.
3188         (tgamma_test): Likewise.
3190 2012-10-16  Florian Weimer  <fweimer@redhat.com>
3192         [BZ #14700]
3193         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
3194         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
3196 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
3198         * NEWS: Mention BZ #14716.
3199         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
3200         when removing AVAILABLE1_USES_J macro.
3202 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
3204         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
3205         (__bswap_64): __uint64_t for unsigned 64-bit int.
3207 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
3209         * include/string.h (memmem): Declare libc hidden alias.
3210         * string/memmem.c (memmem): Define libc hidden alias.
3211         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
3212         __read, __close instead of open, read, close.
3214 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
3216         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
3217         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
3218         global and hidden.
3219         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
3220         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
3221         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
3222         Likewise.
3223         (__rawmemchr_sse2): Likewise.
3224         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
3225         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
3226         (__strchr_sse2): Likewise.
3227         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
3228         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
3229         (__strcasecmp_sse2): Likewise.
3230         (__strncasecmp_sse2): Likewise.
3231         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
3232         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
3233         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
3234         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
3235         (__strrchr_sse2): Likewise.
3236         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
3237         ifunc-impl-list.c.
3238         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3239         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3240         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3241         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3242         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3243         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3244         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3245         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3246         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
3247         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
3248         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
3249         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
3250         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
3251         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3252         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3253         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3254         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3255         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3256         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
3257         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
3258         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
3259         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
3260         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
3261         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
3262         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
3263         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3264         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3265         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
3266         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3267         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3269         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
3270         global and hidden.
3271         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
3272         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
3273         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
3274         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
3275         Likewise.
3276         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
3277         Likewise.
3278         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
3279         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
3280         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
3281         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
3282         ifunc-impl-list.c.
3283         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3284         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3285         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3286         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3287         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3288         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3289         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3290         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3291         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3292         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3293         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3294         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3295         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3296         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
3297         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
3298         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3299         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
3300         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
3301         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3302         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3303         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3304         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3305         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3306         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3307         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3308         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
3309         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
3310         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
3311         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
3312         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3313         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
3314         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3315         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3316         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
3317         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3318         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3319         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3320         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3321         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3322         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3323         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
3325         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
3326         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
3327         * include/ifunc-impl-list.h: New file.
3328         * misc/ifunc-impl-list.c: Likewise.
3329         * misc/Makefile (routines): Add ifunc-impl-list.
3330         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
3331         * string/test-string.h: Include <ifunc-impl-list.h>.
3332         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
3333         impl_array): New variables.
3334         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
3335         are defined.
3336         (test_init): Call __libc_ifunc_impl_list to initialize
3337         func_list if TEST_IFUNC and TEST_NAME are defined.
3339         * string/Makefile (strop-tests): Add bcopy and bzero.
3340         * string/test-bcopy.c: New file.
3341         * string/test-bzero.c: Likewise.
3342         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
3343         defined.
3344         * string/test-memset.c: Support bzero test if TEST_BZERO is
3345         defined.
3346         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
3347         __libc_memmove.
3348         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
3349         __libc_memset.
3350         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
3351         of memset.
3353 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
3355         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
3356         * configure: Regenerated.
3358         * Makeconfig (+link-static-before-libc): Don't include
3359         $(link-static-libc).
3361         * libio/libio.h (_IO_pos_t): Remove.
3363 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
3365         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
3366         McGrath.
3368 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
3370         * crypt/crypt-entry.c: Include fips-private.h.
3371         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
3372         * crypt/md5c-test.c (main): Tolerate disabled MD5.
3373         * sysdeps/unix/sysv/linux/fips-private.h: New file.
3374         * sysdeps/generic/fips-private.h: New file, dummy fallback.
3376 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
3378         * crypt/crypt-private.h: Include stdbool.h.
3379         (_ufc_setup_salt_r): Return bool.
3380         * crypt/crypt-entry.c: Include errno.h.
3381         (__crypt_r): Return NULL with EINVAL for bad salt.
3382         * crypt/crypt_util.c (bad_for_salt): New.
3383         (_ufc_setup_salt_r): Check that salt is long enough and within
3384         the specified alphabet.
3385         * crypt/badsalttest.c: New file.
3386         * crypt/Makefile (tests): Add it.
3387         ($(objpfx)badsalttest): New.
3389 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
3391         * NEWS: Add entry for BZ #14602.
3393 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
3395         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
3396         type-generic.
3397         * math/libm-test.inc: Update comment listing what functions and
3398         macros are tested.
3399         (isgreater_test): New function.
3400         (isgreaterequal_test): Likewise.
3401         (isless_test): Likewise.
3402         (islessequal_test): Likewise.
3403         (islessgreater_test): Likewise.
3404         (isunordered_test): Likewise.
3405         (main): Call the new functions.
3407 2012-10-09  Roland McGrath  <roland@hack.frob.com>
3409         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
3410         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
3411         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
3412         * sysdeps/i386/configure: Regenerated.
3413         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
3414         * sysdeps/mach/configure: Regenerated.
3415         * sysdeps/mach/hurd/configure: Regenerated.
3416         * sysdeps/powerpc/configure: Regenerated.
3417         * sysdeps/powerpc/powerpc32/configure: Regenerated.
3418         * sysdeps/powerpc/powerpc64/configure: Regenerated.
3419         * sysdeps/s390/s390-32/configure: Regenerated.
3420         * sysdeps/s390/s390-64/configure: Regenerated.
3421         * sysdeps/sh/configure: Regenerated.
3422         * sysdeps/sparc/configure: Regenerated.
3423         * sysdeps/unix/sysv/linux/configure: Regenerated.
3424         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3425         * sysdeps/x86_64/configure: Regenerated.
3427         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
3428         defined.  Don't check if MAP is NULL.
3430 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
3432         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
3433         (_G_stat64): Likewise.
3434         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
3435         (_G_stat64): Likewise.
3436         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
3437         instead of struct _G_stat64.
3438         * libio/fileops.c (mmap_remap_check): Likewise.
3439         (decide_maybe_mmap): Likewise.
3440         (_IO_new_file_seekoff): Likewise.
3441         (_IO_file_stat): Likewise.
3442         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
3443         _G_off64_t.
3444         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
3445         instead of struct _G_stat64.
3446         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3448 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
3450         [BZ #14602]
3451         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3452         Replace with ...
3453         (CHECK_EOL): New macro.
3454         (two_way_short_needle): Check beginning of haystack for EOL.  Use
3455         CHECK_EOL.
3456         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3457         Replace with CHECK_EOL.
3458         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3459         Replace with CHECK_EOL.
3461 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
3463         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
3464         type-generic.
3465         * math/libm-test.inc: Update comment listing what functions and
3466         macros are tested.
3467         (finite_test): New function.
3468         (isinf_test): Likewise.
3469         (isnan_test): Likewise.
3470         (fpclassify_test): Test subnormal input.
3471         (isfinite_test): Likewise.
3472         (isnormal_test): Likewise.
3473         (main): Call the new functions.
3475 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
3477         [BZ #14660]
3478         * Makerules (%.dynsym): Force C locale when running
3479         $(OBJDUMP) --dynamic-syms.
3481 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
3483         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
3484         <stdint.h>.
3486 2012-10-06  David S. Miller  <davem@davemloft.net>
3488         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
3489         upper 32-bits of the length value in %o2 since we use branch-on-register
3490         tests which consider the entire 64-bit register.
3492 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
3494         * string/test-strstr.c (check2): Add a test for page boundary.
3496 2012-10-05  David S. Miller  <davem@davemloft.net>
3498         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
3499         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
3500         file.
3501         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3502         sysdep_routines.
3503         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3504         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
3505         and bzero when HWCAP_SPARC_CRYPTO is present.
3507 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
3509         [BZ #14602]
3510         * string/test-strstr.c (check2): New function.
3511         (test_main): Call check2.
3513         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
3514         and bug-strchr1.
3515         * string/bug-strcasestr1.c (do_test): Moved to ...
3516         * string/test-strcasestr.c (check1): Here.  New function.
3517         (do_one_test): Break out result checking code into ...
3518         (check_result): This.  New function.
3519         (do_one_test): Call check_result.
3520         (test_main): Call check1.
3521         * string/bug-strchr1.c (do_test): Moved to ...
3522         * string/test-strchr.c (check1): Here.  New function.
3523         (do_one_test): Break out result checking code into ...
3524         (check_result): This.  New function.
3525         (do_one_test): Call check_result.
3526         (test_main): Call check1.
3527         * string/bug-strstr1.c (main): Moved to ...
3528         * string/test-strchr.c (check1): Here.  New function.
3529         (do_one_test): Break out result checking code into ...
3530         (check_result): This.  New function.
3531         (do_one_test): Call check_result.
3532         (test_main): Call check1.
3533         * string/bug-strcasestr1.c: Removed.
3534         * string/bug-strchr1.c: Likewise.
3535         * string/bug-strstr1.c: Likewise.
3537         * elf/Makefile (dl-routines): Add hwcaps.
3538         * elf/dl-support.c (_dl_important_hwcaps): Removed.
3539         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
3540         (_dl_important_hwcaps): Moved to ...
3541         * elf/dl-hwcaps.c: Here.  New file.
3542         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
3544         [BZ #14557]
3545         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
3546         if IS_IN_rtld isn't defined.
3548         * elf/dl-support.c (_dl_sysinfo_map): New.
3549         Include "get-dynamic-info.h" and "setup-vdso.h".
3550         (_dl_non_dynamic_init): Call setup_vdso.
3551         * elf/dynamic-link.h: Don't include <assert.h>.
3552         (elf_get_dynamic_info): Moved to ...
3553         * elf/get-dynamic-info.h: Here.  New file.
3554         * elf/dynamic-link.h: Include "get-dynamic-info.h".
3555         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
3556         * elf/setup-vdso.h: Here.  New file.
3557         * elf/rtld.c: Include "setup-vdso.h".
3558         (dl_main): Call setup_vdso.
3560 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
3562         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
3563         creal in comment listing functions tested.  List finite, isinf,
3564         isnan, isless, islessequal, isgreater, isgreaterequal,
3565         islessgreater, isunordered, lgamma_r and pow10 as functions and
3566         macros not tested.  Mention which functions not tested are aliases
3567         for other functions.  Fix typo.  Note that signs of NaNs are not
3568         tested.
3570         * scripts/config.guess: Update from config.git.
3571         * scripts/config.sub: Likewise.
3573 2012-10-04  Roland McGrath  <roland@hack.frob.com>
3575         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
3576         * misc/madvise.c (madvise): Renamed to __madvise.
3577         Make madvise a weak alias.
3578         * include/sys/mman.h: Declare __madvise.
3579         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
3580         * sysdeps/unix/syscalls.list
3581         (madvise): Make __madvise the strong name, and madvise a weak alias.
3582         * sysdeps/unix/sysv/linux/syscalls.list
3583         (madvise, mmap): Remove redundant entries.
3584         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
3585         * malloc/malloc.c (mtrim): Likewise.
3586         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
3588 2012-10-03  Roland McGrath  <roland@hack.frob.com>
3590         * sysdeps/mach/hurd/dl-cache.c: File removed.
3591         * config.h.in (USE_LDCONFIG): New #undef.
3592         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
3593         * configure: Regenerated.
3594         * elf/Makefile (dl-routines): Add dl-cache only under
3595         [$(use-ldconfig) = yes].
3596         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
3597         cache on [USE_LDCONFIG].
3598         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
3599         [USE_LDCONFIG].
3600         * elf/rtld.c (dl_main): Likewise.
3602 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
3604         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
3605         _SC_LEVEL4_CACHE_LINESIZE.
3607 2012-10-03  Roland McGrath  <roland@hack.frob.com>
3609         * sysdeps/unix/bsd/confstr.h: File removed.
3611 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
3613         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
3614         sys/sdt-config.h.
3616 2012-10-02  Roland McGrath  <roland@hack.frob.com>
3618         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
3619         Make 'mapoff' field ElfW(Off) rather than off_t.
3621 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
3623         * nscd/Makefile: Remove nscd-cflags and all its users.
3624         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
3625         (CFLAGS-nonlib): Add compiler flags for nscd modules.
3627         [BZ #10631]
3628         * malloc.c (malloc_printerr): Clarify error message.
3630 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
3632         [BZ #14648]
3633         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3634         Set bit_FMA_Usable if FMA is supported.
3635         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
3636         macro.
3637         (bit_FMA4_Usable): Updated.
3638         (index_FMA_Usable): New macro.
3639         (CPUID_FMA): Likewise
3640         (HAS_FMA): Defined with bit_FMA_Usable.
3642 2012-10-01  Roland McGrath  <roland@hack.frob.com>
3644         * bits/types.h (__swblk_t): Type removed.
3645         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
3646         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
3647         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3648         (__SWBLK_T_TYPE): Likewise.
3649         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3650         (__SWBLK_T_TYPE): Likewise.
3651         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3652         (__SWBLK_T_TYPE): Likewise.
3653         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3654         (__SWBLK_T_TYPE): Likewise.
3656 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
3657             Honza Horak <hhorak@redhat.com>
3659         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
3660         (xdr_mapname): Use YPMAXMAP as maxsize.
3661         (xdr_peername): Use YPMAXPEER as maxsize.
3662         (xdr_keydat): Use YPAXRECORD as maxsize.
3663         (xdr_valdat): Use YPMAXRECORD as maxsize.
3665 2012-10-01  Roland McGrath  <roland@hack.frob.com>
3667         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
3669         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
3670         * csu/init-first.c: ... here.
3671         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
3672         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3673         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
3674         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3675         * sysdeps/i386/init-first.c: File removed.
3676         * sysdeps/sh/init-first.c: File removed.
3678 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
3680         [BZ #14645]
3681         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
3682         if x * y might underflow to zero and z is zero.
3683         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3684         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3685         * math/libm-test.inc (min_subnorm_value): New variable.
3686         (fma_test): Add more tests.
3687         (fma_test_towardzero): Likewise.
3688         (fma_test_downward): Likewise
3689         (fma_test_upward): Likewise.
3690         (initialize): Set min_subnorm_value.
3692 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
3694         [BZ #14638]
3695         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
3696         0 + 0.
3697         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
3698         mode for addition resulting in exact zero.
3699         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
3700         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
3701         exact 0 + 0.
3702         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3703         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3704         * math/libm-test.inc (fma_test): Add more tests.
3705         (fma_test_towardzero): New function.
3706         (fma_test_downward): Likewise.
3707         (fma_test_upward): Likewise.
3708         (main): Call the new functions.
3710 2012-09-28  David S. Miller  <davem@davemloft.net>
3712         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
3714 2012-09-28  Roland McGrath  <roland@hack.frob.com>
3716         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
3717         instead of SIGALRM.
3719         * sysdeps/gnu/_G_config.h: Moved to ...
3720         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
3721         * sysdeps/mach/hurd/_G_config.h: Moved to ...
3722         * sysdeps/generic/_G_config.h: ... here.
3724         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
3726         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
3728         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
3729         Conditionalize target on [libnss_test1.so-version].
3731         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
3733         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
3734         (elfobjdir): Move out of conditionals.
3736         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
3737         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
3738         (__nss_lookup_function): Conditionalize label remove_from_tree on
3739         [!DO_STATIC_NSS || SHARED], matching its only use.
3741 2012-09-28  David S. Miller  <davem@davemloft.net>
3743         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
3744         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
3745         file.
3746         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3747         sysdep_routines.
3748         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3749         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
3750         when HWCAP_SPARC_CRYPTO is present.
3752 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
3754         * io/tst-mknodat.c: Create a FIFO instead of a socket.
3756 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
3758         [BZ #6530]
3759         * stdio-common/vfprintf.c (process_string_arg): Revert
3760         2000-07-22 change.
3762 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
3764         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
3765         for testcase.
3766         * stdio-common/tst-sprintf.c: Include <locale.h>
3767         (main): Test sprintf's handling of incomplete multibyte
3768         characters.
3770 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
3772         * elf/dl-runtime.c (VERSYMIDX): Removed.
3773         * elf/dl-version.c (VERSYMIDX): Likewise.
3774         * elf/do-rel.h (VERSYMIDX): Likewise.
3775         (VALIDX): Likewise.
3776         * elf/dynamic-link.h (VERSYMIDX): Likewise.
3777         * elf/rtld.c (VALIDX): Likewise.
3778         (ADDRIDX): Likewise.
3779         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
3780         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
3781         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
3782         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
3783         (VALIDX): Likewise.
3784         (ADDRIDX): Likewise.
3786 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
3788         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
3790 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
3792         [BZ #11438]
3793         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
3794         to global scope.
3795         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
3796         addresses are in the same scope as 192.0.2/24.
3797         * posix/gai.conf: Document new scope table defaults.
3799 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3801         [BZ #5298]
3802         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
3803         for ftell.  Compute offsets from write pointers instead.
3804         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3806 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3808         [BZ #14543]
3809         * libio/Makefile (tests): New test case tst-fseek.
3810         * libio/tst-fseek.c: New test case to verify that fseek/ftell
3811         combination works in wide mode.
3812         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
3813         state when the external buffer state changes.
3815 2012-09-27  David S. Miller  <davem@davemloft.net>
3817         [BZ #14376]
3818         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
3819         pass reloc->r_addend in as the 'high' argument to
3820         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
3822         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3824 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
3826         * rt/tst-aio2.c: Include <pthread.h>.
3827         * rt/tst-aio3.c: Likewise.
3829 2012-09-27  Steve Ellcey  <sellcey@mips.com>
3831         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
3833 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
3835         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
3836         contents on [SHARED].
3838 2012-09-26  Marek Polacek  <polacek@redhat.com>
3840         [BZ #14530]
3841         [BZ #13741]
3842         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
3843         for C++ and GCC <4.3 as well as for non GCC compilers.
3845 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
3847         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3849 2012-09-25  Roland McGrath  <roland@hack.frob.com>
3851         * Makefile.in (all, install): Declare with .PHONY.
3852         Reported by Michael Hope <michael.hope@linaro.org>.
3854 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3856         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
3857         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
3858         system header.
3859         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
3860         Likewise.
3861         (sydep_routines): Add the new and the internal functions.
3862         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
3863         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
3864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
3865         (GLIBC_2.17): Add the new function.
3866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3867         (GLIBC_2.17): Likewise.
3868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3869         (GLIBC_2.17): Likewise.
3870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
3871         (GLIBC_2.17): Likewise.
3872         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
3874 2012-09-25  Alan Modra  <amodra@gmail.com>
3876         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
3877         Add release barrier before setting once_control to say
3878         initialisation is done.  Add hints on lwarx.  Use macro in
3879         place of isync.
3880         (clear_once_control): Add release barrier.
3882 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
3884         [BZ #13629]
3885         * math/s_clog.c (__clog): Handle more values close to |z| = 1
3886         specially.
3887         * math/s_clog10.c (__clog10): Likewise.
3888         * math/s_clog10f.c (__clog10f): Likewise.
3889         * math/s_clog10l.c (__clog10l): Likewise.
3890         * math/s_clogf.c (__clogf): Likewise.
3891         * math/s_clogl.c (__clogl): Likewise.
3892         * math/Makefile (libm-calls): Add x2y2m1.
3893         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
3894         (__x2y2m1): Likewise.
3895         (__x2y2m1l): Likewise.
3896         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
3897         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
3898         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3899         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3900         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
3901         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
3902         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
3903         * sysdeps/i386/fpu/libm-test-ulps: Update.
3904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3906         [BZ #14621]
3907         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
3908         int as type of variable DEPTH.
3909         (glob): Use size_t instead of int as type of variables NEWCOUNT
3910         and OLD_PATHC.
3912 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
3914         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3915         Add s_sincosf-sse2.
3916         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
3917         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
3918         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
3919         macros for using routine as __sincosf_ia32.
3920         Use macro for function declaration and weak_alias.
3921         * sysdeps/i386/fpu/libm-test-ulps: Update.
3923         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
3924         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3926         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
3927         subnormal argument.
3928         * math/s_cexpf.c (__cexpf): Likewise.
3929         * math/s_csinf.c (__csinf): Likewise.
3930         * math/s_csinhf.c (__csinhf): Likewise.
3931         * math/s_ctanf.c (__ctanf): Likewise.
3932         * math/s_ctanhf.c (__ctanhf): Likewise.
3933         * math/s_ccosh.c (__ccoshf): Likewise.
3934         * math/s_cexp.c (__cexpl): Likewise.
3935         * math/s_csin.c (__csin): Likewise.
3936         * math/s_csinh.c (__csinh): Likewise.
3937         * math/s_ctan.c (__ctan): Likewise.
3938         * math/s_ctanh.c (ctanh): Likewise.
3939         * math/s_ccoshl.c (__ccoshl): Likewise.
3940         * math/s_cexpl.c (__cexpl): Likewise.
3941         * math/s_csinl.c (__csinl): Likewise.
3942         * math/s_csinhl.c (__csinhl): Likewise.
3943         * math/s_ctanl.c (__ctanl): Likewise.
3944         * math/s_ctanhl.c (__ctanhl): Likewise.
3946 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
3948         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
3949         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
3950         (_IO_off_t): Define to __off_t, not _G_off_t.
3951         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
3952         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
3953         (_IO_wint_t): Define to wint_t, not _G_wint_t.
3954         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
3955         type of __dummy and __dummy2 fields.
3956         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
3957         (_G_ssize_t): Likewise.
3958         (_G_off_t): Likewise.
3959         (_G_pid_t): Likewise.
3960         (_G_uid_t): Likewise.
3961         (_G_wchar_t): Likewise.
3962         (_G_wint_t): Likewise.
3963         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
3964         (_G_ssize_t): Likewise.
3965         (_G_off_t): Likewise.
3966         (_G_pid_t): Likewise.
3967         (_G_uid_t): Likewise.
3968         (_G_wchar_t): Likewise.
3969         (_G_wint_t): Likewise.
3970         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
3971         (_G_ssize_t): Likewise.
3972         (_G_off_t): Likewise.
3973         (_G_pid_t): Likewise.
3974         (_G_uid_t): Likewise.
3975         (_G_wchar_t): Likewise.
3976         (_G_wint_t): Likewise.
3978 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
3980         * malloc/arena.c: Include malloc-sysdep.h.
3981         (shrink_heap): Use check_may_shrink_heap to decide if madvise
3982         is sufficient to shrink the heap or an unmap is needed.
3983         * sysdeps/generic/malloc-sysdep.h: New file.  Define
3984         new function check_may_shrink_heap.
3985         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
3986         new function check_may_shrink_heap.
3988 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
3990         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
3991         comments.
3993 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
3995         * catgets/test-gencat.sh: Add "set -e".
3996         * elf/tst-pathopt.sh: Likewise.
3997         * grp/tst_fgetgrent.sh: Likewise.
3998         * iconvdata/run-iconv-test.sh: Likewise.
3999         * intl/tst-gettext.sh: Likewise.
4000         * intl/tst-gettext2.sh: Likewise.
4001         * intl/tst-gettext4.sh: Likewise.
4002         * intl/tst-gettext6.sh: Likewise.
4003         * intl/tst-translit.sh: Likewise.
4004         * io/ftwtest-sh: Likewise.
4005         * libio/test-freopen.sh: Likewise.
4006         * malloc/tst-mtrace.sh: Likewise.
4007         * posix/globtest.sh: Likewise.
4008         * posix/tst-getconf.sh: Likewise.
4009         * posix/wordexp-tst.sh: Likewise.
4010         * stdio-common/tst-printf.sh: Likewise.
4011         * stdio-common/tst-unbputc.sh: Likewise.
4012         * stdlib/tst-fmtmsg.sh: Likewise.
4013         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
4014         * catgets/Makefile: Do not specify -e option when running
4015         testsuite shell scripts.
4016         * elf/Makefile: Likewise.
4017         * grp/Makefile: Likewise.
4018         * iconvdata/Makefile: Likewise.
4019         * intl/Makefile: Likewise.
4020         * io/Makefile: Likewise.
4021         * libio/Makefile: Likewise.
4022         * malloc/Makefile: Likewise.
4023         * posix/Makefile: Likewise.
4024         * stdio-common/Makefile: Likewise.
4025         * stdlib/Makefile: Likewise.
4026         * sysdeps/x86_64/Makefile: Likewise.
4028         * io/ftwtest-sh: Add copyright header.
4029         * posix/globtest.sh: Likewise.
4030         * posix/tst-getconf.sh: Likewise.
4031         * posix/wordexp-tst.sh: Likewise.
4032         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
4034 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
4036         [BZ #13679]
4037         * Makeconfig (+link): Defined as $(+link-static) if
4038         $(build-shared) isn't yes.
4039         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
4040         isn't yes.
4041         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
4043         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
4045         [BZ #14562]
4046         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
4047         new chunk size with MALLOC_ALIGN_MASK.
4049 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
4051         [BZ #5044]
4052         * stdio-common/printf_fphex.c: Include <stdbool.h> and
4053         <rounding-mode.h>.
4054         (__printf_fphex): Determine rounding using get_rounding_mode and
4055         round_away.
4056         * stdio-common/tst-printf-round.c (struct hex_test): New
4057         structure.
4058         (hex_tests): New variable.
4059         (test_hex_in_one_mode): New function.
4060         (do_test): Also run tests for hex float output.
4062 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
4064         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4065         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4066         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
4067         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4068         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4069         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
4070         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4071         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4073 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
4075         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
4076         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
4077         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
4078         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
4080 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
4082         [BZ #14579]
4083         * elf/rtld.c (dl_main): Limit the check for self loading to normal
4084         mode only.
4085         * elf/tst-rtld-load-self.sh: New test.
4086         * elf/Makefile: Run it.
4088 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
4090         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
4091         (tst-writev-ENV): Remove.
4092         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
4094 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
4096         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
4098 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
4100         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
4101         unconditional.
4102         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
4103         Likewise.
4104         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
4105         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
4106         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
4107         Likewise.
4109 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
4111         [BZ #14587]
4112         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
4113         * config.make.in (have-cpp-asm-debuginfo): Removed.
4114         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
4115         * configure: Regenerated.
4117 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
4119         [BZ #5044]
4120         * stdio-common/printf_fp.c: Include <stdbool.h> and
4121         <rounding-mode.h>.
4122         (___printf_fp): Determine rounding using get_rounding_mode and
4123         round_away.
4124         * stdio-common/tst-printf-round.c: New file.
4125         * stdio-common/Makefile (tests): Add tst-printf-round.
4126         (link-libm): New variable.
4127         ($(objpfx)tst-printf-round): Depend in $(link-libm).
4129 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
4131         [BZ #14576]
4132         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
4133         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
4134         Likewise.
4135         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
4136         Likewise.
4138 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
4140         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
4141         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4142         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4143         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4145 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
4147         [BZ #14518]
4148         * include/rounding-mode.h: New file.
4149         * sysdeps/generic/get-rounding-mode.h: Likewise.
4150         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
4151         * stdlib/strtod_l.c: Include <rounding-mode.h>.
4152         (MAX_VALUE): New macro.
4153         (MIN_VALUE): Likewise.
4154         (overflow_value): New function.
4155         (underflow_value): Likewise.
4156         (round_and_return): Use overflow_value and underflow_value to
4157         determine return values in overflow and underflow cases.  Use
4158         round_away to determine rounding depending on rounding mode.
4159         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
4160         determine return values in overflow and underflow cases.
4161         * stdlib/tst-strtod-round.c: Include <fenv.h>.
4162         (struct test_results): New structure.
4163         (struct test): Use struct test_results to store expected results
4164         for all rounding modes.
4165         (TEST): Include expected results for all rounding modes.
4166         (test_in_one_mode): New function.
4167         (do_test): Use test_in_one_mode to compute and check results.
4168         Check results for all rounding modes.
4169         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
4170         $(link-libm).
4172 2012-12-09  Allan McRae  <allan@archlinux.org>
4174         * sysdeps/i386/fpu/libm-test-ulps: Update
4176 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
4178         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
4179         (_G_int32_t): Likewise.
4180         (_G_uint16_t): Likewise.
4181         (_G_uint32_t): Likewise.
4182         (_G_HAVE_BOOL): Likewise.
4183         (_G_HAVE_ATEXIT): Likewise.
4184         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4185         (_G_HAVE_IO_FILE_OPEN): Likewise.
4186         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
4187         (_G_int32_t): Likewise.
4188         (_G_uint16_t): Likewise.
4189         (_G_uint32_t): Likewise.
4190         (_G_HAVE_BOOL): Likewise.
4191         (_G_HAVE_ATEXIT): Likewise.
4192         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4193         (_G_HAVE_IO_FILE_OPEN): Likewise.
4194         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
4195         (_G_int32_t): Likewise.
4196         (_G_uint16_t): Likewise.
4197         (_G_uint32_t): Likewise.
4198         (_G_HAVE_BOOL): Likewise.
4199         (_G_HAVE_ATEXIT): Likewise.
4200         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4201         (_G_HAVE_IO_FILE_OPEN): Likewise.
4203 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
4205         * csu/libc-tls.c: Update copyright years.
4207 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
4209         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
4210         [!_G_USING_THUNKS]: Remove conditional code.
4211         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
4212         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
4214         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
4215         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
4216         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4217         (_G_VTABLE_LABEL_PREFIX): Likewise.
4218         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4219         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4220         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4221         (_G_VTABLE_LABEL_PREFIX): Likewise.
4222         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4223         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4224         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4225         (_G_VTABLE_LABEL_PREFIX): Likewise.
4226         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4228 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
4230         * libio/Makefile: Include ../Makeconfig before tests.
4231         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
4232         only if $(build-shared) is yes.
4234         * iconv/gconv_db.c: Update copyright years.
4236 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4238         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
4239         unwind info if defined PIC. Fix special cases description.
4240         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
4242         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
4243         DP_HI_MASK entry.
4244         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
4246 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
4248         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
4250         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
4251         is NULL.
4253         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
4254         (LDLIBS-tst-chk4): This.
4255         (LDFLAGS-tst-chk5): Renamed to ...
4256         (LDLIBS-tst-chk5): This.
4257         (LDFLAGS-tst-chk6): Renamed to ...
4258         (LDLIBS-tst-chk6): This.
4259         (LDFLAGS-tst-lfschk4): Renamed to ...
4260         (LDLIBS-tst-lfschk4): This.
4261         (LDFLAGS-tst-lfschk5): Renamed to ...
4262         (LDLIBS-tst-lfschk5): This.
4263         (LDFLAGS-tst-lfschk6): Renamed to ...
4264         (LDLIBS-tst-lfschk6): This.
4266         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
4267         on $(common-objpfx)soversions.mk.
4269 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
4271         [BZ #10014]
4272         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
4273         example host name.
4275 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
4277         * malloc/arena.c (arena_get_retry): New function that gets
4278         another arena for the caller to try its request on.
4279         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
4280         current arena cannot fulfill the request.
4281         (__libc_memalign): Likewise.
4282         (__libc_memalign): Likewise.
4283         (__libc_pvalloc): Likewise.
4284         (__libc_calloc): Likewise.
4286 2012-09-05  John Tobey  <john.tobey@gmail.com>
4288         [BZ #13542]
4289         * manual/arith.texi (Operations on Complex): Fix description
4290         of carg branch cut.
4292 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
4294         [BZ #10014]
4295         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
4296         host name.
4298         [BZ #10038]
4299         * manual/memory.texi (Memory): Make order of menu items match
4300         order of sections.
4302 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
4304         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
4305         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
4306         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
4308 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
4310         * csu/libc-tls.c (static_dtv): Renamed to ...
4311         (_dl_static_dtv): This.  Make it global.
4312         (_dl_initial_dtv): Removed.
4313         (__libc_setup_tls): Updated.
4314         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
4315         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
4316         DL_INITIAL_DTV.
4318 2012-09-06  Petr Machata  <pmachata@redhat.com>
4320         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
4321         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
4322         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
4323         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
4325 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
4327         [BZ #14545]
4328         * csu/libc-tls.c (_dl_initial_dtv): New variable.
4329         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
4330         freeing dtv[-1].
4332 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
4334         [BZ #14544]
4335         * Makeconfig (link-static-before-libc): Replace $(+prector)
4336         with $(+prectorT).
4337         (link-static-after-libc): Replace $(+postctor) with
4338         $(+postctorT).
4339         (link-bounded): Replace $(+prector)/$(+postctor) with
4340         $(+prectorT)/$(+postctorT).
4341         (+prectorT): New macro.
4342         (+postctorT): Likewise.
4344 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
4346         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
4347         (round_str): Handle values above the maximum for IBM long double
4348         as inexact.
4349         * stdlib/tst-strtod-round.c (tests): Regenerated.
4351 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4353         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
4354         assembler flag.
4355         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
4356         zarch_nohighgprs around the zarch optimized routines.
4357         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4358         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4359         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
4360         for zarch.
4362 2012-09-05  David S. Miller  <davem@davemloft.net>
4364         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4366         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
4367         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
4368         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
4369         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
4370         entries.
4372 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
4374         * malloc/arena.c: Fold copyright years.
4375         * malloc/mcheck.c, malloc/memusage.c: Likewise.
4377 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
4379         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
4381 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
4383         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
4385 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
4387         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
4388         change internal state upon failure.
4390 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
4392         * malloc/mcheck.c (mcheck_check_all): Fix typo.
4393         * malloc/memusage.c (mmap): Likewise.
4394         (mmap64, mremap): Likewise.  Adjust name in comment.
4396 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
4398         * libio/fileops.c: Fix typos in comments.
4399         * libio/oldfileops.c: Likewise.
4400         * libio/wfileops.c: Likewise.
4402 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
4404         [BZ #1349]
4405         * malloc/Makefile (tests): Add tst-malloc-usable test case.
4406         (tst-malloc-usable-ENV): Set environment for test case.
4407         * malloc/hooks.c (malloc_check_get_size): New function to get
4408         requested size.
4409         * malloc/malloc.c (musable): Use malloc_check_get_size.
4410         * malloc/tst-malloc-usable.c: New test case.
4412 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
4414         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
4416 2012-09-05  Allan McRae  <allan@archlinux.org>
4418         [BZ #13966]
4419         * configure.in (CXX_SYSINCLUDES): Use compiler output to
4420         determine header location.
4421         * configure: Regenerated.
4423 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
4425         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
4426         float format.
4427         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
4428         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
4429         format.
4430         (test): Regenerate.
4432 2012-09-04  David S. Miller  <davem@davemloft.net>
4434         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
4435         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
4436         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
4438 2012-09-04  Florian Weimer  <fweimer@redhat.com>
4440         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
4441         failures.
4443         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
4445 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
4447         [BZ #9914]
4448         * libio/iogetdelim.c: Include <limits.h>.
4449         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
4450         + len + 1 would overflow.
4452 2012-09-03  Andreas Jaeger  <aj@suse.de>
4454         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4455         * sysdeps/i386/fpu/libm-test-ulps: Update.
4457 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4459         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4460         Add s_sinf-sse2, s_conf-sse2.
4462         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
4463         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
4464         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
4465         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
4467         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
4468         for using routine as __sinf_ia32.
4469         Use macro for function declaration and weak_alias.
4470         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
4471         for using routine as __cosf_ia32.
4472         Use macro for function declaration and weak_alias.
4474         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
4475         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
4477         * sysdeps/x86_64/fpu/s_sinf.S: New file.
4478         * sysdeps/x86_64/fpu/s_cosf.S: New file.
4479         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4481         * math/libm-test.inc (cos_test): Add more test cases.
4482         (sin_test): Likewise.
4483         (sincos_test): Likewise.
4485 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4487         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
4488         (IFUNC_RESOLVE): Make pointers to the specialized implementations
4489         hidden.
4490         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4492 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
4494         [BZ #14538]
4495         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
4496         first element of the GOT.
4497         (elf_machine_load_address): Return the difference between
4498         the runtime address of _DYNAMIC and elf_machine_dynamic ().
4500 2012-09-01  Allan McRae  <allan@archlinux.org>
4502         [BZ #13412]
4503         * configure.in (AWK): Require gawk version 3.0 or later.
4504         * configure: Regenerated.
4506 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
4508         * sysdeps/unix/sysv/linux/kernel-features.h
4509         (__ASSUME_POSIX_CPU_TIMERS): Remove.
4510         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4511         [__NR_clock_getres]: Make code unconditional.
4512         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
4513         (clock_getcpuclockid): Remove code left unreachable by removal of
4514         conditionals.
4515         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
4516         code unconditional.
4517         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4518         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4519         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
4520         Make code unconditional.
4521         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4522         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4523         * sysdeps/unix/sysv/linux/clock_settime.c
4524         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
4525         conditional code.
4526         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
4527         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4529 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
4531         [BZ #14476]
4532         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
4533         scripts/test-installation.pl.
4535         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
4536         and $ld_so_version if it is set.
4538 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
4540         [BZ #14516]
4541         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
4542         failure if reading from procfs failed.
4543         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
4545 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
4547         * sysdeps/unix/sysv/linux/kernel-features.h
4548         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
4549         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4550         Remove conditional code.
4551         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4552         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
4553         Remove conditional code.
4554         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4555         * sysdeps/unix/sysv/linux/i386/fxstat.c
4556         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4557         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4558         * sysdeps/unix/sysv/linux/i386/fxstatat.c
4559         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4560         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4561         * sysdeps/unix/sysv/linux/i386/lxstat.c
4562         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4563         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4564         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
4565         Remove conditional code.
4566         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4567         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4568         Remove conditional code.
4569         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4570         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
4571         <kernel-features.h>.
4572         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
4573         Remove.
4574         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
4575         Remove conditional code.
4576         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4577         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
4578         Remove conditional.
4580 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
4582         [BZ #5400]
4583         * NEWS: Add fixed bug number.
4585 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
4587         [BZ #14519]
4588         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
4589         underflowing exponent in case of negative sign.
4590         * stdlib/tst-strtod-round-data: Add more tests.
4591         * stdlib/tst-strtod-round.c (tests): Regenerated.
4593         [BZ #3479]
4594         * stdlib/strtod_l.c (NDIG): Remove.
4595         (HEXNDIG): Likewise.
4596         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
4597         smallest representable value.
4598         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
4599         lie within an exact representation of 1/2 ulp of the result.
4600         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
4601         unconditionally.
4602         (TENS_P9_IDX): Define unconditionally.
4603         (TENS_P9_SIZE): Likewise.
4604         (TENS_P10_IDX): Likewise.
4605         (TENS_P10_SIZE): Likewise.
4606         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
4607         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
4608         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
4609         entries for 10^2^13 and 10^2^14.
4610         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
4611         (TENS_P13_IDX): Define.
4612         (TENS_P13_SIZE): Likewise.
4613         (TENS_P14_IDX): Likewise.
4614         (TENS_P14_SIZE): Likewise.
4615         (_fpioconst_pow10): Change array size to
4616         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
4617         unconditional.
4618         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
4619         1024]: Add entries for 10^2^13 and 10^2^14.
4620         [LAST_POW10 > _LAST_POW10]: Remove #error.
4621         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
4622         (_fpioconst_pow10): Change array size to
4623         FPIOCONST_POW10_ARRAY_SIZE.
4624         * stdlib/gen-fpioconst.c: New file.
4625         * stdlib/gen-tst-strtod-round.c: Likewise.
4626         * stdlib/tst-strtod-round-data: Likewise.
4627         * stdlib/tst-strtod-round.c: Likewise.
4628         * stdlib/Makefile (tests): Add tst-strtod-round.
4630         [BZ #14459]
4631         * stdlib/strtod_l.c: Include <stdint.h>.
4632         (NDEBUG): Do not define.
4633         (round_and_return): Change EXPONENT parameter to type intmax_t.
4634         Rearrange calculations to avoid internal overflow possibilities.
4635         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
4636         Rearrange calculations to avoid internal overflow possibilities.
4637         Assert that number fits inside MPNSIZE limbs.
4638         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
4639         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
4640         calculations and add assertions to avoid internal overflow
4641         possibilities.  Add casts to avoid signed/unsigned operations.
4642         * stdlib/tst-strtod-overflow.c: New file.
4643         * stdlib/Makefile (tests): Add tst-strtod-overflow.
4645 2012-08-25  Marek Polacek  <polacek@redhat.com>
4647         * time/time.h: Fix some typos in comments.
4649 2012-08-23  Roland McGrath  <roland@hack.frob.com>
4651         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
4652         * posix/tst-rfc3484-2.c: Likewise.
4653         * posix/tst-rfc3484-3.c: Likewise.
4655 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
4657         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
4658         (EF_ARM_ABI_FLOAT_HARD): Likewise.
4660 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
4662         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
4663         #include of fxstatat64.c.
4665 2012-08-22  Roland McGrath  <roland@hack.frob.com>
4667         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
4668         * shadow/getspent_r.c: Likewise.
4669         * shadow/getspnam.c: Likewise.
4670         * shadow/getspnam_r.c: Likewise.
4671         * gshadow/getsgent.c: Likewise.
4672         * gshadow/getsgent_r.c: Likewise.
4673         * gshadow/getsgnam.c: Likewise.
4674         * gshadow/getsgnam_r.c: Likewise.
4675         * inet/getnetbyad.c: Likewise.
4676         * inet/getnetbyad_r.c: Likewise.
4677         * inet/getnetbynm.c: Likewise.
4678         * inet/getnetbynm_r.c: Likewise.
4679         * inet/getnetent.c: Likewise.
4680         * inet/getnetent_r.c: Likewise.
4681         * inet/getproto.c: Likewise.
4682         * inet/getproto_r.c: Likewise.
4683         * inet/getprtent.c: Likewise.
4684         * inet/getprtent_r.c: Likewise.
4685         * inet/getprtname.c: Likewise.
4686         * inet/getprtname_r.c: Likewise.
4687         * inet/getrpcbyname.c: Likewise.
4688         * inet/getrpcbyname_r.c: Likewise.
4689         * inet/getrpcbynumber.c: Likewise.
4690         * inet/getrpcbynumber_r.c: Likewise.
4691         * inet/getrpcent.c: Likewise.
4692         * inet/getrpcent_r.c: Likewise.
4693         * inet/getaliasent.c: Likewise.
4694         * inet/getaliasent_r.c: Likewise.
4695         * inet/getaliasname.c: Likewise.
4696         * inet/getaliasname_r.c: Likewise.
4697         * nscd/getgrgid_r.c: Likewise.
4698         * nscd/getgrnam_r.c: Likewise.
4699         * nscd/gethstbyad_r.c: Likewise.
4700         * nscd/gethstbynm3_r.c: Likewise.
4701         * nscd/getpwnam_r.c: Likewise.
4702         * nscd/getpwuid_r.c: Likewise.
4703         * nscd/getsrvbynm_r.c: Likewise.
4704         * nscd/getsrvbypt_r.c: Likewise.
4705         * nscd/gai.c: Likewise.
4707         * configure.in (build_nscd): New substituted variable, set
4708         by --disable-build-nscd and defaults to $use_nscd.
4709         * configure: Regenerated.
4710         * config.make.in (build-nscd): New substituted variable.
4711         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
4712         Change conditional to require [$(build-nscd) = yes] as well.
4713         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
4715         [BZ# 13696]
4716         * configure.in (use_nscd): New substituted variable, set by
4717         --disable-nscd.  If enabled, define USE_NSCD.
4718         * configure: Regenerated.
4719         * config.h.in: Add USE_NSCD.
4720         * config.make.in (use-nscd): New substituted variable.
4721         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
4722         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
4723         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
4724         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
4725         (CFLAGS-getgrnam_r.c): Likewise.
4726         (CFLAGS-initgroups.c): Likewise.
4727         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
4728         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
4729         Variables removed.
4730         * inet/getnetgrent_r.c
4731         (nscd_setnetgrent): New function, broken out of ...
4732         (setnetgrent): ... here.  Call it.
4733         (innetgr): Conditionalize nscd bits on [USE_NSCD].
4734         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
4735         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
4736         * nscd/Makefile (routines, aux): Move definitions after include of
4737         Makeconfig.  Conditionalize on [$(use-nscd) != no].
4738         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
4739         Conditionalize on [USE_NSCD].
4740         (is_nscd, nscd_init_cb): Likewise.
4741         (nss_load_library): Conditionalize init callback on [USE_NSCD].
4742         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
4743         * nss/nss_db/db-init.c: Likewise.
4744         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
4745         [USE_NSCD].
4746         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
4747         (make_request): Use it.
4748         (cache_valid_p): New function.
4749         (__check_pf): Use it.
4750         * NEWS: Add item for --disable-nscd.
4752 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
4754         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
4755         to support sed >= 4.2.1-20-ga9bf076.
4756         * configure: Regenerated.
4758 2012-08-22  Roland McGrath  <roland@hack.frob.com>
4760         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
4761         Conditionalize whole body on [IREL].
4763 2012-08-22  Jeff Law <law@redhat.com>
4765         [BZ #14505]
4766         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
4767         if the family is PF_UNSPEC.
4769 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
4771         * Makerules (lib-version): Rename from V.
4772         (install-lib-nosubdir): Change V to lib-version.
4774 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
4776         [BZ #14252]
4777         * powerpc32/power6/wcschr.c: New file.
4778         * powerpc32/power6/wcscpy.c: New file.
4779         * powerpc32/power6/wcsrchr.c: New file.
4780         * powerpc64/power6/wcschr.c: New file.
4781         * powerpc64/power6/wcscpy.c: New file.
4782         * powerpc64/power6/wcsrchr.c: New file.
4784 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
4786         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
4787         (two_way_short_needle): Use it.
4788         * string/strstr.c (AVAILABLE1_USES_J): Define.
4789         * string/strcasestr.c: Likewise.
4791         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
4792         array references.
4793         * string/strcasestr.c (TOLOWER): Make side-effect safe.
4795         [BZ #11607]
4796         * NEWS: Add an entry.
4797         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
4798         define their defaults.
4799         (two_way_short_needle): Detect end-of-string on-the-fly.
4800         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
4801         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
4802         * string/bug-strcasestr1.c: New test.
4803         * string/Makefile: Run it.
4805 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
4807         [BZ #11607]
4808         * string/str-two-way.h (two_way_short_needle): Optimize matching of
4809         the first character.
4811 2012-08-21  Roland McGrath  <roland@hack.frob.com>
4813         * csu/elf-init.c (__libc_csu_irel): Function removed.
4814         * csu/libc-start.c (apply_irel): New function.
4815         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
4817 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
4819         * sysdeps/unix/sysv/linux/kernel-features.h
4820         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
4821         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
4822         <kernel-features.h>.
4823         [__NR_fadvise64_64]: Make code unconditional.
4824         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
4825         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4826         !__NR_fadvise64_64)]: Likewise.
4827         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4828         !__NR_fadvise64_64))]: Likewise.
4829         [__NR_fadvise64]: Make code unconditional.
4830         [!__NR_fadvise64]: Remove conditional code.
4831         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
4832         <kernel-features.h>.
4833         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4834         unconditional.
4835         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4836         conditional code.
4837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
4838         not include <kernel-features.h>.
4839         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4840         unconditional.
4841         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4842         conditional code.
4843         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
4844         include <kernel-features.h>.
4845         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4846         unconditional.
4847         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4848         conditional code.
4850 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
4852         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
4853         slight instruction rearrangements per scrollpipe analysis.
4854         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4856 2012-08-20  Roland McGrath  <roland@hack.frob.com>
4858         * manual/syslog.texi (syslog; vsyslog, closelog):
4859         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
4860         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
4862         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
4863         DSOCAPS to match condition on defining it.
4865 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
4867         * sysdeps/unix/sysv/linux/kernel-features.h
4868         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
4869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
4870         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4871         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
4873         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4874         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
4876         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4877         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4879         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
4880         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
4882         * sysdeps/unix/sysv/linux/kernel-features.h
4883         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
4884         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
4885         unconditional.
4886         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4887         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
4888         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4889         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4890         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
4891         Make code unconditional.
4892         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4893         (__mmap64) [!__NR_mmap2]: Likewise.
4894         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
4895         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4896         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4897         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
4898         [__NR_mmap2]: Make code unconditional.
4899         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4900         (__mmap64) [!__NR_mmap2]: Likewise.
4902 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4904         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
4906 2012-08-18  Andreas Jaeger  <aj@suse.de>
4908         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
4910 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
4912         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
4913         * include/unistd.h (__have_sock_cloexec): Likewise.
4914         (__have_pipe2): Likewise.
4915         (__have_dup3): Likewise.
4917 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
4919         [BZ #9685]
4920         * include/unistd.h (__have_pipe2): Change define into an extern int.
4921         (__have_dup3): Likewise.
4922         * socket/have_sock_cloexec.c: Include fcntl.h.
4923         (__have_pipe2): New variable.
4924         (__have_dup3): Likewise.
4926 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
4928         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
4930 2012-08-17  Marek Polacek  <polacek@redhat.com>
4932         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
4933         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
4935 2012-08-17  Roland McGrath  <roland@hack.frob.com>
4937         * configure.in: Add AC_SUBST for sysheaders.
4938         * configure: Regenerated.
4939         * config.make.in (sysheaders): New substituted variable.
4941         * sysdeps/unix/mkfifo.c: Moved ...
4942         * sysdeps/posix/mkfifo.c: ... here.
4943         * sysdeps/unix/mkfifoat.c: Moved ...
4944         * sysdeps/posix/mkfifoat.c: ... here.
4946         * sysdeps/unix/utime.c: Moved ...
4947         * sysdeps/posix/utime.c: ... here.
4949         * sysdeps/unix/time.c: Moved ...
4950         * sysdeps/posix/time.c: ... here.
4951         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
4952         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
4954         * sysdeps/unix/nice.c: Moved ...
4955         * sysdeps/posix/nice.c: ... here.
4957         * sysdeps/unix/alarm.c: Moved ...
4958         * sysdeps/posix/alarm.c: ... here.
4960         * intl/Makefile ($(codeset_mo)): Depend on the input file.
4962 2012-08-17  Jeff Law <law@redhat.com>
4964         * intl/Makefile (codeset_mo): New variable.
4965         ($(codeset_mo)): New target.
4966         (tst-codeset.out): Depend on that.  Remove explicit rule.
4967         (tst-gettext3.out, tst-gettext5.out): Likewise.
4968         (LOCPATH-ENV, tst-codeset-ENV): New variables.
4969         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
4970         * intl/tst-codeset.sh: Remove.
4971         * intl/tst-gettext3.sh: Likewise.
4972         * intl/tst-gettext5.sh: Likewise.
4974 2012-08-17  Roland McGrath  <roland@hack.frob.com>
4976         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
4977         * sysdeps/unix/syscalls.list: ... here.
4979         * sysdeps/posix/getaddrinfo.c
4980         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
4981         (gaiconf_init, gaiconf_reload): Use them.
4982         [!_STATBUF_ST_NSEC]
4983         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
4984         Define using time_t rather than struct timespec.
4986         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
4987         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
4988         Macros removed.
4989         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
4990         [!NO_THREADS].
4991         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
4992         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
4993         Likewise.
4995         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
4996         __libc_cleanup_push argument.
4998         * bits/param.h: New file.
4999         * misc/sys/param.h: New file.
5000         * include/sys/param.h: New file.
5001         * misc/Makefile (headers): Add bits/param.h.
5002         * sysdeps/generic/sys/param.h: File removed.
5003         * sysdeps/unix/sysv/linux/bits/param.h: New file.
5004         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
5005         * sysdeps/mach/hurd/bits/param.h: New file.
5006         * sysdeps/mach/hurd/sys/param.h: File removed.
5008         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
5009         last change.
5011         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
5012         [_IO_MTSAFE_IO].
5013         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
5014         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
5015         New macros.
5017         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
5018         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
5019         rather than -D_IO_MTSAFE_IO conditionally.
5020         * stdio-common/Makefile (CPPFLAGS): Likewise.
5021         * wcsmbs/Makefile (CPPFLAGS): Likewise.
5022         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
5023         Use $(libio-mtsafe).
5024         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
5025         of -D_IO_MTSAFE_IO.
5026         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
5027         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
5028         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
5029         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
5030         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
5031         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
5032         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
5033         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
5034         (CFLAGS-fread_u_chk.c): Likewise.
5035         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
5036         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
5037         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
5038         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
5039         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
5040         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
5041         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
5042         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
5043         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
5045         * libio/Makefile: Test [$(libc-reentrant) = yes]
5046         instead of [$(filter %REENTRANT, $(defines)) nonempty].
5048         * Makeconfig
5049         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
5050         * sysdeps/pthread/configure: File removed.
5051         * sysdeps/pthread/Makeconfig: New file.
5052         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
5053         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
5055 2012-08-16  Gary Benson  <gbenson@redhat.com>
5057         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
5058         unmapping the first object in a namespace.
5060 2012-08-16  Roland McGrath  <roland@hack.frob.com>
5062         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
5063         (__internal_setnetgrent): ... this.  Add internal_function to
5064         definition.  Add libc_hidden_def.
5065         (setnetgrent): Update caller.
5066         (internal_endnetgrent): Renamed to ...
5067         (__internal_endnetgrent): ... this.  Add internal_function to
5068         definition.  Add libc_hidden_def.
5069         (endnetgrent): Update caller.
5070         (internal_getnetgrent_r): Renamed to ...
5071         (__internal_getnetgrent_r): ... this.  Add internal_function to
5072         definition.  Add libc_hidden_def.
5073         (__getnetgrent_r): Update caller.
5074         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
5076 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
5078         * stdlib/longlong.h: Update from GCC.
5080 2012-08-16  Roland McGrath  <roland@hack.frob.com>
5082         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
5083         on _QL, which is set by umul_ppmm but never used.
5084         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
5085         variables, which are set by GMP macros but never used.
5086         * stdio-common/_itowa.c (_itowa): Likewise.
5087         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
5088         * stdlib/mod_1.c (mpn_mod_1): Likewise.
5090 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
5092         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
5093         struct La_sh_regs is not constant.
5094         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
5095         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
5096         and struct La_sparc64_regs are not constant.
5098 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
5100         * sysdeps/unix/sysv/linux/kernel-features.h
5101         (__ASSUME_POSIX_TIMERS): Remove.
5102         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5103         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5104         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
5105         Make code unconditional.
5106         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5107         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
5108         Make code unconditional.
5109         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5110         * sysdeps/unix/sysv/linux/clock_nanosleep.c
5111         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
5112         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5113         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
5114         Make code unconditional.
5115         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5116         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
5117         (__libc_missing_posix_timers): Remove.
5119 2012-08-15  Roland McGrath  <roland@hack.frob.com>
5121         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
5122         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
5124         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
5126         * elf/dl-sym.c: Include <stdlib.h>.
5128         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
5129         constants, which avoids warnings in 32-bit builds.
5131         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
5132         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
5134         * misc/lseek.c: File moved to ...
5135         * io/lseek.c: ... here.
5137         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
5139         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
5140         shifting LEN more than 31 bits at once.
5142 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5144         [BZ #14195]
5145         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
5146         segmentation fault for a case of two empty input strings.
5147         * string/test-strncasecmp.c (check1): Renamed to...
5148         (bz12205): ...this.
5149         (bz14195): Add new testcase for two empty input strings and N > 0.
5150         (test_main): Call new testcase, adapt for renamed function.
5152 2012-08-15  Andreas Jaeger  <aj@suse.de>
5154         [BZ #14090]
5155         * crypt/md5test2.c: New test, based on test supplied by Serge
5156         Belyshev <belyshev@depni.sinp.msu.ru>.
5157         * crypt/Makefile (xtests): Add md5test-giant..
5158         * crypt/Makefile ($(objpfx)md5test-giant): Add.
5160 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
5162         [BZ #14090]
5163         * crypt/md5.c (md5_process_block): Don't assume the buffer
5164         length is less than 2**32.
5165         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
5166         length is less than 2**64.
5168 2012-08-15  Roland McGrath  <roland@hack.frob.com>
5170         * string/str-two-way.h: Include <sys/param.h>.
5171         (MAX): Macro removed.
5173         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
5174         Move #define and #undef of memmove to just before and after
5175         including <string.h>.
5177         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
5178         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
5179         and after including <string.h>.  Move declarations of
5180         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
5181         to before #include "string/memmove.c".
5183         * include/dirent.h: Declare __getdirentries.
5185         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
5186         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
5188 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
5190         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
5191         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
5192         * sysdeps/i386/configure: Regenerated.
5193         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
5194         STABS_CURRENT_FILE, and STABS_FUN.
5195         (END): Remove call to STABS_FUN_END.
5196         (STABS_CURRENT_FILE1): Delete.
5197         (STABS_CURRENT_FILE): Likewise.
5198         (STABS_FUN): Likewise.
5199         (STABS_FUN_END): Likewise.
5200         (STABS_FUN2): Likewise.
5201         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
5202         * sysdeps/x86_64/configure: Regenerated.
5204 2012-08-14  Roland McGrath  <roland@hack.frob.com>
5206         * elf/dl-open.c: Include <atomic.h>.
5207         * elf/dl-lookup.c: Likewise.
5209 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
5211         * sysdeps/unix/sysv/linux/kernel-features.h
5212         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
5213         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
5214         unconditionally.
5215         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
5216         unconditionally.
5217         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
5218         condition on __ASSUME_CLONE_THREAD_FLAGS.
5220 2012-08-14  Andreas Jaeger  <aj@suse.de>
5222         * sysdeps/i386/fpu/libm-test-ulps: Update.
5224 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
5226         * include/atomic.h (atomic_exchange_and_add): Split into ...
5227         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
5228         New atomic macros.
5230 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
5232         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5234 2012-08-13  Jeff Law <law@redhat.com>
5236         * manual/stdio.texi (snprintf): Clarify handling of the trailing
5237         null byte in the output string.
5239 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
5241         * sysdeps/unix/sysv/linux/kernel-features.h
5242         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
5243         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
5244         (__ASSUME_ARG_MAX_STACK_BASED): Define.
5245         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5246         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
5247         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
5248         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
5250 2012-08-09  Jeff Law <law@redhat.com>
5252         [BZ #13939]
5253         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
5254         When avoid_arena is set, don't retry in the that arena.  Pick the
5255         next one, whatever it might be.
5256         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
5257         (arena_lock): Pass in new parameter to arena_get2.
5258         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
5259         arena_get2.
5260         (__libc_malloc): Unify retrying after main arena failure with
5261         __libc_memalign version.
5262         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
5264 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
5266         [BZ #14166]
5267         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
5268         to __redirect_strstr.
5269         (__strstr_sse42): Use typeof __redirect_strstr.
5270         (__strstr_ia32): Likewise.
5271         (__libc_strstr): New prototype.
5272         (strstr): Renamed to ...
5273         (__libc_strstr): This.
5274         (strstr): New strong alias of __libc_strstr.
5275         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
5276         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
5277         __redirect_time.
5278         Include <time.h>.
5279         (__libc_time): New prototype.
5280         (time_ifunc): Replace time with __libc_time.
5281         (time): New strong alias and hidden definition of __libc_time.
5282         (__GI_time): Remove strong alias.
5283         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
5284         Include <stddef.h>.
5285         (memmove): Redefined to __redirect_memmove.
5286         (__memmove_sse2): Use typeof __redirect_memmove.
5287         (__memmove_ssse3): Likewise.
5288         (__memmove_ssse3_back): Likewise.
5289         (__libc_memmove): New prototype.
5290         (memmove): Renamed to ...
5291         (__libc_memmove): This.
5292         (memmove): New strong alias of __libc_memmove.
5294 2012-08-08  Mark Salter  <msalter@redhat.com>
5296         * elf/elf.h
5297         (R_MN10300_TLS_GD): Define.
5298         (R_MN10300_TLS_LD): Likewise.
5299         (R_MN10300_TLS_LDO): Likewise.
5300         (R_MN10300_TLS_GOTIE): Likewise.
5301         (R_MN10300_TLS_IE): Likewise.
5302         (R_MN10300_TLS_LE): Likewise.
5303         (R_MN10300_TLS_DTPMOD): Likewise.
5304         (R_MN10300_TLS_DTPOFF): Likewise.
5305         (R_MN10300_TLS_TPOFF): Likewise.
5306         (R_MN10300_SYM_DIFF): Likewise.
5307         (R_MN10300_ALIGN): Likewise.
5308         (R_MN10300_NUM): Update.
5310 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
5312         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
5313         Remove.
5315 2012-08-08  Roland McGrath  <roland@hack.frob.com>
5317         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
5319         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
5320         sysdeps/unix -> sysdeps/posix move.
5321         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5323 2012-08-07      Allan McRae     <allan@archlinux.org>
5325         [BZ #14303]
5326         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
5327         (SUNOS_CPP): Likewise.
5328         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
5329         not found.
5330         (open_input): Call CPP using execvp.
5332 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
5334         * sysdeps/unix/sysv/linux/kernel-features.h
5335         (__ASSUME_PROT_GROWSUPDOWN): Remove.
5336         (__ASSUME_NO_CLONE_DETACHED): Likewise.
5337         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5338         (__ASSUME_WAITID_SYSCALL): Likewise.
5339         * sysdeps/unix/sysv/linux/dl-execstack.c
5340         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
5341         code unconditional.
5342         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
5343         conditional code.
5344         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
5345         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
5346         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
5347         code.
5348         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
5349         unconditional.
5350         [__ASSUME_WAITID_SYSCALL]: Likewise.
5351         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
5353 2012-08-07  Roland McGrath  <roland@hack.frob.com>
5355         * sysdeps/unix/closedir.c: Renamed to ...
5356         * sysdeps/posix/closedir.c: ... here.
5357         * sysdeps/unix/dirfd.c: Renamed to ...
5358         * sysdeps/posix/dirfd.c: ... here.
5359         * sysdeps/unix/dirstream.h: Renamed to ...
5360         * sysdeps/posix/dirstream.h: ... here.
5361         * sysdeps/unix/fdopendir.c: Renamed to ...
5362         * sysdeps/posix/fdopendir.c: ... here.
5363         * sysdeps/unix/opendir.c: Renamed to ...
5364         * sysdeps/posix/opendir.c: ... here.
5365         * sysdeps/unix/readdir.c: Renamed to ...
5366         * sysdeps/posix/readdir.c: ... here.
5367         * sysdeps/unix/readdir_r.c: Renamed to ...
5368         * sysdeps/posix/readdir_r.c: ... here.
5369         * sysdeps/unix/rewinddir.c: Renamed to ...
5370         * sysdeps/posix/rewinddir.c: ... here.
5371         * sysdeps/unix/seekdir.c: Renamed to ...
5372         * sysdeps/posix/seekdir.c: ... here.
5373         * sysdeps/unix/telldir.c: Renamed to ...
5374         * sysdeps/posix/telldir.c: ... here.
5375         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
5376         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
5377         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
5378         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
5380         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
5381         * bits/fcntl.h: ... here.
5383         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
5384         not 0.
5385         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
5386         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
5387         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
5388         (struct flock): Move l_start, l_len to the beginning.
5389         Use __pid_t for l_pid.
5390         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
5391         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
5392         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
5393         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
5394         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
5395         [__USE_LARGEFILE64] (struct flock64): New type.
5396         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
5398         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
5399         * bits/dirent.h: ... here.
5401         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
5402         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
5404 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
5406         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5407         Change from 2.6.0 to 2.6.16.
5408         * sysdeps/unix/sysv/linux/configure: Regenerated.
5409         * sysdeps/unix/sysv/linux/kernel-features.h
5410         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
5411         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
5412         version.
5413         (__ASSUME_UTIMES): Likewise.
5414         (__ASSUME_CLONE_STOPPED): Remove.
5415         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
5416         architectures, not kernel version.
5417         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
5418         (__ASSUME_NO_CLONE_DETACHED): Likewise.
5419         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5420         (__ASSUME_WAITID_SYSCALL): Likewise.
5421         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
5422         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
5423         * README: State 2.6.16 as minimum Linux kernel version.  Do not
5424         refer to older versions.
5426 2012-08-06  Roland McGrath  <roland@hack.frob.com>
5428         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
5429         Define alphasort64 as an alias.
5430         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
5431         Define versionsort64 as an alias.
5432         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
5433         Define scandir64 as an alias.
5434         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
5435         Define scandirat64 as an alias.
5436         * dirent/alphasort64.c (alphasort64):
5437         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
5438         * dirent/versionsort64.c: Likewise.
5439         * dirent/scandir64.c: Likewise.
5440         * dirent/scandirat64.c: Likewise.
5441         * sysdeps/wordsize-64/alphasort.c: File removed.
5442         * sysdeps/wordsize-64/alphasort64.c: File removed.
5443         * sysdeps/wordsize-64/scandir.c: File removed.
5444         * sysdeps/wordsize-64/scandir64.c: File removed.
5445         * sysdeps/wordsize-64/scandirat.c: File removed.
5446         * sysdeps/wordsize-64/scandirat64.c: File removed.
5447         * sysdeps/wordsize-64/versionsort.c: File removed.
5448         * sysdeps/wordsize-64/versionsort64.c: File removed.
5449         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
5450         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
5451         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
5452         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
5453         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
5454         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
5455         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
5456         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
5458         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
5459         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5460         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
5461         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5462         [defined __arch64__ || defined __sparcv9]
5463         (__INO_T_MATCHES_INO64_T): New macro.
5464         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5465         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
5466         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
5467         * sysdeps/unix/sysv/linux/bits/dirent.h
5468         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
5469         (_DIRENT_MATCHES_DIRENT64): New macro.
5471         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
5472         Define lockf64 as an alias.
5473         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
5474         Define fseeko64 as an alias.
5475         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
5476         Define ftello64 as an alias.
5477         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
5478         Define _IO_fgetpos64 and fgetpos64 as aliases.
5479         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
5480         Define _IO_fsetpos64 and fsetpos64 as aliases.
5481         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
5482         Conditionalize body on this.
5483         * libio/fseeko64.c: Likewise.
5484         * libio/ftello64.c: Likewise.
5485         * libio/iofgetpos64.c: Likewise.
5486         * libio/iofsetpos64.c: Likewise.
5487         * sysdeps/wordsize-64/lockf.c: File removed.
5488         * sysdeps/wordsize-64/lockf64.c: File removed.
5489         * sysdeps/wordsize-64/fseeko.c: File removed.
5490         * sysdeps/wordsize-64/fseeko64.c: File removed.
5491         * sysdeps/wordsize-64/ftello.c: File removed.
5492         * sysdeps/wordsize-64/ftello64.c: File removed.
5493         * sysdeps/wordsize-64/iofgetpos.c: File removed.
5494         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
5495         * sysdeps/wordsize-64/iofsetpos.c: File removed.
5496         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
5497         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
5498         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
5499         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
5500         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
5501         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
5502         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
5503         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
5504         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
5505         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
5506         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
5508         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5509         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5510         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
5511         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5512         [defined __arch64__ || defined __sparcv9]
5513         (__OFF_T_MATCHES_OFF64_T): New macro.
5514         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5515         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5516         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5517         (__OFF_T_MATCHES_OFF64_T): New macro.
5519 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
5521         * stdlib/secure-getenv.c (__secure_getenv): Replace
5522         GLIBC_2_16 with GLIBC_2_17.
5524 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
5526         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
5527         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5529 2012-08-03  David S. Miller  <davem@davemloft.net>
5531         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5533 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
5535         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
5536         Remove.
5537         (__ASSUME_CORRECT_SI_PID): Likewise.
5538         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
5539         (__ASSUME_TMPFS_NAME): Likewise.
5540         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
5541         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
5542         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
5543         (HAVE_AUX_SECURE): Make definition unconditional.
5544         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
5545         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
5547 2012-08-03  Roland McGrath  <roland@hack.frob.com>
5549         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
5550         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
5551         * sysdeps/mach/hurd/eloop-threshold.h: New file.
5552         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5553         __eloop_threshold instead of SYMLOOP_MAX.
5555         * sysdeps/generic/eloop-threshold.h: New file.
5556         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
5557         of MAXSYMLINKS.
5558         * elf/chroot_canon.c (chroot_canon): Likewise.
5560 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
5562         [BZ #13717]
5563         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5564         Change to 2.6.0 everywhere.
5565         * sysdeps/unix/sysv/linux/configure: Regenerated.
5566         * sysdeps/unix/sysv/linux/kernel-features.h
5567         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
5568         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
5569         kernel versions.
5570         (__ASSUME_POSIX_TIMERS): Define unconditionally.
5571         (__ASSUME_FUTEX_REQUEUE): Remove.
5572         (__ASSUME_STATFS64): Define unconditionally.
5573         (__ASSUME_AT_SECURE): Likewise.
5574         (__ASSUME_CORRECT_SI_PID): Likewise.
5575         (__ASSUME_TGKILL): Define without depending on kernel version for
5576         i386.
5577         (__ASSUME_UTIMES): Likewise.
5578         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
5579         kernel version.
5580         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
5581         (__ASSUME_TMPFS_NAME): Likewise.
5582         * README: Update reference to Linux kernel versions.
5584 2012-08-02  Marek Polacek  <polacek@redhat.com>
5586         [BZ# 14150]
5587         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
5588         libc_cv_asm_type_prefix with %.
5589         * configure: Regenerated.
5590         * include/libc-symbols.h: Remove comment about
5591         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5592         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
5593         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
5594         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
5595         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
5596         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5597         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
5598         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
5599         * elf/tst-unique2mod1.c: Likewise.
5600         * elf/tst-unique1mod2.c: Likewise.
5601         * elf/tst-unique1mod1.c: Likewise.
5602         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
5603         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
5604         Replace ASM_TYPE_DIRECTIVE with .type.
5605         * sysdeps/s390/s390-64/sysdep.h: Likewise.
5606         * sysdeps/i386/sysdep.h: Likewise.
5607         * sysdeps/x86_64/sysdep.h: Likewise.
5608         * sysdeps/sh/sysdep.h: Likewise.
5609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5610         Do not define ASM_TYPE_DIRECTIVE.
5611         * sysdeps/powerpc/sysdep.h: Likewise.
5612         * sysdeps/powerpc/powerpc32/sysdep.h:
5613         Replace ASM_TYPE_DIRECTIVE with .type.
5614         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5615         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5616         * sysdeps/i386/fpu/e_powf.S: Likewise.
5617         * sysdeps/i386/fpu/e_expl.S: Likewise.
5618         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5619         * sysdeps/i386/fpu/e_acosh.S: Likewise.
5620         * sysdeps/i386/fpu/e_pow.S: Likewise.
5621         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5622         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5623         * sysdeps/i386/fpu/s_expm1.S: Likewise.
5624         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5625         * sysdeps/i386/fpu/e_log2.S: Likewise.
5626         * sysdeps/i386/fpu/e_log2l.S: Likewise.
5627         * sysdeps/i386/fpu/e_scalb.S: Likewise.
5628         * sysdeps/i386/fpu/e_powl.S: Likewise.
5629         * sysdeps/i386/fpu/e_log10f.S: Likewise.
5630         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5631         * sysdeps/i386/fpu/e_logl.S: Likewise.
5632         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5633         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5634         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5635         * sysdeps/i386/fpu/e_log2f.S: Likewise.
5636         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5637         * sysdeps/i386/fpu/e_log.S: Likewise.
5638         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5639         * sysdeps/i386/fpu/e_logf.S: Likewise.
5640         * sysdeps/i386/fpu/e_log10l.S: Likewise.
5641         * sysdeps/i386/fpu/e_atanh.S: Likewise.
5642         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5643         * sysdeps/i386/fpu/e_log10.S: Likewise.
5644         * sysdeps/i386/fpu/s_frexp.S: Likewise.
5645         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5646         * sysdeps/i386/fpu/s_asinh.S: Likewise.
5647         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5648         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5649         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
5650         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5651         * sysdeps/i386/i686/strtok.S: Likewise.
5652         * sysdeps/i386/i386-mcount.S: Likewise.
5653         * sysdeps/i386/strtok.S: Likewise.
5654         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
5655         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5656         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5657         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5658         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5659         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5660         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5661         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5662         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5663         * sysdeps/x86_64/_mcount.S: Likewise.
5664         * sysdeps/x86_64/strtok.S: Likewise.
5665         * sysdeps/sh/_mcount.S: Likewise.
5667 2012-08-01  Roland McGrath  <roland@hack.frob.com>
5669         * libio/iofopen.c: Include <fcntl.h>.
5670         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
5671         (_IO_fopen64, fopen64): Define as aliases.
5672         * libio/iofopen64.c: Include <fcntl.h>.
5673         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
5674         Conditionalize body on this.
5675         * sysdeps/wordsize-64/iofopen.c: File removed.
5676         * sysdeps/wordsize-64/iofopen64.c: File removed.
5678 2012-08-01  Marek Polacek  <polacek@redhat.com>
5680         * libc/Makeconfig: Use elf in place of binfmt-subdir.
5681         Use dlfcn directly instead of a variable.
5682         (binfmt-subdir): Do not define.
5683         (dlfcn): Likewise.
5685 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
5687         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
5688         Remove all definitions.
5689         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
5690         <kernel-features.h>.
5691         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5692         (miss_F_GETOWN_EX): Remove all definitions.
5693         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
5694         macro definition.
5695         [!__ASSUME_FCNTL64]: Remove conditional code.
5696         [__ASSUME_FCNTL64]: Make code unconditional.
5697         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
5698         <kernel-features.h>.
5699         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5700         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
5701         (lockf64) [__NR_fcntl64]: Make code unconditional.
5702         (lockf64) [__ASSUME_FCNTL64]: Likewise.
5704         * sysdeps/unix/sysv/linux/kernel-features.h
5705         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
5706         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
5707         Make code unconditional.
5708         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5709         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
5711         [__NR_vfork]: Make code unconditional.
5712         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5713         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
5715         [__NR_vfork]: Make code unconditional.
5716         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5717         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5719 2012-08-01  Roland McGrath  <roland@hack.frob.com>
5721         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
5722         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
5724         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5725         Define mkstemp64 as an alias.
5726         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5727         Define mkstemps64 as an alias.
5728         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5729         Define mkostemp64 as an alias.
5730         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5731         Define mkostemps64 as an alias.
5732         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
5733         Conditionalize body on this.
5734         * misc/mkostemp64.c: Likewise.
5735         * misc/mkostemps64.c: Likewise.
5736         * misc/mkstemps64.c: Likewise.
5737         * sysdeps/wordsize-64/mkstemp64.c: File removed.
5738         * sysdeps/wordsize-64/mkostemp64.c: File removed.
5739         * sysdeps/wordsize-64/mkostemp.c: File removed.
5740         * sysdeps/wordsize-64/mkstemp.c: File removed.
5741         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
5742         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
5743         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
5744         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
5746         [BZ #14138]
5747         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
5748         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
5749         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
5750         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
5752         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
5753         compat_symbol macros from <shlib-compat.h> rather than the underlying
5754         default_symbol_version and symbol_version macros, so that DEFAULT
5755         lines in shlib-versions are respected.
5756         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
5758 2012-08-01  Florian Weimer  <fweimer@redhat.com>
5760         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
5761         Declare with warn_unused_result.
5762         (setgid, setregid, setegid, setresgid): Likewise.
5763         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
5764         Likewise.
5765         * WUR-REPORT: Remove set*id functions.
5767 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
5769         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
5771 2012-07-31  Roland McGrath  <roland@hack.frob.com>
5773         * include/sys/socket.h (__libc_accept, __libc_accept4):
5774         Add attribute_hidden.
5775         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
5777         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
5778         use of PTR_MANGLE.
5779         * inet/getnetgrent_r.c (setup): Likewise.
5781         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
5783 2012-07-31  David S. Miller  <davem@davemloft.net>
5785         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5787 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
5789         [BZ #13629]
5790         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
5791         value between 1.0 and 2.0 and smaller part has absolute value less
5792         than 1.0.
5793         * math/s_clog10.c (__clog10): Likewise.
5794         * math/s_clog10f.c (__clog10f): Likewise.
5795         * math/s_clog10l.c (__clog10l): Likewise.
5796         * math/s_clogf.c (__clogf): Likewise.
5797         * math/s_clogl.c (__clogl): Likewise.
5798         * math/libm-test.inc (clog_test): Add more tests.
5799         (clog10_test): Likewise.
5800         * sysdeps/i386/fpu/libm-test-ulps: Update.
5801         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5803 2012-07-31  Florian Weimer  <fweimer@redhat.com>
5805         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
5806         Exit with zero in case no suitable GID is found, and write a
5807         message to standard error.
5809 2012-07-30  Roland McGrath  <roland@hack.frob.com>
5811         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
5812         rather than to 1.
5813         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
5814         (MAXPATHLEN): Removed.
5815         (NOGROUP, NODEV): New macros.
5816         (setbit, clrbit, isset, isclr): New macros.
5817         (howmany, roundup, powerof2): New macros.
5818         (DEV_BSIZE): New macro.
5820         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
5821         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
5823         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
5824         definition on [!__NO_LONG_DOUBLE_MATH].
5826         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
5827         PTR_MANGLE and PTR_DEMANGLE.
5829         * socket/accept4.c (accept4): Rename to __libc_accept4.
5830         Define accept4 as a weak alias.
5832         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
5833         on [_DIRENT_HAVE_D_TYPE].
5834         * io/ftw.c (ftw_dir): Likewise.
5836         * io/xmknod.c (__xmknod): Don't check PATH for being null.
5838         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
5840         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
5841         Use the BSD numbers rather than the arbitrary ones we had.
5842         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
5843         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
5844         (SIGXCPU, SIGXFSZ): New macros.
5845         (_NSIG): Now 32.
5847         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
5848         initializer on [_LIBC_REENTRANT].
5850         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
5851         definitions inside [_POSIX_MAPPED_FILES].
5853         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
5855         * dirent/opendir.c: Include <fcntl.h>.
5857         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
5858         (__libc_getspecific): Likewise.
5859         (__libc_key_create): Likewise.
5861         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
5862         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
5863         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
5864         (tmpfile64): Define as alias.
5865         * sysdeps/wordsize-64/tmpfile.c: File removed.
5866         * sysdeps/wordsize-64/tmpfile64.c: File removed.
5867         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
5868         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
5870         * stdio-common/vfscanf.c: Include <stdbool.h>.
5871         * nss/makedb.c: Likewise.
5872         * stdio-common/_i18n_number.h: Likewise.
5873         * argp/argp-help.c: Likewise.
5874         * posix/wordexp.c: Likewise.
5875         * sysdeps/posix/spawni.c: Likewise.
5876         * nss/nss_files/files-initgroups.c: Likewise.
5877         * stdio-common/reg-modifier.c: Include <stdlib.h>.
5878         * nss/nss_files/files-initgroups.c: Likewise.
5879         * nss/nss_db/db-netgrp.c: Likewise.
5880         * nss/nss_db/db-initgroups.c: Likewise.
5881         * io/fchmodat.c: Include <sys/stat.h>.
5883         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
5884         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
5886         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
5887         [HAVE_MMAP].
5889         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
5890         Add multiple inclusion protection.
5892 2012-07-27  David S. Miller  <davem@davemloft.net>
5894         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5896 2012-07-27  Gary Benson  <gbenson@redhat.com>
5898         [BZ #14298]
5899         * elf/rtld.c: Include <stap-probe.h>.
5900         (dl_main): Added static probes "init_start" and "init_complete".
5901         * elf/dl-load.c: Include <stap-probe.h>.
5902         (lose): Take new parameter "nsid".
5903         Added static probe "map_failed".
5904         (_dl_map_object_from_fd): Pass namespace id to lose.
5905         Added static probe "map_start".
5906         (open_verify): Pass namespace id to lose.
5907         * elf/dl-open.c: Include <stap-probe.h>.
5908         (dl_open_worker) Added static probes "map_complete", "reloc_start"
5909         and "reloc_complete".
5910         * elf/dl-close.c: Include <stap-probe.h>.
5911         (_dl_close_worker): Added static probes "unmap_start" and
5912         "unmap_complete".
5913         * elf/rtld-debugger-interface.txt: New file documenting the above.
5915 2012-07-26  Roland McGrath  <roland@hack.frob.com>
5917         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
5918         rather than a string variable.
5919         * sunrpc/rpc_main.c (h_output): Likewise.
5920         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
5922 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
5924         * inet/check_native.c: New file.
5926 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
5928         [BZ #13629]
5929         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
5930         if larger part has absolute value 1.0.
5931         * math/s_clog10.c (__clog10): Likewise.
5932         * math/s_clog10f.c (__clog10f): Likewise.
5933         * math/s_clog10l.c (__clog10l): Likewise.
5934         * math/s_clogf.c (__clogf): Likewise.
5935         * math/s_clogl.c (__clogl): Likewise.
5936         * math/libm-test.inc (clog_test): Add more tests.
5937         (clog10_test): Likewise.
5938         * sysdeps/i386/fpu/libm-test-ulps: Update.
5939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5941         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
5942         (pltexit): Likewise.
5943         (La_regs): Likewise.
5944         (La_retval): Likewise.
5945         (int_retval): Likewise.
5946         Update #error for removed macros to refer only to definitions in
5947         tst-audit.h.
5948         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
5949         macro.
5950         (pltexit): Likewise.
5951         (La_regs): Likewise.
5952         (La_retval): Likewise.
5953         (int_retval): Likewise.
5954         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
5955         macro.
5956         (pltexit): Likewise.
5957         (La_regs): Likewise.
5958         (La_retval): Likewise.
5959         (int_retval): Likewise.
5960         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
5961         macro.
5962         (pltexit): Likewise.
5963         (La_regs): Likewise.
5964         (La_retval): Likewise.
5965         (int_retval): Likewise.
5966         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
5967         macro.
5968         (pltexit): Likewise.
5969         (La_regs): Likewise.
5970         (La_retval): Likewise.
5971         (int_retval): Likewise.
5972         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
5973         macro.
5974         (pltexit): Likewise.
5975         (La_regs): Likewise.
5976         (La_retval): Likewise.
5977         (int_retval): Likewise.
5978         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
5979         macro.
5980         (pltexit): Likewise.
5981         (La_regs): Likewise.
5982         (La_retval): Likewise.
5983         (int_retval): Likewise.
5984         * sysdeps/generic/tst-audit.h: Update comment to refer only to
5985         macro definitions in tst-audit.h.
5986         * sysdeps/i386/tst-audit.h: New file.
5987         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
5988         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
5989         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
5990         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
5991         * sysdeps/sh/tst-audit.h: Likewise.
5992         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
5993         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
5994         * sysdeps/x86_64/tst-audit.h: Likewise.
5996 2012-07-26  Andreas Jaeger  <aj@suse.de>
5998         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
5999         ptrace.
6001         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
6002         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
6003         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
6004         PTRACE_O_MASK.
6005         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
6006         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
6007         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
6009         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
6010         value.
6012         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
6013         _sigsys.
6014         (si_call_addr, si_syscall, si_arch): Define new macro.
6015         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
6016         _sigsys.
6017         (si_call_addr, si_syscall, si_arch): Define new marcro.
6018         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
6019         _sigsys.
6020         (si_call_addr, si_syscall, si_arch): Define new macro.
6021         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
6022         _sigsys.
6023         (si_call_addr, si_syscall, si_arch): Define new macro.
6025 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
6027         [BZ #13717]
6028         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6029         Change to 2.4.21 where previously 2.4.1.
6030         * sysdeps/unix/sysv/linux/configure: Regenerated.
6031         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
6032         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
6033         Linux kernel version.
6034         (__ASSUME_STD_AUXV): Remove.
6035         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
6036         kernel version.
6037         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
6038         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
6039         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
6040         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
6041         (__ASSUME_NETLINK_SUPPORT): Likewise.
6042         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
6043         (__no_netlink_support): Remove conditional definition.
6044         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
6045         Remove.
6046         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6047         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
6048         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
6049         (if_nameindex_ioctl): Remove.
6050         (if_nameindex_netlink): Do not handle __no_netlink_support.
6051         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6052         code.
6053         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
6054         Remove conditional code.
6055         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6056         code.
6057         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
6058         unconditional.
6059         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6060         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
6061         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
6062         Remove.
6063         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
6064         [!__ASSUME_STD_AUXV]: Remove conditional code.
6065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
6066         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
6067         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
6068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
6069         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
6070         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6071         code.
6072         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6074         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
6075         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6076         conditional code.
6077         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
6079         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6080         code.
6081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6082         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6083         conditional code.
6084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
6085         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6086         code unconditional.
6087         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6088         conditional code.
6089         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6090         unconditional.
6091         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6092         conditional code.
6093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6094         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6095         unconditional.
6096         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6097         conditional code.
6098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
6099         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6100         code unconditional.
6101         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6102         conditional code.
6103         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6104         unconditional.
6105         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6106         conditional code.
6107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
6108         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6109         code unconditional.
6110         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6111         conditional code.
6112         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6113         unconditional.
6114         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6115         conditional code.
6117 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
6119         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
6120         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
6121         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6122         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
6123         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
6124         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6125         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6126         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
6127         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
6128         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6129         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
6130         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
6131         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
6132         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6133         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
6134         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
6135         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
6136         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
6137         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
6138         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
6139         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
6140         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
6141         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6143 2012-07-25  Florian Weimer  <fweimer@redhat.com>
6145         * Versions.def: Add GLIBC_2.17.
6146         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
6147         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
6148         Introduce __libc_secure_getenv.
6149         * stdlib/Versions (2.17): Add secure_getenv
6150         (GLIBC_PRIVATE): Add __libc_secure_getenv.
6151         * stdlib/secure-getenv.c: Rename __secure_getenv to
6152         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
6153         symbol __secure_getenv for GLIBC_2.0.
6154         * stdlib/tst-secure-getenv.c: New.
6155         * stdlib/Makefile (tests): Add testcase.
6156         * manual/startup.texi (Environment Access): Document
6157         secure_getenv.
6158         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
6159         __libc_secure_getenv.
6160         * inet/ruserpass.c (ruserpass): Likewise.
6161         * malloc/mtrace.c (mtrace): Likewise.
6162         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
6163         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
6164         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
6165         * sysdeps/posix/tempname.c: Likewise.  Evaluate
6166         HAVE_SECURE_GETENV.
6167         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
6168         __secure_getenv to __libc_secure_getenv.
6169         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
6170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6171         Likewise.
6172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6173         Likewise.
6174         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6175         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6176         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6177         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6178         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6179         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6180         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
6182 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
6184         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
6185         (struct La_i86_retval): Likewise.
6186         (struct La_x86_64_regs): Likewise.
6187         (struct La_x86_64_retval): Likewise.
6188         (struct La_x32_regs): Likewise.
6189         (struct La_x32_retval): Likewise.
6190         (struct La_ppc32_regs): Likewise.
6191         (struct La_ppc32_retval): Likewise.
6192         (struct La_ppc64_regs): Likewise.
6193         (struct La_ppc64_retval): Likewise.
6194         (struct La_sh_regs): Likewise.
6195         (struct La_sh_retval): Likewise.
6196         (struct La_s390_32_regs): Likewise.
6197         (struct La_s390_32_retval): Likewise.
6198         (struct La_s390_64_regs): Likewise.
6199         (struct La_s390_64_retval): Likewise.
6200         (struct La_sparc32_regs): Likewise.
6201         (struct La_sparc32_retval): Likewise.
6202         (struct La_sparc64_regs): Likewise.
6203         (struct La_sparc64_retval): Likewise.
6204         (struct audit_ifaces): Remove architecture-specific pltenter and
6205         pltexit members.
6206         * sysdeps/i386/ldsodefs.h: New file.
6207         * sysdeps/powerpc/ldsodefs.h: Likewise.
6208         * sysdeps/s390/ldsodefs.h: Likewise.
6209         * sysdeps/sh/ldsodefs.h: Likewise.
6210         * sysdeps/sparc/ldsodefs.h: Likewise.
6211         * sysdeps/x86_64/ldsodefs.h: Likewise.
6213 2012-07-25  Marek Polacek  <polacek@redhat.com>
6215         [BZ #6808]
6216         * math/libm-test.inc (yn_test): Add another test.
6217         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
6218         to ERANGE when the result is +-Inf.
6219         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6220         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
6221         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
6222         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
6224 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
6226         * conform/data/time.h-data (NULL): Use macro-constant.  Require
6227         equal to 0.
6228         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
6229         clock_t.
6230         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
6232 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
6234         * configure.in <sysdeps resolving>: Correct printing
6235         Implies_before.
6236         * configure: Regenerate.
6238 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
6240         * math/w_ilogb.c: Include <limits.h>.
6241         * math/w_ilogbl.c: Likewise.
6243 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
6245         * manual/lang.texi (__va_copy): Document primarily as ISO C99
6246         va_copy.  Document allowing for unavailable va_copy only as
6247         pre-C99 compatibility.
6248         * manual/string.texi (Copying and Concatenation): Use va_copy
6249         instead of __va_copy in concat example.
6251 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
6253         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
6254         (__sendto): Use create_address_port.  Initialize APORT and deallocate
6255         it if not null.
6257         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
6258         with O_NOLINK passed to __file_name_lookup.
6260         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
6261         with O_NOLINK passed to __file_name_lookup.
6263         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
6264         negative N or less than NGIDS.
6266         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
6267         type to string_t.  Set ERANGE as errno and return it if NAME is not big
6268         enough.  Use memcpy instead of strncpy.
6270 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
6272         * elf/Makefile (check-data): Remove.
6273         (localplt.data): New vpath directive.
6274         ($(objpfx)check-localplt.out): Use localplt.data from vpath
6275         instead of $(check-data).
6276         * scripts/data/localplt-generic.data: Move to ...
6277         * sysdeps/generic/localplt.data: ... here.
6278         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
6279         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
6280         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
6281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6282         ... here.
6283         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
6284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
6285         ... here.
6286         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
6287         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
6288         ... here.
6289         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
6290         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6291         ... here.
6292         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
6293         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
6294         ... here.
6295         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
6296         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
6297         ... here.
6299 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6301         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
6302         PPC32 and PPC64 files.
6303         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
6304         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
6306 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6308         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
6309         __makecontext_ret to ...
6310         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
6311         ... here and call exit if uc_link is NULL.  New file.
6312         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
6313         __makecontext_ret.S.
6314         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
6315         __makecontext_ret to ...
6316         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
6317         ... here and call exit if uc_link is NULL.  New file.
6318         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
6319         __makecontext_ret.S.
6321 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6323         * elf/elf.h (R_390_IRELATIVE): New definition.
6324         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
6325         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
6326         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
6327         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6328         (elf_machine_lazy_rel): Likewise.
6329         * sysdeps/s390/dl-irel.h: New file.
6330         * sysdeps/s390/s390-64/memcpy.S: New asm code.
6331         * sysdeps/s390/s390-64/memset.S: New asm code.
6332         * sysdeps/s390/s390-64/memcmp.S: New asm code.
6333         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
6334         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
6335         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
6336         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
6337         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
6338         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
6339         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
6340         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
6341         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
6342         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
6343         * sysdeps/s390/s390-32/memcpy.S: New asm code.
6344         * sysdeps/s390/s390-32/memset.S: New asm code.
6345         * sysdeps/s390/s390-32/memcmp.S: New asm code.
6347 2012-07-17  Marek Polacek  <polacek@redhat.com>
6349         [BZ #14349]
6350         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
6351         * sysdeps/s390/s390-64/configure.in: Likewise.
6352         * sysdeps/sparc/configure.in: Likewise.
6353         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
6354         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
6355         * sysdeps/i386/configure.in: Likewise.
6356         * sysdeps/x86_64/configure.in: Likewise.
6357         * sysdeps/sh/configure.in: Likewise.
6358         * sysdeps/s390/s390-32/configure: Regenerated.
6359         * sysdeps/s390/s390-64/configure: Likewise.
6360         * sysdeps/x86_64/configure: Likewise.
6361         * sysdeps/sh/configure: Likewise.
6362         * sysdeps/powerpc/powerpc64/configure: Likewise.
6363         * sysdeps/powerpc/powerpc32/configure: Likewise.
6364         * sysdeps/sparc/configure: Likwise.
6365         * sysdeps/i386/configure: Likewise.
6367         * elf/dl-open.c: Comment fixes.
6369 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
6371         * Makefile [CXX] (check-data): Remove.
6372         [CXX] (c++-types.data): New vpath directive.
6373         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
6374         vpath.  Do not allow for C++ type data being missing.
6375         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
6376         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
6377         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
6378         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
6379         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
6380         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
6381         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
6382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6383         ... here.
6384         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
6385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6386         ... here.
6387         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
6388         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
6389         ... here.
6390         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
6391         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
6392         ... here.
6393         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
6394         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
6395         ... here.
6396         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
6397         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
6398         ... here.
6399         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
6400         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
6401         ... here.
6402         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
6403         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
6405         * elf/tls-macros.h (TLS_LE): Move architecture-specific
6406         definitions to architecture-specific files.
6407         (TLS_IE): Likewise.
6408         (TLS_LD): Likewise.
6409         (TLS_GD): Likewise.
6410         * sysdeps/i386/tls-macros.h: New file.
6411         * sysdeps/powerpc/tls-macros.h: Likewise.
6412         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
6413         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
6414         * sysdeps/sh/tls-macros.h: Likewise.
6415         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
6416         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
6417         * sysdeps/x86_64/tls-macros.h: Likewise.
6419 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
6421         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
6422         zero value for regular exit case.
6424         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6425         (__start_context): Preserve zero value for regular exit case.
6427 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
6428             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6430         * manual/setjmp.texi (setcontext): Clarify normal process
6431         termination when uc_link is the null pointer.
6432         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
6433         exit call.
6435 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
6437         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
6438         preprocessor.  Test for each exception mask separately.
6440 2012-07-16  Andreas Jaeger  <aj@suse.de>
6442         * po/ru.po: Update from translation team.
6444 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
6446         * conform/data/string.h-data (NULL): Use macro-constant.  Require
6447         equal to 0.
6448         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6449         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6450         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
6451         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
6452         [ISO || ISO99 || ISO11] (*_t): Do not allow.
6454 2012-07-13  Andreas Jaeger  <aj@suse.de>
6456         * po/fr.po: Update from translation team.
6458 2012-07-12  Marek Polacek  <polacek@redhat.com>
6460         [BZ #14173]
6461         * math/libm-test.inc (yn_test): Add test for BZ #14173.
6462         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
6463         loop condition.
6465 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
6467         [BZ #13717]
6468         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6469         Change to 2.4.1 where previously 2.4.0.
6470         * sysdeps/unix/sysv/linux/configure: Regenerated.
6471         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
6472         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
6473         version.
6474         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
6475         (__ASSUME_AT_CLKTCK): Remove.
6476         (__ASSUME_AT_PAGESIZE): Likewise.
6477         (__ASSUME_AT_XID): Likewise.
6478         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
6479         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
6480         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
6481         unconditionally.
6482         (HAVE_AUX_PAGESIZE): Likewise.
6483         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
6484         [__ASSUME_AT_CLKTCK]: Make code unconditional.
6485         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
6487 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
6489         [BZ #14307]
6490         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
6491         the temporary buffer used to invoke __gethostbyname2_r,
6492         __gethostbyaddr_r and gethostbyname4_r to make room for struct
6493         host_data / struct gaih_addrtuple.
6494         * resolv/nss_dns/dns-host.c (global scope): Move definition of
6495         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
6496         header file nss/nsswitch.h.
6497         * nss/nsswitch.h (global scope): Add definition of implementation
6498         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
6499         resolv/nss_dns/dns-host.c).
6501 2012-07-11  Andreas Jaeger  <aj@suse.de>
6503         * po/fr.po: Update from translation team.
6505         * po/sv.po: Update from translation team
6506         * po/fr.po: Another update from translation team.
6508 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6510         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
6511         for subnormals or multiply small sinh result by itself.
6512         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6513         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6515 2012-07-11  David S. Miller  <davem@davemloft.net>
6517         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6519 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
6521         [BZ #14347]
6522         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
6523         (INTERNAL_MARK): Shift it here.
6525 2012-07-10  Marek Polacek  <polacek@redhat.com>
6527         [BZ #14151]
6528         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
6529         libc_cv_asm_global_directive with .globl.
6530         * configure: Regenerated.
6531         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
6532         with .globl.
6533         * sysdeps/i386/configure: Regenerated.
6534         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
6535         with .globl.
6536         * sysdeps/x86_64/configure: Regenerated.
6537         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
6538         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
6539         * elf/tst-unique2mod2.c: Likewise.
6540         * elf/tst-unique2mod1.c: Likewise.
6541         * elf/tst-unique1mod2.c: Likewise.
6542         * elf/tst-unique1mod1.c: Likewise.
6543         * sysdeps/s390/s390-32/sysdep.h: Likewise.
6544         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6545         * sysdeps/s390/s390-64/sysdep.h: Likewise.
6546         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6547         * sysdeps/mach/sysdep.h: Likewise.
6548         * sysdeps/i386/sysdep.h: Likewise.
6549         * sysdeps/i386/i386-mcount.S: Likewise.
6550         * sysdeps/x86_64/_mcount.S: Likewise.
6551         * sysdeps/x86_64/sysdep.h: Likewise.
6552         * sysdeps/sh/_mcount.S: Likewise.
6553         * sysdeps/sh/sysdep.h: Likewise.
6554         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
6555         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
6556         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
6557         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6558         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
6559         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
6560         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
6561         * locale/localeinfo.h: Likewise.
6562         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
6563         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
6565 2012-07-09  Roland McGrath  <roland@hack.frob.com>
6567         [BZ #14336]
6568         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
6569         system".
6570         * manual/message.texi (The Uniforum approach): Likewise.
6571         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
6572         (glibc iconv Implementation): Likewise.
6574 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
6576         [BZ #14337]
6577         * math/s_clog.c (__clog): Avoid scaling a value down where that
6578         could result in underflow.
6579         * math/s_clog10.c (__clog10): Likewise.
6580         * math/s_clog10f.c (__clog10f): Likewise.
6581         * math/s_clog10l.c (__clog10l): Likewise.
6582         * math/s_clogf.c (__clogf): Likewise.
6583         * math/s_clogl.c (__clogl): Likewise.
6584         * math/libm-test.inc (clog_test): Add more tests.
6585         (clog10_test): Likewise.
6586         * sysdeps/i386/fpu/libm-test-ulps: Update.
6587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6589 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
6591         [BZ #14283]
6592         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
6593         by 7 not 8 to examine high bit of fractional part.
6595         [BZ #14042]
6596         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
6597         for call to __mcount_internal.
6598         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
6599         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
6600         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
6602 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
6604         [BZ #14154]
6605         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
6606         approximation for values within 0x1p-13f of an odd multiple of
6607         pi/4.
6608         * math/libm-test.inc (tan_test): Do not allow spurious underflow
6609         exception.  Add more tests.
6610         * sysdeps/i386/fpu/libm-test-ulps: Update.
6612         [BZ #6778]
6613         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
6614         inputs and return -1 for them.  Do not check for +Inf in case not
6615         reachable for +Inf.
6616         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6617         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
6618         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6619         and return -1 for them.  Do not check for +Inf in case not
6620         reachable for +Inf.
6621         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
6622         define.
6623         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6624         and return -1 for them.  Do not check for +Inf in case not
6625         reachable for +Inf.
6626         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
6627         spurious underflow.
6628         * sysdeps/i386/fpu/libm-test-ulps: Update.
6629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6631 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
6633         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
6635 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
6637         [BZ #14157]
6638         [BZ #14331]
6639         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
6640         could result in spurious underflow.  Scale down values above
6641         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
6642         * math/s_csqrtf.c (__csqrtf): Likewise.
6643         * math/s_csqrtl.c (__csqrtl): Likewise.
6644         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
6645         spurious underflow.
6646         * sysdeps/i386/fpu/libm-test-ulps: Update.
6647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6649 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
6651         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
6652         xopen-msg.sed.
6653         * catgets/xopen-msg.awk: New file.
6654         * catgets/xopen-msg.sed: Removed.
6656         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
6657         po2text.sed.
6658         * intl/po2test.awk: New file.
6659         * intl/po2test.sed: Removed.
6661 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
6663         [BZ #14328]
6664         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
6665         or multiply small sinh result by itself.
6666         * math/s_ctanf.c (__ctanf): Likewise.
6667         * math/s_ctanh.c (__ctanh): Likewise.
6668         * math/s_ctanhf.c (__ctanhf): Likewise.
6669         * math/s_ctanhl.c (__ctanhl): Likewise.
6670         * math/s_ctanl.c (__ctanl): Likewise.
6671         * math/libm-test.inc (ctan_test_tonearest): New function.
6672         (ctan_test_towardzero): Likewise.
6673         (ctan_test_downward): Likewise.
6674         (ctan_test_upward): Likewise.
6675         (ctanh_test_tonearest): Likewise.
6676         (ctanh_test_towardzero): Likewise.
6677         (ctanh_test_downward): Likewise.
6678         (ctanh_test_upward): Likewise.
6679         (main): Call these new functions.
6680         * sysdeps/i386/fpu/libm-test-ulps: Update.
6681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6683 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
6685         * .gitignore: Delete /ports entry.
6687 2012-07-03  Andreas Jaeger  <aj@suse.de>
6689         * po/bg.po: Update from translation team.
6690         * po/cs.po: Likewise.
6691         * po/de.po: Likewise.
6692         * po/hr.po: Likewise.
6693         * po/nl.pl: Likewise.
6694         * po/pl.po: Likewise.
6695         * po/vi.po: Likewise.
6697 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
6699         * Makeconfig [!+link] (+link-before-libc): New variable.
6700         [!+link] (+link-after-libc): Likewise.
6701         [!+link] (+link-tests): Likewise.
6702         [!+link] (+link): Define in terms of $(+link-before-libc) and
6703         $(+link-after-libc).
6704         [!+link-static] (+link-static-before-libc): New variable.
6705         [!+link-static] (+link-static-after-libc): Likewise.
6706         [!+link-static] (+link-static-tests): Likewise.
6707         [!+link-static] (+link-static): Define in terms of
6708         $(+link-static-before-libc) and $(+link-static-after-libc).
6709         [build-shared] (link-libc-before-gnulib): New variable.
6710         [build-shared] (link-libc-tests): Likewise.
6711         [build-shared] (link-libc): Define in terms of
6712         $(link-libc-before-gnulib).
6713         [!build-shared] (link-libc-tests): New variable.
6714         (link-libc-static-tests): New variable.
6715         [!gnulib] (gnulib-arch): New variable.
6716         [!gnulib] (gnulib-tests): Likewise.
6717         [!gnulib] (static-gnulib-arch): Likewise.
6718         [!gnulib] (static-gnulib-tests): Likewise.
6719         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
6720         Define with "=" instead of ":=".
6721         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
6722         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
6723         * Rules (binaries-all-notests): New variable.
6724         (binaries-all-tests): Likewise.
6725         (binaries-static-notests): Likewise.
6726         (binaries-static-tests): Likewise.
6727         (binaries-all): Define using $(binaries-all-notests) and
6728         $(binaries-all-tests).
6729         (binaries-static): Define using $(binaries-static-notests) and
6730         $(binaries-static-tests).
6731         (binaries-shared-tests): New variable.
6732         (binaries-shared-notests): Likewise.
6733         (binaries-shared): Remove variable.
6734         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
6735         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
6736         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
6737         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
6738         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
6739         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
6740         * elf/Makefile (sln-modules): New variable.
6741         (extra-objs): Add $(sln-modules:=.o).
6742         (ldconfig-modules): Add static-stubs.
6743         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
6744         * elf/static-stubs.c: New file.
6746         [BZ #14283]
6747         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
6748         by 7 not 8 to examine high bit of fractional part.  Use volatile
6749         variables when splitting into final array of floats if
6750         __FLT_EVAL_METHOD__ != 0.
6751         * math/libm-test.inc (cos_test): Add another test.
6752         (sin_test): Likewise.
6753         * sysdeps/i386/fpu/libm-test-ulps: Update.
6755         [BZ #14273]
6756         * math/libm-test.inc (cosh_test): Add more tests.
6758         * version.h (RELEASE): Set to "development".
6759         (VERSION): Set to "2.16.90".
6761 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
6763         * NEWS: Update copyright. Remove last-updated date.
6764         Mention math library bug fixes and timezone data changes.
6765         * README: Mention GNU/Hurd, x32, and HPPA support status.
6767 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
6769         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
6771 2012-06-27  Andreas Jaeger  <aj@suse.de>
6773         * manual/contrib.texi (Contributors): Add Samuel Thibault.
6775 2012-06-25  Andreas Jaeger  <aj@suse.de>
6777         * sysdeps/s390/fpu/libm-test-ulps: Update.
6779 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
6780             Thomas Schwinge  <thomas@codesourcery.com>
6782         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
6783         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
6784         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
6785         fanotify_mark.
6787 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
6789         * sysdeps/mach/start.c: Remove file.
6790         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
6791         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
6792         * sysdeps/sh/init-first.c: Likewise.
6794         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
6795         registers for frame unwinding purposes, add CFI directives.
6796         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6797         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
6798         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
6799         Likewise.
6801         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
6802         __fortify_fail returning.
6803         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6805         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
6806         sysdeps/sh/____longjmp_chk.S.
6807         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
6808         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
6809         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
6810         (gen-as-const-headers): Append sigaltstack-offsets.sym.
6812         * sysdeps/sh/abort-instr.h: New file.
6813         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
6814         process in case exit returns.
6816         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
6817         initialize the GOT register before use.
6819         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
6820         calculation of ARGC > 4.
6822         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
6823         meaningful names to some local labels.
6825 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
6826             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6828         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
6829         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
6830         (__arch_compare_and_exchange_val_16_acq): Likewise.
6831         (__arch_compare_and_exchange_val_32_acq): Likewise.
6832         (atomic_exchange_and_add): Fix gUSA sequence.
6833         (atomic_add): Likewise.
6834         (atomic_add_negative): Likewise.
6835         (atomic_add_zero): Likewise.
6836         (atomic_bit_test_set): Likewise.
6838 2012-06-22  Andreas Schwab  <schwab@redhat.com>
6840         [BZ #13579]
6841         * include/link.h (struct link_map): Add l_free_initfini.
6842         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
6843         l_initfini.
6844         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
6845         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
6846         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
6847         set.
6849 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
6851         * configure.in: Use AC_LANG_SOURCE.
6852         * configure: Regenerate.
6854 2012-06-22  Roland McGrath  <roland@hack.frob.com>
6856         * configure.in (libc_cv_localstatedir): New substituted variable.
6857         * configure: Regenerated.
6858         * config.make.in (localstatedir): New variable, substituted from
6859         libc_cv_localstatedir.
6860         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
6861         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
6862         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
6863         * sysdeps/gnu/configure: Regenerated.
6865 2012-06-21  Jeff Law  <law@redhat.com>
6867         [BZ #14277]
6868         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
6869         free.  Simplify list management for _LIBC case.
6871 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
6873         [BZ #14273]
6874         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
6875         Clear sign bit of 64-bit integer value before comparing against
6876         overflow value.
6878         * sysdeps/mach/configure: Regenerated.
6880 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
6882         [BZ #14278]
6883         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
6885 2012-06-21  Jeff Law  <law@redhat.com>
6887         [BZ #13882]
6888         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
6889         uint16_t for elements in the "seen" array to avoid char overflows.
6890         * elf/dl-fini.c (_dl_sort_fini): Likewise.
6891         * elf/dl-open.c (dl_open_worker): Likewise.
6893 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
6895         * scripts/list-sources.sh: Scan PORTS for translations.
6896         * po/libc.pot: Regenerated.
6898 2012-06-21  Andreas Jaeger  <aj@suse.de>
6900         [BZ #12194]
6901         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
6902         warning.
6903         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
6904         * bits/byteswap-16.h (__bswap_16): Likewise.
6905         * bits/byteswap.h (__bswap_constant_16): Likewise.
6907 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
6909         [BZ #14117]
6910         * sysdeps/i386/fpu_control.h: Removed.
6911         * sysdeps/x86_64/fpu_control.h: Moved to ...
6912         * sysdeps/x86/fpu_control.h: Here.
6914         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
6915         (_FPU_SETCW): Likewise.
6917 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
6919         [BZ #14117]
6920         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
6921         * sysdeps/x86/fpu/bits/mathinline.h: This.
6922         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
6924         [BZ #14050]
6925         [BZ #14117]
6926         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
6927         functions if __x86_64__ is defined.
6929 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
6931         * string/endian.h: Add !__ASSEMBLER__ condition for including
6932         conversion interfaces.
6934 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
6936         [BZ #14241]
6937         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
6938         of ABS(x) in calculating zero to negative powers other than odd
6939         integers.
6940         * math/libm-test.inc (pow_test): Add more tests.
6942 2012-06-15  Andreas Jaeger  <aj@suse.de>
6944         * manual/contrib.texi (Contributors): Update entry of Liubov
6945         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
6946         Machado Filho.
6948 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
6950         * string/string.h: Add __wur to GNU version of strerror_r.
6952 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
6954         [BZ #14229]
6955         * string/Makefile (tests): Add tst-strtok_r.
6956         * string/tst-strtok_r.c: New file.
6957         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
6958         RAX_LP/RDX_LP on SAVE_PTR.
6960 2012-06-14  Roland McGrath  <roland@hack.frob.com>
6962         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
6964 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
6966         * libm_test.inc (csqrt_test): Allow more spurious underflow
6967         exceptions.
6968         (j0_test): Likewise.
6969         (j1_test): Likewise.
6970         (y0_test): Likewise.
6971         (y1_test): Likewise.
6973 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
6975         * po/Makefile (libc.pot): Use UTF-8 charset.
6977 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
6979         [BZ #14210]
6980         Suppress sign-conversion warning from FD_SET.
6981         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
6982         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
6983         not unsigned long int.
6984         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
6986 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
6988         [BZ #14050]
6989         [BZ #14117]
6990         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
6991         __extern_always_inline instead of __extern_inline.
6992         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
6993         (__signbit): Likewise.
6994         (__signbitl): Support C++ namespace.
6995         (lrintf): New inline function.
6996         (lrint): Likewise.
6997         (llrintf): Likewise.
6998         (llrint): Likewise.
6999         (fmaxf): Likewise.
7000         (fmax): Likewise.
7001         (fminf): Likewise.
7002         (fmin): Likewise.
7003         (rint): Likewise.
7004         (rintf): Likewise.
7005         (ceil): Likewise.
7006         (ceilf): Likewise.
7007         (floor): Likewise.
7008         (floorf): Likewise.
7009         (nearbyint): Likewise.
7010         (nearbyintf): Likewise.
7012 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
7014         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
7015         non-default versions.
7017 2012-06-11  Roland McGrath  <roland@hack.frob.com>
7019         [BZ #14218]
7020         * manual/argp.texi (Argp): Reword argp_parse description slightly.
7022 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
7024         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
7025         (FE_UPWARD, FE_DOWNWARD): Don't define.
7026         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
7027         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7029         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
7030         reading it.
7031         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7032         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7034 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7036         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7037         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
7038         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
7039         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
7041 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
7043         [BZ #14117]
7044         * sysdeps/i386/fpu/bits/fenv.h: Removed.
7045         * sysdeps/i386/fpu/Implies: New file.
7046         * sysdeps/x86_64/fpu/Implies: Likewise.
7047         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
7048         * sysdeps/x86/fpu/bits/fenv.h: This.
7050         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
7051         __SSE_MATH__.
7053 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
7055         [BZ #14134]
7056         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
7057         character 0xffff that matches the last element of the
7058         conversion table.
7060 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7062         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
7063         fmodl commit.
7065 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7067         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
7068         values higher than 25.6283.
7070 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7072         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
7073         subnormal exponent extraction and add some __builtin_expect.
7074         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
7075         Fix for subnormal mantissa calculation.
7077 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
7079         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
7080         cpu2 is -1 and errno is not ENOSYS.
7082 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
7084         [BZ #14117]
7085         * sysdeps/i386/i486/bits/string.h: Renamed to ...
7086         * sysdeps/x86/bits/string.h: This.
7087         * sysdeps/x86_64/bits/string.h: Removed.
7089         * sysdeps/i386/i486/bits/string.h: Define inline functions only
7090         if not compiling for x86-64, but compiling for >= i486.
7092         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
7093         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
7095         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
7096         New macro from Linux kernel 3.4.0.
7097         (FP_XSTATE_MAGIC2): Likewise.
7098         (FP_XSTATE_MAGIC2_SIZE): Likewise.
7099         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
7100         (struct _fpx_sw_bytes): New struct.
7101         (struct _xsave_hdr): Likewise.
7102         (struct _ymmh_state): Likewise.
7103         (struct _xstate): Likewise.
7105         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
7106         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
7107         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
7108         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
7109         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
7110         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
7112         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
7113         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
7114         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
7115         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
7116         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
7117         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
7119 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7121         [BZ #13743]
7122         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
7123         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
7124         (sysdep_headers): Include sys/platform/ppc.h.
7125         * sysdeps/powerpc/test-gettimebase.c: Test for
7126         __ppc_get_timebase() to catch future ISA opcode/insn changes.
7127         * manual/Makefile (appendices): Include platform.texi.
7128         * manual/contrib.texi (Contributors): Update @node pointers.
7129         * manual/maint.texi (Maintenance): Likewise.
7130         (Platform): New node.
7131         * manual/platform.texi: New file.  Document the new features.
7133 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7134             Jakub Jelinek  <jakub@redhat.com>
7136         [BZ #14188]
7137         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
7138         where __builtin_expect is unavailable.
7140 2012-06-03  David S. Miller  <davem@davemloft.net>
7142         * stdlib/longlong.h: Updated from GCC.
7144 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
7146         [BZ #14042]
7147         * sysdeps/powerpc/powerpc32/mcount.c: New file.
7148         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
7149         __mcount_internal.
7150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7151         (GLIBC_2.16): Likewise.
7153 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
7155         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
7157 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
7159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
7160         (default-abi): New variable.
7161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
7162         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
7163         variable.
7164         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
7165         Likewise.
7166         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
7167         Likewise.
7168         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
7169         Likewise.
7171         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
7172         definition.  Document in comment.
7174 2012-06-01  David S. Miller  <davem@davemloft.net>
7176         * stdlib/longlong.h: Updated from GCC.
7178 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
7180         [BZ #14117]
7181         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
7182         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
7183         sys/debugreg.h sys/io.h here.
7184         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
7185         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
7186         sys/io.h.
7187         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
7188         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
7189         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
7190         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
7191         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
7192         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
7194         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
7195         Define only if __x86_64__ is defined.
7197 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
7199         [BZ #14048]
7200         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
7201         Use int64_t for variable i.
7202         * math/libm-test.inc (fmod_test): Add more tests.
7204         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
7205         z computation is not scheduled after fetestexcept.
7206         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
7207         Use math_force_eval instead of asm to ensure calculation scheduled
7208         before exception test.
7209         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
7210         Ensure a1 + u.d computation is not scheduled after fetestexcept.
7212 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
7214         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
7215         computation is not scheduled after fetestexcept.
7217 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
7219         [BZ #14117]
7220         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
7221         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
7223 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7225         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
7226         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7228 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
7230         [BZ #14117]
7231         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
7232         <bits/wordsize.h>.
7233         (__WCHAR_MIN): Support __WORDSIZE == 64.
7234         (__WCHAR_MAX): Likewise.
7236         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
7237         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
7239         [BZ #14183]
7240         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
7241         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
7243         [BZ #14117]
7244         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
7245         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
7247         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
7248         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
7250         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
7251         Defined to 1 if __x86_64__ isn't defined.
7252         (_STAT_VER_LINUX_OLD): New.
7253         (st_atime): Remove duplicate.
7254         (st_mtime): Likewise.
7255         (st_ctime): Likewise.
7257 2012-05-31  David S. Miller  <davem@davemloft.net>
7259         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
7260         entries.
7262 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
7264         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
7265         gen-libm-test.pl.
7267         [BZ #14132]
7268         * elf/dl-reloc.c: Include <_itoa.h>.
7269         (_dl_reloc_bad_type): Remove use of INTUSE.
7270         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
7271         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
7272         * stdio-common/psiginfo.c (psiginfo): Likewise.
7273         * stdio-common/psignal.c (psignal): Likewise.
7274         * string/strsignal.c (strsignal): Likewise.
7275         * include/signal.h (_sys_siglist): Declare hidden proto.
7276         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
7277         INTVARDEF with libc_hidden_data_def.
7278         * stdio-common/itoa-udigits.c: Likewise.
7279         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
7280         (_itoa_lower_digits_internal): Remove declaration.
7281         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
7282         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
7283         (_sys_sigabbrev_internal): Remove aliases.
7284         (_sys_siglist): Define hidden alias.
7286 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
7288         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7289         bits/sysctl.h.
7291 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
7293         [BZ #14117]
7294         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
7295         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
7297         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
7298         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
7299         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
7300         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
7301         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
7302         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
7304         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
7305         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
7306         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
7308         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
7309         with __addr.
7310         (insw): Likewise.
7311         (insl): Likewise.
7312         (outsb): Likewise.
7313         (outsw): Likewise.
7314         (outsl): Likewise.
7316         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
7317         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
7318         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
7320         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
7321         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
7322         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
7323         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
7324         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
7325         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
7327         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
7328         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
7330         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
7331         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
7333         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
7334         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
7335         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
7337         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
7338         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
7339         to ...
7340         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
7342         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
7343         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
7344         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
7346         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
7347         for x86-64.
7348         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
7350 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
7352         * math/math.h (M_El): Use two more decimal places.
7353         (M_LOG2El): Likewise.
7354         (M_LOG10El): Likewise.
7355         (M_LN2l): Likewise.
7356         (M_LN10l): Likewise.
7357         (M_PIl): Likewise.
7358         (M_PI_2l): Likewise.
7359         (M_PI_4l): Likewise.
7360         (M_1_PIl): Likewise.
7361         (M_2_PIl): Likewise.
7362         (M_2_SQRTPIl): Likewise.
7363         (M_SQRT2l): Likewise.
7364         (M_SQRT1_2l): Likewise.
7366 2012-05-31  David S. Miller  <davem@davemloft.net>
7368         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
7369         values between float registers.
7370         * sysdeps/sparc/sparc64/memset.S: Likewise.
7371         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7373 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
7375         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
7376         -D_FORTIFY_SOURCE=1.
7377         (CPPFLAGS-tst-longjmp_chk.c): Define.
7378         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
7379         (CPPFLAGS-tst-longjmp_chk2.c): Define.
7380         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
7381         CFLAGS-tst-wchar-h.c.
7383 2012-05-31  Marek Polacek  <polacek@redhat.com>
7385         [BZ #14132]
7386         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
7387         __endmntent_internal): Remove declaration.
7388         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
7389         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
7390         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
7392 2012-05-30  David S. Miller  <davem@davemloft.net>
7394         * sysdeps/sparc/sparc32/soft-fp/q_util.c
7395         (___Q_simulate_exceptions): Use real FP ops rather than writing
7396         into the %fsr.
7397         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
7398         Likewise.
7400 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
7402         [BZ #14117]
7403         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
7404         * sysdeps/x86/bits/xtitypes.h: This.
7406         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
7407         * sysdeps/x86/bits/wordsize.h: This.
7409         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
7410         * sysdeps/x86/bits/huge_vall.h: This.
7412         * sysdeps/i386/bits/select.h: Removed.
7413         * sysdeps/x86_64/bits/select.h: Renamed to ...
7414         * sysdeps/x86/bits/select.h: This.
7416         * sysdeps/i386/bits/setjmp.h: Removed.
7417         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
7418         * sysdeps/x86/bits/setjmp.h: This.
7420         * sysdeps/i386/bits/mathdef.h: Removed.
7421         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
7422         * sysdeps/x86/bits/mathdef.h: This.
7424 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
7426         [BZ #14132]
7427         * include/sys/socket.h (__connect_internal)
7428         (__libc_sa_len_internal): Remove declaration.
7429         (__connect, __libc_sa_len): Declare hidden_proto.
7430         (SA_LEN): Remove use of INTUSE.
7431         * socket/connect.c: Add libc_hidden_def.
7432         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
7433         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
7434         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
7435         alias.
7436         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7437         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7438         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
7439         of adding _internal alias.
7441 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
7443         [BZ #14117]
7444         * sysdeps/i386/bits/link.h: Removed.
7445         * sysdeps/i386/bits/linkmap.h: Likewise.
7446         * sysdeps/x86_64/bits/link.h: Renamed to ...
7447         * sysdeps/x86/bits/link.h: This.
7448         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
7449         * sysdeps/x86/bits/linkmap.h: This.
7451         * sysdeps/i386/bits/endian.h: Removed.
7452         * sysdeps/x86_64/bits/endian.h: Renamed to ...
7453         * sysdeps/x86/bits/endian.h: This.
7455         * sysdeps/i386/bits/byteswap.h: Removed.
7456         * sysdeps/i386/bits/byteswap-16.h: Likewise.
7457         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
7458         * sysdeps/x86/bits/byteswap.h: This.
7459         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
7460         * sysdeps/x86/bits/byteswap-16.h: This.
7461         * sysdeps/i386/Implies: Add x86.
7462         * sysdeps/x86_64/Implies: Likewise.
7464 2012-05-30  David S. Miller  <davem@davemloft.net>
7466         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
7467         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
7468         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7469         (FP_TRAPPING_EXCEPTIONS): Define.
7470         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7471         (FP_TRAPPING_EXCEPTIONS): Define.
7472         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
7473         subnormals only when inexact has been signalled or underflow
7474         exceptions are enabled.
7475         (_FP_PACK_CANONICAL): Likewise.
7477 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
7479         [BZ #14183]
7480         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
7481         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
7483 2012-05-30  Richard Henderson  <rth@twiddle.net>
7485         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
7486         with #ifndef NOT_IN_libc.
7488         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
7489         marked to avoid plt entry.
7491 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
7493         [BZ #14112]
7494         * Makeconfig (default-abi): New macro.
7495         (abi-includes): Likewise.
7496         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
7497         $(abi-$(default-abi)-lib-soname) for soname if defined.
7498         ($(common-objpfx)gnu/lib-names.stmp): Generate from
7499         abi-variants.
7500         * Makefile (installed-stubs): Likewise.
7501         * include/stubs-biarch.h: Removed.
7502         * scripts/lib-names.awk: Only handle one library at a time.
7503         * scripts/soversions.awk: Remove WORDSIZE support.
7504         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
7505         entries.
7506         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
7507         Removed.
7508         (syscall-list-default-condition): Likewise.
7509         (syscall-list-default-condition): Likewise.
7510         (syscall-list-includes): Likewise.
7511         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
7512         syscall-list-* with abi-*.  Handle undefined abi-variants.
7513         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
7514         * sysdeps/unix/sysv/linux/i386/Implies: New file.
7515         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
7516         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
7517         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
7518         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
7519         Removed.
7520         (syscall-list-32-options): Likewise.
7521         (syscall-list-32-condition): Likewise.
7522         (syscall-list-64-options): Likewise.
7523         (syscall-list-64-condition): Likewise.
7524         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
7525         macro.
7526         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
7527         Renamed to ...
7528         (abi-*): This.
7529         (abi-64-ld-soname): New macro.
7530         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
7531         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
7532         Renamed to ...
7533         (abi-*): This.
7534         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
7535         * sysdeps/x86_64/x32/shlib-versions: Likewise.
7537 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
7539         * sysdeps/unix/sysv/linux/kernel-features.h
7540         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
7541         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
7542         include <kernel-features.h>.
7543         [!__NR_ftruncate64]: Remove conditional code.
7544         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7545         [__NR_ftruncate64]: Make code unconditional.
7546         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7547         * sysdeps/unix/sysv/linux/truncate64.c: Do not
7548         include <kernel-features.h>.
7549         [!__NR_ftruncate64]: Remove conditional code.
7550         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7551         [__NR_ftruncate64]: Make code unconditional.
7552         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
7554         include <kernel-features.h>.
7555         [!__NR_ftruncate64]: Remove conditional code.
7556         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7557         [__NR_ftruncate64]: Make code unconditional.
7558         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7560         include <kernel-features.h>.
7561         [!__NR_ftruncate64]: Remove conditional code.
7562         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7563         [__NR_ftruncate64]: Make code unconditional.
7564         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7566         * configure.in (libc_cv_fpie): Weaken to a compile test using
7567         LIBC_TRY_CC_OPTION.
7568         * configure: Regenerated.
7570 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7572         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
7573         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
7574         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
7575         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7576         Refreshed.
7577         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
7578         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
7579         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
7580         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
7581         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
7582         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7583         Refreshed.
7585 2012-05-27  David S. Miller  <davem@davemloft.net>
7587         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
7588         (___Q_zero): New.
7589         (__Q_simulate_exceptions): Return void.  Change to simulate
7590         exceptions by writing into the %fsr.
7591         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
7592         (__Qp_handle_exceptions): Likewise.
7593         (numbers): Delete.
7594         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
7595         __Qp_handle_exceptions.
7596         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
7597         __Qp_handle_exceptions.
7598         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7599         as unused and give dummy FP_RND_NEAREST initializer.
7600         (FP_INHIBIT_RESULTS): Define.
7601         (___Q_simulate_exceptions): Update declaration.
7602         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
7603         formatting.
7604         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7605         as unused and give dummy FP_RND_NEAREST initializer.
7606         (__Qp_handle_exceptions): Update declaration.
7607         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
7608         formatting.
7610 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
7612         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
7613         the temporary FPU control word.
7614         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7615         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
7616         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7617         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7618         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7619         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7620         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7621         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7622         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7623         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
7624         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7626 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7628         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
7629         fields.
7631 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
7633         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
7634         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
7635         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
7636         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
7637         Likewise.
7638         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
7639         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
7640         Likewise.
7642 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
7644         * po/h.po: Update from translation team.
7646 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
7648         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
7650         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
7651         handling of denormals.
7652         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7653         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7654         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7655         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7656         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7657         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
7658         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
7659         Likewise.
7661 2012-05-26  Marek Polacek  <polacek@redhat.com>
7663         [BZ #14152]
7664         * math/libm-test.inc (fma_test): Don't always expect underflow
7665         exception.
7667 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7669         [BZ #12416]
7670         * elf/tst-execstack.c: Include stackinfo.h.
7671         (do_test): Adjust test case to ensure that pthread_getattr_np
7672         behaviour remains the same after marking stack executable.
7674 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
7676         * sysdeps/unix/sysv/linux/kernel-features.h
7677         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
7678         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
7679         kernel-features.h.
7680         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7681         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7682         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
7683         kernel-features.h.
7684         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7685         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7687 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
7689         * configure.in: Define the default includes to being none.
7690         * configure: Regenerated.
7692 2012-05-25  Roland McGrath  <roland@hack.frob.com>
7694         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
7695         * sysdeps/x86_64/setjmp.S: Likewise.
7696         * sysdeps/i386/bsd-setjmp.S: Likewise.
7697         * sysdeps/i386/bsd-_setjmp.S: Likewise.
7698         * sysdeps/i386/setjmp.S: Likewise.
7699         * sysdeps/i386/__longjmp.S: Likewise.
7700         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7701         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
7703         * include/stap-probe.h: New file.
7704         * configure.in: Handle --enable-systemtap.
7705         * configure: Regenerated.
7706         * config.h.in (USE_STAP_PROBE): New #undef.
7707         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
7708         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
7709         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7711 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
7713         [BZ #13717]
7714         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
7715         to 2.4.0 where earlier.
7716         * sysdeps/unix/sysv/linux/configure: Regenerated.
7717         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7718         <kernel-features.h>.
7719         [__ASSUME_32BITUIDS]: Make code unconditional.
7720         [!__ASSUME_32BITUIDS]: Remove conditional code.
7721         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
7722         <kernel-features.h>.
7723         [__ASSUME_32BITUIDS]: Make code unconditional.
7724         [!__ASSUME_32BITUIDS]: Remove conditional code.
7725         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
7726         [__ASSUME_32BITUIDS]: Make code unconditional.
7727         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
7728         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
7729         <kernel-features.h>.
7730         [__ASSUME_32BITUIDS]: Make code unconditional.
7731         [!__ASSUME_32BITUIDS]: Remove conditional code.
7732         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
7733         <kernel-features.h>.
7734         [__ASSUME_32BITUIDS]: Make code unconditional.
7735         [!__ASSUME_32BITUIDS]: Remove conditional code.
7736         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
7737         <kernel-features.h>.
7738         [__ASSUME_32BITUIDS]: Make code unconditional.
7739         [!__ASSUME_32BITUIDS]: Remove conditional code.
7740         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
7741         <kernel-features.h>.
7742         [__ASSUME_32BITUIDS]: Make code unconditional.
7743         [!__ASSUME_32BITUIDS]: Remove conditional code.
7744         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7745         <kernel-features.h>.
7746         [__ASSUME_32BITUIDS]: Make code unconditional.
7747         [!__ASSUME_32BITUIDS]: Remove conditional code.
7748         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7749         <kernel-features.h>.
7750         [__ASSUME_32BITUIDS]: Make code unconditional.
7751         [!__ASSUME_32BITUIDS]: Remove conditional code.
7752         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
7753         <kernel-features.h>.
7754         [__ASSUME_32BITUIDS]: Make code unconditional.
7755         [!__ASSUME_32BITUIDS]: Remove conditional code.
7756         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7757         <kernel-features.h>.
7758         [__ASSUME_32BITUIDS]: Make code unconditional.
7759         [!__ASSUME_32BITUIDS]: Remove conditional code.
7760         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7761         <kernel-features.h>.
7762         [__ASSUME_32BITUIDS]: Make code unconditional.
7763         [!__ASSUME_32BITUIDS]: Remove conditional code.
7764         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
7765         <kernel-features.h>.
7766         [__ASSUME_32BITUIDS]: Make code unconditional.
7767         [!__ASSUME_32BITUIDS]: Remove conditional code.
7768         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
7769         <kernel-features.h>.
7770         [__NR_setresgid] (__setresgid): Do not declare.
7771         [__ASSUME_32BITUIDS]: Make code unconditional.
7772         [!__ASSUME_32BITUIDS]: Remove conditional code.
7773         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
7774         <kernel-features.h>.
7775         [__NR_setresuid] (__setresuid): Do not declare.
7776         [__ASSUME_32BITUIDS]: Make code unconditional.
7777         [!__ASSUME_32BITUIDS]: Remove conditional code.
7778         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
7779         <kernel-features.h>.
7780         [__ASSUME_32BITUIDS]: Make code unconditional.
7781         [!__ASSUME_32BITUIDS]: Remove conditional code.
7782         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
7783         <kernel-features.h>.
7784         [__ASSUME_32BITUIDS]: Make code unconditional.
7785         [!__ASSUME_32BITUIDS]: Remove conditional code.
7786         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
7787         <kernel-features.h>.
7788         [__ASSUME_32BITUIDS]: Make code unconditional.
7789         [!__ASSUME_32BITUIDS]: Remove conditional code.
7790         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
7791         <kernel-features.h>.
7792         [__ASSUME_32BITUIDS]: Make code unconditional.
7793         [!__ASSUME_32BITUIDS]: Remove conditional code.
7794         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
7795         <kernel-features.h>.
7796         [__ASSUME_32BITUIDS]: Make code unconditional.
7797         [!__ASSUME_32BITUIDS]: Remove conditional code.
7798         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
7799         <kernel-features.h>.
7800         [__ASSUME_32BITUIDS]: Make code unconditional.
7801         [!__ASSUME_32BITUIDS]: Remove conditional code.
7802         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
7803         <kernel-features.h>.
7804         [__ASSUME_32BITUIDS]: Make code unconditional.
7805         [!__ASSUME_32BITUIDS]: Remove conditional code.
7806         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
7807         <kernel-features.h>.
7808         [__ASSUME_32BITUIDS]: Make code unconditional.
7809         [!__ASSUME_32BITUIDS]: Remove conditional code.
7810         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
7811         <kernel-features.h>.
7812         [__ASSUME_32BITUIDS]: Make code unconditional.
7813         [!__ASSUME_32BITUIDS]: Remove conditional code.
7814         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7815         <kernel-features.h>.
7816         [__ASSUME_32BITUIDS]: Make code unconditional.
7817         [!__ASSUME_32BITUIDS]: Remove conditional code.
7818         * sysdeps/unix/sysv/linux/kernel-features.h
7819         (__ASSUME_SETRESUID_SYSCALL): Remove.
7820         (__ASSUME_SETRESGID_SYSCALL): Likewise.
7821         (__ASSUME_32BITUIDS): Likewise.
7822         (__ASSUME_LDT_WORKS): Likewise.
7823         (__ASSUME_O_DIRECTORY): Likewise.
7824         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
7825         architecture but not kernel version.
7826         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7827         (__ASSUME_MMAP2_SYSCALL): Likewise.
7828         (__ASSUME_STAT64_SYSCALL): Likewise.
7829         (__ASSUME_IPC64): Likewise.
7830         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
7831         <kernel-features.h>.
7832         [__ASSUME_32BITUIDS]: Make code unconditional.
7833         [!__ASSUME_32BITUIDS]: Remove conditional code.
7834         * sysdeps/unix/sysv/linux/opendir.c: Do not include
7835         <kernel-features.h>.
7836         [__ASSUME_O_DIRECTORY]: Make code unconditional.
7837         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
7838         132096]: Remove conditional code.
7839         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
7840         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7841         <kernel-features.h>.
7842         [__ASSUME_32BITUIDS]: Make code unconditional.
7843         [!__ASSUME_32BITUIDS]: Remove conditional code.
7844         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7845         <kernel-features.h>.
7846         [__ASSUME_32BITUIDS]: Make code unconditional.
7847         [!__ASSUME_32BITUIDS]: Remove conditional code.
7848         * sysdeps/unix/sysv/linux/setegid.c: Do not include
7849         <kernel-features.h>.
7850         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
7851         unconditional.
7852         (__setresgid): Do not declare.
7853         [__ASSUME_32BITUIDS]: Make code unconditional.
7854         [!__ASSUME_32BITUIDS]: Remove conditional code.
7855         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
7856         <kernel-features.h>.
7857         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
7858         unconditional.
7859         (__setresuid): Do not declare.
7860         [__ASSUME_32BITUIDS]: Make code unconditional.
7861         [!__ASSUME_32BITUIDS]: Remove conditional code.
7862         * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
7867         <kernel-features.h>.
7868         [__ASSUME_32BITUIDS]: Make code unconditional.
7869         [!__ASSUME_32BITUIDS]: Remove conditional code.
7871 2012-05-25  Richard Henderson  <rth@twiddle.net>
7873         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
7874         dl_hwcap to ifunc resolver.
7875         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
7876         elf_ifunc_invoke.
7877         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
7878         dl_hwcap to ifunc resolver.
7879         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
7881 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
7883         [BZ #14153]
7884         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
7885         for |x| <= 2**-26, not 2**-57.
7886         * math/libm-test.inc (acos_test): Do not allow spurious underflow
7887         exception.
7889 2012-05-24  Jeff Law  <law@redhat.com>
7891         * stdio-common/Makefile (tests): Add bug25.
7892         * stdio-common/bug25.c: New test.
7894 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
7896         [BZ #13576]
7897         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
7898         multiple of MALLOC_ALIGNMENT in size.
7899         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
7901 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
7903         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
7904         Require >= 256.
7905         (FILENAME_MAX): Use macro-int-constant.
7906         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
7907         (_IOFBF): Use macro-int-constant.
7908         (_IOLBF): Likewise.
7909         (_IONBF): Likewise.
7910         (SEEK_CUR): Likewise.
7911         (SEEK_END): Likewise.
7912         (SEEK_SET): Likewise.
7913         (TMP_MAX): Likewise.
7914         (EOF): Use macro-int-constant.  Require < 0.
7915         (NULL): Use macro-constant.  Require == 0.
7916         (stdin): Require type to be FILE *.
7917         (stdout): Likewise.
7918         (stderr): Likewise.
7919         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
7920         macro-int-constant.
7921         (EXIT_SUCCESS): Likewise.
7922         (NULL): Use macro-constant.  Require == 0.
7923         (RAND_MAX): Use macro-int-constant.
7924         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
7925         [C99-based standards] (strtof): Require function.
7926         [C99-based standards] (strtold): Likewise.
7927         [C99-based standards] (strtoll): Likewise.
7928         [C99-based standards] (strtoull): Likewise.
7929         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7930         [ISO || ISO99 || ISO11] (limits.h): Likewise.
7931         [ISO || ISO99 || ISO11] (math.h): Likewise.
7932         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
7933         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7934         [ISO || ISO99 || ISO11] (*_t): Do not allow.
7936 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
7938         [BZ #14132]
7939         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
7940         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
7941         * intl/dgettext.c (DCGETTEXT): Likewise.
7942         * intl/gettext.c (DCGETTEXT): Likewise.
7943         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
7944         * posix/regex_internal.h (gettext): Likewise.
7945         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
7946         Remove declaration.
7947         * include/argz.h (__argz_count_internal)
7948         (__argz_stringify_internal): Remove declaration.
7949         (__argz_count, __argz_stringify): Declare hidden proto.
7950         * intl/dcgettext.c: Remove use of INTDEF.
7951         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
7952         * string/argz-stringify.c: Likewise.
7953         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7954         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7955         Declare hidden proto.
7956         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7957         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7958         Declare hidden proto.
7959         * include/stdio.h (__asprintf_internal): Don't declare.
7960         (__asprintf): Don't define as macro.  Declare hidden proto.
7961         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
7962         (__fsetlocking): Declare hidden proto.
7963         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
7964         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
7965         hidden proto.
7966         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
7967         (_IO_setlinebuf): Remove use of INTUSE.
7968         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
7969         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
7970         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
7971         Remove declaration.
7972         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
7973         (_IO_do_flush): Remove use of INTUSE.
7974         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
7975         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
7976         (_IO_adjust_column, _IO_least_wmarker)
7977         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
7978         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
7979         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
7980         (_IO_default_doallocate, _IO_wdefault_doallocate)
7981         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
7982         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
7983         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
7984         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
7985         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
7986         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
7987         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
7988         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
7989         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
7990         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
7991         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
7992         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
7993         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
7994         proto.
7995         (_IO_flush_all_internal, _IO_adjust_column_internal)
7996         (_IO_default_uflow_internal, _IO_default_finish_internal)
7997         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
7998         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
7999         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
8000         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
8001         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
8002         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
8003         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
8004         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
8005         (_IO_file_close_internal, _IO_file_close_it_internal)
8006         (_IO_file_underflow_internal, _IO_file_overflow_internal)
8007         (_IO_file_init_internal, _IO_file_attach_internal)
8008         (_IO_file_fopen_internal, _IO_file_read_internal)
8009         (_IO_file_sync_internal, _IO_file_seek_internal)
8010         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
8011         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
8012         (_IO_str_underflow_internal, _IO_str_overflow_internal)
8013         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
8014         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
8015         (_IO_list_all_internal, _IO_link_in_internal)
8016         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
8017         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
8018         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
8019         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
8020         (_IO_do_write_internal, _IO_padn_internal)
8021         (_IO_getline_info_internal, _IO_getline_internal)
8022         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
8023         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
8024         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
8025         (_IO_vfscanf_internal, _IO_vfprintf_internal)
8026         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
8027         (_IO_init_internal, _IO_un_link_internal): Don't declare.
8028         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
8029         with libc_hidden_ver, remove use of INTUSE.
8030         * libio/genops.c: Likewise.
8031         * libio/freopen.c: Likewise.
8032         * libio/freopen64.c: Likewise.
8033         * libio/iofclose.c: Likewise.
8034         * libio/iofdopen.c: Likewise.
8035         * libio/iofflush.c: Likewise.
8036         * libio/iofflush_u.c: Likewise.
8037         * libio/iofgets.c: Likewise.
8038         * libio/iofgets_u.c: Likewise.
8039         * libio/iofopen.c: Likewise.
8040         * libio/iofopncook.c: Likewise.
8041         * libio/iofread.c: Likewise.
8042         * libio/iofread_u.c: Likewise.
8043         * libio/ioftell.c: Likewise.
8044         * libio/iofwrite.c: Likewise.
8045         * libio/iogetline.c: Likewise.
8046         * libio/iogets.c: Likewise.
8047         * libio/iogetwline.c: Likewise.
8048         * libio/iopadn.c: Likewise.
8049         * libio/iopopen.c: Likewise.
8050         * libio/ioseekoff.c: Likewise.
8051         * libio/ioseekpos.c: Likewise.
8052         * libio/iosetbuffer.c: Likewise.
8053         * libio/iosetvbuf.c: Likewise.
8054         * libio/ioungetc.c: Likewise.
8055         * libio/ioungetwc.c: Likewise.
8056         * libio/iovdprintf.c: Likewise.
8057         * libio/iovsprintf.c: Likewise.
8058         * libio/iovsscanf.c: Likewise.
8059         * libio/memstream.c: Likewise.
8060         * libio/obprintf.c: Likewise.
8061         * libio/oldfileops.c: Likewise.
8062         * libio/oldiofclose.c: Likewise.
8063         * libio/oldiofdopen.c: Likewise.
8064         * libio/oldiofopen.c: Likewise.
8065         * libio/oldiopopen.c: Likewise.
8066         * libio/oldstdfiles.c: Likewise.
8067         * libio/putc.c: Likewise.
8068         * libio/setbuf.c: Likewise.
8069         * libio/setlinebuf.c: Likewise.
8070         * libio/stdfiles.c: Likewise.
8071         * libio/strops.c: Likewise.
8072         * libio/vasprintf.c: Likewise.
8073         * libio/vscanf.c: Likewise.
8074         * libio/vsnprintf.c: Likewise.
8075         * libio/vswprintf.c: Likewise.
8076         * libio/wfiledoalloc.c: Likewise.
8077         * libio/wfileops.c: Likewise.
8078         * libio/wgenops.c: Likewise.
8079         * libio/wmemstream.c: Likewise.
8080         * libio/wstrops.c: Likewise.
8081         * libio/__fpurge.c: Likewise.
8082         * libio/__fsetlocking.c: Likewise.
8083         * assert/assert.c: Likewise.
8084         * debug/fgets_chk.c: Likewise.
8085         * debug/fgets_u_chk.c: Likewise.
8086         * debug/fread_chk.c: Likewise.
8087         * debug/fread_u_chk.c: Likewise.
8088         * debug/gets_chk.c: Likewise.
8089         * debug/obprintf_chk.c: Likewise.
8090         * debug/vasprintf_chk.c: Likewise.
8091         * debug/vdprintf_chk.c: Likewise.
8092         * debug/vsnprintf_chk.c: Likewise.
8093         * debug/vsprintf_chk.c: Likewise.
8094         * malloc/mtrace.c: Likewise.
8095         * misc/error.c: Likewise.
8096         * misc/syslog.c: Likewise.
8097         * stdio-common/asprintf.c: Likewise.
8098         * stdio-common/fxprintf.c: Likewise.
8099         * stdio-common/getw.c: Likewise.
8100         * stdio-common/isoc99_fscanf.c: Likewise.
8101         * stdio-common/isoc99_scanf.c: Likewise.
8102         * stdio-common/isoc99_vfscanf.c: Likewise.
8103         * stdio-common/isoc99_vscanf.c: Likewise.
8104         * stdio-common/isoc99_vsscanf.c: Likewise.
8105         * stdio-common/printf-prs.c: Likewise.
8106         * stdio-common/printf_fp.c: Likewise.
8107         * stdio-common/printf_fphex.c: Likewise.
8108         * stdio-common/printf_size.c: Likewise.
8109         * stdio-common/putw.c: Likewise.
8110         * stdio-common/scanf.c: Likewise.
8111         * stdio-common/sprintf.c: Likewise.
8112         * stdio-common/tmpfile.c: Likewise.
8113         * stdio-common/vfprintf.c: Likewise.
8114         * stdio-common/vfscanf.c: Likewise.
8115         * stdlib/strfmon_l.c: Likewise.
8116         * sunrpc/openchild.c: Likewise.
8117         * sunrpc/xdr_stdio.c: Likewise.
8118         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
8119         * sysdeps/mach/hurd/tmpfile.c: Likewise.
8121 2012-05-24  Roland McGrath  <roland@hack.frob.com>
8123         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8125         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
8126         in the third column, to generate for the shared library an IFUNC
8127         that uses _dl_vdso_vsym.
8128         * Makerules (COMPILE.c, compile-stdin.c): New variables.
8129         * Makeconfig (object-suffixes-noshared): New variable.
8131         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
8132         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
8133         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
8134         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
8136         [BZ #14132]
8137         * include/sys/time.h (__gettimeofday): Remove macro.
8138         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
8139         * time/gettimeofday.c (__gettimeofday): Remove #undef.
8140         Remove INTDEF.
8141         (__gettimeofday): Add libc_hidden_def.
8142         (gettimeofday): Add libc_hidden_weak.
8143         * sysdeps/mach/gettimeofday.c: Likewise.
8144         * sysdeps/posix/gettimeofday.c: Likewise.
8145         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
8146         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
8147         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
8148         (__gettimeofday_internal): Remove strong_alias.
8149         (__gettimeofday): Add libc_hidden_def.
8150         (gettimeofday): Add libc_hidden_weak.
8151         * sysdeps/unix/syscalls.list (gettimeofday):
8152         Remove __gettimeofday_internal alias.
8154 2012-05-24  Daniel Jacobowitz  <drow@false.org>
8155             H.J. Lu  <hongjiu.lu@intel.com>
8157         [BZ #12495]
8158         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
8159         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
8160         (largebin_index_32_big): New.
8161         (largebin_index): Use it for 16-byte alignment.
8162         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
8163         correction with front_misalign.
8165 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
8167         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
8168         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8169         Likewise.
8170         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
8171         Likewise.
8172         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8173         Likewise.
8174         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
8175         Likewise.
8176         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
8177         Likewise.
8178         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
8179         Likewise.
8180         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
8181         Likewise.
8182         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
8183         Likewise.
8184         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
8185         Likewise.
8186         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
8187         Likewise.
8188         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8189         Likewise.
8190         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
8191         Likewise.
8193         * scripts/data/c++-types-x32-linux-gnu.data: New file.
8194         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
8196 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
8198         [BZ #10846]
8199         [BZ #14036]
8200         * math/libm-test.inc (exp_test): Add test from bug 14036.
8201         (pow_test): Add test from bug 10846.
8203         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
8204         and other flags.
8205         (special_function): Do not include flags in test name.
8206         (parse_args): Likewise.
8207         * sysdeps/i386/fpu/libm-test-ulps: Update.
8208         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8209         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8210         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8213         * math/gen-libm-test.pl (%beautify): Add entries for underflow
8214         exceptions.
8215         * math/libm-test.inc ("Philosophy"): Update comment about
8216         exception testing.
8217         (UNDERFLOW_EXCEPTION): New macro.
8218         (UNDERFLOW_EXCEPTION_OK): Likewise.
8219         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8220         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8221         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8222         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8223         (INVALID_EXCEPTION_OK): Update value.
8224         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8225         (OVERFLOW_EXCEPTION_OK): Likewise.
8226         (IGNORE_ZERO_INF_SIGN): Likewise.
8227         (test_exceptions): Handle underflow exceptions.
8228         (acos_test): Update for underflow exception expectations.
8229         (cexp_test): Likewise.
8230         (clog_test): Likewise.
8231         (clog10_test): Likewise.
8232         (csqrt_test): Likewise.
8233         (ctan_test): Likewise.
8234         (ctanh_test): Likewise.
8235         (exp_test): Likewise.
8236         (exp10_test): Likewise.
8237         (exp2_test): Likewise.
8238         (expm1_test): Likewise.
8239         (fma_test): Likewise.
8240         (j0_test): Likewise.
8241         (jn_test): Likewise.
8242         (nexttoward_test): Likewise.
8243         (pow_test): Likewise.
8244         (scalbn_test): Likewise.
8245         (scalbln_test): Likewise.
8246         (tan_test): Likewise.
8247         (y1_test): Likewise.
8248         * sysdeps/i386/fpu/libm-test-ulps: Update.
8249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8251 2012-05-23  David S. Miller  <davem@davemloft.net>
8253         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8254         (__libc_sigaction): Remove unused local variables.
8256 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
8258         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
8260 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
8262         mktime: avoid signed integer overflow
8263         * time/mktime.c (__mktime_internal): Do not mishandle the case
8264         where diff == INT_MIN.
8266         mktime: simplify computation of average
8267         * time/mktime.c (ranged_convert): Use new time_t_avg function
8268         instead of rolling our own (probably-slower) code.
8270         mktime: do not assume signed right shift propagates sign bit
8271         * time/mktime.c (isdst_differ): New static function.
8272         (__mktime_internal): No need to normalize tm_isdst now.
8273         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
8274         tm_isdst values.
8276         mktime: merge another wrapv change from gnulib
8277         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
8278         from some compilers.
8280         mktime: remove incorrect attempt at unusual arithmetics
8281         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
8282         The code didn't really work on such machines anyway.
8283         (TYPE_MINIMUM): Assume two's complement.
8284         (twos_complement_arithmetic): Verify that long_int and time_t
8285         are two's complement (or unsigned, in the latter case).
8287         mktime: check signed shifts on long_int and time_t, too
8288         * time/mktime.c (SHR): Check that shifts work as desired
8289         on the types long_int and time_t too, as SHR is used on
8290         such types.
8292         mktime: do not assume 'long' is wide enough
8293         * time/mktime.c (verify): Move decl up.
8294         (long_int): New type.
8295         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
8296         to remove assumption in the code that 'long' is wide enough to
8297         store year values.  This assumption is not true on x32 and on
8298         some non-glibc platforms.
8300         mktime: merge wrapv change from gnulib
8301         * time/mktime.c (WRAPV): New macro.
8302         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
8303         (guess_time_tm, __mktime_internal): Do not assume that signed
8304         integer overflow wraps around; modern compilers generate code
8305         where this assumption is no longer valid.
8307 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
8309         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8310         Replace "jmp L(pseudo_end)" with "ret".
8311         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
8312         Likewise.
8314 2012-05-23  Andreas Jaeger  <aj@suse.de>
8316         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
8317         * sysdeps/unix/sysv/linux/poll.c: Remove file.
8319 2012-05-23  Andreas Jaeger  <aj@suse.de>
8320             Maximilian Attems  <max@stro.at>
8322         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
8323         New macros.
8325 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
8327         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
8328         code so that pseudo_end is just ret and the stack pointer is
8329         correct also for static library in error case.
8331 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
8333         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
8334         move to syscalls.list.
8335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8340         * manual/install.texi (Running make install): Do not mention Linux
8341         kernel version for which pt_chown is not needed.
8342         (Linux): Do not mention problems with nscd with 2.0 kernels.
8343         * INSTALL: Regenerated.
8345 2012-05-23  Andreas Jaeger  <aj@suse.de>
8347         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
8348         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
8349         macro.
8350         * sysdeps/unix/sysv/linux/s390/bits/mman.h
8351         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8352         * sysdeps/unix/sysv/linux/sh/bits/mman.h
8353         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8354         * sysdeps/unix/sysv/linux/i386/bits/mman.h
8355         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8356         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
8357         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8358         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
8359         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8360         * sysdeps/unix/sysv/linux/bits/in.h
8361         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
8363 2012-05-22  Roland McGrath  <roland@hack.frob.com>
8365         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
8366         (PREPARE_VERSION): Just use assert instead, it will be elided
8367         under [NDEBUG] anyway.
8369 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
8371         * sysdeps/unix/sysv/linux/Makefile: Include
8372         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
8373         (sysdep_routines): Remove sysctl.
8374         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
8375         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
8376         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
8377         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
8378         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
8380 2012-05-22  Andreas Jaeger  <aj@suse.de>
8382         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
8383         that pseudo_end is just ret and the stack pointer is correct also
8384         for static library in error case.
8386 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
8388         [BZ #14122]
8389         * nss/nsswitch.c (defconfig_entries): New variable.
8390         (__nss_database_lookup): Don't leak defconfig entries.
8391         (nss_parse_service_list): Don't leak on error paths.
8392         (free_database_entries): New function.
8393         (free_defconfig): New function.
8394         (free_mem): Move common code to free_database_entries.
8396 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
8398         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
8399         Add arch_prctl.
8400         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
8402         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8403         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
8404         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
8405         New macro.
8406         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
8407         (INTERNAL_SYSCALL_TYPES): Likewise.
8408         (LOAD_ARGS_TYPES_[1-6]): Likewise.
8409         (LOAD_REGS_TYPES_[1-6]): Likewise.
8410         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
8411         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
8413 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8415         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
8416         copysignl for GLIBC_2_0.
8417         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
8418         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
8419         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
8420         logbl for GLIBC_2_0.
8421         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8422         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8424 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
8426         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
8427         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
8429         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8430         Use "neg %eax".
8432         * time/mktime.c: Update copyright years.
8434 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
8436         mktime: merge comment-quoting-style change from gnulib
8437         * time/mktime.c: Quote 'like this' in comments.
8438         The GNU coding standards suggest that we no longer quote `like this',
8439         as "`" and "'" are typically rendered asymmetrically nowadays.
8440         The typical gnulib style is to quote 'like this' when quoting
8441         code, and "like this" when quoting English.
8443         * time/mktime.c (compile-command): Add "-I.".
8445         mktime: merge mktime-internal.h change from gnulib
8446         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
8448         mktime: merge time_r change from gnulib
8449         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
8451         mktime: merge DEBUG change from gnulib
8452         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
8453         case system <time.h> has a #define.
8455         mktime: merge <sys/types.h> change from gnulib
8456         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
8457         since <time.t> is now guaranteed to define time_t.
8459         mktime: merge HAVE_CONFIG_H change from gnulib
8460         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
8462 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
8464         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8465         Use "neg %eax".
8467         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
8468         __rlim_t cast.
8469         (struct rusage): Use anonymous union to pad each field to
8470         __syscall_slong_t.
8472 2012-05-21  David S. Miller  <davem@davemloft.net>
8474         * Makefules (o-iterator): Remove .s cases.
8475         (compile-command.s): Delete.
8476         (COMPILE.s): Delete.
8477         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
8479 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
8481         * configure.in (libc_cv_predef_stack_protector): Only consider
8482         "foobar" and "__stack_chk_fail" lines in libc_undefs.
8483         * configure: Regenerated.
8485 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
8487         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8488         New macro.  Use R*LP on int and pointer.
8489         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
8490         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
8491         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
8492         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
8494         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
8495         [__WORDSIZE_TIME64_COMPAT32] instead of
8496         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
8497         (struct utmp): Likewise.
8498         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
8499         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
8500         Renamed to ...
8501         (__WORDSIZE_TIME64_COMPAT32): This.
8502         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
8503         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
8504         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
8505         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
8506         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
8507         (__WORDSIZE_TIME64_COMPAT32): New macro.
8509 2012-05-21  Andreas Jaeger  <aj@suse.de>
8511         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
8512         only if [SHARED]. Add prototype for __wcschr_ia32.
8514 2012-05-21  Roland McGrath  <roland@hack.frob.com>
8516         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
8517         of %rbp unmolested in the jmp_buf while mangling the low bits.
8518         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
8519         unmolested high bits of %rbp while demangling the low bits.
8520         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8522 2012-05-21  Andreas Jaeger  <aj@suse.de>
8524         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
8525         * sunrpc/svc_simple.c: Use it for registerrpc.
8526         * sunrpc/xcrypt.c: Use it for passwd2des.
8528         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
8530 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
8532         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
8533         Don't define if [__SYSCALL_WORDSIZE != 32].
8534         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
8535         New macro.
8537 2012-05-21  Bruno Haible  <bruno@clisp.org>
8538             Andreas Jaeger  <aj@suse.de>
8540         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
8541         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
8542         inptr and inend for must_buffer_ch.
8543         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
8544         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
8545         * stdio-common/Makefile (tests): Remove bug15.
8546         (bug15-ENV): Remove macro.
8547         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
8548         anymore.
8550 2012-05-19  Andreas Jaeger  <aj@suse.de>
8551             Roland McGrath  <roland@hack.frob.com>
8553         * manual/contrib.texi: Completely rewritten. It contains now an
8554         alphabetical list of contributors and their contributions.
8556 2012-05-21  Richard Henderson  <rth@twiddle.net>
8558         * misc/getauxval.c (__getauxval): Use unsigned long int.
8559         * misc/sys/auxv.h: Include <sys/cdefs.h>.
8560         (getauxval): Use unsigned long int.
8562 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
8564         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8566 2012-05-21  Roland McGrath  <roland@hack.frob.com>
8568         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
8569         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
8570         __alignof__ (long double).
8572 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8574         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8576 2012-05-20  Richard Henderson  <rth@twiddle.net>
8578         * misc/getauxval.c: New file.
8579         * misc/sys/auxv.h: New file.
8580         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
8581         (routines): Add getauxval.
8582         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
8583         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
8584         * elf/dl-sysdep.c (_dl_auxv): Remove.
8585         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
8586         * elf/dl-support.c (_dl_auxv): New variable.
8587         (_dl_aux_init): Initialize it.
8588         * manual/startup.texi (Auxiliary Vector): New node.
8589         * sysdeps/generic/bits/hwcap.h: New file.
8590         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
8591         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
8592         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
8593         * sysdeps/sparc/sysdep.h: ... here.  Include it.
8594         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
8595         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
8596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8597         Update.
8598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
8599         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
8600         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
8601         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
8602         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8603         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8604         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
8605         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
8607 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8609         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8611 2012-05-19  David S. Miller  <davem@davemloft.net>
8613         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8615 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
8617         [BZ #14123]
8618         * math/s_ccosh.c: Include <float.h>
8619         (__ccosh): Avoid internal overflow calculating sinh and cosh
8620         values before multiplying by sin and cos values.
8621         * math/s_ccoshf.c: Likewise.
8622         * math/s_ccoshl.c: Likewise.
8623         * math/s_csin.c: Likewise.
8624         * math/s_csinf.c: Likewise.
8625         * math/s_csinl.c: Likewise.
8626         * math/s_csinh.c: Likewise.
8627         * math/s_csinhf.c: Likewise.
8628         * math/s_csinhl.c: Likewise.
8629         * math/libm-test.inc (ccos_test): Add more tests.
8630         (ccosh_test): Likewise.
8631         (csin_test): Likewise.
8632         (csinh_test): Likewise.
8633         * sysdeps/i386/fpu/libm-test-ulps: Update.
8634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8636 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
8638         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
8639         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
8641         * sysdeps/x86_64/x32/_itoa.h: Add comment.
8643 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
8645         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
8646         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
8647         * sysdeps/powerpc/soft-fp/Versions: Likewise.
8648         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
8649         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
8650         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
8651         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
8652         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
8653         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
8654         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
8655         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
8656         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
8657         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
8658         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
8659         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
8660         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
8661         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
8662         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
8663         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
8664         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
8665         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
8666         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
8667         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
8668         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
8669         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
8670         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
8671         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
8672         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
8673         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
8674         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
8675         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
8677 2012-05-18  Andreas Jaeger  <aj@suse.de>
8679         * csu/.gitignore: Delete.
8681 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
8683         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
8684         (timex): Use __syscall_slong_t.
8686 2012-05-18  Andreas Jaeger  <aj@suse.de>
8687             Carlos O'Donell  <carlos_odonell@mentor.com>
8689         * manual/install.texi (Configuring and compiling): Update
8690         description about files modified in the source directory.
8691         * INSTALL: Regenerated.
8693 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
8695         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
8696         value.  Use "or" to set return value to -1.
8697         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
8698         negate return value.
8700 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8702         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
8703         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
8704         failure if the compiler has Graphite support disabled.
8705         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
8706         Likewise.
8707         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
8708         CFLAGS-memmove.c): Likewise.
8709         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
8710         Likewise.
8712 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
8714         * sysdeps/x86_64/x32/_itoa.h: New file.
8716         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
8717         getdents system call only if kernel and user dirents have the
8718         same d_ino and d_off.
8720         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8721         LLONG_MAX != LONG_MAX.
8722         (_itoa_word): Use _ITOA_WORD_TYPE on value.
8723         (_fitoa_word): Likewise.
8725         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
8726         years.
8727         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
8728         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
8729         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
8731         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
8732         include <bits/wordsize.h>.  Check __x86_64__ instead of
8733         __WORDSIZE.
8734         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
8735         if __x86_64__ is defined.  Use anonymous union on fpstate.
8737         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
8738         anonymous union.
8740 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
8742         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8743         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
8744         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
8745         Refer to _rtld_local_ro instead of _rtld_global_ro.
8746         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
8747         Likewise.
8748         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
8749         Likewise.
8750         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
8751         Likewise.
8752         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
8753         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
8754         of _rtld_global, and rtld_progname instead of _dl_argv[0].
8756         * sysdeps/powerpc/powerpc32/dl-machine.c
8757         (__elf_machine_runtime_setup) [PROF]: Don't reference
8758         _dl_prof_resolve.
8760 2012-05-18  Andreas Jaeger  <aj@suse.de>
8762         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
8763         function only available for GCCs before 3.4 since GCC 3.4
8764         introduced a builtin.
8765         (lrint): Likewise.
8766         (llrintf): Likewise.
8767         (llrint): Likewise.
8768         (fmaxf): Likewise.
8769         (fmax): Likewise.
8770         (fminf): Likewise.
8771         (fmin): Likewise.
8772         (rint): Likewise.
8773         (rintf): Likewise.
8774         (nearbyint): Likewise.
8775         (nearbyintf): Likewise.
8776         (ceil): Likewise.
8777         (ceilf): Likewise.
8778         (floor): Likewise.
8779         (floorf): Likewise.
8781 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
8783         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
8784         on both fields and cast pointer to __syscall_ulong_t.
8786         * bits/types.h (__fsword_t): New type.
8787         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
8788         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
8789         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8790         (__FSWORD_T_TYPE): Likewise.
8791         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8792         (__FSWORD_T_TYPE): Likewise.
8793         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8794         (__FSWORD_T_TYPE): Likewise.
8795         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
8796         (__FSWORD_T_TYPE): Likewise.
8797         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
8798         __SWORD_TYPE with __fsword_t.
8799         (statfs64): Likewise.
8801 2012-05-17  David S. Miller  <davem@davemloft.net>
8803         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
8805 2012-05-17  Andreas Jaeger  <aj@suse.de>
8807         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
8808         warning.
8810 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
8812         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
8814 2012-05-17  Andreas Jaeger  <aj@suse.de>
8816         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
8817         when it is used.
8819 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
8821         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
8823 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
8825         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
8826         * sysdeps/x86_64/tst-mallocalign1.c: New file.
8828 2012-05-17  Andreas Jaeger  <aj@suse.de>
8829             Carlos O'Donell  <carlos_odonell@mentor.com>
8831         [BZ #14059]
8832         * sysdeps/x86_64/multiarch/init-arch.h
8833         (bit_YMM_Usable): Rename to...
8834         (bit_AVX_Usable): ... this.
8835         (bit_FMA4_Usable): New macro.
8836         (bit_XMM_state): New macro.
8837         (bit_YMM_state): New macro.
8838         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
8839         [__ASSEMBLER__] (index_AVX_Usable): ... this.
8840         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
8841         (CPUID_OSXSAVE): New macro.
8842         (CPUID_AVX): New macro.
8843         (CPUID_FMA4): New macro.
8844         (index_YMM_Usable): Rename to...
8845         (index_AVX_Usable): ... this.
8846         (HAS_AVX): Use HAS_ARCH_FEATURE.
8847         (HAS_FMA4): Likewise.
8848         (HAS_YMM_USABLE): Remove.
8849         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8850         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
8851         are present.
8852         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
8853         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
8854         * sysdeps/x86_64/multiarch/Makefile: Likewise.
8855         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
8856         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
8858 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
8860         * math/libm-test.c: Support platforms without multiple rounding modes.
8861         * math/bug-nextafter.c: Support platforms without FP exceptions.
8862         * math/bug-nexttoward.c: Likewise.
8863         * math/test-fenv.c: Likewise.
8864         * math/test-misc.c: Likewise.
8865         * stdlib/bug-getcontext.c: Likewise.
8867 2012-05-17  Andreas Jaeger  <aj@suse.de>
8869         * manual/examples/search.c (critter_cmp): Change signature to
8870         avoid warnings.
8871         * manual/string.texi (Collation Functions): Likewise.
8873 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
8875         * bits/types.h: Fold copyright years.
8876         * bits/typesizes.h: Likewise.
8877         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
8878         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8879         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
8880         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
8881         * time/time.h: Likewise.
8883 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
8885         [BZ #208]
8886         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
8887         in instead of returning them.  Return void.
8888         (__libc_mallinfo): Accumulate over all arenas.
8889         (__malloc_stats): Adjust for change in int_mallinfo interface.
8891 2012-05-16  Roland McGrath  <roland@hack.frob.com>
8893         [BZ #10375]
8894         * configure.in (NM): Add AC_CHECK_TOOL for it.
8895         (libc_extra_cflags): New substituted variable.
8896         Check for -fstack-protector being used implicitly.
8897         * configure: Regenerated.
8898         * config.make.in (config-extra-cflags): New variable,
8899         gets @libc_extra_cflags@.
8900         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
8902         [BZ #10375]
8903         * configure.in: Check for _FORTIFY_SOURCE being predefined.
8904         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
8905         * configure: Regenerated.
8906         * config.make.in (CPPUNDEFS): New substituted variable.
8907         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
8908         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
8909         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
8911 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
8913         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
8914         (mq_attr): Use __syscall_slong_t.
8916 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
8918         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
8919         Check __x86_64__ instead of __WORDSIZE.
8920         (_STAT_VER_LINUX): Likewise.
8921         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
8922         __syscall_ulong_t and __syscall_slong_t.
8923         (stat64): Likewise.
8925 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
8927         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
8929 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
8931         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
8933 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
8935         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
8936         __syscall_ulong_t.
8938         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
8939         include <bits/wordsize.h>.  Check __x86_64__ instead of
8940         __WORDSIZE.
8941         (greg_t): Use "__extension__ long long int" if __x86_64__ is
8942         defined.
8943         (mcontext_t): Replace "unsigned long" with "unsigned long long".
8945         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
8946         include <bits/wordsize.h>.  Check __x86_64__ instead of
8947         __WORDSIZE.
8948         (user_regs_struct): Use "__extension__ unsigned long long"
8949         instead of "unsigned long" if __x86_64__ is defined.
8950         (user): Likewise.  Pad after pointer field if __ILP32__ is
8951         defined.
8953 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
8955         * configure.in (makeinfo): Require version 4.5 or later.  Allow
8956         versions 5 to 9.
8957         * configure: Regenerated.
8958         * manual/install.texi (texinfo): Increase version requirement to
8959         4.5 or later.
8960         * INSTALL: Regenerated.
8962         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
8964 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
8966         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
8968         * sysdeps/x86_64/x32/ffs.c: New file.
8970         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
8971         __syscall_ulong_t.
8972         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
8973         defined.  Use __syscall_ulong_t.
8974         (shminfo): Use __syscall_ulong_t.
8975         (shm_info): Likewise.
8977         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
8978         __syscall_ulong_t.
8980         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
8981         <bits/wordsize.h>.
8982         (msgqnum_t): Use __syscall_ulong_t.
8983         (msglen_t): Likewise.
8984         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
8985         __syscall_ulong_t.
8987         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
8988         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
8990         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
8992         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
8993         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
8995         * sysvipc/sys/msg.h (msgbuf): Replace long int with
8996         __syscall_slong_t.
8998         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
8999         include <bits/wordsize.h>.  Check __x86_64__ instead of
9000         __WORDSIZE.
9002         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
9003         "unsigned long long int" if __x86_64__ is defined.
9004         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
9006         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
9007         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
9008         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
9010         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
9011         <stdint.h>.
9012         (GET_PC): Cast to uintptr_t first.
9013         (GET_FRAME): Likewise.
9014         (GET_STACK): Likewise.
9016         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
9017         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
9018         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
9019         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
9020         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
9021         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
9022         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
9023         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
9024         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
9025         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
9026         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
9027         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
9028         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9029         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
9030         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
9031         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
9032         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
9033         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
9034         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
9035         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
9036         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
9037         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
9038         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
9039         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
9040         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
9041         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
9042         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
9043         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
9044         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
9046 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
9048         * Makerules (+depfiles): Also collect depfiles from .oS in
9049         $(extra-objs).
9050         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
9051         .oS, $(libnldbl-routines)).
9053         * Makerules (native-compile-mkdep-flags): Define.
9054         * sunrpc/Makefile (extra-objs): Add $(addprefix
9055         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
9056         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
9057         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
9058         calling $(make-target-directory).
9060 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9062         * bits/types.h (__snseconds_t): Removed.
9063         * time/time.h (struct timespec): Replace __snseconds_t with
9064         __syscall_slong_t.
9065         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
9066         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
9067         Likewise.
9068         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9069         (__SNSECONDS_T_TYPE): Likewise.
9070         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9071         (__SNSECONDS_T_TYPE): Likewise.
9072         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9073         (__SNSECONDS_T_TYPE): Likewise.
9075 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9077         * sysdeps/mach/hurd/bits/typesizes.h
9078         (__SYSCALL_SLONG_TYPE): New macro.
9079         (__SYSCALL_ULONG_TYPE): Likewise.
9081 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9083         * bits/types.h (__syscall_slong_t): New type.
9084         (__syscall_ulong_t): Likewise.
9086         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
9087         (__SYSCALL_ULONG_TYPE): Likewise.
9088         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9089         (__SYSCALL_SLONG_TYPE): Likewise.
9090         (__SYSCALL_ULONG_TYPE): Likewise.
9091         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9092         (__SYSCALL_SLONG_TYPE): Likewise.
9093         (__SYSCALL_ULONG_TYPE): Likewise.
9094         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9095         (__SYSCALL_SLONG_TYPE): Likewise.
9096         (__SYSCALL_ULONG_TYPE): Likewise.
9098 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9100         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
9101         Add sigaltstack-offsets.sym.
9102         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
9103         <sigaltstack-offsets.h>.
9104         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
9105         longjmp_msg pointer.
9106         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
9107         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
9108         signal stack.
9109         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
9111 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
9113         * elf/stackguard-macros.h: Remove file.
9114         * sysdeps/generic/stackguard-macros.h: New file.
9115         * sysdeps/i386/stackguard-macros.h: Likewise.
9116         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9117         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9118         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9119         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9120         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9121         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9122         * sysdeps/x86_64/stackguard-macros.h: Likewise.
9123         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
9124         <elf/stackguard-macros.h>.
9126         [BZ #14109]
9127         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
9128         __aligned__ in attribute.
9129         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
9130         (gregset_t): Likewise.
9132 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9134         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
9135         * sysdeps/x86_64/64/Implies-after: Here.  New file.
9136         * sysdeps/x86_64/x32/Implies-after: New file.
9138 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9140         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
9141         and access return value for _dl_profile_fixup.  Use R10_LP to
9142         load frame size.
9144 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9146         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
9148 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9150         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
9151         * sysdeps/x86_64/x32/sysdep.h: New file.
9153 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9155         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
9156         * sysdeps/x86_64/setjmp.S: Likewise.
9158 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9160         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
9161         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
9162         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
9163         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
9164         remove unused global constant.
9166 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
9168         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
9169         include of <not-cancel.h>.
9171 2012-05-15  Roland McGrath  <roland@hack.frob.com>
9173         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
9175 2012-05-15  Jeff Law  <law@redhat.com>
9176             Andreas Jaeger  <aj@suse.de>
9178         [BZ #13594]
9179         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
9180         out from...
9181         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
9182         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
9183         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
9184         code changing __hst_map_handle.map.
9186 2012-05-15  Roland McGrath  <roland@hack.frob.com>
9188         * configure.in (sysnames): Look for Implies-before and Implies-after
9189         files.
9190         * configure: Regenerated.
9192 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9194         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
9195         8-byte data alignment with LP_SIZE alignment.
9197 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9199         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
9200         into R10_LP.
9202 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9204         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
9206 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9208         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
9209         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
9210         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
9211         Likewise.
9212         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9214 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9216         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
9217         (stackinfo_sub_sp): Likewise.
9219 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9221         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
9222         RAX_LP.
9224 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9226         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
9227         into R*_LP.
9229 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9231         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
9232         sizes into R*_LP.
9234 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9236         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
9238 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9240         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
9241         into R11_LP and load __x86_64_shared_cache_size_half into
9242         R8_LP.
9244 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9246         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
9247         R8_LP.
9249 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9251         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
9252         logb for POWER7.
9253         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
9254         logbf for POWER7.
9255         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
9256         logbl for POWER7.
9257         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
9258         powerpc32/power7/fpu/s_logb.c via #include.
9259         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
9260         powerpc32/power7/fpu/s_logbf.c via #include.
9261         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
9262         powerpc32/power7/fpu/s_logbl.c via #include.
9264 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
9266         * README.libm: Remove file.
9268 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9270         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
9271         count for x32.  Use R*_LP and omit operand-size suffix.
9273 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9275         * shlib-versions: Move x86_64-.*-linux.* entries to ...
9276         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
9277         * sysdeps/x86_64/x32/shlib-versions: New file.
9279 2012-05-14  Roland McGrath  <roland@hack.frob.com>
9281         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
9282         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
9283         Use _dl_fatal_printf instead.
9285 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
9287         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
9288         set if not set by the user.  Do not allow for being unset.
9289         * sysdeps/unix/sysv/linux/configure: Regenerated.
9291 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9293         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
9294         the `q' suffix from lea and replace .quad with ASM_ADDR.
9296 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9298         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
9299         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
9300         instead of $17.
9301         (PTR_DEMANGLE): Likewise.
9303 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9305         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
9306         (LP_OP): Likewise.
9307         (ASM_ADDR): Likewise.
9308         (RAX_LP): Likewise.
9309         (RBP_LP): Likewise.
9310         (RBX_LP): Likewise.
9311         (RCX_LP): Likewise.
9312         (RDI_LP): Likewise.
9313         (RSI_LP): Likewise.
9314         (RSP_LP): Likewise.
9315         (R8_LP): Likewise.
9316         (R9_LP): Likewise.
9317         (R10_LP): Likewise.
9318         (R10_LP): Likewise.
9319         (R11_LP): Likewise.
9320         (R12_LP): Likewise.
9321         (R13_LP): Likewise.
9322         (R14_LP): Likewise.
9323         (R15_LP): Likewise.
9325 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9327         * sysdeps/x86_64/x32/dl-machine.h: New file.
9329 2012-05-14  Andreas Jaeger  <aj@suse.de>
9331         * manual/Makefile (subdir): Remove export of subdir.
9332         (all): Remove target.
9333         (.PHONY): Remove all from list.
9334         (mkinstalldirs): Remove.
9335         (.PHONY): Remove installdirs from list.
9336         ($(inst_infodir)/libc.info): Use make-target-directory.
9337         (installdirs): Remove.
9338         (subdir_%): Remove.
9339         (glibc-targets): Remove.
9340         (lib): Remove.
9341         (stubs): Remove.
9342         ($(objpfx)stubs ../po/manual.pot): Remove.
9343         ($(objpfx)stamp%): Remove.
9344         (make-target-directory): Remove.
9345         (subdir_install): Remove.
9346         (routines): Remove.
9347         (aux): Remove.
9348         (sources): Remove.
9349         (objects): Remove.
9350         (headers): Remove.
9352         [BZ #13750]
9353         * manual/.gitignore: Remove, it's not needed anymore.
9354         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
9355         all files in it.
9356         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
9357         directory.
9358         (texis): Renamed to $(objpfx)texis.
9359         (texis-path): New, contains path to generated files.
9360         (chapters.%): Use texis-path for complete path, add extra argument
9361         libc-texinfo.sh.
9362         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
9363         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
9364         (summary,texi, stamp-summary): Use complete path of
9365         files. Generate files in build dir.
9366         (dir-add.texi): Build in build dir.
9367         (libm-err.texi,stamp-libm-err): Likewise.
9368         (version.texi, stamp-version): Likewise.
9369         (.%c.texi): Likewise.
9370         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
9371         (mostlyclean): Remove target.
9372         (realclean): Remove target.
9373         (generated): Add new variable with contents from mostlyclean and
9374         realclean, remove entries duplicated in common-mostlyclean, add
9375         stamp-libm-err and stamp-version.
9376         (generated-dirs): Add libc directory.
9377         ($(inst_infodir)/libc.info): Install files from build dir.
9379         * manual/install.texi (Configuring and compiling): Adjust since
9380         the info files are not part of the tar ball anymore.
9382 2012-05-14  Andreas Jaeger  <aj@suse.de>
9384         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
9385         variable.
9387 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
9389         [BZ #13717]
9390         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9391         to 2.2.0 where earlier.
9392         * sysdeps/unix/sysv/linux/configure: Regenerated.
9393         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
9394         Remove conditional code.
9395         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
9396         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
9397         Remove conditional code.
9398         [!__NR_lchown]: Likewise.
9399         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9400         [__NR_lchown]: Likewise.
9401         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
9402         comment referencing __ASSUME_LCHOWN_SYSCALL.
9403         * sysdeps/unix/sysv/linux/i386/sigaction.c
9404         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9405         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9406         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
9407         Remove conditional code.
9408         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
9409         (__protocol_available): Remove #if 0 code.
9410         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
9411         conditional code.
9412         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
9413         * sysdeps/unix/sysv/linux/kernel-features.h
9414         (__ASSUME_GETCWD_SYSCALL): Don't define.
9415         (__ASSUME_REALTIME_SIGNALS): Likewise.
9416         (__ASSUME_PREAD_SYSCALL): Likewise.
9417         (__ASSUME_PWRITE_SYSCALL): Likewise.
9418         (__ASSUME_POLL_SYSCALL): Likewise.
9419         (__ASSUME_LCHOWN_SYSCALL): Likewise.
9420         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
9421         non-SPARC.
9422         (__ASSUME_SIOCGIFNAME): Don't define.
9423         (__ASSUME_MSG_NOSIGNAL): Likewise.
9424         (__ASSUME_SENDFILE): Define unconditionally.
9425         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
9426         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
9427         conditional code.
9428         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
9429         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
9430         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9431         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9432         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
9433         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9434         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
9436         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9437         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9439         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9440         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
9442         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9443         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
9445         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9446         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
9448         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9449         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
9451         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9452         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
9454         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9455         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
9457         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9458         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9459         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
9460         Remove conditional code.
9461         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9462         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9463         Remove conditional code.
9464         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9465         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
9466         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
9467         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9468         Remove conditional code.
9469         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9470         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
9471         Remove conditional code.
9472         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9473         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
9474         Remove conditional code.
9475         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9476         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9477         Remove conditional code.
9478         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9479         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9480         Remove conditional code.
9481         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9482         * sysdeps/unix/sysv/linux/sh/pwrite64.c
9483         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9484         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9485         * sysdeps/unix/sysv/linux/sigaction.c
9486         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9487         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9488         * sysdeps/unix/sysv/linux/sigpending.c
9489         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9490         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9491         * sysdeps/unix/sysv/linux/sigprocmask.c
9492         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9493         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9494         * sysdeps/unix/sysv/linux/sigsuspend.c
9495         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9496         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9497         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9498         (__libc_missing_rt_sigs): Remove.
9499         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
9500         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
9501         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
9502         Remove conditional code.
9503         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
9504         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
9505         return 1.
9506         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
9507         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
9508         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
9509         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
9511 2012-05-14  Andreas Jaeger  <aj@suse.de>
9513         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
9514         it's not used in glibc.
9515         (__coshm1): Likewise.
9516         (__acosh1p): Likewise.
9517         (__sgn): Likewise.
9519         * manual/string.texi (Copying and Concatenation): Add missing
9520         variable in concat example.
9521         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9523 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9525         [BZ #14103]
9526         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
9527         __builtin_clzl with __builtin_clzll.
9529 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9531         [BZ #14104]
9532         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
9533         libc_freeres_ptr.
9535 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9537         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
9538         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
9539         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
9540         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
9542 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
9544         * NEWS: Update ia64 info.
9546 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
9548         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
9549         used as bcopy.
9551 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
9553         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
9554         * sysdeps/unix/syscalls.list (dup3): Likewise.
9555         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
9556         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
9558 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
9560         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
9561         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
9563 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
9565         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
9566         thread pointer.
9567         (TLS_IE): Use mov/add instead of movq/addq to load thread
9568         pointer.
9569         (TLS_GD_PREFIX): New.
9570         (TLS_GD): Use it.
9572 2012-05-11  David S. Miller  <davem@davemloft.net>
9574         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
9575         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
9576         (_FPU_SETCW): Likewise.
9578 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
9580         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
9581         is 32-byte aligned.
9583 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
9585         [BZ #11837]
9586         * iconvdata/gb18030.c: Update tables.
9587         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
9588         characters specially.
9589         (BODY for TO_LOOP): Add encoding of missing ranges.
9591 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
9593         [BZ #13673]
9594         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
9595         * sysdeps/mach/hurd/dup3.c: Likewise.
9596         * sysdeps/mach/hurd/readlinkat.c: Likewise.
9597         * sysdeps/powerpc/memmove.c:: Likewise.
9599 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
9601         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
9602         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
9604 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
9606         * elf/elf.h (R_X86_64_RELATIVE64): New.
9607         (R_X86_64_NUM): Updated.
9608         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9609         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
9610         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
9611         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
9612         tst-quad1pie tst-quad2pie
9613         (modules-names): Add tst-quadmod1 tst-quadmod2.
9614         ($(objpfx)tst-quad1): New dependency.
9615         ($(objpfx)tst-quad2): Likewise.
9616         ($(objpfx)tst-quad1pie): Likewise.
9617         ($(objpfx)tst-quad2pie): Likewise.
9618         * sysdeps/x86_64/tst-quad1.c: New file.
9619         * sysdeps/x86_64/tst-quad1pie.c: New file.
9620         * sysdeps/x86_64/tst-quad2.c: Likewise.
9621         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
9622         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
9623         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
9624         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
9625         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
9627 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9629         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
9630         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
9631         * streams/stropts.h (t_scalar_t): Define type.
9633         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
9634         (_PATH_PRESERVE): Set to "/var/lib".
9635         (_PATH_RWHODIR): Set to "/var/spool/rwho".
9637         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
9638         instead of int.
9640         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
9641         if __dir_mkfile succeeded.
9643         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
9644         checking for _hurd_dtablesize.  Unlock it right after having
9645         finished _hurd_dtable allocation.
9647 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9649         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
9650         * sysdeps/mach/hurd/configure: Regenerated.
9651         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
9652         special-casing to...
9653         * sysdeps/gnu/configure.in: ... this new file.
9654         * sysdeps/unix/sysv/linux/configure: Regenerated.
9655         * sysdeps/gnu/configure: New generated file.
9657         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
9658         for Linux: use nsec instead of usec, as well as:
9659         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
9660         members of type struct timespec.
9661         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
9662         New macros.
9663         (struct stat64): Likewise.
9664         (_STATBUF_ST_NSEC): New macro.
9665         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
9667         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9668         __strtoul_internal rather than strtoul.
9670 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
9672         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
9673         and reject them.
9675 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9677         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
9678         which preserves existing values.
9679         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
9681 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
9683         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
9684         TIMEOUT values.  Return EINVAL for NFDS values either negative or
9685         greater than FD_SETSIZE.
9687 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9689         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
9690         allocated, call __vm_protect to finish enabling the existing space, and
9691         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
9692         allocate the remainder.
9694 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
9696         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
9697         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
9699 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9701         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
9702         sysdeps/mach/hurd/readlink.c.
9704         * posix/tst-sysconf.c (posix_options): Only use
9705         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
9706         _POSIX_SYNCHRONIZED_IO when they are defined
9707         * sysdeps/mach/hurd/bits/posix_opt.h:
9708         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
9709         (_XOPEN_REALTIME): Undefine macro.
9710         (_XOPEN_REALTIME_THREADS): Undefine macro.
9711         (_XOPEN_SHM): Undefine macro.
9712         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
9713         macro to -1.
9714         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
9715         macro to -1.
9716         (_POSIX_ASYNC_IO): Undefine macro.
9717         (_POSIX_PRIORITIZED_IO): Undefine macro.
9718         (_POSIX_SPIN_LOCKS): Define macro to -1.
9720         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
9721         SA_NODEFER, SA_RESETHAND.
9722         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
9723         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
9724         F_DUPFD_CLOEXEC.
9726 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9728         * elf/Makefile (pldd-modules): Define unconditionally.
9730 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9732         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
9734 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9736         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
9737         Return ENOENT when name is empty.
9738         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
9740 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9742         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
9744         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
9746 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9748         Fix mlock in all cases except non-readable pages.
9749         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
9750         instead of VM_PROT_ALL as parameter to __vm_wire function.
9752         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
9753         (__mkdir): When path is `/', just fail with EEXIST.
9754         * sysdeps/mach/hurd/mkdirat.c: Likewise.
9756 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9758         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
9759         <sys/uio.h> (for writev).
9760         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
9761         and <sys/param.h> (for MIN).
9763 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
9765         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
9766         REQUESTED_TIME.  Properly set the remaining time and return EINTR
9767         if interrupted.
9769 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9771         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
9772         Depend on against $(link-rpcuserlibs).
9774 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9776         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
9777         (__libc_stack_end): Do not use attribute_relro.
9778         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
9779         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
9780         to libthread-provided value.
9781         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
9782         attribute_relro.
9784 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9786         [BZ #3748]
9787         * bits/libc-lock.h (__libc_once_get): New macro.
9788         * sysdeps/mach/bits/libc-lock.h: Likewise.
9789         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
9790         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
9791         instead of using implementation details.
9793         * libio/fileops.c: Unconditionally include <kernel-features.h>.
9794         * libio/freopen.c: Likewise.
9795         * libio/freopen64.c: Likewise.
9796         * misc/syslog.c: Likewise.
9797         * nscd/connections.c: Likewise.
9798         * nscd/netgroupcache.c: Likewise.
9799         * sysdeps/posix/getcwd.c: Likewise.
9801 2012-05-10  Roland McGrath  <roland@hack.frob.com>
9803         * math/w_ilogbf.c: Add #include <limits.h>.
9805 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9807         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
9808         path instead of returning without unlocking.
9810         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
9811         immediate-write ioctls.
9812         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
9814 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9816         * sysdeps/mach/hurd/i386/init-first.c (init): Use
9817         __builtin_frame_address instead of making assumptions about the
9818         location of the return address relative to DATA.  Force early load of
9819         the return address.
9820         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
9821         __builtin_frame_address.
9823         dup3 for GNU Hurd.
9824         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
9825         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
9826         implement dup3 and do some further code clean-ups.
9827         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
9828         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
9830 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9832         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
9834         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
9835         HURD_CRITICAL_END around holding _hurd_dtable_lock.
9836         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
9837         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
9838         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
9839         d->port.lock.
9841         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
9842         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
9843         when handler == SIG_ERR, not when handler != SIG_ERR.
9845 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9847         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
9848         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
9849         definitions.
9851         accept4 for GNU Hurd.
9852         * include/sys/socket.h (__libc_accept4): New prototype.
9853         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
9854         to implement __libc_accept4.
9855         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
9856         __libc_accept4.
9857         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
9859         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
9860         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
9861         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
9862         signal-defines.sym.
9864 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9866         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
9868 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9870         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
9871         assertion on O_CLOEXEC flag.
9872         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
9873         * hurd/intern-fd.c: Likewise.
9874         * hurd/port2fd.c: Likewise.
9876 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9878         [BZ #3906]
9879         * bits/in.h (IPV6_PKTINFO): Define new macro.
9880         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
9882 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9884         [BZ #13954]
9885         [BZ #13955]
9886         [BZ #13956]
9887         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
9888         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9889         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
9890         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9891         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9892         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9893         * math/libm-test.inc (logb_test) : Additional logb tests.
9895 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
9896             Andreas Jaeger  <aj@suse.de>
9898         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
9899         * configure: Regenerated.
9900         * config.h.in (LINK_OBSOLETE_RPC): New macro.
9901         * config.make.in (link-obsolete-rpc): New substituted variable.
9902         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
9903         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
9904         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9905         (shared-only-routines): Don't set it under [link-obsolete-rpc],
9906         so that libc.a contains the symbols.
9907         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9908         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
9909         * sunrpc/auth_none.c: Likewise.
9910         * sunrpc/auth_unix.c: Likewise.
9911         * sunrpc/authdes_prot.c: Likewise.
9912         * sunrpc/authuxprot.c: Likewise.
9913         * sunrpc/clnt_gen.c: Likewise.
9914         * sunrpc/clnt_perr.c: Likewise.
9915         * sunrpc/clnt_raw.c: Likewise.
9916         * sunrpc/clnt_simp.c: Likewise.
9917         * sunrpc/clnt_tcp.c: Likewise.
9918         * sunrpc/clnt_udp.c: Likewise.
9919         * sunrpc/clnt_unix.c: Likewise.
9920         * sunrpc/des_crypt.c: Likewise.
9921         * sunrpc/des_soft.c: Likewise.
9922         * sunrpc/get_myaddr.c: Likewise.
9923         * sunrpc/key_call.c: Likewise.
9924         * sunrpc/key_prot.c: Likewise.
9925         * sunrpc/netname.c: Likewise.
9926         * sunrpc/pm_getmaps.c: Likewise.
9927         * sunrpc/pm_getport.c: Likewise.
9928         * sunrpc/pmap_clnt.c: Likewise.
9929         * sunrpc/pmap_prot.c: Likewise.
9930         * sunrpc/pmap_prot2.c: Likewise.
9931         * sunrpc/pmap_rmt.c: Likewise.
9932         * sunrpc/publickey.c: Likewise.
9933         * sunrpc/rpc_cmsg.c: Likewise.
9934         * sunrpc/rpc_common.c: Likewise.
9935         * sunrpc/rpc_dtable.c: Likewise.
9936         * sunrpc/rpc_prot.c: Likewise.
9937         * sunrpc/rpc_thread.c: Likewise.
9938         * sunrpc/rtime.c: Likewise.
9939         * sunrpc/svc.c: Likewise.
9940         * sunrpc/svc_auth.c: Likewise.
9941         * sunrpc/svc_raw.c: Likewise.
9942         * sunrpc/svc_run.c: Likewise.
9943         * sunrpc/svc_tcp.c: Likewise.
9944         * sunrpc/svc_udp.c: Likewise.
9945         * sunrpc/svc_unix.c: Likewise.
9946         * sunrpc/svcauth_des.c: Likewise.
9947         * sunrpc/xcrypt.c: Likewise.
9948         * sunrpc/xdr.c: Likewise.
9949         * sunrpc/xdr_array.c: Likewise.
9950         * sunrpc/xdr_float.c: Likewise.
9951         * sunrpc/xdr_intXX_t.c: Likewise.
9952         * sunrpc/xdr_mem.c: Likewise.
9953         * sunrpc/xdr_rec.c: Likewise.
9954         * sunrpc/xdr_ref.c: Likewise.
9955         * sunrpc/xdr_sizeof.c: Likewise.
9956         * sunrpc/xdr_stdio.c: Likewise.
9958 2012-05-10  Roland McGrath  <roland@hack.frob.com>
9960         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
9961         change.  Update copyright years.
9963 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
9965         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
9967 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
9968             Joseph Myers  <joseph@codesourcery.com>
9969             Paul Pluzhnikov  <ppluzhnikov@google.com>
9971         [BZ #14012]
9972         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
9973         requiring rpcgen.
9974         [cross-compiling] (extra-libs): Likewise.
9975         [cross-compiling] (extra-libs-others): Likewise.
9976         [cross-compiling] (librpcsvc-routines): Likewise.
9977         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
9978         [cross-compiling] (omit-deps): Likewise.
9979         (sunrpc-CPPFLAGS): New variable.
9980         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
9981         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
9982         (cross-rpcgen-objs): New variable.
9983         (extra-objs): Append $(cross-rpcgen-objs).
9984         ($(cross-rpcgen-objs)): New rule.
9985         ($(objpfx)cross-rpcgen): Likewise.
9986         (rpcgen-cmd): Define to use $(built-program-file).  Expand
9987         comment.
9988         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
9989         ($(objpfx)x%.stmp): Likewise.
9990         * sunrpc/proto.h [IS_IN_build] (_): Define.
9991         [IS_IN_build] (_libc_intl_domainname): Likewise.
9993 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
9995         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
9996         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
9997         and R_X86_64_TPOFF64.
9999 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
10001         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
10002         sysdeps/unix/sysv/syscalls.list.
10003         (stime): Likewise.
10004         (utime): Likewise.
10005         * sysdeps/unix/sysv/syscalls.list: Remove file.
10007 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
10009         [BZ #3440]
10010         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
10011         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
10012         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
10013         (__LC_IDENTIFICATION): Make these macros useful in #if
10014         expressions, as required by C99.
10016 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
10018         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
10019         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
10020         after this.
10022 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
10024         * stdlib/longlong.h: Updated from GCC.
10026 2012-05-09  Andreas Jaeger  <aj@suse.de>
10028         * nscd/nscd.c (run_modes): Make named enum, reorder so that
10029         default is first entry.
10030         (run_mode): Set type.
10031         (main): Remove informal message about syslog.
10032         (options): Fix typo.
10034         [BZ #14053]
10035         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
10036         to asm.
10037         (lrint): Likewise.
10038         (llrintf): Likewise.
10039         (llrint): Likewise.
10040         (rint): Likewise.
10041         (rintf): Likewise.
10042         (nearbyint): Likewise.
10043         (nearbyintf): Likewise.
10045 2012-05-09  Andreas Jaeger  <aj@suse.de>
10046             Pedro Alves  <palves@redhat.com>
10048         * nscd/nscd.c (run_mode): Use enum.
10049         (main): Cleanup coding style issue.
10051 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
10052             Andreas Jaeger  <aj@suse.de>
10054         * nscd/nscd.c (go_background): Replaced with...
10055         (run_mode): ... this.
10056         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
10057         (options): Add -F --foreground.
10058         (main): Implement it.
10059         (parse_opt): Parse it.
10061 2012-05-09  Andreas Jaeger  <aj@suse.de>
10063         [BZ #14083]
10064         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
10065         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
10066         -Wconversion warning.
10067         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
10068         Likewise.
10070 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
10072         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
10073         == 0.
10074         (LC_ALL): Use macro-int-constant.
10075         (LC_COLLATE): Likewise.
10076         (LC_CTYPE): Likewise.
10077         (LC_MESSAGES): Likewise.
10078         (LC_MONETARY): Likewise.
10079         (LC_NUMERIC): Likewise.
10080         (LC_TIME): Likewise.
10081         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
10082         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10083         [ISO || ISO99 || ISO11] (*_t): Do not allow.
10084         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
10085         Specify type.
10086         [C99-based standards] (float_t): Expect type.
10087         [C99-based standards] (double_t): Expect type.
10088         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
10089         type.
10090         [C99-based standards] (HUGE_VALL): Likewise.
10091         [C99-based standards] (INFINITY): Likewise.
10092         [C99-based standards] (NAN): Likewise.
10093         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
10094         [C99-based standards] (FP_NAN): Likewise.
10095         [C99-based standards] (FP_NORMAL): Likewise.
10096         [C99-based standards] (FP_SUBNORMAL): Likewise.
10097         [C99-based standards] (FP_ZERO): Likewise.
10098         [C99-based standards] (FP_FAST_FMA): Use
10099         optional-macro-int-constant.  Specify type.  Require == 1.
10100         [C99-based standards] (FP_FAST_FMAF): Likewise.
10101         [C99-based standards] (FP_FAST_FMAL): Likewise.
10102         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
10103         [C99-based standards] (FP_ILOGBNAN): Likewise.
10104         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
10105         Specify type.
10106         [C99-based standards] (MATH_ERREXCEPT): Likewise.
10107         [C99-based standards] (math_errhandling): Specify type.
10108         [ISO99 || ISO11] (signgam): Do not allow.
10109         [non-C99-based standards] (copysignf): Do not allow.
10110         [non-C99-based standards] (exp2f): Likewise.
10111         [non-C99-based standards] (log2f): Likewise.
10112         [non-C99-based standards] (modff): Allow.
10113         [non-C99-based standards] (erff): Do not allow.
10114         [non-C99-based standards] (erfcf): Likewise.
10115         [non-C99-based standards] (gammaf): Likewise.
10116         [non-C99-based standards] (hypotf): Likewise.
10117         [non-C99-based standards] (j0f): Likewise.
10118         [non-C99-based standards] (j1f): Likewise.
10119         [non-C99-based standards] (jnf): Likewise.
10120         [non-C99-based standards] (lgammaf): Likewise.
10121         [non-C99-based standards] (tgammaf): Likewise.
10122         [non-C99-based standards] (y0f): Likewise.
10123         [non-C99-based standards] (y1f): Likewise.
10124         [non-C99-based standards] (ynf): Likewise.
10125         [non-C99-based standards] (isnanf): Likewise.
10126         [non-C99-based standards] (acoshf): Likewise.
10127         [non-C99-based standards] (asinhf): Likewise.
10128         [non-C99-based standards] (atanhf): Likewise.
10129         [non-C99-based standards] (cbrtf): Likewise.
10130         [non-C99-based standards] (expm1f): Likewise.
10131         [non-C99-based standards] (ilogbf): Likewise.
10132         [non-C99-based standards] (log1pf): Likewise.
10133         [non-C99-based standards] (logbf): Likewise.
10134         [non-C99-based standards] (nextafterf): Likewise.
10135         [non-C99-based standards] (remainderf): Likewise.
10136         [non-C99-based standards] (rintf): Likewise.
10137         [non-C99-based standards] (scalbf): Likewise.
10138         [non-C99-based standards] (copysignl): Likewise.
10139         [non-C99-based standards] (exp2l): Likewise.
10140         [non-C99-based standards] (log2l): Likewise.
10141         [non-C99-based standards] (modfl): Allow.
10142         [non-C99-based standards] (erfl): Do not allow.
10143         [non-C99-based standards] (erfcl): Likewise.
10144         [non-C99-based standards] (gammal): Likewise.
10145         [non-C99-based standards] (hypotl): Likewise.
10146         [non-C99-based standards] (j0l): Likewise.
10147         [non-C99-based standards] (j1l): Likewise.
10148         [non-C99-based standards] (jnl): Likewise.
10149         [non-C99-based standards] (lgammal): Likewise.
10150         [non-C99-based standards] (tgammal): Likewise.
10151         [non-C99-based standards] (y0l): Likewise.
10152         [non-C99-based standards] (y1l): Likewise.
10153         [non-C99-based standards] (ynl): Likewise.
10154         [non-C99-based standards] (isnanl): Likewise.
10155         [non-C99-based standards] (acoshl): Likewise.
10156         [non-C99-based standards] (asinhl): Likewise.
10157         [non-C99-based standards] (atanhl): Likewise.
10158         [non-C99-based standards] (cbrtl): Likewise.
10159         [non-C99-based standards] (expm1l): Likewise.
10160         [non-C99-based standards] (ilogbl): Likewise.
10161         [non-C99-based standards] (log1pl): Likewise.
10162         [non-C99-based standards] (logbl): Likewise.
10163         [non-C99-based standards] (nextafterl): Likewise.
10164         [non-C99-based standards] (remainderl): Likewise.
10165         [non-C99-based standards] (rintl): Likewise.
10166         [non-C99-based standards] (scalbl): Likewise.
10167         [ISO || ISO99 || ISO11] (*_t): Do not allow.
10168         [non-C99-based standards] (FP_*): Do not allow.
10169         [C99-based standards] (FP_*): Change to
10170         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10171         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10172         allow.
10173         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
10174         (SIG_ERR): Likewise.
10175         [X/Open-based standards] (SIG_HOLD): Likewise.
10176         (SIG_IGN): Likewise.
10177         (SIGABRT): Use macro-int-constant.  Specify type.  Require
10178         positive value.
10179         (SIGFPE): Likewise.
10180         (SIGILL): Likewise.
10181         (SIGINT): Likewise.
10182         (SIGSEGV): Likewise.
10183         (SIGTER): Likewise.
10184         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
10185         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
10186         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
10187         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
10188         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
10189         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
10190         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
10191         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
10192         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
10193         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
10194         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
10195         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
10196         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
10197         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
10198         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
10199         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
10200         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
10201         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
10202         [X/Open-based standards] (SIGTRAP): Likewise.
10203         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
10204         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
10205         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
10206         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
10207         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10208         allow.
10210 2012-05-08  Ian Wienand  <ianw@vmware.com>
10212         [BZ #14080]
10213         * time/tzset.c (__tzset_parse_tz): Update default rules for
10214         daylight time changes in the Energy Policy Act of 2005.
10216 2012-05-09  Andreas Jaeger  <aj@suse.de>
10218         [BZ #13983]
10219         * elf/ldconfig.c (parse_conf): Change string to make clear that
10220         ldconfig only issued a warning if ld.so.conf does not exist.
10222 2012-05-08  David S. Miller  <davem@davemloft.net>
10224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
10225         movxtod instead of popping the value on the stack.
10227         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10229 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
10231         * config.h.in: Add HAVE_ARM_PCS_VFP.
10233 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
10235         [BZ #13979]
10236         * include/features.h: Warn if user requests __FORTIFY_SOURCE
10237         checking but the checks are disabled for any reason.
10239 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
10241         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
10242         and ELF64_R_TYPE with ELFW(R_TYPE).
10244 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
10246         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
10247         (ulimit): Likewise.
10249         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
10250         (settimeofday): Likewise.
10252 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
10254         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
10255         a struct th_u2 inside the union, and move tu_block/tu_code into
10256         a new th_u3 union of tu_block/tu_code inside of that.  Move
10257         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
10258         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
10259         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
10260         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
10261         (th_stuff): Change to th_u1.tu_stuff.
10262         (th_data): Define.
10263         (th_msg): Change to th_u1.th_u2.tu_data.
10265 2012-05-07  David S. Miller  <davem@davemloft.net>
10267         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10269         [BZ #14074]
10270         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
10271         (SETUP_PIC_REG): Use it.
10272         (SETUP_PIC_REG_LEAF): Use it.
10274 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
10276         [BZ #13885]
10277         [BZ #13923]
10278         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10279         USE_AS_EXPM1L.
10280         (EXPL_FINITE): Likewise.
10281         (FLDLOG): Likewise.
10282         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10283         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10284         e_expl.S.
10285         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10286         USE_AS_EXPM1L.
10287         (EXPL_FINITE): Likewise.
10288         (FLDLOG): Likewise.
10289         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10290         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10291         e_expl.S.
10292         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
10293         test of -max_value argument for long double.
10294         * sysdeps/i386/fpu/libm-test-ulps: Update.
10295         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10297 2012-05-06  David S. Miller  <davem@davemloft.net>
10299         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
10300         quad soft-float symbols whose references which are compiler
10301         generated.
10302         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10304 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
10306         [BZ #13884]
10307         [BZ #13914]
10308         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10309         USE_AS_EXP10L.
10310         (EXPL_FINITE): Likewise.
10311         (FLDLOG): Likewise.
10312         (c0): Likewise.
10313         (c1): Likewise.
10314         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
10315         Adjust comments for base varying.
10316         (__expl_finite): Change alias to EXPL_FINITE.
10317         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
10318         e_expl.S.
10319         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
10320         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10321         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10322         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
10323         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10324         USE_AS_EXP10L.
10325         (EXPL_FINITE): Likewise.
10326         (FLDLOG): Likewise.
10327         (c0): Likewise.
10328         (c1): Likewise.
10329         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
10330         Adjust comments for base varying.
10331         (__expl_finite): Change alias to EXPL_FINITE.
10332         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
10333         tests for bugs.
10334         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10336         [BZ #14064]
10337         * math/libm-test.inc (check_float_internal): Correct ulp
10338         calculation for subnormal expected results.
10340 2012-05-06  Andreas Jaeger  <aj@suse.de>
10342         * Makeconfig (+math-flags): New, set to -frounding-math.
10343         (+cflags): Add +math-flags so that all of glibc gets compiled with
10344         it.
10346         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
10348 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
10350         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
10351         Disable one test.
10353         [BZ #13787]
10354         [BZ #13922]
10355         [BZ #14036]
10356         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
10357         (__ieee754_expl): Allow for and saturate large arguments.
10358         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
10359         (u_threshold): Likewise.
10360         (__exp): Call __ieee754_exp before checking for overflow and
10361         underflow.
10362         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
10363         (u_threshold): Likewise.
10364         (__expf): Call __ieee754_expf before checking for overflow and
10365         underflow.
10366         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
10367         (u_threshold): Likewise.
10368         (__expl): Call __ieee754_expl before checking for overflow and
10369         underflow.
10370         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
10371         (__ieee754_expl): Allow for and saturate large arguments.
10372         * math/libm-test.inc (exp_test): Add another test.  Do not allow
10373         missing overflow exception on overflow.
10374         (expm1_test): Do not allow missing overflow exception on overflow.
10376         * sysdeps/i386/fpu/e_expl.c: Move to ...
10377         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
10378         rather than using inline asm.
10379         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
10380         * sysdeps/x86_64/fpu/e_expl.S: Copy from
10381         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
10383         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
10384         (nice): Likewise.
10385         (poll): Likewise.
10386         (signal): Likewise.
10387         (time): Likewise.
10388         (times): Likewise.
10390 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
10392         * sysdeps/unix/syscalls.list (adjtime): Add entry from
10393         sysdeps/unix/common/syscalls.list.
10394         (fchmod): Likewise.
10395         (fchown): Likewise.
10396         (ftruncate): Likewise.
10397         (getrusage): Likewise.
10398         (gettimeofday): Likewise.
10399         (setpgid): Likewise.
10400         (setregid): Likewise.
10401         (setreuid): Likewise.
10402         (sigaction): Likewise.
10403         (truncate): Likewise.
10404         (vhangup): Likewise.
10405         * sysdeps/unix/common/syscalls.list: Remove file.
10406         * sysdeps/unix/bsd/Implies: Don't include unix/common.
10407         * sysdeps/unix/sysv/linux/Implies: Likewise.
10409 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
10411         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
10412         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
10413         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
10414         Moved to ...
10415         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10416         Here.
10417         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
10418         to ...
10419         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
10420         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
10421         to ...
10422         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
10423         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
10424         to ...
10425         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
10426         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
10427         to ...
10428         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
10429         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
10430         to ...
10431         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
10432         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
10433         to ...
10434         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
10435         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
10436         to ...
10437         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
10438         Here.
10439         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
10440         to ...
10441         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
10442         Here.
10443         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
10444         to ...
10445         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
10446         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
10447         Moved to ...
10448         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
10449         Here.
10450         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
10451         to ...
10452         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
10454 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
10456         * sysdeps/unix/common/bits/dirent.h: Remove file.
10457         * sysdeps/unix/common/bits/fcntl.h: Likewise.
10459         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
10460         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
10461         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
10462         * sysdeps/unix/bsd/isatty.c: Likewise.
10463         * sysdeps/unix/bsd/tcdrain.c: Likewise.
10464         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
10465         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
10467 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10469         [BZ #13563]
10470         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
10471         long double comparison inaccuracies.
10472         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10473         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10475 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
10477         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
10478         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
10480 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
10482         [BZ #14049]
10483         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
10484         nonzero digits before rounding a hex value.
10485         * stdlib/tst-strtod.c (tests): Add another test.
10487 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10489         * sysdeps/s390/fpu/libm-test-ulps: Update.
10491 2012-05-03  Andreas Jaeger  <aj@suse.de>
10493         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
10494         does not get optimized out.
10495         (malloc_opt_barrier): New.
10497 2012-05-03  Andreas Jaeger  <aj@suse.de>
10498             Roland McGrath  <roland@hack.frob.com>
10500         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
10501         intermediate file deletion.
10502         (generated): Add .symlist files.
10504 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
10506         [BZ #13775]
10507         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
10508         Redirect under this condition.
10509         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10510         [__USE_GNU] (__dprintf_chk): Not under this condition.
10511         [__USE_GNU] (__vdprintf_chk): Likewise.
10512         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
10513         under this condition.
10514         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10515         [__USE_XOPEN2K8] (dprintf): Define under this condition.
10516         [__USE_XOPEN2K8] (vdprintf): Likewise.
10517         [__USE_GNU] (__dprintf_chk): Not under this condition.
10518         [__USE_GNU] (__vdprintf_chk): Likewise.
10519         [__USE_GNU] (dprintf): Likewise.
10520         [__USE_GNU] (vdprintf): Likewise.
10522 2012-05-03  Roland McGrath  <roland@hack.frob.com>
10524         * elf/Makefile (common-generated): Set this instead of generated for
10525         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
10526         $(all-built-dso)-derived lists.
10528 2012-05-03  Andreas Jaeger  <aj@suse.de>
10530         * sysdeps/i386/fpu/libm-test-ulps: Update.
10532         * FAQ: Removed.
10533         * FAQ.in: Likewise.
10534         * scripts/gen-FAQ.pl: Likewise.
10535         * manual/install.texi (Installation): Point to online location of
10536         FAQ.
10537         * Makefile (files-for-dist): Remove FAQ.
10538         (FAQ): Remove.
10540 2012-05-02  Allan McRae  <allan@archlinux.org>
10542         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
10543         (LDFLAGS-reldepmod5.so): Likewise.
10544         (LDFLAGS-reldep6mod1.so): Likewise.
10545         (LDFLAGS-reldep6mod4.so): Likewise.
10546         (LDFLAGS-reldep8mod3.so): Likewise.
10547         (LDFLAGS-unload4mod1.so): Likewise.
10548         (LDFLAGS-unload4mod2.so): Likewise.
10549         (LDFLAGS-tst-initorder): Likewise.
10550         (LDFLAGS-tst-initordera2.so): Likewise.
10551         (LDFLAGS-tst-initordera3.so): Likewise.
10552         (LDFLAGS-tst-initordera4.so): Likewise.
10553         (LDFLAGS-tst-initorderb2.so): Likewise.
10554         (LDFLAGS-noload): Likewise.
10555         (LDFLAGS-next): Likewise.
10556         (LDFLAGS-order2mod1.so): Likewise.
10557         (LDFLAGS-order2mod2.so): Likewise.
10558         (LDFLAGS-tst-initorder2): Likewise.
10559         (LDFLAGS-tst-initorder2a.so): Likewise.
10560         (LDFLAGS-tst-initorder2b.so): Likewise.
10561         (LDFLAGS-tst-initorder2c.so): Likewise.
10562         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
10564 2012-05-02  David S. Miller  <davem@davemloft.net>
10566         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10568 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
10570         [BZ #14055]
10571         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
10573 2012-05-02  Andreas Jaeger  <aj@suse.de>
10575         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
10576         since we manipulate rounding mode.
10577         (CPPFLAGS-test-idouble.c): Likewise.
10578         (CPPFLAGS-test-ifloat.c): Likewise.
10579         (CFLAGS-test-ldouble.c): Likewise.
10580         (CFLAGS-test-double.c): Likewise.
10581         (CFLAGS-test-float.c): Likewise.
10582         (CFLAGS-test-misc.c): Likewise.
10583         (CFLAGS-test-test-fenv.c): Likewise.
10585 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10587         [BZ #2550]
10588         [BZ #2570]
10589         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
10590         comparisons to determine direction to adjust input.
10592 2012-05-01  Roland McGrath  <roland@hack.frob.com>
10594         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
10595         output to the target.
10597         * scripts/localplt.awk: New file.
10598         * elf/Makefile ($(objpfx)check-localplt): Target removed.
10599         (check-localplt-CFLAGS): Variable removed.
10600         ($(all-built-dso:=.jmprel)): New static pattern rule.
10601         (generated): Add those targets.
10602         (localplt-built-dso): New variable.
10603         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
10605         * elf/check-localplt.c: File removed.
10607         * scripts/check-execstack.awk: New file.
10608         * elf/Makefile ($(objpfx)check-execstack): Target removed.
10609         (check-execstack-CFLAGS): Variable removed.
10610         ($(objpfx)check-execstack.h): Target removed.
10611         ($(objpfx)execstack-default): New target.
10612         (generated): Add that instead of check-execstack.h.
10613         ($(all-built-dso:=.phdr)): New static pattern rule.
10614         (generated): Add those targets.
10615         * elf/check-execstack.c: File removed.
10617         * scripts/check-textrel.awk: New file.
10618         * elf/Makefile ($(objpfx)check-textrel): Target removed.
10619         (check-textrel-CFLAGS): Variable removed.
10620         (all-built-dso): Use := to define.o
10621         ($(all-built-dso:=.dyn)): New static pattern rule.
10622         (generated): Add those targets.
10623         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
10624         * config.make.in (READELF): New substituted variable.
10625         * elf/check-textrel.c: File removed.
10627 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
10629         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10630         allow.
10631         * conform/data/ctype.h-data [C99-based standards] (isblank):
10632         Expect function.
10633         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
10634         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
10635         [ISO || ISO99 || ISO11] (*_t): Do not allow.
10636         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
10637         Specify type.  Require positive value.
10638         (EILSEQ): Likewise.
10639         (ERANGE): Likewise.
10640         [ISO || POSIX] (EILSEQ): Do not expect.
10641         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
10642         Specify type.  Require positive value.
10643         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
10644         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
10645         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
10646         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
10647         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
10648         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
10649         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
10650         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
10651         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
10652         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
10653         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
10654         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
10655         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
10656         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
10657         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
10658         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
10659         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
10660         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
10661         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
10662         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
10663         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
10664         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
10665         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
10666         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
10667         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
10668         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
10669         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
10670         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
10671         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
10672         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
10673         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
10674         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
10675         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
10676         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
10677         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
10678         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
10679         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
10680         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
10681         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
10682         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
10683         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
10684         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
10685         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
10686         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
10687         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
10688         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
10689         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
10690         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
10691         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
10692         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
10693         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
10694         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
10695         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
10696         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
10697         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
10698         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
10699         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
10700         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
10701         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
10702         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
10703         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
10704         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
10705         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
10706         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
10707         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
10708         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
10709         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
10710         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
10711         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
10712         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
10713         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
10714         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
10715         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
10716         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
10717         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
10718         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
10719         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
10720         Require >= 2.
10721         (FLT_ROUNDS): Expect as macro, not constant.
10722         (FLT_MANT_DIG): Use macro-int-constant.
10723         (DBL_MANT_DIG): Likewise.
10724         (LDBL_MANT_DIG): Likewise.
10725         (FLT_DIG): Likewise.
10726         (DBL_DIG): Likewise.
10727         (LDBL_DIG): Likewise.
10728         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
10729         (DBL_MIN_EXP): Likewise.
10730         (LDBL_MIN_EXP): Likewise.
10731         (FLT_MAX_EXP): Use macro-int-constant.
10732         (DBL_MAX_EXP): Likewise.
10733         (LDBL_MAX_EXP): Likewise.
10734         (FLT_MAX_10_EXP): Likewise.
10735         (DBL_MAX_10_EXP): Likewise.
10736         (LDBL_MAX_10_EXP): Likewise.
10737         (FLT_MAX): Use macro-constant.
10738         (DBL_MAX): Likewise.
10739         (LDBL_MAX): Likewise.
10740         (FLT_EPSILON): Use macro-constant.  Give upper bound.
10741         (DBL_EPSILON): Likewise.
10742         (LDBL_EPSILON): Likewise.
10743         (FLT_MIN): Likewise.
10744         (DBL_MIN): Likewise.
10745         (LDBL_MIN): Likewise.
10746         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
10747         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
10748         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
10749         [ISO11] (FLT_HAS_SUBNORM): Likewise.
10750         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
10751         [ISO11] (DBL_DECIMAL_DIG): Likewise.
10752         [ISO11] (FLT_DECIMAL_DIG): Likewise.
10753         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
10754         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
10755         [ISO11] (FLT_TRUE_MIN): Likewise.
10756         [ISO11] (LDBL_TRUE_MIN): Likewise.
10757         [ISO || ISO99 || ISO11] (*_t): Do not allow.
10758         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
10759         (SCHAR_MIN): Use macro-int-constant.  Specify type.
10760         (SCHAR_MAX): Likewise.
10761         (UCHAR_MAX): Likewise.
10762         (CHAR_MIN): Likewise.
10763         (CHAR_MAX): Likewise.
10764         (MB_LEN_MAX): Use macro-int-constant.
10765         (SHRT_MIN): Use macro-int-constant.  Specify type.
10766         (SHRT_MAX): Likewise.
10767         (USHRT_MAX): Likewise.
10768         (INT_MAX): Likewise.
10769         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
10770         bound negative.
10771         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
10772         bound with "U".
10773         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
10774         bound with "L".
10775         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
10776         bound negative.  Suffix upper bound with "L".
10777         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
10778         bound with "UL".
10779         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
10780         Specify type.
10781         [C99-based standards] (LLONG_MAX): Likewise.
10782         [C99-based standards] (ULLONG_MAX): Likewise.
10783         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
10784         == 0.
10785         [ISO11] (max_align_t): Require type.
10786         [ISO || ISO99 || ISO11] (*_t): Do not allow.
10788         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
10789         from $CFLAGS, without defining away __attribute__ calls.
10790         (checknamespace): Use $CFLAGS_namespace.
10792         * conform/conformtest.pl (@keywords): Only include C99 keywords
10793         for standards based on C99 or C11.
10795         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
10796         Disable tests.
10797         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
10798         UNIX98]: Likewise.
10800         * conform/conformtest.pl: Handle "macro-int-constant" and test for
10801         usability of symbols in #if.
10803         * conform/conformtest.pl: If macro or constant types start
10804         "promoted:", expect the symbol to be of the following type
10805         promoted by the integer promotions.
10807         * conform/conformtest.pl: Parse all "constant" and "macro" lines
10808         in one place.  Also handle "macro-constant".
10810         * conform/conformtest.pl: Only accept expected macro values with
10811         "==".  Parse all "macro" lines in one place.
10812         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
10814         * conform/conformtest.pl: Handle braced types on "constant" lines
10815         instead of handling "typed-constant".
10816         * conform/data/signal.h-data: Use "constant" instead of
10817         "typed-constant".
10819         * conform/conformtest.pl: Handle "optional-" at start of lines in
10820         one place rather than duplicating several cases.  Handle each
10821         format of "macro" line with initial "optional-".
10823         * conform/conformtest.pl: Only accept expected constant or
10824         optional-constant values with "==".  Parse all "constant" lines in
10825         one place.  Parse all "optional-constant" lines in one place.
10826         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
10827         * conform/data/fmtmsg.h-data: Likewise.
10828         * conform/data/netinet/in.h-data: Likewise.
10829         * conform/data/tar.h-data: Likewise.
10830         * conform/data/limits.h-data: Use "==" form on "constant" and
10831         "optional-constant" lines.
10833         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
10834         Use -std=c99 for XOPEN2K.
10835         (@knownproblems): Remove.
10836         (newtoken): Don't check %isknown.
10838         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
10839         Do not expect macro.
10840         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
10841         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
10842         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
10843         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
10844         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
10845         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
10846         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
10847         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
10848         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
10849         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
10850         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
10851         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
10852         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
10853         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
10854         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
10855         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
10856         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
10857         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
10858         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
10859         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
10860         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
10861         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
10862         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
10863         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
10864         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
10865         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
10866         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
10867         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
10868         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
10869         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
10870         [XPG3] (acosh): Likewise.
10871         [XPG3] (asinh): Likewise.
10872         [XPG3] (atanh): Likewise.
10873         [XPG3] (cbrt): Likewise.
10874         [XPG3] (expm1): Likewise.
10875         [XPG3] (ilogb): Likewise.
10876         [XPG3] (log1p): Likewise.
10877         [XPG3] (logb): Likewise.
10878         [XPG3] (nextafter): Likewise.
10879         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
10880         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
10881         [XPG3] (remainder): Likewise.
10882         [XPG3] (rint): Likewise.
10883         [XPG3 || XPG4 || UNIX98] (round): Likewise.
10884         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
10885         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
10886         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
10887         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
10888         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
10889         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
10890         [UNIX98 || XOPEN2K] (scalb): Expect.
10891         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
10892         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
10893         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
10894         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
10895         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
10896         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
10897         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
10898         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
10899         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
10900         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
10901         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
10902         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
10903         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
10904         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
10905         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
10906         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
10907         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
10908         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
10909         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
10910         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
10911         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
10912         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
10913         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
10914         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
10915         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
10916         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
10917         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
10918         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
10919         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
10920         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
10921         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
10922         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
10923         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
10924         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
10925         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
10926         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
10927         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
10928         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
10929         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
10930         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
10931         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
10932         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
10933         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
10934         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
10935         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
10936         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
10937         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
10938         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
10939         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
10940         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
10941         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
10942         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
10943         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
10944         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
10945         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
10946         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
10947         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
10948         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
10949         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
10950         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
10951         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
10952         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
10953         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
10954         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
10955         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
10956         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
10957         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
10958         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
10959         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
10960         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
10961         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
10962         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
10963         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
10964         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
10965         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
10966         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
10967         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
10968         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
10969         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
10970         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
10971         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
10972         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
10973         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
10974         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
10975         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
10976         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
10977         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
10978         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
10979         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
10980         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
10981         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
10982         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
10983         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
10984         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
10985         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
10986         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
10987         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
10988         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
10989         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
10990         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
10991         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
10992         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
10993         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
10994         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
10995         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
10996         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
10997         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
10998         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
10999         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
11000         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
11001         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
11002         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
11003         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
11004         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
11005         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
11006         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
11007         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
11008         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
11009         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
11010         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
11011         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
11012         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
11013         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
11014         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
11015         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
11016         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
11017         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
11018         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
11019         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
11020         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
11021         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
11022         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
11023         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
11024         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
11025         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
11026         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
11027         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
11029         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
11030         _XOPEN_SOURCE_EXTENDED for XPG4.
11032         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
11034         * Makeconfig (localtime): Remove variable.
11035         (inst_localtime-file): Likewise.
11037 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
11039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
11040         Update.
11041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11042         Update.
11043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
11044         Update.
11045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11046         Update.
11047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
11048         Update.
11049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
11050         Update.
11051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11052         Update.
11053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
11054         Update.
11055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11056         Update.
11058 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
11060         [BZ #2550]
11061         [BZ #2570]
11062         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
11063         comparisons to determine direction to adjust input.
11064         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11065         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
11066         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
11067         Likewise.
11068         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
11069         Likewise.
11070         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11071         Likewise.
11072         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
11073         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11074         Likewise.
11075         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11076         Likewise.
11077         * math/libm-test.inc (nexttoward_test): Add more tests.
11079 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
11081         [BZ #14040]
11082         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
11083         in version GLIBC_2.1, not GLIBC_2.0.
11084         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
11085         Likewise.
11087 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
11089         [BZ #13942]
11090         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
11091         (1 - x) * (1 + x).
11092         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11093         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
11094         * math/libm-test.inc (acos_test): Add more tests.
11095         (asin_test): Likewise.
11096         * sysdeps/i386/fpu/libm-test-ulps: Update.
11097         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11099         [BZ #14034]
11100         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
11101         of square root.
11102         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
11103         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11104         * math/libm-test.inc (acos_test_tonearest): New function.
11105         (acos_test_towardzero): Likewise.
11106         (acos_test_downward): Likewise.
11107         (acos_test_upward): Likewise.
11108         (asin_test_tonearest): Likewise.
11109         (asin_test_towardzero): Likewise.
11110         (asin_test_downward): Likewise.
11111         (asin_test_upward): Likewise.
11112         (main): Call the new functions.
11113         * sysdeps/i386/fpu/libm-test-ulps: Update.
11114         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11116         [BZ #13884]
11117         [BZ #13924]
11118         * math/e_exp10.c: Include <float.h>.
11119         (__ieee754_exp10): Handle underflow here rather than multiplying
11120         large negative argument by M_LN10.
11121         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
11122         of __ieee754_expf.
11123         * math/e_exp10l.c: Include <float.h>.
11124         (__ieee754_exp10l): Handle underflow here rather than multiplying
11125         large negative argument by M_LN10l.
11126         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
11127         spurious overflow exception on underflow.
11129 2012-04-29  Marek Polacek  <polacek@redhat.com>
11131         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
11132         (__fortify_function): New macro.
11133         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
11134         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
11135         __extern_always_inline.
11136         * libio/bits/stdio2.h: Likewise.
11137         * libio/bits/stdio.h: Likewise.
11138         * string/string.h: Likewise.
11139         * string/bits/string3.h: Likewise.
11140         * include/stdio.h: Likewise.
11141         * stdlib/bits/stdlib.h: Likewise.
11142         * stdlib/stdlib.h: Likewise.
11143         * rt/bits/mqueue2.h: Likewise.
11144         * rt/mqueue.h: Likewise.
11145         * posix/bits/unistd.h: Likewise.
11146         * posix/unistd.h: Likewise.
11147         * io/bits/poll2.h: Likewise.
11148         * io/bits/fcntl2.h: Likewise.
11149         * io/fcntl.h: Likewise.
11150         * io/sys/poll.h: Likewise.
11151         * misc/bits/syslog.h: Likewise.
11152         * misc/bits/syslog-ldbl.h: Likewise.
11153         * misc/sys/syslog.h: Likewise.
11154         * socket/bits/socket2.h: Likewise.
11155         * socket/sys/socket.h: Likewise.
11156         * debug/tst-chk1.c: Likewise.
11157         * wcsmbs/bits/wchar2.h: Likewise.
11158         * wcsmbs/bits/wchar-ldbl.h: Likewise.
11159         * wcsmbs/wchar.h: Likewise.
11161 2012-04-29  Andreas Jaeger  <aj@suse.de>
11163         * Makerules (tests): Remove enable-check-abi protection.
11164         (check-abi-warn): Remove.
11165         (check-abi-%): Remove check-abi-warn usage.
11167         * configure.in: Remove check-abi configure option.
11168         * configure: Regenerated.
11169         * config.make.in (enable-check-abi): Remove.
11171 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
11173         [BZ #14033]
11174         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
11175         double functions to double *_finite functions.
11177         [BZ #13941]
11178         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
11179         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
11180         LDBL_MIN_EXP.
11181         * stdio-common/Makefile (tests): Add tst-sprintf3.
11182         * stdio-common/tst-sprintf3.c: New file.
11184         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
11185         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
11187 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
11189         * conform/conformtest.pl: Remove duplicate typed-constant
11190         handling.
11192 2012-04-28  David S. Miller  <davem@davemloft.net>
11194         * Makerules (%.abilist): Add vpath on sysdep_dirs.
11195         (check-abi-%): Remove AWK script prerequisite and explicit
11196         abilist directory.
11197         (check-abi): Rewrite to just diff the symlist with the abilist.
11198         (config-tls, config-abi-config): Delete, no longer used.
11199         (update-abi-%): Remove AWK script and explicit abilist directory.
11200         (update-abi): Rewrite to simply compare and conditionally copy the
11201         symlist and the sysdep abilist file.  Remove update-abi-config
11202         checks.
11203         * abilist/ld.abilist: Remove.
11204         * abilist/libBrokenLocale.abilist: Remove.
11205         * abilist/libanl.abilist: Remove.
11206         * abilist/libcrypt.abilist: Remove.
11207         * abilist/libdl.abilist: Remove.
11208         * abilist/librt.abilist: Remove.
11209         * abilist/libthread_db.abilist: Remove.
11210         * abilist/libutil.abilist: Remove.
11211         * scripts/extract-abilist.awk: Remove.
11212         * scripts/merge-abilist.awk: Remove.
11213         * sysdeps/generic/libcidn.abilist: New file.
11214         * sysdeps/generic/libnss_compat.abilist: New file.
11215         * sysdeps/generic/libnss_db.abilist: New file.
11216         * sysdeps/generic/libnss_dns.abilist: New file.
11217         * sysdeps/generic/libnss_files.abilist: New file.
11218         * sysdeps/generic/libnss_hesiod.abilist: New file.
11219         * sysdeps/generic/libnss_nis.abilist: New file.
11220         * sysdeps/generic/libnss_nisplus.abilist: New file.
11221         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
11222         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
11223         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
11224         file.
11225         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
11226         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
11227         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
11228         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
11229         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
11230         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
11231         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
11232         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
11233         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
11234         file.
11235         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
11236         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
11237         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
11238         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
11239         file.
11240         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
11241         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
11242         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
11243         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
11244         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
11245         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
11246         file.
11247         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
11248         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
11249         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
11250         file.
11251         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
11252         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
11253         New file.
11254         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
11255         New file.
11256         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
11257         New file.
11258         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
11259         New file.
11260         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
11261         New file.
11262         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
11263         New file.
11264         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
11265         New file.
11266         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
11267         New file.
11268         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
11269         New file.
11270         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
11271         New file.
11272         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
11273         New file.
11274         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
11275         New file.
11276         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
11277         New file.
11278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
11279         file.
11280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11281         New file.
11282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11283         New file.
11284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
11285         file.
11286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11287         New file.
11288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11289         New file.
11290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
11291         file.
11292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11293         New file.
11294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11295         New file.
11296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11297         New file.
11298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11299         New file.
11300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11301         New file.
11302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11303         New file.
11304         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
11305         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
11306         file.
11307         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
11308         New file.
11309         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
11310         file.
11311         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
11312         file.
11313         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
11314         file.
11315         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
11316         file.
11317         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
11318         file.
11319         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11320         New file.
11321         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
11322         file.
11323         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
11324         file.
11325         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
11326         New file.
11327         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
11328         file.
11329         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
11330         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
11331         file.
11332         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
11333         New file.
11334         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
11335         file.
11336         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
11337         file.
11338         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
11339         file.
11340         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
11341         file.
11342         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
11343         file.
11344         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11345         New file.
11346         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
11347         file.
11348         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
11349         file.
11350         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
11351         New file.
11352         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
11353         file.
11354         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11355         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
11356         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
11357         file.
11358         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
11359         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
11360         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
11361         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
11362         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
11363         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
11364         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
11365         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
11366         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
11367         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
11368         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
11369         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
11370         file.
11371         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
11372         New file.
11373         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
11374         file.
11375         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
11376         file.
11377         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
11378         file.
11379         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
11380         file.
11381         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
11382         file.
11383         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11384         New file.
11385         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
11386         New file.
11387         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
11388         file.
11389         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
11390         New file.
11391         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
11392         file.
11393         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
11394         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
11395         file.
11396         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
11397         New file.
11398         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
11399         file.
11400         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
11401         file.
11402         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
11403         file.
11404         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
11405         file.
11406         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
11407         file.
11408         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11409         New file.
11410         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
11411         New file.
11412         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
11413         file.
11414         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
11415         New file.
11416         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
11417         file.
11419 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
11421         * conform/conformtest.pl: Fix typo in handling typed-constant from
11422         allow-header.
11424 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
11426         * README: Cut down references to pre-2.6 Linux kernels and
11427         Linuxthreads.  Update lists of configurations in libc and ports
11428         and sort alphabetically.  Say "or newer" with Linux kernel version
11429         requirements.
11431         * config.h.in [IS_IN_build]: Allow compiling without optimization.
11433 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
11435         [BZ #887]
11436         * math/libm-test.inc (logb_test_downward): New test to expose
11437         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
11438         rounding mode.
11440 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
11442         [BZ #14027]
11443         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
11444         to be done.
11445         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
11446         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
11448 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
11450         * sysdeps/unix/i386/brk.S: Remove file.
11451         * sysdeps/unix/i386/dl-brk.S: Likewise.
11452         * sysdeps/unix/i386/pipe.S: Likewise.
11453         * sysdeps/unix/i386/sigreturn.S: Likewise.
11454         * sysdeps/unix/i386/syscall.S: Likewise.
11455         * sysdeps/unix/i386/vfork.S: Likewise.
11456         * sysdeps/unix/i386/wait.S: Likewise.
11458         * sysdeps/unix/common/tcsendbrk.c: Move to ...
11459         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
11461         * configure.in (arm*-none*): Do not allow without
11462         --enable-hacker-mode.
11463         (netbsd*): Remove case setting base_os.
11464         (386bsd*): Likewise.
11465         (freebsd*): Likewise.
11466         (bsdi*): Likewise.
11467         (osf*): Likewise.
11468         (sunos*): Likewise.
11469         (ultrix*): Likewise.
11470         (newsos*): Likewise.
11471         (dynix*): Likewise.
11472         (*bsd*): Likewise.
11473         (sysv*): Likewise.
11474         (isc*): Likewise.
11475         (esix*): Likewise.
11476         (sco*): Likewise.
11477         (minix*): Likewise.
11478         (irix4*): Likewise.
11479         (irix6*): Likewise.
11480         (solaris[2-9]*): Likewise.
11481         (none): Likewise.
11482         * configure: Regenerated.
11484 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11486         [BZ #11521]
11487         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
11488         overflow or cancellation in calculating denominator.
11489         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
11490         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
11491         down expression to avoid unexpected rounding in newer GCCs.
11492         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
11494 2012-04-26  David S. Miller  <davem@davemloft.net>
11496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
11497         long-double compat symbols.
11498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
11500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
11501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
11502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
11503         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
11504         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
11505         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
11506         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
11507         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11508         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
11509         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
11510         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11512 2012-04-25  David S. Miller  <davem@davemloft.net>
11514         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
11515         HWCAP_* values only after the memory barriers have been defined.
11516         (atomic_full_barrier): Define.
11517         (atomic_read_barrier): Define.
11518         (atomic_write_barrier): Define.
11520 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11522         * shlib-versions: Add libgcc_s version information.
11523         * sysdeps/generic/libgcc_s.h: Remove.
11524         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
11525         libgcc_s.h.
11526         * sysdeps/gnu/unwind-resume.c: Likewise.
11527         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
11529 2012-04-25  David S. Miller  <davem@davemloft.net>
11531         * sysdeps/unix/sparc/brk.S: Delete.
11532         * sysdeps/unix/sparc/dl-brk.S: Delete.
11533         * sysdeps/unix/sparc/pipe.S: Delete.
11534         * sysdeps/unix/sparc/sysdep.S: Delete.
11535         * sysdeps/unix/sparc/sysdep.h: Delete.
11536         * sysdeps/unix/sparc/vfork.S: Delete.
11537         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
11538         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
11539         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
11540         ret_ERRVAL, r0, r1, MOVE): Define.
11541         (JUMPTARGET): Remove.
11542         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
11543         sysdeps/unix/sparc/sysdep.h
11544         (ENTRY, END): Remove.
11545         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11547 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
11549         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
11550         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
11551         -DIS_IN_build.
11553         * timezone/README: Update upstream location and email address for
11554         tzcode and tzdata.
11555         * timezone/zdump.c: Update from tzcode 2012b.
11556         * timezone/zic.c: Likewise.
11558         * configure.in (libc_cv_as_needed): Remove test.
11559         * configure: Regenerated.
11560         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
11561         conditional definition.
11562         [$(have-as-needed) != yes] (no-as-needed): Likewise.
11563         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
11564         * config.make.in (have-as-needed): Remove variable.
11566 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
11567             Paul Pluzhnikov  <ppluzhnikov@google.com>
11569         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
11570         strings correctly.
11572 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
11574         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
11575         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
11576         * sysdeps/sh/strlen.S: Likewise.
11578 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
11580         * sysdeps/unix/fork.S: Remove file.
11581         * sysdeps/unix/i386/fork.S: Likewise.
11582         * sysdeps/unix/sparc/fork.S: Likewise.
11584         * sysdeps/unix/system.c: Remove file.
11585         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
11587         * sysdeps/unix/getegid.S: Remove file.
11588         * sysdeps/unix/geteuid.S: Likewise.
11590 2012-04-24  Roland McGrath  <roland@hack.frob.com>
11592         * scripts/check-localplt.awk: New file.
11593         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
11594         of diff.
11595         * scripts/data/localplt-generic.data: Add a comment.
11597         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
11598         NODE when __dir_mkfile failed.
11599         * sysdeps/mach/hurd/symlinkat.c: Likewise.
11600         Reported by Ludovic Courtès <ludo@gnu.org>.
11602 2012-04-24  Andreas Jaeger  <aj@suse.de>
11604         * Makerules (common-clean): Also remove gen-as-const-headers
11605         files.
11607 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
11609         * Makerules (native-compile): Do not change working directory for
11610         build.  Use $(OUTPUT_OPTION) in command.
11611         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
11613 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11615         [BZ #13886]
11616         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
11617         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
11618         * math/libm-test.inc (floor_test): Add more tests.
11619         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
11621 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
11623         * sysdeps/unix/getdents.c: Remove file.
11624         * sysdeps/unix/sysv/getdents.c: Likewise.
11625         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
11627         * sysdeps/unix/syscalls.list (madvise): Add syscall from
11628         sysdeps/unix/mman/syscalls.list.
11629         (mmap): Likewise.
11630         (mprotect): Likewise.
11631         (msync): Likewise.
11632         (munmap): Likewise.
11633         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
11634         * sysdeps/unix/mman/syscalls.list: Remove.
11635         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
11637         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
11638         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
11639         * configure: Regenerated.
11640         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
11641         $(libgcc_s_suffix).
11642         * config.make.in (libgcc_s_suffix): Remove variable.
11644 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
11646         * sysdeps/unix/sysv/gethostname.c: Move to ...
11647         * sysdeps/posix/gethostname.c: ... here.
11649         * sysdeps/unix/execve.S: Remove file.
11651         * sysdeps/unix/_exit.S: Remove file.
11653 2012-04-23  Andreas Jaeger  <aj@suse.de>
11655         [BZ #13739]
11656         * manual/Makefile: Remove make dist support, there's no
11657         need for a stand-alone documentation tar ball.
11658         (TEXI2DVI): Define always, it's not in Makeconfig.
11659         (dist): Removed.
11660         (tar-it): Removed.
11661         (edition): Removed.
11662         (glibc-doc-$(edition).tar): Removed
11663         (%.Z): Removed.
11664         (%.gz): Removed.
11665         (%.uu): Removed.
11666         (ETAGS): Remove, it's in Makeconfig.
11667         (move-if-change): Remove, it's in Makeconfig.
11669 2013-04-23  Paul Eggert  <eggert@cs.ucla.edu>
11671         [BZ #13970]
11672         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
11673         (strtod, strtof, strtold, strtol, strtoul, strtoq)
11674         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
11675         (strtod_l, strtof_l, strtold_l): Remove __wur.
11676         It is not necessarily an error to ignore strtol's return value.
11677         One can reliably look at the stored endptr to decide whether
11678         the number had valid syntax.
11680 2012-04-21  Andreas Jaeger  <aj@suse.de>
11682         [BZ #13739]
11683         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
11685 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
11687         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
11688         * sysdeps/unix/sysv/Versions: Remove file.
11690 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
11692         [BZ #13927]
11693         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11695 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
11697         [BZ #7064]
11698         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
11699         version from __vm86.
11701 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
11703         * sysdeps/unix/common/lxstat.c: Remove file.
11704         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
11706         * sysdeps/unix/sysv/Makefile: Remove file.
11708         * sysdeps/unix/sysv/direct.h: Remove file.
11710         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
11711         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
11712         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
11713         * sysdeps/unix/sysv/bits/signum.h: Likewise.
11714         * sysdeps/unix/sysv/bits/stat.h: Likewise.
11715         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
11716         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
11718         * sysdeps/unix/sysv/setrlimit.c: Remove file.
11720         * sysdeps/unix/xmknod.c: Remove file.
11721         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
11723         * sysdeps/unix/sysv/settimeofday.c: Remove file.
11725         * sysdeps/unix/sysv/i386/time.S: Remove file.
11727         * sysdeps/unix/fxstat.c: Remove file.
11728         * sysdeps/unix/xstat.c: Likewise.
11729         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
11731         * sysdeps/unix/sysv/sigaction.c: Remove file.
11733         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
11734         (sysdep_headers): Remove variable.
11735         [termio.h not in sysdep_headers] (generated): Likewise.
11736         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
11737         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
11738         * sysdeps/unix/sysv/tcdrain.c: Likewise.
11739         * sysdeps/unix/sysv/tcflow.c: Likewise.
11740         * sysdeps/unix/sysv/tcflush.c: Likewise.
11741         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
11742         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
11743         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
11744         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
11745         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
11747         * sysdeps/unix/siglist.c: Remove file.
11749         * sysdeps/unix/getppid.S: Remove file.
11751         * sysdeps/unix/mkdir.c: Remove file.
11752         * sysdeps/unix/rmdir.c: Likewise.
11754 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
11756         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
11757         ERR_MAX value.
11758         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
11759         errlist-compat value.
11761 2012-04-18  David S. Miller  <davem@davemloft.net>
11763         * sysdeps/generic/memcopy.h (reg_char): Delete.
11764         * debug/strcat_chk.c: Use char, not reg_char.
11765         * debug/strcpy_chk.c: Likewise.
11766         * debug/strncat_chk.c: Likewise.
11767         * debug/strncpy_chk.c: Likewise.
11768         * string/memchr.c: Likewise.
11769         * string/memrchr.c: Likewise.
11770         * string/rawmemchr.c: Likewise.
11771         * string/strcat.c: Likewise.
11772         * string/strchr.c: Likewise.
11773         * string/strchrnul.c: Likewise.
11774         * string/strcmp.c: Likewise.
11775         * string/strcpy.c: Likewise.
11776         * string/strncat.c: Likewise.
11777         * string/strncmp.c: Likewise.
11778         * string/strncpy.c: Likewise.
11780 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
11782         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
11783         __builtin_memcopy is called when src and dest ranges are known to not
11784         overlap.
11786 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
11788         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
11789         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
11790         fwd_align_merge macro call.
11791         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
11792         bwd_align_merge macro call.
11793         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11795 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
11797         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
11798         bwd_align_merge macros.
11799         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
11800         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
11801         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11803 2012-04-18  David S. Miller  <davem@davemloft.net>
11805         * sysdeps/sparc/sparc64/memcopy.h: Delete.
11807 2012-04-18  Andreas Jaeger  <aj@suse.de>
11809         [BZ# 6794]
11810         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
11811         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
11812         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11814         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
11815         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
11816         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11818         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
11819         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
11820         Adjust for changed ldbl-128 files.
11822         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
11823         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
11824         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11826 2012-04-17  David S. Miller  <davem@davemloft.net>
11828         * sysdeps/sparc/sparc32/memcopy.h: Delete.
11830 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
11832         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
11833         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
11834         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
11835         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
11836         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11837         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
11839 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11841         [BZ #6794]
11842         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
11843         * math/libm-test.inc: Add ilogb errno and exception tests.
11844         * math/w_ilogb.c: New file: ilogb wrapper.
11845         * math/w_ilogbf.c: New file: ilogbf wrapper.
11846         * math/w_ilogbl.c: New file: ilogbl wrapper.
11847         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
11848         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
11849         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
11850         exception being thrown with 0.0 as argument.
11851         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
11852         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
11853         exception being thrown with 0.0 as argument.
11854         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
11855         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11856         exception being thrown with 0.0 as argument.
11857         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
11858         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11859         exception being thrown with 0.0 as argument.
11860         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
11861         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
11862         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
11863         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
11864         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
11865         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
11866         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
11867         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
11868         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
11870 2012-04-17  Petr Baudis  <pasky@ucw.cz>
11872         * include/sys/uio.h: Change __vector to __iovec to avoid clash
11873         with altivec.
11875 2012-04-16  Marek Polacek  <polacek@redhat.com>
11877         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
11879 2012-04-16  Marek Polacek  <polacek@redhat.com>
11881         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
11882         operands of fdivp instruction.
11884 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
11886         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
11887         * elf/tst-auditmod3b.c: Likewise.
11888         * elf/tst-auditmod4b.c: Likewise.
11889         * elf/tst-auditmod5b.c: Likewise.
11890         * elf/tst-auditmod6b.c: Likewise.
11891         * elf/tst-auditmod6c.c: Likewise.
11892         * elf/tst-auditmod7b.c: Likewise.
11893         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
11894         * sysdeps/x86_64/preconfigure.in: Likewise.
11895         * sysdeps/x86_64/preconfigure: Regenerated.
11897 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
11899         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
11900         __ILP32__.
11902 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
11904         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11905         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
11907 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
11909         [BZ #13973]
11910         * locale/iso-639.def: Fix gl language name. Spotted by
11911         Yaron Shahrabani.
11913 2012-04-12  Roland McGrath  <roland@hack.frob.com>
11915         [BZ #2074]
11916         * libio/libio.h (__io_write_fn): Update comment.
11918 2012-04-12  Petr Baudis  <pasky@ucw.cz>
11920         [BZ #2074]
11921         * stdio.texi (Hook Functions): The user provided writer function
11922         is not allowed to return -1.
11924 2012-04-11  David S. Miller  <davem@davemloft.net>
11926         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11928 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
11930         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
11931         Add a leading slash to rtkaio.
11933 2012-04-11  Jim Meyering  <meyering@redhat.com>
11935         [BZ #11959]
11936         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
11937         It is not necessarily an error to ignore fwrite's return
11938         value.  One can reliably use ferror to test for errors after
11939         the fact.
11941 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
11943         * bits/types.h (__snseconds_t): New type.
11944         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
11946         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
11947         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11948         (__SNSECONDS_T_TYPE): Likewise.
11949         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11950         (__SNSECONDS_T_TYPE): Likewise.
11951         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11952         (__SNSECONDS_T_TYPE): Likewise.
11954 2012-04-10  Andreas Jaeger  <aj@suse.de>
11956         [BZ #2636]
11957         * manual/time.texi (Processor Time): Return type of times is
11958         elapsed real time since an arbitrary point in the past.
11959         (CPU Time): Move CLK_TCK from here...
11960         (Processor Time): ...to here.  Correct description.
11961         * manual/conf.texi (Constants for Sysconf): Correct description of
11962         _SC_CLK_TCK.
11964 2012-04-10  David S. Miller  <davem@davemloft.net>
11966         [BZ #13967]
11967         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
11968         where the is a gap between DT_REL(A) and DT_JMPREL.
11970 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
11972         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
11973         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11974         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11976 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11978         * elf/dl-support.c (_dl_inhibit_cache): New variable.
11979         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
11980         (dl_main): Handle --inhibit-cache.
11981         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
11982         _dl_inhibit_cache.
11983         * elf/dl-load.c (_dl_map_object): Use it.
11984         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
11986 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
11988         [BZ #13872]
11989         * sysdeps/i386/fpu/e_powl.S (p78): New object.
11990         (__ieee754_powl): Saturate large exponents rather than testing for
11991         overflow of y*log2(x).
11992         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11993         * math/libm-test.inc (pow_test): Do not permit spurious overflow
11994         exceptions.
11996         [BZ #11521]
11997         * math/s_ctan.c: Include <float.h>.
11998         (__ctan): Avoid internal overflow or cancellation in calculating
11999         denominator.
12000         * math/s_ctanf.c: Likewise.
12001         * math/s_ctanl.c: Likewise.
12002         * math/s_ctanh.c: Likewise.
12003         * math/s_ctanhf.c: Likewise.
12004         * math/s_ctanhl.c: Likewise.
12005         * math/libm-test.inc (ctan_test): Add more tests.
12006         (ctanh_test): Likewise.
12007         * sysdeps/i386/fpu/libm-test-ulps: Update.
12008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12010 2012-04-09  Andreas Jaeger  <aj@suse.de>
12012         [BZ #6894]
12013         * manual/filesys.texi (Directory Entries): Mention that d_namlen
12014         is an optional BSD extension.
12016         [BZ #10254]
12017         * manual/stdio.texi (Opening Streams): Document additional fopen
12018         parameters.
12020 2012-04-09  Roland McGrath  <roland@hack.frob.com>
12022         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
12023         %eax without telling the compiler.
12025 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
12027         [BZ # 13963]
12028         * manual/install.texi: Use sourceware.org.
12030 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
12032         [BZ #13873]
12033         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
12034         (__ieee754_pow): Generate overflow and underflow using huge*huge
12035         and tiny*tiny rather than just returning constant infinity or zero
12036         for large exponents.
12037         * math/libm-test.inc (pow_test): Require overflow exceptions for
12038         applicable cases of large exponents.
12040         [BZ #706]
12041         * sysdeps/i386/fpu/e_pow.S (p10): New object.
12042         (__ieee754_pow): Use iterative multiplication algorithm only for
12043         integer exponents with absolute value below 1024.  Check for odd
12044         integer exponents when using algorithm for real exponents.
12045         * math/libm-test.inc (pow_test): Add more tests.
12046         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12048 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
12050         [BZ #13705]
12051         * math/libm-test.inc (exp_test): Do not allow overflow exception
12052         on underflow test.
12054 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
12056         [BZ #13705]
12057         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
12058         instead of __kernel_standard_f.
12060 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
12062         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
12063         * sysdeps/x86_64/memset_chk.S: Likewise.
12065 2012-04-08  Andreas Jaeger  <aj@suse.de>
12067         [BZ #10153]
12068         * manual/startup.texi (Environment Access): Describe return value
12069         for putenv and setenv.
12071         [BZ #6895]
12072         * manual/filesys.texi (Directory Entries): Add description for
12073         DT_LNK.
12075         [BZ #6890]
12076         * manual/filesys.texi (Directory Entries): Clarify that it's file
12077         system not operating system in the description of DT_UNKNOWN.
12079         [BZ #6578]
12080         * manual/syslog.texi (closelog): Fix reference, it's openlog.
12082 2012-04-08  Stephen Compall  <s11@member.fsf.org>
12084         [BZ #6649]
12085         * manual/llio.texi (Opening and Closing Files): Add cross
12086         reference to explain mode argument.
12088 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
12090         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
12091         * sysdeps/x86_64/memset_chk.S: Likewise.
12093 2012-04-07  David S. Miller  <davem@davemloft.net>
12095         * elf/elf.h (R_SPARC_WDISP10): Define.
12096         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
12097         R_SPARC_SIZE32.
12098         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
12099         R_SPARC_SIZE64 and R_SPARC_H34.
12101 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
12103         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
12104         conditions and remove no longer applicable assertion.
12106 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
12108         * bits/byteswap.h: Include <features.h>.
12109         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12110         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12112 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
12114         * bits/byteswap.h (__bswap_16): Removed.
12115         Include <bits/byteswap-16.h> to get __bswap_16.
12116         * sysdeps/i386/bits/byteswap.h: Likewise.
12117         * sysdeps/s390/bits/byteswap.h: Likewise.
12118         * sysdeps/x86_64/bits/byteswap.h: Likewise.
12119         * bits/byteswap-16.h: New file.
12120         * sysdeps/i386/bits/byteswap-16.h: Likewise.
12121         * sysdeps/s390/bits/byteswap-16.h: Likewise.
12122         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
12123         * string/Makefile (headers): Add bits/byteswap-16.h.
12125 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
12127         [BZ #13895]
12128         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
12129         extra indirection.
12130         * nss/Makefile (tests-static, tests): Add tst-nss-static.
12131         * nss/tst-nss-static.c: New.
12133 2012-04-06  Robert Millan  <rmh@gnu.org>
12135         [BZ #6486]
12136         * manual/llio.texi (File Position Primitive): lseek
12137         refers to WHENCE when it really means OFFSET.
12139 2012-04-06  Andreas Jaeger  <aj@suse.de>
12141         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
12142         strncmp declarations.
12144         * abilist/libc.abilist: Add __poll and __ppoll.
12146 2012-04-05  David S. Miller  <davem@davemloft.net>
12148         * scripts/check-local-headers.sh: Accept a host triplet in the
12149         path matched by the exclude regexp.
12151         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
12152         definition.
12153         * sysdeps/powerpc/powerpc32/dl-machine.h
12154         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
12155         * sysdeps/s390/s390-32/dl-machine.h
12156         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12157         * sysdeps/sparc/sparc32/dl-machine.h
12158         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12159         * sysdeps/sparc/sparc64/dl-machine.h
12160         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12162         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
12163         lazy binding.
12164         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
12165         undefined symbol errors.
12167         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
12168         DT_NEEDED entries.
12170 2012-04-05  Michael Matz  <matz@suse.de>
12172         [BZ #13592]
12173         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
12175 2012-04-05  Andreas Jaeger  <aj@suse.de>
12177         [BZ #13908]
12178         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
12179         comment.
12181 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
12183         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
12184         which ROUND is no valid rounding mode.
12186 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
12188         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
12189         read again.
12190         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
12192 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
12194         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
12195         an exception using FPU order intentionally.
12197 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
12199         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
12200         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
12201         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
12202         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
12204 2012-04-05  Simon Josefsson  <simon@josefsson.org>
12206         [BZ #12340]
12207         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
12208         EINVAL when BUFLEN is too smal.
12210 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
12212         [BZ #13553]
12213         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
12214         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
12216 2012-04-03  Andreas Jaeger  <aj@suse.de>
12218         [BZ #13938]
12219         * manual/setjmp.texi (System V contexts): Fix sentence.
12221         [BZ #13926]
12222         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
12223         New macro for this case.
12224         [!__GNUC__] (__bswap_64): New inline function for this case.
12225         * sysdeps/x86_64/bits/byteswap.h: Likewise.
12226         * bits/byteswap.h: Likewise.
12227         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
12228         ull, guard with __GLIBC_HAVE_LONG_LONG.
12230         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
12231         __GLIBC_HAVE_LONG_LONG.
12233         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
12234         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
12236 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12238         [BZ #13691]
12239         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
12240         inptr and inend, rather than using last_ch.
12242 2012-04-02  David S. Miller  <davem@davemloft.net>
12244         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
12245         * stdio-common/printf-parse.h (read_int): Change return type to
12246         'int', return -1 on INT_MAX overflow.
12247         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
12248         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
12249         overflows INT_MAX.  Check for overflow of in-format-string precision
12250         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
12251         SIZE_MAX not INT_MAX for integer overflow test.
12252         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
12253         skip the construct in the format string but do not record anything.
12254         * stdio-common/bug22.c: Adjust to test both width/prevision
12255         INT_MAX overflow as well as total length INT_MAX overflow.  Check
12256         explicitly for proper errno values.
12258 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
12260         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
12261         CHAR_MAX.
12262         * string/test-strcmp.c [! WIDE]: Likewise.
12263         * time/tst-mktime2.c: Likewise for INT_MAX.
12264         * string/test-string.h: #include <sys/param.h> for MIN.
12266         * csu/init-first.c (__libc_init_first): Call __ctype_init.
12267         * sysdeps/i386/init-first.c (init): Likewise.
12268         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
12269         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
12270         * sysdeps/sh/init-first.c (init): Likewise.
12272 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
12274         * po/ru.po: Update from translation team.
12275         * po/vi.po: Likewise.
12277 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
12279         * resolv/nss_dns/dns-host.c: Merge copyright years.
12281 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12283         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12284         Optimize memcpy with prefetch if
12285         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
12286         src, dst pointers have unequal 16 byte alignments.
12288 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12290         [BZ #13928]
12291         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
12292         from a CNAME entry and return the minimum ttl for the query.
12293         (gaih_getanswer_slice): Likewise.
12295 2012-03-30  Jeff Law  <law@redhat.com>
12297         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
12298         due to long keys.
12299         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12300         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12302         * resolv/nss_dns/dns-host.c: Update copyright year.
12304 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
12306         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
12307         requests to save a system call.  Fix check that all bytes are sent.
12309         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
12310         comments for sendmmsg.
12312 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12314         [BZ #13691]
12315         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
12316         with only 1 character between 0x0041 and 0x01b0.
12317         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
12318         * wcsmbs/tst-mbsnrtowcs.c: New file.
12320 2012-03-29  David S. Miller  <davem@davemloft.net>
12322         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
12323         small copies by hand.
12325 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12327         [BZ #13761]
12328         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
12329         _nss_compat_initgroups_dyn): Fall back to malloc/free
12330         for large group memberships.
12332 2012-03-28  David S. Miller  <davem@davemloft.net>
12334         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
12335         that branches into memcpy.
12336         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12337         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
12338         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12339         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
12340         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
12341         bits.
12342         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
12343         implementation too.
12344         * sysdeps/sparc/mempcpy.S: New file.
12346         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
12347         the IFUNC routine in the libc case.
12348         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12350         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
12351         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
12352         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
12353         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
12354         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
12355         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
12356         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
12357         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
12359         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
12360         loop to 256 bytes instead of 64 bytes and fix test signedness.
12362         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
12363         * sysdeps/sparc/sparc32/Makefile: rather than here...
12364         * sysdeps/sparc/sparc64/Makefile: and here.
12366 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
12368         * malloc/mallocbug.c: Avoid warnings about unused variables.
12370 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
12372         [BZ #13760]
12373         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
12374         in the right place. Discard and retry query if response is
12375         larger than input buffer size.
12377 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
12379         [BZ #369]
12380         [BZ #2678]
12381         [BZ #3866]
12382         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
12383         x for large integer exponent.
12384         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12385         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
12386         sign of result as needed afterwards.
12387         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12388         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
12389         result for underflowing pow the same as for overflow.
12390         (__kernel_standard_l): Handle powl overflow and underflow here
12391         rather than calling __kernel_standard.
12392         * math/libm-test.inc (pow_test): Add more tests.
12394         [BZ #3868]
12395         [BZ #13879]
12396         [BZ #13910]
12397         [BZ #13911]
12398         [BZ #13912]
12399         [BZ #13913]
12400         [BZ #13915]
12401         [BZ #13916]
12402         [BZ #13917]
12403         [BZ #13918]
12404         [BZ #13919]
12405         [BZ #13920]
12406         [BZ #13921]
12407         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
12408         * sysdeps/ieee754/k_standard.c: Include <float.h>.
12409         (__kernel_standard_l): New function.
12410         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
12411         __kernel_standard.
12412         * math/w_acosl.c (__acosl): Likewise.
12413         * math/w_asinl.c (__asinl): Likewise.
12414         * math/w_atan2l.c (__atan2l): Likewise.
12415         * math/w_atanhl.c (__atanhl): Likewise.
12416         * math/w_coshl.c (__coshl): Likewise.
12417         * math/w_exp10l.c (__exp10l): Likewise.
12418         * math/w_exp2l.c (__exp2l): Likewise.
12419         * math/w_fmodl.c (__fmodl): Likewise.
12420         * math/w_hypotl.c (__hypotl): Likewise.
12421         * math/w_j0l.c (__j0l, __y0l): Likewise.
12422         * math/w_j1l.c (__j1l, __y1l): Likewise.
12423         * math/w_jnl.c (__jnl, __ynl): Likewise.
12424         * math/w_lgammal.c (__lgammal): Likewise.
12425         * math/w_log10l.c (__log10l): Likewise.
12426         * math/w_log2l.c (__log2l): Likewise.
12427         * math/w_logl.c (__logl): Likewise.
12428         * math/w_powl.c (__powl): Likewise.
12429         * math/w_remainderl.c (__remainderl): Likewise.
12430         * math/w_scalbl.c (sysv_scalbl): Likewise.
12431         * math/w_sinhl.c (__sinhl): Likewise.
12432         * math/w_sqrtl.c (__sqrtl): Likewise.
12433         * math/w_tgammal.c (__tgammal): Likewise.
12434         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
12435         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
12436         * math/libm-test.inc (acos_test): Add more tests.
12437         (acosh_test): Likewise.
12438         (asin_test): Likewise.
12439         (atanh_test): Likewise.
12440         (exp_test): Likewise.
12441         (exp10_test): Likewise.
12442         (exp2_test): Likewise.
12443         (expm1_test): Likewise.
12444         (lgamma_test): Likewise.
12445         (log_test): Likewise.
12446         (log10_test): Likewise.
12447         (log1p_test): Likewise.
12448         (log2_test): Likewise.
12449         (pow_test): Do not allow some spurious overflow exceptions.
12450         (sqrt_test): Add more tests.
12451         (tgamma_test): Likewise.
12452         (y0_test): Likewise.
12453         (y1_test): Likewise.
12454         (yn_test): Likewise.
12456 2012-03-27  Anton Blanchard  <anton@samba.org>
12458         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
12459         MAP_HUGETLB.
12460         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12461         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12462         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12464 2012-03-27  David S. Miller  <davem@davemloft.net>
12466         * conform/Makefile: Run run-conformtest.sh using $(BASH).
12468         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
12469         have-as-vis3 check.
12471 2012-03-27  Andreas Jaeger  <aj@suse.de>
12473         * sysdeps/x86_64/elf/configure.in: Moved to ...
12474         * sysdeps/x86_64/configure.in: ... here.
12475         * sysdeps/x86_64/elf/start.S: Moved to ...
12476         * sysdeps/x86_64/start.S: ... here.
12477         * sysdeps/x86_64/elf/configure: Delete.
12479         * sysdeps/x86_64/configure.in: Merge contents from
12480         sysdeps/i386/configure.in (without i686 check).
12482         * sysdeps/i386/elf/Versions: Merge into ...
12483         * sysdeps/i386/Versions: ... this.
12484         * sysdeps/i386/elf/Versions: Delete file.
12485         * sysdeps/i386/elf/start.S: Moved to ...
12486         * sysdeps/i386/start.S: ...here.
12487         * sysdeps/i386/elf/configure.in: Merge into...
12488         * sysdeps/i386/configure.in: ...here.
12489         * sysdeps/i386/elf/configure.in: Delete file.
12490         * sysdeps/i386/elf/configure: Delete file.
12492         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
12493         * debug/backtracesyms.c: ... here.
12494         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
12495         * debug/backtracesymsfd.c: ... here.
12496         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
12497         * sysdeps/generic/ifunc-sel.h: ... here.
12499         * sysdeps/unix/i386/start.c: Delete file.
12500         * sysdeps/unix/sparc/start.c: Delete file.
12501         * sysdeps/unix/start.c: Delete file.
12503         * sysdeps/sh/elf/configure.in: Moved to ...
12504         * sysdeps/sh/configure.in: ... here.
12505         * sysdeps/sh/elf/start.S: Moved to ...
12506         * sysdeps/sh/start.S: ... here.
12507         * sysdeps/sh/elf/configure: Delete file.
12509         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
12510         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
12511         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
12512         * sysdeps/powerpc/powerpc64/entry.h: ... here.
12513         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
12514         * sysdeps/powerpc/powerpc64/start.S: here.
12515         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
12516         * sysdeps/powerpc/powerpc64/Makefile: ... this.
12517         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
12518         * sysdeps/powerpc/powerpc64/configure.in: ... this.
12519         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
12521         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
12522         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
12523         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
12524         * sysdeps/powerpc/powerpc32/start.S: ... here.
12525         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
12526         * sysdeps/powerpc/powerpc32/configure.in: ... this.
12527         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
12529         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
12530         * sysdeps/powerpc/ifunc-sel.h: ... here.
12531         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
12532         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
12534         * sysdeps/sparc/elf/configure.in: Moved to ...
12535         * sysdeps/sparc/configure.in: ... here.
12536         * sysdeps/sparc/elf/configure: Delete file.
12537         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
12538         * sysdeps/sparc/sparc32/start.S: ... here.
12539         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
12540         * sysdeps/sparc/sparc64/start.S: ... here.
12541         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
12542         * sysdeps/sparc/sparc32/Makefile: ... this.
12543         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
12544         * sysdeps/sparc/sparc64/Makefile: ... this.
12546         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
12547         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
12548         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
12549         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
12550         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
12551         * sysdeps/s390/s390-32/setjmp.S: ... here.
12552         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
12553         * sysdeps/s390/s390-32/configure.in: ... here.
12554         * sysdeps/s390/s390-32/elf/configure: Delete file.
12555         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
12556         * sysdeps/s390/s390-32/start.S: ... here.
12558         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
12559         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
12560         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
12561         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
12562         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
12563         * sysdeps/s390/s390-64/setjmp.S: ... here.
12564         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
12565         * sysdeps/s390/s390-64/configure.in: ... here
12566         * sysdeps/s390/s390-64/elf/configure: Delete file.
12567         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
12568         * sysdeps/s390/s390-64/start.S: ... here.
12569         * sysdeps/s390/s390-64/elf/configure: Delete.
12571         * configure.in: Remove support for elf directories in sysdeps.
12573         * configure: Regenerated.
12574         * sysdeps/i386/configure: Regenerated.
12575         * sysdeps/powerpc/powerpc32/configure: Regenerated.
12576         * sysdeps/powerpc/powerpc64/configure: Regenerated.
12577         * sysdeps/s390/s390-32/configure: Regenerated.
12578         * sysdeps/s390/s390-64/configure: Regenerated.
12579         * sysdeps/sh/configure: Regenerated.
12580         * sysdeps/sparc/configure: Regenerated.
12581         * sysdeps/x86_64/configure: Regenerated.
12583 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
12585         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12587         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
12588         denormal result into account.
12590 2012-03-25  Roland McGrath  <roland@hack.frob.com>
12592         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
12593         Reported by Allan McRae <allan@archlinux.org>.
12595 2012-03-23  Jeff Law  <law@redhat.com>
12597         * nss/getnssent.c (__nss_getent): Fix typo.
12599 2012-03-23  David S. Miller  <davem@davemloft.net>
12601         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12603 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
12605         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
12606         to pad to uint64_t for each field.
12607         (dl_tls_index): Replace unsigned long with uint64_t.
12609 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
12610         Paul Pluzhnikov  <ppluzhnikov@google.com>
12612         [BZ #6528]
12613         * grp/Makefile (otherlibs): Don't set it.
12614         * inet/Makefile (otherlibs): Likewise.
12615         * login/Makefile (otherlibs): Likewise.
12616         * nscd/Makefile (otherlibs): Likewise.
12617         * posix/Makefile (otherlibs): Likewise.
12618         * pwd/Makefile (otherlibs): Likewise.
12619         * rt/Makefile (otherlibs): Likewise.
12620         * sunrpc/Makefile (otherlibs): Likewise.
12621         * nss/Makefile (otherlibs): Likewise.
12622         Add libnss_files to routines and static-only-routines.
12623         ($(objpfx)getent): Remove rule.
12624         * resolv/Makefile: Add libnss_dns and libresolv to routines and
12625         static-only-routines.
12627 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
12629         [BZ #13892]
12630         * math/s_cexp.c: Include <float.h>.
12631         (__cexp): Handle exp result overflowing not necessarily
12632         overflowing both real and imaginary parts of result.
12633         * math/s_cexpf.c: Likewise.
12634         * math/s_cexpl.c: Likewise.
12635         * math/libm-test.inc (cexp_test): Add more tests.
12636         * sysdeps/i386/fpu/libm-test-ulps: Update.
12637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12639 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
12641         * include/link.h (ELFW): New macro.
12642         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
12643         Replace ELF64_R_TYPE with ELFW(R_TYPE).
12645 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
12647         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
12648         with uint64_t.
12650 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
12652         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
12653         declaration.
12654         (struct La_x32_retval): Likewise.
12656 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
12658         * sysdeps/x86_64/preconfigure.in: New file.
12659         * sysdeps/x86_64/preconfigure: New generated file.
12661 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
12663         [BZ #13824]
12664         * math/e_exp2l.c: Include <float.h>.
12665         (__ieee754_exp2l): Handle overflow and underflow cases
12666         separately.  Only pass fractional part of argument to
12667         __ieee754_expl.
12668         * math/libm-test.inc (exp2_test): Add more tests.
12670         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
12671         negating x to take absolute value.
12672         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
12673         Likewise.
12674         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12675         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
12676         Likewise.
12677         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
12678         computing low part if x was negated.
12679         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12681 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
12683         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
12684         la_x32_gnu_pltexit.
12685         (pltexit): Cast int_retval to ptrdiff_t.
12686         * elf/tst-auditmod3b.c: Likewise.
12687         * elf/tst-auditmod4b.c: Likewise.
12688         * elf/tst-auditmod5b.c: Likewise.
12689         * elf/tst-auditmod6b.c: Likewise.
12690         * elf/tst-auditmod6c.c: Likewise.
12691         * elf/tst-auditmod7b.c: Likewise.
12693         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
12694         and x32_gnu_pltexit.
12696         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
12697         __ELF_NATIVE_CLASS.
12698         (La_x32_regs): New macro.
12699         (La_x32_retval): Likewise.
12700         (la_x32_gnu_pltenter): New function prototype.
12701         (la_x32_gnu_pltexit): Likewise.
12703 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
12705         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
12706         exponent.
12708         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12710         * configure.in (libc_cv_cc_nofma): Check for option to disable
12711         generation of FMA instructions.
12712         * configure: Regenerate.
12713         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
12714         * sysdeps/ieee754/dbl-64/Makefile: New file.
12715         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
12716         Remove brandred-fma4.
12717         (CFLAGS-brandred-fma4.c): Remove.
12718         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
12719         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
12720         define.
12721         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
12722         define.
12724 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
12726         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12727         LLONG_MAX != LONG_MAX.
12728         (_itoa_word): Use _ITOA_WORD_TYPE on value.
12729         (_fitoa_word): Likewise.
12730         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
12731         LLONG_MAX != LONG_MAX.
12732         * stdio-common/_itowa.h: Include <_itoa.h>.
12733         (_itowa_word): Use _ITOA_WORD_TYPE on value.
12734         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
12735         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
12736         only if not defined.
12737         (_ITOA_WORD_TYPE): Likewise.
12738         (_itoa_word): Use _ITOA_WORD_TYPE on value.
12739         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
12741 2012-03-21  David S. Miller  <davem@davemloft.net>
12743         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12745 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
12747         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
12748         of x86_64 when setting libc_cv_slibdir, libdir and
12749         libc_cv_localedir.
12750         * sysdeps/unix/sysv/linux/configure: Regenerated.
12752 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
12754         * manual/lang.texi (Old Varargs): Remove section.
12755         (How Variadic): Update menu.
12756         (va_start): Do not mention varargs.h.
12758 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
12759             Joseph Myers  <joseph@codesourcery.com>
12761         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
12762         link test.
12763         * configure: Regenerated.
12765 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
12767         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
12768         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
12769         conformtest.pl
12771 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
12773         * NOTES: Remove.
12774         * Makefile (files-for-dist): Remove NOTES.
12775         (NOTES): Remove rule.
12776         * README: Don't refer to NOTES.
12777         * manual/creature.texi: Don't include macros.texi.
12778         * manual/intro.texi (creature.texi): Remove comment referring to
12779         NOTES.
12781         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
12782         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
12783         * configure: Regenerated.
12784         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
12785         LIBC_TRY_CC_OPTION.
12786         (libc_cv_as_i686): Likewise.
12787         (libc_cv_cc_avx): Likewise.
12788         (libc_cv_cc_sse2avx): Likewise.
12789         (libc_cv_cc_fma4): Likewise.
12790         (libc_cv_cc_novzeroupper): Likewise.
12791         * sysdeps/i386/configure: Regenerated.
12793         [BZ #13883]
12794         * sysdeps/i386/fpu/s_cexp.S: Remove.
12795         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12796         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12797         * math/libm-test.inc (cexp_test): Add more tests.
12798         * sysdeps/i386/fpu/libm-test-ulps: Update.
12799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12801 2012-03-21  Allan McRae  <allan@archlinux.org>
12803         * timezone/Makefile: Do not install iso3166.tab and zone.tab
12805 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
12807         [BZ #13871]
12808         * math/w_exp2.c: Do not include <float.h>.
12809         (o_threshold, u_threshold): Remove.
12810         (__exp2): Calculate result before checking finiteness and calling
12811         __kernel_standard.
12812         * math/w_exp2f.c: Likewise.
12813         * math/w_exp2l.c: Likewise.
12814         * math/libm-test.inc (exp2_test): Require overflow exception for
12815         1e6 input.
12817         [BZ #3866]
12818         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
12819         range of signed 64-bit integers before using fistpll.  Remove
12820         checks for whether integers fit in mantissa bits.
12821         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
12822         the range of signed 32-bit integers before using fistpl.  Remove
12823         checks for whether integers fit in mantissa bits.
12824         * sysdeps/i386/fpu/e_powl.S (p64): New object.
12825         (__ieee754_powl): Test for y outside the range of signed 64-bit
12826         integers before using fistpll.  Reduce 64-bit values to 63-bit
12827         ones as needed.
12828         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
12829         divide-by-zero is raised for zero to large negative powers.
12830         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
12831         (__ieee754_powl): Test for y outside the range of signed 64-bit
12832         integers before using fistpll.  Reduce 64-bit values to 63-bit
12833         ones as needed.
12834         * math/libm-test.inc (pow_test): Add more tests.
12836 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
12838         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
12839         <stdio-common/_itoa.h>.
12840         * debug/segfault.c: Likewise.
12841         * elf/dl-cache.c: Likewise.
12842         * elf/dl-minimal.c: Likewise.
12843         * elf/dl-misc.c: Likewise.
12844         * elf/dl-sysdep.c: Likewise.
12845         * elf/dl-version.c: Likewise.
12846         * elf/rtld.c: Likewise.
12847         * hurd/hurdsock.c: Likewise.
12848         * hurd/lookup-retry.c: Likewise.
12849         * malloc/malloc.c: Likewise.
12850         * malloc/mtrace.c: Likewise.
12851         * nscd/nscd_getgr_r.c: Likewise.
12852         * nscd/nscd_getpw_r.c: Likewise.
12853         * nscd/nscd_getserv_r.c: Likewise.
12854         * posix/getopt_init.c: Likewise.
12855         * posix/wordexp.c: Likewise.
12856         * stdio-common/_itoa.c: Likewise.
12857         * stdio-common/printf_fphex.c: Likewise.
12858         * stdio-common/vfprintf.c: Likewise.
12859         * string/_strerror.c: Likewise.
12860         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
12861         * sysdeps/i386/i686/hp-timing.h: Likewise.
12862         * sysdeps/mach/_strerror.c: Likewise.
12863         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
12864         * sysdeps/mach/hurd/sethostid.c: Likewise.
12865         * sysdeps/mach/hurd/xmknodat.c: Likewise.
12866         * sysdeps/mach/xpg-strerror.c: Likewise.
12867         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12868         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12869         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
12870         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
12871         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12872         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
12873         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
12874         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
12875         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
12876         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
12877         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
12878         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12879         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
12880         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12881         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12882         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
12883         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
12884         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
12885         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
12886         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12887         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
12889         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
12891         * stdio-common/_itoa.h: Moved to ...
12892         * sysdeps/generic/_itoa.h: Here.
12894         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
12896         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
12897         instead of "_itoa.h" and "_itowa.h".
12898         * stdio-common/vfprintf.: Likewise.
12900 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
12902         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
12903         <bits/wordsize.h>.
12904         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
12905         (__signbit): Likwise.
12906         (llrintf): Likwise.
12907         (llrint): Likwise.
12909 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
12911         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
12912         __WORDSIZE != 64.
12914 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
12916         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
12917         OVERFLOW_EXCEPTION_OK.
12918         * math/libm-test.inc ("Philosophy"): Update comment about
12919         exception testing.
12920         (OVERFLOW_EXCEPTION): Define.
12921         (OVERFLOW_EXCEPTION_OK): Likewise.
12922         (INVALID_EXCEPTION_OK): Renumber.
12923         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12924         (IGNORE_ZERO_INF_SIGN): Likewise.
12925         (test_exceptions): Handle FE_OVERFLOW.
12926         (exp10_test): Expect overflow exceptions.
12927         (exp2_test): Likewise.
12928         (expm1_test): Likewise.
12929         (nextafter_test): Likewise.
12930         (pow_test): Likewise.
12931         (scalbn_test): Likewise.
12932         (scalbln_test): Likewise.
12934 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
12936         * sysdeps/x86_64/bits/atomic.h
12937         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
12938         64bit integer.
12939         (atomic_exchange_acq): Likewise.
12940         (__arch_exchange_and_add_body): Likewise.
12941         (__arch_add_body): Likewise.
12942         (atomic_add_negative): Likewise.
12943         (atomic_add_zero): Likewise.
12945 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
12947         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
12948         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
12950 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
12952         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
12953         Check __x86_64__ instead of __WORDSIZE.
12955 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
12957         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
12959 2012-03-19  David S. Miller  <davem@davemloft.net>
12961         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12963         * sysdeps/sparc/fpu/fenv_private.h: New file.
12964         * sysdeps/sparc/fpu/math_private.h: Use it.
12965         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
12966         Remove.
12967         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
12968         (libc_feholdexcept_setroundl): Remove.
12969         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
12970         Remove.
12971         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
12972         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
12974 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
12976         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
12977         int64_t instead of long int.
12978         (INSERT_WORDS64): Likwise.
12980 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
12982         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
12983         _Unwind_GetCFA return to _Unwind_Ptr first.
12985 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
12987         [BZ #13629]
12988         * math/s_clog.c: Include <float.h>.
12989         (__clog): Scale large or subnormal inputs.
12990         * math/s_clogf.c: Likewise.
12991         * math/s_clogl.c: Likewise.
12992         * math/s_clog10.c: Include <float.h>.
12993         (M_LOG10_2): Define.
12994         (__clog10): Scale large or subnormal inputs.
12995         * math/s_clog10f.c: Likewise.
12996         * math/s_clog10l.c: Likewise.
12997         * math/libm-test.inc (clog_test): Add more tests.
12998         (clog10_test): Likewise.
12999         * sysdeps/i386/fpu/libm-test-ulps: Update.
13000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13002         [BZ #11451]
13003         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
13004         x and y.
13005         * math/libm-test.inc (atan2_test): Add another test.
13007         * Makerules (common-objdir-compile): Remove.
13008         * sysdeps/unix/Makefile (config-generated): Do not add
13009         $(unix-generated) to variable.
13010         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
13011         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
13012         Remove rule.
13013         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
13014         Likewise.
13015         [generic bits/local_lim.h] (before-compile): Do not append to
13016         variable.
13017         [generic bits/local_lim.h] (common-generated): Likewise.
13018         [generic sys/param.h] (before-compile): Do not append to variable.
13019         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
13020         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
13021         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
13022         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
13023         include.
13024         [generic sys/param.h] (sys/param.h-includes): Remove variable.
13025         [generic sys/param.h] (sys/param.h-includes): Remove rule.
13026         [generic sys/param.h] ($(addprefix
13027         $(common-objpfx),$(sys/param.h-includes))): Likewise.
13028         [generic sys/param.h] (common-generated): Do not append to
13029         variable.
13030         [generic sys/param.h] (sysdep_headers): Likewise.
13031         [generic bits/errno.h] (before-compile): Do not append to
13032         variable.
13033         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
13034         rule.
13035         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
13036         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
13037         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
13038         [generic bits/errno.h] (common-generated): Do not append to
13039         variable.
13040         [generic bits/ioctls.h] (before-compile): Do not append to
13041         variable.
13042         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
13043         rule.
13044         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
13045         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
13046         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
13047         rule.
13048         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
13049         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
13050         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
13051         [generic bits/ioctls.h] (common-generated): Do not append to
13052         variable.
13053         [generic sys/syscall.h] (syscall.h): Remove variable.
13054         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
13055         rule.
13056         [generic sys/syscall.h] (before-compile): Do not append to
13057         variable.
13058         [generic sys/syscall.h] (common-generated): Likewise.
13059         * sysdeps/unix/errnos-tmpl.c: Remove file.
13060         * sysdeps/unix/errnos.awk: Likewise.
13061         * sysdeps/unix/ioctls-tmpl.c: Likewise.
13062         * sysdeps/unix/ioctls.awk: Likewise.
13063         * sysdeps/unix/mk-local_lim.c: Likewise.
13064         * sysdeps/unix/snarf-ioctls: Likewise.
13066 2012-03-19  Richard Henderson  <rth@twiddle.net>
13068         * sysdeps/i386/fpu/fenv_private.h: New file.
13069         * sysdeps/i386/fpu/math_private.h: Use it.
13070         (math_opt_barrier, math_force_eval): Remove.
13071         (libc_feholdexcept_setround_53bit): Remove.
13072         (libc_feupdateenv_53bit): Remove.
13073         * sysdeps/x86_64/fpu/math_private.h: Likewise.
13074         (math_opt_barrier, math_force_eval): Remove.
13075         (libc_feholdexcept): Remove.
13076         (libc_feholdexcept_setround): Remove.
13077         (libc_fetestexcept, libc_fesetenv): Remove.
13078         (libc_feupdateenv_test): Remove.
13079         (libc_feupdateenv, libc_feholdsetround): Remove.
13080         (libc_feresetround): Remove.
13082         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
13083         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
13085         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
13086         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
13087         (libc_feupdateenv_testl): New.
13088         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
13089         (libc_feupdateenv_testf): New.
13090         (libc_feupdateenv): Use libc_feupdateenv_test.
13091         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
13092         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
13094         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
13095         (libc_feholdsetroundf, libc_feholdsetroundl): New.
13096         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
13097         (libc_feresetround_noex): New.
13098         (libc_feresetround_noexf): New.
13099         (libc_feresetround_noexl): New.
13100         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
13101         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
13102         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
13103         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
13104         SET_RESTORE_ROUND.
13105         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
13106         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
13107         (__cos): Likewise.
13108         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
13109         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
13110         SET_RESTORE_ROUND_NOEX.
13111         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
13112         SET_RESTORE_ROUND_NOEXF.
13113         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
13114         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
13115         (libc_feholdsetroundf): New.
13116         (libc_feresetround, libc_feresetroundf): New.
13118         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
13119         (libc_feholdexcept_setround_53bit): Convert from macro to function.
13120         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
13122         * sysdeps/generic/math_private.h: Include <fenv.h>.
13123         (default_libc_feholdexcept): New.
13124         (default_libc_feholdexcept_setround): New.
13125         (default_libc_fesetenv, default_libc_feupdateenv): New.
13126         (libc_feholdexcept): Only define if undefined.
13127         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
13128         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
13129         (libc_feholdexcept_setroundl): Likewise.
13130         (libc_feholdexcept_setround_53bit): Likewise.
13131         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
13132         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
13133         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
13134         (libc_feupdateenv_53bit): Likewise.
13135         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
13136         (libc_feholdexcept): Convert from macro to inline function.
13137         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
13138         (libc_fesetenv, libc_feupdateenv): Likewise.
13140         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
13141         not previously defined.
13142         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
13143         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
13144         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
13145         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
13146         * sysdeps/ieee754/flt-32/math_private.h: New file.
13147         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
13148         math_private.h below SET_FLOAT_WORD.
13149         (__isnan, __isinf_ns, __finite): Remove.
13150         (__isnanf, __isinf_nsf, __finitef): Remove.
13152 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
13154         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13156 2012-03-17  David S. Miller  <davem@davemloft.net>
13158         [BZ #6471]
13159         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
13160         for 2.16.
13162 2012-03-16  David S. Miller  <davem@davemloft.net>
13164         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
13165         warnings.
13167         [BZ #6471]
13168         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
13169         properly.
13170         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
13171         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
13172         sysdep_routines when subdir is sysvipc.
13173         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
13174         __getshmlba helper.
13176         * sysdeps/sparc/fpu/libm-test/ulps: Update.
13178 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
13180         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
13181         [__LP64__].
13183 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
13185         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
13186         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
13187         (__lround): Renamed to ...
13188         (__llround): This.  Replace long int with long long int.
13189         Define lround functions as aliases of llround functions.
13190         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
13192 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
13194         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
13195         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
13196         adresses to uintptr_t.  Replace "long int" and "unsigned long
13197         int" with "greg_t" on va_arg.
13199 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
13201         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
13202         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
13204         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
13205         Move e_machine check before EI_CLASS check.  Handle x32
13206         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
13207         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
13208         SKIP_EM_IA_64 and include
13209         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
13211         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
13212         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
13213         (add_system_dir): New macro.
13215         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
13216         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
13218 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
13220         [BZ #2551]
13221         [BZ #2552]
13222         [BZ #2553]
13223         [BZ #2554]
13224         [BZ #2562]
13225         [BZ #2563]
13226         [BZ #2565]
13227         [BZ #2566]
13228         [BZ #2576]
13229         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
13230         (y0): Likewise.
13231         * math/w_j0f.c (j0f): Likewise.
13232         (y0f): Likewise.
13233         * math/w_j0l.c (__j0l): Likewise.
13234         (__y0l): Likewise.
13235         * math/w_j1.c (j1): Likewise.
13236         (y1): Likewise.
13237         * math/w_j1f.c (j1f): Likewise.
13238         (y1f): Likewise.
13239         * math/w_j1l.c (__j1l): Likewise.
13240         (__y1l): Likewise.
13241         * math/w_jn.c (jn): Likewise.
13242         (yn): Likewise.
13243         * math/w_jnf.c (jnf): Likewise.
13244         (ynf): Likewise.
13245         * math/w_jnl.c (__jnl): Likewise.
13246         (__ynl): Likewise.
13247         * math/libm-test.inc (j0_test): Add more tests.
13248         (j1_test): Likewise.
13249         (jn_test): Likewise.  Add trailing semicolon to existing test.
13250         (y0_test): Likewise.
13251         (y1_test): Likewise.
13252         * sysdeps/i386/fpu/libm-test-ulps: Update.
13253         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13255         [BZ #13851]
13256         [BZ #13854]
13257         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
13258         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
13259         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
13260         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
13261         (__tanl): Set errno for infinite argument.
13262         * sysdeps/i386/fpu/mptan.c: Remove.
13263         * sysdeps/i386/fpu/s_tan.S: Likewise.
13264         * sysdeps/i386/fpu/s_tanl.S: Likewise.
13265         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
13266         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
13267         * math/libm-test.inc (tan_test): Add more tests and enable more
13268         tests for double and long double.
13269         * sysdeps/i386/fpu/libm-test-ulps: Update.
13270         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13272 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
13274         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
13275         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
13277 2012-03-16  Roland McGrath  <roland@hack.frob.com>
13279         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
13280         * configure.in: Use it for both main tree and add-ons.
13281         * configure: Regenerated.
13283 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
13285         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
13287 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
13289         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
13290         in comment.
13292         [BZ #13851]
13293         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
13294         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
13295         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13296         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
13297         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
13298         infinite argument.
13299         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
13300         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
13301         != 0 for prec == 2.
13302         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
13303         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
13304         * sysdeps/i386/fpu/s_cosl.S: Likewise.
13305         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
13306         * sysdeps/i386/fpu/s_sinl.S: Likewise.
13307         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
13308         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
13309         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
13310         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
13311         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
13312         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
13313         * math/libm-test.inc (cos_test): Add more tests and enable more
13314         tests for long double.
13315         (sin_test): Likewise.
13316         (sincos_test): Likewise.
13317         * sysdeps/i386/fpu/libm-test-ulps: Update.
13318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13320 2012-03-16  David S. Miller  <davem@davemloft.net>
13322         * sysdeps/sparc/fpu/math_private.h: New file.
13324 2012-03-15  David S. Miller  <davem@davemloft.net>
13326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
13327         file.
13328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
13329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
13330         file.
13331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
13332         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
13333         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
13334         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
13335         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
13336         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
13337         sysdep routines.
13338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13340         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
13341         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
13343         * sysdeps/sparc/sparc-ifunc.h: New file.
13344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
13345         sparc-ifunc.h
13346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
13348         Likewise.
13349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
13350         Likewise.
13351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
13352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
13353         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13355         Likewise.
13356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
13358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
13360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
13361         Likewise.
13362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
13363         Likewise.
13364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
13366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
13367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
13368         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13369         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13370         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
13371         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
13372         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13373         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13374         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
13375         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
13376         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
13377         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
13378         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
13379         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
13380         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
13381         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
13382         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
13383         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
13384         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
13385         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
13386         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
13387         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
13389 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
13391         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
13392         scaling.
13393         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13395 2012-03-15  Andreas Jaeger  <aj@suse.de>
13397         [BZ #13852]
13398         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
13399         ieee754/flt-32 implementation for sin, cos and sincos.
13400         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
13401         * sysdeps/i386/fpu/s_cosf.S: Likewise.
13402         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
13403         * sysdeps/i386/fpu/s_sinf.S: Likewise.
13404         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
13405         ieee754/flt-32 implementation for tan.
13407         * math/libm-test.inc (cos_test): Enable some large input tests for
13408         float as well
13409         (sin_test): Likewise.
13410         (sincos_test): Likewise.
13411         (tan_test): Add tests for large input.
13413         * sysdeps/i386/fpu/libm-test-ulps: Update.
13415 2012-03-15  Andreas Jaeger  <aj@suse.de>
13417         [BZ #13658]
13418         * math/libm-test.inc (cos_test): Add more test cases.
13419         (sin_test): Likewise.
13420         (sincos_test): Likewise.
13422 2012-03-15  Andreas Jaeger  <aj@suse.de>
13424         [BZ #13837]
13425         * math/libm-test.inc (cos_test): Add a test case for large input
13426         value.
13427         (sin_test): Likewise.
13428         (sincos_test): Likewise.
13430 2012-03-15  Andreas Jaeger  <aj@suse.de>,
13431         Joseph Myers  <joseph@codesourcery.com>
13433         [BZ #13658]
13434         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
13435         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
13436         * sysdeps/i386/fpu/branred.c: Likewise.
13437         * sysdeps/i386/fpu/dosincos.c: Likewise.
13438         * sysdeps/i386/fpu/mpa.c: Likewise.
13439         * sysdeps/i386/fpu/s_cos.S: Likewise.
13440         * sysdeps/i386/fpu/s_sin.S: Likewise.
13441         * sysdeps/i386/fpu/s_sincos.S: Likewise.
13442         * sysdeps/i386/fpu/sincos32.c: Likewise.
13444         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
13445         Define.
13446         (libc_feupdateenv_53bit): Define.
13447         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
13448         Define.
13449         (libc_feupdateenv_53bit): Define.
13451         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
13452         53 bit (without extend i386 double precision).
13454         * math/libm-test.inc (sincos_test): Add tests for large input.
13455         (sin): Likewise.
13456         (cos): Likewise.
13458         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13460 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
13462         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13464 2012-03-15  David S. Miller  <davem@davemloft.net>
13466         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
13467         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
13468         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
13469         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
13470         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
13471         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
13472         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
13473         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
13474         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
13475         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
13476         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
13477         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
13478         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
13479         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
13480         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
13481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
13482         file.
13483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
13484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
13485         file.
13486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
13487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
13488         file.
13489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
13490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
13491         file.
13492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
13493         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
13494         fmin/fmax sysdep routines.
13495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13497 2012-03-14  David S. Miller  <davem@davemloft.net>
13499         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
13500         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
13501         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
13502         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
13503         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
13504         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
13505         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
13506         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
13507         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
13508         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
13509         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
13510         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
13511         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
13512         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
13513         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
13514         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
13515         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
13516         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
13517         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
13518         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
13519         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
13520         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
13521         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
13522         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
13523         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
13524         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
13525         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
13526         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
13527         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
13528         routines.
13529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
13530         file.
13531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
13532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
13533         file.
13534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
13535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
13536         file.
13537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
13538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
13539         file.
13540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
13541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
13542         file.
13543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
13544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
13545         file.
13546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
13547         file.
13548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
13549         file.
13550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
13551         file.
13552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
13553         New file.
13554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
13555         file.
13556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
13557         file.
13558         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
13559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
13560         file.
13561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
13562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
13563         file.
13564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
13565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
13566         file.
13567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
13568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
13569         VIS3 routines.
13571         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13572         New file.
13574         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13576         * sysdeps/sparc/configure.in: New file.
13577         * sysdeps/sparc/configure: Generate.
13578         * configure.in (libc_cv_sparc_as_vis3): Substitute.
13579         * configure: Regenerate.
13580         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
13581         * config.make.in (have-as-vis3): New.
13582         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
13583         available use -Av9d instead of -Av9a.
13584         * sysdeps/sparc/sparc64/Makefile: Likewise.
13585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
13586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
13587         New file.
13588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
13589         file.
13590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
13591         New file.
13592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
13593         file.
13594         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
13595         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
13596         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
13597         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
13598         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
13600         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
13601         fzeros/fnegs to load 0x80000000 into a float register instead of
13602         using the stack.
13603         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
13605 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
13607         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13608         bits/syscall.h.
13609         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
13610         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
13611         ($(inst_includedir)/bits/syscall.h): Remove rule.
13612         ($(objpfx)bits/syscall.d): Include instead of
13613         $(objpfx)syscall-list.d.
13614         (generated): Change syscall-list.h and syscall-list.d to
13615         bits/syscall.h and bits/syscall.d.
13617 2012-03-14  Roland McGrath  <roland@hack.frob.com>
13619         [BZ #13846]
13620         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
13622 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
13624         [BZ #13841]
13625         * math/s_csqrt.c: Include <float.h>.
13626         (__csqrt): Scale large or subnormal inputs.
13627         * math/s_csqrtf.c: Likewise.
13628         * math/s_csqrtl.c: Likewise.
13629         * math/libm-test.inc (csqrt_test): Add more tests.
13630         * sysdeps/i386/fpu/libm-test-ulps: Update.
13631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13633         [BZ #13840]
13634         * math/libm-test.inc (hypot_test): Add more tests.
13636 2012-03-13  David S. Miller  <davem@davemloft.net>
13638         [BZ #13840]
13639         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
13640         double-precision for the calculation instead of scaling.
13642 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
13644         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
13645         manipulate bits before adding and subtracting TWO52[sx].
13646         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
13647         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
13648         Likewise.
13649         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
13651 2012-03-13  David S. Miller  <davem@davemloft.net>
13653         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
13654         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
13655         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
13656         rtld-global-offsets.h
13657         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13659         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
13660         large parameters.
13662         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
13664         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
13665         'err' in the ifdef scope in which it is actually used.
13667         * nss/nss_db/db-init.c: Include string.h
13669 2012-03-12  David S. Miller  <davem@davemloft.net>
13671         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13672         masking out of the most significant byte of random value used.
13673         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13674         Fix coding style in previous change.
13676         * sysdeps/unix/sysv/linux/kernel-features.h
13677         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
13678         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
13679         expression.
13680         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
13681         later.
13683 2012-03-11  David S. Miller  <davem@davemloft.net>
13685         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13686         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
13687         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
13688         for 'resultvar' otherwise things get truncated on 64-bit.
13690         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13691         Fix masking out of the most significant byte of random value used.
13693         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13695 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
13697         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13699 2012-03-09  David S. Miller  <davem@davemloft.net>
13701         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
13702         variables with appropriate CPP guards.
13703         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
13704         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
13705         on resulting framesize and the management of the outregs buffer for pltexit.
13706         Preserve floating point return values across _dl_call_pltexit call.
13707         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
13708         framesize and the management of the outregs buffer for pltexit.
13709         Preserve floating point return values across _dl_call_pltexit
13710         call.
13711         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
13712         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
13713         (print_exit): Fix format string for return register value.
13715 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
13717         * sunrpc/Makefile (others): Add rpcgen.
13718         ($(objpfx)rpcgen): Remove special build rule and dependency on
13719         libc.
13720         * sunrpc/rpcgen.c: New file.
13722 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
13724         [BZ #13673]
13725         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
13726         * stdio-common/bug-vfprintf-nargs.c: Likewise.
13727         * sysdeps/i386/crti.S: Likewise.
13728         * sysdeps/i386/crtn.S: Likewise.
13729         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
13730         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
13731         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
13732         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
13733         * sysdeps/sh/crti.S: Likewise.
13734         * sysdeps/sh/crtn.S: Likewise.
13735         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13737         [BZ #13673]
13738         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
13739         with URL.
13740         * locale/programs/locfile-kw.gperf: Likewise.
13741         * locale/programs/charmap-kw.h: Regenerated.
13742         * locale/programs/locfile-kw.h: Likewise.
13744         [BZ #13673]
13745         * intl/plural.y: Replace FSF snail mail address with URL.
13746         * intl/plural.c: Regenerated.
13748 2012-03-09  Richard Henderson  <rth@twiddle.net>
13750         * include/math_private.h: Remove file.
13751         * math/math_private.h: Move file ...
13752         * sysdeps/generic/math_private.h: ... here.
13754         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
13755         * sysdeps/powerpc/fpu/math_private.h: Likewise.
13756         * sysdeps/x86_64/fpu/math_private.h: Likewise.
13758         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
13759         and <math_private.h>.
13760         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13761         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13762         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13763         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13764         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13765         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
13766         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13767         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13768         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13769         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13770         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13771         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13772         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13773         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13774         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13775         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13776         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13777         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13778         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13779         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13780         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13781         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13782         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13783         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13784         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13785         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13786         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13787         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13788         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13789         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13790         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13791         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13792         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13793         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13794         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13795         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13796         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13797         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13798         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13799         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13800         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
13801         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13802         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13803         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13804         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13805         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13806         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13807         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13808         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13809         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13810         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13811         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13812         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13813         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13814         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13815         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13816         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13817         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13818         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13819         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
13820         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13821         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13822         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13823         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13824         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
13825         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13826         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13827         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13828         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
13829         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
13830         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13831         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13832         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13833         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13834         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
13835         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
13836         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
13837         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13838         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
13839         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13840         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13841         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13842         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13843         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13844         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13845         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
13846         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
13847         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
13848         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13849         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13850         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13851         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13852         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13853         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13854         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13855         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13856         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13857         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13858         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13859         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13860         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13861         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13862         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13863         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13864         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13865         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13866         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13867         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13868         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13869         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13870         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13871         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13872         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13873         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13874         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
13875         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13876         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13877         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13878         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13879         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13880         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13881         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13882         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13883         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
13884         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13885         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13886         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13887         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
13888         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13889         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13890         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13891         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13892         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13893         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13894         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13895         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13896         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13897         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13898         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
13899         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13900         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13901         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13902         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13903         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
13904         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
13905         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13906         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13907         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13908         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
13909         * sysdeps/ieee754/k_standard.c: Likewise.
13910         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13911         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13912         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13913         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13914         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13915         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13916         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13917         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13918         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13919         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13920         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13921         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13922         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13923         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13924         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13925         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13926         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13927         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13928         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13929         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
13930         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13931         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13932         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13933         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13934         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13935         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13936         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13937         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13938         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13939         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13940         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13941         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13942         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13943         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13944         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13945         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13946         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13947         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
13948         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
13949         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13950         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13951         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13952         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13953         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13954         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13955         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13956         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13957         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13958         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13959         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13960         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13961         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13962         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13963         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
13964         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13965         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13966         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
13967         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
13968         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13969         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13970         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13971         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13972         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13973         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13974         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13975         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13976         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13977         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13978         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13979         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13980         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13981         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13982         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13983         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13984         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13985         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13986         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
13987         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13988         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13989         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13990         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13991         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13992         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13993         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13994         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13995         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13996         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13997         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
13998         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13999         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14000         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
14001         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
14002         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
14003         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14004         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
14005         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
14006         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
14007         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
14008         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
14009         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
14010         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
14011         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
14012         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14013         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14014         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
14015         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14016         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14017         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
14018         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
14019         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
14020         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14021         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
14022         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14023         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14024         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14025         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14026         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14027         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14028         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14029         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14030         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14031         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14032         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14033         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14034         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14035         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
14036         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14037         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
14038         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
14039         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14040         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14041         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14042         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14043         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14044         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
14045         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
14046         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
14047         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14048         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14049         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
14050         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
14051         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14052         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
14053         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
14054         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
14055         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14056         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14057         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14058         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14059         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
14060         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14061         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14062         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
14063         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14064         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
14065         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
14066         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
14067         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14068         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
14069         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14070         * sysdeps/ieee754/s_lib_version.c: Likewise.
14071         * sysdeps/ieee754/s_matherr.c: Likewise.
14072         * sysdeps/ieee754/s_signgam.c: Likewise.
14073         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14074         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14075         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
14076         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
14077         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
14078         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
14079         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
14080         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
14081         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
14082         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
14083         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14084         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
14085         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
14086         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14087         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
14088         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14089         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14090         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14091         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14092         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14093         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14095 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
14097         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
14098         * sunrpc/rpc_main.c: Likewise.
14099         * sunrpc/rpc_svcout.c: Likewise.
14101 2012-03-09  David S. Miller  <davem@davemloft.net>
14103         * include/math_private.h: New file.
14105 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
14107         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
14108         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
14109         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
14110         from <bits/socket_type.h>.
14111         (enum __socket_type): Don't define here.
14112         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
14113         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14114         bits/socket_type.h.
14116         [BZ #13566]
14117         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
14118         checking __USE_GNU.
14120         * Makerules ($(inst_includedir)/%.h): New rule.
14121         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
14122         (install-others): Remove variable setting.
14123         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
14125 2012-03-08  Richard Henderson  <rth@twiddle.net>
14127         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
14128         from macro to inline function; merge with the
14129         !__LIBC_INTERNAL_MATH_INLINES version.
14130         (__ieee754_sqrtf): Likewise.
14132         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
14133         to inline function.
14134         (__rintf, __floor, __floorf): Likewise.
14136         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
14137         macro to inline function.
14138         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
14140         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
14141         not <math/math_private.h>.
14143 2012-03-08  David S. Miller  <davem@davemloft.net>
14145         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
14146         copyright year.
14147         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
14149 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
14151         * resolv/gai_misc.c (handle_requests): Fix struct timespec
14152         normalization.
14153         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
14154         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
14156 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
14158         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
14159         be defined individually, they must be defined as a block.  Define
14160         S for printing a string instead of hidint the different by using a
14161         macro for adding the 'l'.
14162         * stdio-common/tst-fphex-wide.c: Adjust.
14164 2012-03-07  Marek Polacek  <polacek@redhat.com>
14166         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
14168 2012-03-08  Marek Polacek  <polacek@redhat.com>
14170         [BZ #13806]
14171         * stdio-common/Makefile (tests): Add tst-fphex-wide.
14172         * stdio-common/tst-fphex.c: Define a few macros to make the
14173         test reusable.  Use them.
14174         * stdio-common/tst-fphex-wide.c: New file.
14176 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
14178         [BZ #6911]
14179         * manual/macros.texi (gnusystems): New macro.
14180         (nongnusystems): Likewise.
14181         (gnulinuxhurdsystems): Likewise.
14182         (gnuhurdsystems): Likewise..
14183         (gnulinuxsystems): Likewise.
14184         * manual/charset.texi: Use new macros or @theglibc{} to refer to
14185         variants of the GNU system, not "GNU system".
14186         * manual/conf.texi: Likewise.
14187         * manual/errno.texi: Likewise.  Update example of errno macro
14188         expansion.
14189         * manual/filesys.texi: Likewise.
14190         (getumask): Document as specific to GNU/Hurd.
14191         * manual/install.texi: Likewise.  Reword some references to
14192         GNU/Linux.
14193         * manual/intro.texi: Likewise.
14194         * manual/io.texi: Likewise.
14195         (File Name Portability): Detail which constraints are inapplicable
14196         to all GNU systems and which are only inapplicable to GNU/Hurd.
14197         * manual/job.texi: Likewise.
14198         * manual/llio.texi: Likewise.
14199         (O_NOCTTY): Document as present on GNU/Linux.
14200         * manual/maint.texi: Likewise.
14201         * manual/memory.texi: Likewise.
14202         * manual/pattern.texi: Likewise.
14203         * manual/pipe.texi: Likewise.
14204         * manual/process.texi: Likewise.
14205         * manual/resource.texi: Likewise.
14206         (RUSAGE_CHILDREN): Remove statement about specifying a particular
14207         child on GNU/Hurd.
14208         * manual/setjmp.texi: Likewise.
14209         * manual/signal.texi: Likewise.
14210         * manual/startup.texi: Likewise.
14211         * manual/stdio.texi: Likewise.
14212         * manual/terminal.texi: Likewise.
14213         (ONLCR): Document as POSIX.
14214         (OXTABS): Document availability on GNU/Linux as XTABS.
14215         (ONOEOT): Document availability separately from other bits.
14216         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
14217         * manual/time.texi: Likewise.
14218         * manual/users.texi: Likewise.
14219         * INSTALL: Regenerated.
14220         * sysdeps/gnu/errlist.c: Regenerated.
14222         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
14223         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
14224         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
14225         puts.
14226         * configure: Regenerated.
14228 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
14230         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
14231         default includes instead of AC_HEADER_CHECK.
14232         * sysdeps/i386/configure: Regenerated.
14234         [BZ #10716]
14235         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
14236         * math/s_cacoshf.c (__cacoshf): Likewise.
14237         * math/s_cacoshl.c (__cacoshl): Likewise.
14238         * math/s_casinh.c (__casinh): Set signs of result from argument.
14239         * math/s_casinhf.c (__casinhf): Likewise.
14240         * math/s_casinhl.c (__casinhl): Likewise.
14241         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
14242         (casinh_test): Add more tests.
14243         * sysdeps/i386/fpu/libm-test-ulps: Update.
14244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14246 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
14248         * po/zh_TW.po: Update from translation team.
14250         * login/Makefile (distribute): Remove variable.
14251         * catgets/Makefile: Likewise.
14252         * mach/Makefile: Likewise.
14253         * malloc/Makefile: Likewise.
14254         * misc/Makefile: Likewise.
14255         * iconv/Makefile: Likewise.
14256         * nscd/Makefile: Likewise.
14257         * hurd/Makefile: Likewise.
14258         * manual/Makefile: Likewise.
14259         * locale/Makefile: Likewise.
14260         * intl/Makefile: Likewise.
14261         * conform/Makefile: Likewise.
14262         * nss/Makefile: Likewise.
14263         * time/Makefile: Likewise.
14264         * soft-fp/Makefile: Likewise.
14265         * dirent/Makefile: Likewise.
14266         * gmon/Makefile: Likewise.
14267         * po/Makefile: Likewise.
14268         * rt/Makefile: Likewise.
14269         * socket/Makefile: Likewise.
14270         * math/Makefile: Likewise.
14271         * signal/Makefile: Likewise.
14272         * debug/Makefile: Likewise.
14273         * elf/Makefile: Likewise.
14274         * timezone/Makefile: Likewise.
14275         * stdlib/Makefile: Likewise.
14276         * iconvdata/Makefile: Likewise.
14277         * sunrpc/Makefile: Likewise.
14278         * io/Makefile: Likewise.
14279         * argp/Makefile: Likewise.
14280         * inet/Makefile: Likewise.
14281         * hesiod/Makefile: Likewise.
14282         * grp/Makefile: Likewise.
14283         * csu/Makefile: Likewise.
14284         * wctype/Makefile: Likewise.
14285         * crypt/Makefile: Likewise.
14286         * libio/Makefile: Likewise.
14287         * string/Makefile: Likewise.
14288         * nis/Makefile: Likewise.
14289         * resolv/Makefile: Likewise.
14290         * stdio-common/Makefile: Likewise.
14291         * wcsmbs/Makefile: Likewise.
14292         * dlfcn/Makefile: Likewise.
14293         * posix/Makefile: Likewise.
14295         [BZ #6959]
14296         * timezone/Makefile: Don't install timezone files, just the programs
14297         and scripts.
14299 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
14301         * nss/databases.def: Add missing gshadow entry.
14303         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
14305 2012-03-06  Marek Polacek  <polacek@redhat.com>
14307         [BZ #13726]
14308         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
14309         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14310         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
14311         * stdio-common/tst-long-dbl-fphex.c: New file.
14313 2012-03-06  David S. Miller  <davem@davemloft.net>
14315         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14316         (set_obp_int): New function.
14317         (get_obp_int): New function.
14318         (__get_clockfreq_via_dev_openprom): Likewise.
14319         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
14320         Avoid unused variable warnings on 'val' and use builtin_expect.
14321         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
14322         __builtin_expect.
14323         (INLINE_CLONE_SYSCALL): Likewise.
14325 2012-03-05  David S. Miller  <davem@davemloft.net>
14327         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14329 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
14331         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14333         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
14334         only for |x| >= 40.
14335         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14337 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
14339         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
14340         Replace gettimeofday with __vdso_gettimeofday.
14342         * sysdeps/unix/sysv/linux/x86_64/init-first.c
14343         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
14344         __vdso_clock_gettime and __vdso_getcpu.
14346         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
14347         time with __vdso_time.
14349 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
14351         * manual/lang.texi (size_t): Note types to which size_t may be
14352         equivalent with the GNU C Library, but do not describe when
14353         differences between them are significant.
14355 2012-03-05  Andreas Jaeger  <aj@suse.de>
14357         * sysdeps/i386/fpu/libm-test-ulps: Update.
14359 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
14361         [BZ #3976]
14362         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
14363         (__ieee754_pow): Save and restore rounding mode and use
14364         round-to-nearest for main computations.
14365         * math/libm-test.inc (pow_test_tonearest): New function.
14366         (pow_test_towardzero): Likewise.
14367         (pow_test_downward): Likewise.
14368         (pow_test_upward): Likewise.
14369         (main): Call the new functions.
14370         * sysdeps/i386/fpu/libm-test-ulps: Update.
14371         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14373         [BZ #3976]
14374         * math/libm-test.inc (cosh_test_tonearest): New function.
14375         (cosh_test_towardzero): Likewise.
14376         (cosh_test_downward): Likewise.
14377         (cosh_test_upward): Likewise.
14378         (sinh_test_tonearest): Likewise.
14379         (sinh_test_towardzero): Likewise.
14380         (sinh_test_downward): Likewise.
14381         (sinh_test_upward): Likewise.
14382         (main): Call the new functions.
14383         * sysdeps/i386/fpu/libm-test-ulps: Update.
14384         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14386 2012-03-05  Tom de Vries  <tom@codesourcery.com>
14388         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
14389         default stack guard is set in last bytes.
14390         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
14392 2012-03-05  Kees Cook  <keescook@chromium.org>
14394         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
14396         [BZ #13656]
14397         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
14398         possibly allocate from heap instead of stack.
14399         * stdio-common/bug-vfprintf-nargs.c: New file.
14400         * stdio-common/Makefile (tests): Add nargs overflow test.
14402 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
14404         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14406 2012-03-03  Marek Polacek  <polacek@redhat.com>
14408         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
14409         * math/math_private.h: Likewise.
14410         * stdlib/tst-strtod.c: Likewise.
14411         * sysdeps/i386/i486/bits/atomic.h: Likewise.
14412         * sysdeps/x86_64/bits/atomic.h: Likewise.
14414 2012-03-02  David S. Miller  <davem@davemloft.net>
14416         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
14417         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
14418         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
14419         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
14420         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
14421         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
14422         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
14423         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
14425 2012-03-02  Roland McGrath  <roland@hack.frob.com>
14427         [BZ #13792]
14428         * manual/examples/README: New file, says the example source files
14429         can be used under GPL>=2.
14430         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
14431         line containing just "*/".
14432         * manual/examples/add.c: Add copyright header (GPL>=2).
14433         * manual/examples/argp-ex1.c: Likewise.
14434         * manual/examples/argp-ex2.c: Likewise.
14435         * manual/examples/argp-ex3.c: Likewise.
14436         * manual/examples/argp-ex4.c: Likewise.
14437         * manual/examples/atexit.c: Likewise.
14438         * manual/examples/db.c: Likewise.
14439         * manual/examples/dir.c: Likewise.
14440         * manual/examples/dir2.c: Likewise.
14441         * manual/examples/execinfo.c: Likewise.
14442         * manual/examples/filecli.c: Likewise.
14443         * manual/examples/filesrv.c: Likewise.
14444         * manual/examples/fmtmsgexpl.c: Likewise.
14445         * manual/examples/genpass.c: Likewise.
14446         * manual/examples/inetcli.c: Likewise.
14447         * manual/examples/inetsrv.c: Likewise.
14448         * manual/examples/isockad.c: Likewise.
14449         * manual/examples/longopt.c: Likewise.
14450         * manual/examples/memopen.c: Likewise.
14451         * manual/examples/memstrm.c: Likewise.
14452         * manual/examples/mkfsock.c: Likewise.
14453         * manual/examples/mkisock.c: Likewise.
14454         * manual/examples/mygetpass.c: Likewise.
14455         * manual/examples/pipe.c: Likewise.
14456         * manual/examples/popen.c: Likewise.
14457         * manual/examples/rprintf.c: Likewise.
14458         * manual/examples/search.c: Likewise.
14459         * manual/examples/select.c: Likewise.
14460         * manual/examples/setjmp.c: Likewise.
14461         * manual/examples/sigh1.c: Likewise.
14462         * manual/examples/sigusr.c: Likewise.
14463         * manual/examples/stpcpy.c: Likewise.
14464         * manual/examples/strdupa.c: Likewise.
14465         * manual/examples/strftim.c: Likewise.
14466         * manual/examples/strncat.c: Likewise.
14467         * manual/examples/subopt.c: Likewise.
14468         * manual/examples/swapcontext.c: Likewise.
14469         * manual/examples/termios.c: Likewise.
14470         * manual/examples/testopt.c: Likewise.
14471         * manual/examples/testpass.c: Likewise.
14472         * manual/examples/timeval_subtract.c: Likewise.
14474         [BZ #13792]
14475         * manual/time.texi (Elapsed Time): Move timeval_subtract example
14476         function to ...
14477         * manual/timeval_subtract.c.texi: ... here, new file.
14479 2012-03-02  David S. Miller  <davem@davemloft.net>
14481         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
14483 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
14485         [BZ #3976]
14486         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
14487         (__sin): Save and restore rounding mode and use round-to-nearest
14488         for all computations.
14489         (__cos): Save and restore rounding mode and use round-to-nearest
14490         for all computations.
14491         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
14492         <fenv.h>.
14493         (tan): Save and restore rounding mode and use round-to-nearest for
14494         all computations.
14495         * math/libm-test.inc (cos_test_tonearest): New function.
14496         (cos_test_towardzero): Likewise.
14497         (cos_test_downward): Likewise.
14498         (cos_test_upward): Likewise.
14499         (sin_test_tonearest): Likewise.
14500         (sin_test_towardzero): Likewise.
14501         (sin_test_downward): Likewise.
14502         (sin_test_upward): Likewise.
14503         (tan_test_tonearest): Likewise.
14504         (tan_test_towardzero): Likewise.
14505         (tan_test_downward): Likewise.
14506         (tan_test_upward): Likewise.
14507         (main): Call the new functions.
14508         * sysdeps/i386/fpu/libm-test-ulps: Update.
14509         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14511         [BZ #10135]
14512         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
14513         small n, then large n, before computing and testing k+n.
14514         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14515         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
14516         Likewise.
14517         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
14518         Likewise.
14519         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
14520         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
14521         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
14522         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
14523         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14524         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14525         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
14526         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
14527         * math/libm-test.inc (scalbn_test): Add more tests.
14528         (scalbln_test): Likewise.
14530         * manual/filesys.texi (mode_t): Describe constraints on size and
14531         signedness, not exact equivalence to a particular type.
14532         (ino_t): Likewise.
14533         (ino64_t): Likewise.
14534         (dev_t): Likewise.
14535         (nlink_t): Likewise.
14536         (blkcnt_t): Likewise.
14537         (blkcnt64_t): Likewise.
14538         * manual/llio.texi (off_t): Likewise.
14540         [BZ #3976]
14541         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
14542         (__ieee754_exp): Save and restore rounding mode and use
14543         round-to-nearest for all computations.
14544         * math/libm-test.inc (exp_test_tonearest): New function.
14545         (exp_test_towardzero): Likewise.
14546         (exp_test_downward): Likewise.
14547         (exp_test_upward): Likewise.
14548         (main): Call the new functions.
14549         * sysdeps/i386/fpu/libm-test-ulps: Update.
14550         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14552 2012-03-01  Chris Demetriou  <cgd@google.com>
14554         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
14555         have predictable order.
14557 2012-03-01  David S. Miller  <davem@davemloft.net>
14559         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
14561         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
14562         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
14563         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
14564         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
14566         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
14567         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
14568         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
14569         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
14570         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
14571         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
14572         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
14573         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
14574         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
14576         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14578         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
14579         * sysdeps/sparc/fpu/libm-test-ulps: to here.
14580         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
14582         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
14583         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14584         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14585         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
14586         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
14587         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
14588         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
14589         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14590         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14591         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
14592         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
14593         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14594         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14595         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14596         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14597         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14598         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
14599         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
14600         * sysdeps/sparc/elf/configure: Regenerated.
14602 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
14604         * configure.in (AS, LD): Require binutils 2.20 or later.
14605         * configure: Regenerated.
14606         * manual/install.texi (Tools for Compilation): Give binutils 2.20
14607         as required minimum version.
14608         * INSTALL: Regenerated.
14610         [BZ #2541]
14611         [BZ #4108]
14612         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
14613         before squaring exponent.
14614         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
14615         bottom long double and 27 bits of top long double before squaring
14616         exponent.
14617         * math/libm-test.inc (erfc_test): Add more tests.
14618         * sysdeps/i386/fpu/libm-test-ulps: Update.
14619         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14622 2012-03-01  Kai Tietz  <ktietz@redhat.com>
14624         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
14625         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
14626         containing bit-fields.
14627         * soft-fp/extended.h (_FP_UNION_E): Likewise.
14628         * soft-fp/single.h (_FP_UNION_S): Likewise.
14629         * soft-fp/double.h (_FP_UNION_D): Likewise.
14631 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
14633         [BZ #13786]
14634         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
14635         not include ../strcmp.S.
14636         [USE_AS_STRNCASECMP_L]: Likewise.
14637         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
14638         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
14639         * sysdeps/i386/i686/multiarch/strncase_l-c.c
14640         (__strncasecmp_l_ia32): Define as alias to
14641         __strncasecmp_l_nonascii.
14643         [BZ #5794]
14644         * math/libm-test.inc (expm1_test): Add test for bug 5794.
14645         * sysdeps/i386/fpu/libm-test-ulps: Update.
14646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14648         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
14649         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14651 2012-02-29  Jeff Law  <law@redhat.com>
14653         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
14654         out of bounds read.
14656 2012-02-29  Marek Polacek  <polacek@redhat.com>
14658         [BZ #13706]
14659         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
14660         * elf/Makefile: Add rules to run tst-unused-dep.out.
14662 2012-02-28  David S. Miller  <davem@davemloft.net>
14664         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
14665         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
14666         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
14667         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
14668         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
14669         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
14671 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
14673         * math/libm-test.inc (llround_test): Move one test from
14674         lround_test.  Use TEST_f_L in moved test.
14675         (lround_test): Move misplaced test to llround_test.  Add testcase
14676         from bug 2561.
14678 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
14680         * sysdeps/x86_64/fpu/e_expf.S: New file.
14681         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
14683 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
14685         [BZ #13637]
14686         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
14687         of remain_len that may cause incomplete multi-byte character and
14688         false match.
14689         * posix/bug-regex33.c: New file.
14690         * posix/Makefile (tests): Add bug-regex33.
14692 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
14694         * manual/macros.texi: New file.
14695         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
14696         * manual/libc.texinfo: Include macros.texi.
14697         * manual/creatute.texi: Likewise.
14698         * manual/install.texi: Likewise.
14699         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
14700         @glibcadj{} in references to the GNU C Library.
14701         * manual/charset.texi: Likewise.
14702         * manual/conf.texi: Likewise.
14703         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
14704         when not using those macros.
14705         * manual/creature.texi: Likewise.
14706         * manual/crypt.texi: Likewise.
14707         * manual/errno.texi: Likewise.
14708         * manual/filesys.texi: Likewise.
14709         * manual/header.texi: Likewise.
14710         * manual/install.texi: Likewise.
14711         * manual/intro.texi: Likewise.
14712         * manual/io.texi: Likewise.
14713         * manual/job.texi: Likewise.
14714         * manual/lang.texi: Likewise.
14715         * manual/libc.texiinfo: Likewise.
14716         * manual/llio.texi: Likewise.
14717         * manual/locale.texi: Likewise.
14718         * manual/maint.texi: Likewise.
14719         * manual/math.texi: Likewise.
14720         * manual/memory.texi: Likewise.
14721         * manual/message.texi: Likewise.
14722         * manual/nss.texi: Likewise.
14723         * manual/pattern.texi: Likewise.
14724         * manual/process.texi: Likewise.
14725         * manual/resource.texi: Likewise.
14726         * manual/search.texi: Likewise.
14727         * manual/setjmp.texi: Likewise.
14728         * manual/signal.texi: Likewise.
14729         * manual/socket.texi: Likewise.
14730         * manual/startup.texi: Likewise.
14731         * manual/stdio.texi: Likewise.
14732         * manual/string.texi: Likewise.
14733         * manual/sysinfo.texi: Likewise.
14734         * manual/syslog.texi: Likewise.
14735         * manual/terminal.texi: Likewise.
14736         * manual/time.texi: Likewise.
14737         * manual/users.texi: Likewise.
14738         * INSTALL: Regenerated.
14739         * NOTES: Regenerated.
14740         * sysdeps/gnu/errlist.c: Regenerated.
14742 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
14744         * include/dirent.h: Include <dirstream.h> before
14745         <dirent/dirent.h>.
14747 2012-02-28  David S. Miller  <davem@davemloft.net>
14749         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
14750         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
14751         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
14752         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
14754 2012-02-27  David S. Miller  <davem@davemloft.net>
14756         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
14757         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
14758         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
14759         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
14761         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
14762         frame pointer instead of stack pointer relative arg slot.
14763         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14764         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14765         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14767 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
14769         [BZ #3992]
14770         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
14772 2012-02-27  David S. Miller  <davem@davemloft.net>
14774         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
14775         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14776         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14777         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
14778         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14779         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14780         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
14781         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
14783 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
14785         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
14786         later.  Allow versions 5-9.
14787         * configure: Regenerated.
14788         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
14789         required minimum version and 4.6 as recommended version.  Do not
14790         mention bugs in GCC 2.7 and 2.8.
14791         * INSTALL: Regenerated.
14793 2012-02-27  David S. Miller  <davem@davemloft.net>
14795         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
14796         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
14797         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
14798         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
14799         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
14800         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
14801         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
14802         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
14804         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
14805         manipulate bits before adding and subtracting TWO112[sx].
14806         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14808 2012-02-27  Roland McGrath  <roland@hack.frob.com>
14810         [BZ #13775]
14811         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
14812         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
14813         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
14814         being in POSIX, because they are in 1003.1-2008.
14816         * rt/tst-aio.c: Include <fcntl.h>.
14817         * rt/tst-aio7.c: Likewise.
14818         * rt/tst-aio64.c: Likewise.
14820         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
14822 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
14824         * manual/install.texi (--with-headers): Describe headers as
14825         interface headers, not private headers.
14826         (Specific advice for GNU/Linux systems): Describe use of headers
14827         from "make headers_install", not private headers from older
14828         kernels.
14829         * INSTALL: Regenerated.
14830         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
14831         Change to 2.6.19.
14832         * sysdeps/unix/sysv/linux/configure: Regenerated.
14834         * manual/llio.texi (fclean): Remove documentation.
14836         * manual/Makefile (libc-texi-generated): New variable.  Include
14837         version.texi.
14838         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
14839         $(libc-texi-generated), not duplicated list of files.
14840         (version.texi, stamp-version): New rules.
14841         (realclean): Remove $(libc-texi-generated), not individual files
14842         from that list.  Do not remove dir-add.texinfo.
14843         * manual/libc.texinfo: Comment out uses of edition numbers and
14844         references to printed manual.  Remove last-updated dates.
14845         (EDITION): Comment out.
14846         (ISBN): Likewise.
14847         (VERSION, UPDATED): Remove.
14848         (version.texi): Include.
14850 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
14852         * sysdeps/posix/spawni.c: Include <signal.h>.
14853         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
14854         * sysdeps/pthread/aio_fsync.c: Likewise.
14856 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
14858         * conform/Makefile (tests): Run only when not cross-compiling and
14859         when fast-check is not defined.
14861         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
14862         * conform/data/limits.h-data: Fixes for POSIX2008.
14863         * conform/run-conformtest.sh: Run all tests.
14864         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
14865         headers.
14866         * include/bits/dlfcn.h: Likewise.
14867         * include/langinfo.h: Likewise.
14868         * include/monetary.h: Likewise.
14869         * include/sys/poll.h: Likewise.
14871         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
14872         for __USE_GNU.
14873         * posix/spawn.h: Define __need_sigset_t.
14874         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
14875         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
14876         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
14877         to get sigevent_t only.
14878         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
14879         only for __USE_GNU.
14880         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14881         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14882         process_vm_writev only for __USE_GNU.
14883         * termios/termios.h: Declare tcgetsid also for POSIX2008.
14885         * conform/Makefile: For now ignore errors from run-conformtest.
14886         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
14887         POSIX to avoid namespace pollution.  Don't prepend headers.
14888         * conform/data/aio.h-data: Fixes for POSIX testing.
14889         * conform/data/fcntl.h-data: Likewise.
14890         * conform/data/glob.h-data: Likewise.
14891         * conform/data/grp.h-data: Likewise.
14892         * conform/data/pthread.h-data: Likewise.
14893         * conform/data/pwd.h-data: Likewise.
14894         * conform/data/signal.h-data: Likewise.
14895         * conform/data/spawn.h-data: Likewise.
14896         * conform/data/stdio.h-data: Likewise.
14897         * conform/data/stdlib.h-data: Likewise.
14898         * conform/data/stropts.h-data: Likewise.
14899         * conform/data/sys/mman.h-data: Likewise.
14900         * conform/data/sys/stat.h-data: Likewise.
14901         * conform/data/sys/types.h-data: Likewise.
14902         * conform/data/sys/wait.h-data: Likewise.
14903         * conform/data/time.h-data: Likewise.
14904         * conform/data/unistd.h-data: Likewise.
14905         * conform/data/utime.h-data: Likewise.
14907         * io/sys/stat.h: fchmod was always in POSIX.
14908         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
14909         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
14910         * rt/aio.h: Define __need_timespec before including <time.h>.
14911         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
14912         struct.  Add forward declaration of pthread_attr_t and use it in
14913         sigevent.
14914         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14915         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14916         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
14917         always remove CLK_TCK definition.
14919 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
14921         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
14923 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
14925         * conform/run-conformtest.sh: New file.
14926         * conform/Makefile: Run run-conformtest for tests.
14927         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
14928         support.
14930         * conform/data/uchar.h-data: New file.
14931         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
14932         * conform/data/arpa/inet.h-data: Likewise.
14933         * conform/data/assert.h-data: Likewise.
14934         * conform/data/complex.h-data: Likewise.
14935         * conform/data/cpio.h-data: Likewise.
14936         * conform/data/ctype.h-data: Likewise.
14937         * conform/data/dirent.h-data: Likewise.
14938         * conform/data/dlfcn.h-data: Likewise.
14939         * conform/data/errno.h-data: Likewise.
14940         * conform/data/fcntl.h-data: Likewise.
14941         * conform/data/float.h-data: Likewise.
14942         * conform/data/fmtmsg.h-data: Likewise.
14943         * conform/data/fnmatch.h-data: Likewise.
14944         * conform/data/ftw.h-data: Likewise.
14945         * conform/data/glob.h-data: Likewise.
14946         * conform/data/grp.h-data: Likewise.
14947         * conform/data/iconv.h-data: Likewise.
14948         * conform/data/inttypes.h-data: Likewise.
14949         * conform/data/langinfo.h-data: Likewise.
14950         * conform/data/libgen.h-data: Likewise.
14951         * conform/data/limits.h-data: Likewise.
14952         * conform/data/locale.h-data: Likewise.
14953         * conform/data/math.h-data: Likewise.
14954         * conform/data/monetary.h-data: Likewise.
14955         * conform/data/mqueue.h-data: Likewise.
14956         * conform/data/ndbm.h-data: Likewise.
14957         * conform/data/net/if.h-data: Likewise.
14958         * conform/data/netdb.h-data: Likewise.
14959         * conform/data/netinet/in.h-data: Likewise.
14960         * conform/data/nl_types.h-data: Likewise.
14961         * conform/data/poll.h-data: Likewise.
14962         * conform/data/pthread.h-data: Likewise.
14963         * conform/data/pwd.h-data: Likewise.
14964         * conform/data/regex.h-data: Likewise.
14965         * conform/data/sched.h-data: Likewise.
14966         * conform/data/search.h-data: Likewise.
14967         * conform/data/semaphore.h-data: Likewise.
14968         * conform/data/setjmp.h-data: Likewise.
14969         * conform/data/signal.h-data: Likewise.
14970         * conform/data/spawn.h-data: Likewise.
14971         * conform/data/stdarg.h-data: Likewise.
14972         * conform/data/stdio.h-data: Likewise.
14973         * conform/data/stdlib.h-data: Likewise.
14974         * conform/data/string.h-data: Likewise.
14975         * conform/data/strings.h-data: Likewise.
14976         * conform/data/stropts.h-data: Likewise.
14977         * conform/data/sys/ipc.h-data: Likewise.
14978         * conform/data/sys/mman.h-data: Likewise.
14979         * conform/data/sys/msg.h-data: Likewise.
14980         * conform/data/sys/resource.h-data: Likewise.
14981         * conform/data/sys/select.h-data: Likewise.
14982         * conform/data/sys/sem.h-data: Likewise.
14983         * conform/data/sys/shm.h-data: Likewise.
14984         * conform/data/sys/socket.h-data: Likewise.
14985         * conform/data/sys/stat.h-data: Likewise.
14986         * conform/data/sys/statvfs.h-data: Likewise.
14987         * conform/data/sys/time.h-data: Likewise.
14988         * conform/data/sys/timeb.h-data: Likewise.
14989         * conform/data/sys/times.h-data: Likewise.
14990         * conform/data/sys/types.h-data: Likewise.
14991         * conform/data/sys/uio.h-data: Likewise.
14992         * conform/data/sys/un.h-data: Likewise.
14993         * conform/data/sys/utsname.h-data: Likewise.
14994         * conform/data/sys/wait.h-data: Likewise.
14995         * conform/data/syslog.h-data: Likewise.
14996         * conform/data/tar.h-data: Likewise.
14997         * conform/data/termios.h-data: Likewise.
14998         * conform/data/utime.h-data: Likewise.
14999         * conform/data/utmpx.h-data: Likewise.
15000         * conform/data/varargs.h-data: Likewise.
15001         * conform/data/wchar.h-data: Likewise.
15002         * conform/data/wctype.h-data: Likewise.
15003         * conform/data/wordexp.h-data: Likewise.
15005         * include/stropts.h: New file.
15006         * include/uchar.h: New file.
15007         * include/aio.h: Changes to allow conformtest.pl to use the headers.
15008         * include/assert.h: Likewise.
15009         * include/ctype.h: Likewise.
15010         * include/dirent.h: Likewise.
15011         * include/dlfcn.h: Likewise.
15012         * include/fcntl.h: Likewise.
15013         * include/fnmatch.h: Likewise.
15014         * include/glob.h: Likewise.
15015         * include/grp.h: Likewise.
15016         * include/libio.h: Likewise.
15017         * include/locale.h: Likewise.
15018         * include/math.h: Likewise.
15019         * include/net/if.h: Likewise.
15020         * include/netdb.h: Likewise.
15021         * include/netinet/in.h: Likewise.
15022         * include/pthread.h: Likewise.
15023         * include/pwd.h: Likewise.
15024         * include/regex.h: Likewise.
15025         * include/sched.h: Likewise.
15026         * include/search.h: Likewise.
15027         * include/setjmp.h: Likewise.
15028         * include/signal.h: Likewise.
15029         * include/stdio.h: Likewise.
15030         * include/stdlib.h: Likewise.
15031         * include/string.h: Likewise.
15032         * include/sys/cdefs.h: Likewise.
15033         * include/sys/mman.h: Likewise.
15034         * include/sys/msg.h: Likewise.
15035         * include/sys/resource.h: Likewise.
15036         * include/sys/select.h: Likewise.
15037         * include/sys/socket.h: Likewise.
15038         * include/sys/stat.h: Likewise.
15039         * include/sys/statvfs.h: Likewise.
15040         * include/sys/time.h: Likewise.
15041         * include/sys/times.h: Likewise.
15042         * include/sys/uio.h: Likewise.
15043         * include/sys/utsname.h: Likewise.
15044         * include/sys/wait.h: Likewise.
15045         * include/termios.h: Likewise.
15046         * include/time.h: Likewise.
15047         * include/ulimit.h: Likewise.
15048         * include/unistd.h: Likewise.
15049         * include/utime.h: Likewise.
15050         * include/wchar.h: Likewise.
15051         * include/wctype.h: Likewise.
15052         * include/wordexp.h: Likewise.
15054         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
15056         * time/time.h: TIME_UTC must be a macro.
15057         Make timespec_get available for ISO C11 only as well.
15059 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
15061         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
15062         Reported by Peng Haitao <penght@cn.fujitsu.com>.
15064 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
15066         * configure.in: Use -o not -a in test for unsupported multi-arch.
15068 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
15070         * manual/texinfo.tex: Update to version 2012-01-19.16.
15072 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
15074         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
15076 2012-02-24  Roland McGrath  <roland@hack.frob.com>
15078         [BZ #13738]
15079         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
15080         * manual/fdl-1.3.texi: New file.
15081         * manual/fdl-1.1.texi: File removed.
15083         [BZ #13738]
15084         * manual/libc.texinfo (FDL_VERSION): New @set.
15085         Use it for mention of FDL in cover text.
15086         (Documentation License): Use it in @include file name.
15088 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
15089             Roland McGrath  <roland@hack.frob.com>
15091         [BZ #5461]
15092         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
15093         not LONG_LONG_MAX and LONG_LONG_MIN.
15094         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
15095         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
15096         name.
15097         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
15099 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
15101         [BZ #2547]
15102         [BZ #11365]
15103         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
15104         manipulate bits before adding and subtracting TWO23[sx].
15105         * math/libm-test.inc (nearbyint_test): Add more tests.
15107 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
15109         [BZ #2548]
15110         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
15111         bits before adding and subtracting TWO23[sx].
15112         * math/libm-test.inc (rint_test): Add more tests.
15113         (rint_test_tonearest): Likewise.
15114         (rint_test_towardzero): Likewise.
15115         (rint_test_downward): Likewise.
15116         (rint_test_upward: Likewise.
15118 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
15120         [BZ #10110]
15121         * include/stdc-predef.h: New file.  Extracted from features.h.
15122         * include/features.h: Include stdc-predef.h.
15123         * Makefile (headers): Add stdc-predef.h.
15124         * CONFORMANCE (Compiler limitations): Update.
15126 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
15128         * manual/libc.texinfo (VERSION, UPDATED): Revert.
15130 2012-02-21  David S. Miller  <davem@davemloft.net>
15132         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
15133         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15135 2012-02-20  David S. Miller  <davem@davemloft.net>
15137         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
15138         using a normal save/restore sequence, rather than allocating a
15139         dummy stack frame just to store a frame pointer and restore.
15140         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15142 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
15144         * manual/install.texi: Fix stray word in line-wrapped comment.
15146 2012-02-20  David S. Miller  <davem@davemloft.net>
15148         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
15149         both binutils and gcc support GOTDATA.
15151         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
15152         "rd %pc" in the PIC register setup sequences.
15154         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
15155         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
15156         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15157         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
15158         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15159         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15160         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15161         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15162         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
15163         (SYSCALL_ERROR_HANDLER): Likewise.
15164         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15165         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15166         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
15167         (SYSCALL_ERROR_HANDLER): Likewise.
15169         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
15170         (HAVE_GCC_GOTDATA): New.
15171         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
15172         relocation support in both binutils and gcc.
15173         * sysdeps/sparc/elf/configure: Regenerate.
15175         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
15176         * sysdeps/sparc/sparc32/elf/configure: Delete.
15177         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
15178         * sysdeps/sparc/sparc64/elf/configure: Delete.
15179         * sysdeps/sparc/elf/configure.in: New file.
15180         * sysdeps/sparc/elf/configure: Generate.
15182         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
15183         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
15184         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15185         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
15186         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
15188 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
15190         * manual/install.texi: Do not mention specific glibc version
15191         numbers.
15192         * manual/libc.texinfo (VERSION, UPDATED): Update.
15193         (@copying): Use @copyright{} and range of years.
15195 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
15197         [BZ #13695]
15198         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
15199         [crti.S not in sysdirs] (generated): Do not append.
15200         [crti.S not in sysdirs] (omit-deps): Likewise.
15201         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
15202         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
15203         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
15204         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
15205         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
15206         Likewise.
15207         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
15208         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
15209         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
15210         * csu/defs.awk: Remove file.
15211         * sysdeps/generic/initfini.c: Likewise.
15212         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
15213         variable.
15214         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
15215         Likewise.
15217 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
15219         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
15220         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
15221         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
15222         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
15223         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15224         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
15225         <bits/epoll.h>.
15226         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
15227         (__EPOLL_PACKED): Define to empty if not defined by
15228         <bits/epoll.h>.
15229         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
15230         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15231         bits/epoll.h.
15233 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
15235         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
15236         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
15237         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
15238         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
15239         <bits/timerfd.h>.
15240         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
15241         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15242         bits/timerfd.h.
15244 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
15246         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
15247         in C locale.
15248         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15249         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15250         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
15251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15253 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
15255         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15256         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15258 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
15260         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
15261         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
15262         defined.
15263         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
15264         Likewise.
15265         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
15266         entry for 2.16.
15268 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
15270         * math/w_acos.c: Use non-signaling floating-point comparisons.
15271         * math/w_acosf.c: Likewise.
15272         * math/w_acosh.c: Likewise.
15273         * math/w_acoshf.c: Likewise.
15274         * math/w_acoshl.c: Likewise.
15275         * math/w_acosl.c: Likewise.
15276         * math/w_asin.c: Likewise.
15277         * math/w_asinf.c: Likewise.
15278         * math/w_asinl.c: Likewise.
15279         * math/w_atanh.c: Likewise.
15280         * math/w_atanhf.c: Likewise.
15281         * math/w_atanhl.c: Likewise.
15282         * math/w_exp2.c: Likewise.
15283         * math/w_exp2f.c: Likewise.
15284         * math/w_exp2l.c: Likewise.
15285         * math/w_j0.c: Likewise.
15286         * math/w_j0f.c: Likewise.
15287         * math/w_j0l.c: Likewise.
15288         * math/w_j1.c: Likewise.
15289         * math/w_j1f.c: Likewise.
15290         * math/w_j1l.c: Likewise.
15291         * math/w_jn.c: Likewise.
15292         * math/w_jnf.c: Likewise.
15293         * math/w_log.c: Likewise.
15294         * math/w_log10.c: Likewise.
15295         * math/w_log10f.c: Likewise.
15296         * math/w_log10l.c: Likewise.
15297         * math/w_log2.c: Likewise.
15298         * math/w_log2f.c: Likewise.
15299         * math/w_log2l.c: Likewise.
15300         * math/w_logf.c: Likewise.
15301         * math/w_logl.c: Likewise.
15302         * math/w_sqrt.c: Likewise.
15303         * math/w_sqrtf.c: Likewise.
15304         * math/w_sqrtl.c: Likewise.
15305         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15306         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
15307         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15308         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15309         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15311 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
15313         [BZ #9739]
15314         * manual/string.texi (strnlen): Use correct parameter name in
15315         equivalent expression.
15317 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
15319         [BZ #11174]
15320         * manual/users.texi (seteuid): Consistently use neweuid for
15321         argument name.
15323 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
15325         [BZ #13704]
15326         * manual/nss.texi (Services in the NSS configuration): Correct
15327         list of services in example configuration file.
15329 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
15331         [BZ #11322]
15332         * manual/arith.texi: Remove statements about negative zero
15333         behaving identically to zero.
15335 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
15337         [BZ #5993]
15338         * manual/install.texi: Do not document upgrading from libc5.
15340 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
15342         [BZ #4596]
15343         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
15345 2012-02-18  David S. Miller  <davem@davemloft.net>
15347         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
15348         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
15349         %o7 across the call.
15350         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
15351         instead.
15352         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
15353         SETUP_PIC_REG_LEAF.
15354         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15355         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
15356         * sysdeps/sparc/crtn.S: Likewise.
15358 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
15360         * aout/Makefile: Remove.
15362 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
15364         [BZ #13058]
15365         * manual/examples/argp-ex1.c (main): Format definition in GNU
15366         style.
15367         * manual/examples/argp-ex2.c (main): Likewise.
15368         * manual/examples/argp-ex3.c (main): Likewise.
15369         * manual/examples/argp-ex4.c (main): Likewise.
15370         * manual/examples/longopt.c (main): Use new-style prototype
15371         definition.
15372         * manual/examples/strncat.c (main): Specify return type and use
15373         (void) for arguments.
15374         * manual/examples/subopt.c (main): Use char **argv argument.
15376 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
15378         [BZ #5077]
15379         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
15380         rounding modes.
15382 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
15384         [BZ #6907]
15385         * manual/string.texi (strchr): Change when strchrnul is
15386         recommended.
15388 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
15390         [BZ #174]
15391         * manual/locale.texi (setlocale): Document LOCPATH.
15393 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
15395         [BZ #10210]
15396         * manual/process.texi (execle): Move @dots{} before last argument.
15398 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
15400         [BZ #12047]
15401         * manual/charset.texi (Generic Charset Conversion): Fix typo
15402         (LC_TYPE -> LC_CTYPE).
15404 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
15406         [BZ #5805]
15407         * manual/arith.texi (scalbn): Use @var{} on parameter names.
15408         (scalbnf): Likewise.
15409         (scalbnl): Likewise.
15410         (scalbln): Likewise.
15411         (scalblnf): Likewise.
15412         (scalblnl): Likewise.
15413         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
15414         (vwarnx): Likewise.
15415         (verr): Likewise.
15416         (verrx): Likewise.
15417         * manual/filesys.texi (telldir): Use braces around return type.
15418         * manual/llio.texi (mmap): Add space after comma.
15419         (mmap64): Likewise.
15420         * manual/math.texi (jn): Use @var{} on parameter names.
15421         (jnf): Likewise.
15422         (jnl): Likewise.
15423         (yn): Likewise.
15424         (ynf): Likewise.
15425         (ynl): Likewise.
15426         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
15427         line.
15428         * manual/resource.texi (ulimit): Use @dots{} instead of literal
15429         "...".
15430         (sched_get_priority_min): Remove semicolon on @deftypefun line.
15431         (sched_get_priority_max): Likewise.
15432         * manual/signal.texi (sigvec): Add space after comma.
15433         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
15434         names.
15435         (if_indextoname): Likewise.
15436         (if_freenameindex): Likewise.
15437         (sendto): Use ',' instead of '.' in prototype.
15438         * manual/startup.texi (syscall): Use @dots{} instead of literal
15439         "...".
15440         * manual/stdio.texi (__fpending): Separate initial words of
15441         paragraph from @deftypefun line.
15442         * manual/syslog.texi (syslog): Use @dots{} instead of literal
15443         "...".
15444         (vsyslog): Use @var{} on parameter names.
15445         * manual/terminal.texi (stty): Use @var{} on parameter names.
15446         * manual/users.texi (getutmp): Use @var{} on parameter names.
15447         (getutmpx): Likewise.
15449 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
15451         [BZ #6884]
15452         * manual/stdio.texi (fopen): Fix typos in description of
15453         ",ccs=STRING".
15455 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
15457         [BZ #4026]
15458         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
15459         get clock_id definition.
15461 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
15463         [BZ #4822]
15464         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
15465         (madvise): Cast every argument to void on its own.
15467 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
15469         [BZ #9902]
15470         * manual/startup.texi (Exit Status): Fix typo.
15472 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
15474         [BZ #10140]
15475         * manual/examples/argp-ex1.c: Include <stdlib.h>.
15476         * manual/examples/argp-ex2.c: Likewise.
15477         * manual/examples/argp-ex3.c: Likewise.
15479 2012-02-16  Richard Henderson  <rth@redhat.com>
15481         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
15482         * sysdeps/s390/s390-32/initfini.c: Remove.
15483         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
15484         * sysdeps/s390/s390-64/initfini.c: Remove.
15486 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15488         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
15489         compiler output for sysdeps/generic/initfini.c.
15490         * sysdeps/sh/elf/initfini.c: Remove file.
15492 2012-02-16  David S. Miller  <davem@davemloft.net>
15494         [BZ #11494]
15495         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
15497         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
15498         * sysdeps/sparc/crti.S: New file.
15499         * sysdeps/sparc/crtn.S: New file.
15500         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
15501         * sysdeps/sparc/sparc64/Makefile: Likewise.
15503 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
15505         [BZ #3335]
15506         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
15508 2012-02-15  Roland McGrath  <roland@hack.frob.com>
15510         [BZ #4822]
15511         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
15513         * mach/devstream.c (cookie_io_functions_t): Macro removed.
15514         (write, read, close): Likewise.
15515         Patch by Aurelien Jarno <aurelien@aurel32.net>.
15517 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
15519         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
15520         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
15521         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
15522         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
15523         <bits/signalfd.h>.
15524         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
15525         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15526         bits/signalfd.h.
15528 2012-02-14  Marek Polacek  <polacek@redhat.com>
15530         * sysdeps/x86_64/crti.S: New file.
15531         * sysdeps/x86_64/crtn.S: New file.
15532         * sysdeps/x86_64/elf/initfini.c: Remove file.
15534 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
15536         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
15537         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
15538         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
15539         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
15540         <bits/inotify.h>.
15541         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
15542         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15543         bits/inotify.h.
15545 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
15547         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
15548         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
15549         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
15550         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
15551         <bits/eventfd.h>.
15552         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
15553         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15554         bits/eventfd.h.
15556 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
15558         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
15559         __feraiseexcept instead of feraiseexcept.
15561         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
15562         nanosleep invocations.
15563         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
15564         strings, and add error checking for a nanosleep invocations.
15566 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
15568         Replace FSF snail mail address with URLs, as per GNU coding standards.
15569         Most of the snail mail addresses were wrong anyway, and omitting
15570         them makes the source code easier to maintain.  Almost all of the
15571         changes are to license notices and to locale LC_IDENTIFICATION
15572         addresses, except for this one:
15573         * manual/libc.texinfo: In "Published by", give the FSF's URL,
15574         not its snail mail address.
15576 2012-02-09  Richard Henderson  <rth@twiddle.net>
15578         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
15579         of kernel-features.h.
15581         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
15583 2012-02-08  Marek Polacek  <polacek@redhat.com>
15585         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
15586         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
15587         * sysdeps/gnu/_G_config.h: Likewise.
15588         * sysdeps/generic/_G_config.h: Likewise.
15590 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
15592         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
15593         tests.
15594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15596         * sysdeps/powerpc/powerpc32/crti.S: New file.
15597         * sysdeps/powerpc/powerpc32/crtn.S: New file.
15598         * sysdeps/powerpc/powerpc64/crti.S: New file.
15599         * sysdeps/powerpc/powerpc64/crtn.S: New file.
15601         * Makeconfig (have-initfini): Don't set.
15602         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
15603         * configure.in (nopic_initfini): Don't substitute.
15604         * config.h.in (HAVE_INITFINI): Don't #undef.
15605         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
15606         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
15608 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
15610         Support crti.S and crtn.S provided directly by architectures.
15611         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
15612         [crti.S in sysdirs] (omit-deps): Likewise.
15613         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
15614         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
15615         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
15616         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
15617         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
15618         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
15619         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
15620         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
15621         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
15622         compiler output for sysdeps/generic/initfini.c.
15623         * sysdeps/i386/elf/Makefile: Remove file.
15624         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
15626 2012-02-07  Marek Polacek  <polacek@redhat.com>
15628         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
15629         * sysdeps/gnu/_G_config.h: Likewise.
15630         * sysdeps/mach/hurd/_G_config.h: Likewise.
15632 2012-02-07  Marek Polacek  <polacek@redhat.com>
15634         * math/Makefile (tests): Add tst-CMPLX2.
15635         * math/tst-CMPLX2.c: New file.
15637 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
15639         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15641         * math/libm-test.inc (jn_test): Add missing L suffix.
15643 2012-02-06  Marek Polacek  <polacek@redhat.com>
15645         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
15646         * sysdeps/i386/fpu/e_powf.S: Likewise.
15647         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15648         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15649         * sysdeps/i386/fpu/e_acosh.S: Likewise.
15650         * sysdeps/i386/fpu/e_pow.S: Likewise.
15651         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15652         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15653         * sysdeps/i386/fpu/s_expm1.S: Likewise.
15654         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15655         * sysdeps/i386/fpu/e_log2.S: Likewise.
15656         * sysdeps/i386/fpu/e_log2l.S: Likewise.
15657         * sysdeps/i386/fpu/e_scalb.S: Likewise.
15658         * sysdeps/i386/fpu/e_powl.S: Likewise.
15659         * sysdeps/i386/fpu/s_log1p.S: Likewise.
15660         * sysdeps/i386/fpu/e_log10f.S: Likewise.
15661         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15662         * sysdeps/i386/fpu/e_logl.S: Likewise.
15663         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15664         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
15665         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15666         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15667         * sysdeps/i386/fpu/e_log2f.S: Likewise.
15668         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15669         * sysdeps/i386/fpu/e_log.S: Likewise.
15670         * sysdeps/i386/fpu/s_cexp.S: Likewise.
15671         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15672         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
15673         * sysdeps/i386/fpu/e_logf.S: Likewise.
15674         * sysdeps/i386/fpu/e_log10l.S: Likewise.
15675         * sysdeps/i386/fpu/e_atanh.S: Likewise.
15676         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
15677         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15678         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15679         * sysdeps/i386/fpu/e_log10.S: Likewise.
15680         * sysdeps/i386/fpu/s_frexp.S: Likewise.
15681         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15682         * sysdeps/i386/fpu/s_asinh.S: Likewise.
15683         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15684         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15685         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15686         * sysdeps/i386/asm-syntax.h: Likewise.
15687         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15688         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15689         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15690         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
15691         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
15692         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15693         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15694         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15695         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15696         * sysdeps/powerpc/sysdep.h: Likewise.
15697         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
15698         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15700 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
15702         [BZ #411]
15703         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
15705 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
15707         * sysdeps/i386/sysdep.h: Include <features.h>.
15708         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
15709         version.
15711 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
15713         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
15714         Define.
15715         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
15716         LOAD_PIC_REG_STR.
15718 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
15720         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
15721         (SETUP_PIC_REG): Use GET_PC_THUNK.
15722         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
15723         macro.
15725 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
15727         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
15728         for non-PIC compilation.
15729         (SETUP_PIC_REG): Add .p2align directive.
15730         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
15731         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
15732         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15733         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15734         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15735         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15736         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
15737         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15738         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15739         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15740         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15741         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15742         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15743         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15744         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15745         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15746         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15747         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15748         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15749         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15750         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15751         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15752         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15753         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15754         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15755         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15756         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15757         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15758         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15759         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15760         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15761         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15762         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15763         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15764         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15765         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15766         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15767         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15768         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15769         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15770         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15772 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
15774         * math/tst-CMPLX.c: Include <stdio.h>.
15776 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
15778         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
15779         float.
15780         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15781         * sysdeps/sparc/bits/mathdef.h: Likewise.
15783 2012-01-31  Marek Polacek  <polacek@redhat.com>
15785         * libio/libio.h: Don't define _PARAMS.
15786         * locale/programs/config.h: Don't define PARAMS.
15787         * stdlib/strtol_l.c: Likewise.
15788         (__strtol_l): Remove PARAMS from the prototype.
15790 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
15792         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
15793         names.  Just use the correct names.  Remove unnecessary wrapper
15794         functions.
15795         * malloc/arena.c: Likewise.
15796         * malloc/hooks.c: Likewise.
15798         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
15799         ARENA_TEST says not to.  Simplify test for creation of a new arena.
15800         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
15802 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
15804         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
15805         into tail calls.
15806         (update_get_addr): New function.
15807         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
15808         GET_ADDR_MODULE parameter.
15810 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
15812         * crypt/cert.c: Remove __STDC__ conditionals.
15813         * crypt/crypt-entry.c: Likewise.
15814         * crypt/crypt_util.c: Likewise.
15815         * libio/filedoalloc.c: Likewise.
15816         * libio/fileops.c: Likewise.
15817         * libio/genops.c: Likewise.
15818         * libio/iofclose.c: Likewise.
15819         * libio/iofdopen.c: Likewise.
15820         * libio/iofopen.c: Likewise.
15821         * libio/iofopen64.c: Likewise.
15822         * libio/iogetdelim.c: Likewise.
15823         * libio/iopopen.c: Likewise.
15824         * libio/obprintf.c: Likewise.
15825         * libio/oldfileops.c: Likewise.
15826         * libio/oldiofclose.c: Likewise.
15827         * libio/oldiofdopen.c: Likewise.
15828         * libio/oldiofopen.c: Likewise.
15829         * libio/oldiopopen.c: Likewise.
15830         * libio/wfiledoalloc.c: Likewise.
15831         * libio/wgenops.c: Likewise.
15832         * locale/programs/xmalloc.c: Likewise.
15833         * misc/syslog.c: Likewise.
15834         * stdio-common/xbug.c: Likewise.
15835         * string/memchr.c: Likewise.
15836         * string/memcmp.c: Likewise.
15837         * string/memrchr.c: Likewise.
15838         * string/rawmemchr.c: Likewise.
15839         * sysdeps/posix/getcwd.c: Likewise.
15840         * time/strftime_l.c: Likewise.
15842 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
15844         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
15845         * config.make.in (config-cflags-sse2avx): Define.
15846         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
15847         Fix typo.
15849 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
15851         * scripts/config.guess: Update from upstream config git repository.
15852         * scripts/config.sub: Likewise.
15854 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
15856         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
15857         (EM_NUM): Update.
15858         (R_TILEPRO_*, R_TILEGX_*): New macros.
15860         * scripts/firstversions.awk: Fix bug in version range handling.
15862         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
15864         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
15866         * include/sys/epoll.h: New file.
15867         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
15868         libc_hidden_def.
15870 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
15872         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
15873         Avoid unnecessary __WORDSIZE == 64 test.
15874         (fmaxf): Use VEX format if possible.
15875         (fmax): Likewise.
15876         (fminf): Likewise.
15877         (fmin): Likewise.
15879         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
15880         * math/math_private.h: Remove libc_fegetround* and
15881         libc_fesetround*.
15882         * sysdeps/i386/configure.in: Check for -msse2avx.
15883         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
15884         also if SSE2AVX is defined.
15885         Remove libc_fegetround* and libc_fesetround*.
15886         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
15887         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
15888         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
15889         of HAS_YMM_USABLE.
15890         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15891         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15892         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15893         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15894         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15896         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
15898 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15900         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
15901         size is not set.
15902         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15904 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
15906         [BZ #13618]
15907         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
15908         relocation.
15909         * Makeconfig (libm): Define.
15910         * elf/Makefile: Add rules to build and run tst-relsort1.
15911         * elf/tst-relsort1.c: New file.
15912         * elf/tst-relsort1mod1.c: New file.
15913         * elf/tst-relsort1mod2.c: New file.
15915 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
15917         * math/s_ldexp.c: Remove __STDC__ conditionals.
15918         * math/s_ldexpf.c: Likewise.
15919         * math/s_ldexpl.c: Likewise.
15920         * math/s_nextafter.c: Likewise.
15921         * math/s_nexttowardf.c: Likewise.
15922         * math/s_significand.c: Likewise.
15923         * math/s_significandf.c: Likewise.
15924         * math/s_significandl.c: Likewise.
15925         * math/w_jnl.c: Likewise.
15926         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15927         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15928         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15929         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15930         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15931         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15932         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
15933         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15934         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15935         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15936         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15937         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15938         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15939         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15940         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15941         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15942         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15943         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15944         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15945         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15946         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15947         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15948         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15949         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15950         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15951         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15952         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15953         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15954         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
15955         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15956         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15957         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
15958         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15959         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
15960         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
15961         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15962         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15963         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15964         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
15965         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15966         * sysdeps/ieee754/k_standard.c: Likewise.
15967         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15968         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15969         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15970         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15971         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15972         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15973         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15974         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15975         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15976         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15977         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15978         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15979         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15980         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15981         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15982         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15983         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15984         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15985         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15986         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15987         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15988         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15989         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15990         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15991         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15992         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15993         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15994         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15995         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15996         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15997         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15998         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
15999         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16000         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16001         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16002         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
16003         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
16004         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16005         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
16006         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
16007         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
16008         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
16009         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
16010         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
16011         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16012         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16013         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16014         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16015         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16016         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
16017         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
16018         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16019         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16020         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
16021         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16022         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
16023         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
16024         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16025         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16026         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16027         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16028         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
16029         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
16030         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16031         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16032         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16033         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16034         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
16035         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
16036         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16037         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16038         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16039         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16040         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16041         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16042         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16043         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
16044         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16045         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
16046         * sysdeps/ieee754/s_matherr.c: Likewise.
16047         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
16048         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16049         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16050         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16052 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
16054         * crypt/md5.h: Remove __STDC__ conditionals.
16055         * libio/libioP.h: Likewise.
16056         * locale/programs/config.h: Likewise.
16057         * sysdeps/generic/sysdep.h: Likewise.
16058         * sysdeps/i386/asm-syntax.h: Likewise.
16059         * sysdeps/s390/asm-syntax.h: Likewise.
16060         * sysdeps/unix/sysdep.h: Likewise.
16061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16064 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
16066         * libio/libio.h: Remove __STDC__ conditionals.
16067         * malloc/obstack.h: Likewise.
16068         * math/complex.h: Likewise.
16069         * math/math.h: Likewise.
16070         * sysdeps/generic/_G_config.h: Likewise.
16071         * sysdeps/gnu/_G_config.h: Likewise.
16072         * sysdeps/mach/hurd/_G_config.h: Likewise.
16073         * sysdeps/powerpc/bits/mathdef.h: Likewise.
16074         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
16075         * sysdeps/sparc/bits/mathdef.h: Likewise.
16077 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
16079         [BZ #13583]
16080         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
16081         Clean up HAS_* macros.
16082         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
16083         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
16084         possible.
16085         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
16086         HAS_AVX.
16087         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16088         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16089         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16090         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16091         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16093 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
16095         * elf/tst-unique3.cc (gets): Remove declaration.
16096         * elf/tst-unique3lib.cc (gets): Likewise.
16097         * elf/tst-unique3lib2.cc (gets): Likewise.
16098         * elf/tst-unique4.cc (gets): Likewise.
16100 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
16102         * include/stdio.h: Add C++ protection.  Add gets declarations and
16103         definitions.
16104         * debug/tst-chk1.c: Don't declare gets here.
16105         * stdio-common/tst-gets.c: Likewise.
16107 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
16109         * posix/glob: Remove directory.
16111 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
16113         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
16115 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
16117         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
16118         of the non-standard EPFNOSUPPORT.
16120 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16122         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
16123         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
16124         ANYWHERE set to 1 only on KERN_NO_SPACE error.
16126 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
16128         * wcsmbs/uchar.h: Test __STDC_VERSION__.
16130 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
16132         * nscd/aicache.c (addhstaiX): Do not cache negative results of
16133         transient errors.
16134         * nscd/grpcache.c (cache_addgr): Likewise.
16135         * nscd/hstcache.c (cache_addhst): Likewise.
16136         * nscd/initgrcache.c (addinitgroupsX): Likewise.
16137         * nscd/pwdcache.c (cache_addpw): Likewise.
16138         * nscd/servicescache.c (cache_addserv): Likewise.
16140 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
16142         * malloc/malloc.c: Various cleanups.
16143         * malloc/hooks.c: Likewise.
16145         * stdlib/Makefile (tests): Add bug-fmtmsg1.
16146         * stdlib/bug-fmtmsg1.c: New file.
16148         * stdlib/fmtmsg.c (init): Add missing unlock.
16149         Patch by Peng Haitao <penght@cn.fujitsu.com>.
16151 2012-01-12  Marek Polacek  <polacek@redhat.com>
16153         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
16154         and _GNU_SOURCE.
16156 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
16158         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
16159         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
16160         macro to ensure uniqueness of label name.
16161         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16162         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16164 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
16166         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
16168         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
16169         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16170         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16171         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
16173 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
16175         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
16177         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
16178         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16179         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16181         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
16183         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
16184         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16185         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16186         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
16188         * math/bits/math-finite.h: Add ldexp support.
16190 2012-01-10  Marek Polacek  <polacek@redhat.com>
16192         * locale/programs/localedef.h (show_archive_content): Add noreturn
16193         attribute.
16195 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
16197         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
16199 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
16201         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
16203         * io/Makefile (headers): Add bits/poll2.h.
16205 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
16207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
16208         typo #include statement.
16210 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
16212         * include/sys/cdefs.h: Define __attribute_alloc_size.
16213         * catgets/gencat.c: Add alloc_size attribute and apply consistently
16214         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
16215         * elf/pldd.c: Likewise.
16216         * iconv/iconv_charmap.c: Likewise.
16217         * iconv/iconvconfig.c: Likewise.
16218         * iconv/strtab.c: Likewise.
16219         * locale/programs/locale.c: Likewise.
16220         * locale/programs/localedef.h: Likewise.
16221         * locale/programs/simple-hash.c: Likewise.
16222         * nscd/nscd.h: Likewise.
16223         * nss/makedb.c: Likewise.
16224         * sysdeps/generic/ldconfig.h: Likewise.
16225         * locale/programs/localedef.c: Remove xmalloc prototype.
16226         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
16228 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
16230         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
16231         appropriate.
16233 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
16235         * math/Makefile (tests): Add tst-CMPLX.
16236         * math/tst-CMPLX.c: New file.
16238         * math/complex.h (CMPLXL): Fix typo.
16240         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
16241         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
16242         GLIBC_2.16.
16243         * debug/tst-chk1.c: Add poll and ppoll tests.
16244         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
16245         * include/sys/poll.h: Add hidden proto for ppoll.
16246         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
16247         * sysdeps/mach/hurd/ppoll.c: Likewise.
16248         * io/ppoll.c: Likewise.
16249         * debug/poll_chk.c: New file.
16250         * debug/ppoll_chk.c: New file.
16251         * include/bits/poll2.h: New file.
16252         * io/bits/poll2.h: New file.
16254         [BZ #1350]
16255         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
16257         * configure.in: static is always set to yes.  Remove.
16258         * config.make.in: Don't set build-static.
16259         * Makeconfig: Remove use of build-static.
16260         * dlfcn/Makefile: Likewise.
16261         * elf/Makefile: Likewise.
16262         * math/Makefile: Likewise.
16263         * misc/Makefile: Likewise.
16264         * nptl/Makefile: Likewise.
16265         * sysdeps/mach/hurd/Makefile: Likewise.
16267         * configure.in: PWD_P is not used anymore.
16268         * config.make.in: Remove PWD_P entry.
16270         * configure.in: Remove last remnants of RANLIB.
16271         No need to check for signed size_t anymore.
16272         Don't set libc_commonpagesize and libc_relro_required here for Alpha
16273         and IA-64.
16274         Remove __builtin_expect test because we require at least gcc 3.4.
16275         * aclocal.m4: Likewise.
16277         * wcsmbs/mbrtoc16.c: Implement using towc function.
16278         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
16279         * wcsmbs/wcsmbsload.c: Likewise.
16280         * iconv/gconv_simple.c: Likewise.
16281         * iconv/gconv_int.h: Likewise.
16282         * iconv/gconv_builtin.h: Likewise.
16283         * iconv/iconv_prog.c: Remove CHAR16 handling.
16285         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
16287         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
16289         * configure.in: Remove --with-elf and --enable-bounded options.
16290         Dont set base_machine for ia64.  More non-ELF conditions removed.
16291         Remove testing and setting of leading underscore information.
16292         * config.make.in (build-bounded): Set to no.
16293         * config.h.in: Remove NO_UNDERSCORES entry.
16294         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
16295         them.
16296         * csu/start.c: Remove !NO_UNDERSCORE code.
16297         * locale/localeinfo.h: Likewise.
16298         * sysdeps/generic/machine-gmon.h: Likewise.
16299         * sysdeps/generic/sysdep.h: Likewise.
16300         * sysdeps/i386/sysdep.h: Likewise.
16301         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16302         * sysdeps/mach/sysdep.h: Likewise.
16303         * sysdeps/s390/s390-32/sysdep.h: Likewise.
16304         * sysdeps/s390/s390-64/sysdep.h: Likewise.
16305         * sysdeps/sh/sysdep.h: Likewise.
16306         * sysdeps/sparc/sparc32/alloca.S: Likewise.
16307         * sysdeps/unix/i386/sysdep.S: Likewise.
16308         * sysdeps/unix/sparc/start.c: Likewise.
16309         * sysdeps/unix/sparc/sysdep.S: Likewise.
16310         * sysdeps/unix/sparc/sysdep.h: Likewise.
16311         * sysdeps/unix/start.c: Likewise.
16312         * sysdeps/unix/x86_64/sysdep.S: Likewise.
16313         * sysdeps/x86_64/sysdep.h: Likewise.
16315 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
16317         [BZ #13553]
16318         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
16319         for non-gcc.
16320         * argp/argp-fmtstream.h: Use const instead __const.
16321         * argp/argp.h: Likewise.
16322         * assert/assert.h: Likewise.
16323         * bits/fenv.h: Likewise.
16324         * bits/sched.h: Likewise.
16325         * bits/sigset.h: Likewise.
16326         * bits/sigthread.h: Likewise.
16327         * catgets/nl_types.h: Likewise.
16328         * conform/data/pthread.h-data: Likewise.
16329         * crypt/crypt-private.h: Likewise.
16330         * crypt/crypt.h: Likewise.
16331         * crypt/crypt_util.c: Likewise.
16332         * ctype/ctype.h: Likewise.
16333         * debug/execinfo.h: Likewise.
16334         * debug/mbsnrtowcs_chk.c: Likewise.
16335         * debug/mbsrtowcs_chk.c: Likewise.
16336         * debug/wcsnrtombs_chk.c: Likewise.
16337         * debug/wcsrtombs_chk.c: Likewise.
16338         * debug/wcstombs_chk.c: Likewise.
16339         * dirent/dirent.h: Likewise.
16340         * dlfcn/dlfcn.h: Likewise.
16341         * elf/neededtest4.c: Likewise.
16342         * grp/grp.h: Likewise.
16343         * gshadow/gshadow.h: Likewise.
16344         * iconv/gconv.h: Likewise.
16345         * iconv/gconv_int.h: Likewise.
16346         * iconv/gconv_simple.c: Likewise.
16347         * iconv/iconv.h: Likewise.
16348         * iconv/loop.c: Likewise.
16349         * iconv/skeleton.c: Likewise.
16350         * include/aio.h: Likewise.
16351         * include/aliases.h: Likewise.
16352         * include/argz.h: Likewise.
16353         * include/arpa/inet.h: Likewise.
16354         * include/assert.h: Likewise.
16355         * include/dirent.h: Likewise.
16356         * include/dlfcn.h: Likewise.
16357         * include/execinfo.h: Likewise.
16358         * include/fcntl.h: Likewise.
16359         * include/fenv.h: Likewise.
16360         * include/glob.h: Likewise.
16361         * include/grp.h: Likewise.
16362         * include/libintl.h: Likewise.
16363         * include/mntent.h: Likewise.
16364         * include/netdb.h: Likewise.
16365         * include/pwd.h: Likewise.
16366         * include/rpc/netdb.h: Likewise.
16367         * include/sched.h: Likewise.
16368         * include/search.h: Likewise.
16369         * include/shadow.h: Likewise.
16370         * include/signal.h: Likewise.
16371         * include/stdio.h: Likewise.
16372         * include/stdlib.h: Likewise.
16373         * include/string.h: Likewise.
16374         * include/sys/socket.h: Likewise.
16375         * include/sys/stat.h: Likewise.
16376         * include/sys/statfs.h: Likewise.
16377         * include/sys/statvfs.h: Likewise.
16378         * include/sys/syslog.h: Likewise.
16379         * include/sys/time.h: Likewise.
16380         * include/sys/uio.h: Likewise.
16381         * include/time.h: Likewise.
16382         * include/unistd.h: Likewise.
16383         * include/utmp.h: Likewise.
16384         * include/wchar.h: Likewise.
16385         * include/wctype.h: Likewise.
16386         * inet/aliases.h: Likewise.
16387         * inet/arpa/inet.h: Likewise.
16388         * inet/netinet/ether.h: Likewise.
16389         * inet/netinet/in.h: Likewise.
16390         * intl/libintl.h: Likewise.
16391         * io/bits/fcntl2.h: Likewise.
16392         * io/fcntl.h: Likewise.
16393         * io/ftw.h: Likewise.
16394         * io/sys/poll.h: Likewise.
16395         * io/sys/stat.h: Likewise.
16396         * io/sys/statfs.h: Likewise.
16397         * io/sys/statvfs.h: Likewise.
16398         * io/utime.h: Likewise.
16399         * libio/bits/stdio.h: Likewise.
16400         * libio/bits/stdio2.h: Likewise.
16401         * libio/libio.h: Likewise.
16402         * libio/libioP.h: Likewise.
16403         * libio/stdio.h: Likewise.
16404         * locale/lc-ctype.c: Likewise.
16405         * locale/locale.h: Likewise.
16406         * login/utmp.h: Likewise.
16407         * malloc/arena.c: Likewise.
16408         * malloc/malloc.c: Likewise.
16409         * malloc/malloc.h: Likewise.
16410         * malloc/mcheck.c: Likewise.
16411         * malloc/mtrace.c: Likewise.
16412         * math/bits/mathcalls.h: Likewise.
16413         * math/fenv.h: Likewise.
16414         * math/math_private.h: Likewise.
16415         * misc/bits/error.h: Likewise.
16416         * misc/bits/syslog.h: Likewise.
16417         * misc/err.h: Likewise.
16418         * misc/error.h: Likewise.
16419         * misc/fstab.h: Likewise.
16420         * misc/mntent.h: Likewise.
16421         * misc/regexp.h: Likewise.
16422         * misc/search.h: Likewise.
16423         * misc/sgtty.h: Likewise.
16424         * misc/sys/mman.h: Likewise.
16425         * misc/sys/syslog.h: Likewise.
16426         * misc/sys/uio.h: Likewise.
16427         * misc/sys/xattr.h: Likewise.
16428         * misc/ttyent.h: Likewise.
16429         * nis/rpcsvc/ypclnt.h: Likewise.
16430         * nss/nss.h: Likewise.
16431         * posix/bits/unistd.h: Likewise.
16432         * posix/fnmatch.h: Likewise.
16433         * posix/glob.h: Likewise.
16434         * posix/sched.h: Likewise.
16435         * posix/spawn.h: Likewise.
16436         * posix/sys/wait.h: Likewise.
16437         * posix/unistd.h: Likewise.
16438         * posix/wordexp.h: Likewise.
16439         * pwd/pwd.h: Likewise.
16440         * resolv/netdb.h: Likewise.
16441         * resource/sys/resource.h: Likewise.
16442         * rt/aio.h: Likewise.
16443         * rt/bits/mqueue2.h: Likewise.
16444         * rt/mqueue.h: Likewise.
16445         * shadow/shadow.h: Likewise.
16446         * signal/signal.h: Likewise.
16447         * socket/send.c: Likewise.
16448         * socket/sendto.c: Likewise.
16449         * socket/sys/socket.h: Likewise.
16450         * stdio-common/printf.h: Likewise.
16451         * stdlib/bits/stdlib.h: Likewise.
16452         * stdlib/fmtmsg.h: Likewise.
16453         * stdlib/monetary.h: Likewise.
16454         * stdlib/stdlib.h: Likewise.
16455         * stdlib/ucontext.h: Likewise.
16456         * streams/stropts.h: Likewise.
16457         * string/argz.h: Likewise.
16458         * string/bits/string2.h: Likewise.
16459         * string/string.h: Likewise.
16460         * string/strings.h: Likewise.
16461         * sunrpc/rpc/auth.h: Likewise.
16462         * sunrpc/rpc/auth_des.h: Likewise.
16463         * sunrpc/rpc/clnt.h: Likewise.
16464         * sunrpc/rpc/netdb.h: Likewise.
16465         * sunrpc/rpc/pmap_clnt.h: Likewise.
16466         * sunrpc/rpc/xdr.h: Likewise.
16467         * sysdeps/generic/inttypes.h: Likewise.
16468         * sysdeps/generic/net/if.h: Likewise.
16469         * sysdeps/generic/sys/swap.h: Likewise.
16470         * sysdeps/gnu/net/if.h: Likewise.
16471         * sysdeps/gnu/utmpx.h: Likewise.
16472         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
16473         * sysdeps/i386/i486/bits/string.h: Likewise.
16474         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
16475         * sysdeps/s390/bits/string.h: Likewise.
16476         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
16477         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
16478         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
16479         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
16480         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
16481         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
16482         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
16483         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
16484         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
16485         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
16486         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
16487         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16488         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
16489         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16490         * sysdeps/unix/sysv/linux/readv.c: Likewise.
16491         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
16492         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16493         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16494         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16495         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16496         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16497         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
16498         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
16499         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
16500         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
16501         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
16502         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
16503         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16504         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
16505         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
16506         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
16507         * sysvipc/sys/ipc.h: Likewise.
16508         * sysvipc/sys/msg.h: Likewise.
16509         * sysvipc/sys/sem.h: Likewise.
16510         * sysvipc/sys/shm.h: Likewise.
16511         * termios/termios.h: Likewise.
16512         * time/sys/time.h: Likewise.
16513         * time/time.h: Likewise.
16514         * wcsmbs/bits/wchar2.h: Likewise.
16515         * wcsmbs/uchar.h: Likewise.
16516         * wcsmbs/wchar.h: Likewise.
16517         * wctype/wctype.h: Likewise.
16519         [BZ #13551]
16520         * Makeconfig: Remove all but ELF support including AIX support.
16521         * Makerules: Likewise.
16522         * config.h.in: Likewise.
16523         * config.make.in: Likewise.
16524         * configure: Likewise.
16525         * configure.in: Likewise.
16526         * csu/Makefile: Likewise.
16527         * csu/version.c: Likewise.
16528         * debug/Makefile: Likewise.
16529         * dlfcn/Makefile: Likewise.
16530         * elf/Makefile: Likewise.
16531         * extra-lib.mk: Likewise.
16532         * iconv/Makefile: Likewise.
16533         * include/libc-symbols.h: Likewise.
16534         * include/shlib-compat.h: Likewise.
16535         * resolv/Makefile: Likewise.
16536         * resolv/res_libc.c: Likewise.
16537         * rt/Makefile: Likewise.
16538         * sysdeps/i386/asm-syntax.h: Likewise.
16539         * sysdeps/i386/sysdep.h: Likewise.
16540         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16541         * sysdeps/mach/sysdep.h: Likewise.
16542         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
16543         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
16544         * sysdeps/s390/asm-syntax.h: Likewise.
16545         * sysdeps/s390/s390-32/sysdep.h: Likewise.
16546         * sysdeps/s390/s390-64/sysdep.h: Likewise.
16547         * sysdeps/sh/sysdep.h: Likewise.
16548         * sysdeps/unix/sparc/sysdep.h: Likewise.
16549         * sysdeps/wordsize-32/divdi3.c: Likewise.
16550         * sysdeps/x86_64/sysdep.h: Likewise.
16552         * argp/Versions: Remove _argp_unlock_xxx.
16554         [BZ #13559]
16555         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
16556         * abilist/libBrokenLocale.abilist: Likewise.
16557         * abilist/libanl.abilist: Likewise.
16558         * abilist/libc.abilist: Likewise.
16559         * abilist/libcrypt.abilist: Likewise.
16560         * abilist/libdl.abilist: Likewise.
16561         * abilist/libm.abilist: Likewise.
16562         * abilist/libnsl.abilist: Likewise.
16563         * abilist/libpthread.abilist: Likewise.
16564         * abilist/libresolv.abilist: Likewise.
16565         * abilist/librt.abilist: Likewise.
16566         * abilist/libthread_db.abilist: Likewise.
16567         * abilist/libutil.abilist: Likewise.
16568         * abilist/libnss_db.abilist: New file.
16570         * scripts/abilist.awk: Add support for indirect functions.
16572         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
16574         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
16576         * shlib-versions: Remove entries for ports architectures.
16578         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
16579         files in ports.
16580         * elf/stackguard-macros.h: Remove support for IA-64.
16581         * elf/tst-auditmod1.c: Likewise.
16582         * sysdeps/generic/ldsodefs.h: Likewise.
16584         * sysdeps/unix/sysv/linux/configure.in: Ports should define
16585         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
16586         configure files.
16588         [BZ #13552]
16589         * configure.in: Remove --enable-omitfp support.
16590         * FAQ.in: Adjust.
16591         * config.make.in: Likewise.
16592         * Makeconfig: Likewise.
16593         * manual/install.texi: Likewise.
16595         In case anyone cares, the IA-64 architecture could move to ports.
16596         * sysdeps/ia64/*: Removed.
16597         * sysdeps/unix/sysv/linux/ia64/*: Removed.
16598         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
16600         [BZ #13555]
16601         * configure.in: Remove entries for unsupported architectures.
16603         [BZ #13533]
16604         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
16605         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
16606         routines.
16607         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
16608         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
16609         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
16610         fall back to using wcrtomb.
16611         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
16612         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
16613         renaming.
16614         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
16615         * wcsmbs/tst-c16c32-1.c: New file.
16617         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
16618         local variable.
16620         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
16622         * elf/tst-unique3.cc: Add explicit declaration of gets.
16623         * elf/tst-unique3lib.cc: Likewise.
16624         * elf/tst-unique3lib2.cc: Likewise.
16625         * elf/tst-unique4.cc: Likewise.
16627         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
16629 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
16631         [BZ #13566]
16632         * assert/assert.h (static_assert): Don't define for C++.
16633         * libio/stdio.h (gets): Do declare for C++ <= C++11.
16634         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
16636 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
16638         * iconv/loop.c (single loop): Fix assertion in storing of
16639         remaining bytes.
16641         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
16643 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
16645         * posix/getconf.c: Update copyright year.
16646         * nss/getent.c: Likewise.
16647         * nss/makedb.c: Likewise.
16648         * iconv/iconvconfig.c: Likewise.
16649         * iconv/iconv_prog.c: Likewise.
16650         * elf/ldconfig.c: Likewise.
16651         * elf/pldd.c: Likewise.
16652         * elf/sotruss.ksh: Likewise.
16653         * catgets/gencat.c: Likewise.
16654         * csu/version.c: Likewise.
16655         * elf/ldd.bash.in: Likewise.
16656         * elf/sprof.c (print_version): Likewise.
16657         * locale/programs/locale.c: Likewise.
16658         * locale/programs/localedef.c: Likewise.
16659         * login/programs/pt_chown.c: Likewise.
16660         * nscd/nscd.c (print_version): Likewise.
16661         * debug/xtrace.sh: Likewise.
16662         * malloc/memusage.sh: Likewise.
16663         * malloc/mtrace.pl: Likewise.
16664         * debug/catchsegv.sh: Likewise.
16666 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
16668         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
16669         pure attribute.
16671 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
16673         [BZ #13533]
16674         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
16675         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
16676         transformations.
16677         * iconv/gconv_int.h: Likewise.
16678         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
16679         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
16680         from libc for GLIBC_2.16.
16681         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
16682         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
16683         * wcsmbs/uchar.h: Really define mbstate_t.
16684         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
16685         * wcsmbs/c16rtomb.c: New file.
16686         * wcsmbs/mbrtoc16.c: New file.
16687         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
16688         for C/POSIX locale.
16689         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
16690         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
16692         * wcsmbs/wchar.h: Add missing __restrict.
16694 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
16696         [BZ #13532]
16697         * time/Makefile (routines): Add timespec_get.
16698         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
16699         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
16700         timespec for ISO C11.
16701         * time/timespec_get.c: New file.
16702         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
16703         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
16705         [BZ #13531]
16706         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
16707         * stdlib/stdlib.h: Declare aligned_alloc.
16708         * Versions.def: Add GLIBC_2.16 for libc.
16709         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
16711         [BZ 13527]
16712         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
16713         ISO C11.
16715         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
16716         code.
16718         [BZ #13528]
16719         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
16721         [BZ #13529]
16722         * assert/assert.h (static_assert): Define.
16724         * version.h: Update for 2.16 development version.
16726         [BZ #13526]
16727         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
16728         _ISOC11_SOURCE.
16730         * version.h (RELEASE): Bump for 2.15 release.
16731         * include/features.h (__GLIBC_MINOR__): Bump to 15.
16733         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
16734         Patch by Marek Polacek <mpolacek@redhat.com>.
16736         * bits/byteswap.h: Protect long long constants with __extension__.
16737         * sysdeps/i386/bits/byteswap.h: Likewise.
16738         * sysdeps/ia64/bits/byteswap.h: Likewise.
16739         * sysdeps/s390/bits/byteswap.h: Likewise.
16740         * sysdeps/x86_64/bits/byteswap.h: Likewise.
16742 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16744         [BZ #13540]
16745         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
16746         destination buffer.
16747         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
16749 2011-12-23  Marek Polacek  <polacek@redhat.com>
16751         * elf/dl-addr.c (determine_info): Add inline keyword.
16752         * elf/tst-auditmod4b.c (check_avx): Likewise.
16753         * elf/tst-auditmod6b.c (check_avx): Likewise.
16754         * elf/tst-auditmod6c.c (check_avx): Likewise.
16755         * elf/tst-auditmod7b.c (check_avx): Likewise.
16757 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
16759         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
16760         !__SSE_MATH__.
16762 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16764         [BZ #13540]
16765         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
16766         processing for last bytes.
16768 2011-08-06  Bruno Haible  <bruno@clisp.org>
16770         [BZ #13061]
16771         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
16772         U+0385, not to U+1FEE.
16774         [BZ #13062]
16775         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
16776         entry for U+00A5 U+0301.
16778 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
16780         [BZ #13166]
16781         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
16782         buffer for the output is too small.
16784         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
16785         optimization.
16787         [BZ #13185]
16788         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
16789         SSE flags if possible.
16791 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16793         [BZ #13540]
16794         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
16795         processing for last bytes.
16797 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
16799         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
16800         (syscall-list-default-options, syscall-list-default-condition)
16801         (syscall-list-includes): Define.
16802         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
16803         list of ABIs and options and #if conditions for each ABI.  Do not
16804         handle common syscalls between ABIs specially.
16805         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
16806         Remove.
16807         (syscall-list-variants, syscall-list-32bit-options)
16808         (syscall-list-32bit-condition, syscall-list-64bit-options)
16809         (syscall-list-64bit-condition): Define.
16810         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
16811         (syscall-list-variants, syscall-list-32bit-options)
16812         (syscall-list-32bit-condition, syscall-list-64bit-options)
16813         (syscall-list-64bit-condition): Define.
16814         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
16815         Remove.
16816         (syscall-list-variants, syscall-list-32bit-options)
16817         (syscall-list-32bit-condition, syscall-list-64bit-options)
16818         (syscall-list-64bit-condition): Define.
16819         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
16820         Remove.
16821         (syscall-list-variants, syscall-list-32bit-options)
16822         (syscall-list-32bit-condition, syscall-list-64bit-options)
16823         (syscall-list-64bit-condition): Define.
16825 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
16827         * locale/iso-639.def: Add brx entry.
16829         [BZ #13328]
16830         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
16831         Proposed by Mariusz_Cukr <marcukr@op.pl>.
16833         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
16834         __feraiseexcept_renamed.
16836 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
16838         [BZ #13538]
16839         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
16840         EPOLLET with unsigned values.
16841         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16842         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16844         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
16845         to large cancellation.
16846         * math/s_cacoshf.c: Likewise.
16847         * math/s_cacoshl.c: Likewise.
16849 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
16851         [BZ #13305]
16852         [BZ #12786]
16853         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
16854         * math/s_cacoshf.c: Likewise.
16855         * math/s_cacoshl.c: Likewise.
16857 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
16859         [BZ #13439]
16860         * iconv/gconv.h: Define __GCONV_SWAP.
16861         * iconvdata/unicode.c: The swap bit must be stored in __flags.
16862         * iconvdata/utf-16.c: Likewise.
16863         * iconvdata/utf-32.c: Likewise.
16865 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
16867         [BZ #13524]
16868         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
16869         numerator after shifting it by one limb.
16871 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
16873         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
16874         under [__USE_EXTERN_INLINES].
16876 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
16878         [BZ #13446]
16879         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
16881 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16883         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
16884         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
16885         optimized code.
16886         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
16887         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
16888         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
16889         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
16890         for strncasecmp/strncasecmp_l compilation.
16891         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
16892         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
16894 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
16896         [BZ #13484]
16897         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
16898         of __asm__.
16900 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
16902         [BZ #13506]
16903         * time/tzfile.c (__tzfile_read): Check values from file header.
16905 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
16907         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
16908         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
16909         * powerpc/powerpc32/dl-start.S: Likewise.
16910         * powerpc/powerpc32/elf/start.S: Likewise.
16911         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16912         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
16913         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
16914         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
16915         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16916         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
16917         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
16918         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16919         * powerpc/powerpc32/fpu/s_round.S: Likewise.
16920         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16921         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16922         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16923         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
16924         * powerpc/powerpc32/memset.S: Likewise.
16925         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16926         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16927         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16928         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16929         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16930         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16931         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16932         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16933         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
16934         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
16935         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
16936         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16937         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16939 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16941         * math/libm-test.inc: Added more nearbyint tests.
16942         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
16943         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
16944         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
16945         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
16947 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
16949         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
16950         FD_CLOEXEC.
16952 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16954         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
16955         Add wcscpy-ssse3 wcscpy-c.
16956         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
16957         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
16958         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
16959         * sysdeps/x86_64/wcschr.S: New file.
16960         * sysdeps/x86_64/wcsrchr.S: New file.
16961         * string/test-strcmp.c: Remove checking of wcscmp function for
16962         wrong alignments.
16963         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
16964         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
16965         wcsrchr-sse2 wcsrchr-c.
16966         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
16967         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
16968         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
16969         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
16970         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
16971         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
16972         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
16973         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
16974         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
16975         * wcsmbc/wcschr.c (WCSCHR): New macro.
16977 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16979         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
16980         * wcsmbs/test-wcsrchr.c: New file.
16981         * string/test-strrchr.c: Add wcsrchr support.
16982         (WIDE): New macro.
16983         * wcsmbs/test-wcscpy.c: New file.
16984         * string/test-strcpy.c: Add wcscpy support.
16985         (WIDE): New macro.
16987 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
16989         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
16990         the inner loop.
16992 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
16994         [BZ #13472]
16995         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
16997 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
16999         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
17000         Minor optimizations.
17002         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
17003         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
17004         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
17006 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
17008         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
17009         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
17010         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
17011         for gcc to avoid warnings.
17012         * inet/Makefile (tests): Add tst-checks.
17013         * inet/tst-checks.c: New file.
17015         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
17016         warning.
17018         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
17019         __wmemcmp_sse2.
17021         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
17022         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
17024         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
17026 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
17028         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
17029         problem.
17031         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
17033 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
17035         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
17036         conditional on GCC version.
17037         (__arch_compare_and_exchange_val_8_acq)
17038         (__arch_compare_and_exchange_val_16_acq)
17039         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
17040         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
17041         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
17043 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
17045         * sysdeps/sh/backtrace.c: New file.
17047 2011-12-02  Andreas Schwab  <schwab@redhat.com>
17049         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
17050         parenthesis.
17052 2011-12-01  Andreas Schwab  <schwab@redhat.com>
17054         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
17055         falling back to utime.
17057 2011-11-30  Andreas Schwab  <schwab@redhat.com>
17059         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
17060         expectations for float.
17062 2011-11-29  Andreas Schwab  <schwab@redhat.com>
17064         * locale/weight.h (findidx): Add parameter len.
17065         * locale/weightwc.h (findidx): Likewise.
17066         * posix/fnmatch_loop.c (FCT): Adjust caller.
17067         * posix/regcomp.c (build_equiv_class): Likewise.
17068         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
17069         * posix/regexec.c (check_node_accept_bytes): Likewise.
17070         * string/strcoll_l.c (STRCOLL): Likewise.
17071         * string/strxfrm_l.c (STRXFRM): Likewise.
17073 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
17075         * Makefile.in: Remove CVSOPT handling.
17076         * configure.in: Remove use of AC_REVISION.
17077         * iconvdata/Makefile (distribute): No need to filter out CVS.
17078         * scripts/list-sources.sh: Remove CVS, subversion and monotone
17079         handling.
17081 2011-11-16  Andreas Schwab  <schwab@redhat.com>
17083         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
17084         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
17085         [USE_AS_STRNCASECMP_L]: Likewise.
17086         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
17087         NO_TLS_DIRECT_SEG_REFS.
17088         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
17089         Fix argument offsets for non-PIC.
17090         [USE_AS_STRNCASECMP_L]: Likewise.
17091         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
17092         NO_TLS_DIRECT_SEG_REFS.
17094 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
17096         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
17097         O_CLOEXEC.
17098         * locale/loadlocale.c (_nl_load_locale): Likewise.
17100 2011-11-15  Andreas Schwab  <schwab@redhat.com>
17102         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
17103         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
17104         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
17105         (SYSCALL_GETTIME): Set errno on error.
17107         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
17108         count references to noai6ai_cached.
17110 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
17112         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
17114         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
17115         FD_CLOEXEC for /proc/self/maps.
17117         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
17118         FD_CLOEXEC for /proc/meminfo.
17120         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
17121         gai.conf.
17123         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
17124         FD_CLOEXEC for given file.
17126         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
17128         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
17129         FD_CLOEXEC for /etc/hosts.
17130         (_gethtent): Likewise.
17132         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
17134         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
17135         cancellation and set FD_CLOEXEC for /etc/netgroup.
17137         * nss/nss_files/files-key.c (search): Don't allow cancellation when
17138         reading /etc/publickey.
17140         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
17141         allow cancellation when reading /etc/group.
17143         * nss/nss_files/files-alias.c (internal_setent): Don't allow
17144         cancellation.
17145         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
17147         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
17148         when using data file.
17150         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
17152         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
17153         (write_nis_obj): Use "c" and "e" in fopen.
17155         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
17157         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
17159         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
17161         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
17163         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
17164         locale.alias.
17166         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
17168         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
17170         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
17172         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
17173         file parsing and set FD_CLOEXEC.
17175 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
17177         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
17179 2011-11-14  Andreas Schwab  <schwab@redhat.com>
17181         * malloc/arena.c (arena_get2): Don't call reused_arena when
17182         _int_new_arena failed.
17184 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
17186         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
17187         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
17188         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
17189         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17190         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17191         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
17192         to compile strcasecmp and strncasecmp.
17193         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
17194         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
17196         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
17198 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
17200         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
17201         locale-defines.sym to gen-as-const-headers.
17202         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
17203         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
17204         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
17205         to compile strcasecmp and strncasecmp.
17206         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
17207         strcasecmp_l and strncasecmp_l.
17208         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
17209         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
17210         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
17211         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
17212         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
17213         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
17214         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
17215         * sysdeps/i386/i686/multiarch/strncase.S: New file.
17216         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
17217         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
17218         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
17220 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
17222         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
17223         result of SYSDEP_GETTIME_CPU to retval.
17224         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
17225         parameter list to macro.  Remove trailing semicolon.  Adjust users.
17227         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
17228         variable.
17230         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
17231         mantissa words.
17232         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
17234         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
17235         from unused variable.
17237         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
17238         DWARF definitions.
17239         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
17240         for assembling.
17242         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
17243         over namespaces.
17245         * sunrpc/rpc_prot.c (rejected): Fix case value.
17247         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
17248         unsigned long long int to avoid warnings in shift.
17250         * posix/regex_internal.c (re_string_reconstruct): Actually use result
17251         of use of trans.
17252         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
17253         variable tmp.
17255         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
17256         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
17257         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
17259         * nis/nis_table.c (nis_list): Use variable of correct type for
17260         result of __follow_path call.
17262 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17264         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
17265         of math functions ceil, trunc, floor, round, and sqrt, when
17266         avaliable on the platform.
17267         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
17268         name clash.
17269         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17270         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17271         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17273 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
17275         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
17276         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17278 2011-11-11  Roland McGrath  <roland@hack.frob.com>
17280         * include/unistd.h: Fix __readlink return type.
17281         Reported by Chris Metcalf <cmetcalf@tilera.com>.
17283 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
17285         * stdlib/ucontext.h: Undo last change for makecontext.
17287 2011-11-11  Andreas Schwab  <schwab@redhat.com>
17289         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
17291         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
17292         * setjmp/setjmp.h: Mark functions as non-leaf.
17293         * setjmp/bits/setjmp2.h: Likewise.
17294         * stdlib/ucontext.h: Likewise.
17296 2011-11-10  Andreas Schwab  <schwab@redhat.com>
17298         * malloc/arena.c (_int_new_arena): Don't increment narenas.
17299         (reused_arena): Don't check arena limit.
17300         (arena_get2): Atomically check arena limit.
17302 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
17304         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
17305         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
17307         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
17308         instructions.
17310 2011-11-07  Andreas Schwab  <schwab@redhat.com>
17312         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
17313         handler when locking.
17315         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17316         Fix size of allocated buffer.
17318 2011-11-04  Andreas Schwab  <schwab@redhat.com>
17320         [BZ #10103]
17321         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
17322         declarations for long double functions.
17323         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
17325         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
17327 2011-11-03  Andreas Schwab  <schwab@redhat.com>
17329         * nscd/nscd.c (main): Don't start AVC thread until credentials are
17330         installed.
17332         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
17333         is disabled.
17335 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17337         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
17339 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
17341         * include/alloca.h (stackinfo_alloca_round): Define.
17342         (extend_alloca): Use it.
17343         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
17344         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
17345         here.
17347         * scripts/check-local-headers.sh: Ignore libaudit.h.
17349         * nscd/Makefile (extra-objs): Make recursively expanded.
17351 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
17353         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
17354         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17356         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
17357         * posix/tst-rfc3484-2.c: Likewise.
17358         * posix/tst-rfc3484-3.c: Likewise.
17360         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17361         process_vm_writev.
17362         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
17363         process_vm_writev.
17364         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
17365         process_vm_writev from libc using GLIBC_2.15 version.
17367         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
17369 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
17371         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
17372         stack usage.
17374 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
17376         [BZ #13367]
17377         * nss/getent.c (initgroups_keys): Show error message in case no group
17378         names are given.
17380         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
17381         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
17382         __bump_nl_timestamp.
17383         * nscd/connections (nscd_init): When host database is served open
17384         netlink socket and request notification about configuration changes.
17385         (main_loop_poll): Track netlink file descriptor and bump timestamp
17386         in case data becomes available.
17387         (main_loop_epoll): Likewise.
17388         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
17389         (database_pers_head): Add extra_data fileds.
17390         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
17391         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
17392         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
17393         Adjust caller.
17394         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
17395         in6ai data, call __free_in6ai.
17396         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
17397         Add -DHAVE_NETLINK.
17398         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
17399         interface information.  Reuse previous data if netlink timestamp
17400         is not changed.
17401         (__bump_nl_timestamp): New function.
17402         (__free_in6ai): New function.
17404 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
17406         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
17407         close_not_cancel_no_status here.
17408         (__check_pf): Reorganize code a bit to not call close twice if OOM.
17410 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
17412         [BZ #13276]
17413         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
17414         return value.
17416         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
17417         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
17418         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
17420 2011-07-03  Andreas Jaeger  <aj@suse.de>
17422         [BZ #10709]
17423         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
17424         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
17425         * math/libm-test.inc (sin_test): Add test case.
17427 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
17429         [BZ #13337]
17430         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
17431         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17433         * elf/chroot_canon.c (chroot_canon): Cleanups.
17435         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
17437         [BZ #13335]
17438         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
17439         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17441         * string/test-strchr.c: Make usable for strchrnul testing.
17442         * string/test-strchrnul.c: New file.
17443         * string/Makefile (strop-tests): Add strchrnul.
17445         * po/it.po: Update from translation team.
17446         * po/es.po: Likewise.
17448 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
17450         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
17451         the three constants needed as parameters.  Drop the others.
17452         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
17453         __m128i_strloadu_tolower.
17454         Create and initialize variable zero and use it in all the places
17455         where _mm_setzero_si128 was used.
17457         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
17458         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
17459         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
17460         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
17461         anymore.
17462         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
17463         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
17464         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
17465         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
17466         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
17467         __mpranred, __mptan.
17468         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
17469         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
17470         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
17471         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
17472         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
17473         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
17474         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
17475         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
17476         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
17478 2011-10-28  Andreas Schwab  <schwab@redhat.com>
17480         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
17481         redefine if SHARED.
17482         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
17484         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
17485         wide char related routines to wcsmbs subdir.
17487 2011-10-27  Andreas Schwab  <schwab@redhat.com>
17489         [BZ #13344]
17490         * misc/sys/cdefs.h (__THROWNL): Define.
17491         * posix/unistd.h: Use __THREADNL instead of __THREAD
17492         for memory synchronization functions.
17494 2011-10-26  Roland McGrath  <roland@hack.frob.com>
17496         [BZ #13349]
17497         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
17498         doesn't exist.
17499         * manual/stdio.texi (Obstack Streams): Node removed.
17501 2011-10-26  Andreas Schwab  <schwab@redhat.com>
17503         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
17504         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17505         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17507         * math/math_private.h (math_force_eval): Allow non-addressable
17508         arguments.
17509         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
17511 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
17513         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
17514         file is not needed.
17516         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
17517         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
17518         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17519         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17520         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17521         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17522         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17523         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
17524         Add AVX variants.
17525         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
17526         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
17527         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
17528         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
17529         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
17530         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
17531         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
17532         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
17533         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
17534         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
17535         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
17536         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
17537         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
17538         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
17539         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
17540         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
17541         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
17542         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
17543         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
17545         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
17546         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
17548         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
17549         place.  Use VEX encoding when compiling for AVX.
17551 2011-10-25  Andreas Schwab  <schwab@redhat.com>
17553         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
17554         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17556         * string/test-strchr.c (do_test): Don't generate NUL bytes.
17558 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
17560         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
17561         useless if() expression.
17562         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17563         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17564         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17565         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17566         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17567         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17568         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17569         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17570         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17571         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17572         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17573         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17574         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17575         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17576         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17577         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17578         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17579         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17580         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17582         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
17584 2011-10-25  Andreas Schwab  <schwab@redhat.com>
17586         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
17587         condition.
17588         * elf/dl-fini.c (_dl_sort_fini): Likewise.
17590 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
17592         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
17593         .text section.  Avoid duplicate constants.
17594         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17595         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17596         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17597         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17598         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17599         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17600         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17601         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17602         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17603         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
17604         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17605         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17606         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
17607         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
17608         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
17609         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
17610         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
17611         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17612         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17613         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17614         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17615         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17616         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17617         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
17618         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
17619         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
17620         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
17621         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
17622         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
17623         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17624         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
17625         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17626         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17627         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
17628         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
17629         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17630         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17631         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
17632         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
17633         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
17634         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
17635         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
17636         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
17637         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17638         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17640 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
17642         * sysdeps/x86_64/dla.h: Move to ...
17643         * sysdeps/x86_64/fpu/dla.h: ...here.
17644         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
17645         situations.  Use __builtin_fma only for gcc 4.6 and up.
17647         * config.make.in: Add have-mfma4 entry.
17648         * configure.in: Substitute libc_cv_cc_fma4.
17649         * math/Makefile (dbl-only-routines): Add sincostab.
17650         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
17651         Use __sincostab not sincos.
17652         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
17653         name is a macro.
17654         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17655         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17656         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17657         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
17658         using __copysign.
17659         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
17660         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
17661         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
17662         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
17663         and __inv.
17664         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
17665         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
17666         __copysign.
17667         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
17668         define aliases when function name is a macro.
17669         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
17670         sysdeps/ieee754/dbl-64/sincos.tbl.
17671         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
17672         fma4-enabled routines.
17673         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
17674         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
17675         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
17676         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
17677         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
17678         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
17679         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
17680         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
17681         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
17682         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
17683         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
17684         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
17685         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
17686         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
17687         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
17688         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
17689         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
17690         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
17691         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
17692         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
17693         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
17694         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
17695         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
17696         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
17697         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
17698         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
17699         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
17700         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
17701         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
17702         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
17704         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
17705         rename.
17706         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17707         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17708         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17709         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17710         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17711         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17712         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17713         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17715 2011-10-24  Andreas Schwab  <schwab@redhat.com>
17717         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
17719 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
17721         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
17723         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
17724         prediction.
17725         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
17727         * string/strnlen.c: Don't define STRNLEN, reverse logic.
17728         Remove unused variable magic_bits.
17729         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
17731         * string/strnlen.c: Define and use STRNLEN macro.
17732         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
17733         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
17734         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
17735         * wcsmbs/wcslen.c: Define and use WCSLEN.
17736         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
17737         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
17738         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
17739         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
17740         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
17741         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
17742         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17744 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17746         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17747         strnlen-sse2-no-bsf.
17748         Rename strlen-no-bsf to strlen-sse2-no-bsf.
17749         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
17750         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
17751         Add strnlen support.
17752         (USE_AS_STRNLEN): New macro.
17753         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
17754         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
17755         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
17756         * sysdeps/x86_64/wcslen.S: New file.
17758 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
17760         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17761         XMM-moves are used for copying on small sizes.
17763 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17765         * wcsmbs/Makefile (strop-tests): Add wcschr.
17766         * wcsmbs/test-wcschr.c: New file.
17767         * string/test-strchr.c: Update.
17768         Add wcschr support.
17769         (WIDE): New macro.
17771 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17773         * wcsmbs/Makefile (strop-tests): Add wcslen.
17774         * wcsmbs/test-wcslen.c: New file.
17775         * string/test-strlen.c: Update.
17776         Add wcslen support.
17777         (WIDE): New macro.
17779 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
17781         * po/it.po: Update from translation team.
17783 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17785         * sysdeps/x86_64/wcscmp.S: Update.
17786         Fix wrong comparison semantics.
17787         wcscmp shall use signed comparison not unsigned.
17788         Don't use substraction to avoid overflow bug.
17789         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
17790         * wcsmbc/wcscmp.c: Likewise.
17791         * string/test-strcmp.c: Likewise.
17792         Add new tests to check cases with negative values.
17794 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
17796         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
17797         * sysdeps/x86_64/dla.h: ...here.  New file.
17798         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
17799         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17800         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17801         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17802         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17803         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17804         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17805         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17806         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17808 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
17810         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
17811         __ynl_finite aliases.
17813 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
17815         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17817         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
17818         define DLA_FMA.
17819         [DLA_FMA] (EMULV): Use DLA_FMA.
17820         [DLA_FMA] (MUL12): Use EMULV.
17821         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
17822         that are not needed.
17823         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17824         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17825         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17826         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17827         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17828         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17829         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17831 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
17833         * math/s_nan.c: Undef __nan.
17834         * math/s_nanf.c: Undef __nanf.
17835         * math/s_nanl.c: Undef __nanl.
17836         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
17837         "math_private.h".
17839 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
17841         * math/s_catan.c: Add branch predictions.
17842         * math/s_catanf.c: Likewise.
17843         * math/s_catanh.c: Likewise.
17844         * math/s_catanhf.c: Likewise.
17845         * math/s_catanhl.c: Likewise.
17846         * math/s_catanl.c: Likewise.
17847         * math/s_cexp.c: Likewise.
17848         * math/s_cexpf.c: Likewise.
17849         * math/s_cexpl.c: Likewise.
17850         * math/s_clog.c: Likewise.
17851         * math/s_clog10.c: Likewise.
17852         * math/s_clog10f.c: Likewise.
17853         * math/s_clog10l.c: Likewise.
17854         * math/s_clogf.c: Likewise.
17855         * math/s_clogl.c: Likewise.
17856         * math/s_csqrt.c: Likewise.
17857         * math/s_csqrtf.c: Likewise.
17858         * math/s_csqrtl.c: Likewise.
17859         * math/s_ctanf.c: Likewise.
17860         * math/s_ctanh.c: Likewise.
17861         * math/s_ctanhf.c: Likewise.
17862         * math/s_ctanhl.c: Likewise.
17863         * math/s_ctanl.c: Likewise.
17865         * math/math_private.h: Define __nan, __nanf, __nanl.
17866         * math/s_cacosh.c: Include <math_private.h>.
17867         * math/s_cacoshl.c: Likewise.
17868         * math/s_casinh.c: Likewise.
17869         * math/s_casinhf.c: Likewise.
17870         * math/s_casinhl.c: Likewise.
17871         * math/s_ccos.c: Rely entire on ccosh.
17872         * math/s_ccosf.c: Rely entire on ccoshf.
17873         * math/s_ccosl.c: Rely entirely on ccoshl.
17874         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
17875         Remove tests for FE_INVALID.
17876         * math/s_ccoshf.c: Likewise.
17877         * math/s_ccoshl.c: Likewise.
17878         * math/s_csin.c: Likewise.
17879         * math/s_csinf.c: Likewise.
17880         * math/s_csinh.c Likewise.
17881         * math/s_csinhf.c: Likewise.
17882         * math/s_csinhl.c: Likewise.
17883         * math/s_csinl.c: Likewise.
17884         * math/s_ctan.c: Likewise.
17885         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
17886         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
17887         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
17889 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
17891         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
17892         compilation problems.
17894         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
17895         __builtin_expect.
17897 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
17899         * sysdeps/i386/configure.in: Test for -mfma4 option.
17900         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
17901         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
17902         COMMON_CPUID_INDEX_80000001.
17903         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
17904         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
17905         use it if FMA3 is not supported.
17906         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
17908         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
17909         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17911 2011-10-20  Andreas Schwab  <schwab@redhat.com>
17913         [BZ #12892]
17914         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
17915         it would create a cycle with a link time dependency.
17917 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
17919         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
17920         instruction.
17921         * string/Makefile (strop-tests): Add rawmemchr.
17922         * string/test-rawmemchr.c: New file.
17924         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
17925         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
17926         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
17927         when compiling str{,n}casecmp and when AVX is available.  Hook up
17928         new optimized code in initializers.
17930 2011-10-19  Andreas Schwab  <schwab@redhat.com>
17932         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
17933         __feraiseexcept instead of feraiseexcept.
17935 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
17937         * math/math_private.h: Define defaults for libc_fetestexcept and
17938         libc_feupdateenv.
17939         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
17940         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
17941         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17942         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17943         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17944         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17945         libc_fetestexcept and libc_feupdateenv.
17947         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
17948         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
17949         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
17950         * sysdeps/x86_64/fpu/math_private.h: Define special version of
17951         libc_feholdexcept_setround.
17953         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
17954         Add s_nearbyint-c and s_nearbyintf-c.
17955         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
17956         nearbyintf inlines.
17957         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
17958         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
17959         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
17960         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
17962         * math/math_private.h: Define defaults for libc_fegetround,
17963         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
17964         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
17965         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
17966         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
17967         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
17968         standard functions.
17969         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17970         Remove comments and hacks for old compiler versions.
17971         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17972         libc_fegetround, libc_fesetround, libc_feholdexcept, and
17973         libc_feholdexceptl.
17975 2011-10-18  Andreas Schwab  <schwab@redhat.com>
17977         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
17978         (__feraiseexcept_renamed): Add __NTH.
17979         (feraiseexcept): Add __NTH.  Rename local variables to fix
17980         namespace violations.
17982 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
17984         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
17986         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
17988         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
17989         recently added interfaces.
17990         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
17992         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
17993         about macro parameter expansion.
17995         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
17996         __NO_MATH_INLINES is defined.  Cleanups.
17998         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
17999         and __floorf is target has SSE4.1.
18000         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
18001         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
18002         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
18003         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
18005         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
18006         name.
18007         (floorf): Likewise.
18009         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
18011 2011-10-17  Andreas Schwab  <schwab@redhat.com>
18013         * misc/sys/cdefs.h: Fix last change.
18015         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
18016         database lookup.
18018 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
18020         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
18022         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
18023         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18024         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18025         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18026         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18027         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18028         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18029         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18030         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18031         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
18032         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
18033         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
18034         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
18035         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
18036         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
18037         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
18038         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
18039         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
18040         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
18041         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
18042         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
18043         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
18045         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
18046         ceil, ceilf, floor, floorf.
18048         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
18049         Perform IRELATIVE relocations last.
18051         * elf/do-rel.h: Add another parameter nrelative, replacing the
18052         local variable with the same name.  Change name of the function
18053         to end in Rel or Rela (uppercase).
18054         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
18055         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
18056         elf_dynamic_do_##reloc function.
18058 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
18060         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
18061         is sufficient, at least on modern CPUs.
18063         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
18065         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
18066         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
18068         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
18069         __expl_finite.
18070         * math/bits/math-finite.h: Add entries for exp.
18071         * math/e_expl.c: Add __*_finite alias.
18072         * sysdeps/i386/fpu/e_exp.S: Likewise.
18073         * sysdeps/i386/fpu/e_expf.S: Likewise.
18074         * sysdeps/i386/fpu/e_expl.c: Likewise.
18075         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18076         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18077         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18078         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18079         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
18080         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18081         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18083         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
18084         is sufficient, at least on modern CPUs.
18086         * ctype/ctype-info.c (__ctype_init): Define.
18087         * include/ctype.h (__ctype_init): Declare.
18088         (__ctype_b_loc): The variable is always initialized.
18089         (__ctype_toupper_loc): Likewise.
18090         (__ctype_tolower_loc): Likewise.
18091         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
18092         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
18094 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
18096         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
18098         * configure.in: Also look in $cxxmachine/include for C++ system
18099         headers.
18101 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18103         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
18104         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
18105         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
18106         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
18107         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
18108         (USE_AS_WMEMCMP): New macro.
18109         Fixing indents.
18110         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
18111         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
18112         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
18113         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
18114         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18115         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
18116         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
18117         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
18118         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
18119         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
18120         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
18121         (USE_AS_WMEMCMP): New macro.
18122         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
18123         * sysdeps/string/test-memcmp.c: Update.
18124         Fix simple_wmemcmp.
18125         Add new tests.
18126         * wcsmbs/wmemcmp.c: Update.
18127         (WMEMCMP): New macro.
18128         Fix overflow bug.
18130 2011-10-12  Andreas Jaeger  <aj@suse.de>
18132         [BZ #13268]
18133         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
18135 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
18137         * libio/iofwide.c (do_length): Avoid warning.
18139         * ctype/ctype.h (__isctype_f): Add missing __THROW.
18141 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
18143         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
18145         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
18146         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
18147         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
18148         * sysdeps/i386/i686/fpu/e_log.S: New file.
18149         * sysdeps/i386/i686/fpu/e_logf.S: New file.
18150         * sysdeps/i386/i686/fpu/e_logl.S: New file.
18152         * ctype/ctype.h: Add support for inlined isXXX functions when
18153         compiling C++ code.
18155 2011-10-14  Andreas Schwab  <schwab@redhat.com>
18157         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18159         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
18161 2011-10-13  Roland McGrath  <roland@hack.frob.com>
18163         [BZ #13291]
18164         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
18166 2011-10-13  Andreas Schwab  <schwab@redhat.com>
18168         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
18169         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
18170         feraiseexcept.
18172         * sysdeps/x86_64/memrchr.S: Check for zero size.
18174         * string/stratcliff.c: Add memrchr tests.
18176 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18178         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18179         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
18180         rawmemchr-sse2 rawmemchr-sse2-bsf.
18181         * sysdeps/i386/i686/multiarch/memchr.S: New file.
18182         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
18183         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
18184         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
18185         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
18186         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
18187         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
18188         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
18189         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
18190         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
18191         * string/memrchr.c (MEMRCHR): New macro.
18193 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
18195         Add integration with gcc's -ffinite-math-only and optimize wrapper
18196         functions in libm.
18197         * Versions.def: Define GLIBC_2.15 version for libm.
18198         * math/Makefile (headers): Add bits/math-finite.h.
18199         * math/bits/math-finite.h: New file.
18200         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
18201         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
18202         * math/e_acoshl.c: Add __*_finite alias.
18203         * math/e_acosl.c: Likewise.
18204         * math/e_asinl.c: Likewise.
18205         * math/e_atan2l.c: Likewise.
18206         * math/e_atanhl.c: Likewise.
18207         * math/e_coshl.c: Likewise.
18208         * math/e_exp10.c: Likewise.
18209         * math/e_exp10f.c: Likewise.
18210         * math/e_exp10l.c: Likewise.
18211         * math/e_exp2l.c: Likewise.
18212         * math/e_fmodl.c: Likewise.
18213         * math/e_gammal_r.c: Likewise.
18214         * math/e_hypotl.c: Likewise.
18215         * math/e_j0l.c: Likewise.
18216         * math/e_j1l.c: Likewise.
18217         * math/e_jnl.c: Likewise.
18218         * math/e_lgammal_r.c: Likewise.
18219         * math/e_log10l.c: Likewise.
18220         * math/e_log2l.c: Likewise.
18221         * math/e_logl.c: Likewise.
18222         * math/e_powl.c: Likewise.
18223         * math/e_sinhl.c: Likewise.
18224         * math/e_sqrtl.c: Likewise.
18225         * math/e_scalb.c: Completely rewritten and optimized.
18226         * math/e_scalbf.c: Likewise.
18227         * math/e_scalbl.c: Likewise.
18228         * math/w_acos.c: Likewise.
18229         * math/w_acosf.c: Likewise.
18230         * math/w_acosl.c: Likewise.
18231         * math/w_acosh.c: Likewise.
18232         * math/w_acoshf.c: Likewise.
18233         * math/w_acoshl.c: Likewise.
18234         * math/w_asin.c: Likewise.
18235         * math/w_asinf.c: Likewise.
18236         * math/w_asinl.c: Likewise.
18237         * math/w_atan2.c: Likewise.
18238         * math/w_atan2f.c: Likewise.
18239         * math/w_atan2l.c: Likewise.
18240         * math/w_atanh.c: Likewise.
18241         * math/w_atanhf.c: Likewise.
18242         * math/w_atanhl.c: Likewise.
18243         * math/w_exp10.c: Likewise.
18244         * math/w_exp10f.c: Likewise.
18245         * math/w_exp10l.c: Likewise.
18246         * math/w_fmod.c: Likewise.
18247         * math/w_fmodf.c: Likewise.
18248         * math/w_fmodl.c: Likewise.
18249         * math/w_j0.c: Likewise.
18250         * math/w_j0f.c: Likewise.
18251         * math/w_j0l.c: Likewise.
18252         * math/w_j1.c: Likewise.
18253         * math/w_j1f.c: Likewise.
18254         * math/w_j1l.c: Likewise.
18255         * math/w_jn.c: Likewise.
18256         * math/w_jnf.c: Likewise.
18257         * math/w_log.c: Likewise.
18258         * math/w_logf.c: Likewise.
18259         * math/w_logl.c: Likewise.
18260         * math/w_log10.c: Likewise.
18261         * math/w_log10f.c: Likewise.
18262         * math/w_log10l.c: Likewise.
18263         * math/w_log2.c: Likewise.
18264         * math/w_log2f.c: Likewise.
18265         * math/w_log2l.c: Likewise.
18266         * math/w_pow.c: Likewise.
18267         * math/w_powf.c: Likewise.
18268         * math/w_powl.c: Likewise.
18269         * math/w_remainder.c: Likewise.
18270         * math/w_remainderf.c: Likewise.
18271         * math/w_remainderl.c: Likewise.
18272         * math/w_scalb.c: Likewise.
18273         * math/w_scalbf.c: Likewise.
18274         * math/w_scalbl.c: Likewise.
18275         * math/w_sqrt.c: Likewise.
18276         * math/w_sqrtf.c: Likewise.
18277         * math/w_sqrtl.c: Likewise.
18278         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
18279         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
18280         used.
18281         * math/math_private.h: Declare __kernel_standard_f.
18282         * math/w_cosh.c: Remove cruft and optimize a bit.
18283         * math/w_coshf.c: Likewise.
18284         * math/w_coshl.c: Likewise.
18285         * math/w_exp2.c: Likewise.
18286         * math/w_exp2f.c: Likewise.
18287         * math/w_exp2l.c: Likewise.
18288         * math/w_hypot.c: Likewise.
18289         * math/w_hypotf.c: Likewise.
18290         * math/w_hypotl.c: Likewise.
18291         * math/w_lgamma.c: Likewise.
18292         * math/w_lgamma_r.c: Likewise.
18293         * math/w_lgammaf.c: Likewise.
18294         * math/w_lgammaf_r.c: Likewise.
18295         * math/w_lgammal.c: Likewise.
18296         * math/w_lgammal_r.c: Likewise.
18297         * math/w_sinh.c: Likewise.
18298         * math/w_sinhf.c: Likewise.
18299         * math/w_sinhl.c: Likewise.
18300         * math/w_tgamma.c: Likewise.
18301         * math/w_tgammaf.c: Likewise.
18302         * math/w_tgammal.c: Likewise.
18303         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18304         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18305         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
18306         Minor optimizations.  Pretty printing.  Remove cruft.
18307         * sysdeps/i386/fpu/e_acosf.S: Likewise.
18308         * sysdeps/i386/fpu/e_acosh.S: Likewise.
18309         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18310         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18311         * sysdeps/i386/fpu/e_acosl.c: Likewise.
18312         * sysdeps/i386/fpu/e_asin.S: Likewise.
18313         * sysdeps/i386/fpu/e_asinf.S: Likewise.
18314         * sysdeps/i386/fpu/e_atan2.S: Likewise.
18315         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
18316         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
18317         * sysdeps/i386/fpu/e_atanh.S: Likewise.
18318         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18319         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18320         * sysdeps/i386/fpu/e_exp10.S: Likewise.
18321         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
18322         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
18323         * sysdeps/i386/fpu/e_exp2.S: Likewise.
18324         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
18325         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
18326         * sysdeps/i386/fpu/e_fmod.S: Likewise.
18327         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
18328         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
18329         * sysdeps/i386/fpu/e_hypot.S: Likewise.
18330         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
18331         * sysdeps/i386/fpu/e_log.S: Likewise.
18332         * sysdeps/i386/fpu/e_log10.S: Likewise.
18333         * sysdeps/i386/fpu/e_log10f.S: Likewise.
18334         * sysdeps/i386/fpu/e_log10l.S: Likewise.
18335         * sysdeps/i386/fpu/e_log2.S: Likewise.
18336         * sysdeps/i386/fpu/e_log2f.S: Likewise.
18337         * sysdeps/i386/fpu/e_log2l.S: Likewise.
18338         * sysdeps/i386/fpu/e_logf.S: Likewise.
18339         * sysdeps/i386/fpu/e_logl.S: Likewise.
18340         * sysdeps/i386/fpu/e_pow.S: Likewise.
18341         * sysdeps/i386/fpu/e_powf.S: Likewise.
18342         * sysdeps/i386/fpu/e_powl.S: Likewise.
18343         * sysdeps/i386/fpu/e_remainder.S: Likewise.
18344         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
18345         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
18346         * sysdeps/i386/fpu/e_scalb.S: Likewise.
18347         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18348         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18349         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
18350         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
18351         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
18352         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18353         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18354         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18355         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18356         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18357         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18358         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18359         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18360         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18361         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18362         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18363         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18364         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18365         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18366         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18367         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18368         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18369         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18370         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18371         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18372         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18373         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18374         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18375         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18376         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18377         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18378         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18379         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18380         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
18381         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18382         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18383         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18384         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18385         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18386         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18387         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18388         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18389         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18390         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18391         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18392         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18393         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18394         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18395         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18396         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18397         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18398         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18399         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18400         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18401         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
18402         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18403         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18404         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18405         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18406         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18407         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18408         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18409         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18410         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18411         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18412         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18413         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18414         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18415         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18416         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18417         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18418         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18419         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18420         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
18421         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18422         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18423         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18424         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18425         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18426         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18427         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18428         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
18429         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18430         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18431         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18432         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18433         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18434         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
18435         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18436         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18437         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18438         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18439         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18440         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18441         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18442         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18443         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18444         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18445         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18446         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18447         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18448         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18449         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
18450         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
18451         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
18452         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
18453         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
18454         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
18455         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
18456         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18457         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18458         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18459         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18460         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
18461         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18462         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
18463         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
18464         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
18465         (__isnanf): Likewise.
18466         (__isinf_ns): Likewise.
18467         (__isinf_nsf): Likewise.
18468         (__finite): Likewise.
18469         (__finitef): Likewise.
18470         (__ieee754_sqrt): Define as macro.
18471         (__ieee754_sqrtf): Define as macro.
18472         (__ieee754_sqrtl): Define as macro.
18473         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
18474         inlined copy.
18475         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
18476         __FINITE_MATH_ONLY__ consistent.
18477         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
18479 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
18481         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
18482         of rawmemchr.
18484         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
18486 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
18488         * po/ja.po: Update from translation team.
18490 2011-10-08  Roland McGrath  <roland@hack.frob.com>
18492         * locale/programs/locarchive.c (prepare_address_space): New function.
18493         (create_archive, enlarge_archive, open_archive): Use it.
18495         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
18496         inside [SHARED], where it is used.
18498         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
18500         * nss/getent.c (netgroup_keys): Remove unused variable.
18501         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18503 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
18505         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
18506         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
18507         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
18508         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
18509         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
18510         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
18511         * math/Makefile (libm-calls): Add s_isinf_ns.
18512         * math/divtc3.c: Use __isinf_nsl instead of isinf.
18513         * math/multc3.c: Likewise.
18514         * math/s_casin.c: Likewise.
18515         * math/s_casinf.c: Likewise.
18516         * math/s_casinl.c: Likewise.
18517         * math/s_ccos.c: Likewise.
18518         * math/s_ccosf.c: Likewise.
18519         * math/s_ccosl.c: Likewise.
18520         * math/s_ctan.c: Likewise.
18521         * math/s_ctanf.c: Likewise.
18522         * math/s_ctanh.c: Likewise.
18523         * math/s_ctanhf.c: Likewise.
18524         * math/s_ctanhl.c: Likewise.
18525         * math/s_ctanl.c: Likewise.
18526         * math/w_fmod.c: Likewise.
18527         * math/w_fmodf.c: Likewise.
18528         * math/w_fmodl.c: Likewise.
18529         * math/w_remainder.c: Likewise.
18530         * math/w_remainderf.c: Likewise.
18531         * math/w_remainderl.c: Likewise.
18532         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
18533         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
18534         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
18535         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
18536         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
18537         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
18538         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
18539         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
18541         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
18542         of the number.
18543         * stdio-common/printf_fphex.c: Likewise.
18544         * stdio-common/printf_size.c: Likewise.
18546         * math/e_exp10.c: Include math_private.h using <...> not "...".
18547         * math/e_exp10f.c: Likewise.
18548         * math/e_exp10l.c: Likewise.
18549         * math/e_exp2l.c: Likewise.
18550         * math/e_j0l.c: Likewise.
18551         * math/e_j1l.c: Likewise.
18552         * math/e_jnl.c: Likewise.
18553         * math/e_lgammal_r.c: Likewise.
18554         * math/e_rem_pio2l.c: Likewise.
18555         * math/e_scalb.c: Likewise.
18556         * math/e_scalbf.c: Likewise.
18557         * math/e_scalbl.c: Likewise.
18558         * math/k_cosl.c: Likewise.
18559         * math/k_sinl.c: Likewise.
18560         * math/k_tanl.c: Likewise.
18561         * math/s_cacoshf.c: Likewise.
18562         * math/s_catan.c: Likewise.
18563         * math/s_catanf.c: Likewise.
18564         * math/s_catanh.c: Likewise.
18565         * math/s_catanhf.c: Likewise.
18566         * math/s_catanhl.c: Likewise.
18567         * math/s_catanl.c: Likewise.
18568         * math/s_ccosh.c: Likewise.
18569         * math/s_ccoshf.c: Likewise.
18570         * math/s_ccoshl.c: Likewise.
18571         * math/s_cexp.c: Likewise.
18572         * math/s_cexpf.c: Likewise.
18573         * math/s_cexpl.c: Likewise.
18574         * math/s_clog.c: Likewise.
18575         * math/s_clog10.c: Likewise.
18576         * math/s_clog10f.c: Likewise.
18577         * math/s_clog10l.c: Likewise.
18578         * math/s_clogf.c: Likewise.
18579         * math/s_clogl.c: Likewise.
18580         * math/s_csin.c: Likewise.
18581         * math/s_csinf.c: Likewise.
18582         * math/s_csinh.c: Likewise.
18583         * math/s_csinhf.c: Likewise.
18584         * math/s_csinhl.c: Likewise.
18585         * math/s_csinl.c: Likewise.
18586         * math/s_csqrt.c: Likewise.
18587         * math/s_csqrtf.c: Likewise.
18588         * math/s_csqrtl.c: Likewise.
18589         * math/s_ctan.c: Likewise.
18590         * math/s_ctanf.c: Likewise.
18591         * math/s_ctanh.c: Likewise.
18592         * math/s_ctanhf.c: Likewise.
18593         * math/s_ctanhl.c: Likewise.
18594         * math/s_ctanl.c: Likewise.
18595         * math/s_ldexp.c: Likewise.
18596         * math/s_ldexpf.c: Likewise.
18597         * math/s_ldexpl.c: Likewise.
18598         * math/s_significand.c: Likewise.
18599         * math/s_significandf.c: Likewise.
18600         * math/s_significandl.c: Likewise.
18601         * math/w_acos.c: Likewise.
18602         * math/w_acosf.c: Likewise.
18603         * math/w_acosh.c: Likewise.
18604         * math/w_acoshf.c: Likewise.
18605         * math/w_acoshl.c: Likewise.
18606         * math/w_acosl.c: Likewise.
18607         * math/w_asin.c: Likewise.
18608         * math/w_asinf.c: Likewise.
18609         * math/w_asinl.c: Likewise.
18610         * math/w_atan2.c: Likewise.
18611         * math/w_atan2f.c: Likewise.
18612         * math/w_atan2l.c: Likewise.
18613         * math/w_atanh.c: Likewise.
18614         * math/w_atanhf.c: Likewise.
18615         * math/w_atanhl.c: Likewise.
18616         * math/w_cosh.c: Likewise.
18617         * math/w_coshf.c: Likewise.
18618         * math/w_coshl.c: Likewise.
18619         * math/w_dremf.c: Likewise.
18620         * math/w_exp10.c: Likewise.
18621         * math/w_exp10f.c: Likewise.
18622         * math/w_exp10l.c: Likewise.
18623         * math/w_exp2.c: Likewise.
18624         * math/w_exp2f.c: Likewise.
18625         * math/w_fmod.c: Likewise.
18626         * math/w_fmodf.c: Likewise.
18627         * math/w_fmodl.c: Likewise.
18628         * math/w_hypot.c: Likewise.
18629         * math/w_hypotf.c: Likewise.
18630         * math/w_hypotl.c: Likewise.
18631         * math/w_j0.c: Likewise.
18632         * math/w_j0f.c: Likewise.
18633         * math/w_j0l.c: Likewise.
18634         * math/w_j1.c: Likewise.
18635         * math/w_j1f.c: Likewise.
18636         * math/w_j1l.c: Likewise.
18637         * math/w_jn.c: Likewise.
18638         * math/w_jnf.c: Likewise.
18639         * math/w_jnl.c: Likewise.
18640         * math/w_lgamma.c: Likewise.
18641         * math/w_lgamma_r.c: Likewise.
18642         * math/w_lgammaf.c: Likewise.
18643         * math/w_lgammaf_r.c: Likewise.
18644         * math/w_lgammal.c: Likewise.
18645         * math/w_lgammal_r.c: Likewise.
18646         * math/w_log.c: Likewise.
18647         * math/w_log10.c: Likewise.
18648         * math/w_log10f.c: Likewise.
18649         * math/w_log10l.c: Likewise.
18650         * math/w_log2.c: Likewise.
18651         * math/w_log2f.c: Likewise.
18652         * math/w_log2l.c: Likewise.
18653         * math/w_logf.c: Likewise.
18654         * math/w_logl.c: Likewise.
18655         * math/w_pow.c: Likewise.
18656         * math/w_powf.c: Likewise.
18657         * math/w_powl.c: Likewise.
18658         * math/w_remainder.c: Likewise.
18659         * math/w_remainderf.c: Likewise.
18660         * math/w_remainderl.c: Likewise.
18661         * math/w_scalb.c: Likewise.
18662         * math/w_scalbf.c: Likewise.
18663         * math/w_scalbl.c: Likewise.
18664         * math/w_sinh.c: Likewise.
18665         * math/w_sinhf.c: Likewise.
18666         * math/w_sinhl.c: Likewise.
18667         * math/w_sqrt.c: Likewise.
18668         * math/w_sqrtf.c: Likewise.
18669         * math/w_sqrtl.c: Likewise.
18670         * math/w_tgamma.c: Likewise.
18671         * math/w_tgammaf.c: Likewise.
18672         * math/w_tgammal.c: Likewise.
18674         * po/ja.po: Update from translation team.
18676 2011-09-29  Andreas Jaeger  <aj@suse.de>
18678         [BZ #13179]
18679         * sunrpc/netname.c (netname2host): Fix logic.
18681         [BZ #6779]
18682         [BZ #6783]
18683         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
18684         correctly.
18685         * math/w_remainder.c (__remainder): Likewise.
18686         * math/w_remainderf.c (__remainderf): Likewise.
18687         * math/libm-test.inc (remainder_test): Add test cases.
18689 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18691         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
18692         sdiv_qrnnd.
18694 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
18696         * string/test-memcmp.c: Avoid unncessary #defines.
18697         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18699 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18701         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
18702         Use new sse2 version for core i3 - i7 as it's faster
18703         than sse42 version.
18704         (bit_Prefer_PMINUB_for_stringop): New.
18705         * sysdeps/x86_64/rawmemchr.S: Update.
18706         Replace with faster SSE2 version.
18707         * sysdeps/x86_64/memrchr.S: New file.
18708         * sysdeps/x86_64/memchr.S: Update.
18709         Replace with faster SSE2 version.
18711 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
18713         * elf/dl-load.c (lose): Add cast to avoid warning.
18715 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
18717         * po/ca.po: Update from translation team.
18719         * inet/getnetgrent_r.c: Hook up nscd.
18720         * nscd/Makefile (routines): Add nscd_netgroup.
18721         (nscd-modules): Add netgroupcache.
18722         (CFLAGS-netgroupcache.c): Define.
18723         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
18724         (cache_search): Add const to second parameter.
18725         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
18726         INNETGR.
18727         (dbs): Add netgrdb entry.
18728         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
18729         (verify_persistent_db): Handle netgrdb.
18730         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
18731         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
18732         GETFDNETGR.
18733         (netgroup_response_header): Define.
18734         (innetgroup_response_header): Define.
18735         (datahead): Add netgroup_response_header and innetgroup_response_header
18736         elements.
18737         * nscd/nscd.conf: Add entries for netgroup cache.
18738         * nscd/nscd.h (dbtype): Add netgrdb.
18739         (_PATH_NSCD_NETGROUP_DB): Define.
18740         (netgroup_iov_disabled): Declare.
18741         (xmalloc, xcalloc, xrealloc): Move declarations here.
18742         (cache_search): Adjust prototype.
18743         Add netgroup-related prototypes.
18744         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
18745         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
18746         (__nscd_innetgr): Declare.
18747         * nscd/selinux.c (perms): Use access_vector_t as element type and
18748         add netgroup-related initializers.
18749         * nscd/netgroupcache.c: New file.
18750         * nscd/nscd_netgroup.c: New file.
18751         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
18752         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
18753         For four parameters use innetgr.
18754         * nss/nss_files/files-init.c: Add definition and callback for netgr.
18755         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
18756         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
18757         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
18759         * nscd/connections.c (register_traced_file): Don't register file
18760         for disabled databases.
18762 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
18764         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
18766         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
18767         from tree and freeing node.
18769 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
18771         * nss/nsswitch.c (__nss_database_lookup): Handle
18772         nss_parse_service_list out of memory case.
18774 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
18776         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
18777         out of memory case.
18779 2011-10-04  Andreas Schwab  <schwab@redhat.com>
18781         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
18782         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
18783         pass it down.
18784         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
18785         elf_machine_rela, elf_machine_lazy_rel.
18786         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
18787         (ELF_DYNAMIC_DO_REL): Likewise.
18788         (ELF_DYNAMIC_DO_RELA): Likewise.
18789         (ELF_DYNAMIC_RELOCATE): Likewise.
18790         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
18791         to ELF_DYNAMIC_DO_REL.
18792         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
18793         (dl_main): In trace mode always set __RTLD_NOIFUNC.
18794         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
18795         elf_machine_rela.
18796         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
18797         skip_ifunc, don't call ifunc function if non-zero.
18798         (elf_machine_rela): Likewise.
18799         (elf_machine_lazy_rel): Likewise.
18800         (elf_machine_lazy_rela): Likewise.
18801         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
18802         (elf_machine_lazy_rel): Likewise.
18803         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
18804         Likewise.
18805         (elf_machine_lazy_rel): Likewise.
18806         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18807         Likewise.
18808         (elf_machine_lazy_rel): Likewise.
18809         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
18810         (elf_machine_lazy_rel): Likewise.
18811         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
18812         (elf_machine_lazy_rel): Likewise.
18813         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18814         (elf_machine_lazy_rel): Likewise.
18815         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
18816         (elf_machine_lazy_rel): Likewise.
18817         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
18818         (elf_machine_lazy_rel): Likewise.
18819         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18820         (elf_machine_lazy_rel): Likewise.
18822 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
18824         * nss/nss_files/files-init.c (_nss_files_init): Use static
18825         initialization for all the *_traced_file variables.
18827 2011-09-28  Andreas Schwab  <schwab@redhat.com>
18829         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18831 2011-09-27  Roland McGrath  <roland@hack.frob.com>
18833         [BZ #13226]
18834         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
18836 2011-09-27  Andreas Schwab  <schwab@redhat.com>
18838         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18839         Reread the line before reparsing it.
18841 2011-09-26  Andreas Schwab  <schwab@redhat.com>
18843         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
18845 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
18846             Maxim Kuvyrkov  <maxim@codesourcery.com>
18847             Joseph Myers  <joseph@codesourcery.com>
18849         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
18850         if needed for __stack_chk_guard.
18852 2011-09-19  Roland McGrath  <roland@hack.frob.com>
18854         * sysdeps/posix/spawni.c (script_execute): Always define it.
18855         It will be optimized away if unused.
18856         (maybe_script_execute): New function.
18857         (__spawni): Call it.
18859         * Makerules: Don't include tls.make.
18860         (config-tls): Always set to thread.
18861         * tls.make.c: File removed.
18863 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
18865         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
18866         * config.make.in (CPPFLAGS-config): New substituted variable.
18868 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
18870         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
18872         [BZ #13192]
18873         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
18874         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
18876 2011-09-15  Roland McGrath  <roland@hack.frob.com>
18878         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
18879         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
18880         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18881         (CALL_FAIL): Likewise.
18882         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
18883         (CALL_FAIL): Macro removed.
18884         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
18886 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
18888         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
18889         for __FINITE_MATH_ONLY__ == 1.
18891 2011-09-15  Andreas Schwab  <schwab@redhat.com>
18893         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
18894         __ieee754_sqrt instead of sqrt.
18895         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
18896         __ieee754_sqrtf instead of sqrtf.
18897         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
18898         __floorf instead of floorf.
18899         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
18900         __floorf, __truncf instead of floorf, truncf.
18902 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
18904         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
18906         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
18907         __extern_always_inline.
18908         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
18909         32-bit.
18911 2011-09-14  Andreas Schwab  <schwab@redhat.com>
18913         * elf/rtld.c (dl_main): Also relocate in dependency order when
18914         doing symbol dependency testing.
18916 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
18918         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18919         Always define `refsym'.
18921 2011-09-13  Andreas Schwab  <schwab@redhat.com>
18923         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
18924         (__FD_ELT): Renamed from __FDELT.
18925         * misc/bits/select2.h (__FD_ELT): Likewise.
18926         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
18927         __FD_MASK instead of __FDELT, __FDMASK.
18928         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18929         Likewise.
18930         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18931         Likewise.
18933         * elf/Makefile (gen-ldd): Fix pattern.
18935         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
18936         (init_tls): Likewise.
18938 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
18940         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
18942 2011-09-12  Andreas Schwab  <schwab@redhat.com>
18944         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
18945         `struct cmsghdr *' instead of `void *'.
18946         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
18947         Likewise.
18949 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
18951         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
18952         if non-absolute.
18953         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
18954         ldd_rewrite_script.
18956 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
18958         * configure.in: Remove --with-tls option.
18959         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
18960         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
18961         out in case it is missing.
18962         * sysdeps/ia64/elf/configure.in: Likewise.
18963         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
18964         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
18965         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
18966         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
18967         * sysdeps/sh/elf/configure.in: Likewise.
18968         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
18969         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18970         * sysdeps/x86_64/elf/configure.in: Likewise.
18971         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
18972         * sysdeps/mach/hurd/tls.h: Likewise.
18974         [BZ #13067]
18975         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
18977         [BZ #13090]
18978         * configure.in: Fix use of AC_INIT.
18980         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
18982 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
18984         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
18985         __set_errno.
18986         * malloc/hooks.c: Likewise.
18988         [BZ #11929]
18989         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
18990         variables statically.
18991         (narenas): Initialize.
18992         (list_lock): Initialize.
18993         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
18994         initializtion of main_arena and list_lock.  Small cleanups.
18995         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
18996         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
18997         Add initializers to main_arena and mp_.
18998         (malloc_state): Remove pagesize member.  Change all users to use
18999         GLRO(dl_pagesize).
19001         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
19002         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
19003         is always initialized.
19005         * malloc/malloc.c: Removed unused configurations and dead code.
19006         * malloc/arena.c: Likewise.
19007         * malloc/hooks.c: Likewise.
19008         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
19010         * include/tls.h: Removed.  USE___THREAD must always be defined.
19011         * bits/libc-tsd.h: Don't handle !USE___THREAD.
19012         * elf/dl-libc.c: Likewise.
19013         * elf/dl-tsd.c: Likewise.
19014         * include/errno.h: Likewise.
19015         * include/netdb.h: Likewise.
19016         * include/resolv.h: Likewise.
19017         * inet/herrno-loc.c: Likewise.
19018         * inet/herrno.c: Likewise.
19019         * malloc/arena.c: Likewise.
19020         * malloc/hooks.c: Likewise.
19021         * malloc/malloc.c: Likewise.
19022         * resolv/res-state.c: Likewise.
19023         * resolv/res_libc.c: Likewise.
19024         * sysdeps/i386/dl-machine.h: Likewise.
19025         * sysdeps/ia64/dl-machine.h: Likewise.
19026         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
19027         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19028         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
19029         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
19030         * sysdeps/sh/dl-machine.h: Likewise.
19031         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19032         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19033         * sysdeps/unix/i386/sysdep.S: Likewise.
19034         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19035         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
19036         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
19037         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19038         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
19039         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19040         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19041         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19042         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19043         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19044         * sysdeps/unix/x86_64/sysdep.S: Likewise.
19045         * sysdeps/x86_64/dl-machine.h: Likewise.
19046         * tls.make.c: Likewise.
19048         * configure.in: Remove --with-__thread option.  Make tests for
19049         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
19050         tls_model attribute fail if no support is available.  Remove
19051         USE_IN_LIBIO.
19052         * Makeconfig: Adjust for dropped configure option.  All features are
19053         now mandatory.
19054         * Makerules: Likewise.
19055         * Versions.def: Likewise.
19056         * argp/argp-fmtstream.c: Likewise.
19057         * argp/argp-fmtstream.h: Likewise.
19058         * argp/argp-help.c: Likewise.
19059         * assert/assert.c: Likewise.
19060         * config.h.in: Likewise.
19061         * config.make.in: Likewise.
19062         * configure: Likewise.
19063         * configure.in: Likewise.
19064         * csu/Versions: Likewise.
19065         * csu/init.c: Likewise.
19066         * elf/tst-audit2.c: Likewise.
19067         * elf/tst-tls10.c: Likewise.
19068         * elf/tst-tls10.h: Likewise.
19069         * elf/tst-tls11.c: Likewise.
19070         * elf/tst-tls12.c: Likewise.
19071         * elf/tst-tls14.c: Likewise.
19072         * elf/tst-tlsmod11.c: Likewise.
19073         * elf/tst-tlsmod12.c: Likewise.
19074         * elf/tst-tlsmod13.c: Likewise.
19075         * elf/tst-tlsmod13a.c: Likewise.
19076         * elf/tst-tlsmod14a.c: Likewise.
19077         * elf/tst-tlsmod15b.c: Likewise.
19078         * elf/tst-tlsmod16a.c: Likewise.
19079         * elf/tst-tlsmod16b.c: Likewise.
19080         * elf/tst-tlsmod7.c: Likewise.
19081         * elf/tst-tlsmod8.c: Likewise.
19082         * elf/tst-tlsmod9.c: Likewise.
19083         * gmon/gmon.c: Likewise.
19084         * grp/fgetgrent_r.c: Likewise.
19085         * grp/putgrent.c: Likewise.
19086         * hurd/fopenport.c: Likewise.
19087         * include/libc-symbols.h: Likewise.
19088         * include/tls.h: Likewise.
19089         * intl/gettextP.h: Likewise.
19090         * intl/loadinfo.h: Likewise.
19091         * locale/global-locale.c: Likewise.
19092         * locale/localeinfo.h: Likewise.
19093         * mach/devstream.c: Likewise.
19094         * malloc/arena.c: Likewise.
19095         * malloc/set-freeres.c: Likewise.
19096         * misc/err.c: Likewise.
19097         * misc/getttyent.c: Likewise.
19098         * misc/mntent_r.c: Likewise.
19099         * posix/getopt.c: Likewise.
19100         * posix/wordexp.c: Likewise.
19101         * pwd/fgetpwent_r.c: Likewise.
19102         * resolv/Versions: Likewise.
19103         * resolv/res_hconf.c: Likewise.
19104         * shadow/fgetspent_r.c: Likewise.
19105         * shadow/putspent.c: Likewise.
19106         * stdio-common/printf_fphex.c: Likewise.
19107         * stdio-common/tmpfile.c: Likewise.
19108         * stdlib/abort.c: Likewise.
19109         * stdlib/fmtmsg.c: Likewise.
19110         * sunrpc/auth_unix.c: Likewise.
19111         * sunrpc/clnt_perr.c: Likewise.
19112         * sunrpc/clnt_tcp.c: Likewise.
19113         * sunrpc/clnt_udp.c: Likewise.
19114         * sunrpc/clnt_unix.c: Likewise.
19115         * sunrpc/openchild.c: Likewise.
19116         * sunrpc/svc_simple.c: Likewise.
19117         * sunrpc/svc_tcp.c: Likewise.
19118         * sunrpc/svc_udp.c: Likewise.
19119         * sunrpc/svc_unix.c: Likewise.
19120         * sunrpc/xdr.c: Likewise.
19121         * sunrpc/xdr_array.c: Likewise.
19122         * sunrpc/xdr_rec.c: Likewise.
19123         * sunrpc/xdr_ref.c: Likewise.
19124         * sunrpc/xdr_stdio.c: Likewise.
19126 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
19128         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19130 2011-07-03  Andreas Jaeger  <aj@suse.de>
19132         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
19133         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
19134         regenerate with gen-libm-tests.pl.
19136 2010-05-12  Petr Baudis  <pasky@suse.cz>
19138         [BZ #11589]
19139         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
19140         around j0() zero points by switching to j1().
19141         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19142         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19143         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19144         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19146 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
19148         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
19149         instead of 0.
19150         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
19151         instead of 0.                              .
19152         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19153         Patch in part by Pavel Roskin <proski@gnu.org>.
19155         [BZ #13138]
19156         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
19157         realloc.
19158         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
19159         Free memory block if necessary.
19161         [BZ #12847]
19162         * libio/genops.c (INTDEF): For string streams the _lock pointer can
19163         be NULL.  Don't lock in this case.
19165 2011-09-09  Roland McGrath  <roland@hack.frob.com>
19167         * elf/elf.h (ELFOSABI_GNU): New macro.
19168         (ELFOSABI_LINUX): Define to that.
19170 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
19172         * string/strncat.c (strncat): Undef the symbol in case it has been
19173         defined in bits/string.h.
19175 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
19177         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
19179         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
19180         link map.
19182 2011-08-17  Andreas Jaeger  <aj@suse.de>
19184         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
19186 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
19187             Ian Lance Taylor  <iant@google.com>
19189         * math/libm-test.inc (lround_test): New testcase.
19190         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
19192 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
19194         * Makefile: Remove support for automatic cvs check-ins.
19195         * Makerules: Likewise.
19196         * config.make.in: Likewise.
19197         * configure.in: Likewise.
19198         * intl/Makefile: Likewise.
19199         * locale/Makefile: Likewise.
19200         * po/Makefile: Likewise.
19201         * posix/Makefile: Likewise.
19202         * sysdeps/gnu/Makefile: Likewise.
19203         * sysdeps/mach/hurd/Makefile: Likewise.
19204         * sysdeps/sparc/sparc32/Makefile: Likewise.
19206         [BZ #13118]
19207         * posix/Makefile (bug-regex32-ENV): Define.
19208         Patch by John Stanley <jpsinthemix@verizon.net>.
19210         * misc/Makefile (headers): Add bits/select2.h.
19211         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
19212         * misc/bits/select2.h: New file.
19213         * include/bits/select2.h: New file.
19214         * debug/Makefile (routines): Add fdelt_chk.
19215         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
19216         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
19217         FD_ISSET.
19218         * debug/fdelt_chk.c: New file.
19220         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
19221         * wcsmbs/test-wmemcmp.c: Likewise.
19222         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
19223         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
19225 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19227         * string/Makefile (strop-tests): Add memcmp.
19228         * string/test-wmemcmp.c: New file.
19229         * string/test-memcmp.c: Add wmemcmp support.
19231 2011-09-08  Roland McGrath  <roland@hack.frob.com>
19233         [BZ #13153]
19234         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
19235         2011-07-19 change.
19237         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
19238         garbage value in a __mach_port_mod_refs call in the cases of the
19239         task-self and thread-self ports.
19241 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19243         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
19245 2011-09-08  Andreas Schwab  <schwab@redhat.com>
19247         * elf/dl-load.c (lose): Check for non-null L.
19249 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
19251         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
19253         * elf/dl-libc.c (dlerror_run): Pass back error code from
19254         dl_catch_error.
19256         [BZ #13123]
19257         * elf/dl-load.c (lose): Free l_origin if it is valid.
19259         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
19260         names.
19261         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
19262         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19263         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19264         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19265         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
19266         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
19268 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19270         * sysdeps/powerpc/fpu/e_hypot.c: New file.
19271         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
19272         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
19273         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
19274         * sysdeps/powerpc/fpu/k_cosf.c: New file.
19275         * sysdeps/powerpc/fpu/k_sinf.c: New file.
19276         * sysdeps/powerpc/fpu/s_cosf.c: New file.
19277         * sysdeps/powerpc/fpu/s_sinf.c: New file.
19278         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
19279         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
19281 2011-08-15  Alan Modra  <amodra@gmail.com>
19283         [BZ #13092]
19284         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
19285         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
19286         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
19287         ppc_mcount to static-only-routines.
19288         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
19289         __mcount_internal.
19290         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
19291         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
19293 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
19295         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
19296         for finite and infinity parameters.
19298 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
19300         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
19301         and add nop instructions for throughput optimization.
19302         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19304 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
19306         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
19307         aligned copy for power7 with vector-scalar instructions.
19308         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
19310 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
19312         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
19313         AVX check.
19315 2011-09-07  Andreas Schwab  <schwab@redhat.com>
19317         [BZ #13144]
19318         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
19319         last change.
19321 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
19323         * sysdeps/unix/sysv/linux/x86_64/init-first.c
19324         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
19325         syscall wrapper around clock_gettime in __vdso_clock_gettime.
19326         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
19327         clock_gettime.
19329 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
19331         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
19332         Forgot to demangle the pointer.
19334         * sysdeps/i386/sysdep.h: Define atom_text_section.
19335         * sysdeps/x86_64/sysdep.h: Likewise.
19336         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
19337         section with atom_text_section.
19338         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19339         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19340         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
19341         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19342         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
19344         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
19345         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
19346         already be defined.  Change to take two parameters and don't assign
19347         result to variable.  Adjust all users.
19348         Define INTERNAL_GETTIME if not already defined.
19349         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
19350         call.
19351         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
19352         HAVE_CLOCK_GETTIME_VSYSCALL.
19353         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
19355         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
19356         gettimeofday vsyscall, just use time.
19358 2011-09-06  Andreas Schwab  <schwab@redhat.com>
19360         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
19361         <errno.h>.
19363 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
19365         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
19366         syscall on x86-64.
19367         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
19368         syscall.
19369         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
19370         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
19371         syscall if possible.
19373 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
19375         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
19376         e_ident.  Don't pass to find_mapsXX.
19377         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
19379 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19381         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19382         strchr-sse2-no-bsf strrchr-sse2-no-bsf
19383         * sysdeps/x86_64/multiarch/strchr.S: Update.
19384         Check bit_slow_BSF bit.
19385         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19386         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
19387         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
19389 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
19391         [BZ #13134]
19392         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
19393         before glibc 2.15.
19394         (tryshell): Define.
19395         (__spawni): Change last parameter to be flag.  Test
19396         SPAWN_XFLAGS_USE_PATH flag to use path or not.
19397         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
19398         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
19399         * posix/spawni.c: Likewise.
19400         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
19401         * posix/spawnp.c: Likewise.  Change normal version to use
19402         SPAWN_XFLAGS_USE_PATH.
19403         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
19404         SPAWN_XFLAGS_TRY_SHELL.
19406         [BZ #13150]
19407         * posix/glob.h: Remove gcc 1.x support.
19409         [BZ #13068]
19410         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
19412 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19414         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19415         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
19416         strrchr-sse2-bsf
19417         * sysdeps/i386/i686/multiarch/strchr.S: New file.
19418         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
19419         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
19420         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
19421         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
19422         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
19424 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19426         * sysdeps/x86_64/wcscmp.S: New file.
19428         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
19429         wcscmp-c wcscmp-sse2
19430         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
19431         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
19432         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
19433         * wcsmbs/wcscmp.c: Allow renaming.
19435 2011-09-05  David S. Miller  <davem@davemloft.net>
19437         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
19438         stack slot, rather than the struct return pointer slot.
19439         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
19440         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
19441         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
19442         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
19444 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
19446         * po/ja.po: Update from translation team.
19448         [BZ #13144]
19449         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
19450         kernel in 64-bit binaries.
19452 2011-09-01  David S. Miller  <davem@davemloft.net>
19454         * elf/elf.h (HWCAP_SPARC_*): Move to..
19455         * sysdeps/sparc/sysdep.h: this new file and add new values.
19456         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
19457         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
19458         _DL_HWCAP_COUNT to 24.
19459         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19460         entries.
19461         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
19462         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
19463         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
19464         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
19465         instead of magic constants.
19466         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19468 2011-08-31  David S. Miller  <davem@davemloft.net>
19470         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
19471         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
19472         Reimplement to do errno handling inline.
19473         (SYSCALL_ERROR_HANDLER): New macro.
19474         (__SYSCALL_STRING): Do not do errno handling in asm.
19475         (__CLONE_SYSCALL_STRING): Delete.
19476         (__INTERNAL_SYSCALL_STRING): Delete.
19477         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
19478         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
19479         (PSEUDO): Reimplement to do errno handling inline.
19480         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
19481         (SYSCALL_ERROR_HANDLER): New macro.
19482         (__SYSCALL_STRING): Do not do errno handling in asm.
19483         (__CLONE_SYSCALL_STRING): Delete.
19484         (__INTERNAL_SYSCALL_STRING): Delete.
19485         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
19486         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
19487         i386.
19488         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
19489         (inline_syscall*): Add 'err' argument.
19490         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
19491         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
19492         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
19493         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
19495         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
19496         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19498 2011-08-30  Andreas Schwab  <schwab@redhat.com>
19500         * elf/rtld.c (dl_main): Relocate objects in dependency order.
19502 2011-08-29  Jiri Olsa <jolsa@redhat.com>
19504         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
19505         directive.
19507 2011-08-24  David S. Miller  <davem@davemloft.net>
19509         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
19511 2011-08-24  Andreas Schwab  <schwab@redhat.com>
19513         * elf/Makefile: Add rules to build and run unload8 test.
19514         * elf/unload8.c: New file.
19515         * elf/unload8mod1.c: New file.
19516         * elf/unload8mod1x.c: New file.
19517         * elf/unload8mod2.c: New file.
19518         * elf/unload8mod3.c: New file.
19520         * elf/dl-close.c (_dl_close_worker): Reset private search list if
19521         it wasn't used.
19523 2011-08-23  David S. Miller  <davem@davemloft.net>
19525         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
19526         subtract stack bias.
19527         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
19528         %sp not %fp in calculations.
19529         (_JMPBUF_UNWINDS_ADJ): Likewise.
19531         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
19532         (aio_suspend): Call it to force an exception region around the
19533         AIO_MISC_WAIT() invocation.
19535 2011-08-23  Andreas Schwab  <schwab@redhat.com>
19537         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
19538         backslash.
19540 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
19542         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
19543         protection macro.
19544         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
19545         and <dl-machine.h>.
19546         (Elf64_FuncDesc): Remove.
19548 2011-08-22  David S. Miller  <davem@davemloft.net>
19550         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
19551         sigaltstack check, add missing cfi directives.
19552         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
19553         missing cfi directives, and sigaltstack handling.
19555 2011-08-16  Andreas Schwab  <schwab@redhat.com>
19557         [BZ #11724]
19558         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
19559         object is seen twice.
19560         * elf/dl-fini.c (_dl_sort_fini): Likewise.
19562         * elf/Makefile (distribute): Add tst-initorder2.c.
19563         (tests): Add tst-initorder2.
19564         (modules-names): Add tst-initorder2a tst-initorder2b
19565         tst-initorder2c tst-initorder2d.  Add rules to build them.
19566         ($(objpfx)tst-initorder2.out): New rule.
19567         * elf/tst-initorder2.c: New file.
19568         * elf/tst-initorder2.exp: New file.
19570 2011-08-22  Andreas Schwab  <schwab@redhat.com>
19572         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
19574         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
19575         dependencies back to end of function.
19577         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19578         $(elfobjdir)/ld.so.
19580 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
19582         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
19583         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
19584         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
19585         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
19586         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
19587         of __vdso_gettimeofday.
19588         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
19589         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
19590         attribute_hidden.
19591         (_libc_vdso_platform_setup): Remove initialization of
19592         __vdso_gettimeofday and __vdso_time.
19594 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
19596         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
19597         and fgetc_unlocked.
19598         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
19599         getc_unlocked.
19601         * elf/dl-open.c (add_to_global): Report additions to the global scope
19602         for LD_DEBUG=scopes.
19603         (dl_open_worker): Also print scope of newly loaded dependencies.
19604         (_dl_show_scope): Indicate if there is no scope.
19606         [BZ #13114]
19607         * stdio-common/Makefile (tests): Add bug24.
19608         * stdio-common/bug24.c: New file.
19610 2011-08-19  Andreas Jaeger  <aj@suse.de>
19612         [BZ #13114]
19613         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
19614         non-existant file when using close-on-exec mode.
19616 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
19618         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
19619         the very first instruction.
19621         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
19622         the CFI state in the end.
19623         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
19624         inclusion of dl-trampoline.h.
19625         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
19627 2011-08-19  Andreas Schwab  <schwab@redhat.com>
19629         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
19630         expectations for long double.
19632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
19633         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
19635 2011-08-14  David S. Miller  <davem@davemloft.net>
19637         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
19638         artificual limit depends upon the system page size.
19640 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
19642         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
19643         * resolv/Makefile: Define CFLAGS-libresolv.
19645 2011-08-17  Andreas Schwab  <schwab@redhat.com>
19647         * nss/makedb.c (compute_tables): Make variables used in nested
19648         function static.
19650 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
19652         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
19653         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
19654         if buffer was too small.
19656         * elf/pldd.c (main): Attach to all threads in the process.
19657         Rewrite /proc handling to use *at functions.
19659 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
19661         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
19662         specifies first scope to show.
19663         (dl_open_worker): Update callers.  Move printing scope of new
19664         object to before the relocation.
19665         * elf/rtld.c (dl_main): Update _dl_show_scope call.
19666         * sysdeps/generic/ldsodefs.h: Update declaration.
19668         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
19669         string for the scope number.
19671 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
19673         * nscd/servicescache.c (cache_addserv): Make sure written is always
19674         initialized.
19676 2011-08-14  Roland McGrath  <roland@hack.frob.com>
19678         * sysdeps/i386/i486/bits/atomic.h
19679         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
19680         statement expression, so as to suppress "set but not used" warning.
19681         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
19683         * string/strncat.c (STRNCAT): Use prototype definition.
19685         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
19686         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
19687         -Iprograms here.
19688         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
19689         (localedef-modules): Add localedef.
19690         (locale-modules): Add locale.
19692         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
19693         * elf/rtld.c (dl_main): Invert order of assignment in last change,
19694         to avoid a warning.
19696 2011-08-14  David S. Miller  <davem@davemloft.net>
19698         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
19699         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
19701 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
19703         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
19704         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
19705         * elf/rtld.c (dl_main): Set l_name of vDSO.
19706         Call _dl_show_scope when DL_DEBUG_SCOPES.
19707         (process_dl_debug): Recognize scopes flag and also set it for all.
19708         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
19709         Declare _dl_show_scope.
19711         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
19712         (do_dlopen): Pass caller_dlopen to dl_open.
19713         (__libc_dlopen_mode): Initialize caller_dlopen.
19715         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
19716         of libc.  Make tolower call locale-independent.  Optimize a bit by
19717         using isdigit instead of isalnum.
19718         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
19720 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
19722         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
19723         was a dependency or dynamically loaded.
19725 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
19727         * intl/l10nflist.c: Allow architecture-specific pop function.
19728         * sysdeps/x86_64/l10nflist.c: New file.
19730         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
19731         classification.
19733 2011-08-10  Andreas Schwab  <schwab@redhat.com>
19735         * include/dirent.h: Add libc_hidden_proto for scandirat and
19736         scandirat64.  Don't declare __scandirat64.
19737         * dirent/scandirat.c: Add libc_hidden_def.
19738         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
19739         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
19741 2011-08-10  David S. Miller  <davem@davemloft.net>
19743         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
19744         enum.
19745         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19746         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19747         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19749 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
19751         * Versions.def [libc]: Add GLIBC_2.15.
19752         * dirent/Makefile (routines): Add scandirat and scandirat64.
19753         * dirent/Versions [libc]: Export scandirat and scandirat64 for
19754         GLIBC_2.15.
19755         * dirent/dirent.h: Declare scandirat and scandirat64.
19756         * dirent/scandirat.c: New file.
19757         * dirent/scandirat64.c: New file.
19758         * sysdeps/wordsize-64/scandirat.c: New file.
19759         * sysdeps/wordsize-64/scandirat64.c: New file.
19760         * dirent/opendir.c: Define opendirat.
19761         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
19762         using scandirat.
19763         * dirent/scandir64.c: Adjust for scandir.c change.
19764         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
19765         __scandirat64, and __scandir_cancel_handler.
19766         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
19767         additional parameter and use openat instead of open (outside of ld.so).
19768         Add new __opendir as wrapper around __opendirat.
19769         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
19770         here without requiring old scandirat implementation.
19772 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
19774         * dirent/scandir.c (cancel_handler): Renamed to
19775         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
19776         defined.  Adjust users.
19777         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
19778         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
19780 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
19782         * string/test-string.h (IMPL): Use __STRING to expand name and then
19783         stringify it.
19785         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
19786         of cleanups.
19788 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19790         * string/Makefile: Update.
19791         (strop-tests): Append strncat.
19792         * string/test-wcscmp.c: New file.
19793         New comprehensive test for wcscmp.
19794         * string/test-strcmp.c: Update.
19795         (WIDE): New define.
19797 2011-07-22  Andreas Schwab  <schwab@redhat.com>
19799         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
19800         line.
19802 2011-07-26  Andreas Schwab  <schwab@redhat.com>
19804         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19805         encoding to ACE if AI_IDN.
19807 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
19809         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
19810         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
19812 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19814         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
19815         Fix overflow bug in strncat.
19816         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
19818         * string/test-strncat.c: Update.
19819         Add new tests for checking overflow bugs.
19821 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19823         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19824         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
19825         * sysdeps/i386/i686/multiarch/strcat.S: New file.
19826         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
19827         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
19828         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
19829         * sysdeps/i386/i686/multiarch/strncat.S: New file.
19830         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
19831         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
19833         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
19834         (USE_AS_STRCAT): Define.
19835         Add strcat and strncat support.
19836         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19838 2011-07-25  Andreas Schwab  <schwab@redhat.com>
19840         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
19841         __n bigger than INT_MAX+1.
19842         (__strncmp_g): Likewise.
19844 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
19846         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
19847         * libio/stido.h: Likewise.
19849         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
19850         (AF_NFC): Define.
19851         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
19852         (AF_NFC): Define.
19854         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
19855         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19856         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19857         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19858         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19860         [BZ #13021]
19861         * scripts/test-installation.pl: Don't expect libnss_test1 to be
19862         installed.
19864         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
19865         typo.
19866         (_dl_x86_64_save_sse): Likewise.
19868 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
19870         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
19871         OSXSAVE.
19872         (_dl_x86_64_save_sse): Likewise.
19874         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
19876         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
19878 2011-07-21  Andreas Schwab  <schwab@redhat.com>
19880         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
19881         change.
19882         (_dl_x86_64_save_sse): Use correct AVX check.
19884 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19886         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
19887         bug in strncpy/strncat.
19888         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
19890 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
19892         * string/tester.c (test_strcat): Add tests for different alignments
19893         of source and destination.
19894         (test_strncat): Likewise.
19896 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
19898         [BZ #12852]
19899         * posix/glob.c (glob): Check passed in values before using them in
19900         expressions to avoid some overflows.
19901         (glob_in_dir): Likewise.
19903         [BZ #13007]
19904         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
19905         check for AVX enablement so that we don't crash with old kernels and
19906         new hardware.
19907         * elf/tst-audit4.c: Add same checks here.
19908         * elf/tst-audit6.c: Likewise.
19910         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
19912 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
19914         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
19916 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
19918         * po/cs.po: Update from translation team.
19919         * po/bg.po: Likewise.
19921 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
19923         * misc/sys/cdefs.h: Add support for const attribute.
19924         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
19925         to gnu_dev_{major,minor,makedev} functions.
19927 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
19929         * intl/dcigettext.c (get_output_charset): Add missing bracket.
19931 2011-07-20  Andreas Schwab  <schwab@redhat.com>
19933         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
19934         strlen results.
19936 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19938         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
19939         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
19940         register in order to avoid conflicts with the soft frame pointer
19941         being held in r11 when necessary.
19942         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19943         (INTERNAL_VSYSCALL_NCS): Likewise.
19945 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
19947         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
19948         * elf/dl-fini.c (_dl_fini): Adjust caller.
19949         * elf/dl-close.c (_dl_close_worker): Likewise.
19950         * sysdeps/generic/ldsodefs.h: Adjust declaration.
19952 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
19954         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
19955         "aux_cache->nlibs < 0".
19957         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
19958         in the reload-count case.
19960 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19962         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19963         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
19964         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
19965         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
19966         * sysdeps/x86_64/multiarch/strcat.S: New file.
19967         * sysdeps/x86_64/multiarch/strncat.S: New file.
19968         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
19969         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
19970         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
19971         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
19972         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
19973         (USE_AS_STRCAT): Define.
19974         Add strcat and strncat support.
19975         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19976         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19977         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
19978         * string/strncat.c: Update.
19979         (USE_AS_STRNCAT): Define.
19980         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19981         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
19982         and i7.
19983         * sysdeps/x86_64/multiarch/init-arch.h
19984         (bit_Prefer_PMINUB_for_stringop): New.
19985         (index_Prefer_PMINUB_for_stringop): Likewise.
19986         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
19987         bit_Prefer_PMINUB_for_stringop.
19989 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
19991         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
19992         buffer64.
19993         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
19994         of casting of buffer.
19995         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
19996         buffer32 and buffer64.
19997         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
19998         writes instead of casting of buffer.
19999         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
20000         buffer32.
20001         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
20002         casting of buffer.
20004 2011-07-19  Andreas Schwab  <schwab@redhat.com>
20006         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
20008 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
20010         * nscd/nscd.c (termination_handler): Don't do anything for a database
20011         if it has not yet been initialized.
20013 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
20015         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
20017 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
20019         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
20021 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
20023         * po/nl.po: Update from translation team.
20024         * po/sv.po: Likewise.
20026 2011-07-16  Roland McGrath  <roland@hack.frob.com>
20028         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
20029         now disallowed by GCC.
20031         * configure.in (use-default-link): Default to yes if a test -shared
20032         link meets our qualifications.
20033         * configure: Regenerated.
20035         * config.make.in (output-format): New variable.
20036         * configure.in: Check for ld --print-output-format support.
20037         * configure: Regenerated.
20038         * Makerules ($(common-objpfx)format.lds)
20039         [$(output-format) != unknown]: Just use $(output-format),
20040         instead of the linker-script munging.
20042 2011-07-14  Roland McGrath  <roland@hack.frob.com>
20044         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
20045         of $(common-objpfx)shlib.lds.
20046         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
20048         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
20049         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
20051         * configure.in (-z relro check): Adjust test code to add a large
20052         writable data section after it.
20053         * configure: Regenerated.
20055 2011-07-11  Roland McGrath  <roland@hack.frob.com>
20057         * configure.in (-z relro check): Fix test code to make the variable
20058         truly const.
20059         * configure: Regenerated.
20061 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
20063         * nscd/nscd.h (struct traced_file): Define.
20064         (struct database_dyn): Remove inotify_descr, reset_res, and filename
20065         elements.  Add traced_files.
20066         (inotify_fd): Declare.
20067         (register_traced_file): Declare.
20068         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
20069         (inotify_fd): Export.
20070         (resolv_conf_descr): Remove.
20071         (nscd_init): Move inotify descriptor creation to main.
20072         Don't register files for notification here.
20073         (register_traced_file): New function.
20074         (invalidate_cache): Don't use reset_res to determine whether to call
20075         res_init, go through the list of registered files.
20076         (main_loop_poll): The inotify descriptors are now stored in the
20077         structures for the traced files.
20078         (main_loop_epoll): Likewise
20079         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
20080         to __nss_disable_nscd.
20081         * nscd/cache.c (prune_cache): There is no single inotify descriptor
20082         for a database anymore.  Check the records for all the registered
20083         files instead.
20084         * nss/Makefile (libnss_files-routines): Add files-init.
20085         (libnss_db-routines): Add db-init.
20086         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
20087         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
20088         * nss/nss_db/db-init.c: New file.
20089         * nss/nss_files/files-init.c: New file.
20090         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
20091         __nss_lookup_function.
20092         (__nss_lookup_function): Call nss_load_library.
20093         (nss_load_all_libraries): New function.
20094         (__nss_disable_nscd): Take parameter with callback function for files
20095         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
20096         used for the cached services.
20097         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
20098         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
20099         options for features to all the files in nscd.
20101         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
20103 2011-07-10  Roland McGrath  <roland@hack.frob.com>
20105         * csu/elf-init.c (__libc_csu_init): Comment typo.
20107 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
20109         * po/pl.po: Update from translation team.
20110         * po/ja.po: Likewise.
20111         * po/ru.po: Likewise.
20112         * po/ko.po: Likewise.
20113         * po/fr.po: Likewise.
20115 2011-07-09  Roland McGrath  <roland@hack.frob.com>
20117         * configure.in (.ctors/.dtors header and trailer check):
20118         Use an empirical test on a built program.
20119         * configure: Regenerated.
20121         * configure.in (-z relro check): Use an empirical test on a built DSO.
20122         Detect, but do not require, on ia64.
20123         * configure: Regenerated.
20125         * configure.in (READELF): Find it with AC_CHECK_TOOL.
20126         Update tests that use readelf to use $READELF instead.
20127         * configure: Regenerated.
20129 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
20131         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
20132         if the result is not used.
20134 2011-07-05  Andreas Jaeger  <aj@suse.de>
20136         [BZ#9696]
20137         * stdlib/tst-strtod.c: Add testcase.
20139 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
20141         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
20142         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
20143         The latter has a higher limit.  Take additional parameter to pass to
20144         the new function.
20145         (__pathconf): Pass file to __statfs_link_max.
20146         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
20147         __statfs_link_max.
20148         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
20149         __statfs_link_max.
20151         [BZ #12868]
20152         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
20153         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20154         Handle Lustre.
20155         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
20156         (__statfs_filesize_max): Likewise.
20157         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
20159 2011-07-05  Andreas Jaeger  <aj@suse.de>
20161         * resolv/res_comp.c (dn_skipname): Remove unused variable.
20163 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
20165         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
20166         `status' variable.
20167         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
20168         Likewise.
20170 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
20172         * Makefile (strop-tests): Add strncat.
20173         * string/test-strncat.c: New file.
20175 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
20177         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
20179 2011-06-21  Andreas Jaeger  <aj@suse.de>
20181         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
20182         Copy rule from iconvdata/Makefile.
20184 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
20186         [BZ #12922]
20187         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
20188         but no long options are defined, just return 'W'.
20190 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
20192         [BZ #9696]
20193         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
20195 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
20197         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
20198         netgroups to read.
20199         (innetgr): Likewise.
20201 2011-07-05  Roland McGrath  <roland@hack.frob.com>
20203         * config.make.in (install_root): Default to $(DESTDIR).
20205 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
20207         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
20209 2011-07-02  Roland McGrath  <roland@hack.frob.com>
20211         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
20213         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
20214         containing directory rather than embedding absolute directory names.
20216         * scripts/check-local-headers.sh: Rewritten using awk.
20217         Match by word, not by line.  Print error messages for matches.
20218         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
20220         * Makerules [shlib-lds-flags empty]:
20221         ($(common-objpfx)libc_pic.opts): New target.
20222         ($(common-objpfx)libc_pic.os.clean): New target.
20223         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
20225         * config.make.in (OBJCOPY): New variable.
20226         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
20227         * configure: Regenerated.
20229         * config.make.in (use-default-link): New variable.
20230         * configure.in (use_default_link): Grok --with-default-link to set it.
20231         * configure: Regenerated.
20232         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
20233         (shlib-lds, shlib-lds-flags): Define to empty.
20235         * Makerules (shlib-lds): New variable.
20236         (shlib-lds-flags): New variable.
20237         (build-shlib, build-moduile, build-module-asneeded): Use it.
20238         ($(common-objpfx)libc.so): Use $(shlib-lds).
20239         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
20240         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
20242         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
20243         DT_FLAGS/DT_FLAGS_1 with zero flags.
20245         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
20246         linker script munging.
20248 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
20250         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
20251         as 128-bit value.
20252         * crypt/sha512.c (sha512_process_block): Perform total addition using
20253         128-bit if possible.
20254         (__sha512_finish_ctx): Likewise.
20255         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
20256         as 64-bit value.
20257         * crypt/sha256.c (SWAP64): Define.
20258         (sha256_process_block): Perform total addition using 64-bit if
20259         possible.
20260         (__sha256_finish_ctx): Likewise.
20262 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
20264         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
20265         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20266         * nscd/hstcache.c (cache_addhst): Likewise.
20267         * nscd/grpcache.c (cache_addgr): Likewise.
20268         * nscd/aicache.c (addhstaiX): Likewise
20269         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
20271 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
20273         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
20274         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20275         * nscd/hstcache.c (cache_addhst): Likewise.
20276         * nscd/grpcache.c (cache_addgr): Likewise.
20277         * nscd/aicache.c (addhstaiX): Likewise
20279 2011-07-01  Andreas Schwab  <schwab@redhat.com>
20281         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
20282         domain only when needed.
20284 2011-06-30  Andreas Schwab  <schwab@redhat.com>
20286         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
20287         is always restored.
20289 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
20291         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
20292         are re-adding the entry.
20293         * nscd/servicescache.c (cache_addserv): Likewise.
20295 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
20297         * sysdeps/generic/dl-irel.h: fix protection against multiple
20298         inclusions.
20299         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
20301 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
20303         [BZ #12935]
20304         * malloc/memusage.sh: Fix quoting in message.
20305         * debug/xtrace.sh: Likewise.
20307         * configure.in: Remove support for --experimental-malloc option, make
20308         it the default.
20309         * config.make.in: Likewise.
20310         * malloc/Makefile: Likewise.
20312 2011-06-27  Andreas Schwab  <schwab@redhat.com>
20314         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
20315         two-byte characters.
20317 2011-06-27  Roland McGrath  <roland@hack.frob.com>
20319         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
20320         AC_CACHE_CHECK invocation.
20321         * configure: Regenerated.
20323         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
20325 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
20327         [BZ #12350]
20328         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
20329         bit from old_res_options.
20331         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
20333         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
20334         value type for setfct.
20336 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
20338         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20339         __gettimeofday instead of gettimeofday.
20341 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
20343         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
20345 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
20347         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
20349         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
20350         info.
20352 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
20354         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20355         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20356         strcpy-sse2-unaligned strncpy-sse2-unaligned
20357         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
20358         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
20359         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
20360         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
20361         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
20362         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
20363         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
20364         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
20365         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
20366         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
20367         (STRCPY): Support SSE2 and SSSE3 versions.
20369 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
20371         [BZ #12874]
20372         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
20373         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
20374         kernels which artificially limit size of requests.
20376 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
20378         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20379         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20380         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
20381         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
20382         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
20383         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
20384         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
20385         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
20386         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
20387         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
20388         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
20389         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
20390         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
20391         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
20392         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
20393         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20394         Enable unaligned load optimization for Intel Core i3, i5 and i7
20395         processors.
20396         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
20397         Define.
20398         (index_Fast_Unaligned_Load): Define.
20399         (HAS_FAST_UNALIGNED_LOAD): Define.
20401 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
20403         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
20405 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
20407         [BZ #12907]
20408         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
20409         until it is clear that the information is realy needed.
20410         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
20412 2011-06-22  Andreas Schwab  <schwab@redhat.com>
20414         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
20416 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
20418         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20419         /sys/devices/system/cpu/online if it is usable.
20421         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
20422         reading the information from the /proc filesystem to once a second.
20424 2011-06-21  Andreas Jaeger  <aj@suse.de>
20426         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
20427         NULL after inclusion of kernel headers.
20429 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
20431         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
20432         calls to internal_setent.
20434         [BZ #12885]
20435         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
20436         addresses using gethostbyname4_r ignore IPv4 addresses.
20438         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
20439         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
20441         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
20443 2011-06-20  David S. Miller  <davem@davemloft.net>
20445         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
20446         inclusions.
20447         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
20449         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
20450         (elf_irel): Use it.
20451         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
20452         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
20453         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
20454         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
20455         * sysdeps/x86_64/dl-irel.h: Likewise.
20457         * elf/dl-runtime.c: Use elf_ifunc_invoke.
20458         * elf/dl-sym.c: Likewise.
20460 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
20462         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
20463         need to dereference resplen2.
20465 2011-06-14  Andreas Schwab  <schwab@redhat.com>
20467         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
20469 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
20471         * Makeconfig: Define vardbdir and inst_vardbdir.
20472         * nss/Makefile: Add rules to install db-Makefile.
20474         * nss/nss_db/db-XXX.c: Cleanup.
20476         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
20477         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
20478         GLIBC_PRIVATE.
20479         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
20480         * nss/makedb.c: Implement -g option to specify that value strings
20481         are generated and should not be added to table iterated over for
20482         get*ent calls.
20483         * nss/nss_db/db-initgroups.c: New file.
20485         * nss/getent.c: Add support for initgroups lookups through getgrouplist
20486         interface.
20488         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
20489         (internal_getgrouplist): Adjust to name change.
20490         Update use_initgroups_entry if this is not the first call.
20491         * nss/databases.def: Add initgroups entry.
20493         * nss/makedb.c (compute_tables): Check result of multiple hash table
20494         sizes to minimize maximum chain length.
20496 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
20498         * Versions.def: Add entry for libnss_db.
20499         * shlib-versions: Likewise.
20500         * nss/Makefile: Add rules to build libnss_db.
20501         * nss/Versions: Add libnss_db information.  Organize libnss_files
20502         entries better.
20503         * nss/db-Makefile: Add gshadow support.  Change rules for the new
20504         makedb progra.  Some minor improvements to generate smaller files.
20505         * nss/nss_db/nss_db.h: Move NSS database header data structures to
20506         here from...
20507         * nss/makedb.c: ...here.
20508         Improve database format to be smaller and require less memory at
20509         runtime.
20510         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
20511         db anymore.
20512         * nss/nss_db/db-netgrp.c: Likewise.
20513         * nss/nss_db/db-open.c: Likewise.
20514         * nss/nss_files/flies-XXX.x: Adjust comments.
20515         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
20516         * nss/nss_files/files-grp.c: Likewise.
20517         * nss/nss_files/files-hosts.c: Likewise.
20518         * nss/nss_files/files-network.c: Likewise.
20519         * nss/nss_files/files-proto.c: Likewise.
20520         * nss/nss_files/files-pwd.c: Likewise.
20521         * nss/nss_files/files-rpc.c: Likewise.
20522         * nss/nss_files/files-service.c: Likewise.
20523         * nss/nss_files/files-sgrp.c: Likewise.
20524         * nss/nss_files/files-spwd.c: Likewise.
20525         * nss/nss_db/db-alias.c: Removed.
20526         * nss/nss_db/dummy-db.h: Removed.
20528 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
20530         * nss/makedb.c: Rewritten to not use database library.
20531         * nss/Makefile: Update to build new makedb program.
20533 2011-06-14  Andreas Jaeger  <aj@suse.de>
20535         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
20536         memset declaration.
20538 2011-06-10  Andreas Schwab  <schwab@redhat.com>
20540         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
20541         tmpbuf.
20543 2011-06-10  Roland McGrath  <roland@hack.frob.com>
20545         * Makerules (shlib.lds): Fail if the linker script comes out empty.
20546         * elf/Makefile ($(objpfx)ld.so): Likewise.
20548         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
20549         Don't list ld.so twice in dependencies.
20551         * posix/bug-regex31.c: Include <stdlib.h>.
20553         * nscd/hstcache.c (cache_addhst): Remove unused variable.
20555         * nis/nss_compat/compat-spwd.c
20556         (getspent_next_nss_netgr): Remove unused variable.
20557         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
20559         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
20560         nonmembers" output to use the right array.
20562         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
20564         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
20566         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
20567         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
20568         * catgets/gencat.c (read_input_file): Likewise.
20569         * locale/programs/locarchive.c (enlarge_archive): Likewise.
20571         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
20572         variable definition inside #if's controlling its use.
20574         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
20576         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
20578         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
20580         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
20581         unreachable code.
20583         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
20585         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
20586         * configure: Regenerated.
20588         * Makerules: Revert last change.
20589         * elf/Makefile: Likewise.
20591 2011-06-09  Roland McGrath  <roland@hack.frob.com>
20593         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
20594         * elf/Makefile ($(objpfx)librtld.os): Likewise.
20595         (reloc-link): Likewise.
20597 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
20599         * elf/Makefile: Add rules to build pldd.
20600         * elf/pldd.c: New file.
20601         * elf/pldd-xx.c: New file.
20603 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
20605         * version.h: Update for 2.15 development version.
20607 2011-06-07  David S. Miller  <davem@davemloft.net>
20609         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
20610         ifuncs.
20611         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
20612         elf_machine_lazy_rel): Likewise.
20613         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
20614         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
20615         elf_machine_lazy_rel): Likewise.
20616         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
20617         dl_hwcap via passed in argument.
20618         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
20619         Likewise.
20621 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20623         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
20625 2011-06-06  Roland McGrath  <roland@hack.frob.com>
20627         [BZ #12849]
20628         * manual/fdl-1.1.texi: New file, verbatim from:
20629         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
20630         * manual/lgpl-2.1.texi: New file, verbatim from:
20631         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
20632         * manual/Makefile (licenses): New variable, list those new file names.
20633         (texis): Use it.
20634         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
20636         * manual/fdl.texi: File removed.
20637         * manual/lesser.texi: File removed.
20638         * manual/libc.texinfo (Copying, Documentation License):
20639         Use new @include file names, put @appendix directive before @include.
20641 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
20643         [BZ #12841]
20644         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
20645         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
20646         (mq_open): Add __NTH.
20648 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
20650         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20651         Assume Intel Core i3/i5/i7 processor if AVX is available.
20653 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
20655         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20656         typo.
20658 2011-05-31  Andreas Schwab  <schwab@redhat.com>
20660         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
20661         memory.  Use alloca_account.  Fix memory leak when retrying.
20663 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
20665         * version.h (RELEASE): Bump for 2.14 release.
20666         * include/features.h (__GLIBC_MINOR__): Bump to 14.
20668         * config.make.in (RANLIB): Remove entry.
20670 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
20672         * po/Makefile (po-sed-cmd): Add ksh to extensions.
20673         (libc.pot): Work around missing support for .ksh extension in xgettext.
20675         [BZ #12684]
20676         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
20677         if both request failed.
20678         (send_dg): In case of server errors clear resplen or *resplen2.
20680         [BZ #12454]
20681         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
20682         when there are multiple maps.
20683         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
20684         (_dl_fini): Remove test here.
20686         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
20688 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
20690         [BZ #12350]
20691         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
20692         bit from old_res_options.
20693         (gaih_inet): Likewise.
20695         [BZ #11099]
20696         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
20697         as signed.
20699         * resolv/res_init.c (res_setoptions): Make the code more compact.
20701         [BZ #11558]
20702         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
20703         set RES_USEVC.
20705         [BZ #11634]
20706         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
20708         * malloc/malloc.h: Mark malloc hook variables as deprecated.
20710         [BZ #11781]
20711         * malloc/malloc.h: Declare malloc hook variables as volatile.
20713         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
20714         in last patch.
20716         [BZ #11799]
20717         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
20718         raise in the comment.
20719         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20720         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20721         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
20723 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
20725         [BZ #12811]
20726         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
20727         grow the buffers more if it already has to be sufficient.
20728         (build_wcs_upper_buffer): Likewise.
20729         * posix/regexec.c (check_matching): Likewise.
20730         (clean_state_log_if_needed): Likewise.
20731         (extend_buffers): Don't enlarge buffers beyond size of the input
20732         buffer.
20733         Patches mostly by Emil Wojak <emil@wojak.eu>.
20734         * posix/bug-regex32.c: New file.
20735         * posix/Makefile (tests): Add bug-regex32.
20737         * locale/findlocale.c (_nl_find_locale): Return right away if
20738         _nl_explode_name failed.
20739         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
20741         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
20743         * debug/xtrace.sh: Unify messages.
20744         * malloc/memusage.sh: Likewise.
20746         [BZ #12813]
20747         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
20748         time symbol from vDSO.  Substitute with vsyscall if not available.
20749         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
20750         __vdso_time.
20752         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
20753         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
20754         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
20755         Add sendmmsg and internal_sendmmsg.
20756         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
20757         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
20758         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
20760         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
20761         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
20762         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
20764 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
20766         [BZ #12813]
20767         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
20768         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
20769         available.
20770         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
20771         __vdso_getcpu.
20773         [BZ #12814]
20774         * iconvdata/Makefile (tests): Add bug-iconv9.
20775         * iconvdata/bug-iconv9.c: New file.
20777 2011-05-27  Andreas Schwab  <schwab@redhat.com>
20779         [BZ #12814]
20780         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
20782 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
20784         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20785         (struct user_regs_struct): Change intcs field back to cs.
20787 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
20789         * po/ja.po: Update from translation team.
20791 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
20793         [BZ #12795]
20794         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
20795         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
20797 2011-05-20  Andreas Schwab  <schwab@redhat.com>
20799         * stdlib/longlong.h: Update from GCC.
20801 2011-05-23  Andreas Schwab  <schwab@redhat.com>
20803         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
20804         parameter name.
20805         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
20806         Add parameter name.
20807         (__sysconf): Pass it down.
20809 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
20811         [BZ #12671]
20812         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
20813         some situations.
20814         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
20815         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
20816         add in in __libc_use_alloca calls.  Adjust callers.
20817         (glob): Use malloc in some situations.
20819         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
20820         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
20821         pltexit.
20823 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
20825         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
20826         and CLOCK_BOOTTIME_ALARM.
20828         [BZ #12782]
20829         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
20830         is returned.
20832         * string/_strerror.c (__strerror_r): Print negative errors as signed
20833         numbers.
20835         [BZ #12777]
20836         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
20837         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
20838         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
20840         * configure.in: Fix typo in redirection and correct removal of test
20841         files in two cases.
20843         [BZ #12788]
20844         * locale/setlocale.c (new_composite_name): Fix test to check for
20845         identical name of all categories.
20847         [BZ #12792]
20848         * libio/filedoalloc.c (local_isatty): New function.
20849         (_IO_file_doallocate): Use local_isatty.
20850         * stdio-common/perror.c (perror): In case a new stream is used
20851         forward the stream error.
20852         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
20853         error flag.
20855 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
20857         [BZ #11869]
20858         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
20859         alloca.
20860         * include/alloca.h (extend_alloca_account): Define.
20862         [BZ #11857]
20863         * posix/regex.h: Fix comments with documentation of user-accessible
20864         fields after compilation and describe correct free'ing of pattern
20865         after re_compile_pattern.
20866         Patch by Reuben Thomas <rrt@sc3d.org>.
20868 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
20870         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
20871         and -mno-altivec to prevent the compiler from using Altivec and/or
20872         VSX instructions when the corresponding registers are not available.
20874 2011-05-19  Andreas Schwab  <schwab@redhat.com>
20876         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
20878 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
20880         * libio/freopen.c (freopen): Use __dup2, not dup2.
20881         * libio/freopen64.c (freopen64): Likewise.
20883 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
20885         [BZ #12775]
20886         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
20887         * math/Makefile (tests): Add test-powl.
20888         (CFLAGS-test-powl.c): Define.
20889         * math/test-powl.c: New file.
20891 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20893         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
20895 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
20897         [BZ #11837]
20898         * iconvdata/gb18030.c: Update to GB18020-2005.
20900 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
20902         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
20903         RE_SYNTAX_POSIX_AWK): Update to match recent development.
20904         Patch by Aharon Robbins <arnold@skeeve.com>.
20906         [BZ #11892]
20907         * stdlib/putenv.c (putenv): Don't always create copy of the variable
20908         on the stack.
20910         [BZ #11895]
20911         * misc/pselect.c (__pselect): Handle timeout value errors hidden
20912         through underflows.
20914         [BZ #12766]
20915         * misc/error.c (error_at_line): Ensure file_name and old_file_name
20916         point to strings before performing equality test for error_one_per_line
20917         mode.
20919         [BZ #11697]
20920         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
20922         [BZ #11820]
20923         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20924         (struct user_fpregs_struct): Avoid __uint*_t types.
20926         [BZ #6420]
20927         * malloc/mtrace.c (tr_where): Add additional parameter to point to
20928         symbol info.  Use it instead of calling _dl_addr locally.
20929         (lock_and_info): New function.
20930         (tr_freehook): Call lock_and_info and pass symbol info as additional
20931         parameter to tr_where.
20932         (tr_mallochook): Likewise.
20933         (tr_reallochook): Likewise.
20934         (tr_memalignhook): Likewise.
20936         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
20937         used and couldn't be at all thread-safe.
20939 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
20941         * libio/freopen.c (freopen): Don't close old file descriptor
20942         before the new one is opened.  Instead dup the new file descriptor
20943         to the old one after the new stream is created.
20944         * libio/freopen64.c (freopen64): Likewise.
20945         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
20946         * libio/fileops.c (_IO_new_file_close_it): Handle new
20947         _IO_FLAGS2_NOCLOSE flag.
20948         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
20949         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
20950         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
20951         _IO_FLAGS2_NOCLOSE flag.
20952         * include/unistd.h: Add hidden_proto for dup3.
20953         Define __have_dup3.
20954         * io/dup3.c: Define hidden symbol.
20955         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
20957         [BZ #7101]
20958         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
20959         when an incomplete long option is used.
20960         * posix/tst-getopt_long1.c: New file.
20961         * posix/Makefile (tests): Add tst-getopt_long1.
20963         [BZ #10138]
20964         * scripts/config.guess: Update from autoconf-2.68.
20965         * scripts/config.sub: Likewise.
20967         [BZ #10157]
20968         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
20969         tests into ...
20970         (has_cpuclock): ...this.  New function.
20971         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
20972         macro here based on has_cpuclock code.
20974         [BZ #10149]
20975         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20976         First byte (not low byte) is now always NUL.
20977         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
20979         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20980         Use non-cancelable interfaces.
20982         [BZ #9809]
20983         * locale/iso-639.def: Add entry for Sorani.
20985         [BZ #11901]
20986         * include/stdlib.h: Move include protection to the right place.
20987         Define abort_msg_s.  Declare __abort_msg with it.
20988         * stdlib/abort.c (__abort_msg): Adjust type.
20989         * assert/assert.c (__assert_fail_base): New function.  Majority
20990         of code from __assert_fail.  Allocate memory for __abort_msg with
20991         mmap.
20992         (__assert_fail): Now call __assert_fail_base.
20993         * assert/assert-perr.c: Remove bulk of implementation.  Use
20994         __assert_fail_base.
20995         * include/assert.hL Declare __assert_fail_base.
20996         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
20997         mmap.
20998         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
21000 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
21002         [BZ #11952]
21003         [BZ #12453]
21004         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
21005         until all modules are registered in the DTV.
21006         * elf/Makefile: Add rules to build and run tst-tls19.
21007         * elf/tst-tls19.c: New file.
21008         * elf/tst-tls19mod1.c: New file.
21009         * elf/tst-tls19mod2.c: New file.
21010         * elf/tst-tls19mod3.c: New file.
21011         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
21013         [BZ #12083]
21014         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
21015         correctly.
21017         [BZ #12601]
21018         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
21019         two-byte sequence errors.
21020         * iconvdata/Makefile (tests): Add bug-iconv8.
21021         * iconvdata/bug-iconv8.c: New file.
21023         [BZ #12626]
21024         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
21025         buf2 definition.
21027         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
21029         [BZ #12432]
21030         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
21031         (dummy_getcfa): New function.
21032         (init): Get _Unwind_GetCFA address, use dummy if not found.
21033         (backtrace_helper): In recursion check, also check whether CFA changes.
21034         (__backtrace): Completely initialize arg.
21036         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
21037         storing incomplete byte sequence in state object.  Avoid testing for
21038         guaranteed too small input if we know there is enough data available.
21040 2011-05-11  Andreas Schwab  <schwab@redhat.com>
21042         * Makeconfig (+link-pie): Indent.
21043         * Rules (binaries-pie): Define if $(have-fpie) and
21044         $(build-shared).
21045         (binaries-shared): Also filter out $(binaries-pie).
21046         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
21047         * nscd/Makefile (others-pie): Add nscd.
21048         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
21049         ($(objpfx)nscd): Remove command override.
21050         * login/Makefile (others-pie): Add pt_chown.
21051         ($(objpfx)pt_chown): Remove command override.
21052         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
21053         remove command overrides.
21055 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
21057         * libio/tst_putwc.c: Fix error messages.
21059         [BZ #12724]
21060         * libio/fileops.c (_IO_new_file_close_it): Always flush when
21061         currently writing and seek to current position when not.
21062         * libio/Makefile (tests): Add bug-fclose1.
21063         * libio/bug-fclose1.c: New file.
21065 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
21067         [BZ #12511]
21068         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
21069         don't set DF_1_NODELETE here.
21070         (do_lookup_x): When entering new entry test for copy relocation
21071         and if necessary set DF_1_NODELETE flag.
21072         * elf/tst-unique4.cc: New file.
21073         * elf/tst-unique4.h: New file.
21074         * elf/tst-unique4lib.cc: New file.
21075         * elf/Makefile: Add rules to build and run tst-unique4.
21076         Patch by Piotr Bury <pbury@goahead.com>.
21078 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
21080         [BZ #12052]
21081         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
21083         [BZ #12625]
21084         * misc/mntent_r.c (addmntent): Flush the stream after the output
21086         [BZ #12393]
21087         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
21088         (is_trusted_path_normalize): Skip initial colon.  Append slash
21089         to empty buffer.  Duplicate is_trusted_path code but allow
21090         constructed patch to be prefix.
21091         (is_dst): Allow $ORIGIN followed by /.
21092         (_dl_dst_substitute): Correct clearing of check_for_trusted.
21093         Correct testing of result of is_trusted_path_normalize
21094         (decompose_rpath): Fix warning.
21096 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
21098         [BZ #11257]
21099         * grp/initgroups.c (internal_getgrouplist): When we found the service
21100         list through the initgroups entry in nsswitch.conf do not always
21101         continue on a successful lookup.  Don't always use the
21102         __nss_group_database value if it is set.
21103         * nss/nsswitch.conf (initgroups): Change action for successful db
21104         lookup to continue for compatibility.
21106 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
21108         [BZ #11532]
21109         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
21110         and CP774 modules.
21111         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
21112         and CP774 modules.
21113         * iconvdata/tst-tables.sh: Likewise.
21114         * iconvdata/cp770.c: New file.
21115         * iconvdata/cp771.c: New file.
21116         * iconvdata/cp772.c: New file.
21117         * iconvdata/cp773.c: New file.
21118         * iconvdata/cp774.c: New file.
21119         * iconvdata/testdata/CP770: New file.
21120         * iconvdata/testdata/CP770..UTF8: New file.
21121         * iconvdata/testdata/CP771: New file.
21122         * iconvdata/testdata/CP771..UTF8: New file.
21123         * iconvdata/testdata/CP772: New file.
21124         * iconvdata/testdata/CP772..UTF8: New file.
21125         * iconvdata/testdata/CP773: New file.
21126         * iconvdata/testdata/CP773..UTF8: New file.
21127         * iconvdata/testdata/CP774: New file.
21128         * iconvdata/testdata/CP774..UTF8: New file.
21130         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
21131         END CHARMAP line.
21132         * iconvdata/gen-8bit-gap.sh: Likewise.
21133         * iconvdata/gen-8bit.sh: Likewise.
21135         * locale/iso-639.def: Add ary entry.
21137         [BZ #11258]
21138         * locale/C-translit.h.in: Add U20A1 transliteration.
21140         [BZ #12178]
21141         * locale/iso-639.def: Add wae entry.
21142         Patch by Kevin Bortis <bortis@translate-wae.ch>.
21144         [BZ #12545]
21145         * locale/programs/localedef.c (construct_output_path): Use ssize_t
21146         for n.
21148         [BZ #12711]
21149         * locale/C-translit.h.in: Add entry for U20B9.
21150         Patch by pravin.d.s@gmail.com.
21152 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
21154         [BZ #12713]
21155         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
21156         ENAMETOOLONG use generic getcwd.
21157         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
21158         in rtld.  Use *stat64.
21159         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
21160         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
21161         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
21162         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
21163         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
21164         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
21165         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
21166         __fstatat64 macros.
21167         * include/dirent.h: Add libc_hidden_proto for rewinddir.
21168         * dirent/rewinddir.c: Add libc_hidden_def.
21169         * sysdeps/mach/hurd/rewinddir.c: Likewise.
21170         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
21172         * include/dirent.h (__alloc_dir): Add flags parameter.
21173         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
21174         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
21175         __alloc_dir.
21176         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
21177         from fdopendir if O_CLOEXEC is already set.
21179 2011-03-15  Alan Modra  <amodra@gmail.com>
21181         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
21182         l_tls_firstbyte_offset non-zero.  Save padding offset in
21183         l_tls_firstbyte_offset for later use.
21184         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
21185         freeing static tls block.
21187 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
21189         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
21190         where #ifdef was intended.  The intent is to prevent ARG_MAX from
21191         being defined by the kernel headers.
21193 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
21195         [BZ #12734]
21196         * resolv/resolv.h: Define RES_NOTLDQUERY.
21197         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
21198         no-tld-query and set RES_NOTLDQUERY.
21199         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
21200         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
21201         modern BIND to search name as TLD unless forbidden.
21203 2011-05-07  Petr Baudis  <pasky@suse.cz>
21204             Ulrich Drepper  <drepper@gmail.com>
21206         [BZ #12393]
21207         * elf/dl-load.c (fillin_rpath): Move trusted path check...
21208         (is_trusted_path): ...to here.
21209         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
21210         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
21211         using is_trusted_path_normalize() in setuid scripts.
21213 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
21215         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
21216         __BEGIN/__END_DECLS.
21218 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
21220         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
21221         NSS_STATUS_NOTFOUND if no record was found.
21223 2011-05-05  Andreas Schwab  <schwab@redhat.com>
21225         * sunrpc/Makefile (headers): Add rpc/netdb.h.
21226         (headers-not-in-tirpc): Remove rpc/netdb.h
21227         * resolv/netdb.h: Revert last change.
21229 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
21231         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
21232         circular dependency between libgcc.a and libc.a.
21234 2011-05-05  Andreas Schwab  <schwab@redhat.com>
21236         * resolv/netdb.h: Don't include <rpc/netdb.h>.
21237         * nis/Makefile: Don't install rpcsvc/*.
21238         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
21239         instead of <rpc/types.h>.
21240         (MAXHOSTNAMELEN): Define.
21242 2011-05-03  Andreas Schwab  <schwab@redhat.com>
21244         * elf/ldconfig.c (add_dir): Don't crash on empty path.
21246 2011-04-28  Maciej Babinski  <mbabinski@google.com>
21248         [BZ #12714]
21249         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
21250         gethostbyname4_r when IPv6 results are possible.
21252 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
21254         [BZ #12723]
21255         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
21256         _PC_PIPE_BUF handling.
21258 2011-04-30  Bruno Haible  <bruno@clisp.org>
21260         [BZ #12717]
21261         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
21262         * resolv/netdb.h (getnameinfo): Change type of flags parameter
21263         to 'int'.
21264         * inet/getnameinfo.c (getnameinfo): Likewise.
21266 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
21268         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
21269         to groups setting in database lookup.
21270         * nss/nsswitch.conf: Add initgroups entry.
21272 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
21274         [BZ #12685]
21275         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
21276         mode string.
21277         Patch by Eric Blake <eblake@redhat.com>.
21279 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
21281         * sunrpc/Makefile (need-export-routines): Add svc_run.
21282         (routines): Remove svc_run.
21283         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
21284         * sunrpc/clnt_perr.c (clnt_perrno): Export.
21285         * sunrpc/svc_run.c (svc_run): Likewise.
21286         * sunrpc/svc_udp.c (svcudp_create): Likewise.
21288 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
21290         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
21291         problem in reallocation in last patch.
21293 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
21295         * sunrpc/Makefile: Move inclusion of Rules.
21297 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
21299         * nss/nss_files/files-initgroups.c: New file.
21300         * nss/Makefile (libnss_files-routines): Add files-initgroups.
21301         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
21302         _nss_files_initgroups_dyn.
21304 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
21306         * elf/elf.h (R_ARM_IRELATIVE): Define.
21308 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
21310         * po/ru.po: Update from translation team.
21312 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
21314         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
21315         dependencies.
21317 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
21319         [BZ #12653]
21320         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
21321         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
21322         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21323         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21324         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21326 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
21328         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
21329         differing bytes.
21330         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21331         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21332         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21334 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
21336         [BZ #12420]
21337         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
21338         storing it.
21339         * stdlib/bug-getcontext.c: New file.
21340         * stdlib/Makefile: Add rules to build and run bug-getcontext.
21342 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21344         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
21345         instructions into .machine "z9-109".
21346         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
21347         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
21349 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21351         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
21352         between environment variables and auxiliary vector.
21354 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
21356         * Makefile: Add rules to build linkobj/libc.so.
21357         * include/libc-symbols.h: Define libc_hidden_nolink.
21358         * include/rpc/auth.h: Mark functions which are to be hidden.
21359         * include/rpc/auth_des.h: Likewise.
21360         * include/rpc/auth_unix.h: Likewise.
21361         * include/rpc/clnt.h: Likewise.
21362         * include/rpc/des_crypt.h: Likewise.
21363         * include/rpc/key_prot.h: Likewise.
21364         * include/rpc/pmap_clnt.h: Likewise.
21365         * include/rpc/pmap_prot.h: Likewise.
21366         * include/rpc/pmap_rmt.h: Likewise.
21367         * include/rpc/rpc_msg.h: Likewise.
21368         * include/rpc/svc.h: Likewise.
21369         * include/rpc/svc_auth.h: Likewise.
21370         * include/rpc/xdr.h: Likewise.
21371         * nis/Makefile: Link all DSOs against linkobj/libc.so.
21372         * nss/Makefile: Likewise.
21373         * sunrpc/Makefile: Don't install headers.  Build library with normal
21374         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
21375         * sunrpc/auth_des.c: Hide exported symbols by default, export some
21376         for the compat linking library.  Remove use of INTDEF/INTUSE.
21377         * sunrpc/auth_none.c: Likewise.
21378         * sunrpc/auth_unix.c: Likewise.
21379         * sunrpc/authdes_prot.c: Likewise.
21380         * sunrpc/authuxprot.c: Likewise.
21381         * sunrpc/clnt_gen.c: Likewise.
21382         * sunrpc/clnt_perr.c: Likewise.
21383         * sunrpc/clnt_raw.c: Likewise.
21384         * sunrpc/clnt_simp.c: Likewise.
21385         * sunrpc/clnt_tcp.c: Likewise.
21386         * sunrpc/clnt_udp.c: Likewise.
21387         * sunrpc/clnt_unix.c: Likewise.
21388         * sunrpc/des_crypt.c: Likewise.
21389         * sunrpc/des_soft.c: Likewise.
21390         * sunrpc/get_myaddr.c: Likewise.
21391         * sunrpc/key_call.c: Likewise.
21392         * sunrpc/key_prot.c: Likewise.
21393         * sunrpc/netname.c: Likewise.
21394         * sunrpc/pm_getmaps.c: Likewise.
21395         * sunrpc/pm_getport.c: Likewise.
21396         * sunrpc/pmap_clnt.c: Likewise.
21397         * sunrpc/pmap_prot.c: Likewise.
21398         * sunrpc/pmap_prot2.c: Likewise.
21399         * sunrpc/pmap_rmt.c: Likewise.
21400         * sunrpc/publickey.c: Likewise.
21401         * sunrpc/rpc_cmsg.c: Likewise.
21402         * sunrpc/rpc_common.c: Likewise.
21403         * sunrpc/rpc_dtable.c: Likewise.
21404         * sunrpc/rpc_prot.c: Likewise.
21405         * sunrpc/rpc_thread.c: Likewise.
21406         * sunrpc/rtime.c: Likewise.
21407         * sunrpc/svc.c: Likewise.
21408         * sunrpc/svc_auth.c: Likewise.
21409         * sunrpc/svc_authux.c: Likewise.
21410         * sunrpc/svc_raw.c: Likewise.
21411         * sunrpc/svc_run.c: Likewise.
21412         * sunrpc/svc_simple.c: Likewise.
21413         * sunrpc/svc_tcp.c: Likewise.
21414         * sunrpc/svc_udp.c: Likewise.
21415         * sunrpc/svc_unix.c: Likewise.
21416         * sunrpc/svcauth_des.c: Likewise.
21417         * sunrpc/xcrypt.c: Likewise.
21418         * sunrpc/xdr.c: Likewise.
21419         * sunrpc/xdr_array.c: Likewise.
21420         * sunrpc/xdr_float.c: Likewise.
21421         * sunrpc/xdr_intXX_t.c: Likewise.
21422         * sunrpc/xdr_mem.c: Likewise.
21423         * sunrpc/xdr_rec.c: Likewise.
21424         * sunrpc/xdr_ref.c: Likewise.
21425         * sunrpc/xdr_sizeof.c: Likewise.
21426         * sunrpc/xdr_stdio.c: Likewise.
21428 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
21430         [BZ #12650]
21431         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
21432         * sysdeps/ia64/dl-tls.h: Likewise.
21433         * sysdeps/powerpc/dl-tls.h: Likewise.
21434         * sysdeps/s390/dl-tls.h: Likewise.
21435         * sysdeps/sh/dl-tls.h: Likewise.
21436         * sysdeps/sparc/dl-tls.h: Likewise.
21437         * sysdeps/x86_64/dl-tls.h: Likewise.
21438         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
21440 2011-03-14  Andreas Schwab  <schwab@redhat.com>
21442         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
21443         rpath element also skip the following colon.
21444         (expand_dynamic_string_token): Add is_path parameter and pass
21445         down to DL_DST_REQUIRED and _dl_dst_substitute.
21446         (decompose_rpath): Call expand_dynamic_string_token with
21447         non-zero is_path.  Ignore empty rpaths.
21448         (_dl_map_object_from_fd): Call expand_dynamic_string_token
21449         with zero is_path.
21451 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
21453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21454         Make cancelable.
21456 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
21458         [BZ #12655]
21459         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
21460         Patch by Filipe David Manana <fdmanana@apache.org>.
21462 2011-04-07  Andreas Schwab  <schwab@redhat.com>
21464         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
21465         Maintain aligned stack.
21466         (CHECK_RSP): Remove unused macro.
21468 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
21470         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
21471         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
21473 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
21475         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
21477         * include/features.h: Mention __USE_XOPEN2K8 in comment.
21479 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
21481         [BZ #12518]
21482         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
21483         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
21484         * sysdeps/x86_64/memmove.c: New file.
21485         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
21486         (memcpy): Renamed to ...
21487         (__new_memcpy): This.
21488         (memcpy): Provide GLIBC_2_14 memcpy.
21489         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
21490         (memcpy): Provide GLIBC_2_2_5 memcpy.
21492 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
21494         [BZ #12631]
21495         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
21497 2011-03-30  Andreas Schwab  <schwab@redhat.com>
21499         * misc/syncfs.c: New file.
21500         * misc/Makefile (routines): Add syncfs.
21501         * posix/unistd.h: Declare syncfs.
21502         * sysdeps/unix/syscalls.list: Add syncfs.
21504 2011-04-01  Andreas Schwab  <schwab@redhat.com>
21506         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
21507         open_by_handle_at.
21508         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
21509         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21510         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21511         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21512         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21513         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
21514         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21516 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
21518         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
21519         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21520         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
21521         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21522         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21523         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21524         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21526         * io/Makefile: Compile fallocate.c, fallocate64.c, and
21527         sync_file_range.c with -fexceptions.
21528         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
21529         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
21530         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
21531         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
21532         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
21533         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21534         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
21535         sync_file_range as cancellation point
21536         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
21537         now a wrapper around __call_sync_file_range with cancellation handling.
21538         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
21539         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
21540         function name to __call_sync_file_range.
21541         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
21542         Add call_sync_file_range.
21544 2011-04-01  Andreas Schwab  <schwab@redhat.com>
21546         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21547         bits/timex.h.
21549 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
21551         * iconv/iconv.h: Fix typo in comment.
21552         * io/fcntl.h: Likewise.
21553         * libio/stdio.h: Likewise.
21554         * posix/spawn.h: Likewise.
21555         * posix/unistd.h: Likewise.
21556         * stdlib/stdlib.h: Likewise.
21557         * time/time.h: Likewise.
21558         * wcsmbs/wchar.h: Likewise.
21560         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
21561         open_by_handle): Add.
21562         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
21563         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
21564         Augment a few comments.
21565         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21566         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21567         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21568         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21569         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21570         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
21571         open_by_handle.
21573         * io/fcntl.h (AT_EMPTY_PATH): Define.
21575 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
21577         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
21578         * sysdeps/unix/sysv/linux/bits/time.h: New file.
21579         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
21580         to...
21581         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
21582         * Versions.def: Add GLIBC_2.14.
21583         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
21584         Export.
21586 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
21588         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
21589         round counter.
21590         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21592 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
21594         [BZ #12597]
21595         * string/test-strncmp.c (do_page_test): New function.
21596         (check2): Likewise.
21597         (test_main): Call check2.
21598         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
21600 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
21602         [BZ #12587]
21603         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
21604         Handle cache information in CPU leaf 4.
21605         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21607 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
21609         [BZ #12583]
21610         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
21611         character representation.
21612         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
21614 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
21616         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
21617         END(__isnan) to END(__isnanf) to match function entry point/label
21618         EALIGN(__isnanf,...).
21620 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
21622         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
21624 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
21626         [BZ #12510]
21627         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
21628         copy from the symbol referenced in the relocation to initialize the
21629         used variable.
21630         Patch by Piotr Bury <pbury@goahead.com>.
21631         * elf/Makefile: Add rules to build and tst-unique3.
21632         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
21633         * elf/tst-unique3.cc: New file.
21634         * elf/tst-unique3.h: New file.
21635         * elf/tst-unique3lib.cc: New file.
21636         * elf/tst-unique3lib2.cc: New file.
21638         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
21640 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
21642         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
21643         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
21644         to _start.
21646 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
21648         * elf/dl-load.c (_dl_map_object): If we are looking for the first
21649         to-be-loaded object along a path to loader is ld.so.
21651 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
21652             Ulrich Drepper  <drepper@gmail.com>
21654         * sysdeps/x86_64/memset.S: After aligning destination, code
21655         branches to different locations depending on the value of
21656         misalignment, when multiarch is enabled. Fix this.
21658 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
21660         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
21661         Set _x86_64_preferred_memory_instruction for AMD processsors.
21662         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21663         Set bit_Prefer_SSE_for_memop for AMD processors.
21665 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
21667         * libio/fmemopen.c (fmemopen): Optimize a bit.
21669 2011-03-03  Andreas Schwab  <schwab@redhat.com>
21671         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
21673 2011-03-03  Roland McGrath  <roland@redhat.com>
21675         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
21677 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
21679         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
21680         __bzero_ultra1 instead of __memset_ultra1.
21682 2011-02-23  Andreas Schwab  <schwab@redhat.com>
21683             Ulrich Drepper  <drepper@gmail.com>
21685         [BZ #12509]
21686         * include/link.h (struct link_map): Add l_orig_initfini.
21687         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
21688         returning unsuccessfully.
21689         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
21690         close of a file loaded at startup, restore the original l_initfini
21691         list.
21692         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
21693         list, store the pointer.
21694         * elf/Makefile ($(objpfx)noload-mem): New rule.
21695         (noload-ENV): Define.
21696         (tests): Add $(objpfx)noload-mem.
21697         * elf/noload.c: Include <memcheck.h>.
21698         (main): Call mtrace.  Close all opened handles.
21700 2011-02-17  Andreas Schwab  <schwab@redhat.com>
21702         [BZ #12454]
21703         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
21704         dependencies are missing.
21706 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21708         Fix __if_freereq crash: Unlike the generic version which uses free,
21709         Hurd needs munmap.
21710         * sysdeps/mach/hurd/ifreq.h: New file.
21712 2011-01-27  Petr Baudis  <pasky@suse.cz>
21713             Ulrich Drepper  <drepper@gmail.com>
21715         [BZ 12445]#
21716         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
21717         to extend_alloca().
21718         * stdio-common/bug23.c: New file.
21719         * stdio-common/Makefile (tests): Add bug23.
21721 2010-09-28  Andreas Schwab  <schwab@redhat.com>
21722             Ulrich Drepper  <drepper@gmail.com>
21724         [BZ #12489]
21725         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
21726         before performing relro protection.  At old place add assertion
21727         to make sure nothing changed.
21729 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
21730             Glauber de Oliveira Costa  <glommer@gmail.com>
21732         * elf/elf.h: Add new ARM TLS relocs.
21734 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
21736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21737         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
21738         cast from r3.
21739         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
21740         'tests' variable.
21741         * sysdeps/wordsize-64/tst-writev.c: New file.
21743 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
21745         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
21746         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
21747         insns in _dl_start to prevent a TOC reference before relocs are
21748         resolved.
21750 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
21752         [BZ #12469]
21753         * Makeconfig: Remove RANLIB definition.
21754         * Makerules: Don't use RANLIB.
21755         * aclocal.m4: Remove ranlib test.
21756         * configure.in: No need to check for ranlib.
21757         * elf/rtld-Rules: Don't use RANLIB.
21759 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21761         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
21762         protection macro.
21763         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
21764         inclusion protection macro.
21766         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
21767         SIGRTMIN and SIGRTMAX and print information in that case only when
21768         SIGRTMIN is defined.
21770 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
21772         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
21773         arginfo fn returning -1.
21775         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
21776         and thousands string is zero terminated.
21778 2011-02-03  Andreas Schwab  <schwab@redhat.com>
21780         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
21781         sysdeps/unix/sysv/linux/bits/socket.h.
21783 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21785         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
21786         (__CPU_COUNT): Remove old macros.
21787         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
21788         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
21789         (__CPU_ALLOC, __CPU_FREE): Add macros.
21790         (__sched_cpualloc, __sched_cpufree): Add declarations.
21792 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
21794         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
21795         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
21796         * nscd/aicache.c (addhstaiX): Return timeout of added value.
21797         (readdhstai): Return value of addhstaiX call.
21798         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
21799         (addgrbyX): Return value returned by cache_addgr.
21800         (readdgrbyname): Return value returned by addgrbyX.
21801         (readdgrbygid): Likewise.
21802         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
21803         (addpwbyX): Return value returned by cache_addpw.
21804         (readdpwbyname): Return value returned by addhstbyX.
21805         (readdpwbyuid): Likewise.
21806         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
21807         (addservbyX): Return value returned by cache_addserv.
21808         (readdservbyname): Return value returned by addservbyX:
21809         (readdservbyport): Likewise.
21810         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
21811         (addhstbyX): Return value returned by cache_addhst.
21812         (readdhstbyname): Return value returned by addhstbyX.
21813         (readdhstbyaddr): Likewise.
21814         (readdhstbynamev6): Likewise.
21815         (readdhstbyaddrv6): Likewise.
21816         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
21817         (readdinitgroups): Return value returned by addinitgroupsX.
21818         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
21819         (prune_cache): Keep track of timeout value of re-added entries.
21820         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
21821         * nscd/nscd.h: Adjust prototypes of readd* functions.
21823 2011-02-04  Roland McGrath  <roland@redhat.com>
21825         * nis/nis_server.c (nis_servstate): Use the right name for 0.
21826         (nis_stats): Likewise.
21827         * nis/nis_modify.c (nis_modify): Likewise.
21828         * nis/nis_remove.c (nis_remove): Likewise.
21829         * nis/nis_add.c (nis_add): Likewise.
21831         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
21833         * posix/fnmatch_loop.c: Add some consts.
21835         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
21837 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
21839         [BZ #12460]
21840         * config.make.in (config-cflags-novzeroupper): Define.
21841         * configure.in: Substitute libc_cv_cc_novzeroupper.
21842         * elf/Makefile (AVX-CFLAGS): Define.
21843         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
21844         (CFLAGS-tst-auditmod4a.c): Likewise.
21845         (CFLAGS-tst-auditmod4b.c): Likewise.
21846         (CFLAGS-tst-auditmod6b.c): Likewise.
21847         (CFLAGS-tst-auditmod6c.c): Likewise.
21848         (CFLAGS-tst-auditmod7b.c): Likewise.
21849         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
21851 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
21853         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
21854         function to the callback.
21855         Patch partly by Jiri Olsa <jolsa@redhat.com>.
21857 2011-02-02  Andreas Schwab  <schwab@redhat.com>
21859         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
21860         of errno.
21862 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
21864         [BZ #11724]
21865         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
21866         of constructors.
21867         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
21868         of destructors.
21869         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
21871         [BZ #11724]
21872         * elf/Makefile: Add rules to build and run new test.
21873         * elf/tst-initorder.c: New file.
21874         * elf/tst-initorder.exp: New file.
21875         * elf/tst-initordera1.c: New file.
21876         * elf/tst-initordera2.c: New file.
21877         * elf/tst-initordera3.c: New file.
21878         * elf/tst-initordera4.c: New file.
21879         * elf/tst-initorderb1.c: New file.
21880         * elf/tst-initorderb2.c: New file.
21881         * elf/tst-order-a1.c: New file.
21882         * elf/tst-order-a2.c: New file.
21883         * elf/tst-order-a3.c: New file.
21884         * elf/tst-order-a4.c: New file.
21885         * elf/tst-order-b1.c: New file.
21886         * elf/tst-order-b2.c: New file.
21887         * elf/tst-order-main.c: New file.
21888         New test case by George Gensure <werkt0@gmail.com>.
21890 2010-10-01  Andreas Schwab  <schwab@redhat.com>
21892         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21893         decoding ACE if AI_CANONIDN.
21895 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
21897         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
21899 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
21901         * version.h (RELEASE): Bump for 2.13 release.
21902         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
21904         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
21906         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
21907         MADV_NOHUGEPAGE.
21908         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
21909         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21910         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21911         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21912         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21913         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21915         * posix/getconf.c: Update copyright year.
21916         * catgets/gencat.c: Likewise.
21917         * csu/version.c: Likewise.
21918         * debug/catchsegv.sh: Likewise.
21919         * debug/xtrace.sh: Likewise.
21920         * elf/ldconfig.c: Likewise.
21921         * elf/ldd.bash.in: Likewise.
21922         * elf/sprof.c (print_version): Likewise.
21923         * iconv/iconv_prog.c: Likewise.
21924         * iconv/iconvconfig.c: Likewise.
21925         * locale/programs/locale.c: Likewise.
21926         * locale/programs/localedef.c: Likewise.
21927         * malloc/memusage.sh: Likewise.
21928         * malloc/mtrace.pl: Likewise.
21929         * nscd/nscd.c (print_version): Likewise.
21930         * nss/getent.c: Likewise.
21932         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
21933         PF_CAIF, and PF_ALG.
21934         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21936 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
21938         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
21939         (modules-names): Use them.
21940         (ifunc-test-modules, ifunc-pie-tests): Define.
21941         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
21942         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
21943         (test-extras): Likewise.
21944         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
21945         $(compile-command.c).
21946         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
21947         (all-built-dso): Define.
21948         (check-textrel.out, check-execstack.out): Depend on it.
21950         * configure.in: Don't override --enable-multi-arch.
21952 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
21954         [BZ #6812]
21955         * nscd/hstcache.c (tryagain): Define.
21956         (cache_addhst): Return tryagain not notfound for temporary errors.
21957         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
21958         failed.
21960 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
21962         [BZ #10563]
21963         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
21964         to make the syscall.
21965         * sysdeps/unix/sysv/linux/setgroups.c: New file.
21967         [BZ #12378]
21968         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
21969         and fall back to matching as normal character if the string ends before
21970         the matching ']' is found.  This is what POSIX requires.
21971         * posix/testfnm.c: Adjust test result.
21972         * posix/globtest.sh: Adjust test result.  Add new test.
21973         * posix/tst-fnmatch.input: Likewise.
21974         * posix/tst-fnmatch2.c: Add new test.
21976 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
21978         * elf/Makefile (check-execstack): Revert last change.  Depend on
21979         check-execstack.h.
21980         (check-execstack.h): New target.
21981         (generated): Add check-execstack.h.
21982         * elf/check-execstack.c: Include "check-execstack.h".
21983         (main): Revert last change.
21984         (handle_file): Return zero if GNU_STACK is absent and
21985         DEFAULT_STACK_PERMS doesn't include PF_X.
21987 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
21989         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
21990         in child fails because the descriptor is already closed.
21991         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
21992         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
21993         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
21995         [BZ #12397]
21996         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
21997         syscall.
21999         [BZ #10484]
22000         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
22001         temporary buffer used to handle multi lookups locally.
22002         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
22004 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
22006         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
22007         loader is ld.so.
22009 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
22011         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
22012         alignment for SSE2.
22014 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
22016         [BZ #12394]
22017         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
22018         characters.  When rounding increased number of integer digits recompute
22019         number of groups.
22020         * stdio-common/tst-grouping.c: New file.
22021         * stdio-common/Makefile: Add rules to build and run tst-grouping.
22023 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
22025         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
22026         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
22028         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
22029         void.
22030         * bits/select.h: Likewise.
22032 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
22034         * po/ja.po: Update from translation team.
22036 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
22038         [BZ #11155]
22039         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
22040         implementation just like for lxstat, fxstatat, et al.
22042 2010-12-27  Jim Meyering  <meyering@redhat.com>
22044         [BZ #12348]
22045         * posix/regexec.c (build_trtable): Return failure indication upon
22046         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
22048 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
22050         [BZ #12201]
22051         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
22052         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
22053         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
22054         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
22056         [BZ #12207]
22057         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
22059         [BZ #12204]
22060         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
22061         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
22063 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
22065         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
22066         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
22067         script has SORT_BY_INIT_PRIORITY.
22068         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
22069         NO_CTORS_DTORS_SECTIONS is defined.
22070         * elf/soinit.c: Likewise.
22071         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
22072         NO_CTORS_DTORS_SECTIONS is defined.
22073         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
22074         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
22075         * sysdeps/sh/init-first.c: Likewise.
22076         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
22078 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
22080         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
22081         always use the slow path.
22083 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
22085         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
22086         similar rule which adds the sysdep directories to the header search in
22087         order to pick up the correct platform stackinfo.h.
22088         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
22089         perform test if it is, otherwise return successfully without testing.
22090         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
22091         DEFAULT_STACK_PERMS define in stackinfo.h.
22092         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
22093         defined in stackinfo.h.
22094         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
22095         DEFAULT_STACK_PERMS defined in stackinfo.h.
22096         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
22097         * sysdeps/ia64/stackinfo.h: Likewise.
22098         * sysdeps/s390/stackinfo.h: Likewise.
22099         * sysdeps/sh/stackinfo.h: Likewise.
22100         * sysdeps/sparc/stackinfo.h: Likewise.
22101         * sysdeps/x86_64/stackinfo.h: Likewise.
22102         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
22103         PF_X for powerpc64.  Retain PF_X for powerpc32.
22105 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
22107         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
22108         accurately.
22109         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
22110         GETDENTS_64BIT_ALIGNED.
22112 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
22114         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
22116 2010-12-10  Andreas Schwab  <schwab@redhat.com>
22118         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
22119         _GNU_SOURCE.
22121         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
22122         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
22123         Remove __restrict.
22124         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
22125         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
22127 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
22129         [BZ #11655]
22130         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
22131         are initialized.
22133 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
22135         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
22137 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
22139         * po/it.po: Update from translation team.
22141 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
22143         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
22144         unused codes.
22146 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
22148         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
22150 2010-11-24  Andreas Schwab  <schwab@redhat.com>
22152         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
22153         specially.
22154         (gaih_getanswer_slice): Likewise.
22156 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
22158         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
22160 2010-05-31  Petr Baudis  <pasky@suse.cz>
22162         [BZ #11149]
22163         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
22164         silently even in the chroot mode.
22166 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
22168         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
22169         last patch a bit.  Pretty printing
22171 2010-05-31  Petr Baudis <pasky@suse.cz>
22173         [BZ #10085]
22174         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
22175         initialization of skip_initgroups_dyn.
22177 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
22179         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
22180         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22182 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
22184         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
22186 2010-11-11  Andreas Schwab  <schwab@redhat.com>
22188         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
22189         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
22190         (tst-fnmatch-ENV): Set MALLOC_TRACE.
22191         ($(objpfx)tst-fnmatch-mem): New rule.
22192         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
22193         * posix/tst-fnmatch.c (main): Call mtrace.
22195 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
22197         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22198         Support Intel processor model 6 and model 0x2c.
22200 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
22202         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
22203           signed comparison.
22205 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
22207         [BZ #12205]
22208         * string/test-strncasecmp.c (check_result): New function.
22209         (do_one_test): Use it.
22210         (check1): New function.
22211         (test_main): Use it.
22212         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
22213         Support strcasecmp and strncasecmp.
22215 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
22217         [BZ #12194]
22218         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
22219         * sysdeps/x86_64/bits/byteswap.h: Likewise.
22221 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
22223         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
22224         IFUNC support.
22225         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22226         memset-x86-64.
22227         * sysdeps/x86_64/multiarch/bzero.S: New file.
22228         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
22229         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
22230         * sysdeps/x86_64/multiarch/memset.S: New file.
22231         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
22232         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22233         Set bit_Prefer_SSE_for_memop for Intel processors.
22234         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
22235         Define.
22236         (index_Prefer_SSE_for_memop): Define.
22237         (HAS_PREFER_SSE_FOR_MEMOP): Define.
22239 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
22241         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
22242         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
22244 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
22246         [BZ #12191]
22247         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22248         (__x86_64_raw_data_cache_size_half): Likewise.
22249         (__x86_64_raw_shared_cache_size): Likewise.
22250         (__x86_64_raw_shared_cache_size_half): Likewise.
22252         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22253         (__x86_64_raw_data_cache_size_half): Likewise.
22254         (__x86_64_raw_shared_cache_size): Likewise.
22255         (__x86_64_raw_shared_cache_size_half): Likewise.
22256         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
22257         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
22258         and __x86_64_raw_shared_cache_size_half.  Round
22259         __x86_64_data_cache_size_half, __x86_64_data_cache_size
22260         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
22261         to multiple of 256 bytes.
22263 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
22265         [BZ #12167]
22266         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
22267         of inacessible symlinks.  Verify result of symlink before returning it.
22268         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22269         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
22271 2010-10-28  Erich Ritz  <erichritz@gmail.com>
22273         * math/math.h (isinf): Fix typo in comment.
22275 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
22277         * po/da.po: Update from translation team.
22279 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
22281         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
22282         is added to the list.
22284 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22285             Ulrich Drepper  <drepper@gmail.com>
22287         * elf/dl-object.c (_dl_new_object): Don't append the new object to
22288         the global list here.  Move code to...
22289         (_dl_add_to_namespace_list): ...here.  New function.
22290         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
22291         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
22292         * elf/dl-load.c (lose): Don't remove the element from the list.
22293         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
22294         (_dl_map_object): Likewise.
22296 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
22298         [BZ #12159]
22299         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
22300         into all bytes of SSE register.
22301         Patch by Richard Li <richardpku@gmail.com>.
22303 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
22305         [BZ #12140]
22306         * malloc/malloc.c (_int_free): Fill correct number of bytes when
22307         perturbing.
22309 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
22311         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
22312         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
22313         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
22314         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
22315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
22316         submachine.
22317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
22319 2010-10-22  Andreas Schwab  <schwab@redhat.com>
22321         * include/dlfcn.h (__RTLD_SECURE): Define.
22322         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
22323         mode & __RTLD_SECURE instead.
22324         (open_path): Rename preloaded parameter to secure.
22325         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
22326         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
22327         * elf/dl-deps.c (openaux): Likewise.
22328         * elf/rtld.c (struct map_args): Remove is_preloaded.
22329         (map_doit): Don't use it.
22330         (dl_main): Likewise.
22331         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
22332         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
22334 2010-09-09  Andreas Schwab  <schwab@redhat.com>
22336         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
22337         (sysd-rules-targets): Remove duplicates.
22338         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
22339         rtld-%.$o dependency.
22341 2010-10-18  Andreas Schwab  <schwab@redhat.com>
22343         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
22344         _dl_map_object do it.
22346 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
22348         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
22349         fast fma builtins, define the macros in the C99 standard.
22350         (FP_FAST_FMAF): Likewise.
22351         (FP_FAST_FMAL): Likewise.
22352         * sysdeps/x86_64/bits/mathdef.h: Likewise.
22354         * bits/mathdef.h: Update copyright year.
22355         * sysdeps/powerpc/bits/mathdef.h: Likewise.
22357 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
22359         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
22360         builtins, define the macros in the C99 standard.
22361         (FP_FAST_FMAF): Likewise.
22362         (FP_FAST_FMAL): Likewise.
22363         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
22364         multiply/add.
22365         (FP_FAST_FMAF): Likewise.
22367 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
22369         [BZ #3268]
22370         * math/libm-test.inc (fma_test): Some new testcases.
22371         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
22372         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
22373         y and infinite z.  Do multiplication by C already in long double.
22374         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
22375         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
22376         y and infinite z.  Do bitwise or of inexact bit into u.d.
22377         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
22378         * sysdeps/i386/fpu/s_fmaf.S: Removed.
22379         * sysdeps/i386/fpu/s_fma.S: Removed.
22380         * sysdeps/i386/fpu/s_fmal.S: Removed.
22382 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
22384         [BZ #3268]
22385         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
22386         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
22387         computation is not scheduled after fetestexcept.  Fix value
22388         of minimum denormal long double.
22390 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
22392         [BZ #3268]
22393         * math/libm-test.inc (fma_test): Add some more tests.
22394         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
22395         correctly.
22397 2010-10-15  Andreas Schwab  <schwab@redhat.com>
22399         * scripts/data/localplt-s390-linux-gnu.data: New file.
22400         * scripts/data/localplt-s390x-linux-gnu.data: New file.
22402 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
22404         [BZ #3268]
22405         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
22406         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
22407         instead of dbl-64.
22408         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
22409         inlines.
22410         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
22411         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
22412         if one of x and y is very large and the other is subnormal.
22413         * sysdeps/s390/fpu/s_fmaf.c: New file.
22414         * sysdeps/s390/fpu/s_fma.c: New file.
22415         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
22416         * sysdeps/powerpc/fpu/s_fma.S: New file.
22417         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
22418         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
22419         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
22421 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
22423         [BZ #3268]
22424         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
22425         fma tests.
22426         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
22427         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
22428         * sysdeps/i386/i686/multiarch/s_fma.c: Include
22429         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
22430         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
22431         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
22432         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
22434 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
22436         [BZ #12078]
22437         * posix/regcomp.c (parse_branch): One more memory leak plugged.
22438         * posix/bug-regex31.input: Add test case.
22440 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
22442         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
22443         * posix/bug-regex31.input: New file.
22445         [BZ #12078]
22446         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
22447         (parse_sub_exp): Fix last change, use postorder.
22449         * posix/bug-regex31.c: New file.
22450         * posix/Makefile: Add rules to build and run bug-regex31.
22452         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
22454         [BZ #12078]
22455         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
22457         [BZ #12108]
22458         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
22459         to have entries in sys_siglist.
22461         [BZ #12093]
22462         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
22463         be NULL.
22465 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
22467         [BZ #3268]
22468         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
22469         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
22470         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22471         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
22472         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22473         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
22474         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
22475         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
22476         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
22477         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
22478         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
22479         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
22480         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22481         * math/ftestexcept.c (fetestexcept): Likewise.
22482         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
22483         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
22484         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
22485         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
22486         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
22487         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
22488         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22490 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
22492         [BZ #12107]
22493         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
22494         newline.
22496 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
22498         * string/bug-strstr1.c: New file.
22499         * string/Makefile: Add rules to build and run bug-strstr1.
22501 2010-10-05  Eric Blake  <eblake@redhat.com>
22503         [BZ #12092]
22504         * string/str-two-way.h (two_way_long_needle): Always clear memory
22505         when skipping input due to the shift table.
22507 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
22509         [BZ #12005]
22510         * malloc/mcheck.c: Handle large requests.
22512         [BZ #12077]
22513         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
22514         for strncmp and strncasecmp.
22515         * string/stratcliff.c: Add tests for strcmp and strncmp.
22516         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
22518 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
22520         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
22521         __set_fpscr.
22523 2010-09-30  Andreas Jaeger  <aj@suse.de>
22525         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
22526         (CGROUP_SUPER_MAGIC): Define.
22527         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22528         Handle btrfs and cgroup file systems.
22529         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22530         Likewise.
22532 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
22534         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
22535         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
22537 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22539         [BZ #12067]
22540         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
22541         trying to locate the ELF header.
22543 2010-09-27  Andreas Schwab  <schwab@redhat.com>
22545         [BZ #11611]
22546         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
22547         Mask out sign-bit copies when constructing f_fsid.
22549 2010-09-24  Petr Baudis <pasky@suse.cz>
22551         * debug/stack_chk_fail_local.c: Add missing licence exception.
22552         * debug/warning-nop.c: Likewise.
22554 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
22556         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
22557         implementing getdents64 using getdents syscall, set d_type if
22558         __ASSUME_GETDENTS32_D_TYPE.
22560 2010-09-16  Andreas Schwab  <schwab@redhat.com>
22562         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
22563         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
22565 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
22567         [BZ #12037]
22568         * posix/unistd.h: Undo change of feature selection for ftruncate from
22569         2010-01-11.
22571 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
22573         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
22574         detection.
22576 2010-09-20  Andreas Schwab  <schwab@redhat.com>
22578         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
22579         fanotify_mark.
22580         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22582 2010-09-14  Andreas Schwab  <schwab@redhat.com>
22584         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
22585         variables after CHECK_SP call.
22586         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
22588 2010-09-13  Andreas Schwab  <schwab@redhat.com>
22589             Ulrich Drepper  <drepper@redhat.com>
22591         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
22592         re-relocationg ld.so.
22593         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
22594         _dl_init_paths call.
22595         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
22596         here anymore.
22598 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
22600         * resolv/res_init.c (__res_vinit): Count the default server we added.
22602 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
22603             Ulrich Drepper  <drepper@redhat.com>
22605         [BZ #11968]
22606         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22607         (____longjmp_chk): Use %ebx for saving value across system call.
22608         Add unwind info.
22610 2010-09-06  Andreas Schwab  <schwab@redhat.com>
22612         * manual/Makefile: Don't mix pattern rules with normal rules.
22614 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
22616         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
22617         operation.
22618         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
22619         * libio/iofopncook.c (_IO_cookie_init): Likewise.
22620         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
22621         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22622         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22623         Likewise.
22625 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
22627         [BZ #11979]
22628         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
22629         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
22631 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
22633         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
22634         * sysdeps/x86_64/addmul_1.S: Likewise.
22635         * sysdeps/x86_64/lshift.S: Likewise.
22636         * sysdeps/x86_64/mul_1.S: Likewise.
22637         * sysdeps/x86_64/rshift.S: Likewise.
22638         * sysdeps/x86_64/sub_n.S: Likewise.
22639         * sysdeps/x86_64/submul_1.S: Likewise.
22641 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22643         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
22644         Define __sched_param instead of SCHED_* and sched_param when
22645         <bits/sched.h> is included with __need_schedparam defined.
22646         * bits/sched.h [__need_schedparam]
22647         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
22648         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
22649         (__defined_schedparam): Define to 1.
22650         (__sched_param): New structure, identical to sched_param.
22651         (__need_schedparam): Undefine.
22653 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
22655         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
22656         (epoll_create1): Declare.
22658         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
22660 2010-08-31  Andreas Schwab  <schwab@redhat.com>
22662         [BZ #7066]
22663         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
22664         shifting retval into place.
22666 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
22668         * nis/rpcsvc/nis.h: Update copyright notice.
22669         * nis/rpcsvc/nis.x: Likewise.
22670         * nis/rpcsvc/nis_callback.h: Likewise.
22671         * nis/rpcsvc/nis_callback.x: Likewise.
22672         * nis/rpcsvc/nis_object.x: Likewise.
22673         * nis/rpcsvc/nis_tags.h: Likewise.
22674         * nis/rpcsvc/yp.h: Likewise.
22675         * nis/rpcsvc/yp.x: Likewise.
22676         * nis/rpcsvc/ypupd.h: Likewise.
22677         * nis/yp_xdr.c: Likewise.
22678         * nis/ypupdate_xdr.c: Likewise.
22680         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
22681         mainly the body of pmap_getport.  Add parameters to specify timeouts.
22682         (pmap_getport): Use __libc_rpc_getport.
22683         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
22684         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
22685         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
22687 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
22689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
22690         fanotify_mark.
22692 2010-08-27  Roland McGrath  <roland@redhat.com>
22694         * sysdeps/i386/i686/multiarch/Makefile
22695         (CFLAGS-varshift.c): New variable.
22697 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
22699         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
22700         * sysdeps/i386/i686/multiarch/varshift.c: New file.
22702         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
22704         * sysdeps/x86_64/strlen.S: Minimal code improvement.
22706 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
22708         * sysdeps/x86_64/strlen.S: Unroll the loop.
22709         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22710         strlen-sse2 strlen-sse2-bsf.
22711         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
22712         __strlen_no_bsf if bit_Slow_BSF is set.
22713         (__strlen_sse42): Removed.
22714         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
22715         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
22717 2010-08-25  Roland McGrath  <roland@redhat.com>
22719         * sysdeps/x86_64/multiarch/varshift.S: File removed.
22720         * sysdeps/x86_64/multiarch/varshift.c: New file.
22721         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
22722         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
22723         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
22724         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22726 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
22728         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22729         strlen-sse2 strlen-sse2-bsf.
22730         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
22731         __strlen_sse2_bsf if bit_Slow_BSF is unset.
22732         (__strlen_sse2): Removed.
22733         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
22734         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
22735         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22736         bit_Slow_BSF for Atom.
22737         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
22738         (index_Slow_BSF): Define.
22739         (HAS_SLOW_BSF): Define.
22741 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
22743         [BZ #10851]
22744         * resolv/res_init.c (__res_vinit): When no server address at all
22745         is given default to loopback.
22747 2010-08-24  Roland McGrath  <roland@redhat.com>
22749         * configure.in: Remove config-name.h generation.
22750         * configure: Regenerated.
22751         * config-name.in: File removed.
22752         * scripts/config-uname.sh: New file.
22753         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
22754         ($(objdir)config-name.h): New target.
22756         * sunrpc/rpc_parse.h: Avoid nested comment.
22758 2010-08-24  Richard Henderson  <rth@redhat.com>
22759             Ulrich Drepper  <drepper@redhat.com>
22760             H.J. Lu  <hongjiu.lu@intel.com>
22762         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
22763         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
22764         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
22765         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
22766         _mm_alignr_epi8 with _mm_loadu_si128.
22767         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
22768         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
22769         (__m128i_shift_right): Removed.
22770         * sysdeps/i386/i686/multiarch/varshift.h: New file.
22771         * sysdeps/i386/i686/multiarch/varshift.S: New file.
22772         * sysdeps/x86_64/multiarch/varshift.h: New file.
22773         * sysdeps/x86_64/multiarch/varshift.S: New file.
22775 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
22777         * configure.in: Move assembler checks to before sysdep dir checking.
22779 2010-08-20  Petr Baudis  <pasky@suse.cz>
22781         * LICENSES: Sync the sunrpc license.
22783 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
22785         * sunrpc/auth_des.c: Update copyright notice once again.
22786         * sunrpc/auth_none.c: Likewise.
22787         * sunrpc/auth_unix.c: Likewise.
22788         * sunrpc/authdes_prot.c: Likewise.
22789         * sunrpc/authuxprot.c: Likewise.
22790         * sunrpc/bindrsvprt.c: Likewise.
22791         * sunrpc/clnt_gen.c: Likewise.
22792         * sunrpc/clnt_perr.c: Likewise.
22793         * sunrpc/clnt_raw.c: Likewise.
22794         * sunrpc/clnt_simp.c: Likewise.
22795         * sunrpc/clnt_tcp.c: Likewise.
22796         * sunrpc/clnt_udp.c: Likewise.
22797         * sunrpc/clnt_unix.c: Likewise.
22798         * sunrpc/des_crypt.c: Likewise.
22799         * sunrpc/des_soft.c: Likewise.
22800         * sunrpc/get_myaddr.c: Likewise.
22801         * sunrpc/getrpcport.c: Likewise.
22802         * sunrpc/key_call.c: Likewise.
22803         * sunrpc/key_prot.c: Likewise.
22804         * sunrpc/openchild.c: Likewise.
22805         * sunrpc/pm_getmaps.c: Likewise.
22806         * sunrpc/pm_getport.c: Likewise.
22807         * sunrpc/pmap_clnt.c: Likewise.
22808         * sunrpc/pmap_prot.c: Likewise.
22809         * sunrpc/pmap_prot2.c: Likewise.
22810         * sunrpc/pmap_rmt.c: Likewise.
22811         * sunrpc/rpc/auth.h: Likewise.
22812         * sunrpc/rpc/auth_unix.h: Likewise.
22813         * sunrpc/rpc/clnt.h: Likewise.
22814         * sunrpc/rpc/des_crypt.h: Likewise.
22815         * sunrpc/rpc/key_prot.h: Likewise.
22816         * sunrpc/rpc/netdb.h: Likewise.
22817         * sunrpc/rpc/pmap_clnt.h: Likewise.
22818         * sunrpc/rpc/pmap_prot.h: Likewise.
22819         * sunrpc/rpc/pmap_rmt.h: Likewise.
22820         * sunrpc/rpc/rpc.h: Likewise.
22821         * sunrpc/rpc/rpc_des.h: Likewise.
22822         * sunrpc/rpc/rpc_msg.h: Likewise.
22823         * sunrpc/rpc/svc.h: Likewise.
22824         * sunrpc/rpc/svc_auth.h: Likewise.
22825         * sunrpc/rpc/types.h: Likewise.
22826         * sunrpc/rpc/xdr.h: Likewise.
22827         * sunrpc/rpc_clntout.c: Likewise.
22828         * sunrpc/rpc_cmsg.c: Likewise.
22829         * sunrpc/rpc_common.c: Likewise.
22830         * sunrpc/rpc_cout.c: Likewise.
22831         * sunrpc/rpc_dtable.c: Likewise.
22832         * sunrpc/rpc_hout.c: Likewise.
22833         * sunrpc/rpc_main.c: Likewise.
22834         * sunrpc/rpc_parse.c: Likewise.
22835         * sunrpc/rpc_parse.h: Likewise.
22836         * sunrpc/rpc_prot.c: Likewise.
22837         * sunrpc/rpc_sample.c: Likewise.
22838         * sunrpc/rpc_scan.c: Likewise.
22839         * sunrpc/rpc_scan.h: Likewise.
22840         * sunrpc/rpc_svcout.c: Likewise.
22841         * sunrpc/rpc_tblout.c: Likewise.
22842         * sunrpc/rpc_util.c: Likewise.
22843         * sunrpc/rpc_util.h: Likewise.
22844         * sunrpc/rpcinfo.c: Likewise.
22845         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
22846         * sunrpc/rpcsvc/key_prot.x: Likewise.
22847         * sunrpc/rpcsvc/klm_prot.x: Likewise.
22848         * sunrpc/rpcsvc/mount.x: Likewise.
22849         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
22850         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
22851         * sunrpc/rpcsvc/rex.x: Likewise.
22852         * sunrpc/rpcsvc/rstat.x: Likewise.
22853         * sunrpc/rpcsvc/rusers.x: Likewise.
22854         * sunrpc/rpcsvc/sm_inter.x: Likewise.
22855         * sunrpc/rpcsvc/spray.x: Likewise.
22856         * sunrpc/rpcsvc/yppasswd.x: Likewise.
22857         * sunrpc/rtime.c: Likewise.
22858         * sunrpc/svc.c: Likewise.
22859         * sunrpc/svc_auth.c: Likewise.
22860         * sunrpc/svc_authux.c: Likewise.
22861         * sunrpc/svc_raw.c: Likewise.
22862         * sunrpc/svc_run.c: Likewise.
22863         * sunrpc/svc_simple.c: Likewise.
22864         * sunrpc/svc_tcp.c: Likewise.
22865         * sunrpc/svc_udp.c: Likewise.
22866         * sunrpc/svc_unix.c: Likewise.
22867         * sunrpc/svcauth_des.c: Likewise.
22868         * sunrpc/xcrypt.c: Likewise.
22869         * sunrpc/xdr.c: Likewise.
22870         * sunrpc/xdr_array.c: Likewise.
22871         * sunrpc/xdr_float.c: Likewise.
22872         * sunrpc/xdr_mem.c: Likewise.
22873         * sunrpc/xdr_rec.c: Likewise.
22874         * sunrpc/xdr_ref.c: Likewise.
22875         * sunrpc/xdr_sizeof.c: Likewise.
22876         * sunrpc/xdr_stdio.c: Likewise.
22878         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
22879         handling.
22881 2010-08-19  Andreas Schwab  <schwab@redhat.com>
22883         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
22885 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
22887         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
22888         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
22889         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
22890         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
22891         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
22892         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
22893         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
22894         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
22895         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
22896         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
22897         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
22898         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
22899         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
22900         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
22902 2010-07-26  Anton Blanchard  <anton@samba.org>
22904         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
22905         * malloc/arena.c (heap_trim): Likewise.
22907 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
22909         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
22910         here.  Not...
22911         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
22912         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
22914 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
22916         * sysdeps/i386/elf/Makefile: New file.
22918 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
22920         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
22921         from fanotify_init.
22922         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
22923         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22925 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
22927         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
22928         of strncasecmp_l.
22929         * sysdeps/multiarch/strcmp.S: Likewise.
22931 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
22933         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22934         strncase_l-nonascii.
22935         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22936         Add strncase_l-ssse3.
22937         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
22938         * sysdeps/x86_64/strcmp.S: Likewise.
22939         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
22940         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
22941         * sysdeps/x86_64/strncase.S: New file.
22942         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
22943         * sysdeps/x86_64/strncase_l.S: New file.
22944         * string/Makefile (strop-tests): Add strncasecmp.
22945         * string/test-strncasecmp.c: New file.
22947         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
22948         warning.
22950         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
22951         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
22953 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
22955         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
22957 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
22959         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
22960         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
22961         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
22963 2010-05-01  Alan Modra  <amodra@gmail.com>
22965         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
22966         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
22967         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
22968         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
22969         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
22970         tidying.  Don't tail-call __sigjmp_save for static lib.
22971         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
22972         save location.
22973         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
22974         (CALL_MCOUNT): Add eh info, and nop after bl.
22975         (TAIL_CALL_SYSCALL_ERROR): New macro.
22976         (PSEUDO_RET): Use it.
22977         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22978         Correct save location of integer regs and cr.
22979         (_dl_profile_resolve): Correct cr save location.  Delete nops
22980         after bl when SHARED.  Reduce cfi size a little by better
22981         placement of cfi directives.
22982         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
22983         make a stack frame.  Instead use parm save area as a temp.
22984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
22985         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
22986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22987         Don't make a stack frame for parent, use parm save area.
22988         Increase child stack frame to 112 bytes.  Don't save unused reg,
22989         and adjust reg usage.  Set up cfi on error recovery and
22990         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
22991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22992         (__makecontext): Add dummy nop after jump to exit.
22993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
22994         Use correct parm save area and cr save, reduce stack frame.
22995         Correct cfi for possible PSEUDO_RET frame setup.
22996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
22997         Branch to local label emitted by PSEUDO_RET rather than
22998         __syscall_error.
23000 2010-08-12  Andreas Schwab  <schwab@redhat.com>
23002         [BZ #11904]
23003         * locale/programs/locale.c (print_assignment): New function.
23004         (show_locale_vars): Use it.
23006 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
23008         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
23009         field.
23010         (struct statfs64): Likewise.
23011         (_STATFS_F_FLAGS): Define.
23012         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
23013         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23014         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
23015         (ST_VALID): Define locally.
23016         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
23017         __statvfs_getflags, use the provided value.
23018         * sysdeps/unix/sysv/linux/kernel-features.h: Define
23019         __ASSUME_STATFS_F_FLAGS.
23021         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
23023         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
23024         Add sys/fanotify.h.
23025         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
23026         fanotify_mask for GLIBC_2.13.
23027         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
23028         fanotify_init and fanotify_mark.
23029         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23030         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
23032         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
23033         Add prlimit.
23034         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
23035         prlimit64 for GLIBC_2.13.
23036         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
23037         prlimit64.
23038         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
23039         syscall.
23040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
23041         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
23042         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
23043         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
23044         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
23045         add prlimit alias.
23046         * sysdeps/unix/sysv/linux/prlimit.c: New file.
23048         [BZ #11903]
23049         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
23050         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
23052         * nss/Makefile: Add rules to build and run tst-nss-test1.
23053         * shlib-versions: Add entry for libnss_test1.
23054         * nss/nss_test1.c: New file.
23055         * nss/tst-nss-test1.c: New file.
23057         * nss/nsswitch.c (__nss_database_custom): Define new variable.
23058         (__nss_configure_lookup): Set appropriate entry in
23059         __nss_configure_lookup to true.
23060         * nss/nsswitch.h: Define enum with indeces of databases in
23061         databases and __nss_database_custom arrays.  Declare
23062         __nss_database_custom.
23063         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
23064         to avoid using nscd when custom rules are installed.
23065         * nss/getXXbyYY_r.c: Likewise.
23066         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23068         * nss/nss_files/files-parse.c: Whitespace fixes.
23070 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
23072         [BZ #11883]
23073         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
23074         * posix/fnmatch_loop.c: Likewise.
23076 2010-07-17  Andi Kleen  <ak@linux.intel.com>
23078         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
23079         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
23080         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
23081         * Versions.def [GLIBC_2.13]: Add.
23083 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
23085         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23086         Also fail if tpwd after pwuid call is NULL.
23088 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23090         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
23091         when converting to ms.
23093 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23095         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
23096         EOPNOTSUPP errors with ENOTTY.
23097         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
23098         EOPNOTSUPP errors with ENOTTY.
23100 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
23102         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23103         Add strcasecmp_l-ssse3.
23104         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
23105         strcasecmp.
23106         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
23107         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
23108         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
23110 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
23112         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
23114         * string/Makefile (strop-tests): Add strcasecmp.
23115         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23116         strcasecmp_l-nonascii.
23117         (gen-as-const-headers): Add locale-defines.sym.
23118         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
23119         * sysdeps/x86_64/strcasecmp.S: New file.
23120         * sysdeps/x86_64/strcasecmp_l.S: New file.
23121         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
23122         * sysdeps/x86_64/locale-defines.sym: New file.
23123         * string/test-strcasecmp.c: New file.
23125         * string/test-strcasestr.c: Test both ends of the range of characters.
23126         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
23128 2010-07-29  Roland McGrath  <roland@redhat.com>
23130         [BZ #11856]
23131         * manual/locale.texi (Yes-or-No Questions): Fix example code.
23133 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
23135         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
23136         for ld.so.
23138 2010-07-27  Andreas Schwab  <schwab@redhat.com>
23140         * manual/memory.texi (Malloc Tunable Parameters): Document
23141         M_PERTURB.
23143 2010-07-26  Roland McGrath  <roland@redhat.com>
23145         [BZ #11840]
23146         * configure.in (-fgnu89-inline check): Set and substitute
23147         gnu89_inline, not libc_cv_gnu89_inline.
23148         * configure: Regenerated.
23149         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
23151 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
23153         * string/test-strnlen.c: New file.
23154         * string/Makefile (strop-tests): Add strnlen.
23155         * string/tester.c (test_strnlen): Add a few more test cases.
23156         * string/tst-strlen.c: Better error reporting.
23158         * sysdeps/x86_64/strnlen.S: New file.
23160 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
23162         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
23163         lower-latency instructions.
23165 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
23167         * string/test-strcasestr.c: New file.
23168         * string/test-strstr.c: New file.
23169         * string/Makefile (strop-tests): Add strstr and strcasestr.
23170         * string/str-two-way.h: Don't undefine MAX.
23171         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
23173 2010-07-21  Andreas Schwab  <schwab@redhat.com>
23175         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23176         strcasestr-nonascii.
23177         (CFLAGS-strcasestr-nonascii.c): Define.
23178         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
23179         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
23180         Remove unused attribute.
23182 2010-07-20  Roland McGrath  <roland@redhat.com>
23184         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
23185         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
23186         ld.so.cache was broken.  With it, there is no way to disable dsocaps
23187         like LD_HWCAP_MASK can disable hwcaps.
23189 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
23191         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
23193 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
23195         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
23196         call in strcasestr.
23197         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
23198         __strcasestr_sse42_nonascii.
23199         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
23200         strcasestr-nonascii.c.
23201         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
23203 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
23205         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
23206         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
23207         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
23208         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
23210 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
23212         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
23213         fcntl.
23215 2010-07-06  Andreas Schwab  <schwab@redhat.com>
23217         [BZ #11577]
23218         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
23219         dl_signal_cerror.
23221 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
23223         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
23224         _PC_PIPE_BUF using F_GETPIPE_SZ.
23226 2010-07-05  Roland McGrath  <roland@redhat.com>
23228         * manual/arith.texi (Rounding Functions): Fix rint description
23229         implicit in round description.
23231 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
23233         * elf/Makefile: Fix linking for a few tests to make recent linker
23234         happy.
23236 2010-06-30  Andreas Schwab  <schwab@redhat.com>
23238         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23239         $(common-objpfx)libc_nonshared.a.
23241 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
23243         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
23244         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
23245         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23246         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23247         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
23248         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
23249         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23250         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
23252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
23253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
23254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
23256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
23258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
23259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
23260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
23261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
23263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
23265         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
23266         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
23267         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
23268         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
23269         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
23270         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
23271         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
23272         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
23273         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
23274         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
23275         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
23276         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
23277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
23278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
23279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
23280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
23281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
23282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
23283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
23284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
23285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
23286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
23287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
23288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
23289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
23290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
23292 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
23294         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
23295         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
23296         * string/memmove.c (memmove): Renamed to ...
23297         (MEMMOVE): ...this.  Default to memmove.
23298         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
23299         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
23300         (END_CHK): Define.
23301         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23302         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
23303         mempcpy-ssse3-back memmove-ssse3-back.
23304         * sysdeps/x86_64/multiarch/bcopy.S: New file .
23305         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
23306         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
23307         * sysdeps/x86_64/multiarch/memcpy.S: New file.
23308         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
23309         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
23310         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
23311         * sysdeps/x86_64/multiarch/memmove.c: New file.
23312         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
23313         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
23314         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
23315         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
23316         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
23317         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
23318         Define.
23319         (index_Fast_Copy_Backward): Define.
23320         (HAS_ARCH_FEATURE): Define.
23321         (HAS_FAST_REP_STRING): Define.
23322         (HAS_FAST_COPY_BACKWARD): Define.
23324 2010-06-21  Andreas Schwab  <schwab@redhat.com>
23326         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23327         Restore proper fallback handling.
23329 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
23331         [BZ #11701]
23332         * posix/group_member.c (__group_member): Correct checking loop.
23334         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
23335         OOM in getpwuid_r correctly.  Return error number when the caller
23336         should return, otherwise -1.
23337         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
23338         call returning > 0 value.
23339         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
23341 2010-06-07  Andreas Schwab  <schwab@redhat.com>
23343         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
23344         libc_nonshared.a from targets in modules-names.
23346 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
23348         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
23349         requires it.
23351 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
23353         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
23354         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
23355         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
23356         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
23358 2010-06-02  Andreas Schwab  <schwab@redhat.com>
23360         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
23362 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
23364         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
23365         and F_GETPIPE_SZ.
23366         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23367         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23368         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23369         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23370         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23371         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
23373 2010-06-14  Roland McGrath  <roland@redhat.com>
23375         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
23377 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
23379         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
23380         __REDIRECT followed by __THROW.
23381         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
23382         * posix/getopt.h (getopt): Likewise.
23384 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
23386         * hurd/lookup-at.c (__file_name_lookup_at): Accept
23387         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
23388         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
23389         in AT_FLAGS.
23390         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
23391         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
23393 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
23395         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
23397 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
23399         [BZ #11640]
23400         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23401         Properly check family and model.
23403 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
23405         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
23407 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
23409         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
23411 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
23413         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
23414         symbol reference.
23416 2010-05-19  Andreas Schwab  <schwab@redhat.com>
23418         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
23419         symbol reference.
23421 2010-05-21  Andreas Schwab  <schwab@redhat.com>
23423         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
23424         and internal_recvmmsg.
23425         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
23426         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
23427         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
23428         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
23430         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
23431         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23432         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23434 2010-05-20  Andreas Schwab  <schwab@redhat.com>
23436         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
23438 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
23440         POWER7 optimizations.
23441         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
23442         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
23444 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
23446         * version.h: Update for 2.13 development version.
23448 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
23450         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
23451         exceptions.  Return 0.
23453 2010-05-07  Roland McGrath  <roland@redhat.com>
23455         * elf/ldconfig.c (main): Add a const.
23457 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
23459         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
23460         (args_options): Add no-idn option.
23461         (ahosts_keys_int): Add idn_flags to ai_flags.
23462         (parse_option): Handle 'i' option to clear idn_flags.
23464         * malloc/malloc.c (_int_free): Possible race in the most recently
23465         added check.  Only act on the data if no current modification
23466         happened.
23468 See ChangeLog.17 for earlier changes.