PowerPC: modf optimization
[glibc.git] / ChangeLog
blob3b1a5bc4a70c3874f0146c7416f74c550c01d83b
1 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
4         POWER.
5         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
6         for POWER.
7         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
8         powerpc/power5/fpu folders.
9         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
11 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
14         instructions.
15         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
17         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18         * benchtests/Makefile: Add rint benchtest.
19         * benchtests/rint-inputs: Input for rint benchtest.
21 2013-03-28  Alan Modra  <amodra@gmail.com>
23         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
24         Define as empty.
25         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
26         Likewise.
28 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
31         llroundl symbol when building for PPC32.
33 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
36         symbol.
38 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
41         macro to return vdso values correctly in IFUNC implementations.
42         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
43         Optimization by using IFUNC.
45 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
48         default_ldbl_pack and using as default implementation.
49         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
50         implementation.
51         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
52         redundant definition.
53         (ldbl_insert_mantissa): Likewise.
54         (ldbl_canonicalize): Likewise.
55         (ldbl_nearbyint): Likewise.
56         (ldbl_pack): Rename to ldbl_pack_ppc.
57         (ldbl_unpack): Rename to ldbl_unpack_ppc.
58         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
59         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
61 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
63         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
64         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
65         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
66         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
67         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
68         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
69         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
70         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
72 2013-02-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com> 
74         [BZ #15055] 
75         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use 
76         __ieee754_sqrl instead of __sqrl. 
78 2013-01-18  Anton Blanchard  <anton@samba.org>
79             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
81         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
82         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
83         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
84         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
85         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
86         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
87         "+r" and remove output regs list as redundant.  Add explicit inline
88         asm to specify register of return val to work around compiler codegen
89         bug.  Remove (int) cast on return value.  Add return type parameter to
90         use in macro so that this macro does not truncate return value for
91         64-bit values.
92         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
93         pass to INTERNAL_VSYSCALL_NCS.
94         (INLINE_VSYSCALL): Add 'long int' as return type to
95         INTERNAL_VSYSCALL_NCS macro invocation.
96         (INTERNAL_VSYSCALL): Add 'long int' as return type to
97         INTERNAL_VSYSCALL_NCS macro invocation.
98         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
100 2013-01-09  Anton Blanchard  <anton@samba.org>
102         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
103         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
104         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
105         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
107 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
109         [BZ #15006]
110         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
111         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
113 2013-03-30  David S. Miller  <davem@davemloft.net>
115         * po/de.po: Update from translation team.
117 2013-01-31  David S. Miller  <davem@davemloft.net>
119         * po/de.po: Update from translation team.
121 2013-01-11  Andreas Jaeger  <aj@suse.de>
123         [BZ #15003]
124         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
125         value. Sync with Linux 3.7.
127 2013-01-09  David S. Miller  <davem@davemloft.net>
129         [BZ# 15003]
130         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
131         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
132         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
133         TCP_FASTOPEN): Define.
134         (tcp_repair_opt): New structure.
135         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
136         enum values.
137         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
138         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
139         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
140         (tcp_cookie_transactions): New structure.
142 2013-01-09  Andreas Jaeger  <aj@suse.de>
144         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
145         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
147 2013-01-01  David S. Miller  <davem@davemloft.net>
149         * po/fr.po: Update from translation team.
150         * po/ca.po: Likewise.
152 2012-12-21  David S. Miller  <davem@davemloft.net>
154         * po/hr.po: Update from translation team.
156 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
158         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
160 2012-12-19  Steve Ellcey  <sellcey@mips.com>
162         * NEWS:  Mention new memcpy for MIPS.
164 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
166         * manual/contrib.texi (Contributors): Spelling correction.
168 2012-12-15  David S. Miller  <davem@davemloft.net>
170         * po/ru.po: Update from translation team.
172 2012-12-13  David S. Miller  <davem@davemloft.net>
174         * NEWS: Mention IFUNC testsuite enhancements.
176         * po/pl.po: Update from translation team.
177         * po/bg.po: Likewise.
179         * manual/contrib.texi (Contributors): Update entries for Hongjiu
180         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
182 2012-12-11  David S. Miller  <davem@davemloft.net>
184         * po/sv.po: Update from translation team.
186         * po/vi.po: Update from translation team.
188         * po/cs.po: Update from translation team.
190         * po/de.po: Update from translation team.
191         * po/eo.po: Likewise.
192         * po/nl.po: Likewise.
194 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
196         [BZ #14246]
197         * manual/argp.texi (Argp Helper Functions): Move node to follow
198         Argp Parsing State.
200         [BZ #14872]
201         * manual/conf.texi (Limits on File System Capacity): Mention if
202         terminating null is included in the max size.
204 2012-12-10  Andreas Jaeger  <aj@suse.de>
206         * po/cs.po: Update from translation team.
208 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
210         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
211         void pointer and cast to uintptr_t.
212         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
213         path.
214         * sysdeps/s390/s390-64/memcpy.S: Likewise.
215         * sysdeps/s390/s390-64/memset.S: Likewise.
217 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
219         [BZ #14833]
220         * menual/message.texi (Message Translation): Fix typos.
221         (Helper programs for gettext): Likewise.
223 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
225         [BZ #14898]
226         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
227         Change to -1.
229 2012-12-07  David S. Miller  <davem@davemloft.net>
231         * po/libc.pot: Update.
233 2012-12-07  Richard Henderson  <rth@redhat.com>
235         [BZ #10114]
236         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
237         normal/normal case to before the switch.
238         (_FP_DIV): Likewise.
240 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
241             Mike Frysinger  <vapier@gentoo.org>
243         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
244         check for __NR_fadvise64_64.
246 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
248         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
249         0, not just to plain "0" as a statement.
250         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
251         with cw.
253 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
255         * NEWS: Use sourceware.org in Bugzilla URL.
257 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
260         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
262         * stdio-common/tst-put-error.c (do_test): Add newline to the
263         padded test to ensure flush.
265 2012-12-05  Jeff Law  <law@redhat.com>
267         * sunrpc/etc.rpc (fedfs_admin): Add entry.
269 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
271         * README: Don't refer to ports add-on as distributed separately.
272         Mention AArch64 in list of systems supported in the ports add-on.
274         * LICENSES: Add more non-FSF copyright and license notices.
276         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
277         ((unused)).
279         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
281         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
282         10000 as width of padded output.
284 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
286         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
288         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
289         variable LX with __attribute__ ((unused)).
290         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
291         Likewise.
292         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
293         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
294         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
295         with __attribute__ ((unused)).
297 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
299         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
301 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
303         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
304         (CFLAGS-nldbl-acos.c): New variable.
305         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
306         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
307         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
308         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
309         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
310         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
311         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
312         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
313         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
314         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
315         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
316         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
317         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
318         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
319         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
320         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
321         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
322         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
323         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
324         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
325         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
326         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
327         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
328         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
329         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
330         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
331         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
332         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
333         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
334         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
335         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
336         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
337         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
338         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
339         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
340         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
341         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
342         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
343         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
344         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
345         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
346         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
347         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
348         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
349         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
350         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
351         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
352         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
353         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
354         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
355         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
356         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
357         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
358         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
359         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
360         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
361         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
362         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
363         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
364         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
365         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
366         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
367         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
368         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
369         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
370         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
371         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
372         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
373         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
374         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
375         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
376         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
377         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
378         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
379         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
380         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
381         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
382         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
383         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
384         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
385         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
386         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
387         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
388         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
389         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
390         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
391         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
392         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
393         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
394         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
395         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
396         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
397         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
398         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
399         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
400         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
401         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
404         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
406         [BZ #14914]
407         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
408         whole low double instead of just low 47 bits when splitting values
409         into two parts.
411 2012-12-03  Allan McRae  <allan@archlinux.org>
413         * manual/stdio.texi (Predefined Printf Handlers): Remove
414         @hsep and @vsep usage.
416 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
418         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
419         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
421 2012-12-03  Jeff Law  <law@redhat.com>
423         * time/sys/time.h (settimeofday): Do not mark TV argument
424         as __nonnull.
426 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
428         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
429         when currently writing and seek to current position when not.
430         * libio/Makefile (tests): Remove bug-fclose1.
431         * libio/bug-fclose1.c: Delete.
433 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
435         * manual/arith.texi (feenableexcept): Fix typo.
436         (fedisableexcept): Likewise.
438 2012-11-30  Roland McGrath  <roland@hack.frob.com>
440         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
441         second, differently-typed declaration, rather than a cast.
443 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
445         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
446         * include/rpc/svc.h: ... here.
448 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
450         [BZ #13013]
451         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
452         depending n and resplen2 to catch cases where answer
453         equals answerp2.
455 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
457         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
458         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
460 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
462         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
464 2012-11-29  Roland McGrath  <roland@hack.frob.com>
466         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
468 2012-11-28  Jeff Law  <law@redhat.com>
470         [BZ #13761]
471         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
472         dataset_temporary.  Track alloca usage into alloca_used.
473         If dataset is large allocate and release it via malloc/free.
475 2012-06-04  Florian Weimer  <fweimer@redhat.com>
477         [BZ #14197]
478         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
480 2012-11-28  David S. Miller  <davem@davemloft.net>
482         * sysdeps/sparc/fpu/libm-test-ulps: Update.
484 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
486         [BZ #14803]
487         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
488         of pi/2 rounded to nearest to 64 bits.
489         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
490         nearest to 64 bits.
491         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
492         bits.
494 2012-11-28  Jeff Law <law@redhat.com>
495             Martin Osvald <mosvald@redhat.com>
497         [BZ #14889]
498         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
499         * sunrpc/svc.c: Include time.h.
500         (__svc_accept_failed): New function.
501         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
502         any reason other than EINTR, call __svc_accept_failed.
503         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
504         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
506 2012-11-28  Andreas Schwab  <schwab@suse.de>
508         * scripts/abilist.awk: Also handle indirect functions in .opd
509         section.
511 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
513         [BZ #13881]
514         * sysdeps/x86/fpu/powl_helper.c: New file.
515         * sysdeps/x86/fpu/Makefile: Likewise.
516         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
517         (p3): New object.
518         (__ieee754_powl): Use __powl_helper for finite arguments except
519         integer exponents below 8.
520         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
521         (p3): New object.
522         (__ieee754_powl): Use __powl_helper for finite arguments except
523         integer exponents below 8.
524         * math/libm-test.inc (pow_test): Add more tests and enable some
525         previously disabled tests.
526         * sysdeps/i386/fpu/libm-test-ulps: Update.
527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
529 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
530             Carlos O'Donell  <carlos_odonell@mentor.com>
532         * nss/makedb.c (is_prime): Assert that input is odd and greater
533         than 4.  Note that fact in a comment too.
534         (next_prime): Add 4 to input.
536 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
538         [BZ #11741]
539         * libio/Makefile (tests): Add test case tst-fwrite-error.
540         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
541         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
542         * libio/tst-fwrite-error.c: New test case.
544 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
546         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
547         before casting to void *.
548         * include/libc-internal.h (__pointer_type): New macro.
549         (__integer_if_pointer_type_sub): Likewise.
550         (__integer_if_pointer_type): Likewise.
551         (cast_to_integer): Likewise.
552         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
553         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
554         before casting to atomic64_t.
555         (atomic_exchange_acq): Likewise.
556         (__arch_exchange_and_add_body): Likewise.
557         (__arch_add_body): Likewise.
558         (atomic_add_negative): Likewise.
559         (atomic_add_zero): Likewise.
561 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
563         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
564         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
565         (add_fdes): Likewise.
566         (linear_search_fdes): Likewise.
567         (binary_search_unencoded_fdes): Likewise.
569 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
571         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
573 2012-11-24  Adam Conrad  <adconrad@0c3.net>
575         * configure.in: Autodetect C++ header directories.
576         * configure: Regenerated.
578 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
580         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
582 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
584         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
586 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
588         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
589         LDBL_MANT_DIG == 106]: Disable some tests.
590         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
591         Likewise.
592         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
593         Likewise.
595         [BZ #14871]
596         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
597         input for small inputs.  Return +/- pi/2 for large inputs.
598         * math/libm-test.inc (atan_test): Add more tests.
600         * sysdeps/generic/unwind-dw2-fde-glibc.c
601         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
602         __attribute__ ((unused)).
604         [BZ #14645]
605         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
606         x * y if x and y are nonzero and z is zero.
608         [BZ #14811]
609         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
610         nonzero exponents with absolute value below 0x1p-117 to +/-
611         0x1p-117.
613         [BZ #14869]
614         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
615         up arguments below 2**-450, not just those below 2**-500.
616         * math/libm-test.inc (hypot_test): Add another test.
618         [BZ #14868]
619         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
620         Return a+b for ratio over 2**120, not 2**60.
621         * math/libm-test.inc (hypot_test): Add another test.
623         * math/libm-test.inc (clog_test): Use
624         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
625         (clog10_test): Likewise.
627         [BZ #6778]
628         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
630 2012-11-22  Andreas Schwab  <schwab@suse.de>
632         * sysdeps/i386/fpu/libm-test-ulps: Update.
634 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
636         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
637         printf output with newline.
639 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
641         [BZ #14865]
642         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
643         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
644         -z nodlopen, -z initfirst and -z execstack support.
645         * configure: Regenerated.
647         * elf/elf.h (DF_1_NODIRECT): New macro.
648         (DF_1_IGNMULDEF): Likewise.
649         (DF_1_NOKSYMS): Likewise.
650         (DF_1_NOHDR): Likewise.
651         (DF_1_EDITED): Likewise.
652         (DF_1_NORELOC): Likewise.
653         (DF_1_SYMINTPOSE): Likewise.
654         (DF_1_GLOBAUDIT): Likewise.
655         (DF_1_SINGLETON): Likewise.
656         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
657         DT_1_SUPPORTED_MASK bits.
658         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
660 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
662         * sysdeps/unix/make-syscalls.sh: Document prefixes.
664 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
666         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
667         macro.
669         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
670         (sendmmsg): Move declarations...
671         * socket/sys/socket.h: ... here.
672         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
673         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
674         include it from...
675         * socket/recvmmsg.c: ... this new file.
676         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
677         (sendmmsg): Rename to __sendmmsg, create weak alias and make
678         definition of __sendmmsg hidden.
679         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
680         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
681         Move ENOSYS stub into and include it from...
682         * socket/sendmmsg.c: ... this new file.
683         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
684         (sysdep_routines): Move recvmmsg and sendmmsg...
685         * socket/Makefile (routines): ... here.
686         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
687         (GLIBC_PRIVATE): Add __sendmmsg.
688         * include/sys/socket.h (__sendmmsg): Add declarations.
689         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
690         sendmmsg.
692 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
694         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
695         variable I1 with __attribute__ ((unused)).
696         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
698 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
700         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
701         DUMMY variables with __attribute__ ((unused)).
703         * bits/byteswap.h: Include <bits/types.h>.
704         (__bswap_64): Use __uint64_t instead of unsigned long long int.
706 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
708         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
709         string_t.  Do not manually set errno.
710         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
711         length with __strnlen.  Make sure to both set errno and return it on
712         failure.
714 2012-11-19  David S. Miller  <davem@davemloft.net>
716         With help from Joseph Myers.
717         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
718         very large arguments properly.
719         * math/libm-test.inc (atan_test): New tests.
720         (atan2_test): New tests.
721         * sysdeps/sparc/fpu/libm-test-ulps: Update.
722         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
724 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
726         [BZ #14856]
727         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
728         Define to 3.
730         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
731         [POSIX] (EADDRNOTAVAIL): Likewise.
732         [POSIX] (EAFNOSUPPORT): Likewise.
733         [POSIX] (EALREADY): Likewise.
734         [POSIX] (ECONNABORTED): Likewise.
735         [POSIX] (ECONNREFUSED): Likewise.
736         [POSIX] (ECONNRESET): Likewise.
737         [POSIX] (EDESTADDRREQ): Likewise.
738         [POSIX] (EDQUOT): Likewise.
739         [POSIX] (EHOSTUNREACH): Likewise.
740         [POSIX] (EIDRM): Likewise.
741         [POSIX] (EISCONN): Likewise.
742         [POSIX] (ELOOP): Likewise.
743         [POSIX] (EMULTIHOP): Likewise.
744         [POSIX] (ENETDOWN): Likewise.
745         [POSIX] (ENETUNREACH): Likewise.
746         [POSIX] (ENOBUFS): Likewise.
747         [POSIX] (ENODATA): Likewise.
748         [POSIX] (ENOLINK): Likewise.
749         [POSIX] (ENOMSG): Likewise.
750         [POSIX] (ENOPROTOOPT): Likewise.
751         [POSIX] (ENOSR): Likewise.
752         [POSIX] (ENOSTR): Likewise.
753         [POSIX] (ENOTCONN): Likewise.
754         [POSIX] (ENOTSOCK): Likewise.
755         [POSIX] (EOPNOTSUPP): Likewise.
756         [POSIX] (EOVERFLOW): Likewise.
757         [POSIX] (EPROTO): Likewise.
758         [POSIX] (EPROTONOSUPPORT): Likewise.
759         [POSIX] (EPROTOTYPE): Likewise.
760         [POSIX] (ESTALE): Likewise.
761         [POSIX] (ETIME): Likewise.
762         [POSIX] (ETXTBSY): Likewise.
763         [POSIX] (EWOULDBLOCK): Likewise.
764         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
765         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
766         [POSIX] (SEEK_CUR): Likewise.
767         [POSIX] (SEEK_END): Likewise.
768         [POSIX || UNIX98] (mode_t): Do not require.
769         [POSIX] (off_t): Likewise.
770         [POSIX] (pid_t): Likewise.
771         [POSIX] (sys/stat.h): Do not allow header.
772         [POSIX] (unistd.h): Likewise.
773         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
774         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
775         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
776         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
777         require.
778         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
779         sigevent): Specify elements.
780         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
781         entry.
782         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
783         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
785         * conform/data/cpio.h-data [POSIX]: Disable whole file.
786         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
787         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
788         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
789         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
790         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
791         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
792         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
793         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
794         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
795         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
796         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
797         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
798         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
799         Likewise.
800         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
801         Likewise.
802         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
803         Likewise.
804         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
805         Likewise.
806         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
807         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
808         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
809         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
810         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
811         Specify lower bound on value.
812         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
813         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
814         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
815         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
816         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
817         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
818         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
819         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
820         value.
821         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
822         as optional.
823         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
824         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
825         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
826         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
827         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
828         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
829         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
830         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
831         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
832         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
833         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
834         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
835         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
836         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
837         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
838         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
839         entry.
840         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
841         optional.
842         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
843         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
844         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
845         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
846         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
847         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
848         Likewise.
849         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
850         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
851         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
852         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
853         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
854         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
855         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
856         as optional.
857         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
858         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
859         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
860         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
861         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
862         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
863         specify as optional.
864         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
865         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
866         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
867         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
868         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
869         [XPG3] (NL_LANGMAX): Likewise.
870         [POSIX || XPG3] (NL_MSGMAX): Likewise.
871         [POSIX || XPG3] (NL_NMAX): Likewise.
872         [POSIX || XPG3] (NL_SETMAX): Likewise.
873         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
874         [XPG3] (NZERO): Likewise.
875         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
876         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
877         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
878         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
879         (REG_ERANGE): Expect.
880         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
881         optional-constant.
882         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
883         Use (void) in prototype.
884         [POSIX] (*_t): Allow.
885         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
886         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
887         (WRDE_BADVAL): Expect.
889         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
890         expect.
891         [XPG3 || XPG4] (O_RSYNC): Likewise.
892         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
893         Likewise.
894         [XPG3 || XPG4] (pthread_sigmask): Likewise.
895         [XPG3 || XPG4] (sigqueue): Likewise.
896         [XPG3 || XPG4] (sigtimedwait): Likewise.
897         [XPG3 || XPG4] (sigwaitinfo): Likewise.
898         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
899         [XPG3 || XPG4] (vsnprintf): Likewise.
900         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
901         Likewise.
902         [XPG3 || XPG4] (blksize_t): Likewise.
903         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
904         Likewise.
905         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
906         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
907         [XPG3 || XPG4] (struct itimerspec): Likewise.
908         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
909         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
910         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
911         [XPG3 || XPG4] (clockid_t): Likewise.
912         [XPG3 || XPG4] (timer_t): Likewise.
913         [XPG3 || XPG4] (clock_getres): Likewise.
914         [XPG3 || XPG4] (clock_gettime): Likewise.
915         [XPG3 || XPG4] (clock_settime): Likewise.
916         [XPG3 || XPG4] (nanosleep): Likewise.
917         [XPG3 || XPG4] (timer_create): Likewise.
918         [XPG3 || XPG4] (timer_delete): Likewise.
919         [XPG3 || XPG4] (timer_gettime): Likewise.
920         [XPG3 || XPG4] (timer_getoverrun): Likewise.
921         [XPG3 || XPG4] (timer_settime): Likewise.
922         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
923         [XPG3 || XPG4] (getlogin_r): Likewise.
924         [XPG3 || XPG4] (pread): Likewise.
925         [XPG3 || XPG4] (pthread_atfork): Likewise.
926         [XPG3 || XPG4] (pwrite): Likewise.
928         [BZ #14835]
929         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
930         <bits/siginfo.h>.
932 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
934         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
935         finalizing MALLSTREAM.
937         * sysdeps/mach/hurd/syncfs.c: New file.
939 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
941         [BZ #14719]
942         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
943         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
944         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
945         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
946         (_nss_dns_gethostbyname4_r): Likewise.
947         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
948         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
950 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
952         [BZ #13763]
953         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
955 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
957         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
958         * elf/cache.c (print_entry): Print ",AArch64" for
959         FLAG_AARCH64_LIB64
961         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
962         * elf/cache.c (print_entry): Print ",hard-float" for
963         FLAG_ARM_LIBHF.
965 2012-11-18  David S. Miller  <davem@davemloft.net>
967         With help from Joseph Myers.
968         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
969         cutoff to 2**-13.
970         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
971         cutoff to 2**-25.
972         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
973         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
974         small.
975         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
976         * math/libm-test.inc (y0_test): New tests.
977         (y1_test): New tests.
978         * sysdeps/i386/fpu/libm-test-ulps: Update.
979         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
980         * sysdeps/sparc/fpu/libm-test-ulps: Update.
982 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
984         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
985         64-bit targets.
986         * configure: Regenerated.
988 2012-11-17  David S. Miller  <davem@davemloft.net>
990         [BZ #14811]
991         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
992         nonzero exponents with absolute value below 0x1p-128 to +/-
993         0x1p-128.
995 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
997         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
999         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
1001         * posix/getconf-speclist.c: New file.
1002         * posix/posix-envs.def: Likewise.
1003         * posix/confstr.c (START_ENV_GROUP): New macro.
1004         (END_ENV_GROUP): Likewise.
1005         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
1006         (KNOWN_PRESENT_ENV_STRING): Likewise.
1007         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
1008         (UNKNOWN_ENVIRONMENT): Likewise.
1009         (confstr): Include posix-envs.def instead of handling
1010         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
1011         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
1012         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
1013         (END_ENV_GROUP): Likewise.
1014         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
1015         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
1016         (UNKNOWN_ENVIRONMENT): Likewise.
1017         (__sysconf): Include posix-envs.def instead of handling associated
1018         cases directly here.
1019         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
1020         preprocessing getconf-speclist.c rather than running getconf or
1021         generating empty file.
1023 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
1025         * scripts/check-local-headers.sh: Ignore 'mach' headers.
1027 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
1029         [BZ #14672]
1030         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
1032 2012-11-16  David S. Miller  <davem@davemloft.net>
1034         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
1035         smaller than LDBL_EPSILON/2.0L, just return xm1.
1037 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
1039         * elf/tst-array1.c (init): Set constructor priority to 1000.
1040         (fini): Set destructor priority to 1000.
1041         * elf/tst-array2dep.c: Likewise.
1043 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1045         [BZ #11741]
1046         * libio/fileops.c (_IO_new_file_write): Correctly return error.
1047         (_IO_new_file_xsputn): Also return EOF if none of the input
1048         data was written when overflow failed.
1049         * libio/iopadn.c (_IO_padn): Likewise.
1050         * libio/iowpadn.c (_IO_wpadn): Likewise.
1051         * stdio-common/tst-put-error.c: Add copyright notice.
1052         (do_test): Add case for printing padded string.
1053         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
1054         _IO_padn returned error.
1055         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
1056         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
1057         return EOF.
1059 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1061         * libio/libioP.h: Add comment note that the references to C++
1062         bits are now obsolete.
1064 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1066         * math/libm-test.inc (check_complex): Use asprintf.
1068 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
1070         * debug/pcprofiledump.c (print_version): Update copyright year.
1071         * malloc/memusagestat.c (print_version): Likewise.
1073 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
1075         [BZ #14831]
1076         * elf/Makefile (tests): Add tst-audit8.
1077         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
1078         ($(objpfx)tst-audit8.out): New target.
1079         (tst-audit8-ENV): New variable.
1080         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
1081         audit if l_reloc_result is NULL.
1082         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
1083         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
1084         * elf/tst-audit8.c: New file.
1086 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1088         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
1089         * misc/Makefile (CFLAGS-select.c): Define.
1090         * posix/Makefile (CFLAGS-pause.c): Define.
1092 2012-11-13  David S. Miller  <davem@davemloft.net>
1094         * crypt/Makefile: Move test targets after toplevel Rules
1095         inclusion.  Grab any necessary sysdep routines when linking.
1096         * crypt/md5.c (md5_process_block): Remove define, we will always
1097         name it __md5_process_block.
1098         (md5_finish_ctx): Update md5_process_block call.
1099         (md5_stream): Likewise.
1100         (md5_process_bytes): Likewise.
1101         (md5_process_block): Rename to __md5_process_block and move to ...
1102         * crypt/md5-block.c: ... here.
1103         * crypt/sha256.c (sha256_process_block): Move to ...
1104         * crypt/sha256-block.c: ... here.
1105         * crypt/sha512.c (sha512_process_block): Move to ...
1106         * crypt/sha512-block.c: ... here.
1107         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
1108         path.
1109         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
1110         * sysdeps/sparc/sparc64/multiarch/Makefile
1111         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
1112         crypt subdir.
1113         (localedef-aux): Add md5 crypto assembler when in locale subdir.
1114         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
1115         multiarch changes.
1116         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
1117         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
1118         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
1119         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
1120         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
1121         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
1122         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
1123         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
1124         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
1125         file.
1126         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
1127         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
1128         file.
1129         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
1131 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
1133         * timezone/tzselect.ksh: Update from tzcode git revision
1134         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
1135         * timezone/zdump.c: Likewise.
1136         * timezone/zic.c: Likewise.
1137         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
1138         in TZVERSION setting, not $(PKGVERSION).
1139         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
1140         REPORT_BUGS_TO settings.
1142         [BZ #14838]
1143         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
1144         macro.
1146 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1148         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
1149         detection to immediately after _FP_ROUND().
1150         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
1151         bits are 0.
1153 2012-11-11  David S. Miller  <davem@davemloft.net>
1155         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
1156         inttypes.h
1157         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
1158         __close rather than their public counterparts.
1160 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
1162         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
1163         file.
1164         [UNIX98] (sem_timedwait): Do not expect.
1165         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
1166         [XPG4 || UNIX98] (sockatmark): Do not expect.
1167         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
1168         (clock_getcpuclockid): Do not expect.
1169         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
1170         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
1171         Do not expect.
1172         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
1173         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
1174         [UNIX98] (vwscanf): Likewise.
1175         [UNIX98] (vswscanf): Likewise.
1177 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
1179         * timezone/version.h: Remove file.
1180         * timezone/README: Do not refer to version.h.
1181         * timezone/Makefile ($(objpfx)zic.o): New dependency on
1182         $(objpfx)version.h.
1183         ($(objpfx)zdump.o): Likewise.
1184         ($(objpfx)version.h): New target.
1186         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
1187         2012i.
1188         * timezone/README: Don't mention modification to tzselect.ksh.
1189         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
1190         work on unmodified tzselect.ksh.  Substitute version numbers in
1191         tzselect.ksh.
1193         * Makefile (format-me): Remove.
1194         (INSTALL): Adjust indentation.  Use commands directly instead of
1195         using $(format-me).
1197         * aclocal.m4 (ACX_PKGVERSION): New macro.
1198         (ACX_BUGURL): Likewise.
1199         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
1200         (PKGVERSION): New AC_DEFINE_UNQUOTED.
1201         (REPORT_BUGS_TO): Likewise.
1202         * configure: Regenerated.
1203         * config.h.in (PKGVERSION): New macro.
1204         (REPORT_BUGS_TO): Likewise.
1205         * config.make.in (PKGVERSION): New variable.
1206         (PKGVERSION_TEXI): Likewise.
1207         (REPORT_BUGS_TO): Likewise.
1208         (REPORT_BUGS_TEXI): Likewise.
1209         * Makefile (format-me): Use -I$(common-objpfx)manual.
1210         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
1211         ($(common-objpfx)manual/%): New target.
1212         (manual/%): Remove target.
1213         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
1214         (print_version): Use PKGVERSION.
1215         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
1216         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
1217         and REPORT_BUGS_TO.
1218         ($(objpfx)xtrace): Likewise.
1219         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
1220         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
1221         (print_version): Use PKGVERSION.
1222         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
1223         (do_version): Use PKGVERSION.
1224         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
1225         REPORT_BUGS_TO.
1226         (common-ldd-rewrite): Likewise.
1227         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
1228         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
1229         (print_version): Use PKGVERSION.
1230         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
1231         * elf/pldd.c (argp_program_bug_address): Remove variable.
1232         (more_help): New function.
1233         (argp): Use more_help.
1234         (print_version): Use PKGVERSION.
1235         * elf/sln.c (main): Use PKGVERSION.
1236         (usage): Use REPORT_BUGS_TO.
1237         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
1238         (top level): Use PKGVERSION.
1239         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
1240         (print_version): Use PKGVERSION.
1241         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
1242         (print_version): Use PKGVERSION.
1243         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
1244         (print_version): Use PKGVERSION.
1245         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
1246         (print_version): Use PKGVERSION.
1247         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
1248         (print_version): Use PKGVERSION.
1249         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
1250         (print_version): Use PKGVERSION.
1251         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
1252         and BUGURL.
1253         ($(objpfx)memusage): Likewise.
1254         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
1255         (do_version): Use PKGVERSION.
1256         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
1257         (print_version): Use PKGVERSION.
1258         * malloc/mtrace.pl ($PACKAGE): Remove variable.
1259         ($PKGVERSION): New variable.
1260         ($REPORT_BUGS_TO): Likewise.
1261         (usage): Use $REPORT_BUGS_TO.
1262         (top level): Use $PKGVERSION.
1263         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
1264         ($(objpfx)pkgvers.texi): New rule.
1265         ($(objpfx)stamp-pkgvers): Likewise.
1266         * manual/install.texi: Include pkgvers.texi.
1267         (--with-pkgversion): Document new configure option.
1268         (--with-bugurl): Likewise.
1269         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
1270         than necessarily for this particular distribution.  Use
1271         REPORT_BUGS_TO for where to report bugs.
1272         * INSTALL: Regenerated.
1273         * manual/libc.texinfo: Include pkgvers.texi.
1274         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
1275         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
1276         (print_version): Use PKGVERSION.
1277         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
1278         (print_version): Use PKGVERSION.
1279         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
1280         (print_version): Use PKGVERSION.
1281         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
1282         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
1283         macro.
1284         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
1285         (print_version): Use PKGVERSION.
1286         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
1287         (print_version): Use PKGVERSION.
1288         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
1289         and PKGVERSION.
1291         * timezone/checktab.awk: Update from tzcode 2012i.
1292         * timezone/ialloc.c: Likewise.
1293         * timezone/private.h: Likewise.
1294         * timezone/scheck.c: Likewise.
1295         * timezone/tzfile.h: Likewise.
1296         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
1297         (TZVERSION): Hardcode tzcode version number.
1298         * timezone/zdump.c: Update from tzcode 2012i.
1299         * timezone/zic.c: Likewise.
1300         * timezone/version.h: New file.
1301         * timezone/README: Describe version.h.  Update upstream location.
1303         [BZ #14824]
1304         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
1305         (mktemp): Enable declaration.
1306         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
1307         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
1308         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
1309         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
1310         Likewise.
1311         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
1312         Likewise.
1313         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
1314         Likewise.
1315         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
1316         Likewise.
1317         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
1318         Likewise.
1319         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
1320         Likewise.
1322         [BZ #14821]
1323         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
1324         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
1325         for copies of such integer values.
1326         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
1327         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
1329 2012-11-09  Andreas Jaeger  <aj@suse.de>
1331         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
1332         definitions and declarations that are provided by
1333         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1335 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1337         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
1338         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
1339         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
1340         definition.
1342 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1344         * elf/elf.h: Update comment before AArch64 relocations.
1346 2012-11-07  David S. Miller  <davem@davemloft.net>
1348         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
1349         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1350         (__start_context): Declare.
1351         (__makecontext_ret): Delete.
1352         (__makecontext): Hook up __start_context instead of
1353         __makecontext_ret.
1354         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
1355         (sysdep_routines): Add __start_context when in stdlib.
1357 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
1359         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
1360         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
1361         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
1362         hardcoded "nm".
1363         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
1364         (READELF): New variable.  Use it instead of hardcoded "readelf".
1366 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
1368         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
1369         * sysdeps/x86/Makefile: Here.
1370         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
1371         * sysdeps/x86/tst-xmmymm.sh: This.
1373 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
1375         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
1376         expectations.
1377         [UNIX98] (pthread_barrier_t): Do not expect.
1378         [UNIX98] (pthread_barrierattr_t): Likewise.
1379         [UNIX98] (pthread_spinlock_t): Likewise.
1380         [UNIX98] (pthread_barrier_destroy): Likewise.
1381         [UNIX98] (pthread_barrier_init): Likewise.
1382         [UNIX98] (pthread_barrier_wait): Likewise.
1383         [UNIX98] (pthread_barrierattr_destroy): Likewise.
1384         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
1385         [UNIX98] (pthread_barrierattr_init): Likewise.
1386         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
1387         [UNIX98] (pthread_getcpuclockid): Likewise.
1388         [UNIX98] (pthread_mutex_timedlock): Likewise.
1389         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
1390         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
1391         [UNIX98] (pthread_sigmask): Likewise.
1392         [UNIX98] (pthread_spin_destroy): Likewise.
1393         [UNIX98] (pthread_spin_init): Likewise.
1394         [UNIX98] (pthread_spin_lock): Likewise.
1395         [UNIX98] (pthread_spin_trylock): Likewise.
1396         [UNIX98] (pthread_spin_unlock): Likewise.
1397         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
1398         Do not expect.
1399         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
1400         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
1401         [XPG3 || XPG4] (pthread_cond_t): Likewise.
1402         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
1403         [XPG3 || XPG4] (pthread_key_t): Likewise.
1404         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
1405         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
1406         [XPG3 || XPG4] (pthread_once_t): Likewise.
1407         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
1408         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
1409         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
1410         [XPG3 || XPG4] (pthread_t): Likewise.
1412         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
1413         not expect.
1414         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
1416         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
1417         Change function return type to int.
1419         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
1420         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
1421         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
1422         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
1423         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
1424         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
1425         [!POSIX] (posix_madvise): Likewise.
1426         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
1427         && !UNIX98].
1428         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
1429         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
1430         (mode_t): Likewise.
1431         (posix_mem_offset): Likewise.
1432         (posix_typed_mem_get_info): Likewise.
1433         (posix_typed_mem_open): Likewise.
1435         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
1436         Change condition to [XOPEN2K8].
1438         * conform/conformtest.pl: Preprocess allow-header data with -x c
1439         instead of from stdin.
1440         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
1441         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
1442         [C99-based standards] (cerfc): Likewise.
1443         [C99-based standards] (cexp2): Likewise.
1444         [C99-based standards] (cexpm1): Likewise.
1445         [C99-based standards] (clog10): Likewise.
1446         [C99-based standards] (clog1p): Likewise.
1447         [C99-based standards] (clog2): Likewise.
1448         [C99-based standards] (clgamma): Likewise.
1449         [C99-based standards] (ctgamma): Likewise.
1450         [C99-based standards] (cerff): Likewise.
1451         [C99-based standards] (cerfcf): Likewise.
1452         [C99-based standards] (cexp2f): Likewise.
1453         [C99-based standards] (cexpm1f): Likewise.
1454         [C99-based standards] (clog10f): Likewise.
1455         [C99-based standards] (clog1pf): Likewise.
1456         [C99-based standards] (clog2f): Likewise.
1457         [C99-based standards] (clgammaf): Likewise.
1458         [C99-based standards] (ctgammaf): Likewise.
1459         [C99-based standards] (cerfl): Likewise.
1460         [C99-based standards] (cerfcl): Likewise.
1461         [C99-based standards] (cexp2l): Likewise.
1462         [C99-based standards] (cexpm1l): Likewise.
1463         [C99-based standards] (clog10l): Likewise.
1464         [C99-based standards] (clog1pl): Likewise.
1465         [C99-based standards] (clog2l): Likewise.
1466         [C99-based standards] (clgammal): Likewise.
1467         [C99-based standards] (ctgammal): Likewise.
1468         * conform/data/inttypes.h-data [C99-based standards]: Include
1469         stdint.h-data.  Remove all expectations for stdint.h contents.
1470         [C99-based standards] (PRI*): Do not allow.
1471         [C99-based standards] (SCN*): Likewise.
1472         [C99-based standards] (*_t): Likewise.
1473         [C99-based-standards] (PRId8): Expect macro.
1474         [C99-based-standards] (PRIi8): Likewise.
1475         [C99-based-standards] (PRIo8): Likewise.
1476         [C99-based-standards] (PRIu8): Likewise.
1477         [C99-based-standards] (PRIx8): Likewise.
1478         [C99-based-standards] (PRIX8): Likewise.
1479         [C99-based-standards] (SCNd8): Likewise.
1480         [C99-based-standards] (SCNi8): Likewise.
1481         [C99-based-standards] (SCNo8): Likewise.
1482         [C99-based-standards] (SCNu8): Likewise.
1483         [C99-based-standards] (SCNx8): Likewise.
1484         [C99-based-standards] (PRIdLEAST8): Likewise.
1485         [C99-based-standards] (PRIiLEAST8): Likewise.
1486         [C99-based-standards] (PRIoLEAST8): Likewise.
1487         [C99-based-standards] (PRIuLEAST8): Likewise.
1488         [C99-based-standards] (PRIxLEAST8): Likewise.
1489         [C99-based-standards] (PRIXLEAST8): Likewise.
1490         [C99-based-standards] (SCNdLEAST8): Likewise.
1491         [C99-based-standards] (SCNiLEAST8): Likewise.
1492         [C99-based-standards] (SCNoLEAST8): Likewise.
1493         [C99-based-standards] (SCNuLEAST8): Likewise.
1494         [C99-based-standards] (SCNxLEAST8): Likewise.
1495         [C99-based-standards] (PRIdFAST8): Likewise.
1496         [C99-based-standards] (PRIiFAST8): Likewise.
1497         [C99-based-standards] (PRIoFAST8): Likewise.
1498         [C99-based-standards] (PRIuFAST8): Likewise.
1499         [C99-based-standards] (PRIxFAST8): Likewise.
1500         [C99-based-standards] (PRIXFAST8): Likewise.
1501         [C99-based-standards] (SCNdFAST8): Likewise.
1502         [C99-based-standards] (SCNiFAST8): Likewise.
1503         [C99-based-standards] (SCNoFAST8): Likewise.
1504         [C99-based-standards] (SCNuFAST8): Likewise.
1505         [C99-based-standards] (SCNxFAST8): Likewise.
1506         [C99-based-standards] (PRId16): Likewise.
1507         [C99-based-standards] (PRIi16): Likewise.
1508         [C99-based-standards] (PRIo16): Likewise.
1509         [C99-based-standards] (PRIu16): Likewise.
1510         [C99-based-standards] (PRIx16): Likewise.
1511         [C99-based-standards] (PRIX16): Likewise.
1512         [C99-based-standards] (SCNd16): Likewise.
1513         [C99-based-standards] (SCNi16): Likewise.
1514         [C99-based-standards] (SCNo16): Likewise.
1515         [C99-based-standards] (SCNu16): Likewise.
1516         [C99-based-standards] (SCNx16): Likewise.
1517         [C99-based-standards] (PRIdLEAST16): Likewise.
1518         [C99-based-standards] (PRIiLEAST16): Likewise.
1519         [C99-based-standards] (PRIoLEAST16): Likewise.
1520         [C99-based-standards] (PRIuLEAST16): Likewise.
1521         [C99-based-standards] (PRIxLEAST16): Likewise.
1522         [C99-based-standards] (PRIXLEAST16): Likewise.
1523         [C99-based-standards] (SCNdLEAST16): Likewise.
1524         [C99-based-standards] (SCNiLEAST16): Likewise.
1525         [C99-based-standards] (SCNoLEAST16): Likewise.
1526         [C99-based-standards] (SCNuLEAST16): Likewise.
1527         [C99-based-standards] (SCNxLEAST16): Likewise.
1528         [C99-based-standards] (PRIdFAST16): Likewise.
1529         [C99-based-standards] (PRIiFAST16): Likewise.
1530         [C99-based-standards] (PRIoFAST16): Likewise.
1531         [C99-based-standards] (PRIuFAST16): Likewise.
1532         [C99-based-standards] (PRIxFAST16): Likewise.
1533         [C99-based-standards] (PRIXFAST16): Likewise.
1534         [C99-based-standards] (SCNdFAST16): Likewise.
1535         [C99-based-standards] (SCNiFAST16): Likewise.
1536         [C99-based-standards] (SCNoFAST16): Likewise.
1537         [C99-based-standards] (SCNuFAST16): Likewise.
1538         [C99-based-standards] (SCNxFAST16): Likewise.
1539         [C99-based-standards] (PRId32): Likewise.
1540         [C99-based-standards] (PRIi32): Likewise.
1541         [C99-based-standards] (PRIo32): Likewise.
1542         [C99-based-standards] (PRIu32): Likewise.
1543         [C99-based-standards] (PRIx32): Likewise.
1544         [C99-based-standards] (PRIX32): Likewise.
1545         [C99-based-standards] (SCNd32): Likewise.
1546         [C99-based-standards] (SCNi32): Likewise.
1547         [C99-based-standards] (SCNo32): Likewise.
1548         [C99-based-standards] (SCNu32): Likewise.
1549         [C99-based-standards] (SCNx32): Likewise.
1550         [C99-based-standards] (PRIdLEAST32): Likewise.
1551         [C99-based-standards] (PRIiLEAST32): Likewise.
1552         [C99-based-standards] (PRIoLEAST32): Likewise.
1553         [C99-based-standards] (PRIuLEAST32): Likewise.
1554         [C99-based-standards] (PRIxLEAST32): Likewise.
1555         [C99-based-standards] (PRIXLEAST32): Likewise.
1556         [C99-based-standards] (SCNdLEAST32): Likewise.
1557         [C99-based-standards] (SCNiLEAST32): Likewise.
1558         [C99-based-standards] (SCNoLEAST32): Likewise.
1559         [C99-based-standards] (SCNuLEAST32): Likewise.
1560         [C99-based-standards] (SCNxLEAST32): Likewise.
1561         [C99-based-standards] (PRIdFAST32): Likewise.
1562         [C99-based-standards] (PRIiFAST32): Likewise.
1563         [C99-based-standards] (PRIoFAST32): Likewise.
1564         [C99-based-standards] (PRIuFAST32): Likewise.
1565         [C99-based-standards] (PRIxFAST32): Likewise.
1566         [C99-based-standards] (PRIXFAST32): Likewise.
1567         [C99-based-standards] (SCNdFAST32): Likewise.
1568         [C99-based-standards] (SCNiFAST32): Likewise.
1569         [C99-based-standards] (SCNoFAST32): Likewise.
1570         [C99-based-standards] (SCNuFAST32): Likewise.
1571         [C99-based-standards] (SCNxFAST32): Likewise.
1572         [C99-based-standards] (PRId64): Likewise.
1573         [C99-based-standards] (PRIi64): Likewise.
1574         [C99-based-standards] (PRIo64): Likewise.
1575         [C99-based-standards] (PRIu64): Likewise.
1576         [C99-based-standards] (PRIx64): Likewise.
1577         [C99-based-standards] (PRIX64): Likewise.
1578         [C99-based-standards] (SCNd64): Likewise.
1579         [C99-based-standards] (SCNi64): Likewise.
1580         [C99-based-standards] (SCNo64): Likewise.
1581         [C99-based-standards] (SCNu64): Likewise.
1582         [C99-based-standards] (SCNx64): Likewise.
1583         [C99-based-standards] (PRIdLEAST64): Likewise.
1584         [C99-based-standards] (PRIiLEAST64): Likewise.
1585         [C99-based-standards] (PRIoLEAST64): Likewise.
1586         [C99-based-standards] (PRIuLEAST64): Likewise.
1587         [C99-based-standards] (PRIxLEAST64): Likewise.
1588         [C99-based-standards] (PRIXLEAST64): Likewise.
1589         [C99-based-standards] (SCNdLEAST64): Likewise.
1590         [C99-based-standards] (SCNiLEAST64): Likewise.
1591         [C99-based-standards] (SCNoLEAST64): Likewise.
1592         [C99-based-standards] (SCNuLEAST64): Likewise.
1593         [C99-based-standards] (SCNxLEAST64): Likewise.
1594         [C99-based-standards] (PRIdFAST64): Likewise.
1595         [C99-based-standards] (PRIiFAST64): Likewise.
1596         [C99-based-standards] (PRIoFAST64): Likewise.
1597         [C99-based-standards] (PRIuFAST64): Likewise.
1598         [C99-based-standards] (PRIxFAST64): Likewise.
1599         [C99-based-standards] (PRIXFAST64): Likewise.
1600         [C99-based-standards] (SCNdFAST64): Likewise.
1601         [C99-based-standards] (SCNiFAST64): Likewise.
1602         [C99-based-standards] (SCNoFAST64): Likewise.
1603         [C99-based-standards] (SCNuFAST64): Likewise.
1604         [C99-based-standards] (SCNxFAST64): Likewise.
1605         [C99-based-standards] (PRIdMAX): Likewise.
1606         [C99-based-standards] (PRIiMAX): Likewise.
1607         [C99-based-standards] (PRIoMAX): Likewise.
1608         [C99-based-standards] (PRIuMAX): Likewise.
1609         [C99-based-standards] (PRIxMAX): Likewise.
1610         [C99-based-standards] (PRIXMAX): Likewise.
1611         [C99-based-standards] (SCNdMAX): Likewise.
1612         [C99-based-standards] (SCNiMAX): Likewise.
1613         [C99-based-standards] (SCNoMAX): Likewise.
1614         [C99-based-standards] (SCNuMAX): Likewise.
1615         [C99-based-standards] (SCNxMAX): Likewise.
1616         [C99-based-standards] (PRIdPTR): Likewise.
1617         [C99-based-standards] (PRIiPTR): Likewise.
1618         [C99-based-standards] (PRIoPTR): Likewise.
1619         [C99-based-standards] (PRIuPTR): Likewise.
1620         [C99-based-standards] (PRIxPTR): Likewise.
1621         [C99-based-standards] (PRIXPTR): Likewise.
1622         [C99-based-standards] (SCNdPTR): Likewise.
1623         [C99-based-standards] (SCNiPTR): Likewise.
1624         [C99-based-standards] (SCNoPTR): Likewise.
1625         [C99-based-standards] (SCNuPTR): Likewise.
1626         [C99-based-standards] (SCNxPTR): Likewise.
1627         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
1628         allow.
1629         * conform/data/stdint.h-data: Update comments to clarify
1630         requirements.
1631         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
1632         type.
1633         [C99-based standards] (INT8_MAX): Likewise.
1634         [C99-based standards] (INT16_MIN): Likewise.
1635         [C99-based standards] (INT16_MAX): Likewise.
1636         [C99-based standards] (INT32_MIN): Likewise.
1637         [C99-based standards] (INT32_MAX): Likewise.
1638         [C99-based standards] (INT64_MIN): Likewise.
1639         [C99-based standards] (INT64_MAX): Likewise.
1640         [C99-based standards] (UINT8_MAX): Likewise.
1641         [C99-based standards] (UINT16_MAX): Likewise.
1642         [C99-based standards] (UINT32_MAX): Likewise.
1643         [C99-based standards] (UINT64_MAX): Likewise.
1644         [C99-based standards] (INT_LEAST8_MIN): Likewise.
1645         [C99-based standards] (INT_LEAST8_MAX): Likewise.
1646         [C99-based standards] (INT_LEAST16_MIN): Likewise.
1647         [C99-based standards] (INT_LEAST16_MAX): Likewise.
1648         [C99-based standards] (INT_LEAST32_MIN): Likewise.
1649         [C99-based standards] (INT_LEAST32_MAX): Likewise.
1650         [C99-based standards] (INT_LEAST64_MIN): Likewise.
1651         [C99-based standards] (INT_LEAST64_MAX): Likewise.
1652         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
1653         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
1654         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
1655         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
1656         [C99-based standards] (INT_FAST8_MIN): Likewise.
1657         [C99-based standards] (INT_FAST8_MAX): Likewise.
1658         [C99-based standards] (INT_FAST16_MIN): Likewise.
1659         [C99-based standards] (INT_FAST16_MAX): Likewise.
1660         [C99-based standards] (INT_FAST32_MIN): Likewise.
1661         [C99-based standards] (INT_FAST32_MAX): Likewise.
1662         [C99-based standards] (INT_FAST64_MIN): Likewise.
1663         [C99-based standards] (INT_FAST64_MAX): Likewise.
1664         [C99-based standards] (UINT_FAST8_MAX): Likewise.
1665         [C99-based standards] (UINT_FAST16_MAX): Likewise.
1666         [C99-based standards] (UINT_FAST32_MAX): Likewise.
1667         [C99-based standards] (UINT_FAST64_MAX): Likewise.
1668         [C99-based standards] (INTPTR_MIN): Likewise.
1669         [C99-based standards] (INTPTR_MAX): Likewise.
1670         [C99-based standards] (UINTPTR_MAX): Likewise.
1671         [C99-based standards] (INTMAX_MIN): Likewise.
1672         [C99-based standards] (INTMAX_MAX): Likewise.
1673         [C99-based standards] (UINTMAX_MAX): Likewise.
1674         [C99-based standards] (PTRDIFF_MIN): Likewise.
1675         [C99-based standards] (PTRDIFF_MAX): Likewise.
1676         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
1677         [C99-based standards] (SIZE_MAX): Likewise.
1678         [C99-based standards] (WCHAR_MAX): Likewise.
1679         [C99-based standards] (WINT_MAX): Likewise.
1680         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
1681         constraint on value.
1682         [C99-based standards] (WCHAR_MIN): Likewise.
1683         [C99-based standards] (WINT_MIN): Likewise.
1684         [C99-based standards] (*_t): Allow.
1685         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
1686         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
1687         Include math.h-data and complex.h-data.  Remove all expectations
1688         of math.h and complex.h contents.
1689         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
1690         at end of line.
1691         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
1692         (struct tm): Expect tag.
1693         [C99-based-standards] (wcstof): Expect function.
1694         [C99-based-standards] (wcstold): Likewise.
1695         [C99-based-standards] (wcstoll): Likewise.
1696         [C99-based-standards] (wcstoull): Likewise.
1697         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
1698         macro-int-constant.  Specify type.
1699         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
1700         constraint on value.
1701         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1702         Specify type.
1703         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
1704         Specify value.
1705         [ISO C standards]: Do not allow headers.
1706         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
1707         wcs[abcdefghijklmnopqrstuvwxyz]*.
1708         [ISO C standards] (*_t): Do not allow.
1709         * conform/data/wctype.h-data [C99-based standards] (iswblank):
1710         Expect function.
1711         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
1712         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1713         Specify type.
1714         [ISO C standards]: Do not allow headers.
1715         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
1716         is[abcdefghijklmnopqrstuvwxyz]*.
1717         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
1718         to[abcdefghijklmnopqrstuvwxyz]*.
1719         [ISO C standards] (*_t): Do not allow.
1720         * conform/data/stdalign.h-data: New file.
1721         * conform/data/stdbool.h-data: Likewise.
1722         * conform/data/stdnoreturn.h-data: Likewise.
1724 2012-11-07  Roland McGrath  <roland@hack.frob.com>
1726         [BZ #14815]
1727         * manual/filesys.texi (Directory Entries): Typo fix.
1728         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
1730 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1732         * elf/elf.h (EM_AARCH64): New macro.
1733         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
1734         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
1735         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
1736         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
1737         (R_AARCH64_TLSDESC): Likewise.
1738         (NT_ARM_TLS): Likewise.
1739         (NT_ARM_HW_BREAK): Likewise.
1740         (NT_ARM_HW_WATCH): Likewise.
1742 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
1744         [BZ #14811]
1745         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
1746         (__ieee754_powl): Saturate nonzero exponents with absolute value
1747         below 0x1p-79 to +/- 0x1p-79.
1748         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
1749         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
1750         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
1751         nonzero exponents with absolute value below 0x1p-32 to +/-
1752         0x1p-32.
1753         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
1754         (__ieee754_powl): Saturate nonzero exponents with absolute value
1755         below 0x1p-79 to +/- 0x1p-79.
1756         * math/libm-test.inc (pow_test): Add more tests.
1758 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1760         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
1761         _dl_s390_cap_flags with kernel. Increase string length.
1762         (_dl_s390_platforms): Add z196 and zEC12.
1764 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
1766         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
1767         Change XOPEN21K to XOPEN2K.
1769 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
1771         * string/memmove.c: Use memcpy when possible.
1773 2012-11-06  Andreas Jaeger  <aj@suse.de>
1775         * po/eo.po: Update from translation team.
1777 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
1779         [BZ #14793]
1780         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
1781         exponent and small x and y exponents, scale x or y up.  Increase
1782         by 2 the exponent used in scaling up.
1783         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1784         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1785         * math/libm-test.inc (fma_test): Add more tests.
1786         (fma_test_towardzero): Likewise.
1787         (fma_test_downward): Likewise.
1788         (fma_test_upward): Likewise.
1790 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
1792         [BZ #14805]
1793         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
1794         fenv_t *.
1796         [BZ #14801]
1797         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
1798         namespace for names of struct fields.
1799         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
1800         fenv_t fields.
1801         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1802         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
1804 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1806         [BZ #3665]
1807         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
1809 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
1811         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
1812         PTR_DEMANGLE.
1814         [BZ #5246]
1815         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
1816         PTR_DEMANGLE.
1818 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
1820         [BZ #14797]
1821         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
1822         definitely overflow as x * y not x * y + z.
1823         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1824         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1825         * math/libm-test.inc (fma_test): Add more tests.
1826         (fma_test_towardzero): Likewise.
1827         (fma_test_downward): Likewise.
1828         (fma_test_upward): Likewise.
1830 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
1832         [BZ #157]
1834         * include/stub-tag.h: Remove file.
1835         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
1836         '#include' of it.
1837         * manual/maint.texi (Porting): Don't reference it.
1838         * Makerules ($(objpfx)stubs): Likewise.
1839         * dirent/closedir.c: Don't include <stub-tag.h>.
1840         * dirent/dirfd.c: Likewise.
1841         * dirent/fdopendir.c: Likewise.
1842         * dirent/getdents.c: Likewise.
1843         * dirent/getdents64.c: Likewise.
1844         * dirent/opendir.c: Likewise.
1845         * dirent/readdir.c: Likewise.
1846         * dirent/readdir64.c: Likewise.
1847         * dirent/readdir64_r.c: Likewise.
1848         * dirent/readdir_r.c: Likewise.
1849         * dirent/rewinddir.c: Likewise.
1850         * dirent/seekdir.c: Likewise.
1851         * dirent/telldir.c: Likewise.
1852         * gmon/profil.c: Likewise.
1853         * grp/setgroups.c: Likewise.
1854         * inet/if_index.c: Likewise.
1855         * io/access.c: Likewise.
1856         * io/chdir.c: Likewise.
1857         * io/chmod.c: Likewise.
1858         * io/chown.c: Likewise.
1859         * io/close.c: Likewise.
1860         * io/dup.c: Likewise.
1861         * io/dup2.c: Likewise.
1862         * io/dup3.c: Likewise.
1863         * io/euidaccess.c: Likewise.
1864         * io/faccessat.c: Likewise.
1865         * io/fchdir.c: Likewise.
1866         * io/fchmod.c: Likewise.
1867         * io/fchmodat.c: Likewise.
1868         * io/fchown.c: Likewise.
1869         * io/fchownat.c: Likewise.
1870         * io/fcntl.c: Likewise.
1871         * io/flock.c: Likewise.
1872         * io/fstatfs.c: Likewise.
1873         * io/fstatfs64.c: Likewise.
1874         * io/fstatvfs.c: Likewise.
1875         * io/fstatvfs64.c: Likewise.
1876         * io/futimens.c: Likewise.
1877         * io/fxstat.c: Likewise.
1878         * io/fxstat64.c: Likewise.
1879         * io/fxstatat.c: Likewise.
1880         * io/fxstatat64.c: Likewise.
1881         * io/getcwd.c: Likewise.
1882         * io/isatty.c: Likewise.
1883         * io/lchmod.c: Likewise.
1884         * io/lchown.c: Likewise.
1885         * io/link.c: Likewise.
1886         * io/linkat.c: Likewise.
1887         * io/lseek.c: Likewise.
1888         * io/lseek64.c: Likewise.
1889         * io/lxstat64.c: Likewise.
1890         * io/mkdir.c: Likewise.
1891         * io/mkdirat.c: Likewise.
1892         * io/mkfifo.c: Likewise.
1893         * io/mkfifoat.c: Likewise.
1894         * io/open.c: Likewise.
1895         * io/open64.c: Likewise.
1896         * io/openat.c: Likewise.
1897         * io/openat64.c: Likewise.
1898         * io/pipe.c: Likewise.
1899         * io/pipe2.c: Likewise.
1900         * io/poll.c: Likewise.
1901         * io/posix_fadvise.c: Likewise.
1902         * io/posix_fadvise64.c: Likewise.
1903         * io/posix_fallocate.c: Likewise.
1904         * io/posix_fallocate64.c: Likewise.
1905         * io/read.c: Likewise.
1906         * io/readlink.c: Likewise.
1907         * io/readlinkat.c: Likewise.
1908         * io/rmdir.c: Likewise.
1909         * io/sendfile.c: Likewise.
1910         * io/sendfile64.c: Likewise.
1911         * io/statfs.c: Likewise.
1912         * io/statfs64.c: Likewise.
1913         * io/statvfs.c: Likewise.
1914         * io/statvfs64.c: Likewise.
1915         * io/symlink.c: Likewise.
1916         * io/symlinkat.c: Likewise.
1917         * io/ttyname.c: Likewise.
1918         * io/ttyname_r.c: Likewise.
1919         * io/umask.c: Likewise.
1920         * io/unlink.c: Likewise.
1921         * io/unlinkat.c: Likewise.
1922         * io/utime.c: Likewise.
1923         * io/utimensat.c: Likewise.
1924         * io/write.c: Likewise.
1925         * io/xmknod.c: Likewise.
1926         * io/xmknodat.c: Likewise.
1927         * io/xstat.c: Likewise.
1928         * io/xstat64.c: Likewise.
1929         * login/getpt.c: Likewise.
1930         * login/grantpt.c: Likewise.
1931         * login/unlockpt.c: Likewise.
1932         * math/e_acoshl.c: Likewise.
1933         * math/e_acosl.c: Likewise.
1934         * math/e_asinl.c: Likewise.
1935         * math/e_atan2l.c: Likewise.
1936         * math/e_atanhl.c: Likewise.
1937         * math/e_coshl.c: Likewise.
1938         * math/e_expl.c: Likewise.
1939         * math/e_fmodl.c: Likewise.
1940         * math/e_gammal_r.c: Likewise.
1941         * math/e_hypotl.c: Likewise.
1942         * math/e_j0l.c: Likewise.
1943         * math/e_j1l.c: Likewise.
1944         * math/e_jnl.c: Likewise.
1945         * math/e_lgammal_r.c: Likewise.
1946         * math/e_log10l.c: Likewise.
1947         * math/e_log2l.c: Likewise.
1948         * math/e_logl.c: Likewise.
1949         * math/e_powl.c: Likewise.
1950         * math/e_rem_pio2l.c: Likewise.
1951         * math/e_sinhl.c: Likewise.
1952         * math/e_sqrtl.c: Likewise.
1953         * math/fclrexcpt.c: Likewise.
1954         * math/fedisblxcpt.c: Likewise.
1955         * math/feenablxcpt.c: Likewise.
1956         * math/fegetenv.c: Likewise.
1957         * math/fegetexcept.c: Likewise.
1958         * math/fegetround.c: Likewise.
1959         * math/feholdexcpt.c: Likewise.
1960         * math/fesetenv.c: Likewise.
1961         * math/fesetround.c: Likewise.
1962         * math/feupdateenv.c: Likewise.
1963         * math/fgetexcptflg.c: Likewise.
1964         * math/fraiseexcpt.c: Likewise.
1965         * math/fsetexcptflg.c: Likewise.
1966         * math/ftestexcept.c: Likewise.
1967         * math/k_cosl.c: Likewise.
1968         * math/k_rem_pio2l.c: Likewise.
1969         * math/k_sinl.c: Likewise.
1970         * math/k_tanl.c: Likewise.
1971         * math/s_asinhl.c: Likewise.
1972         * math/s_atanl.c: Likewise.
1973         * math/s_cbrtl.c: Likewise.
1974         * math/s_erfl.c: Likewise.
1975         * math/s_expm1l.c: Likewise.
1976         * math/s_log1pl.c: Likewise.
1977         * math/s_tanhl.c: Likewise.
1978         * misc/acct.c: Likewise.
1979         * misc/brk.c: Likewise.
1980         * misc/chflags.c: Likewise.
1981         * misc/chroot.c: Likewise.
1982         * misc/fchflags.c: Likewise.
1983         * misc/fgetxattr.c: Likewise.
1984         * misc/flistxattr.c: Likewise.
1985         * misc/fremovexattr.c: Likewise.
1986         * misc/fsetxattr.c: Likewise.
1987         * misc/fsync.c: Likewise.
1988         * misc/ftruncate.c: Likewise.
1989         * misc/futimes.c: Likewise.
1990         * misc/futimesat.c: Likewise.
1991         * misc/getdomain.c: Likewise.
1992         * misc/getdtsz.c: Likewise.
1993         * misc/gethostid.c: Likewise.
1994         * misc/gethostname.c: Likewise.
1995         * misc/getloadavg.c: Likewise.
1996         * misc/getpagesize.c: Likewise.
1997         * misc/getsysstats.c: Likewise.
1998         * misc/getxattr.c: Likewise.
1999         * misc/gtty.c: Likewise.
2000         * misc/ioctl.c: Likewise.
2001         * misc/lgetxattr.c: Likewise.
2002         * misc/listxattr.c: Likewise.
2003         * misc/llistxattr.c: Likewise.
2004         * misc/lremovexattr.c: Likewise.
2005         * misc/lsetxattr.c: Likewise.
2006         * misc/lutimes.c: Likewise.
2007         * misc/madvise.c: Likewise.
2008         * misc/mincore.c: Likewise.
2009         * misc/mlock.c: Likewise.
2010         * misc/mlockall.c: Likewise.
2011         * misc/mmap.c: Likewise.
2012         * misc/mprotect.c: Likewise.
2013         * misc/msync.c: Likewise.
2014         * misc/munlock.c: Likewise.
2015         * misc/munlockall.c: Likewise.
2016         * misc/munmap.c: Likewise.
2017         * misc/preadv.c: Likewise.
2018         * misc/preadv64.c: Likewise.
2019         * misc/ptrace.c: Likewise.
2020         * misc/pwritev.c: Likewise.
2021         * misc/pwritev64.c: Likewise.
2022         * misc/readv.c: Likewise.
2023         * misc/reboot.c: Likewise.
2024         * misc/remap_file_pages.c: Likewise.
2025         * misc/removexattr.c: Likewise.
2026         * misc/revoke.c: Likewise.
2027         * misc/select.c: Likewise.
2028         * misc/setdomain.c: Likewise.
2029         * misc/setegid.c: Likewise.
2030         * misc/seteuid.c: Likewise.
2031         * misc/sethostid.c: Likewise.
2032         * misc/sethostname.c: Likewise.
2033         * misc/setregid.c: Likewise.
2034         * misc/setreuid.c: Likewise.
2035         * misc/setxattr.c: Likewise.
2036         * misc/sstk.c: Likewise.
2037         * misc/stty.c: Likewise.
2038         * misc/swapoff.c: Likewise.
2039         * misc/swapon.c: Likewise.
2040         * misc/sync.c: Likewise.
2041         * misc/syncfs.c: Likewise.
2042         * misc/syscall.c: Likewise.
2043         * misc/truncate.c: Likewise.
2044         * misc/ualarm.c: Likewise.
2045         * misc/usleep.c: Likewise.
2046         * misc/ustat.c: Likewise.
2047         * misc/utimes.c: Likewise.
2048         * misc/vhangup.c: Likewise.
2049         * misc/writev.c: Likewise.
2050         * posix/_exit.c: Likewise.
2051         * posix/alarm.c: Likewise.
2052         * posix/execve.c: Likewise.
2053         * posix/fexecve.c: Likewise.
2054         * posix/fork.c: Likewise.
2055         * posix/fpathconf.c: Likewise.
2056         * posix/getaddrinfo.c: Likewise.
2057         * posix/getegid.c: Likewise.
2058         * posix/geteuid.c: Likewise.
2059         * posix/getgid.c: Likewise.
2060         * posix/getgroups.c: Likewise.
2061         * posix/getlogin.c: Likewise.
2062         * posix/getlogin_r.c: Likewise.
2063         * posix/getpgid.c: Likewise.
2064         * posix/getpid.c: Likewise.
2065         * posix/getppid.c: Likewise.
2066         * posix/getresgid.c: Likewise.
2067         * posix/getresuid.c: Likewise.
2068         * posix/getsid.c: Likewise.
2069         * posix/getuid.c: Likewise.
2070         * posix/glob64.c: Likewise.
2071         * posix/nanosleep.c: Likewise.
2072         * posix/pathconf.c: Likewise.
2073         * posix/pause.c: Likewise.
2074         * posix/posix_madvise.c: Likewise.
2075         * posix/pread.c: Likewise.
2076         * posix/pread64.c: Likewise.
2077         * posix/pwrite.c: Likewise.
2078         * posix/pwrite64.c: Likewise.
2079         * posix/sched_getaffinity.c: Likewise.
2080         * posix/sched_getp.c: Likewise.
2081         * posix/sched_gets.c: Likewise.
2082         * posix/sched_primax.c: Likewise.
2083         * posix/sched_primin.c: Likewise.
2084         * posix/sched_rr_gi.c: Likewise.
2085         * posix/sched_setaffinity.c: Likewise.
2086         * posix/sched_setp.c: Likewise.
2087         * posix/sched_sets.c: Likewise.
2088         * posix/sched_yield.c: Likewise.
2089         * posix/setgid.c: Likewise.
2090         * posix/setlogin.c: Likewise.
2091         * posix/setpgid.c: Likewise.
2092         * posix/setresgid.c: Likewise.
2093         * posix/setresuid.c: Likewise.
2094         * posix/setsid.c: Likewise.
2095         * posix/setuid.c: Likewise.
2096         * posix/sleep.c: Likewise.
2097         * posix/spawni.c: Likewise.
2098         * posix/sysconf.c: Likewise.
2099         * posix/times.c: Likewise.
2100         * posix/wait.c: Likewise.
2101         * posix/wait3.c: Likewise.
2102         * posix/wait4.c: Likewise.
2103         * posix/waitpid.c: Likewise.
2104         * resolv/gai_sigqueue.c: Likewise.
2105         * resource/getpriority.c: Likewise.
2106         * resource/getrlimit.c: Likewise.
2107         * resource/getrusage.c: Likewise.
2108         * resource/nice.c: Likewise.
2109         * resource/setpriority.c: Likewise.
2110         * resource/setrlimit.c: Likewise.
2111         * resource/ulimit.c: Likewise.
2112         * rt/aio_cancel.c: Likewise.
2113         * rt/aio_fsync.c: Likewise.
2114         * rt/aio_read.c: Likewise.
2115         * rt/aio_sigqueue.c: Likewise.
2116         * rt/aio_suspend.c: Likewise.
2117         * rt/aio_write.c: Likewise.
2118         * rt/clock_getres.c: Likewise.
2119         * rt/clock_gettime.c: Likewise.
2120         * rt/clock_nanosleep.c: Likewise.
2121         * rt/clock_settime.c: Likewise.
2122         * rt/lio_listio.c: Likewise.
2123         * rt/mq_close.c: Likewise.
2124         * rt/mq_getattr.c: Likewise.
2125         * rt/mq_notify.c: Likewise.
2126         * rt/mq_open.c: Likewise.
2127         * rt/mq_receive.c: Likewise.
2128         * rt/mq_send.c: Likewise.
2129         * rt/mq_setattr.c: Likewise.
2130         * rt/mq_timedreceive.c: Likewise.
2131         * rt/mq_timedsend.c: Likewise.
2132         * rt/mq_unlink.c: Likewise.
2133         * rt/shm_open.c: Likewise.
2134         * rt/shm_unlink.c: Likewise.
2135         * rt/timer_create.c: Likewise.
2136         * rt/timer_delete.c: Likewise.
2137         * rt/timer_getoverr.c: Likewise.
2138         * rt/timer_gettime.c: Likewise.
2139         * rt/timer_settime.c: Likewise.
2140         * setjmp/__longjmp.c: Likewise.
2141         * setjmp/setjmp.c: Likewise.
2142         * signal/kill.c: Likewise.
2143         * signal/killpg.c: Likewise.
2144         * signal/raise.c: Likewise.
2145         * signal/sigaction.c: Likewise.
2146         * signal/sigaltstack.c: Likewise.
2147         * signal/sigblock.c: Likewise.
2148         * signal/sigignore.c: Likewise.
2149         * signal/sigintr.c: Likewise.
2150         * signal/signal.c: Likewise.
2151         * signal/sigpause.c: Likewise.
2152         * signal/sigpending.c: Likewise.
2153         * signal/sigqueue.c: Likewise.
2154         * signal/sigreturn.c: Likewise.
2155         * signal/sigset.c: Likewise.
2156         * signal/sigsetmask.c: Likewise.
2157         * signal/sigstack.c: Likewise.
2158         * signal/sigsuspend.c: Likewise.
2159         * signal/sigtimedwait.c: Likewise.
2160         * signal/sigvec.c: Likewise.
2161         * signal/sigwait.c: Likewise.
2162         * signal/sigwaitinfo.c: Likewise.
2163         * signal/sysv_signal.c: Likewise.
2164         * socket/accept.c: Likewise.
2165         * socket/accept4.c: Likewise.
2166         * socket/bind.c: Likewise.
2167         * socket/connect.c: Likewise.
2168         * socket/getpeername.c: Likewise.
2169         * socket/getsockname.c: Likewise.
2170         * socket/getsockopt.c: Likewise.
2171         * socket/isfdtype.c: Likewise.
2172         * socket/listen.c: Likewise.
2173         * socket/recv.c: Likewise.
2174         * socket/recvfrom.c: Likewise.
2175         * socket/recvmsg.c: Likewise.
2176         * socket/send.c: Likewise.
2177         * socket/sendmsg.c: Likewise.
2178         * socket/sendto.c: Likewise.
2179         * socket/setsockopt.c: Likewise.
2180         * socket/shutdown.c: Likewise.
2181         * socket/sockatmark.c: Likewise.
2182         * socket/socket.c: Likewise.
2183         * socket/socketpair.c: Likewise.
2184         * stdio-common/ctermid.c: Likewise.
2185         * stdio-common/cuserid.c: Likewise.
2186         * stdio-common/remove.c: Likewise.
2187         * stdio-common/rename.c: Likewise.
2188         * stdio-common/renameat.c: Likewise.
2189         * stdio-common/tempname.c: Likewise.
2190         * stdlib/getcontext.c: Likewise.
2191         * stdlib/makecontext.c: Likewise.
2192         * stdlib/setcontext.c: Likewise.
2193         * stdlib/swapcontext.c: Likewise.
2194         * stdlib/system.c: Likewise.
2195         * streams/fattach.c: Likewise.
2196         * streams/fdetach.c: Likewise.
2197         * streams/getmsg.c: Likewise.
2198         * streams/getpmsg.c: Likewise.
2199         * streams/putmsg.c: Likewise.
2200         * streams/putpmsg.c: Likewise.
2201         * sysdeps/unix/bsd/getpt.c: Likewise.
2202         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
2203         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
2204         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
2206         Likewise.
2207         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
2208         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
2209         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2210         * sysvipc/msgctl.c: Likewise.
2211         * sysvipc/msgget.c: Likewise.
2212         * sysvipc/msgrcv.c: Likewise.
2213         * sysvipc/msgsnd.c: Likewise.
2214         * sysvipc/semctl.c: Likewise.
2215         * sysvipc/semget.c: Likewise.
2216         * sysvipc/semop.c: Likewise.
2217         * sysvipc/semtimedop.c: Likewise.
2218         * sysvipc/shmat.c: Likewise.
2219         * sysvipc/shmctl.c: Likewise.
2220         * sysvipc/shmdt.c: Likewise.
2221         * sysvipc/shmget.c: Likewise.
2222         * termios/tcdrain.c: Likewise.
2223         * termios/tcflow.c: Likewise.
2224         * termios/tcflush.c: Likewise.
2225         * termios/tcgetattr.c: Likewise.
2226         * termios/tcgetpgrp.c: Likewise.
2227         * termios/tcsendbrk.c: Likewise.
2228         * termios/tcsetattr.c: Likewise.
2229         * termios/tcsetpgrp.c: Likewise.
2230         * time/adjtime.c: Likewise.
2231         * time/clock.c: Likewise.
2232         * time/getitimer.c: Likewise.
2233         * time/gettimeofday.c: Likewise.
2234         * time/setitimer.c: Likewise.
2235         * time/settimeofday.c: Likewise.
2236         * time/stime.c: Likewise.
2237         * time/time.c: Likewise.
2239 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
2241         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
2242         /usr/old/bin.
2244         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
2245         instead of spaces.
2246         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
2248 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
2250         [BZ #14796]
2251         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
2252         FE_TONEAREST before applying Dekker multiplication and Knuth
2253         addition.  Clear inexact exceptions and check for exact zero
2254         results afterwards.
2255         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2256         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2257         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2258         * math/libm-test.inc (fma_test): Add more tests.
2259         (fma_test_towardzero): Likewise.
2260         (fma_test_downward): Likewise.
2261         (fma_test_upward): Likewise.
2262         * sysdeps/generic/math_private.h (default_libc_fesetround): New
2263         function.
2264         (libc_fesetround): New macro.
2265         (libc_fesetroundf): Likewise.
2266         (libc_fesetroundl): Likewise.
2267         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
2268         function.
2269         (libc_fesetround_387): Likewise.
2270         (libc_fesetroundf): New macro.
2271         (libc_fesetround): Likewise.
2272         (libc_fesetroundl): Likewise.
2273         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
2274         function.
2275         (libc_fesetroundf): New macro.
2276         (libc_fesetround): Likewise.
2277         (libc_fesetroundl): Likewise.
2278         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
2279         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
2280         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
2281         libm_hidden_ver.
2282         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
2283         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
2284         libm_hidden_def.
2285         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
2286         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
2287         libm_hidden_ver.
2288         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
2289         libm_hidden_def.
2291         [BZ #3439]
2292         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
2293         integer constant usable in #if and use that to give value to enum
2294         constant.
2295         (FE_DIVBYZERO): Likewise.
2296         (FE_UNDERFLOW): Likewise.
2297         (FE_OVERFLOW): Likewise.
2298         (FE_INVALID): Likewise.
2299         (FE_INVALID_SNAN): Likewise.
2300         (FE_INVALID_ISI): Likewise.
2301         (FE_INVALID_IDI): Likewise.
2302         (FE_INVALID_ZDZ): Likewise.
2303         (FE_INVALID_IMZ): Likewise.
2304         (FE_INVALID_COMPARE): Likewise.
2305         (FE_INVALID_SOFTWARE): Likewise.
2306         (FE_INVALID_SQRT): Likewise.
2307         (FE_INVALID_INTEGER_CONVERSION): Likewise.
2308         (FE_TONEAREST): Likewise.
2309         (FE_TOWARDZERO): Likewise.
2310         (FE_UPWARD): Likewise.
2311         (FE_DOWNWARD): Likewise.
2312         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
2313         (FE_DIVBYZERO): Likewise.
2314         (FE_OVERFLOW): Likewise.
2315         (FE_UNDERFLOW): Likewise.
2316         (FE_INEXACT): Likewise.
2317         (FE_TONEAREST): Likewise.
2318         (FE_DOWNWARD): Likewise.
2319         (FE_UPWARD): Likewise.
2320         (FE_TOWARDZERO): Likewise.
2321         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
2322         (FE_UNDERFLOW): Likewise.
2323         (FE_OVERFLOW): Likewise.
2324         (FE_DIVBYZERO): Likewise.
2325         (FE_INVALID): Likewise.
2326         (FE_TONEAREST): Likewise.
2327         (FE_TOWARDZERO): Likewise.
2328         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
2329         (FE_OVERFLOW): Likewise.
2330         (FE_UNDERFLOW): Likewise.
2331         (FE_DIVBYZERO): Likewise.
2332         (FE_INEXACT): Likewise.
2333         (FE_TONEAREST): Likewise.
2334         (FE_TOWARDZERO): Likewise.
2335         (FE_UPWARD): Likewise.
2336         (FE_DOWNWARD): Likewise.
2337         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
2338         (FE_DIVBYZERO): Likewise.
2339         (FE_OVERFLOW): Likewise.
2340         (FE_UNDERFLOW): Likewise.
2341         (FE_INEXACT): Likewise.
2342         (FE_TONEAREST): Likewise.
2343         (FE_DOWNWARD): Likewise.
2344         (FE_UPWARD): Likewise.
2345         (FE_TOWARDZERO): Likewise.
2347 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
2349         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
2351 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
2353         * scripts/cross-test-ssh.sh (command): Use newlines to separate
2354         commands.  Quote $PWD.
2355         (blacklist_exports): Don't use remove_newlines.  Replace "declare
2356         -x" by "export".
2357         (remove_newlines): Remove.
2359 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
2361         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
2362         * stdlib/stdlib.h (atof): Moved to ...
2363         * include/bits/stdlib-float.h: Here.  New file.
2364         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
2365         * stdlib/bits/stdlib-float.h: New file.
2366         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
2367         -mno-sse -mno-mmx.
2368         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
2369         <xmmintrin.h>.
2371 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
2373         * conform/conformtest.pl (@headers): Add fenv.h.
2374         * conform/data/fenv.h-data: New file.
2375         * include/fenv.h [_ISOMAC]: Disable all contents of file except
2376         include of <math/fenv.h>.
2378         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
2379         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
2380         && !UNIX98].  Enables tests for XOPEN2K8.
2381         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
2382         POSIX2008]: Likewise.
2384         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
2385         (struct rusage): Do not expect type or its members.
2387         [BZ #3439]
2388         * math/math.h (FP_NAN): Define macro to integer constant usable in
2389         #if and use that to give value to enum constant.
2390         (FP_INFINITE): Likewise.
2391         (FP_ZERO): Likewise.
2392         (FP_SUBNORMAL): Likewise.
2393         (FP_NORMAL): Likewise.
2395 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
2397         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
2398         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
2399         arguments.
2401 2012-11-02  Roland McGrath  <roland@hack.frob.com>
2403         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
2404         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
2405         autoconf-time if not.
2406         * configure.in: Remove AC_PREREQ.
2408 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2410         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
2411         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
2412         of the internal implementation.
2414 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
2416         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
2417         except include of <misc/sys/syslog.h>.
2419 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
2421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
2422         function returns with a NULL context exit with zero.
2424 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2426         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
2428 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
2430         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
2431         (run_program_cmd): This.
2432         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
2433         (tst_langinfo): New variable.  Use it.
2435 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
2437         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
2438         floating point opcodes.
2440 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
2442         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
2443         variable.
2445         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
2447         * sysdeps/mach/hurd/powerpc: Remove directory.
2448         * sysdeps/mach/powerpc: Likewise.
2450 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
2452         * scripts/check-local-headers.sh: Ignore c++ headers.
2454 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
2456         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
2457         __libc_cleanup_region_start argument.
2459 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
2461         [BZ #14784]
2462         [BZ #14785]
2463         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
2464         x * y using scaling, not as x * y + z.
2465         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2466         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2467         * math/libm-test.inc (fma_test): Add more tests.
2468         (fma_test_towardzero): Likewise.
2469         (fma_test_downward): Likewise.
2470         (fma_test_upward): Likewise.
2472 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
2474         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
2476 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
2478         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
2479         New variable.
2481 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
2483         * rt/tst-shm.c (worker): Correct checking for mmap failure.
2485 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
2487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2488         Fix sort order.
2489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2490         Likewise.
2492 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2495         Fix the order of the list for glibc 2.17.
2496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2497         Likewise.
2499 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
2501         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2503 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
2505         [BZ #14610]
2506         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
2507         for low part of x being zero before using __atanl (y).
2508         * math/libm-test.inc (atan2_test): Add another test.
2510         * manual/install.texi (Configuring and compiling): Document
2511         general use of test-wrapper and test-wrapper-env.
2512         * INSTALL: Regenerated.
2514         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
2515         (__fma): Do not extract and scale down low bits on after-rounding
2516         systems when result rounded to normal precision would have normal
2517         exponent.
2518         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
2519         (__fmal): Do not extract and scale down low bits on after-rounding
2520         systems when result rounded to normal precision would have normal
2521         exponent.
2522         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
2523         (__fmal): Do not extract and scale down low bits on after-rounding
2524         systems when result rounded to normal precision would have normal
2525         exponent.
2526         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
2527         macro.
2528         (fma_test): Add more tests.
2529         (fma_test_towardzero): Likewise.
2530         (fma_test_downward): Likewise.
2531         (fma_test_upward): Likewise.
2533 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
2535         * sysdeps/i386/tininess.h: Renamed to ...
2536         * sysdeps/x86/tininess.h: This.
2537         * sysdeps/x86_64/tininess.h: Removed.
2539 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
2541         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
2542         input.  Use $(build-program-cmd).
2543         ($(objpfx)tst-array1-static.out): Likewise.
2544         ($(objpfx)tst-array2.out): Likewise.
2545         ($(objpfx)tst-array3.out): Likewise.
2546         ($(objpfx)tst-array4.out): Likewise.
2547         ($(objpfx)tst-array5.out): Likewise.
2548         ($(objpfx)tst-array5-static.out): Likewise.
2550 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
2552         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
2553         if defined.
2555         * nss/nsswitch.h (nss_interface_function): Provide new
2556         macro for use with NSS functions.
2557         * grp/initgroups.c: Use new macro.
2558         * nss/getXXbyYY.c: Likewise.
2559         * nss/getXXbyYY_r.c: Likewise.
2560         * nss/getXXent.c: Likewise.
2561         * nss/getXXent_r.c: Likewise.
2562         * sysdeps/posix/getaddrinfo.c: Likewise.
2564 2012-10-30  Andreas Jaeger  <aj@suse.de>
2566         * po/ru.po: Update Russion translation from translation project.
2568 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
2570         [BZ #14152]
2571         [BZ #14783]
2572         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
2573         result and shift together with sticky bit instead of replicating
2574         round-to-nearest rounding.
2575         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2576         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2577         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
2578         missing underflow exceptions.
2579         (fma_test_towardzero): Add more tests.
2580         (fma_test_downward): Likewise.
2581         (fma_test_upward): Likewise.
2583         [BZ #14047]
2584         * sysdeps/generic/tininess.h: New file.
2585         * sysdeps/i386/tininess.h: Likewise.
2586         * sysdeps/sh/tininess.h: Likewise.
2587         * sysdeps/x86_64/tininess.h: Likewise.
2588         * stdlib/tst-strtod-underflow.c: Likewise.
2589         * stdlib/tst-tininess.c: Likewise.
2590         * stdlib/strtod_l.c: Include <tininess.h>.
2591         (round_and_return): Do not set errno for exact underflow cases.
2592         Force an underflow exception when setting errno for underflow.
2593         Determine underflow based on rounding to normal precision if
2594         TININESS_AFTER_ROUNDING.
2595         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
2596         ERANGE for exact underflow cases.
2597         * stdlib/Makefile (tests): Add tst-tininess and
2598         tst-strtod-underflow.
2599         ($(objpfx)tst-tininess): Use $(link-libm).
2600         ($(objpfx)tst-strtod-underflow): Likewise.
2602 2012-10-30  Andreas Jaeger  <aj@suse.de>
2604         [BZ#14767]
2605         * elf/Makefile (tests): Remove conditional for have-initfini-array
2606         since this is now always required and the variable does not exist
2607         anymore.
2608         (tests-static): Likewise.
2609         (modules-names): Likewise.
2611         * po/eo.po: Add Esperanto translation from translation project.
2613         * elf/tst-array1.c (fini_array): Make writeable so that it can be
2614         merged with constructor/destructor.
2615         (init_array): Likewise.
2616         * elf/tst-array2dep.c (fini_array): Likewise.
2617         (init_array): Likewise.
2619 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
2621         * manual/message.texi: Delete @cartouche tags.
2623 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
2625         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
2626         EOPNOTSUPP.
2627         * sysdeps/mach/hurd/fsync.c: Likewise.
2629         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
2630         [_POSIX_REALTIME_SIGNALS]: Change condition to
2631         [_POSIX_REALTIME_SIGNALS > 0].
2633 2012-10-27  Andreas Jaeger  <aj@suse.de>
2635         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
2636         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
2637         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
2638         [__WORDSIZE != 64]: Likewise.
2640 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
2642         *  iconvdata/tst-table.sh: Remove ${SHELL}.
2643         *  iconvdata/tst-tables.sh: Likewise.
2645 2012-10-25  David S. Miller  <davem@davemloft.net>
2647         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2648         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
2649         of strtoull.
2651         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
2652         ifunc-impl-list.c
2653         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2654         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
2655         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
2656         file.
2658 2012-10-25  Roland McGrath  <roland@hack.frob.com>
2660         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2661         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
2662         __getdirentries.
2664 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
2665             Jim Blandy  <jimb@codesourcery.com>
2667         * scripts/cross-test-ssh.sh: New file.
2668         * manual/install.texi (Configuring and compiling): Document use of
2669         cross-test-ssh.sh.
2670         * INSTALL: Regenerated.
2672 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
2674         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
2675         EOPNOTSUPP.
2677 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
2679         * Makeconfig (run-program-prefix): Fix comment.
2681 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
2682             Jim Blandy  <jimb@codesourcery.com>
2684         * Makeconfig (test-wrapper): New variable,
2685         (test-wrapper-env): Likewise.
2686         [$(cross-compiling) = yes && $(test-wrapper) != ""]
2687         (run-built-tests): Define to yes.
2688         (run-program-prefix): Use $(test-wrapper).
2689         (built-program-cmd): Likewise.
2690         * Rules (make-test-out): Use $(test-wrapper-env) and
2691         $(host-built-program-cmd).
2692         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
2693         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
2694         tst-pathopt.sh.
2695         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
2696         $(test-wrapper-env) to tst-rtld-load-self.sh.
2697         ($(objpfx)order2.out): Use $(test-wrapper).
2698         ($(objpfx)tst-initorder.out): Likewise.
2699         ($(objpfx)tst-initorder2.out): Likewise.
2700         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
2701         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
2702         (test_wrapper_env): New variable.  Use it to run ld.so.
2703         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
2704         Use it to run ld.so.
2705         (test_wrapper_env): Likewise.
2706         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
2707         $(test-wrapper) to run-iconv-test.sh.
2708         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
2709         (ICONV): Use $test_wrapper.
2710         * posix/Makefile ($(objpfx)globtest.out): Pass
2711         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
2712         globtest.sh, not $(run-program-prefix).
2713         * posix/globtest.sh (run_via_rtld_prefix): New variable.
2714         (test_wrapper): Likewise.
2715         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
2716         set together with run_via_rtld_prefix.
2717         (run_program_prefix): Define in terms of test_wrapper and
2718         run_via_rtld_prefix.
2720 2012-10-24  Roland McGrath  <roland@hack.frob.com>
2722         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
2723         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
2724         Targets removed.
2726         [BZ #14743]
2727         * include/time.h: Remove librt_hidden_proto (clock_gettime).
2728         Declare __clock_getres, __clock_gettime, __clock_settime,
2729         __clock_nanosleep, and __clock_getcpuclockid.
2730         * rt/clock_gettime.c: Define __clock_gettime as an alias.
2731         Remove librt_hidden_def (clock_gettime).
2732         * sysdeps/unix/clock_gettime.c: Likewise.
2733         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
2734         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2735         * rt/clock_getres.c: Define __clock_getres as an alias.
2736         * sysdeps/posix/clock_getres.c: Likewise.
2737         * rt/clock_settime.c: Define __clock_settime as an alias.
2738         * sysdeps/unix/clock_settime.c: Likewise.
2739         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
2740         * sysdeps/unix/clock_nanosleep.c: Likewise.
2741         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2742         * rt/clock-compat.c: New file.
2743         * rt/Makefile (librt-routines): Add clock-compat and move
2744         $(clock-routines) to ...
2745         (routines): ... here, new variable.
2746         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
2747         Don't add get_clockfreq here.
2748         * rt/Versions (libc: GLIBC_2.17): New version set.
2749         Add clock_* symbols here.
2750         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
2751         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
2752         (GLIBC_2.17): Add clock_* symbols.
2753         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2754         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2755         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2757         Likewise.
2758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2759         Likewise.
2760         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2761         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2762         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2763         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2764         * NEWS: Mention the move.
2766         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2767         Use __open, __read, __close rather than their public counterparts.
2768         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2769         (__get_clockfreq_via_cpuinfo): Likewise.
2770         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
2771         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
2773         * config.h.in (HAVE_IFUNC): New #undef.
2774         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
2775         was successful.
2776         * configure: Regenerated.
2778 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
2780         * configure.in: Move READELF check to start of file.
2781         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
2782         libc_cv_asm_gnu_indirect_function in the process.
2783         * configure: Regenerated.
2785 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
2787         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
2788         send the output to /dev/null.
2789         (libc_cv_cc_with_libunwind): Likewise.
2790         (libc_cv_as_noexecstack): Likewise.
2791         * configure: Regenerate.
2793 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
2795         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
2797         * posix/globtest.sh (TMPDIR): Do not set.
2798         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
2799         (testout): Likewise.
2801 2012-10-24  Andreas Jaeger  <aj@suse.de>
2803         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
2804         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
2805         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
2806         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
2807         posix_fadvise64, posix_fallocate64.
2809         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
2810         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
2811         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
2812         Likewise.
2813         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
2814         Likewise.
2815         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
2817         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
2818         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
2819         <bits/fcntl-linux.h>.
2820         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
2822         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
2823         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
2824         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
2825         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
2826         [__WORDSIZE != 64]: Likewise.
2828 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
2830         * Makeconfig (run-built-tests): New variable.
2831         * Rules [$(cross-compiling) = yes]: Change condition to
2832         [$(run-built-tests) = no].
2833         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
2834         to [$(run-built-tests) = yes].
2835         * elf/Makefile [$(cross-compiling) = no]: Likewise
2836         * grp/Makefile [$(cross-compiling) = no]: Likewise.
2837         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
2838         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
2839         * intl/Makefile [$(cross-compiling) = no]: Likewise.
2840         * io/Makefile [$(cross-compiling) = no]: Likewise.
2841         * libio/Makefile [$(cross-compiling) = no]: Likewise.
2842         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
2843         * misc/Makefile [$(cross-compiling) = no]: Likewise.
2844         * posix/Makefile [$(cross-compiling) = no]: Likewise.
2845         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
2846         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
2847         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
2848         * string/Makefile [$(cross-compiling) = no]: Likewise.
2850         * posix/Makefile ($(objpfx)globtest.out): Pass
2851         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
2852         $(rtld-installed-name).
2853         * posix/globtest.sh (elf_objpfx): Remove variable.
2854         (rtld_installed_name): Likewise.
2855         (library_path): Likewise.
2856         (run_program_prefix): New variable.  Use for running globtest
2857         binary.
2859 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
2860             Joseph Myers  <joseph@codesourcery.com>
2862         * Makeconfig (host-built-program-cmd): New variable.
2863         * elf/Makefile (tst-stackguard1-ARGS): Use
2864         $(host-built-program-cmd).
2865         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
2866         (tst-spawn-ARGS): Likewise.
2867         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
2869 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
2870             Jim Blandy  <jimb@codesourcery.com>
2872         * Makeconfig (run-via-rtld-prefix): New variable.
2873         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
2874         (built-program-cmd): Likewise.
2876 2012-10-22  Andreas Jaeger  <aj@suse.de>
2878         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
2879         __O_RSYNC if it exists, otherwise to O_SYNC.
2881 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
2882             Joseph Myers  <joseph@codesourcery.com>
2884         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
2885         /dev/null.
2886         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
2887         from /dev/null
2888         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
2889         /dev/null.
2891 2012-10-22  Andreas Jaeger  <aj@suse.de>
2893         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
2894         Define always.
2895         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
2897         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2898         bits/fcntl-linux.h.
2900         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
2901         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
2903         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
2904         to __O_LARGEFILE.
2905         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
2906         to __O_LARGEFILE.
2908 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
2909             Joseph Myers  <joseph@codesourcery.com>
2911         * config.make.in (NM): New variable.
2913 2012-10-21  Andreas Jaeger  <aj@suse.de>
2915         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
2916         definitions and declarations that are provided by
2917         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2919 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
2921         [BZ #14683]
2922         * elf/Makefile (tests-static): Add tst-leaks1-static.
2923         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
2924         ($(objpfx)tst-leaks1-static): New rule.
2925         ($(objpfx)tst-leaks1-static-mem): Likewise.
2926         (tst-leaks1-static-ENV): New macro.
2927         * elf/dl-open.c (dl_open_worker): Check the main application
2928         only if SHARED is defined.
2929         * elf/tst-leaks1-static.c: New file.
2931 2012-10-20  Andreas Jaeger  <aj@suse.de>
2933         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
2934         generic values for Linux.
2935         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
2936         and declarations that are provided by <bits/fcntl-linux.h> and
2937         include <bits/fcntl-linux.h>.
2938         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2939         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2941 2012-10-20  Roland McGrath  <roland@hack.frob.com>
2943         * io/fcntl.h: Move include of <bits/types.h> to the top and
2944         include it unconditionally.
2946 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
2948         * wcsmbs/Makefile (tests-ifunc): New variable.
2949         (tests): Add $(tests-ifunc).
2950         * wcsmbs/test-wcschr-ifunc.c: New file.
2951         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2952         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2953         * wcsmbs/test-wcslen-ifunc.c: Likewise.
2954         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2955         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2957         * string/Makefile (tests-ifunc): New variable.
2958         (tests): Add $(tests-ifunc).
2959         * string/test-memccpy.c (TEST_NAME): New macro.
2960         * string/test-memchr.c (TEST_NAME): Likewise.
2961         * string/test-memcmp.c (TEST_NAME): Likewise.
2962         * string/test-memcpy.c (TEST_NAME): Likewise.
2963         * string/test-memmem.c (TEST_NAME): Likewise.
2964         * string/test-memmove.c (TEST_NAME): Likewise.
2965         * string/test-memset.c (TEST_NAME): Likewise.
2966         * string/test-rawmemchr.c (TEST_NAME): Likewise.
2967         * string/test-stpcpy.c (TEST_NAME): Likewise.
2968         * string/test-stpncpy.c (TEST_NAME): Likewise.
2969         * string/test-strcasecmp.c (TEST_NAME): Likewise.
2970         * string/test-strcasestr.c (TEST_NAME): Likewise.
2971         * string/test-strcat.c (TEST_NAME): Likewise.
2972         * string/test-strchr.c (TEST_NAME): Likewise.
2973         * string/test-strcmp.c(TEST_NAME): Likewise.
2974         * string/test-strcpy.c (TEST_NAME): Likewise.
2975         * string/test-strcspn.c (TEST_NAME): Likewise.
2976         * string/test-strlen.c (TEST_NAME): Likewise.
2977         * string/test-strncasecmp.c (TEST_NAME): Likewise.
2978         * string/test-strncmp.c (TEST_NAME): Likewise.
2979         * string/test-strncpy.c (TEST_NAME): Likewise.
2980         * string/test-strnlen.c (TEST_NAME): Likewise.
2981         * string/test-strpbrk.c (TEST_NAME): Likewise.
2982         * string/test-strrchr.c (TEST_NAME): Likewise.
2983         * string/test-strspn.c (TEST_NAME): Likewise.
2984         * string/test-strstr.c (TEST_NAME): Likewise.
2985         * string/test-bcopy-ifunc.c: New file.
2986         * string/test-bzero-ifunc.c: Likewise.
2987         * string/test-memccpy-ifunc.c: Likewise.
2988         * string/test-memchr-ifunc.c: Likewise.
2989         * string/test-memcmp-ifunc.c: Likewise.
2990         * string/test-memcpy-ifunc.c: Likewise.
2991         * string/test-memmem-ifunc.c: Likewise.
2992         * string/test-memmove-ifunc.c: Likewise.
2993         * string/test-mempcpy-ifunc.c: Likewise.
2994         * string/test-memset-ifunc.c: Likewise.
2995         * string/test-rawmemchr-ifunc.c: Likewise.
2996         * string/test-stpcpy-ifunc.c: Likewise.
2997         * string/test-stpncpy-ifunc.c: Likewise.
2998         * string/test-strcasecmp-ifunc.c: Likewise.
2999         * string/test-strcasestr-ifunc.c: Likewise.
3000         * string/test-strcat-ifunc.c: Likewise.
3001         * string/test-strchr-ifunc.c: Likewise.
3002         * string/test-strchrnul-ifunc.c: Likewise.
3003         * string/test-strcmp-ifunc.c: Likewise.
3004         * string/test-strcpy-ifunc.c: Likewise.
3005         * string/test-strcspn-ifunc.c: Likewise.
3006         * string/test-strlen-ifunc.c: Likewise.
3007         * string/test-strncasecmp-ifunc.c: Likewise.
3008         * string/test-strncat-ifunc.c: Likewise.
3009         * string/test-strncmp-ifunc.c: Likewise.
3010         * string/test-strncpy-ifunc.c: Likewise.
3011         * string/test-strnlen-ifunc.c: Likewise.
3012         * string/test-strpbrk-ifunc.c: Likewise.
3013         * string/test-strrchr-ifunc.c: Likewise.
3014         * string/test-strspn-ifunc.c: Likewise.
3015         * string/test-strstr-ifunc.c: Likewise.
3017         * debug/Makefile (tests-ifunc): New variable.
3018         (tests): Add $(tests-ifunc).
3019         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
3020         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
3021         * debug/test-stpcpy_chk-ifunc.c: New file.
3022         * debug/test-strcpy_chk-ifunc.c: Likewise.
3024 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
3026         [BZ #13601]
3027         * elf/dl-load.c (open_verify): Retry read if the entire ELF
3028         header is not read in.
3030 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
3032         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
3033         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
3034         directly.  Pass built executable to script as
3035         $(built-program-cmd).
3036         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
3037         $testprogram without using LD_LIBRARY_PATH and $ldso.
3039         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
3040         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
3041         $(rtld-installed-name).
3042         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
3043         (rtld_installed_name): Likewise.
3044         (library_path): Likewise.
3045         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
3046         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
3047         $(run-program-prefix) to tst-tables.sh.
3048         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
3049         it to run tst-table-from and tst-table-to.
3050         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
3051         Pass it to tst-table.sh.
3052         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
3053         $(run-program-prefix) to tst-gettext.sh.
3054         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
3055         tst-translit.sh.
3056         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
3057         tst-gettext2.sh.
3058         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
3059         to run tst-gettext.
3060         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
3061         to run tst-gettext2.
3062         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
3063         to run tst-translit.
3064         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
3065         $(run-program-prefix) to tst-mtrace.sh.
3066         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
3067         to run tst-mtrace.
3068         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
3069         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
3070         $(rtld-installed-name).
3071         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
3072         (rtld_installed_name): Likewise.
3073         (run_program_prefix): New variable.  Use it to run wordexp-test.
3075         * Makeconfig (ARCH): Remove all definitions.
3076         (machine): Likewise.
3077         [ARCH]: Remove conditional code.
3078         [!objdir]: Give error.
3079         [!objdir] (objpfx): Remove.
3080         [!objdir] (common-objpfx): Likewise.
3081         [!objdir] (common-objdir): Likewise.
3082         * configure.in (config_makefile): Remove.  Hardcode Makefile in
3083         AC_CONFIG_FILES call.
3084         * configure: Regenerated.
3086         [BZ #13888]
3087         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
3088         or TMPDIR.
3089         (testout): Likewise.
3091         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
3092         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
3093         $(rtld-installed-name).
3094         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
3095         (rtld_installed_name): Likwise.
3096         (runit): Remove function.
3097         (run_getconf): New variable,  Use it for running getconf binary.
3099 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
3101         [BZ #14716]
3102         * string/test-memmem.c (check_result): New function.
3103         (do_one_test): Use it.
3104         (check1): New function.
3105         (test_main): Use it.
3107 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
3109         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
3111 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
3113         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
3114         (_G_LSEEK64): Likewise.
3115         (_G_MMAP64): Likewise.
3116         (_G_FSTAT64): Likewise.
3117         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
3118         (_G_LSEEK64): Likewise.
3119         (_G_MMAP64): Likewise.
3120         (_G_FSTAT64): Likewise.
3121         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
3122         unconditional.  Call __mmap64 directly.
3123         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
3124         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
3125         __lseek64 directly.
3126         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
3127         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
3128         __mmap64 directly.
3129         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
3130         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
3131         __lseek64 directly.
3132         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
3133         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
3134         __lseek64 directly.
3135         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
3136         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
3137         __lseek64 directly.
3138         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
3139         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
3140         __fxstat64 directly.
3141         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
3142         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
3143         unconditional.
3144         (freopen64) [!_G_OPEN64]: Remove conditional code.
3145         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
3146         unconditional.
3147         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
3148         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
3149         unconditional.
3150         (ftello64) [!_G_LSEEK64]: Remove conditional code.
3151         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
3152         unconditional.
3153         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3154         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
3155         unconditional.
3156         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
3157         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
3158         unconditional.
3159         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3160         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
3161         unconditional.
3162         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3163         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
3164         unconditional.
3165         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3167 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3169         [BZ #12140]
3170         * manual/memory.texi (Malloc Tunable Parameters): Add note
3171         about free list pointers overwriting some perturb bytes.
3172         Wording suggested by Roland McGrath.
3174 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
3176         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
3177         (lgamma_test): Likewise.
3178         (tgamma_test): Likewise.
3180 2012-10-16  Florian Weimer  <fweimer@redhat.com>
3182         [BZ #14700]
3183         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
3184         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
3186 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
3188         * NEWS: Mention BZ #14716.
3189         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
3190         when removing AVAILABLE1_USES_J macro.
3192 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
3194         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
3195         (__bswap_64): __uint64_t for unsigned 64-bit int.
3197 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
3199         * include/string.h (memmem): Declare libc hidden alias.
3200         * string/memmem.c (memmem): Define libc hidden alias.
3201         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
3202         __read, __close instead of open, read, close.
3204 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
3206         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
3207         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
3208         global and hidden.
3209         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
3210         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
3211         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
3212         Likewise.
3213         (__rawmemchr_sse2): Likewise.
3214         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
3215         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
3216         (__strchr_sse2): Likewise.
3217         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
3218         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
3219         (__strcasecmp_sse2): Likewise.
3220         (__strncasecmp_sse2): Likewise.
3221         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
3222         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
3223         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
3224         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
3225         (__strrchr_sse2): Likewise.
3226         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
3227         ifunc-impl-list.c.
3228         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3229         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3230         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3231         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3232         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3233         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3234         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3235         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3236         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
3237         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
3238         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
3239         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
3240         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
3241         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3242         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3243         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3244         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3245         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3246         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
3247         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
3248         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
3249         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
3250         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
3251         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
3252         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
3253         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3254         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3255         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
3256         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3257         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3259         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
3260         global and hidden.
3261         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
3262         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
3263         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
3264         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
3265         Likewise.
3266         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
3267         Likewise.
3268         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
3269         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
3270         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
3271         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
3272         ifunc-impl-list.c.
3273         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3274         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3275         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3276         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3277         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3278         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3279         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3280         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3281         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3282         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3283         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3284         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3285         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3286         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
3287         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
3288         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3289         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
3290         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
3291         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3292         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3293         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3294         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3295         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3296         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3297         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3298         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
3299         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
3300         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
3301         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
3302         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3303         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
3304         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3305         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3306         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
3307         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3308         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3309         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3310         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3311         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3312         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3313         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
3315         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
3316         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
3317         * include/ifunc-impl-list.h: New file.
3318         * misc/ifunc-impl-list.c: Likewise.
3319         * misc/Makefile (routines): Add ifunc-impl-list.
3320         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
3321         * string/test-string.h: Include <ifunc-impl-list.h>.
3322         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
3323         impl_array): New variables.
3324         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
3325         are defined.
3326         (test_init): Call __libc_ifunc_impl_list to initialize
3327         func_list if TEST_IFUNC and TEST_NAME are defined.
3329         * string/Makefile (strop-tests): Add bcopy and bzero.
3330         * string/test-bcopy.c: New file.
3331         * string/test-bzero.c: Likewise.
3332         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
3333         defined.
3334         * string/test-memset.c: Support bzero test if TEST_BZERO is
3335         defined.
3336         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
3337         __libc_memmove.
3338         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
3339         __libc_memset.
3340         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
3341         of memset.
3343 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
3345         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
3346         * configure: Regenerated.
3348         * Makeconfig (+link-static-before-libc): Don't include
3349         $(link-static-libc).
3351         * libio/libio.h (_IO_pos_t): Remove.
3353 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
3355         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
3356         McGrath.
3358 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
3360         * crypt/crypt-entry.c: Include fips-private.h.
3361         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
3362         * crypt/md5c-test.c (main): Tolerate disabled MD5.
3363         * sysdeps/unix/sysv/linux/fips-private.h: New file.
3364         * sysdeps/generic/fips-private.h: New file, dummy fallback.
3366 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
3368         * crypt/crypt-private.h: Include stdbool.h.
3369         (_ufc_setup_salt_r): Return bool.
3370         * crypt/crypt-entry.c: Include errno.h.
3371         (__crypt_r): Return NULL with EINVAL for bad salt.
3372         * crypt/crypt_util.c (bad_for_salt): New.
3373         (_ufc_setup_salt_r): Check that salt is long enough and within
3374         the specified alphabet.
3375         * crypt/badsalttest.c: New file.
3376         * crypt/Makefile (tests): Add it.
3377         ($(objpfx)badsalttest): New.
3379 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
3381         * NEWS: Add entry for BZ #14602.
3383 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
3385         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
3386         type-generic.
3387         * math/libm-test.inc: Update comment listing what functions and
3388         macros are tested.
3389         (isgreater_test): New function.
3390         (isgreaterequal_test): Likewise.
3391         (isless_test): Likewise.
3392         (islessequal_test): Likewise.
3393         (islessgreater_test): Likewise.
3394         (isunordered_test): Likewise.
3395         (main): Call the new functions.
3397 2012-10-09  Roland McGrath  <roland@hack.frob.com>
3399         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
3400         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
3401         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
3402         * sysdeps/i386/configure: Regenerated.
3403         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
3404         * sysdeps/mach/configure: Regenerated.
3405         * sysdeps/mach/hurd/configure: Regenerated.
3406         * sysdeps/powerpc/configure: Regenerated.
3407         * sysdeps/powerpc/powerpc32/configure: Regenerated.
3408         * sysdeps/powerpc/powerpc64/configure: Regenerated.
3409         * sysdeps/s390/s390-32/configure: Regenerated.
3410         * sysdeps/s390/s390-64/configure: Regenerated.
3411         * sysdeps/sh/configure: Regenerated.
3412         * sysdeps/sparc/configure: Regenerated.
3413         * sysdeps/unix/sysv/linux/configure: Regenerated.
3414         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3415         * sysdeps/x86_64/configure: Regenerated.
3417         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
3418         defined.  Don't check if MAP is NULL.
3420 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
3422         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
3423         (_G_stat64): Likewise.
3424         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
3425         (_G_stat64): Likewise.
3426         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
3427         instead of struct _G_stat64.
3428         * libio/fileops.c (mmap_remap_check): Likewise.
3429         (decide_maybe_mmap): Likewise.
3430         (_IO_new_file_seekoff): Likewise.
3431         (_IO_file_stat): Likewise.
3432         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
3433         _G_off64_t.
3434         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
3435         instead of struct _G_stat64.
3436         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3438 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
3440         [BZ #14602]
3441         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3442         Replace with ...
3443         (CHECK_EOL): New macro.
3444         (two_way_short_needle): Check beginning of haystack for EOL.  Use
3445         CHECK_EOL.
3446         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3447         Replace with CHECK_EOL.
3448         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3449         Replace with CHECK_EOL.
3451 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
3453         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
3454         type-generic.
3455         * math/libm-test.inc: Update comment listing what functions and
3456         macros are tested.
3457         (finite_test): New function.
3458         (isinf_test): Likewise.
3459         (isnan_test): Likewise.
3460         (fpclassify_test): Test subnormal input.
3461         (isfinite_test): Likewise.
3462         (isnormal_test): Likewise.
3463         (main): Call the new functions.
3465 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
3467         [BZ #14660]
3468         * Makerules (%.dynsym): Force C locale when running
3469         $(OBJDUMP) --dynamic-syms.
3471 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
3473         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
3474         <stdint.h>.
3476 2012-10-06  David S. Miller  <davem@davemloft.net>
3478         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
3479         upper 32-bits of the length value in %o2 since we use branch-on-register
3480         tests which consider the entire 64-bit register.
3482 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
3484         * string/test-strstr.c (check2): Add a test for page boundary.
3486 2012-10-05  David S. Miller  <davem@davemloft.net>
3488         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
3489         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
3490         file.
3491         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3492         sysdep_routines.
3493         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3494         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
3495         and bzero when HWCAP_SPARC_CRYPTO is present.
3497 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
3499         [BZ #14602]
3500         * string/test-strstr.c (check2): New function.
3501         (test_main): Call check2.
3503         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
3504         and bug-strchr1.
3505         * string/bug-strcasestr1.c (do_test): Moved to ...
3506         * string/test-strcasestr.c (check1): Here.  New function.
3507         (do_one_test): Break out result checking code into ...
3508         (check_result): This.  New function.
3509         (do_one_test): Call check_result.
3510         (test_main): Call check1.
3511         * string/bug-strchr1.c (do_test): Moved to ...
3512         * string/test-strchr.c (check1): Here.  New function.
3513         (do_one_test): Break out result checking code into ...
3514         (check_result): This.  New function.
3515         (do_one_test): Call check_result.
3516         (test_main): Call check1.
3517         * string/bug-strstr1.c (main): Moved to ...
3518         * string/test-strchr.c (check1): Here.  New function.
3519         (do_one_test): Break out result checking code into ...
3520         (check_result): This.  New function.
3521         (do_one_test): Call check_result.
3522         (test_main): Call check1.
3523         * string/bug-strcasestr1.c: Removed.
3524         * string/bug-strchr1.c: Likewise.
3525         * string/bug-strstr1.c: Likewise.
3527         * elf/Makefile (dl-routines): Add hwcaps.
3528         * elf/dl-support.c (_dl_important_hwcaps): Removed.
3529         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
3530         (_dl_important_hwcaps): Moved to ...
3531         * elf/dl-hwcaps.c: Here.  New file.
3532         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
3534         [BZ #14557]
3535         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
3536         if IS_IN_rtld isn't defined.
3538         * elf/dl-support.c (_dl_sysinfo_map): New.
3539         Include "get-dynamic-info.h" and "setup-vdso.h".
3540         (_dl_non_dynamic_init): Call setup_vdso.
3541         * elf/dynamic-link.h: Don't include <assert.h>.
3542         (elf_get_dynamic_info): Moved to ...
3543         * elf/get-dynamic-info.h: Here.  New file.
3544         * elf/dynamic-link.h: Include "get-dynamic-info.h".
3545         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
3546         * elf/setup-vdso.h: Here.  New file.
3547         * elf/rtld.c: Include "setup-vdso.h".
3548         (dl_main): Call setup_vdso.
3550 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
3552         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
3553         creal in comment listing functions tested.  List finite, isinf,
3554         isnan, isless, islessequal, isgreater, isgreaterequal,
3555         islessgreater, isunordered, lgamma_r and pow10 as functions and
3556         macros not tested.  Mention which functions not tested are aliases
3557         for other functions.  Fix typo.  Note that signs of NaNs are not
3558         tested.
3560         * scripts/config.guess: Update from config.git.
3561         * scripts/config.sub: Likewise.
3563 2012-10-04  Roland McGrath  <roland@hack.frob.com>
3565         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
3566         * misc/madvise.c (madvise): Renamed to __madvise.
3567         Make madvise a weak alias.
3568         * include/sys/mman.h: Declare __madvise.
3569         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
3570         * sysdeps/unix/syscalls.list
3571         (madvise): Make __madvise the strong name, and madvise a weak alias.
3572         * sysdeps/unix/sysv/linux/syscalls.list
3573         (madvise, mmap): Remove redundant entries.
3574         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
3575         * malloc/malloc.c (mtrim): Likewise.
3576         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
3578 2012-10-03  Roland McGrath  <roland@hack.frob.com>
3580         * sysdeps/mach/hurd/dl-cache.c: File removed.
3581         * config.h.in (USE_LDCONFIG): New #undef.
3582         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
3583         * configure: Regenerated.
3584         * elf/Makefile (dl-routines): Add dl-cache only under
3585         [$(use-ldconfig) = yes].
3586         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
3587         cache on [USE_LDCONFIG].
3588         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
3589         [USE_LDCONFIG].
3590         * elf/rtld.c (dl_main): Likewise.
3592 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
3594         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
3595         _SC_LEVEL4_CACHE_LINESIZE.
3597 2012-10-03  Roland McGrath  <roland@hack.frob.com>
3599         * sysdeps/unix/bsd/confstr.h: File removed.
3601 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
3603         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
3604         sys/sdt-config.h.
3606 2012-10-02  Roland McGrath  <roland@hack.frob.com>
3608         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
3609         Make 'mapoff' field ElfW(Off) rather than off_t.
3611 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
3613         * nscd/Makefile: Remove nscd-cflags and all its users.
3614         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
3615         (CFLAGS-nonlib): Add compiler flags for nscd modules.
3617         [BZ #10631]
3618         * malloc.c (malloc_printerr): Clarify error message.
3620 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
3622         [BZ #14648]
3623         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3624         Set bit_FMA_Usable if FMA is supported.
3625         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
3626         macro.
3627         (bit_FMA4_Usable): Updated.
3628         (index_FMA_Usable): New macro.
3629         (CPUID_FMA): Likewise
3630         (HAS_FMA): Defined with bit_FMA_Usable.
3632 2012-10-01  Roland McGrath  <roland@hack.frob.com>
3634         * bits/types.h (__swblk_t): Type removed.
3635         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
3636         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
3637         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3638         (__SWBLK_T_TYPE): Likewise.
3639         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3640         (__SWBLK_T_TYPE): Likewise.
3641         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3642         (__SWBLK_T_TYPE): Likewise.
3643         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3644         (__SWBLK_T_TYPE): Likewise.
3646 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
3647             Honza Horak <hhorak@redhat.com>
3649         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
3650         (xdr_mapname): Use YPMAXMAP as maxsize.
3651         (xdr_peername): Use YPMAXPEER as maxsize.
3652         (xdr_keydat): Use YPAXRECORD as maxsize.
3653         (xdr_valdat): Use YPMAXRECORD as maxsize.
3655 2012-10-01  Roland McGrath  <roland@hack.frob.com>
3657         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
3659         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
3660         * csu/init-first.c: ... here.
3661         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
3662         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3663         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
3664         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3665         * sysdeps/i386/init-first.c: File removed.
3666         * sysdeps/sh/init-first.c: File removed.
3668 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
3670         [BZ #14645]
3671         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
3672         if x * y might underflow to zero and z is zero.
3673         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3674         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3675         * math/libm-test.inc (min_subnorm_value): New variable.
3676         (fma_test): Add more tests.
3677         (fma_test_towardzero): Likewise.
3678         (fma_test_downward): Likewise
3679         (fma_test_upward): Likewise.
3680         (initialize): Set min_subnorm_value.
3682 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
3684         [BZ #14638]
3685         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
3686         0 + 0.
3687         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
3688         mode for addition resulting in exact zero.
3689         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
3690         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
3691         exact 0 + 0.
3692         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3693         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3694         * math/libm-test.inc (fma_test): Add more tests.
3695         (fma_test_towardzero): New function.
3696         (fma_test_downward): Likewise.
3697         (fma_test_upward): Likewise.
3698         (main): Call the new functions.
3700 2012-09-28  David S. Miller  <davem@davemloft.net>
3702         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
3704 2012-09-28  Roland McGrath  <roland@hack.frob.com>
3706         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
3707         instead of SIGALRM.
3709         * sysdeps/gnu/_G_config.h: Moved to ...
3710         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
3711         * sysdeps/mach/hurd/_G_config.h: Moved to ...
3712         * sysdeps/generic/_G_config.h: ... here.
3714         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
3716         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
3718         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
3719         Conditionalize target on [libnss_test1.so-version].
3721         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
3723         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
3724         (elfobjdir): Move out of conditionals.
3726         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
3727         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
3728         (__nss_lookup_function): Conditionalize label remove_from_tree on
3729         [!DO_STATIC_NSS || SHARED], matching its only use.
3731 2012-09-28  David S. Miller  <davem@davemloft.net>
3733         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
3734         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
3735         file.
3736         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3737         sysdep_routines.
3738         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3739         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
3740         when HWCAP_SPARC_CRYPTO is present.
3742 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
3744         * io/tst-mknodat.c: Create a FIFO instead of a socket.
3746 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
3748         [BZ #6530]
3749         * stdio-common/vfprintf.c (process_string_arg): Revert
3750         2000-07-22 change.
3752 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
3754         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
3755         for testcase.
3756         * stdio-common/tst-sprintf.c: Include <locale.h>
3757         (main): Test sprintf's handling of incomplete multibyte
3758         characters.
3760 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
3762         * elf/dl-runtime.c (VERSYMIDX): Removed.
3763         * elf/dl-version.c (VERSYMIDX): Likewise.
3764         * elf/do-rel.h (VERSYMIDX): Likewise.
3765         (VALIDX): Likewise.
3766         * elf/dynamic-link.h (VERSYMIDX): Likewise.
3767         * elf/rtld.c (VALIDX): Likewise.
3768         (ADDRIDX): Likewise.
3769         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
3770         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
3771         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
3772         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
3773         (VALIDX): Likewise.
3774         (ADDRIDX): Likewise.
3776 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
3778         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
3780 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
3782         [BZ #11438]
3783         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
3784         to global scope.
3785         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
3786         addresses are in the same scope as 192.0.2/24.
3787         * posix/gai.conf: Document new scope table defaults.
3789 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3791         [BZ #5298]
3792         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
3793         for ftell.  Compute offsets from write pointers instead.
3794         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3796 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3798         [BZ #14543]
3799         * libio/Makefile (tests): New test case tst-fseek.
3800         * libio/tst-fseek.c: New test case to verify that fseek/ftell
3801         combination works in wide mode.
3802         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
3803         state when the external buffer state changes.
3805 2012-09-27  David S. Miller  <davem@davemloft.net>
3807         [BZ #14376]
3808         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
3809         pass reloc->r_addend in as the 'high' argument to
3810         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
3812         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3814 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
3816         * rt/tst-aio2.c: Include <pthread.h>.
3817         * rt/tst-aio3.c: Likewise.
3819 2012-09-27  Steve Ellcey  <sellcey@mips.com>
3821         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
3823 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
3825         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
3826         contents on [SHARED].
3828 2012-09-26  Marek Polacek  <polacek@redhat.com>
3830         [BZ #14530]
3831         [BZ #13741]
3832         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
3833         for C++ and GCC <4.3 as well as for non GCC compilers.
3835 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
3837         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3839 2012-09-25  Roland McGrath  <roland@hack.frob.com>
3841         * Makefile.in (all, install): Declare with .PHONY.
3842         Reported by Michael Hope <michael.hope@linaro.org>.
3844 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3846         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
3847         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
3848         system header.
3849         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
3850         Likewise.
3851         (sydep_routines): Add the new and the internal functions.
3852         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
3853         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
3854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
3855         (GLIBC_2.17): Add the new function.
3856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3857         (GLIBC_2.17): Likewise.
3858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3859         (GLIBC_2.17): Likewise.
3860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
3861         (GLIBC_2.17): Likewise.
3862         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
3864 2012-09-25  Alan Modra  <amodra@gmail.com>
3866         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
3867         Add release barrier before setting once_control to say
3868         initialisation is done.  Add hints on lwarx.  Use macro in
3869         place of isync.
3870         (clear_once_control): Add release barrier.
3872 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
3874         [BZ #13629]
3875         * math/s_clog.c (__clog): Handle more values close to |z| = 1
3876         specially.
3877         * math/s_clog10.c (__clog10): Likewise.
3878         * math/s_clog10f.c (__clog10f): Likewise.
3879         * math/s_clog10l.c (__clog10l): Likewise.
3880         * math/s_clogf.c (__clogf): Likewise.
3881         * math/s_clogl.c (__clogl): Likewise.
3882         * math/Makefile (libm-calls): Add x2y2m1.
3883         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
3884         (__x2y2m1): Likewise.
3885         (__x2y2m1l): Likewise.
3886         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
3887         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
3888         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3889         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3890         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
3891         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
3892         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
3893         * sysdeps/i386/fpu/libm-test-ulps: Update.
3894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3896         [BZ #14621]
3897         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
3898         int as type of variable DEPTH.
3899         (glob): Use size_t instead of int as type of variables NEWCOUNT
3900         and OLD_PATHC.
3902 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
3904         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3905         Add s_sincosf-sse2.
3906         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
3907         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
3908         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
3909         macros for using routine as __sincosf_ia32.
3910         Use macro for function declaration and weak_alias.
3911         * sysdeps/i386/fpu/libm-test-ulps: Update.
3913         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
3914         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3916         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
3917         subnormal argument.
3918         * math/s_cexpf.c (__cexpf): Likewise.
3919         * math/s_csinf.c (__csinf): Likewise.
3920         * math/s_csinhf.c (__csinhf): Likewise.
3921         * math/s_ctanf.c (__ctanf): Likewise.
3922         * math/s_ctanhf.c (__ctanhf): Likewise.
3923         * math/s_ccosh.c (__ccoshf): Likewise.
3924         * math/s_cexp.c (__cexpl): Likewise.
3925         * math/s_csin.c (__csin): Likewise.
3926         * math/s_csinh.c (__csinh): Likewise.
3927         * math/s_ctan.c (__ctan): Likewise.
3928         * math/s_ctanh.c (ctanh): Likewise.
3929         * math/s_ccoshl.c (__ccoshl): Likewise.
3930         * math/s_cexpl.c (__cexpl): Likewise.
3931         * math/s_csinl.c (__csinl): Likewise.
3932         * math/s_csinhl.c (__csinhl): Likewise.
3933         * math/s_ctanl.c (__ctanl): Likewise.
3934         * math/s_ctanhl.c (__ctanhl): Likewise.
3936 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
3938         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
3939         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
3940         (_IO_off_t): Define to __off_t, not _G_off_t.
3941         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
3942         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
3943         (_IO_wint_t): Define to wint_t, not _G_wint_t.
3944         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
3945         type of __dummy and __dummy2 fields.
3946         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
3947         (_G_ssize_t): Likewise.
3948         (_G_off_t): Likewise.
3949         (_G_pid_t): Likewise.
3950         (_G_uid_t): Likewise.
3951         (_G_wchar_t): Likewise.
3952         (_G_wint_t): Likewise.
3953         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
3954         (_G_ssize_t): Likewise.
3955         (_G_off_t): Likewise.
3956         (_G_pid_t): Likewise.
3957         (_G_uid_t): Likewise.
3958         (_G_wchar_t): Likewise.
3959         (_G_wint_t): Likewise.
3960         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
3961         (_G_ssize_t): Likewise.
3962         (_G_off_t): Likewise.
3963         (_G_pid_t): Likewise.
3964         (_G_uid_t): Likewise.
3965         (_G_wchar_t): Likewise.
3966         (_G_wint_t): Likewise.
3968 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
3970         * malloc/arena.c: Include malloc-sysdep.h.
3971         (shrink_heap): Use check_may_shrink_heap to decide if madvise
3972         is sufficient to shrink the heap or an unmap is needed.
3973         * sysdeps/generic/malloc-sysdep.h: New file.  Define
3974         new function check_may_shrink_heap.
3975         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
3976         new function check_may_shrink_heap.
3978 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
3980         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
3981         comments.
3983 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
3985         * catgets/test-gencat.sh: Add "set -e".
3986         * elf/tst-pathopt.sh: Likewise.
3987         * grp/tst_fgetgrent.sh: Likewise.
3988         * iconvdata/run-iconv-test.sh: Likewise.
3989         * intl/tst-gettext.sh: Likewise.
3990         * intl/tst-gettext2.sh: Likewise.
3991         * intl/tst-gettext4.sh: Likewise.
3992         * intl/tst-gettext6.sh: Likewise.
3993         * intl/tst-translit.sh: Likewise.
3994         * io/ftwtest-sh: Likewise.
3995         * libio/test-freopen.sh: Likewise.
3996         * malloc/tst-mtrace.sh: Likewise.
3997         * posix/globtest.sh: Likewise.
3998         * posix/tst-getconf.sh: Likewise.
3999         * posix/wordexp-tst.sh: Likewise.
4000         * stdio-common/tst-printf.sh: Likewise.
4001         * stdio-common/tst-unbputc.sh: Likewise.
4002         * stdlib/tst-fmtmsg.sh: Likewise.
4003         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
4004         * catgets/Makefile: Do not specify -e option when running
4005         testsuite shell scripts.
4006         * elf/Makefile: Likewise.
4007         * grp/Makefile: Likewise.
4008         * iconvdata/Makefile: Likewise.
4009         * intl/Makefile: Likewise.
4010         * io/Makefile: Likewise.
4011         * libio/Makefile: Likewise.
4012         * malloc/Makefile: Likewise.
4013         * posix/Makefile: Likewise.
4014         * stdio-common/Makefile: Likewise.
4015         * stdlib/Makefile: Likewise.
4016         * sysdeps/x86_64/Makefile: Likewise.
4018         * io/ftwtest-sh: Add copyright header.
4019         * posix/globtest.sh: Likewise.
4020         * posix/tst-getconf.sh: Likewise.
4021         * posix/wordexp-tst.sh: Likewise.
4022         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
4024 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
4026         [BZ #13679]
4027         * Makeconfig (+link): Defined as $(+link-static) if
4028         $(build-shared) isn't yes.
4029         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
4030         isn't yes.
4031         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
4033         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
4035         [BZ #14562]
4036         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
4037         new chunk size with MALLOC_ALIGN_MASK.
4039 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
4041         [BZ #5044]
4042         * stdio-common/printf_fphex.c: Include <stdbool.h> and
4043         <rounding-mode.h>.
4044         (__printf_fphex): Determine rounding using get_rounding_mode and
4045         round_away.
4046         * stdio-common/tst-printf-round.c (struct hex_test): New
4047         structure.
4048         (hex_tests): New variable.
4049         (test_hex_in_one_mode): New function.
4050         (do_test): Also run tests for hex float output.
4052 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
4054         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4055         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4056         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
4057         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4058         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4059         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
4060         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4061         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4063 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
4065         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
4066         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
4067         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
4068         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
4070 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
4072         [BZ #14579]
4073         * elf/rtld.c (dl_main): Limit the check for self loading to normal
4074         mode only.
4075         * elf/tst-rtld-load-self.sh: New test.
4076         * elf/Makefile: Run it.
4078 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
4080         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
4081         (tst-writev-ENV): Remove.
4082         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
4084 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
4086         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
4088 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
4090         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
4091         unconditional.
4092         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
4093         Likewise.
4094         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
4095         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
4096         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
4097         Likewise.
4099 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
4101         [BZ #14587]
4102         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
4103         * config.make.in (have-cpp-asm-debuginfo): Removed.
4104         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
4105         * configure: Regenerated.
4107 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
4109         [BZ #5044]
4110         * stdio-common/printf_fp.c: Include <stdbool.h> and
4111         <rounding-mode.h>.
4112         (___printf_fp): Determine rounding using get_rounding_mode and
4113         round_away.
4114         * stdio-common/tst-printf-round.c: New file.
4115         * stdio-common/Makefile (tests): Add tst-printf-round.
4116         (link-libm): New variable.
4117         ($(objpfx)tst-printf-round): Depend in $(link-libm).
4119 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
4121         [BZ #14576]
4122         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
4123         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
4124         Likewise.
4125         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
4126         Likewise.
4128 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
4130         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
4131         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4132         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4133         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4135 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
4137         [BZ #14518]
4138         * include/rounding-mode.h: New file.
4139         * sysdeps/generic/get-rounding-mode.h: Likewise.
4140         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
4141         * stdlib/strtod_l.c: Include <rounding-mode.h>.
4142         (MAX_VALUE): New macro.
4143         (MIN_VALUE): Likewise.
4144         (overflow_value): New function.
4145         (underflow_value): Likewise.
4146         (round_and_return): Use overflow_value and underflow_value to
4147         determine return values in overflow and underflow cases.  Use
4148         round_away to determine rounding depending on rounding mode.
4149         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
4150         determine return values in overflow and underflow cases.
4151         * stdlib/tst-strtod-round.c: Include <fenv.h>.
4152         (struct test_results): New structure.
4153         (struct test): Use struct test_results to store expected results
4154         for all rounding modes.
4155         (TEST): Include expected results for all rounding modes.
4156         (test_in_one_mode): New function.
4157         (do_test): Use test_in_one_mode to compute and check results.
4158         Check results for all rounding modes.
4159         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
4160         $(link-libm).
4162 2012-12-09  Allan McRae  <allan@archlinux.org>
4164         * sysdeps/i386/fpu/libm-test-ulps: Update
4166 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
4168         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
4169         (_G_int32_t): Likewise.
4170         (_G_uint16_t): Likewise.
4171         (_G_uint32_t): Likewise.
4172         (_G_HAVE_BOOL): Likewise.
4173         (_G_HAVE_ATEXIT): Likewise.
4174         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4175         (_G_HAVE_IO_FILE_OPEN): Likewise.
4176         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
4177         (_G_int32_t): Likewise.
4178         (_G_uint16_t): Likewise.
4179         (_G_uint32_t): Likewise.
4180         (_G_HAVE_BOOL): Likewise.
4181         (_G_HAVE_ATEXIT): Likewise.
4182         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4183         (_G_HAVE_IO_FILE_OPEN): Likewise.
4184         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
4185         (_G_int32_t): Likewise.
4186         (_G_uint16_t): Likewise.
4187         (_G_uint32_t): Likewise.
4188         (_G_HAVE_BOOL): Likewise.
4189         (_G_HAVE_ATEXIT): Likewise.
4190         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4191         (_G_HAVE_IO_FILE_OPEN): Likewise.
4193 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
4195         * csu/libc-tls.c: Update copyright years.
4197 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
4199         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
4200         [!_G_USING_THUNKS]: Remove conditional code.
4201         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
4202         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
4204         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
4205         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
4206         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4207         (_G_VTABLE_LABEL_PREFIX): Likewise.
4208         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4209         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4210         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4211         (_G_VTABLE_LABEL_PREFIX): Likewise.
4212         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4213         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4214         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4215         (_G_VTABLE_LABEL_PREFIX): Likewise.
4216         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4218 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
4220         * libio/Makefile: Include ../Makeconfig before tests.
4221         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
4222         only if $(build-shared) is yes.
4224         * iconv/gconv_db.c: Update copyright years.
4226 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4228         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
4229         unwind info if defined PIC. Fix special cases description.
4230         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
4232         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
4233         DP_HI_MASK entry.
4234         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
4236 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
4238         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
4240         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
4241         is NULL.
4243         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
4244         (LDLIBS-tst-chk4): This.
4245         (LDFLAGS-tst-chk5): Renamed to ...
4246         (LDLIBS-tst-chk5): This.
4247         (LDFLAGS-tst-chk6): Renamed to ...
4248         (LDLIBS-tst-chk6): This.
4249         (LDFLAGS-tst-lfschk4): Renamed to ...
4250         (LDLIBS-tst-lfschk4): This.
4251         (LDFLAGS-tst-lfschk5): Renamed to ...
4252         (LDLIBS-tst-lfschk5): This.
4253         (LDFLAGS-tst-lfschk6): Renamed to ...
4254         (LDLIBS-tst-lfschk6): This.
4256         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
4257         on $(common-objpfx)soversions.mk.
4259 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
4261         [BZ #10014]
4262         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
4263         example host name.
4265 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
4267         * malloc/arena.c (arena_get_retry): New function that gets
4268         another arena for the caller to try its request on.
4269         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
4270         current arena cannot fulfill the request.
4271         (__libc_memalign): Likewise.
4272         (__libc_memalign): Likewise.
4273         (__libc_pvalloc): Likewise.
4274         (__libc_calloc): Likewise.
4276 2012-09-05  John Tobey  <john.tobey@gmail.com>
4278         [BZ #13542]
4279         * manual/arith.texi (Operations on Complex): Fix description
4280         of carg branch cut.
4282 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
4284         [BZ #10014]
4285         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
4286         host name.
4288         [BZ #10038]
4289         * manual/memory.texi (Memory): Make order of menu items match
4290         order of sections.
4292 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
4294         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
4295         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
4296         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
4298 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
4300         * csu/libc-tls.c (static_dtv): Renamed to ...
4301         (_dl_static_dtv): This.  Make it global.
4302         (_dl_initial_dtv): Removed.
4303         (__libc_setup_tls): Updated.
4304         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
4305         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
4306         DL_INITIAL_DTV.
4308 2012-09-06  Petr Machata  <pmachata@redhat.com>
4310         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
4311         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
4312         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
4313         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
4315 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
4317         [BZ #14545]
4318         * csu/libc-tls.c (_dl_initial_dtv): New variable.
4319         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
4320         freeing dtv[-1].
4322 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
4324         [BZ #14544]
4325         * Makeconfig (link-static-before-libc): Replace $(+prector)
4326         with $(+prectorT).
4327         (link-static-after-libc): Replace $(+postctor) with
4328         $(+postctorT).
4329         (link-bounded): Replace $(+prector)/$(+postctor) with
4330         $(+prectorT)/$(+postctorT).
4331         (+prectorT): New macro.
4332         (+postctorT): Likewise.
4334 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
4336         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
4337         (round_str): Handle values above the maximum for IBM long double
4338         as inexact.
4339         * stdlib/tst-strtod-round.c (tests): Regenerated.
4341 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4343         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
4344         assembler flag.
4345         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
4346         zarch_nohighgprs around the zarch optimized routines.
4347         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4348         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4349         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
4350         for zarch.
4352 2012-09-05  David S. Miller  <davem@davemloft.net>
4354         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4356         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
4357         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
4358         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
4359         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
4360         entries.
4362 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
4364         * malloc/arena.c: Fold copyright years.
4365         * malloc/mcheck.c, malloc/memusage.c: Likewise.
4367 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
4369         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
4371 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
4373         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
4375 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
4377         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
4378         change internal state upon failure.
4380 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
4382         * malloc/mcheck.c (mcheck_check_all): Fix typo.
4383         * malloc/memusage.c (mmap): Likewise.
4384         (mmap64, mremap): Likewise.  Adjust name in comment.
4386 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
4388         * libio/fileops.c: Fix typos in comments.
4389         * libio/oldfileops.c: Likewise.
4390         * libio/wfileops.c: Likewise.
4392 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
4394         [BZ #1349]
4395         * malloc/Makefile (tests): Add tst-malloc-usable test case.
4396         (tst-malloc-usable-ENV): Set environment for test case.
4397         * malloc/hooks.c (malloc_check_get_size): New function to get
4398         requested size.
4399         * malloc/malloc.c (musable): Use malloc_check_get_size.
4400         * malloc/tst-malloc-usable.c: New test case.
4402 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
4404         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
4406 2012-09-05  Allan McRae  <allan@archlinux.org>
4408         [BZ #13966]
4409         * configure.in (CXX_SYSINCLUDES): Use compiler output to
4410         determine header location.
4411         * configure: Regenerated.
4413 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
4415         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
4416         float format.
4417         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
4418         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
4419         format.
4420         (test): Regenerate.
4422 2012-09-04  David S. Miller  <davem@davemloft.net>
4424         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
4425         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
4426         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
4428 2012-09-04  Florian Weimer  <fweimer@redhat.com>
4430         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
4431         failures.
4433         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
4435 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
4437         [BZ #9914]
4438         * libio/iogetdelim.c: Include <limits.h>.
4439         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
4440         + len + 1 would overflow.
4442 2012-09-03  Andreas Jaeger  <aj@suse.de>
4444         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4445         * sysdeps/i386/fpu/libm-test-ulps: Update.
4447 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4449         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4450         Add s_sinf-sse2, s_conf-sse2.
4452         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
4453         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
4454         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
4455         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
4457         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
4458         for using routine as __sinf_ia32.
4459         Use macro for function declaration and weak_alias.
4460         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
4461         for using routine as __cosf_ia32.
4462         Use macro for function declaration and weak_alias.
4464         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
4465         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
4467         * sysdeps/x86_64/fpu/s_sinf.S: New file.
4468         * sysdeps/x86_64/fpu/s_cosf.S: New file.
4469         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4471         * math/libm-test.inc (cos_test): Add more test cases.
4472         (sin_test): Likewise.
4473         (sincos_test): Likewise.
4475 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4477         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
4478         (IFUNC_RESOLVE): Make pointers to the specialized implementations
4479         hidden.
4480         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4482 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
4484         [BZ #14538]
4485         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
4486         first element of the GOT.
4487         (elf_machine_load_address): Return the difference between
4488         the runtime address of _DYNAMIC and elf_machine_dynamic ().
4490 2012-09-01  Allan McRae  <allan@archlinux.org>
4492         [BZ #13412]
4493         * configure.in (AWK): Require gawk version 3.0 or later.
4494         * configure: Regenerated.
4496 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
4498         * sysdeps/unix/sysv/linux/kernel-features.h
4499         (__ASSUME_POSIX_CPU_TIMERS): Remove.
4500         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4501         [__NR_clock_getres]: Make code unconditional.
4502         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
4503         (clock_getcpuclockid): Remove code left unreachable by removal of
4504         conditionals.
4505         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
4506         code unconditional.
4507         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4508         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4509         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
4510         Make code unconditional.
4511         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4512         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4513         * sysdeps/unix/sysv/linux/clock_settime.c
4514         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
4515         conditional code.
4516         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
4517         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4519 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
4521         [BZ #14476]
4522         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
4523         scripts/test-installation.pl.
4525         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
4526         and $ld_so_version if it is set.
4528 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
4530         [BZ #14516]
4531         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
4532         failure if reading from procfs failed.
4533         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
4535 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
4537         * sysdeps/unix/sysv/linux/kernel-features.h
4538         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
4539         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4540         Remove conditional code.
4541         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4542         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
4543         Remove conditional code.
4544         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4545         * sysdeps/unix/sysv/linux/i386/fxstat.c
4546         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4547         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4548         * sysdeps/unix/sysv/linux/i386/fxstatat.c
4549         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4550         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4551         * sysdeps/unix/sysv/linux/i386/lxstat.c
4552         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4553         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4554         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
4555         Remove conditional code.
4556         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4557         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4558         Remove conditional code.
4559         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4560         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
4561         <kernel-features.h>.
4562         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
4563         Remove.
4564         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
4565         Remove conditional code.
4566         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4567         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
4568         Remove conditional.
4570 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
4572         [BZ #5400]
4573         * NEWS: Add fixed bug number.
4575 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
4577         [BZ #14519]
4578         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
4579         underflowing exponent in case of negative sign.
4580         * stdlib/tst-strtod-round-data: Add more tests.
4581         * stdlib/tst-strtod-round.c (tests): Regenerated.
4583         [BZ #3479]
4584         * stdlib/strtod_l.c (NDIG): Remove.
4585         (HEXNDIG): Likewise.
4586         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
4587         smallest representable value.
4588         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
4589         lie within an exact representation of 1/2 ulp of the result.
4590         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
4591         unconditionally.
4592         (TENS_P9_IDX): Define unconditionally.
4593         (TENS_P9_SIZE): Likewise.
4594         (TENS_P10_IDX): Likewise.
4595         (TENS_P10_SIZE): Likewise.
4596         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
4597         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
4598         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
4599         entries for 10^2^13 and 10^2^14.
4600         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
4601         (TENS_P13_IDX): Define.
4602         (TENS_P13_SIZE): Likewise.
4603         (TENS_P14_IDX): Likewise.
4604         (TENS_P14_SIZE): Likewise.
4605         (_fpioconst_pow10): Change array size to
4606         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
4607         unconditional.
4608         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
4609         1024]: Add entries for 10^2^13 and 10^2^14.
4610         [LAST_POW10 > _LAST_POW10]: Remove #error.
4611         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
4612         (_fpioconst_pow10): Change array size to
4613         FPIOCONST_POW10_ARRAY_SIZE.
4614         * stdlib/gen-fpioconst.c: New file.
4615         * stdlib/gen-tst-strtod-round.c: Likewise.
4616         * stdlib/tst-strtod-round-data: Likewise.
4617         * stdlib/tst-strtod-round.c: Likewise.
4618         * stdlib/Makefile (tests): Add tst-strtod-round.
4620         [BZ #14459]
4621         * stdlib/strtod_l.c: Include <stdint.h>.
4622         (NDEBUG): Do not define.
4623         (round_and_return): Change EXPONENT parameter to type intmax_t.
4624         Rearrange calculations to avoid internal overflow possibilities.
4625         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
4626         Rearrange calculations to avoid internal overflow possibilities.
4627         Assert that number fits inside MPNSIZE limbs.
4628         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
4629         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
4630         calculations and add assertions to avoid internal overflow
4631         possibilities.  Add casts to avoid signed/unsigned operations.
4632         * stdlib/tst-strtod-overflow.c: New file.
4633         * stdlib/Makefile (tests): Add tst-strtod-overflow.
4635 2012-08-25  Marek Polacek  <polacek@redhat.com>
4637         * time/time.h: Fix some typos in comments.
4639 2012-08-23  Roland McGrath  <roland@hack.frob.com>
4641         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
4642         * posix/tst-rfc3484-2.c: Likewise.
4643         * posix/tst-rfc3484-3.c: Likewise.
4645 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
4647         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
4648         (EF_ARM_ABI_FLOAT_HARD): Likewise.
4650 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
4652         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
4653         #include of fxstatat64.c.
4655 2012-08-22  Roland McGrath  <roland@hack.frob.com>
4657         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
4658         * shadow/getspent_r.c: Likewise.
4659         * shadow/getspnam.c: Likewise.
4660         * shadow/getspnam_r.c: Likewise.
4661         * gshadow/getsgent.c: Likewise.
4662         * gshadow/getsgent_r.c: Likewise.
4663         * gshadow/getsgnam.c: Likewise.
4664         * gshadow/getsgnam_r.c: Likewise.
4665         * inet/getnetbyad.c: Likewise.
4666         * inet/getnetbyad_r.c: Likewise.
4667         * inet/getnetbynm.c: Likewise.
4668         * inet/getnetbynm_r.c: Likewise.
4669         * inet/getnetent.c: Likewise.
4670         * inet/getnetent_r.c: Likewise.
4671         * inet/getproto.c: Likewise.
4672         * inet/getproto_r.c: Likewise.
4673         * inet/getprtent.c: Likewise.
4674         * inet/getprtent_r.c: Likewise.
4675         * inet/getprtname.c: Likewise.
4676         * inet/getprtname_r.c: Likewise.
4677         * inet/getrpcbyname.c: Likewise.
4678         * inet/getrpcbyname_r.c: Likewise.
4679         * inet/getrpcbynumber.c: Likewise.
4680         * inet/getrpcbynumber_r.c: Likewise.
4681         * inet/getrpcent.c: Likewise.
4682         * inet/getrpcent_r.c: Likewise.
4683         * inet/getaliasent.c: Likewise.
4684         * inet/getaliasent_r.c: Likewise.
4685         * inet/getaliasname.c: Likewise.
4686         * inet/getaliasname_r.c: Likewise.
4687         * nscd/getgrgid_r.c: Likewise.
4688         * nscd/getgrnam_r.c: Likewise.
4689         * nscd/gethstbyad_r.c: Likewise.
4690         * nscd/gethstbynm3_r.c: Likewise.
4691         * nscd/getpwnam_r.c: Likewise.
4692         * nscd/getpwuid_r.c: Likewise.
4693         * nscd/getsrvbynm_r.c: Likewise.
4694         * nscd/getsrvbypt_r.c: Likewise.
4695         * nscd/gai.c: Likewise.
4697         * configure.in (build_nscd): New substituted variable, set
4698         by --disable-build-nscd and defaults to $use_nscd.
4699         * configure: Regenerated.
4700         * config.make.in (build-nscd): New substituted variable.
4701         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
4702         Change conditional to require [$(build-nscd) = yes] as well.
4703         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
4705         [BZ# 13696]
4706         * configure.in (use_nscd): New substituted variable, set by
4707         --disable-nscd.  If enabled, define USE_NSCD.
4708         * configure: Regenerated.
4709         * config.h.in: Add USE_NSCD.
4710         * config.make.in (use-nscd): New substituted variable.
4711         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
4712         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
4713         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
4714         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
4715         (CFLAGS-getgrnam_r.c): Likewise.
4716         (CFLAGS-initgroups.c): Likewise.
4717         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
4718         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
4719         Variables removed.
4720         * inet/getnetgrent_r.c
4721         (nscd_setnetgrent): New function, broken out of ...
4722         (setnetgrent): ... here.  Call it.
4723         (innetgr): Conditionalize nscd bits on [USE_NSCD].
4724         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
4725         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
4726         * nscd/Makefile (routines, aux): Move definitions after include of
4727         Makeconfig.  Conditionalize on [$(use-nscd) != no].
4728         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
4729         Conditionalize on [USE_NSCD].
4730         (is_nscd, nscd_init_cb): Likewise.
4731         (nss_load_library): Conditionalize init callback on [USE_NSCD].
4732         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
4733         * nss/nss_db/db-init.c: Likewise.
4734         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
4735         [USE_NSCD].
4736         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
4737         (make_request): Use it.
4738         (cache_valid_p): New function.
4739         (__check_pf): Use it.
4740         * NEWS: Add item for --disable-nscd.
4742 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
4744         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
4745         to support sed >= 4.2.1-20-ga9bf076.
4746         * configure: Regenerated.
4748 2012-08-22  Roland McGrath  <roland@hack.frob.com>
4750         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
4751         Conditionalize whole body on [IREL].
4753 2012-08-22  Jeff Law <law@redhat.com>
4755         [BZ #14505]
4756         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
4757         if the family is PF_UNSPEC.
4759 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
4761         * Makerules (lib-version): Rename from V.
4762         (install-lib-nosubdir): Change V to lib-version.
4764 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
4766         [BZ #14252]
4767         * powerpc32/power6/wcschr.c: New file.
4768         * powerpc32/power6/wcscpy.c: New file.
4769         * powerpc32/power6/wcsrchr.c: New file.
4770         * powerpc64/power6/wcschr.c: New file.
4771         * powerpc64/power6/wcscpy.c: New file.
4772         * powerpc64/power6/wcsrchr.c: New file.
4774 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
4776         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
4777         (two_way_short_needle): Use it.
4778         * string/strstr.c (AVAILABLE1_USES_J): Define.
4779         * string/strcasestr.c: Likewise.
4781         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
4782         array references.
4783         * string/strcasestr.c (TOLOWER): Make side-effect safe.
4785         [BZ #11607]
4786         * NEWS: Add an entry.
4787         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
4788         define their defaults.
4789         (two_way_short_needle): Detect end-of-string on-the-fly.
4790         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
4791         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
4792         * string/bug-strcasestr1.c: New test.
4793         * string/Makefile: Run it.
4795 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
4797         [BZ #11607]
4798         * string/str-two-way.h (two_way_short_needle): Optimize matching of
4799         the first character.
4801 2012-08-21  Roland McGrath  <roland@hack.frob.com>
4803         * csu/elf-init.c (__libc_csu_irel): Function removed.
4804         * csu/libc-start.c (apply_irel): New function.
4805         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
4807 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
4809         * sysdeps/unix/sysv/linux/kernel-features.h
4810         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
4811         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
4812         <kernel-features.h>.
4813         [__NR_fadvise64_64]: Make code unconditional.
4814         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
4815         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4816         !__NR_fadvise64_64)]: Likewise.
4817         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4818         !__NR_fadvise64_64))]: Likewise.
4819         [__NR_fadvise64]: Make code unconditional.
4820         [!__NR_fadvise64]: Remove conditional code.
4821         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
4822         <kernel-features.h>.
4823         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4824         unconditional.
4825         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4826         conditional code.
4827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
4828         not include <kernel-features.h>.
4829         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4830         unconditional.
4831         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4832         conditional code.
4833         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
4834         include <kernel-features.h>.
4835         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4836         unconditional.
4837         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4838         conditional code.
4840 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
4842         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
4843         slight instruction rearrangements per scrollpipe analysis.
4844         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4846 2012-08-20  Roland McGrath  <roland@hack.frob.com>
4848         * manual/syslog.texi (syslog; vsyslog, closelog):
4849         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
4850         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
4852         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
4853         DSOCAPS to match condition on defining it.
4855 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
4857         * sysdeps/unix/sysv/linux/kernel-features.h
4858         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
4859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
4860         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4861         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
4863         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4864         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
4866         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4867         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4869         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
4870         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
4872         * sysdeps/unix/sysv/linux/kernel-features.h
4873         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
4874         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
4875         unconditional.
4876         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4877         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
4878         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4879         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4880         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
4881         Make code unconditional.
4882         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4883         (__mmap64) [!__NR_mmap2]: Likewise.
4884         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
4885         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4886         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4887         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
4888         [__NR_mmap2]: Make code unconditional.
4889         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4890         (__mmap64) [!__NR_mmap2]: Likewise.
4892 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4894         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
4896 2012-08-18  Andreas Jaeger  <aj@suse.de>
4898         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
4900 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
4902         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
4903         * include/unistd.h (__have_sock_cloexec): Likewise.
4904         (__have_pipe2): Likewise.
4905         (__have_dup3): Likewise.
4907 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
4909         [BZ #9685]
4910         * include/unistd.h (__have_pipe2): Change define into an extern int.
4911         (__have_dup3): Likewise.
4912         * socket/have_sock_cloexec.c: Include fcntl.h.
4913         (__have_pipe2): New variable.
4914         (__have_dup3): Likewise.
4916 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
4918         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
4920 2012-08-17  Marek Polacek  <polacek@redhat.com>
4922         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
4923         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
4925 2012-08-17  Roland McGrath  <roland@hack.frob.com>
4927         * configure.in: Add AC_SUBST for sysheaders.
4928         * configure: Regenerated.
4929         * config.make.in (sysheaders): New substituted variable.
4931         * sysdeps/unix/mkfifo.c: Moved ...
4932         * sysdeps/posix/mkfifo.c: ... here.
4933         * sysdeps/unix/mkfifoat.c: Moved ...
4934         * sysdeps/posix/mkfifoat.c: ... here.
4936         * sysdeps/unix/utime.c: Moved ...
4937         * sysdeps/posix/utime.c: ... here.
4939         * sysdeps/unix/time.c: Moved ...
4940         * sysdeps/posix/time.c: ... here.
4941         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
4942         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
4944         * sysdeps/unix/nice.c: Moved ...
4945         * sysdeps/posix/nice.c: ... here.
4947         * sysdeps/unix/alarm.c: Moved ...
4948         * sysdeps/posix/alarm.c: ... here.
4950         * intl/Makefile ($(codeset_mo)): Depend on the input file.
4952 2012-08-17  Jeff Law <law@redhat.com>
4954         * intl/Makefile (codeset_mo): New variable.
4955         ($(codeset_mo)): New target.
4956         (tst-codeset.out): Depend on that.  Remove explicit rule.
4957         (tst-gettext3.out, tst-gettext5.out): Likewise.
4958         (LOCPATH-ENV, tst-codeset-ENV): New variables.
4959         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
4960         * intl/tst-codeset.sh: Remove.
4961         * intl/tst-gettext3.sh: Likewise.
4962         * intl/tst-gettext5.sh: Likewise.
4964 2012-08-17  Roland McGrath  <roland@hack.frob.com>
4966         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
4967         * sysdeps/unix/syscalls.list: ... here.
4969         * sysdeps/posix/getaddrinfo.c
4970         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
4971         (gaiconf_init, gaiconf_reload): Use them.
4972         [!_STATBUF_ST_NSEC]
4973         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
4974         Define using time_t rather than struct timespec.
4976         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
4977         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
4978         Macros removed.
4979         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
4980         [!NO_THREADS].
4981         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
4982         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
4983         Likewise.
4985         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
4986         __libc_cleanup_push argument.
4988         * bits/param.h: New file.
4989         * misc/sys/param.h: New file.
4990         * include/sys/param.h: New file.
4991         * misc/Makefile (headers): Add bits/param.h.
4992         * sysdeps/generic/sys/param.h: File removed.
4993         * sysdeps/unix/sysv/linux/bits/param.h: New file.
4994         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
4995         * sysdeps/mach/hurd/bits/param.h: New file.
4996         * sysdeps/mach/hurd/sys/param.h: File removed.
4998         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
4999         last change.
5001         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
5002         [_IO_MTSAFE_IO].
5003         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
5004         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
5005         New macros.
5007         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
5008         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
5009         rather than -D_IO_MTSAFE_IO conditionally.
5010         * stdio-common/Makefile (CPPFLAGS): Likewise.
5011         * wcsmbs/Makefile (CPPFLAGS): Likewise.
5012         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
5013         Use $(libio-mtsafe).
5014         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
5015         of -D_IO_MTSAFE_IO.
5016         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
5017         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
5018         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
5019         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
5020         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
5021         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
5022         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
5023         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
5024         (CFLAGS-fread_u_chk.c): Likewise.
5025         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
5026         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
5027         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
5028         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
5029         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
5030         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
5031         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
5032         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
5033         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
5035         * libio/Makefile: Test [$(libc-reentrant) = yes]
5036         instead of [$(filter %REENTRANT, $(defines)) nonempty].
5038         * Makeconfig
5039         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
5040         * sysdeps/pthread/configure: File removed.
5041         * sysdeps/pthread/Makeconfig: New file.
5042         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
5043         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
5045 2012-08-16  Gary Benson  <gbenson@redhat.com>
5047         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
5048         unmapping the first object in a namespace.
5050 2012-08-16  Roland McGrath  <roland@hack.frob.com>
5052         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
5053         (__internal_setnetgrent): ... this.  Add internal_function to
5054         definition.  Add libc_hidden_def.
5055         (setnetgrent): Update caller.
5056         (internal_endnetgrent): Renamed to ...
5057         (__internal_endnetgrent): ... this.  Add internal_function to
5058         definition.  Add libc_hidden_def.
5059         (endnetgrent): Update caller.
5060         (internal_getnetgrent_r): Renamed to ...
5061         (__internal_getnetgrent_r): ... this.  Add internal_function to
5062         definition.  Add libc_hidden_def.
5063         (__getnetgrent_r): Update caller.
5064         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
5066 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
5068         * stdlib/longlong.h: Update from GCC.
5070 2012-08-16  Roland McGrath  <roland@hack.frob.com>
5072         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
5073         on _QL, which is set by umul_ppmm but never used.
5074         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
5075         variables, which are set by GMP macros but never used.
5076         * stdio-common/_itowa.c (_itowa): Likewise.
5077         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
5078         * stdlib/mod_1.c (mpn_mod_1): Likewise.
5080 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
5082         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
5083         struct La_sh_regs is not constant.
5084         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
5085         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
5086         and struct La_sparc64_regs are not constant.
5088 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
5090         * sysdeps/unix/sysv/linux/kernel-features.h
5091         (__ASSUME_POSIX_TIMERS): Remove.
5092         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5093         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5094         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
5095         Make code unconditional.
5096         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5097         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
5098         Make code unconditional.
5099         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5100         * sysdeps/unix/sysv/linux/clock_nanosleep.c
5101         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
5102         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5103         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
5104         Make code unconditional.
5105         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5106         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
5107         (__libc_missing_posix_timers): Remove.
5109 2012-08-15  Roland McGrath  <roland@hack.frob.com>
5111         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
5112         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
5114         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
5116         * elf/dl-sym.c: Include <stdlib.h>.
5118         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
5119         constants, which avoids warnings in 32-bit builds.
5121         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
5122         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
5124         * misc/lseek.c: File moved to ...
5125         * io/lseek.c: ... here.
5127         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
5129         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
5130         shifting LEN more than 31 bits at once.
5132 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5134         [BZ #14195]
5135         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
5136         segmentation fault for a case of two empty input strings.
5137         * string/test-strncasecmp.c (check1): Renamed to...
5138         (bz12205): ...this.
5139         (bz14195): Add new testcase for two empty input strings and N > 0.
5140         (test_main): Call new testcase, adapt for renamed function.
5142 2012-08-15  Andreas Jaeger  <aj@suse.de>
5144         [BZ #14090]
5145         * crypt/md5test2.c: New test, based on test supplied by Serge
5146         Belyshev <belyshev@depni.sinp.msu.ru>.
5147         * crypt/Makefile (xtests): Add md5test-giant..
5148         * crypt/Makefile ($(objpfx)md5test-giant): Add.
5150 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
5152         [BZ #14090]
5153         * crypt/md5.c (md5_process_block): Don't assume the buffer
5154         length is less than 2**32.
5155         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
5156         length is less than 2**64.
5158 2012-08-15  Roland McGrath  <roland@hack.frob.com>
5160         * string/str-two-way.h: Include <sys/param.h>.
5161         (MAX): Macro removed.
5163         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
5164         Move #define and #undef of memmove to just before and after
5165         including <string.h>.
5167         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
5168         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
5169         and after including <string.h>.  Move declarations of
5170         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
5171         to before #include "string/memmove.c".
5173         * include/dirent.h: Declare __getdirentries.
5175         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
5176         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
5178 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
5180         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
5181         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
5182         * sysdeps/i386/configure: Regenerated.
5183         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
5184         STABS_CURRENT_FILE, and STABS_FUN.
5185         (END): Remove call to STABS_FUN_END.
5186         (STABS_CURRENT_FILE1): Delete.
5187         (STABS_CURRENT_FILE): Likewise.
5188         (STABS_FUN): Likewise.
5189         (STABS_FUN_END): Likewise.
5190         (STABS_FUN2): Likewise.
5191         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
5192         * sysdeps/x86_64/configure: Regenerated.
5194 2012-08-14  Roland McGrath  <roland@hack.frob.com>
5196         * elf/dl-open.c: Include <atomic.h>.
5197         * elf/dl-lookup.c: Likewise.
5199 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
5201         * sysdeps/unix/sysv/linux/kernel-features.h
5202         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
5203         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
5204         unconditionally.
5205         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
5206         unconditionally.
5207         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
5208         condition on __ASSUME_CLONE_THREAD_FLAGS.
5210 2012-08-14  Andreas Jaeger  <aj@suse.de>
5212         * sysdeps/i386/fpu/libm-test-ulps: Update.
5214 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
5216         * include/atomic.h (atomic_exchange_and_add): Split into ...
5217         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
5218         New atomic macros.
5220 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
5222         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5224 2012-08-13  Jeff Law <law@redhat.com>
5226         * manual/stdio.texi (snprintf): Clarify handling of the trailing
5227         null byte in the output string.
5229 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
5231         * sysdeps/unix/sysv/linux/kernel-features.h
5232         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
5233         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
5234         (__ASSUME_ARG_MAX_STACK_BASED): Define.
5235         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5236         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
5237         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
5238         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
5240 2012-08-09  Jeff Law <law@redhat.com>
5242         [BZ #13939]
5243         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
5244         When avoid_arena is set, don't retry in the that arena.  Pick the
5245         next one, whatever it might be.
5246         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
5247         (arena_lock): Pass in new parameter to arena_get2.
5248         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
5249         arena_get2.
5250         (__libc_malloc): Unify retrying after main arena failure with
5251         __libc_memalign version.
5252         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
5254 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
5256         [BZ #14166]
5257         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
5258         to __redirect_strstr.
5259         (__strstr_sse42): Use typeof __redirect_strstr.
5260         (__strstr_ia32): Likewise.
5261         (__libc_strstr): New prototype.
5262         (strstr): Renamed to ...
5263         (__libc_strstr): This.
5264         (strstr): New strong alias of __libc_strstr.
5265         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
5266         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
5267         __redirect_time.
5268         Include <time.h>.
5269         (__libc_time): New prototype.
5270         (time_ifunc): Replace time with __libc_time.
5271         (time): New strong alias and hidden definition of __libc_time.
5272         (__GI_time): Remove strong alias.
5273         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
5274         Include <stddef.h>.
5275         (memmove): Redefined to __redirect_memmove.
5276         (__memmove_sse2): Use typeof __redirect_memmove.
5277         (__memmove_ssse3): Likewise.
5278         (__memmove_ssse3_back): Likewise.
5279         (__libc_memmove): New prototype.
5280         (memmove): Renamed to ...
5281         (__libc_memmove): This.
5282         (memmove): New strong alias of __libc_memmove.
5284 2012-08-08  Mark Salter  <msalter@redhat.com>
5286         * elf/elf.h
5287         (R_MN10300_TLS_GD): Define.
5288         (R_MN10300_TLS_LD): Likewise.
5289         (R_MN10300_TLS_LDO): Likewise.
5290         (R_MN10300_TLS_GOTIE): Likewise.
5291         (R_MN10300_TLS_IE): Likewise.
5292         (R_MN10300_TLS_LE): Likewise.
5293         (R_MN10300_TLS_DTPMOD): Likewise.
5294         (R_MN10300_TLS_DTPOFF): Likewise.
5295         (R_MN10300_TLS_TPOFF): Likewise.
5296         (R_MN10300_SYM_DIFF): Likewise.
5297         (R_MN10300_ALIGN): Likewise.
5298         (R_MN10300_NUM): Update.
5300 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
5302         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
5303         Remove.
5305 2012-08-08  Roland McGrath  <roland@hack.frob.com>
5307         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
5309         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
5310         sysdeps/unix -> sysdeps/posix move.
5311         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5313 2012-08-07      Allan McRae     <allan@archlinux.org>
5315         [BZ #14303]
5316         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
5317         (SUNOS_CPP): Likewise.
5318         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
5319         not found.
5320         (open_input): Call CPP using execvp.
5322 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
5324         * sysdeps/unix/sysv/linux/kernel-features.h
5325         (__ASSUME_PROT_GROWSUPDOWN): Remove.
5326         (__ASSUME_NO_CLONE_DETACHED): Likewise.
5327         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5328         (__ASSUME_WAITID_SYSCALL): Likewise.
5329         * sysdeps/unix/sysv/linux/dl-execstack.c
5330         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
5331         code unconditional.
5332         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
5333         conditional code.
5334         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
5335         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
5336         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
5337         code.
5338         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
5339         unconditional.
5340         [__ASSUME_WAITID_SYSCALL]: Likewise.
5341         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
5343 2012-08-07  Roland McGrath  <roland@hack.frob.com>
5345         * sysdeps/unix/closedir.c: Renamed to ...
5346         * sysdeps/posix/closedir.c: ... here.
5347         * sysdeps/unix/dirfd.c: Renamed to ...
5348         * sysdeps/posix/dirfd.c: ... here.
5349         * sysdeps/unix/dirstream.h: Renamed to ...
5350         * sysdeps/posix/dirstream.h: ... here.
5351         * sysdeps/unix/fdopendir.c: Renamed to ...
5352         * sysdeps/posix/fdopendir.c: ... here.
5353         * sysdeps/unix/opendir.c: Renamed to ...
5354         * sysdeps/posix/opendir.c: ... here.
5355         * sysdeps/unix/readdir.c: Renamed to ...
5356         * sysdeps/posix/readdir.c: ... here.
5357         * sysdeps/unix/readdir_r.c: Renamed to ...
5358         * sysdeps/posix/readdir_r.c: ... here.
5359         * sysdeps/unix/rewinddir.c: Renamed to ...
5360         * sysdeps/posix/rewinddir.c: ... here.
5361         * sysdeps/unix/seekdir.c: Renamed to ...
5362         * sysdeps/posix/seekdir.c: ... here.
5363         * sysdeps/unix/telldir.c: Renamed to ...
5364         * sysdeps/posix/telldir.c: ... here.
5365         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
5366         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
5367         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
5368         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
5370         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
5371         * bits/fcntl.h: ... here.
5373         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
5374         not 0.
5375         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
5376         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
5377         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
5378         (struct flock): Move l_start, l_len to the beginning.
5379         Use __pid_t for l_pid.
5380         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
5381         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
5382         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
5383         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
5384         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
5385         [__USE_LARGEFILE64] (struct flock64): New type.
5386         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
5388         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
5389         * bits/dirent.h: ... here.
5391         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
5392         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
5394 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
5396         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5397         Change from 2.6.0 to 2.6.16.
5398         * sysdeps/unix/sysv/linux/configure: Regenerated.
5399         * sysdeps/unix/sysv/linux/kernel-features.h
5400         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
5401         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
5402         version.
5403         (__ASSUME_UTIMES): Likewise.
5404         (__ASSUME_CLONE_STOPPED): Remove.
5405         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
5406         architectures, not kernel version.
5407         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
5408         (__ASSUME_NO_CLONE_DETACHED): Likewise.
5409         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5410         (__ASSUME_WAITID_SYSCALL): Likewise.
5411         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
5412         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
5413         * README: State 2.6.16 as minimum Linux kernel version.  Do not
5414         refer to older versions.
5416 2012-08-06  Roland McGrath  <roland@hack.frob.com>
5418         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
5419         Define alphasort64 as an alias.
5420         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
5421         Define versionsort64 as an alias.
5422         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
5423         Define scandir64 as an alias.
5424         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
5425         Define scandirat64 as an alias.
5426         * dirent/alphasort64.c (alphasort64):
5427         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
5428         * dirent/versionsort64.c: Likewise.
5429         * dirent/scandir64.c: Likewise.
5430         * dirent/scandirat64.c: Likewise.
5431         * sysdeps/wordsize-64/alphasort.c: File removed.
5432         * sysdeps/wordsize-64/alphasort64.c: File removed.
5433         * sysdeps/wordsize-64/scandir.c: File removed.
5434         * sysdeps/wordsize-64/scandir64.c: File removed.
5435         * sysdeps/wordsize-64/scandirat.c: File removed.
5436         * sysdeps/wordsize-64/scandirat64.c: File removed.
5437         * sysdeps/wordsize-64/versionsort.c: File removed.
5438         * sysdeps/wordsize-64/versionsort64.c: File removed.
5439         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
5440         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
5441         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
5442         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
5443         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
5444         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
5445         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
5446         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
5448         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
5449         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5450         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
5451         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5452         [defined __arch64__ || defined __sparcv9]
5453         (__INO_T_MATCHES_INO64_T): New macro.
5454         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5455         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
5456         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
5457         * sysdeps/unix/sysv/linux/bits/dirent.h
5458         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
5459         (_DIRENT_MATCHES_DIRENT64): New macro.
5461         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
5462         Define lockf64 as an alias.
5463         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
5464         Define fseeko64 as an alias.
5465         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
5466         Define ftello64 as an alias.
5467         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
5468         Define _IO_fgetpos64 and fgetpos64 as aliases.
5469         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
5470         Define _IO_fsetpos64 and fsetpos64 as aliases.
5471         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
5472         Conditionalize body on this.
5473         * libio/fseeko64.c: Likewise.
5474         * libio/ftello64.c: Likewise.
5475         * libio/iofgetpos64.c: Likewise.
5476         * libio/iofsetpos64.c: Likewise.
5477         * sysdeps/wordsize-64/lockf.c: File removed.
5478         * sysdeps/wordsize-64/lockf64.c: File removed.
5479         * sysdeps/wordsize-64/fseeko.c: File removed.
5480         * sysdeps/wordsize-64/fseeko64.c: File removed.
5481         * sysdeps/wordsize-64/ftello.c: File removed.
5482         * sysdeps/wordsize-64/ftello64.c: File removed.
5483         * sysdeps/wordsize-64/iofgetpos.c: File removed.
5484         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
5485         * sysdeps/wordsize-64/iofsetpos.c: File removed.
5486         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
5487         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
5488         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
5489         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
5490         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
5491         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
5492         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
5493         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
5494         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
5495         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
5496         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
5498         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5499         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5500         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
5501         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5502         [defined __arch64__ || defined __sparcv9]
5503         (__OFF_T_MATCHES_OFF64_T): New macro.
5504         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5505         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5506         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5507         (__OFF_T_MATCHES_OFF64_T): New macro.
5509 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
5511         * stdlib/secure-getenv.c (__secure_getenv): Replace
5512         GLIBC_2_16 with GLIBC_2_17.
5514 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
5516         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
5517         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5519 2012-08-03  David S. Miller  <davem@davemloft.net>
5521         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5523 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
5525         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
5526         Remove.
5527         (__ASSUME_CORRECT_SI_PID): Likewise.
5528         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
5529         (__ASSUME_TMPFS_NAME): Likewise.
5530         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
5531         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
5532         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
5533         (HAVE_AUX_SECURE): Make definition unconditional.
5534         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
5535         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
5537 2012-08-03  Roland McGrath  <roland@hack.frob.com>
5539         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
5540         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
5541         * sysdeps/mach/hurd/eloop-threshold.h: New file.
5542         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5543         __eloop_threshold instead of SYMLOOP_MAX.
5545         * sysdeps/generic/eloop-threshold.h: New file.
5546         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
5547         of MAXSYMLINKS.
5548         * elf/chroot_canon.c (chroot_canon): Likewise.
5550 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
5552         [BZ #13717]
5553         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5554         Change to 2.6.0 everywhere.
5555         * sysdeps/unix/sysv/linux/configure: Regenerated.
5556         * sysdeps/unix/sysv/linux/kernel-features.h
5557         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
5558         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
5559         kernel versions.
5560         (__ASSUME_POSIX_TIMERS): Define unconditionally.
5561         (__ASSUME_FUTEX_REQUEUE): Remove.
5562         (__ASSUME_STATFS64): Define unconditionally.
5563         (__ASSUME_AT_SECURE): Likewise.
5564         (__ASSUME_CORRECT_SI_PID): Likewise.
5565         (__ASSUME_TGKILL): Define without depending on kernel version for
5566         i386.
5567         (__ASSUME_UTIMES): Likewise.
5568         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
5569         kernel version.
5570         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
5571         (__ASSUME_TMPFS_NAME): Likewise.
5572         * README: Update reference to Linux kernel versions.
5574 2012-08-02  Marek Polacek  <polacek@redhat.com>
5576         [BZ# 14150]
5577         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
5578         libc_cv_asm_type_prefix with %.
5579         * configure: Regenerated.
5580         * include/libc-symbols.h: Remove comment about
5581         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5582         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
5583         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
5584         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
5585         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
5586         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5587         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
5588         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
5589         * elf/tst-unique2mod1.c: Likewise.
5590         * elf/tst-unique1mod2.c: Likewise.
5591         * elf/tst-unique1mod1.c: Likewise.
5592         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
5593         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
5594         Replace ASM_TYPE_DIRECTIVE with .type.
5595         * sysdeps/s390/s390-64/sysdep.h: Likewise.
5596         * sysdeps/i386/sysdep.h: Likewise.
5597         * sysdeps/x86_64/sysdep.h: Likewise.
5598         * sysdeps/sh/sysdep.h: Likewise.
5599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5600         Do not define ASM_TYPE_DIRECTIVE.
5601         * sysdeps/powerpc/sysdep.h: Likewise.
5602         * sysdeps/powerpc/powerpc32/sysdep.h:
5603         Replace ASM_TYPE_DIRECTIVE with .type.
5604         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5605         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5606         * sysdeps/i386/fpu/e_powf.S: Likewise.
5607         * sysdeps/i386/fpu/e_expl.S: Likewise.
5608         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5609         * sysdeps/i386/fpu/e_acosh.S: Likewise.
5610         * sysdeps/i386/fpu/e_pow.S: Likewise.
5611         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5612         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5613         * sysdeps/i386/fpu/s_expm1.S: Likewise.
5614         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5615         * sysdeps/i386/fpu/e_log2.S: Likewise.
5616         * sysdeps/i386/fpu/e_log2l.S: Likewise.
5617         * sysdeps/i386/fpu/e_scalb.S: Likewise.
5618         * sysdeps/i386/fpu/e_powl.S: Likewise.
5619         * sysdeps/i386/fpu/e_log10f.S: Likewise.
5620         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5621         * sysdeps/i386/fpu/e_logl.S: Likewise.
5622         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5623         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5624         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5625         * sysdeps/i386/fpu/e_log2f.S: Likewise.
5626         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5627         * sysdeps/i386/fpu/e_log.S: Likewise.
5628         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5629         * sysdeps/i386/fpu/e_logf.S: Likewise.
5630         * sysdeps/i386/fpu/e_log10l.S: Likewise.
5631         * sysdeps/i386/fpu/e_atanh.S: Likewise.
5632         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5633         * sysdeps/i386/fpu/e_log10.S: Likewise.
5634         * sysdeps/i386/fpu/s_frexp.S: Likewise.
5635         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5636         * sysdeps/i386/fpu/s_asinh.S: Likewise.
5637         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5638         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5639         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
5640         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5641         * sysdeps/i386/i686/strtok.S: Likewise.
5642         * sysdeps/i386/i386-mcount.S: Likewise.
5643         * sysdeps/i386/strtok.S: Likewise.
5644         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
5645         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5646         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5647         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5648         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5649         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5650         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5651         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5652         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5653         * sysdeps/x86_64/_mcount.S: Likewise.
5654         * sysdeps/x86_64/strtok.S: Likewise.
5655         * sysdeps/sh/_mcount.S: Likewise.
5657 2012-08-01  Roland McGrath  <roland@hack.frob.com>
5659         * libio/iofopen.c: Include <fcntl.h>.
5660         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
5661         (_IO_fopen64, fopen64): Define as aliases.
5662         * libio/iofopen64.c: Include <fcntl.h>.
5663         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
5664         Conditionalize body on this.
5665         * sysdeps/wordsize-64/iofopen.c: File removed.
5666         * sysdeps/wordsize-64/iofopen64.c: File removed.
5668 2012-08-01  Marek Polacek  <polacek@redhat.com>
5670         * libc/Makeconfig: Use elf in place of binfmt-subdir.
5671         Use dlfcn directly instead of a variable.
5672         (binfmt-subdir): Do not define.
5673         (dlfcn): Likewise.
5675 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
5677         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
5678         Remove all definitions.
5679         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
5680         <kernel-features.h>.
5681         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5682         (miss_F_GETOWN_EX): Remove all definitions.
5683         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
5684         macro definition.
5685         [!__ASSUME_FCNTL64]: Remove conditional code.
5686         [__ASSUME_FCNTL64]: Make code unconditional.
5687         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
5688         <kernel-features.h>.
5689         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5690         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
5691         (lockf64) [__NR_fcntl64]: Make code unconditional.
5692         (lockf64) [__ASSUME_FCNTL64]: Likewise.
5694         * sysdeps/unix/sysv/linux/kernel-features.h
5695         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
5696         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
5697         Make code unconditional.
5698         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5699         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
5701         [__NR_vfork]: Make code unconditional.
5702         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5703         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
5705         [__NR_vfork]: Make code unconditional.
5706         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5707         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5709 2012-08-01  Roland McGrath  <roland@hack.frob.com>
5711         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
5712         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
5714         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5715         Define mkstemp64 as an alias.
5716         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5717         Define mkstemps64 as an alias.
5718         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5719         Define mkostemp64 as an alias.
5720         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5721         Define mkostemps64 as an alias.
5722         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
5723         Conditionalize body on this.
5724         * misc/mkostemp64.c: Likewise.
5725         * misc/mkostemps64.c: Likewise.
5726         * misc/mkstemps64.c: Likewise.
5727         * sysdeps/wordsize-64/mkstemp64.c: File removed.
5728         * sysdeps/wordsize-64/mkostemp64.c: File removed.
5729         * sysdeps/wordsize-64/mkostemp.c: File removed.
5730         * sysdeps/wordsize-64/mkstemp.c: File removed.
5731         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
5732         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
5733         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
5734         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
5736         [BZ #14138]
5737         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
5738         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
5739         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
5740         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
5742         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
5743         compat_symbol macros from <shlib-compat.h> rather than the underlying
5744         default_symbol_version and symbol_version macros, so that DEFAULT
5745         lines in shlib-versions are respected.
5746         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
5748 2012-08-01  Florian Weimer  <fweimer@redhat.com>
5750         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
5751         Declare with warn_unused_result.
5752         (setgid, setregid, setegid, setresgid): Likewise.
5753         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
5754         Likewise.
5755         * WUR-REPORT: Remove set*id functions.
5757 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
5759         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
5761 2012-07-31  Roland McGrath  <roland@hack.frob.com>
5763         * include/sys/socket.h (__libc_accept, __libc_accept4):
5764         Add attribute_hidden.
5765         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
5767         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
5768         use of PTR_MANGLE.
5769         * inet/getnetgrent_r.c (setup): Likewise.
5771         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
5773 2012-07-31  David S. Miller  <davem@davemloft.net>
5775         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5777 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
5779         [BZ #13629]
5780         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
5781         value between 1.0 and 2.0 and smaller part has absolute value less
5782         than 1.0.
5783         * math/s_clog10.c (__clog10): Likewise.
5784         * math/s_clog10f.c (__clog10f): Likewise.
5785         * math/s_clog10l.c (__clog10l): Likewise.
5786         * math/s_clogf.c (__clogf): Likewise.
5787         * math/s_clogl.c (__clogl): Likewise.
5788         * math/libm-test.inc (clog_test): Add more tests.
5789         (clog10_test): Likewise.
5790         * sysdeps/i386/fpu/libm-test-ulps: Update.
5791         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5793 2012-07-31  Florian Weimer  <fweimer@redhat.com>
5795         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
5796         Exit with zero in case no suitable GID is found, and write a
5797         message to standard error.
5799 2012-07-30  Roland McGrath  <roland@hack.frob.com>
5801         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
5802         rather than to 1.
5803         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
5804         (MAXPATHLEN): Removed.
5805         (NOGROUP, NODEV): New macros.
5806         (setbit, clrbit, isset, isclr): New macros.
5807         (howmany, roundup, powerof2): New macros.
5808         (DEV_BSIZE): New macro.
5810         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
5811         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
5813         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
5814         definition on [!__NO_LONG_DOUBLE_MATH].
5816         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
5817         PTR_MANGLE and PTR_DEMANGLE.
5819         * socket/accept4.c (accept4): Rename to __libc_accept4.
5820         Define accept4 as a weak alias.
5822         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
5823         on [_DIRENT_HAVE_D_TYPE].
5824         * io/ftw.c (ftw_dir): Likewise.
5826         * io/xmknod.c (__xmknod): Don't check PATH for being null.
5828         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
5830         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
5831         Use the BSD numbers rather than the arbitrary ones we had.
5832         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
5833         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
5834         (SIGXCPU, SIGXFSZ): New macros.
5835         (_NSIG): Now 32.
5837         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
5838         initializer on [_LIBC_REENTRANT].
5840         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
5841         definitions inside [_POSIX_MAPPED_FILES].
5843         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
5845         * dirent/opendir.c: Include <fcntl.h>.
5847         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
5848         (__libc_getspecific): Likewise.
5849         (__libc_key_create): Likewise.
5851         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
5852         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
5853         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
5854         (tmpfile64): Define as alias.
5855         * sysdeps/wordsize-64/tmpfile.c: File removed.
5856         * sysdeps/wordsize-64/tmpfile64.c: File removed.
5857         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
5858         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
5860         * stdio-common/vfscanf.c: Include <stdbool.h>.
5861         * nss/makedb.c: Likewise.
5862         * stdio-common/_i18n_number.h: Likewise.
5863         * argp/argp-help.c: Likewise.
5864         * posix/wordexp.c: Likewise.
5865         * sysdeps/posix/spawni.c: Likewise.
5866         * nss/nss_files/files-initgroups.c: Likewise.
5867         * stdio-common/reg-modifier.c: Include <stdlib.h>.
5868         * nss/nss_files/files-initgroups.c: Likewise.
5869         * nss/nss_db/db-netgrp.c: Likewise.
5870         * nss/nss_db/db-initgroups.c: Likewise.
5871         * io/fchmodat.c: Include <sys/stat.h>.
5873         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
5874         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
5876         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
5877         [HAVE_MMAP].
5879         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
5880         Add multiple inclusion protection.
5882 2012-07-27  David S. Miller  <davem@davemloft.net>
5884         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5886 2012-07-27  Gary Benson  <gbenson@redhat.com>
5888         [BZ #14298]
5889         * elf/rtld.c: Include <stap-probe.h>.
5890         (dl_main): Added static probes "init_start" and "init_complete".
5891         * elf/dl-load.c: Include <stap-probe.h>.
5892         (lose): Take new parameter "nsid".
5893         Added static probe "map_failed".
5894         (_dl_map_object_from_fd): Pass namespace id to lose.
5895         Added static probe "map_start".
5896         (open_verify): Pass namespace id to lose.
5897         * elf/dl-open.c: Include <stap-probe.h>.
5898         (dl_open_worker) Added static probes "map_complete", "reloc_start"
5899         and "reloc_complete".
5900         * elf/dl-close.c: Include <stap-probe.h>.
5901         (_dl_close_worker): Added static probes "unmap_start" and
5902         "unmap_complete".
5903         * elf/rtld-debugger-interface.txt: New file documenting the above.
5905 2012-07-26  Roland McGrath  <roland@hack.frob.com>
5907         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
5908         rather than a string variable.
5909         * sunrpc/rpc_main.c (h_output): Likewise.
5910         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
5912 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
5914         * inet/check_native.c: New file.
5916 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
5918         [BZ #13629]
5919         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
5920         if larger part has absolute value 1.0.
5921         * math/s_clog10.c (__clog10): Likewise.
5922         * math/s_clog10f.c (__clog10f): Likewise.
5923         * math/s_clog10l.c (__clog10l): Likewise.
5924         * math/s_clogf.c (__clogf): Likewise.
5925         * math/s_clogl.c (__clogl): Likewise.
5926         * math/libm-test.inc (clog_test): Add more tests.
5927         (clog10_test): Likewise.
5928         * sysdeps/i386/fpu/libm-test-ulps: Update.
5929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5931         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
5932         (pltexit): Likewise.
5933         (La_regs): Likewise.
5934         (La_retval): Likewise.
5935         (int_retval): Likewise.
5936         Update #error for removed macros to refer only to definitions in
5937         tst-audit.h.
5938         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
5939         macro.
5940         (pltexit): Likewise.
5941         (La_regs): Likewise.
5942         (La_retval): Likewise.
5943         (int_retval): Likewise.
5944         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
5945         macro.
5946         (pltexit): Likewise.
5947         (La_regs): Likewise.
5948         (La_retval): Likewise.
5949         (int_retval): Likewise.
5950         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
5951         macro.
5952         (pltexit): Likewise.
5953         (La_regs): Likewise.
5954         (La_retval): Likewise.
5955         (int_retval): Likewise.
5956         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
5957         macro.
5958         (pltexit): Likewise.
5959         (La_regs): Likewise.
5960         (La_retval): Likewise.
5961         (int_retval): Likewise.
5962         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
5963         macro.
5964         (pltexit): Likewise.
5965         (La_regs): Likewise.
5966         (La_retval): Likewise.
5967         (int_retval): Likewise.
5968         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
5969         macro.
5970         (pltexit): Likewise.
5971         (La_regs): Likewise.
5972         (La_retval): Likewise.
5973         (int_retval): Likewise.
5974         * sysdeps/generic/tst-audit.h: Update comment to refer only to
5975         macro definitions in tst-audit.h.
5976         * sysdeps/i386/tst-audit.h: New file.
5977         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
5978         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
5979         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
5980         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
5981         * sysdeps/sh/tst-audit.h: Likewise.
5982         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
5983         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
5984         * sysdeps/x86_64/tst-audit.h: Likewise.
5986 2012-07-26  Andreas Jaeger  <aj@suse.de>
5988         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
5989         ptrace.
5991         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
5992         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
5993         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
5994         PTRACE_O_MASK.
5995         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
5996         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
5997         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
5999         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
6000         value.
6002         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
6003         _sigsys.
6004         (si_call_addr, si_syscall, si_arch): Define new macro.
6005         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
6006         _sigsys.
6007         (si_call_addr, si_syscall, si_arch): Define new marcro.
6008         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
6009         _sigsys.
6010         (si_call_addr, si_syscall, si_arch): Define new macro.
6011         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
6012         _sigsys.
6013         (si_call_addr, si_syscall, si_arch): Define new macro.
6015 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
6017         [BZ #13717]
6018         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6019         Change to 2.4.21 where previously 2.4.1.
6020         * sysdeps/unix/sysv/linux/configure: Regenerated.
6021         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
6022         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
6023         Linux kernel version.
6024         (__ASSUME_STD_AUXV): Remove.
6025         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
6026         kernel version.
6027         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
6028         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
6029         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
6030         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
6031         (__ASSUME_NETLINK_SUPPORT): Likewise.
6032         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
6033         (__no_netlink_support): Remove conditional definition.
6034         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
6035         Remove.
6036         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6037         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
6038         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
6039         (if_nameindex_ioctl): Remove.
6040         (if_nameindex_netlink): Do not handle __no_netlink_support.
6041         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6042         code.
6043         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
6044         Remove conditional code.
6045         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6046         code.
6047         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
6048         unconditional.
6049         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6050         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
6051         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
6052         Remove.
6053         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
6054         [!__ASSUME_STD_AUXV]: Remove conditional code.
6055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
6056         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
6057         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
6058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
6059         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
6060         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6061         code.
6062         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6064         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
6065         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6066         conditional code.
6067         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
6069         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6070         code.
6071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6072         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6073         conditional code.
6074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
6075         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6076         code unconditional.
6077         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6078         conditional code.
6079         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6080         unconditional.
6081         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6082         conditional code.
6083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6084         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6085         unconditional.
6086         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6087         conditional code.
6088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
6089         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6090         code unconditional.
6091         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6092         conditional code.
6093         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6094         unconditional.
6095         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6096         conditional code.
6097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
6098         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6099         code unconditional.
6100         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6101         conditional code.
6102         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6103         unconditional.
6104         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6105         conditional code.
6107 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
6109         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
6110         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
6111         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6112         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
6113         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
6114         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6115         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6116         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
6117         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
6118         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6119         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
6120         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
6121         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
6122         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6123         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
6124         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
6125         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
6126         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
6127         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
6128         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
6129         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
6130         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
6131         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6133 2012-07-25  Florian Weimer  <fweimer@redhat.com>
6135         * Versions.def: Add GLIBC_2.17.
6136         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
6137         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
6138         Introduce __libc_secure_getenv.
6139         * stdlib/Versions (2.17): Add secure_getenv
6140         (GLIBC_PRIVATE): Add __libc_secure_getenv.
6141         * stdlib/secure-getenv.c: Rename __secure_getenv to
6142         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
6143         symbol __secure_getenv for GLIBC_2.0.
6144         * stdlib/tst-secure-getenv.c: New.
6145         * stdlib/Makefile (tests): Add testcase.
6146         * manual/startup.texi (Environment Access): Document
6147         secure_getenv.
6148         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
6149         __libc_secure_getenv.
6150         * inet/ruserpass.c (ruserpass): Likewise.
6151         * malloc/mtrace.c (mtrace): Likewise.
6152         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
6153         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
6154         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
6155         * sysdeps/posix/tempname.c: Likewise.  Evaluate
6156         HAVE_SECURE_GETENV.
6157         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
6158         __secure_getenv to __libc_secure_getenv.
6159         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
6160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6161         Likewise.
6162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6163         Likewise.
6164         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6165         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6166         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6167         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6168         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6169         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6170         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
6172 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
6174         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
6175         (struct La_i86_retval): Likewise.
6176         (struct La_x86_64_regs): Likewise.
6177         (struct La_x86_64_retval): Likewise.
6178         (struct La_x32_regs): Likewise.
6179         (struct La_x32_retval): Likewise.
6180         (struct La_ppc32_regs): Likewise.
6181         (struct La_ppc32_retval): Likewise.
6182         (struct La_ppc64_regs): Likewise.
6183         (struct La_ppc64_retval): Likewise.
6184         (struct La_sh_regs): Likewise.
6185         (struct La_sh_retval): Likewise.
6186         (struct La_s390_32_regs): Likewise.
6187         (struct La_s390_32_retval): Likewise.
6188         (struct La_s390_64_regs): Likewise.
6189         (struct La_s390_64_retval): Likewise.
6190         (struct La_sparc32_regs): Likewise.
6191         (struct La_sparc32_retval): Likewise.
6192         (struct La_sparc64_regs): Likewise.
6193         (struct La_sparc64_retval): Likewise.
6194         (struct audit_ifaces): Remove architecture-specific pltenter and
6195         pltexit members.
6196         * sysdeps/i386/ldsodefs.h: New file.
6197         * sysdeps/powerpc/ldsodefs.h: Likewise.
6198         * sysdeps/s390/ldsodefs.h: Likewise.
6199         * sysdeps/sh/ldsodefs.h: Likewise.
6200         * sysdeps/sparc/ldsodefs.h: Likewise.
6201         * sysdeps/x86_64/ldsodefs.h: Likewise.
6203 2012-07-25  Marek Polacek  <polacek@redhat.com>
6205         [BZ #6808]
6206         * math/libm-test.inc (yn_test): Add another test.
6207         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
6208         to ERANGE when the result is +-Inf.
6209         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6210         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
6211         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
6212         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
6214 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
6216         * conform/data/time.h-data (NULL): Use macro-constant.  Require
6217         equal to 0.
6218         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
6219         clock_t.
6220         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
6222 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
6224         * configure.in <sysdeps resolving>: Correct printing
6225         Implies_before.
6226         * configure: Regenerate.
6228 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
6230         * math/w_ilogb.c: Include <limits.h>.
6231         * math/w_ilogbl.c: Likewise.
6233 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
6235         * manual/lang.texi (__va_copy): Document primarily as ISO C99
6236         va_copy.  Document allowing for unavailable va_copy only as
6237         pre-C99 compatibility.
6238         * manual/string.texi (Copying and Concatenation): Use va_copy
6239         instead of __va_copy in concat example.
6241 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
6243         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
6244         (__sendto): Use create_address_port.  Initialize APORT and deallocate
6245         it if not null.
6247         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
6248         with O_NOLINK passed to __file_name_lookup.
6250         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
6251         with O_NOLINK passed to __file_name_lookup.
6253         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
6254         negative N or less than NGIDS.
6256         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
6257         type to string_t.  Set ERANGE as errno and return it if NAME is not big
6258         enough.  Use memcpy instead of strncpy.
6260 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
6262         * elf/Makefile (check-data): Remove.
6263         (localplt.data): New vpath directive.
6264         ($(objpfx)check-localplt.out): Use localplt.data from vpath
6265         instead of $(check-data).
6266         * scripts/data/localplt-generic.data: Move to ...
6267         * sysdeps/generic/localplt.data: ... here.
6268         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
6269         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
6270         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
6271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6272         ... here.
6273         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
6274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
6275         ... here.
6276         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
6277         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
6278         ... here.
6279         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
6280         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6281         ... here.
6282         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
6283         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
6284         ... here.
6285         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
6286         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
6287         ... here.
6289 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6291         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
6292         PPC32 and PPC64 files.
6293         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
6294         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
6296 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6298         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
6299         __makecontext_ret to ...
6300         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
6301         ... here and call exit if uc_link is NULL.  New file.
6302         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
6303         __makecontext_ret.S.
6304         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
6305         __makecontext_ret to ...
6306         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
6307         ... here and call exit if uc_link is NULL.  New file.
6308         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
6309         __makecontext_ret.S.
6311 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6313         * elf/elf.h (R_390_IRELATIVE): New definition.
6314         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
6315         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
6316         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
6317         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6318         (elf_machine_lazy_rel): Likewise.
6319         * sysdeps/s390/dl-irel.h: New file.
6320         * sysdeps/s390/s390-64/memcpy.S: New asm code.
6321         * sysdeps/s390/s390-64/memset.S: New asm code.
6322         * sysdeps/s390/s390-64/memcmp.S: New asm code.
6323         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
6324         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
6325         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
6326         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
6327         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
6328         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
6329         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
6330         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
6331         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
6332         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
6333         * sysdeps/s390/s390-32/memcpy.S: New asm code.
6334         * sysdeps/s390/s390-32/memset.S: New asm code.
6335         * sysdeps/s390/s390-32/memcmp.S: New asm code.
6337 2012-07-17  Marek Polacek  <polacek@redhat.com>
6339         [BZ #14349]
6340         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
6341         * sysdeps/s390/s390-64/configure.in: Likewise.
6342         * sysdeps/sparc/configure.in: Likewise.
6343         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
6344         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
6345         * sysdeps/i386/configure.in: Likewise.
6346         * sysdeps/x86_64/configure.in: Likewise.
6347         * sysdeps/sh/configure.in: Likewise.
6348         * sysdeps/s390/s390-32/configure: Regenerated.
6349         * sysdeps/s390/s390-64/configure: Likewise.
6350         * sysdeps/x86_64/configure: Likewise.
6351         * sysdeps/sh/configure: Likewise.
6352         * sysdeps/powerpc/powerpc64/configure: Likewise.
6353         * sysdeps/powerpc/powerpc32/configure: Likewise.
6354         * sysdeps/sparc/configure: Likwise.
6355         * sysdeps/i386/configure: Likewise.
6357         * elf/dl-open.c: Comment fixes.
6359 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
6361         * Makefile [CXX] (check-data): Remove.
6362         [CXX] (c++-types.data): New vpath directive.
6363         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
6364         vpath.  Do not allow for C++ type data being missing.
6365         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
6366         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
6367         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
6368         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
6369         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
6370         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
6371         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
6372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6373         ... here.
6374         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
6375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6376         ... here.
6377         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
6378         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
6379         ... here.
6380         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
6381         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
6382         ... here.
6383         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
6384         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
6385         ... here.
6386         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
6387         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
6388         ... here.
6389         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
6390         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
6391         ... here.
6392         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
6393         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
6395         * elf/tls-macros.h (TLS_LE): Move architecture-specific
6396         definitions to architecture-specific files.
6397         (TLS_IE): Likewise.
6398         (TLS_LD): Likewise.
6399         (TLS_GD): Likewise.
6400         * sysdeps/i386/tls-macros.h: New file.
6401         * sysdeps/powerpc/tls-macros.h: Likewise.
6402         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
6403         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
6404         * sysdeps/sh/tls-macros.h: Likewise.
6405         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
6406         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
6407         * sysdeps/x86_64/tls-macros.h: Likewise.
6409 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
6411         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
6412         zero value for regular exit case.
6414         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6415         (__start_context): Preserve zero value for regular exit case.
6417 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
6418             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6420         * manual/setjmp.texi (setcontext): Clarify normal process
6421         termination when uc_link is the null pointer.
6422         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
6423         exit call.
6425 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
6427         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
6428         preprocessor.  Test for each exception mask separately.
6430 2012-07-16  Andreas Jaeger  <aj@suse.de>
6432         * po/ru.po: Update from translation team.
6434 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
6436         * conform/data/string.h-data (NULL): Use macro-constant.  Require
6437         equal to 0.
6438         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6439         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6440         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
6441         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
6442         [ISO || ISO99 || ISO11] (*_t): Do not allow.
6444 2012-07-13  Andreas Jaeger  <aj@suse.de>
6446         * po/fr.po: Update from translation team.
6448 2012-07-12  Marek Polacek  <polacek@redhat.com>
6450         [BZ #14173]
6451         * math/libm-test.inc (yn_test): Add test for BZ #14173.
6452         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
6453         loop condition.
6455 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
6457         [BZ #13717]
6458         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6459         Change to 2.4.1 where previously 2.4.0.
6460         * sysdeps/unix/sysv/linux/configure: Regenerated.
6461         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
6462         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
6463         version.
6464         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
6465         (__ASSUME_AT_CLKTCK): Remove.
6466         (__ASSUME_AT_PAGESIZE): Likewise.
6467         (__ASSUME_AT_XID): Likewise.
6468         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
6469         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
6470         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
6471         unconditionally.
6472         (HAVE_AUX_PAGESIZE): Likewise.
6473         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
6474         [__ASSUME_AT_CLKTCK]: Make code unconditional.
6475         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
6477 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
6479         [BZ #14307]
6480         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
6481         the temporary buffer used to invoke __gethostbyname2_r,
6482         __gethostbyaddr_r and gethostbyname4_r to make room for struct
6483         host_data / struct gaih_addrtuple.
6484         * resolv/nss_dns/dns-host.c (global scope): Move definition of
6485         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
6486         header file nss/nsswitch.h.
6487         * nss/nsswitch.h (global scope): Add definition of implementation
6488         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
6489         resolv/nss_dns/dns-host.c).
6491 2012-07-11  Andreas Jaeger  <aj@suse.de>
6493         * po/fr.po: Update from translation team.
6495         * po/sv.po: Update from translation team
6496         * po/fr.po: Another update from translation team.
6498 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6500         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
6501         for subnormals or multiply small sinh result by itself.
6502         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6503         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6505 2012-07-11  David S. Miller  <davem@davemloft.net>
6507         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6509 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
6511         [BZ #14347]
6512         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
6513         (INTERNAL_MARK): Shift it here.
6515 2012-07-10  Marek Polacek  <polacek@redhat.com>
6517         [BZ #14151]
6518         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
6519         libc_cv_asm_global_directive with .globl.
6520         * configure: Regenerated.
6521         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
6522         with .globl.
6523         * sysdeps/i386/configure: Regenerated.
6524         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
6525         with .globl.
6526         * sysdeps/x86_64/configure: Regenerated.
6527         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
6528         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
6529         * elf/tst-unique2mod2.c: Likewise.
6530         * elf/tst-unique2mod1.c: Likewise.
6531         * elf/tst-unique1mod2.c: Likewise.
6532         * elf/tst-unique1mod1.c: Likewise.
6533         * sysdeps/s390/s390-32/sysdep.h: Likewise.
6534         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6535         * sysdeps/s390/s390-64/sysdep.h: Likewise.
6536         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6537         * sysdeps/mach/sysdep.h: Likewise.
6538         * sysdeps/i386/sysdep.h: Likewise.
6539         * sysdeps/i386/i386-mcount.S: Likewise.
6540         * sysdeps/x86_64/_mcount.S: Likewise.
6541         * sysdeps/x86_64/sysdep.h: Likewise.
6542         * sysdeps/sh/_mcount.S: Likewise.
6543         * sysdeps/sh/sysdep.h: Likewise.
6544         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
6545         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
6546         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
6547         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6548         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
6549         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
6550         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
6551         * locale/localeinfo.h: Likewise.
6552         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
6553         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
6555 2012-07-09  Roland McGrath  <roland@hack.frob.com>
6557         [BZ #14336]
6558         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
6559         system".
6560         * manual/message.texi (The Uniforum approach): Likewise.
6561         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
6562         (glibc iconv Implementation): Likewise.
6564 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
6566         [BZ #14337]
6567         * math/s_clog.c (__clog): Avoid scaling a value down where that
6568         could result in underflow.
6569         * math/s_clog10.c (__clog10): Likewise.
6570         * math/s_clog10f.c (__clog10f): Likewise.
6571         * math/s_clog10l.c (__clog10l): Likewise.
6572         * math/s_clogf.c (__clogf): Likewise.
6573         * math/s_clogl.c (__clogl): Likewise.
6574         * math/libm-test.inc (clog_test): Add more tests.
6575         (clog10_test): Likewise.
6576         * sysdeps/i386/fpu/libm-test-ulps: Update.
6577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6579 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
6581         [BZ #14283]
6582         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
6583         by 7 not 8 to examine high bit of fractional part.
6585         [BZ #14042]
6586         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
6587         for call to __mcount_internal.
6588         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
6589         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
6590         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
6592 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
6594         [BZ #14154]
6595         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
6596         approximation for values within 0x1p-13f of an odd multiple of
6597         pi/4.
6598         * math/libm-test.inc (tan_test): Do not allow spurious underflow
6599         exception.  Add more tests.
6600         * sysdeps/i386/fpu/libm-test-ulps: Update.
6602         [BZ #6778]
6603         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
6604         inputs and return -1 for them.  Do not check for +Inf in case not
6605         reachable for +Inf.
6606         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6607         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
6608         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6609         and return -1 for them.  Do not check for +Inf in case not
6610         reachable for +Inf.
6611         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
6612         define.
6613         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6614         and return -1 for them.  Do not check for +Inf in case not
6615         reachable for +Inf.
6616         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
6617         spurious underflow.
6618         * sysdeps/i386/fpu/libm-test-ulps: Update.
6619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6621 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
6623         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
6625 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
6627         [BZ #14157]
6628         [BZ #14331]
6629         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
6630         could result in spurious underflow.  Scale down values above
6631         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
6632         * math/s_csqrtf.c (__csqrtf): Likewise.
6633         * math/s_csqrtl.c (__csqrtl): Likewise.
6634         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
6635         spurious underflow.
6636         * sysdeps/i386/fpu/libm-test-ulps: Update.
6637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6639 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
6641         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
6642         xopen-msg.sed.
6643         * catgets/xopen-msg.awk: New file.
6644         * catgets/xopen-msg.sed: Removed.
6646         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
6647         po2text.sed.
6648         * intl/po2test.awk: New file.
6649         * intl/po2test.sed: Removed.
6651 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
6653         [BZ #14328]
6654         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
6655         or multiply small sinh result by itself.
6656         * math/s_ctanf.c (__ctanf): Likewise.
6657         * math/s_ctanh.c (__ctanh): Likewise.
6658         * math/s_ctanhf.c (__ctanhf): Likewise.
6659         * math/s_ctanhl.c (__ctanhl): Likewise.
6660         * math/s_ctanl.c (__ctanl): Likewise.
6661         * math/libm-test.inc (ctan_test_tonearest): New function.
6662         (ctan_test_towardzero): Likewise.
6663         (ctan_test_downward): Likewise.
6664         (ctan_test_upward): Likewise.
6665         (ctanh_test_tonearest): Likewise.
6666         (ctanh_test_towardzero): Likewise.
6667         (ctanh_test_downward): Likewise.
6668         (ctanh_test_upward): Likewise.
6669         (main): Call these new functions.
6670         * sysdeps/i386/fpu/libm-test-ulps: Update.
6671         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6673 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
6675         * .gitignore: Delete /ports entry.
6677 2012-07-03  Andreas Jaeger  <aj@suse.de>
6679         * po/bg.po: Update from translation team.
6680         * po/cs.po: Likewise.
6681         * po/de.po: Likewise.
6682         * po/hr.po: Likewise.
6683         * po/nl.pl: Likewise.
6684         * po/pl.po: Likewise.
6685         * po/vi.po: Likewise.
6687 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
6689         * Makeconfig [!+link] (+link-before-libc): New variable.
6690         [!+link] (+link-after-libc): Likewise.
6691         [!+link] (+link-tests): Likewise.
6692         [!+link] (+link): Define in terms of $(+link-before-libc) and
6693         $(+link-after-libc).
6694         [!+link-static] (+link-static-before-libc): New variable.
6695         [!+link-static] (+link-static-after-libc): Likewise.
6696         [!+link-static] (+link-static-tests): Likewise.
6697         [!+link-static] (+link-static): Define in terms of
6698         $(+link-static-before-libc) and $(+link-static-after-libc).
6699         [build-shared] (link-libc-before-gnulib): New variable.
6700         [build-shared] (link-libc-tests): Likewise.
6701         [build-shared] (link-libc): Define in terms of
6702         $(link-libc-before-gnulib).
6703         [!build-shared] (link-libc-tests): New variable.
6704         (link-libc-static-tests): New variable.
6705         [!gnulib] (gnulib-arch): New variable.
6706         [!gnulib] (gnulib-tests): Likewise.
6707         [!gnulib] (static-gnulib-arch): Likewise.
6708         [!gnulib] (static-gnulib-tests): Likewise.
6709         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
6710         Define with "=" instead of ":=".
6711         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
6712         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
6713         * Rules (binaries-all-notests): New variable.
6714         (binaries-all-tests): Likewise.
6715         (binaries-static-notests): Likewise.
6716         (binaries-static-tests): Likewise.
6717         (binaries-all): Define using $(binaries-all-notests) and
6718         $(binaries-all-tests).
6719         (binaries-static): Define using $(binaries-static-notests) and
6720         $(binaries-static-tests).
6721         (binaries-shared-tests): New variable.
6722         (binaries-shared-notests): Likewise.
6723         (binaries-shared): Remove variable.
6724         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
6725         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
6726         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
6727         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
6728         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
6729         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
6730         * elf/Makefile (sln-modules): New variable.
6731         (extra-objs): Add $(sln-modules:=.o).
6732         (ldconfig-modules): Add static-stubs.
6733         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
6734         * elf/static-stubs.c: New file.
6736         [BZ #14283]
6737         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
6738         by 7 not 8 to examine high bit of fractional part.  Use volatile
6739         variables when splitting into final array of floats if
6740         __FLT_EVAL_METHOD__ != 0.
6741         * math/libm-test.inc (cos_test): Add another test.
6742         (sin_test): Likewise.
6743         * sysdeps/i386/fpu/libm-test-ulps: Update.
6745         [BZ #14273]
6746         * math/libm-test.inc (cosh_test): Add more tests.
6748         * version.h (RELEASE): Set to "development".
6749         (VERSION): Set to "2.16.90".
6751 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
6753         * NEWS: Update copyright. Remove last-updated date.
6754         Mention math library bug fixes and timezone data changes.
6755         * README: Mention GNU/Hurd, x32, and HPPA support status.
6757 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
6759         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
6761 2012-06-27  Andreas Jaeger  <aj@suse.de>
6763         * manual/contrib.texi (Contributors): Add Samuel Thibault.
6765 2012-06-25  Andreas Jaeger  <aj@suse.de>
6767         * sysdeps/s390/fpu/libm-test-ulps: Update.
6769 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
6770             Thomas Schwinge  <thomas@codesourcery.com>
6772         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
6773         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
6774         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
6775         fanotify_mark.
6777 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
6779         * sysdeps/mach/start.c: Remove file.
6780         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
6781         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
6782         * sysdeps/sh/init-first.c: Likewise.
6784         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
6785         registers for frame unwinding purposes, add CFI directives.
6786         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6787         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
6788         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
6789         Likewise.
6791         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
6792         __fortify_fail returning.
6793         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6795         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
6796         sysdeps/sh/____longjmp_chk.S.
6797         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
6798         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
6799         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
6800         (gen-as-const-headers): Append sigaltstack-offsets.sym.
6802         * sysdeps/sh/abort-instr.h: New file.
6803         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
6804         process in case exit returns.
6806         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
6807         initialize the GOT register before use.
6809         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
6810         calculation of ARGC > 4.
6812         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
6813         meaningful names to some local labels.
6815 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
6816             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6818         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
6819         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
6820         (__arch_compare_and_exchange_val_16_acq): Likewise.
6821         (__arch_compare_and_exchange_val_32_acq): Likewise.
6822         (atomic_exchange_and_add): Fix gUSA sequence.
6823         (atomic_add): Likewise.
6824         (atomic_add_negative): Likewise.
6825         (atomic_add_zero): Likewise.
6826         (atomic_bit_test_set): Likewise.
6828 2012-06-22  Andreas Schwab  <schwab@redhat.com>
6830         [BZ #13579]
6831         * include/link.h (struct link_map): Add l_free_initfini.
6832         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
6833         l_initfini.
6834         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
6835         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
6836         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
6837         set.
6839 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
6841         * configure.in: Use AC_LANG_SOURCE.
6842         * configure: Regenerate.
6844 2012-06-22  Roland McGrath  <roland@hack.frob.com>
6846         * configure.in (libc_cv_localstatedir): New substituted variable.
6847         * configure: Regenerated.
6848         * config.make.in (localstatedir): New variable, substituted from
6849         libc_cv_localstatedir.
6850         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
6851         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
6852         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
6853         * sysdeps/gnu/configure: Regenerated.
6855 2012-06-21  Jeff Law  <law@redhat.com>
6857         [BZ #14277]
6858         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
6859         free.  Simplify list management for _LIBC case.
6861 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
6863         [BZ #14273]
6864         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
6865         Clear sign bit of 64-bit integer value before comparing against
6866         overflow value.
6868         * sysdeps/mach/configure: Regenerated.
6870 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
6872         [BZ #14278]
6873         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
6875 2012-06-21  Jeff Law  <law@redhat.com>
6877         [BZ #13882]
6878         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
6879         uint16_t for elements in the "seen" array to avoid char overflows.
6880         * elf/dl-fini.c (_dl_sort_fini): Likewise.
6881         * elf/dl-open.c (dl_open_worker): Likewise.
6883 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
6885         * scripts/list-sources.sh: Scan PORTS for translations.
6886         * po/libc.pot: Regenerated.
6888 2012-06-21  Andreas Jaeger  <aj@suse.de>
6890         [BZ #12194]
6891         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
6892         warning.
6893         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
6894         * bits/byteswap-16.h (__bswap_16): Likewise.
6895         * bits/byteswap.h (__bswap_constant_16): Likewise.
6897 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
6899         [BZ #14117]
6900         * sysdeps/i386/fpu_control.h: Removed.
6901         * sysdeps/x86_64/fpu_control.h: Moved to ...
6902         * sysdeps/x86/fpu_control.h: Here.
6904         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
6905         (_FPU_SETCW): Likewise.
6907 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
6909         [BZ #14117]
6910         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
6911         * sysdeps/x86/fpu/bits/mathinline.h: This.
6912         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
6914         [BZ #14050]
6915         [BZ #14117]
6916         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
6917         functions if __x86_64__ is defined.
6919 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
6921         * string/endian.h: Add !__ASSEMBLER__ condition for including
6922         conversion interfaces.
6924 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
6926         [BZ #14241]
6927         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
6928         of ABS(x) in calculating zero to negative powers other than odd
6929         integers.
6930         * math/libm-test.inc (pow_test): Add more tests.
6932 2012-06-15  Andreas Jaeger  <aj@suse.de>
6934         * manual/contrib.texi (Contributors): Update entry of Liubov
6935         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
6936         Machado Filho.
6938 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
6940         * string/string.h: Add __wur to GNU version of strerror_r.
6942 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
6944         [BZ #14229]
6945         * string/Makefile (tests): Add tst-strtok_r.
6946         * string/tst-strtok_r.c: New file.
6947         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
6948         RAX_LP/RDX_LP on SAVE_PTR.
6950 2012-06-14  Roland McGrath  <roland@hack.frob.com>
6952         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
6954 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
6956         * libm_test.inc (csqrt_test): Allow more spurious underflow
6957         exceptions.
6958         (j0_test): Likewise.
6959         (j1_test): Likewise.
6960         (y0_test): Likewise.
6961         (y1_test): Likewise.
6963 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
6965         * po/Makefile (libc.pot): Use UTF-8 charset.
6967 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
6969         [BZ #14210]
6970         Suppress sign-conversion warning from FD_SET.
6971         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
6972         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
6973         not unsigned long int.
6974         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
6976 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
6978         [BZ #14050]
6979         [BZ #14117]
6980         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
6981         __extern_always_inline instead of __extern_inline.
6982         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
6983         (__signbit): Likewise.
6984         (__signbitl): Support C++ namespace.
6985         (lrintf): New inline function.
6986         (lrint): Likewise.
6987         (llrintf): Likewise.
6988         (llrint): Likewise.
6989         (fmaxf): Likewise.
6990         (fmax): Likewise.
6991         (fminf): Likewise.
6992         (fmin): Likewise.
6993         (rint): Likewise.
6994         (rintf): Likewise.
6995         (ceil): Likewise.
6996         (ceilf): Likewise.
6997         (floor): Likewise.
6998         (floorf): Likewise.
6999         (nearbyint): Likewise.
7000         (nearbyintf): Likewise.
7002 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
7004         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
7005         non-default versions.
7007 2012-06-11  Roland McGrath  <roland@hack.frob.com>
7009         [BZ #14218]
7010         * manual/argp.texi (Argp): Reword argp_parse description slightly.
7012 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
7014         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
7015         (FE_UPWARD, FE_DOWNWARD): Don't define.
7016         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
7017         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7019         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
7020         reading it.
7021         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7022         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7024 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7026         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7027         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
7028         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
7029         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
7031 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
7033         [BZ #14117]
7034         * sysdeps/i386/fpu/bits/fenv.h: Removed.
7035         * sysdeps/i386/fpu/Implies: New file.
7036         * sysdeps/x86_64/fpu/Implies: Likewise.
7037         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
7038         * sysdeps/x86/fpu/bits/fenv.h: This.
7040         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
7041         __SSE_MATH__.
7043 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
7045         [BZ #14134]
7046         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
7047         character 0xffff that matches the last element of the
7048         conversion table.
7050 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7052         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
7053         fmodl commit.
7055 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7057         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
7058         values higher than 25.6283.
7060 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7062         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
7063         subnormal exponent extraction and add some __builtin_expect.
7064         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
7065         Fix for subnormal mantissa calculation.
7067 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
7069         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
7070         cpu2 is -1 and errno is not ENOSYS.
7072 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
7074         [BZ #14117]
7075         * sysdeps/i386/i486/bits/string.h: Renamed to ...
7076         * sysdeps/x86/bits/string.h: This.
7077         * sysdeps/x86_64/bits/string.h: Removed.
7079         * sysdeps/i386/i486/bits/string.h: Define inline functions only
7080         if not compiling for x86-64, but compiling for >= i486.
7082         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
7083         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
7085         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
7086         New macro from Linux kernel 3.4.0.
7087         (FP_XSTATE_MAGIC2): Likewise.
7088         (FP_XSTATE_MAGIC2_SIZE): Likewise.
7089         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
7090         (struct _fpx_sw_bytes): New struct.
7091         (struct _xsave_hdr): Likewise.
7092         (struct _ymmh_state): Likewise.
7093         (struct _xstate): Likewise.
7095         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
7096         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
7097         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
7098         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
7099         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
7100         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
7102         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
7103         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
7104         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
7105         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
7106         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
7107         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
7109 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7111         [BZ #13743]
7112         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
7113         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
7114         (sysdep_headers): Include sys/platform/ppc.h.
7115         * sysdeps/powerpc/test-gettimebase.c: Test for
7116         __ppc_get_timebase() to catch future ISA opcode/insn changes.
7117         * manual/Makefile (appendices): Include platform.texi.
7118         * manual/contrib.texi (Contributors): Update @node pointers.
7119         * manual/maint.texi (Maintenance): Likewise.
7120         (Platform): New node.
7121         * manual/platform.texi: New file.  Document the new features.
7123 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7124             Jakub Jelinek  <jakub@redhat.com>
7126         [BZ #14188]
7127         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
7128         where __builtin_expect is unavailable.
7130 2012-06-03  David S. Miller  <davem@davemloft.net>
7132         * stdlib/longlong.h: Updated from GCC.
7134 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
7136         [BZ #14042]
7137         * sysdeps/powerpc/powerpc32/mcount.c: New file.
7138         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
7139         __mcount_internal.
7140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7141         (GLIBC_2.16): Likewise.
7143 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
7145         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
7147 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
7149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
7150         (default-abi): New variable.
7151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
7152         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
7153         variable.
7154         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
7155         Likewise.
7156         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
7157         Likewise.
7158         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
7159         Likewise.
7161         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
7162         definition.  Document in comment.
7164 2012-06-01  David S. Miller  <davem@davemloft.net>
7166         * stdlib/longlong.h: Updated from GCC.
7168 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
7170         [BZ #14117]
7171         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
7172         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
7173         sys/debugreg.h sys/io.h here.
7174         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
7175         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
7176         sys/io.h.
7177         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
7178         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
7179         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
7180         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
7181         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
7182         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
7184         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
7185         Define only if __x86_64__ is defined.
7187 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
7189         [BZ #14048]
7190         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
7191         Use int64_t for variable i.
7192         * math/libm-test.inc (fmod_test): Add more tests.
7194         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
7195         z computation is not scheduled after fetestexcept.
7196         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
7197         Use math_force_eval instead of asm to ensure calculation scheduled
7198         before exception test.
7199         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
7200         Ensure a1 + u.d computation is not scheduled after fetestexcept.
7202 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
7204         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
7205         computation is not scheduled after fetestexcept.
7207 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
7209         [BZ #14117]
7210         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
7211         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
7213 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7215         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
7216         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7218 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
7220         [BZ #14117]
7221         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
7222         <bits/wordsize.h>.
7223         (__WCHAR_MIN): Support __WORDSIZE == 64.
7224         (__WCHAR_MAX): Likewise.
7226         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
7227         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
7229         [BZ #14183]
7230         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
7231         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
7233         [BZ #14117]
7234         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
7235         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
7237         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
7238         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
7240         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
7241         Defined to 1 if __x86_64__ isn't defined.
7242         (_STAT_VER_LINUX_OLD): New.
7243         (st_atime): Remove duplicate.
7244         (st_mtime): Likewise.
7245         (st_ctime): Likewise.
7247 2012-05-31  David S. Miller  <davem@davemloft.net>
7249         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
7250         entries.
7252 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
7254         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
7255         gen-libm-test.pl.
7257         [BZ #14132]
7258         * elf/dl-reloc.c: Include <_itoa.h>.
7259         (_dl_reloc_bad_type): Remove use of INTUSE.
7260         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
7261         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
7262         * stdio-common/psiginfo.c (psiginfo): Likewise.
7263         * stdio-common/psignal.c (psignal): Likewise.
7264         * string/strsignal.c (strsignal): Likewise.
7265         * include/signal.h (_sys_siglist): Declare hidden proto.
7266         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
7267         INTVARDEF with libc_hidden_data_def.
7268         * stdio-common/itoa-udigits.c: Likewise.
7269         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
7270         (_itoa_lower_digits_internal): Remove declaration.
7271         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
7272         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
7273         (_sys_sigabbrev_internal): Remove aliases.
7274         (_sys_siglist): Define hidden alias.
7276 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
7278         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7279         bits/sysctl.h.
7281 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
7283         [BZ #14117]
7284         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
7285         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
7287         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
7288         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
7289         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
7290         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
7291         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
7292         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
7294         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
7295         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
7296         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
7298         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
7299         with __addr.
7300         (insw): Likewise.
7301         (insl): Likewise.
7302         (outsb): Likewise.
7303         (outsw): Likewise.
7304         (outsl): Likewise.
7306         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
7307         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
7308         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
7310         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
7311         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
7312         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
7313         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
7314         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
7315         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
7317         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
7318         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
7320         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
7321         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
7323         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
7324         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
7325         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
7327         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
7328         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
7329         to ...
7330         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
7332         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
7333         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
7334         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
7336         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
7337         for x86-64.
7338         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
7340 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
7342         * math/math.h (M_El): Use two more decimal places.
7343         (M_LOG2El): Likewise.
7344         (M_LOG10El): Likewise.
7345         (M_LN2l): Likewise.
7346         (M_LN10l): Likewise.
7347         (M_PIl): Likewise.
7348         (M_PI_2l): Likewise.
7349         (M_PI_4l): Likewise.
7350         (M_1_PIl): Likewise.
7351         (M_2_PIl): Likewise.
7352         (M_2_SQRTPIl): Likewise.
7353         (M_SQRT2l): Likewise.
7354         (M_SQRT1_2l): Likewise.
7356 2012-05-31  David S. Miller  <davem@davemloft.net>
7358         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
7359         values between float registers.
7360         * sysdeps/sparc/sparc64/memset.S: Likewise.
7361         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7363 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
7365         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
7366         -D_FORTIFY_SOURCE=1.
7367         (CPPFLAGS-tst-longjmp_chk.c): Define.
7368         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
7369         (CPPFLAGS-tst-longjmp_chk2.c): Define.
7370         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
7371         CFLAGS-tst-wchar-h.c.
7373 2012-05-31  Marek Polacek  <polacek@redhat.com>
7375         [BZ #14132]
7376         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
7377         __endmntent_internal): Remove declaration.
7378         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
7379         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
7380         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
7382 2012-05-30  David S. Miller  <davem@davemloft.net>
7384         * sysdeps/sparc/sparc32/soft-fp/q_util.c
7385         (___Q_simulate_exceptions): Use real FP ops rather than writing
7386         into the %fsr.
7387         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
7388         Likewise.
7390 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
7392         [BZ #14117]
7393         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
7394         * sysdeps/x86/bits/xtitypes.h: This.
7396         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
7397         * sysdeps/x86/bits/wordsize.h: This.
7399         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
7400         * sysdeps/x86/bits/huge_vall.h: This.
7402         * sysdeps/i386/bits/select.h: Removed.
7403         * sysdeps/x86_64/bits/select.h: Renamed to ...
7404         * sysdeps/x86/bits/select.h: This.
7406         * sysdeps/i386/bits/setjmp.h: Removed.
7407         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
7408         * sysdeps/x86/bits/setjmp.h: This.
7410         * sysdeps/i386/bits/mathdef.h: Removed.
7411         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
7412         * sysdeps/x86/bits/mathdef.h: This.
7414 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
7416         [BZ #14132]
7417         * include/sys/socket.h (__connect_internal)
7418         (__libc_sa_len_internal): Remove declaration.
7419         (__connect, __libc_sa_len): Declare hidden_proto.
7420         (SA_LEN): Remove use of INTUSE.
7421         * socket/connect.c: Add libc_hidden_def.
7422         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
7423         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
7424         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
7425         alias.
7426         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7427         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7428         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
7429         of adding _internal alias.
7431 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
7433         [BZ #14117]
7434         * sysdeps/i386/bits/link.h: Removed.
7435         * sysdeps/i386/bits/linkmap.h: Likewise.
7436         * sysdeps/x86_64/bits/link.h: Renamed to ...
7437         * sysdeps/x86/bits/link.h: This.
7438         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
7439         * sysdeps/x86/bits/linkmap.h: This.
7441         * sysdeps/i386/bits/endian.h: Removed.
7442         * sysdeps/x86_64/bits/endian.h: Renamed to ...
7443         * sysdeps/x86/bits/endian.h: This.
7445         * sysdeps/i386/bits/byteswap.h: Removed.
7446         * sysdeps/i386/bits/byteswap-16.h: Likewise.
7447         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
7448         * sysdeps/x86/bits/byteswap.h: This.
7449         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
7450         * sysdeps/x86/bits/byteswap-16.h: This.
7451         * sysdeps/i386/Implies: Add x86.
7452         * sysdeps/x86_64/Implies: Likewise.
7454 2012-05-30  David S. Miller  <davem@davemloft.net>
7456         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
7457         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
7458         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7459         (FP_TRAPPING_EXCEPTIONS): Define.
7460         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7461         (FP_TRAPPING_EXCEPTIONS): Define.
7462         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
7463         subnormals only when inexact has been signalled or underflow
7464         exceptions are enabled.
7465         (_FP_PACK_CANONICAL): Likewise.
7467 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
7469         [BZ #14183]
7470         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
7471         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
7473 2012-05-30  Richard Henderson  <rth@twiddle.net>
7475         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
7476         with #ifndef NOT_IN_libc.
7478         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
7479         marked to avoid plt entry.
7481 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
7483         [BZ #14112]
7484         * Makeconfig (default-abi): New macro.
7485         (abi-includes): Likewise.
7486         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
7487         $(abi-$(default-abi)-lib-soname) for soname if defined.
7488         ($(common-objpfx)gnu/lib-names.stmp): Generate from
7489         abi-variants.
7490         * Makefile (installed-stubs): Likewise.
7491         * include/stubs-biarch.h: Removed.
7492         * scripts/lib-names.awk: Only handle one library at a time.
7493         * scripts/soversions.awk: Remove WORDSIZE support.
7494         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
7495         entries.
7496         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
7497         Removed.
7498         (syscall-list-default-condition): Likewise.
7499         (syscall-list-default-condition): Likewise.
7500         (syscall-list-includes): Likewise.
7501         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
7502         syscall-list-* with abi-*.  Handle undefined abi-variants.
7503         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
7504         * sysdeps/unix/sysv/linux/i386/Implies: New file.
7505         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
7506         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
7507         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
7508         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
7509         Removed.
7510         (syscall-list-32-options): Likewise.
7511         (syscall-list-32-condition): Likewise.
7512         (syscall-list-64-options): Likewise.
7513         (syscall-list-64-condition): Likewise.
7514         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
7515         macro.
7516         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
7517         Renamed to ...
7518         (abi-*): This.
7519         (abi-64-ld-soname): New macro.
7520         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
7521         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
7522         Renamed to ...
7523         (abi-*): This.
7524         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
7525         * sysdeps/x86_64/x32/shlib-versions: Likewise.
7527 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
7529         * sysdeps/unix/sysv/linux/kernel-features.h
7530         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
7531         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
7532         include <kernel-features.h>.
7533         [!__NR_ftruncate64]: Remove conditional code.
7534         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7535         [__NR_ftruncate64]: Make code unconditional.
7536         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7537         * sysdeps/unix/sysv/linux/truncate64.c: Do not
7538         include <kernel-features.h>.
7539         [!__NR_ftruncate64]: Remove conditional code.
7540         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7541         [__NR_ftruncate64]: Make code unconditional.
7542         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
7544         include <kernel-features.h>.
7545         [!__NR_ftruncate64]: Remove conditional code.
7546         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7547         [__NR_ftruncate64]: Make code unconditional.
7548         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7550         include <kernel-features.h>.
7551         [!__NR_ftruncate64]: Remove conditional code.
7552         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7553         [__NR_ftruncate64]: Make code unconditional.
7554         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7556         * configure.in (libc_cv_fpie): Weaken to a compile test using
7557         LIBC_TRY_CC_OPTION.
7558         * configure: Regenerated.
7560 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7562         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
7563         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
7564         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
7565         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7566         Refreshed.
7567         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
7568         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
7569         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
7570         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
7571         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
7572         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7573         Refreshed.
7575 2012-05-27  David S. Miller  <davem@davemloft.net>
7577         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
7578         (___Q_zero): New.
7579         (__Q_simulate_exceptions): Return void.  Change to simulate
7580         exceptions by writing into the %fsr.
7581         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
7582         (__Qp_handle_exceptions): Likewise.
7583         (numbers): Delete.
7584         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
7585         __Qp_handle_exceptions.
7586         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
7587         __Qp_handle_exceptions.
7588         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7589         as unused and give dummy FP_RND_NEAREST initializer.
7590         (FP_INHIBIT_RESULTS): Define.
7591         (___Q_simulate_exceptions): Update declaration.
7592         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
7593         formatting.
7594         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7595         as unused and give dummy FP_RND_NEAREST initializer.
7596         (__Qp_handle_exceptions): Update declaration.
7597         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
7598         formatting.
7600 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
7602         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
7603         the temporary FPU control word.
7604         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7605         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
7606         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7607         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7608         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7609         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7610         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7611         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7612         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7613         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
7614         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7616 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7618         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
7619         fields.
7621 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
7623         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
7624         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
7625         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
7626         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
7627         Likewise.
7628         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
7629         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
7630         Likewise.
7632 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
7634         * po/h.po: Update from translation team.
7636 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
7638         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
7640         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
7641         handling of denormals.
7642         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7643         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7644         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7645         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7646         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7647         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
7648         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
7649         Likewise.
7651 2012-05-26  Marek Polacek  <polacek@redhat.com>
7653         [BZ #14152]
7654         * math/libm-test.inc (fma_test): Don't always expect underflow
7655         exception.
7657 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7659         [BZ #12416]
7660         * elf/tst-execstack.c: Include stackinfo.h.
7661         (do_test): Adjust test case to ensure that pthread_getattr_np
7662         behaviour remains the same after marking stack executable.
7664 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
7666         * sysdeps/unix/sysv/linux/kernel-features.h
7667         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
7668         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
7669         kernel-features.h.
7670         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7671         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7672         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
7673         kernel-features.h.
7674         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7675         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7677 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
7679         * configure.in: Define the default includes to being none.
7680         * configure: Regenerated.
7682 2012-05-25  Roland McGrath  <roland@hack.frob.com>
7684         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
7685         * sysdeps/x86_64/setjmp.S: Likewise.
7686         * sysdeps/i386/bsd-setjmp.S: Likewise.
7687         * sysdeps/i386/bsd-_setjmp.S: Likewise.
7688         * sysdeps/i386/setjmp.S: Likewise.
7689         * sysdeps/i386/__longjmp.S: Likewise.
7690         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7691         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
7693         * include/stap-probe.h: New file.
7694         * configure.in: Handle --enable-systemtap.
7695         * configure: Regenerated.
7696         * config.h.in (USE_STAP_PROBE): New #undef.
7697         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
7698         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
7699         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7701 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
7703         [BZ #13717]
7704         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
7705         to 2.4.0 where earlier.
7706         * sysdeps/unix/sysv/linux/configure: Regenerated.
7707         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7708         <kernel-features.h>.
7709         [__ASSUME_32BITUIDS]: Make code unconditional.
7710         [!__ASSUME_32BITUIDS]: Remove conditional code.
7711         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
7712         <kernel-features.h>.
7713         [__ASSUME_32BITUIDS]: Make code unconditional.
7714         [!__ASSUME_32BITUIDS]: Remove conditional code.
7715         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
7716         [__ASSUME_32BITUIDS]: Make code unconditional.
7717         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
7718         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
7719         <kernel-features.h>.
7720         [__ASSUME_32BITUIDS]: Make code unconditional.
7721         [!__ASSUME_32BITUIDS]: Remove conditional code.
7722         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
7723         <kernel-features.h>.
7724         [__ASSUME_32BITUIDS]: Make code unconditional.
7725         [!__ASSUME_32BITUIDS]: Remove conditional code.
7726         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
7727         <kernel-features.h>.
7728         [__ASSUME_32BITUIDS]: Make code unconditional.
7729         [!__ASSUME_32BITUIDS]: Remove conditional code.
7730         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
7731         <kernel-features.h>.
7732         [__ASSUME_32BITUIDS]: Make code unconditional.
7733         [!__ASSUME_32BITUIDS]: Remove conditional code.
7734         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7735         <kernel-features.h>.
7736         [__ASSUME_32BITUIDS]: Make code unconditional.
7737         [!__ASSUME_32BITUIDS]: Remove conditional code.
7738         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7739         <kernel-features.h>.
7740         [__ASSUME_32BITUIDS]: Make code unconditional.
7741         [!__ASSUME_32BITUIDS]: Remove conditional code.
7742         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
7743         <kernel-features.h>.
7744         [__ASSUME_32BITUIDS]: Make code unconditional.
7745         [!__ASSUME_32BITUIDS]: Remove conditional code.
7746         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7747         <kernel-features.h>.
7748         [__ASSUME_32BITUIDS]: Make code unconditional.
7749         [!__ASSUME_32BITUIDS]: Remove conditional code.
7750         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7751         <kernel-features.h>.
7752         [__ASSUME_32BITUIDS]: Make code unconditional.
7753         [!__ASSUME_32BITUIDS]: Remove conditional code.
7754         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
7755         <kernel-features.h>.
7756         [__ASSUME_32BITUIDS]: Make code unconditional.
7757         [!__ASSUME_32BITUIDS]: Remove conditional code.
7758         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
7759         <kernel-features.h>.
7760         [__NR_setresgid] (__setresgid): Do not declare.
7761         [__ASSUME_32BITUIDS]: Make code unconditional.
7762         [!__ASSUME_32BITUIDS]: Remove conditional code.
7763         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
7764         <kernel-features.h>.
7765         [__NR_setresuid] (__setresuid): Do not declare.
7766         [__ASSUME_32BITUIDS]: Make code unconditional.
7767         [!__ASSUME_32BITUIDS]: Remove conditional code.
7768         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
7769         <kernel-features.h>.
7770         [__ASSUME_32BITUIDS]: Make code unconditional.
7771         [!__ASSUME_32BITUIDS]: Remove conditional code.
7772         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
7773         <kernel-features.h>.
7774         [__ASSUME_32BITUIDS]: Make code unconditional.
7775         [!__ASSUME_32BITUIDS]: Remove conditional code.
7776         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
7777         <kernel-features.h>.
7778         [__ASSUME_32BITUIDS]: Make code unconditional.
7779         [!__ASSUME_32BITUIDS]: Remove conditional code.
7780         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
7781         <kernel-features.h>.
7782         [__ASSUME_32BITUIDS]: Make code unconditional.
7783         [!__ASSUME_32BITUIDS]: Remove conditional code.
7784         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
7785         <kernel-features.h>.
7786         [__ASSUME_32BITUIDS]: Make code unconditional.
7787         [!__ASSUME_32BITUIDS]: Remove conditional code.
7788         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
7789         <kernel-features.h>.
7790         [__ASSUME_32BITUIDS]: Make code unconditional.
7791         [!__ASSUME_32BITUIDS]: Remove conditional code.
7792         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
7793         <kernel-features.h>.
7794         [__ASSUME_32BITUIDS]: Make code unconditional.
7795         [!__ASSUME_32BITUIDS]: Remove conditional code.
7796         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
7797         <kernel-features.h>.
7798         [__ASSUME_32BITUIDS]: Make code unconditional.
7799         [!__ASSUME_32BITUIDS]: Remove conditional code.
7800         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
7801         <kernel-features.h>.
7802         [__ASSUME_32BITUIDS]: Make code unconditional.
7803         [!__ASSUME_32BITUIDS]: Remove conditional code.
7804         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7805         <kernel-features.h>.
7806         [__ASSUME_32BITUIDS]: Make code unconditional.
7807         [!__ASSUME_32BITUIDS]: Remove conditional code.
7808         * sysdeps/unix/sysv/linux/kernel-features.h
7809         (__ASSUME_SETRESUID_SYSCALL): Remove.
7810         (__ASSUME_SETRESGID_SYSCALL): Likewise.
7811         (__ASSUME_32BITUIDS): Likewise.
7812         (__ASSUME_LDT_WORKS): Likewise.
7813         (__ASSUME_O_DIRECTORY): Likewise.
7814         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
7815         architecture but not kernel version.
7816         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7817         (__ASSUME_MMAP2_SYSCALL): Likewise.
7818         (__ASSUME_STAT64_SYSCALL): Likewise.
7819         (__ASSUME_IPC64): Likewise.
7820         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
7821         <kernel-features.h>.
7822         [__ASSUME_32BITUIDS]: Make code unconditional.
7823         [!__ASSUME_32BITUIDS]: Remove conditional code.
7824         * sysdeps/unix/sysv/linux/opendir.c: Do not include
7825         <kernel-features.h>.
7826         [__ASSUME_O_DIRECTORY]: Make code unconditional.
7827         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
7828         132096]: Remove conditional code.
7829         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
7830         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7831         <kernel-features.h>.
7832         [__ASSUME_32BITUIDS]: Make code unconditional.
7833         [!__ASSUME_32BITUIDS]: Remove conditional code.
7834         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7835         <kernel-features.h>.
7836         [__ASSUME_32BITUIDS]: Make code unconditional.
7837         [!__ASSUME_32BITUIDS]: Remove conditional code.
7838         * sysdeps/unix/sysv/linux/setegid.c: Do not include
7839         <kernel-features.h>.
7840         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
7841         unconditional.
7842         (__setresgid): Do not declare.
7843         [__ASSUME_32BITUIDS]: Make code unconditional.
7844         [!__ASSUME_32BITUIDS]: Remove conditional code.
7845         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
7846         <kernel-features.h>.
7847         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
7848         unconditional.
7849         (__setresuid): Do not declare.
7850         [__ASSUME_32BITUIDS]: Make code unconditional.
7851         [!__ASSUME_32BITUIDS]: Remove conditional code.
7852         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7853         <kernel-features.h>.
7854         [__ASSUME_32BITUIDS]: Make code unconditional.
7855         [!__ASSUME_32BITUIDS]: Remove conditional code.
7856         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
7857         <kernel-features.h>.
7858         [__ASSUME_32BITUIDS]: Make code unconditional.
7859         [!__ASSUME_32BITUIDS]: Remove conditional code.
7861 2012-05-25  Richard Henderson  <rth@twiddle.net>
7863         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
7864         dl_hwcap to ifunc resolver.
7865         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
7866         elf_ifunc_invoke.
7867         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
7868         dl_hwcap to ifunc resolver.
7869         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
7871 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
7873         [BZ #14153]
7874         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
7875         for |x| <= 2**-26, not 2**-57.
7876         * math/libm-test.inc (acos_test): Do not allow spurious underflow
7877         exception.
7879 2012-05-24  Jeff Law  <law@redhat.com>
7881         * stdio-common/Makefile (tests): Add bug25.
7882         * stdio-common/bug25.c: New test.
7884 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
7886         [BZ #13576]
7887         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
7888         multiple of MALLOC_ALIGNMENT in size.
7889         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
7891 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
7893         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
7894         Require >= 256.
7895         (FILENAME_MAX): Use macro-int-constant.
7896         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
7897         (_IOFBF): Use macro-int-constant.
7898         (_IOLBF): Likewise.
7899         (_IONBF): Likewise.
7900         (SEEK_CUR): Likewise.
7901         (SEEK_END): Likewise.
7902         (SEEK_SET): Likewise.
7903         (TMP_MAX): Likewise.
7904         (EOF): Use macro-int-constant.  Require < 0.
7905         (NULL): Use macro-constant.  Require == 0.
7906         (stdin): Require type to be FILE *.
7907         (stdout): Likewise.
7908         (stderr): Likewise.
7909         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
7910         macro-int-constant.
7911         (EXIT_SUCCESS): Likewise.
7912         (NULL): Use macro-constant.  Require == 0.
7913         (RAND_MAX): Use macro-int-constant.
7914         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
7915         [C99-based standards] (strtof): Require function.
7916         [C99-based standards] (strtold): Likewise.
7917         [C99-based standards] (strtoll): Likewise.
7918         [C99-based standards] (strtoull): Likewise.
7919         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7920         [ISO || ISO99 || ISO11] (limits.h): Likewise.
7921         [ISO || ISO99 || ISO11] (math.h): Likewise.
7922         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
7923         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7924         [ISO || ISO99 || ISO11] (*_t): Do not allow.
7926 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
7928         [BZ #14132]
7929         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
7930         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
7931         * intl/dgettext.c (DCGETTEXT): Likewise.
7932         * intl/gettext.c (DCGETTEXT): Likewise.
7933         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
7934         * posix/regex_internal.h (gettext): Likewise.
7935         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
7936         Remove declaration.
7937         * include/argz.h (__argz_count_internal)
7938         (__argz_stringify_internal): Remove declaration.
7939         (__argz_count, __argz_stringify): Declare hidden proto.
7940         * intl/dcgettext.c: Remove use of INTDEF.
7941         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
7942         * string/argz-stringify.c: Likewise.
7943         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7944         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7945         Declare hidden proto.
7946         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7947         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7948         Declare hidden proto.
7949         * include/stdio.h (__asprintf_internal): Don't declare.
7950         (__asprintf): Don't define as macro.  Declare hidden proto.
7951         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
7952         (__fsetlocking): Declare hidden proto.
7953         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
7954         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
7955         hidden proto.
7956         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
7957         (_IO_setlinebuf): Remove use of INTUSE.
7958         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
7959         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
7960         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
7961         Remove declaration.
7962         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
7963         (_IO_do_flush): Remove use of INTUSE.
7964         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
7965         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
7966         (_IO_adjust_column, _IO_least_wmarker)
7967         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
7968         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
7969         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
7970         (_IO_default_doallocate, _IO_wdefault_doallocate)
7971         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
7972         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
7973         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
7974         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
7975         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
7976         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
7977         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
7978         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
7979         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
7980         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
7981         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
7982         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
7983         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
7984         proto.
7985         (_IO_flush_all_internal, _IO_adjust_column_internal)
7986         (_IO_default_uflow_internal, _IO_default_finish_internal)
7987         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
7988         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
7989         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
7990         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
7991         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
7992         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
7993         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
7994         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
7995         (_IO_file_close_internal, _IO_file_close_it_internal)
7996         (_IO_file_underflow_internal, _IO_file_overflow_internal)
7997         (_IO_file_init_internal, _IO_file_attach_internal)
7998         (_IO_file_fopen_internal, _IO_file_read_internal)
7999         (_IO_file_sync_internal, _IO_file_seek_internal)
8000         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
8001         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
8002         (_IO_str_underflow_internal, _IO_str_overflow_internal)
8003         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
8004         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
8005         (_IO_list_all_internal, _IO_link_in_internal)
8006         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
8007         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
8008         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
8009         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
8010         (_IO_do_write_internal, _IO_padn_internal)
8011         (_IO_getline_info_internal, _IO_getline_internal)
8012         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
8013         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
8014         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
8015         (_IO_vfscanf_internal, _IO_vfprintf_internal)
8016         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
8017         (_IO_init_internal, _IO_un_link_internal): Don't declare.
8018         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
8019         with libc_hidden_ver, remove use of INTUSE.
8020         * libio/genops.c: Likewise.
8021         * libio/freopen.c: Likewise.
8022         * libio/freopen64.c: Likewise.
8023         * libio/iofclose.c: Likewise.
8024         * libio/iofdopen.c: Likewise.
8025         * libio/iofflush.c: Likewise.
8026         * libio/iofflush_u.c: Likewise.
8027         * libio/iofgets.c: Likewise.
8028         * libio/iofgets_u.c: Likewise.
8029         * libio/iofopen.c: Likewise.
8030         * libio/iofopncook.c: Likewise.
8031         * libio/iofread.c: Likewise.
8032         * libio/iofread_u.c: Likewise.
8033         * libio/ioftell.c: Likewise.
8034         * libio/iofwrite.c: Likewise.
8035         * libio/iogetline.c: Likewise.
8036         * libio/iogets.c: Likewise.
8037         * libio/iogetwline.c: Likewise.
8038         * libio/iopadn.c: Likewise.
8039         * libio/iopopen.c: Likewise.
8040         * libio/ioseekoff.c: Likewise.
8041         * libio/ioseekpos.c: Likewise.
8042         * libio/iosetbuffer.c: Likewise.
8043         * libio/iosetvbuf.c: Likewise.
8044         * libio/ioungetc.c: Likewise.
8045         * libio/ioungetwc.c: Likewise.
8046         * libio/iovdprintf.c: Likewise.
8047         * libio/iovsprintf.c: Likewise.
8048         * libio/iovsscanf.c: Likewise.
8049         * libio/memstream.c: Likewise.
8050         * libio/obprintf.c: Likewise.
8051         * libio/oldfileops.c: Likewise.
8052         * libio/oldiofclose.c: Likewise.
8053         * libio/oldiofdopen.c: Likewise.
8054         * libio/oldiofopen.c: Likewise.
8055         * libio/oldiopopen.c: Likewise.
8056         * libio/oldstdfiles.c: Likewise.
8057         * libio/putc.c: Likewise.
8058         * libio/setbuf.c: Likewise.
8059         * libio/setlinebuf.c: Likewise.
8060         * libio/stdfiles.c: Likewise.
8061         * libio/strops.c: Likewise.
8062         * libio/vasprintf.c: Likewise.
8063         * libio/vscanf.c: Likewise.
8064         * libio/vsnprintf.c: Likewise.
8065         * libio/vswprintf.c: Likewise.
8066         * libio/wfiledoalloc.c: Likewise.
8067         * libio/wfileops.c: Likewise.
8068         * libio/wgenops.c: Likewise.
8069         * libio/wmemstream.c: Likewise.
8070         * libio/wstrops.c: Likewise.
8071         * libio/__fpurge.c: Likewise.
8072         * libio/__fsetlocking.c: Likewise.
8073         * assert/assert.c: Likewise.
8074         * debug/fgets_chk.c: Likewise.
8075         * debug/fgets_u_chk.c: Likewise.
8076         * debug/fread_chk.c: Likewise.
8077         * debug/fread_u_chk.c: Likewise.
8078         * debug/gets_chk.c: Likewise.
8079         * debug/obprintf_chk.c: Likewise.
8080         * debug/vasprintf_chk.c: Likewise.
8081         * debug/vdprintf_chk.c: Likewise.
8082         * debug/vsnprintf_chk.c: Likewise.
8083         * debug/vsprintf_chk.c: Likewise.
8084         * malloc/mtrace.c: Likewise.
8085         * misc/error.c: Likewise.
8086         * misc/syslog.c: Likewise.
8087         * stdio-common/asprintf.c: Likewise.
8088         * stdio-common/fxprintf.c: Likewise.
8089         * stdio-common/getw.c: Likewise.
8090         * stdio-common/isoc99_fscanf.c: Likewise.
8091         * stdio-common/isoc99_scanf.c: Likewise.
8092         * stdio-common/isoc99_vfscanf.c: Likewise.
8093         * stdio-common/isoc99_vscanf.c: Likewise.
8094         * stdio-common/isoc99_vsscanf.c: Likewise.
8095         * stdio-common/printf-prs.c: Likewise.
8096         * stdio-common/printf_fp.c: Likewise.
8097         * stdio-common/printf_fphex.c: Likewise.
8098         * stdio-common/printf_size.c: Likewise.
8099         * stdio-common/putw.c: Likewise.
8100         * stdio-common/scanf.c: Likewise.
8101         * stdio-common/sprintf.c: Likewise.
8102         * stdio-common/tmpfile.c: Likewise.
8103         * stdio-common/vfprintf.c: Likewise.
8104         * stdio-common/vfscanf.c: Likewise.
8105         * stdlib/strfmon_l.c: Likewise.
8106         * sunrpc/openchild.c: Likewise.
8107         * sunrpc/xdr_stdio.c: Likewise.
8108         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
8109         * sysdeps/mach/hurd/tmpfile.c: Likewise.
8111 2012-05-24  Roland McGrath  <roland@hack.frob.com>
8113         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8115         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
8116         in the third column, to generate for the shared library an IFUNC
8117         that uses _dl_vdso_vsym.
8118         * Makerules (COMPILE.c, compile-stdin.c): New variables.
8119         * Makeconfig (object-suffixes-noshared): New variable.
8121         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
8122         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
8123         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
8124         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
8126         [BZ #14132]
8127         * include/sys/time.h (__gettimeofday): Remove macro.
8128         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
8129         * time/gettimeofday.c (__gettimeofday): Remove #undef.
8130         Remove INTDEF.
8131         (__gettimeofday): Add libc_hidden_def.
8132         (gettimeofday): Add libc_hidden_weak.
8133         * sysdeps/mach/gettimeofday.c: Likewise.
8134         * sysdeps/posix/gettimeofday.c: Likewise.
8135         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
8136         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
8137         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
8138         (__gettimeofday_internal): Remove strong_alias.
8139         (__gettimeofday): Add libc_hidden_def.
8140         (gettimeofday): Add libc_hidden_weak.
8141         * sysdeps/unix/syscalls.list (gettimeofday):
8142         Remove __gettimeofday_internal alias.
8144 2012-05-24  Daniel Jacobowitz  <drow@false.org>
8145             H.J. Lu  <hongjiu.lu@intel.com>
8147         [BZ #12495]
8148         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
8149         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
8150         (largebin_index_32_big): New.
8151         (largebin_index): Use it for 16-byte alignment.
8152         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
8153         correction with front_misalign.
8155 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
8157         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
8158         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8159         Likewise.
8160         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
8161         Likewise.
8162         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8163         Likewise.
8164         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
8165         Likewise.
8166         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
8167         Likewise.
8168         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
8169         Likewise.
8170         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
8171         Likewise.
8172         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
8173         Likewise.
8174         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
8175         Likewise.
8176         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
8177         Likewise.
8178         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8179         Likewise.
8180         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
8181         Likewise.
8183         * scripts/data/c++-types-x32-linux-gnu.data: New file.
8184         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
8186 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
8188         [BZ #10846]
8189         [BZ #14036]
8190         * math/libm-test.inc (exp_test): Add test from bug 14036.
8191         (pow_test): Add test from bug 10846.
8193         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
8194         and other flags.
8195         (special_function): Do not include flags in test name.
8196         (parse_args): Likewise.
8197         * sysdeps/i386/fpu/libm-test-ulps: Update.
8198         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8199         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8200         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8201         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8203         * math/gen-libm-test.pl (%beautify): Add entries for underflow
8204         exceptions.
8205         * math/libm-test.inc ("Philosophy"): Update comment about
8206         exception testing.
8207         (UNDERFLOW_EXCEPTION): New macro.
8208         (UNDERFLOW_EXCEPTION_OK): Likewise.
8209         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8210         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8211         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8212         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8213         (INVALID_EXCEPTION_OK): Update value.
8214         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8215         (OVERFLOW_EXCEPTION_OK): Likewise.
8216         (IGNORE_ZERO_INF_SIGN): Likewise.
8217         (test_exceptions): Handle underflow exceptions.
8218         (acos_test): Update for underflow exception expectations.
8219         (cexp_test): Likewise.
8220         (clog_test): Likewise.
8221         (clog10_test): Likewise.
8222         (csqrt_test): Likewise.
8223         (ctan_test): Likewise.
8224         (ctanh_test): Likewise.
8225         (exp_test): Likewise.
8226         (exp10_test): Likewise.
8227         (exp2_test): Likewise.
8228         (expm1_test): Likewise.
8229         (fma_test): Likewise.
8230         (j0_test): Likewise.
8231         (jn_test): Likewise.
8232         (nexttoward_test): Likewise.
8233         (pow_test): Likewise.
8234         (scalbn_test): Likewise.
8235         (scalbln_test): Likewise.
8236         (tan_test): Likewise.
8237         (y1_test): Likewise.
8238         * sysdeps/i386/fpu/libm-test-ulps: Update.
8239         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8241 2012-05-23  David S. Miller  <davem@davemloft.net>
8243         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8244         (__libc_sigaction): Remove unused local variables.
8246 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
8248         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
8250 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
8252         mktime: avoid signed integer overflow
8253         * time/mktime.c (__mktime_internal): Do not mishandle the case
8254         where diff == INT_MIN.
8256         mktime: simplify computation of average
8257         * time/mktime.c (ranged_convert): Use new time_t_avg function
8258         instead of rolling our own (probably-slower) code.
8260         mktime: do not assume signed right shift propagates sign bit
8261         * time/mktime.c (isdst_differ): New static function.
8262         (__mktime_internal): No need to normalize tm_isdst now.
8263         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
8264         tm_isdst values.
8266         mktime: merge another wrapv change from gnulib
8267         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
8268         from some compilers.
8270         mktime: remove incorrect attempt at unusual arithmetics
8271         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
8272         The code didn't really work on such machines anyway.
8273         (TYPE_MINIMUM): Assume two's complement.
8274         (twos_complement_arithmetic): Verify that long_int and time_t
8275         are two's complement (or unsigned, in the latter case).
8277         mktime: check signed shifts on long_int and time_t, too
8278         * time/mktime.c (SHR): Check that shifts work as desired
8279         on the types long_int and time_t too, as SHR is used on
8280         such types.
8282         mktime: do not assume 'long' is wide enough
8283         * time/mktime.c (verify): Move decl up.
8284         (long_int): New type.
8285         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
8286         to remove assumption in the code that 'long' is wide enough to
8287         store year values.  This assumption is not true on x32 and on
8288         some non-glibc platforms.
8290         mktime: merge wrapv change from gnulib
8291         * time/mktime.c (WRAPV): New macro.
8292         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
8293         (guess_time_tm, __mktime_internal): Do not assume that signed
8294         integer overflow wraps around; modern compilers generate code
8295         where this assumption is no longer valid.
8297 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
8299         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8300         Replace "jmp L(pseudo_end)" with "ret".
8301         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
8302         Likewise.
8304 2012-05-23  Andreas Jaeger  <aj@suse.de>
8306         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
8307         * sysdeps/unix/sysv/linux/poll.c: Remove file.
8309 2012-05-23  Andreas Jaeger  <aj@suse.de>
8310             Maximilian Attems  <max@stro.at>
8312         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
8313         New macros.
8315 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
8317         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
8318         code so that pseudo_end is just ret and the stack pointer is
8319         correct also for static library in error case.
8321 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
8323         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
8324         move to syscalls.list.
8325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8330         * manual/install.texi (Running make install): Do not mention Linux
8331         kernel version for which pt_chown is not needed.
8332         (Linux): Do not mention problems with nscd with 2.0 kernels.
8333         * INSTALL: Regenerated.
8335 2012-05-23  Andreas Jaeger  <aj@suse.de>
8337         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
8338         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
8339         macro.
8340         * sysdeps/unix/sysv/linux/s390/bits/mman.h
8341         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8342         * sysdeps/unix/sysv/linux/sh/bits/mman.h
8343         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8344         * sysdeps/unix/sysv/linux/i386/bits/mman.h
8345         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8346         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
8347         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8348         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
8349         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8350         * sysdeps/unix/sysv/linux/bits/in.h
8351         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
8353 2012-05-22  Roland McGrath  <roland@hack.frob.com>
8355         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
8356         (PREPARE_VERSION): Just use assert instead, it will be elided
8357         under [NDEBUG] anyway.
8359 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
8361         * sysdeps/unix/sysv/linux/Makefile: Include
8362         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
8363         (sysdep_routines): Remove sysctl.
8364         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
8365         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
8366         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
8367         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
8368         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
8370 2012-05-22  Andreas Jaeger  <aj@suse.de>
8372         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
8373         that pseudo_end is just ret and the stack pointer is correct also
8374         for static library in error case.
8376 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
8378         [BZ #14122]
8379         * nss/nsswitch.c (defconfig_entries): New variable.
8380         (__nss_database_lookup): Don't leak defconfig entries.
8381         (nss_parse_service_list): Don't leak on error paths.
8382         (free_database_entries): New function.
8383         (free_defconfig): New function.
8384         (free_mem): Move common code to free_database_entries.
8386 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
8388         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
8389         Add arch_prctl.
8390         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
8392         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8393         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
8394         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
8395         New macro.
8396         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
8397         (INTERNAL_SYSCALL_TYPES): Likewise.
8398         (LOAD_ARGS_TYPES_[1-6]): Likewise.
8399         (LOAD_REGS_TYPES_[1-6]): Likewise.
8400         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
8401         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
8403 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8405         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
8406         copysignl for GLIBC_2_0.
8407         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
8408         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
8409         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
8410         logbl for GLIBC_2_0.
8411         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8412         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8414 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
8416         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
8417         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
8419         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8420         Use "neg %eax".
8422         * time/mktime.c: Update copyright years.
8424 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
8426         mktime: merge comment-quoting-style change from gnulib
8427         * time/mktime.c: Quote 'like this' in comments.
8428         The GNU coding standards suggest that we no longer quote `like this',
8429         as "`" and "'" are typically rendered asymmetrically nowadays.
8430         The typical gnulib style is to quote 'like this' when quoting
8431         code, and "like this" when quoting English.
8433         * time/mktime.c (compile-command): Add "-I.".
8435         mktime: merge mktime-internal.h change from gnulib
8436         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
8438         mktime: merge time_r change from gnulib
8439         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
8441         mktime: merge DEBUG change from gnulib
8442         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
8443         case system <time.h> has a #define.
8445         mktime: merge <sys/types.h> change from gnulib
8446         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
8447         since <time.t> is now guaranteed to define time_t.
8449         mktime: merge HAVE_CONFIG_H change from gnulib
8450         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
8452 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
8454         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8455         Use "neg %eax".
8457         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
8458         __rlim_t cast.
8459         (struct rusage): Use anonymous union to pad each field to
8460         __syscall_slong_t.
8462 2012-05-21  David S. Miller  <davem@davemloft.net>
8464         * Makefules (o-iterator): Remove .s cases.
8465         (compile-command.s): Delete.
8466         (COMPILE.s): Delete.
8467         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
8469 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
8471         * configure.in (libc_cv_predef_stack_protector): Only consider
8472         "foobar" and "__stack_chk_fail" lines in libc_undefs.
8473         * configure: Regenerated.
8475 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
8477         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8478         New macro.  Use R*LP on int and pointer.
8479         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
8480         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
8481         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
8482         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
8484         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
8485         [__WORDSIZE_TIME64_COMPAT32] instead of
8486         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
8487         (struct utmp): Likewise.
8488         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
8489         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
8490         Renamed to ...
8491         (__WORDSIZE_TIME64_COMPAT32): This.
8492         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
8493         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
8494         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
8495         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
8496         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
8497         (__WORDSIZE_TIME64_COMPAT32): New macro.
8499 2012-05-21  Andreas Jaeger  <aj@suse.de>
8501         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
8502         only if [SHARED]. Add prototype for __wcschr_ia32.
8504 2012-05-21  Roland McGrath  <roland@hack.frob.com>
8506         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
8507         of %rbp unmolested in the jmp_buf while mangling the low bits.
8508         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
8509         unmolested high bits of %rbp while demangling the low bits.
8510         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8512 2012-05-21  Andreas Jaeger  <aj@suse.de>
8514         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
8515         * sunrpc/svc_simple.c: Use it for registerrpc.
8516         * sunrpc/xcrypt.c: Use it for passwd2des.
8518         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
8520 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
8522         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
8523         Don't define if [__SYSCALL_WORDSIZE != 32].
8524         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
8525         New macro.
8527 2012-05-21  Bruno Haible  <bruno@clisp.org>
8528             Andreas Jaeger  <aj@suse.de>
8530         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
8531         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
8532         inptr and inend for must_buffer_ch.
8533         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
8534         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
8535         * stdio-common/Makefile (tests): Remove bug15.
8536         (bug15-ENV): Remove macro.
8537         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
8538         anymore.
8540 2012-05-19  Andreas Jaeger  <aj@suse.de>
8541             Roland McGrath  <roland@hack.frob.com>
8543         * manual/contrib.texi: Completely rewritten. It contains now an
8544         alphabetical list of contributors and their contributions.
8546 2012-05-21  Richard Henderson  <rth@twiddle.net>
8548         * misc/getauxval.c (__getauxval): Use unsigned long int.
8549         * misc/sys/auxv.h: Include <sys/cdefs.h>.
8550         (getauxval): Use unsigned long int.
8552 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
8554         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8556 2012-05-21  Roland McGrath  <roland@hack.frob.com>
8558         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
8559         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
8560         __alignof__ (long double).
8562 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8564         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8566 2012-05-20  Richard Henderson  <rth@twiddle.net>
8568         * misc/getauxval.c: New file.
8569         * misc/sys/auxv.h: New file.
8570         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
8571         (routines): Add getauxval.
8572         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
8573         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
8574         * elf/dl-sysdep.c (_dl_auxv): Remove.
8575         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
8576         * elf/dl-support.c (_dl_auxv): New variable.
8577         (_dl_aux_init): Initialize it.
8578         * manual/startup.texi (Auxiliary Vector): New node.
8579         * sysdeps/generic/bits/hwcap.h: New file.
8580         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
8581         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
8582         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
8583         * sysdeps/sparc/sysdep.h: ... here.  Include it.
8584         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
8585         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
8586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8587         Update.
8588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
8589         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
8590         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
8591         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
8592         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8593         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8594         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
8595         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
8597 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8599         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8601 2012-05-19  David S. Miller  <davem@davemloft.net>
8603         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8605 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
8607         [BZ #14123]
8608         * math/s_ccosh.c: Include <float.h>
8609         (__ccosh): Avoid internal overflow calculating sinh and cosh
8610         values before multiplying by sin and cos values.
8611         * math/s_ccoshf.c: Likewise.
8612         * math/s_ccoshl.c: Likewise.
8613         * math/s_csin.c: Likewise.
8614         * math/s_csinf.c: Likewise.
8615         * math/s_csinl.c: Likewise.
8616         * math/s_csinh.c: Likewise.
8617         * math/s_csinhf.c: Likewise.
8618         * math/s_csinhl.c: Likewise.
8619         * math/libm-test.inc (ccos_test): Add more tests.
8620         (ccosh_test): Likewise.
8621         (csin_test): Likewise.
8622         (csinh_test): Likewise.
8623         * sysdeps/i386/fpu/libm-test-ulps: Update.
8624         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8626 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
8628         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
8629         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
8631         * sysdeps/x86_64/x32/_itoa.h: Add comment.
8633 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
8635         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
8636         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
8637         * sysdeps/powerpc/soft-fp/Versions: Likewise.
8638         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
8639         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
8640         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
8641         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
8642         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
8643         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
8644         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
8645         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
8646         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
8647         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
8648         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
8649         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
8650         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
8651         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
8652         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
8653         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
8654         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
8655         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
8656         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
8657         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
8658         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
8659         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
8660         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
8661         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
8662         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
8663         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
8664         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
8665         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
8667 2012-05-18  Andreas Jaeger  <aj@suse.de>
8669         * csu/.gitignore: Delete.
8671 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
8673         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
8674         (timex): Use __syscall_slong_t.
8676 2012-05-18  Andreas Jaeger  <aj@suse.de>
8677             Carlos O'Donell  <carlos_odonell@mentor.com>
8679         * manual/install.texi (Configuring and compiling): Update
8680         description about files modified in the source directory.
8681         * INSTALL: Regenerated.
8683 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
8685         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
8686         value.  Use "or" to set return value to -1.
8687         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
8688         negate return value.
8690 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8692         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
8693         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
8694         failure if the compiler has Graphite support disabled.
8695         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
8696         Likewise.
8697         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
8698         CFLAGS-memmove.c): Likewise.
8699         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
8700         Likewise.
8702 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
8704         * sysdeps/x86_64/x32/_itoa.h: New file.
8706         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
8707         getdents system call only if kernel and user dirents have the
8708         same d_ino and d_off.
8710         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8711         LLONG_MAX != LONG_MAX.
8712         (_itoa_word): Use _ITOA_WORD_TYPE on value.
8713         (_fitoa_word): Likewise.
8715         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
8716         years.
8717         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
8718         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
8719         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
8721         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
8722         include <bits/wordsize.h>.  Check __x86_64__ instead of
8723         __WORDSIZE.
8724         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
8725         if __x86_64__ is defined.  Use anonymous union on fpstate.
8727         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
8728         anonymous union.
8730 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
8732         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8733         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
8734         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
8735         Refer to _rtld_local_ro instead of _rtld_global_ro.
8736         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
8737         Likewise.
8738         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
8739         Likewise.
8740         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
8741         Likewise.
8742         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
8743         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
8744         of _rtld_global, and rtld_progname instead of _dl_argv[0].
8746         * sysdeps/powerpc/powerpc32/dl-machine.c
8747         (__elf_machine_runtime_setup) [PROF]: Don't reference
8748         _dl_prof_resolve.
8750 2012-05-18  Andreas Jaeger  <aj@suse.de>
8752         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
8753         function only available for GCCs before 3.4 since GCC 3.4
8754         introduced a builtin.
8755         (lrint): Likewise.
8756         (llrintf): Likewise.
8757         (llrint): Likewise.
8758         (fmaxf): Likewise.
8759         (fmax): Likewise.
8760         (fminf): Likewise.
8761         (fmin): Likewise.
8762         (rint): Likewise.
8763         (rintf): Likewise.
8764         (nearbyint): Likewise.
8765         (nearbyintf): Likewise.
8766         (ceil): Likewise.
8767         (ceilf): Likewise.
8768         (floor): Likewise.
8769         (floorf): Likewise.
8771 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
8773         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
8774         on both fields and cast pointer to __syscall_ulong_t.
8776         * bits/types.h (__fsword_t): New type.
8777         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
8778         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
8779         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8780         (__FSWORD_T_TYPE): Likewise.
8781         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8782         (__FSWORD_T_TYPE): Likewise.
8783         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8784         (__FSWORD_T_TYPE): Likewise.
8785         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
8786         (__FSWORD_T_TYPE): Likewise.
8787         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
8788         __SWORD_TYPE with __fsword_t.
8789         (statfs64): Likewise.
8791 2012-05-17  David S. Miller  <davem@davemloft.net>
8793         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
8795 2012-05-17  Andreas Jaeger  <aj@suse.de>
8797         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
8798         warning.
8800 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
8802         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
8804 2012-05-17  Andreas Jaeger  <aj@suse.de>
8806         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
8807         when it is used.
8809 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
8811         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
8813 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
8815         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
8816         * sysdeps/x86_64/tst-mallocalign1.c: New file.
8818 2012-05-17  Andreas Jaeger  <aj@suse.de>
8819             Carlos O'Donell  <carlos_odonell@mentor.com>
8821         [BZ #14059]
8822         * sysdeps/x86_64/multiarch/init-arch.h
8823         (bit_YMM_Usable): Rename to...
8824         (bit_AVX_Usable): ... this.
8825         (bit_FMA4_Usable): New macro.
8826         (bit_XMM_state): New macro.
8827         (bit_YMM_state): New macro.
8828         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
8829         [__ASSEMBLER__] (index_AVX_Usable): ... this.
8830         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
8831         (CPUID_OSXSAVE): New macro.
8832         (CPUID_AVX): New macro.
8833         (CPUID_FMA4): New macro.
8834         (index_YMM_Usable): Rename to...
8835         (index_AVX_Usable): ... this.
8836         (HAS_AVX): Use HAS_ARCH_FEATURE.
8837         (HAS_FMA4): Likewise.
8838         (HAS_YMM_USABLE): Remove.
8839         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8840         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
8841         are present.
8842         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
8843         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
8844         * sysdeps/x86_64/multiarch/Makefile: Likewise.
8845         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
8846         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
8848 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
8850         * math/libm-test.c: Support platforms without multiple rounding modes.
8851         * math/bug-nextafter.c: Support platforms without FP exceptions.
8852         * math/bug-nexttoward.c: Likewise.
8853         * math/test-fenv.c: Likewise.
8854         * math/test-misc.c: Likewise.
8855         * stdlib/bug-getcontext.c: Likewise.
8857 2012-05-17  Andreas Jaeger  <aj@suse.de>
8859         * manual/examples/search.c (critter_cmp): Change signature to
8860         avoid warnings.
8861         * manual/string.texi (Collation Functions): Likewise.
8863 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
8865         * bits/types.h: Fold copyright years.
8866         * bits/typesizes.h: Likewise.
8867         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
8868         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8869         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
8870         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
8871         * time/time.h: Likewise.
8873 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
8875         [BZ #208]
8876         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
8877         in instead of returning them.  Return void.
8878         (__libc_mallinfo): Accumulate over all arenas.
8879         (__malloc_stats): Adjust for change in int_mallinfo interface.
8881 2012-05-16  Roland McGrath  <roland@hack.frob.com>
8883         [BZ #10375]
8884         * configure.in (NM): Add AC_CHECK_TOOL for it.
8885         (libc_extra_cflags): New substituted variable.
8886         Check for -fstack-protector being used implicitly.
8887         * configure: Regenerated.
8888         * config.make.in (config-extra-cflags): New variable,
8889         gets @libc_extra_cflags@.
8890         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
8892         [BZ #10375]
8893         * configure.in: Check for _FORTIFY_SOURCE being predefined.
8894         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
8895         * configure: Regenerated.
8896         * config.make.in (CPPUNDEFS): New substituted variable.
8897         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
8898         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
8899         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
8901 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
8903         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
8904         (mq_attr): Use __syscall_slong_t.
8906 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
8908         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
8909         Check __x86_64__ instead of __WORDSIZE.
8910         (_STAT_VER_LINUX): Likewise.
8911         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
8912         __syscall_ulong_t and __syscall_slong_t.
8913         (stat64): Likewise.
8915 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
8917         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
8919 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
8921         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
8923 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
8925         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
8926         __syscall_ulong_t.
8928         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
8929         include <bits/wordsize.h>.  Check __x86_64__ instead of
8930         __WORDSIZE.
8931         (greg_t): Use "__extension__ long long int" if __x86_64__ is
8932         defined.
8933         (mcontext_t): Replace "unsigned long" with "unsigned long long".
8935         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
8936         include <bits/wordsize.h>.  Check __x86_64__ instead of
8937         __WORDSIZE.
8938         (user_regs_struct): Use "__extension__ unsigned long long"
8939         instead of "unsigned long" if __x86_64__ is defined.
8940         (user): Likewise.  Pad after pointer field if __ILP32__ is
8941         defined.
8943 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
8945         * configure.in (makeinfo): Require version 4.5 or later.  Allow
8946         versions 5 to 9.
8947         * configure: Regenerated.
8948         * manual/install.texi (texinfo): Increase version requirement to
8949         4.5 or later.
8950         * INSTALL: Regenerated.
8952         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
8954 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
8956         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
8958         * sysdeps/x86_64/x32/ffs.c: New file.
8960         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
8961         __syscall_ulong_t.
8962         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
8963         defined.  Use __syscall_ulong_t.
8964         (shminfo): Use __syscall_ulong_t.
8965         (shm_info): Likewise.
8967         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
8968         __syscall_ulong_t.
8970         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
8971         <bits/wordsize.h>.
8972         (msgqnum_t): Use __syscall_ulong_t.
8973         (msglen_t): Likewise.
8974         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
8975         __syscall_ulong_t.
8977         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
8978         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
8980         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
8982         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
8983         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
8985         * sysvipc/sys/msg.h (msgbuf): Replace long int with
8986         __syscall_slong_t.
8988         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
8989         include <bits/wordsize.h>.  Check __x86_64__ instead of
8990         __WORDSIZE.
8992         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
8993         "unsigned long long int" if __x86_64__ is defined.
8994         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
8996         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
8997         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
8998         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
9000         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
9001         <stdint.h>.
9002         (GET_PC): Cast to uintptr_t first.
9003         (GET_FRAME): Likewise.
9004         (GET_STACK): Likewise.
9006         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
9007         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
9008         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
9009         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
9010         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
9011         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
9012         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
9013         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
9014         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
9015         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
9016         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
9017         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
9018         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9019         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
9020         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
9021         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
9022         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
9023         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
9024         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
9025         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
9026         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
9027         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
9028         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
9029         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
9030         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
9031         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
9032         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
9033         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
9034         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
9036 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
9038         * Makerules (+depfiles): Also collect depfiles from .oS in
9039         $(extra-objs).
9040         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
9041         .oS, $(libnldbl-routines)).
9043         * Makerules (native-compile-mkdep-flags): Define.
9044         * sunrpc/Makefile (extra-objs): Add $(addprefix
9045         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
9046         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
9047         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
9048         calling $(make-target-directory).
9050 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9052         * bits/types.h (__snseconds_t): Removed.
9053         * time/time.h (struct timespec): Replace __snseconds_t with
9054         __syscall_slong_t.
9055         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
9056         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
9057         Likewise.
9058         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9059         (__SNSECONDS_T_TYPE): Likewise.
9060         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9061         (__SNSECONDS_T_TYPE): Likewise.
9062         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9063         (__SNSECONDS_T_TYPE): Likewise.
9065 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9067         * sysdeps/mach/hurd/bits/typesizes.h
9068         (__SYSCALL_SLONG_TYPE): New macro.
9069         (__SYSCALL_ULONG_TYPE): Likewise.
9071 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9073         * bits/types.h (__syscall_slong_t): New type.
9074         (__syscall_ulong_t): Likewise.
9076         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
9077         (__SYSCALL_ULONG_TYPE): Likewise.
9078         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9079         (__SYSCALL_SLONG_TYPE): Likewise.
9080         (__SYSCALL_ULONG_TYPE): Likewise.
9081         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9082         (__SYSCALL_SLONG_TYPE): Likewise.
9083         (__SYSCALL_ULONG_TYPE): Likewise.
9084         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9085         (__SYSCALL_SLONG_TYPE): Likewise.
9086         (__SYSCALL_ULONG_TYPE): Likewise.
9088 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9090         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
9091         Add sigaltstack-offsets.sym.
9092         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
9093         <sigaltstack-offsets.h>.
9094         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
9095         longjmp_msg pointer.
9096         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
9097         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
9098         signal stack.
9099         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
9101 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
9103         * elf/stackguard-macros.h: Remove file.
9104         * sysdeps/generic/stackguard-macros.h: New file.
9105         * sysdeps/i386/stackguard-macros.h: Likewise.
9106         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9107         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9108         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9109         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9110         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9111         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9112         * sysdeps/x86_64/stackguard-macros.h: Likewise.
9113         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
9114         <elf/stackguard-macros.h>.
9116         [BZ #14109]
9117         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
9118         __aligned__ in attribute.
9119         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
9120         (gregset_t): Likewise.
9122 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9124         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
9125         * sysdeps/x86_64/64/Implies-after: Here.  New file.
9126         * sysdeps/x86_64/x32/Implies-after: New file.
9128 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9130         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
9131         and access return value for _dl_profile_fixup.  Use R10_LP to
9132         load frame size.
9134 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9136         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
9138 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9140         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
9141         * sysdeps/x86_64/x32/sysdep.h: New file.
9143 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9145         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
9146         * sysdeps/x86_64/setjmp.S: Likewise.
9148 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9150         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
9151         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
9152         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
9153         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
9154         remove unused global constant.
9156 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
9158         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
9159         include of <not-cancel.h>.
9161 2012-05-15  Roland McGrath  <roland@hack.frob.com>
9163         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
9165 2012-05-15  Jeff Law  <law@redhat.com>
9166             Andreas Jaeger  <aj@suse.de>
9168         [BZ #13594]
9169         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
9170         out from...
9171         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
9172         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
9173         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
9174         code changing __hst_map_handle.map.
9176 2012-05-15  Roland McGrath  <roland@hack.frob.com>
9178         * configure.in (sysnames): Look for Implies-before and Implies-after
9179         files.
9180         * configure: Regenerated.
9182 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9184         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
9185         8-byte data alignment with LP_SIZE alignment.
9187 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9189         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
9190         into R10_LP.
9192 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9194         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
9196 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9198         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
9199         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
9200         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
9201         Likewise.
9202         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9204 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9206         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
9207         (stackinfo_sub_sp): Likewise.
9209 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9211         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
9212         RAX_LP.
9214 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9216         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
9217         into R*_LP.
9219 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9221         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
9222         sizes into R*_LP.
9224 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9226         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
9228 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9230         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
9231         into R11_LP and load __x86_64_shared_cache_size_half into
9232         R8_LP.
9234 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9236         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
9237         R8_LP.
9239 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9241         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
9242         logb for POWER7.
9243         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
9244         logbf for POWER7.
9245         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
9246         logbl for POWER7.
9247         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
9248         powerpc32/power7/fpu/s_logb.c via #include.
9249         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
9250         powerpc32/power7/fpu/s_logbf.c via #include.
9251         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
9252         powerpc32/power7/fpu/s_logbl.c via #include.
9254 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
9256         * README.libm: Remove file.
9258 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9260         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
9261         count for x32.  Use R*_LP and omit operand-size suffix.
9263 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9265         * shlib-versions: Move x86_64-.*-linux.* entries to ...
9266         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
9267         * sysdeps/x86_64/x32/shlib-versions: New file.
9269 2012-05-14  Roland McGrath  <roland@hack.frob.com>
9271         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
9272         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
9273         Use _dl_fatal_printf instead.
9275 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
9277         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
9278         set if not set by the user.  Do not allow for being unset.
9279         * sysdeps/unix/sysv/linux/configure: Regenerated.
9281 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9283         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
9284         the `q' suffix from lea and replace .quad with ASM_ADDR.
9286 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9288         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
9289         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
9290         instead of $17.
9291         (PTR_DEMANGLE): Likewise.
9293 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9295         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
9296         (LP_OP): Likewise.
9297         (ASM_ADDR): Likewise.
9298         (RAX_LP): Likewise.
9299         (RBP_LP): Likewise.
9300         (RBX_LP): Likewise.
9301         (RCX_LP): Likewise.
9302         (RDI_LP): Likewise.
9303         (RSI_LP): Likewise.
9304         (RSP_LP): Likewise.
9305         (R8_LP): Likewise.
9306         (R9_LP): Likewise.
9307         (R10_LP): Likewise.
9308         (R10_LP): Likewise.
9309         (R11_LP): Likewise.
9310         (R12_LP): Likewise.
9311         (R13_LP): Likewise.
9312         (R14_LP): Likewise.
9313         (R15_LP): Likewise.
9315 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9317         * sysdeps/x86_64/x32/dl-machine.h: New file.
9319 2012-05-14  Andreas Jaeger  <aj@suse.de>
9321         * manual/Makefile (subdir): Remove export of subdir.
9322         (all): Remove target.
9323         (.PHONY): Remove all from list.
9324         (mkinstalldirs): Remove.
9325         (.PHONY): Remove installdirs from list.
9326         ($(inst_infodir)/libc.info): Use make-target-directory.
9327         (installdirs): Remove.
9328         (subdir_%): Remove.
9329         (glibc-targets): Remove.
9330         (lib): Remove.
9331         (stubs): Remove.
9332         ($(objpfx)stubs ../po/manual.pot): Remove.
9333         ($(objpfx)stamp%): Remove.
9334         (make-target-directory): Remove.
9335         (subdir_install): Remove.
9336         (routines): Remove.
9337         (aux): Remove.
9338         (sources): Remove.
9339         (objects): Remove.
9340         (headers): Remove.
9342         [BZ #13750]
9343         * manual/.gitignore: Remove, it's not needed anymore.
9344         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
9345         all files in it.
9346         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
9347         directory.
9348         (texis): Renamed to $(objpfx)texis.
9349         (texis-path): New, contains path to generated files.
9350         (chapters.%): Use texis-path for complete path, add extra argument
9351         libc-texinfo.sh.
9352         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
9353         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
9354         (summary,texi, stamp-summary): Use complete path of
9355         files. Generate files in build dir.
9356         (dir-add.texi): Build in build dir.
9357         (libm-err.texi,stamp-libm-err): Likewise.
9358         (version.texi, stamp-version): Likewise.
9359         (.%c.texi): Likewise.
9360         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
9361         (mostlyclean): Remove target.
9362         (realclean): Remove target.
9363         (generated): Add new variable with contents from mostlyclean and
9364         realclean, remove entries duplicated in common-mostlyclean, add
9365         stamp-libm-err and stamp-version.
9366         (generated-dirs): Add libc directory.
9367         ($(inst_infodir)/libc.info): Install files from build dir.
9369         * manual/install.texi (Configuring and compiling): Adjust since
9370         the info files are not part of the tar ball anymore.
9372 2012-05-14  Andreas Jaeger  <aj@suse.de>
9374         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
9375         variable.
9377 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
9379         [BZ #13717]
9380         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9381         to 2.2.0 where earlier.
9382         * sysdeps/unix/sysv/linux/configure: Regenerated.
9383         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
9384         Remove conditional code.
9385         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
9386         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
9387         Remove conditional code.
9388         [!__NR_lchown]: Likewise.
9389         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9390         [__NR_lchown]: Likewise.
9391         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
9392         comment referencing __ASSUME_LCHOWN_SYSCALL.
9393         * sysdeps/unix/sysv/linux/i386/sigaction.c
9394         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9395         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9396         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
9397         Remove conditional code.
9398         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
9399         (__protocol_available): Remove #if 0 code.
9400         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
9401         conditional code.
9402         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
9403         * sysdeps/unix/sysv/linux/kernel-features.h
9404         (__ASSUME_GETCWD_SYSCALL): Don't define.
9405         (__ASSUME_REALTIME_SIGNALS): Likewise.
9406         (__ASSUME_PREAD_SYSCALL): Likewise.
9407         (__ASSUME_PWRITE_SYSCALL): Likewise.
9408         (__ASSUME_POLL_SYSCALL): Likewise.
9409         (__ASSUME_LCHOWN_SYSCALL): Likewise.
9410         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
9411         non-SPARC.
9412         (__ASSUME_SIOCGIFNAME): Don't define.
9413         (__ASSUME_MSG_NOSIGNAL): Likewise.
9414         (__ASSUME_SENDFILE): Define unconditionally.
9415         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
9416         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
9417         conditional code.
9418         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
9419         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
9420         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9421         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9422         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
9423         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9424         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
9426         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9427         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9429         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9430         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
9432         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9433         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
9435         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9436         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
9438         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9439         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
9441         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9442         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
9444         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9445         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
9447         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9448         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9449         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
9450         Remove conditional code.
9451         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9452         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9453         Remove conditional code.
9454         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9455         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
9456         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
9457         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9458         Remove conditional code.
9459         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9460         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
9461         Remove conditional code.
9462         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9463         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
9464         Remove conditional code.
9465         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9466         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9467         Remove conditional code.
9468         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9469         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9470         Remove conditional code.
9471         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9472         * sysdeps/unix/sysv/linux/sh/pwrite64.c
9473         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9474         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9475         * sysdeps/unix/sysv/linux/sigaction.c
9476         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9477         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9478         * sysdeps/unix/sysv/linux/sigpending.c
9479         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9480         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9481         * sysdeps/unix/sysv/linux/sigprocmask.c
9482         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9483         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9484         * sysdeps/unix/sysv/linux/sigsuspend.c
9485         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9486         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9487         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9488         (__libc_missing_rt_sigs): Remove.
9489         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
9490         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
9491         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
9492         Remove conditional code.
9493         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
9494         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
9495         return 1.
9496         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
9497         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
9498         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
9499         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
9501 2012-05-14  Andreas Jaeger  <aj@suse.de>
9503         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
9504         it's not used in glibc.
9505         (__coshm1): Likewise.
9506         (__acosh1p): Likewise.
9507         (__sgn): Likewise.
9509         * manual/string.texi (Copying and Concatenation): Add missing
9510         variable in concat example.
9511         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9513 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9515         [BZ #14103]
9516         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
9517         __builtin_clzl with __builtin_clzll.
9519 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9521         [BZ #14104]
9522         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
9523         libc_freeres_ptr.
9525 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9527         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
9528         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
9529         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
9530         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
9532 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
9534         * NEWS: Update ia64 info.
9536 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
9538         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
9539         used as bcopy.
9541 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
9543         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
9544         * sysdeps/unix/syscalls.list (dup3): Likewise.
9545         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
9546         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
9548 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
9550         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
9551         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
9553 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
9555         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
9556         thread pointer.
9557         (TLS_IE): Use mov/add instead of movq/addq to load thread
9558         pointer.
9559         (TLS_GD_PREFIX): New.
9560         (TLS_GD): Use it.
9562 2012-05-11  David S. Miller  <davem@davemloft.net>
9564         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
9565         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
9566         (_FPU_SETCW): Likewise.
9568 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
9570         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
9571         is 32-byte aligned.
9573 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
9575         [BZ #11837]
9576         * iconvdata/gb18030.c: Update tables.
9577         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
9578         characters specially.
9579         (BODY for TO_LOOP): Add encoding of missing ranges.
9581 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
9583         [BZ #13673]
9584         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
9585         * sysdeps/mach/hurd/dup3.c: Likewise.
9586         * sysdeps/mach/hurd/readlinkat.c: Likewise.
9587         * sysdeps/powerpc/memmove.c:: Likewise.
9589 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
9591         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
9592         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
9594 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
9596         * elf/elf.h (R_X86_64_RELATIVE64): New.
9597         (R_X86_64_NUM): Updated.
9598         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9599         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
9600         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
9601         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
9602         tst-quad1pie tst-quad2pie
9603         (modules-names): Add tst-quadmod1 tst-quadmod2.
9604         ($(objpfx)tst-quad1): New dependency.
9605         ($(objpfx)tst-quad2): Likewise.
9606         ($(objpfx)tst-quad1pie): Likewise.
9607         ($(objpfx)tst-quad2pie): Likewise.
9608         * sysdeps/x86_64/tst-quad1.c: New file.
9609         * sysdeps/x86_64/tst-quad1pie.c: New file.
9610         * sysdeps/x86_64/tst-quad2.c: Likewise.
9611         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
9612         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
9613         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
9614         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
9615         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
9617 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9619         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
9620         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
9621         * streams/stropts.h (t_scalar_t): Define type.
9623         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
9624         (_PATH_PRESERVE): Set to "/var/lib".
9625         (_PATH_RWHODIR): Set to "/var/spool/rwho".
9627         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
9628         instead of int.
9630         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
9631         if __dir_mkfile succeeded.
9633         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
9634         checking for _hurd_dtablesize.  Unlock it right after having
9635         finished _hurd_dtable allocation.
9637 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9639         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
9640         * sysdeps/mach/hurd/configure: Regenerated.
9641         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
9642         special-casing to...
9643         * sysdeps/gnu/configure.in: ... this new file.
9644         * sysdeps/unix/sysv/linux/configure: Regenerated.
9645         * sysdeps/gnu/configure: New generated file.
9647         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
9648         for Linux: use nsec instead of usec, as well as:
9649         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
9650         members of type struct timespec.
9651         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
9652         New macros.
9653         (struct stat64): Likewise.
9654         (_STATBUF_ST_NSEC): New macro.
9655         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
9657         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9658         __strtoul_internal rather than strtoul.
9660 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
9662         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
9663         and reject them.
9665 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9667         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
9668         which preserves existing values.
9669         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
9671 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
9673         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
9674         TIMEOUT values.  Return EINVAL for NFDS values either negative or
9675         greater than FD_SETSIZE.
9677 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9679         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
9680         allocated, call __vm_protect to finish enabling the existing space, and
9681         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
9682         allocate the remainder.
9684 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
9686         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
9687         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
9689 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9691         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
9692         sysdeps/mach/hurd/readlink.c.
9694         * posix/tst-sysconf.c (posix_options): Only use
9695         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
9696         _POSIX_SYNCHRONIZED_IO when they are defined
9697         * sysdeps/mach/hurd/bits/posix_opt.h:
9698         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
9699         (_XOPEN_REALTIME): Undefine macro.
9700         (_XOPEN_REALTIME_THREADS): Undefine macro.
9701         (_XOPEN_SHM): Undefine macro.
9702         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
9703         macro to -1.
9704         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
9705         macro to -1.
9706         (_POSIX_ASYNC_IO): Undefine macro.
9707         (_POSIX_PRIORITIZED_IO): Undefine macro.
9708         (_POSIX_SPIN_LOCKS): Define macro to -1.
9710         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
9711         SA_NODEFER, SA_RESETHAND.
9712         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
9713         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
9714         F_DUPFD_CLOEXEC.
9716 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9718         * elf/Makefile (pldd-modules): Define unconditionally.
9720 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9722         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
9724 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9726         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
9727         Return ENOENT when name is empty.
9728         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
9730 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9732         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
9734         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
9736 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9738         Fix mlock in all cases except non-readable pages.
9739         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
9740         instead of VM_PROT_ALL as parameter to __vm_wire function.
9742         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
9743         (__mkdir): When path is `/', just fail with EEXIST.
9744         * sysdeps/mach/hurd/mkdirat.c: Likewise.
9746 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9748         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
9749         <sys/uio.h> (for writev).
9750         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
9751         and <sys/param.h> (for MIN).
9753 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
9755         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
9756         REQUESTED_TIME.  Properly set the remaining time and return EINTR
9757         if interrupted.
9759 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9761         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
9762         Depend on against $(link-rpcuserlibs).
9764 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9766         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
9767         (__libc_stack_end): Do not use attribute_relro.
9768         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
9769         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
9770         to libthread-provided value.
9771         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
9772         attribute_relro.
9774 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9776         [BZ #3748]
9777         * bits/libc-lock.h (__libc_once_get): New macro.
9778         * sysdeps/mach/bits/libc-lock.h: Likewise.
9779         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
9780         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
9781         instead of using implementation details.
9783         * libio/fileops.c: Unconditionally include <kernel-features.h>.
9784         * libio/freopen.c: Likewise.
9785         * libio/freopen64.c: Likewise.
9786         * misc/syslog.c: Likewise.
9787         * nscd/connections.c: Likewise.
9788         * nscd/netgroupcache.c: Likewise.
9789         * sysdeps/posix/getcwd.c: Likewise.
9791 2012-05-10  Roland McGrath  <roland@hack.frob.com>
9793         * math/w_ilogbf.c: Add #include <limits.h>.
9795 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9797         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
9798         path instead of returning without unlocking.
9800         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
9801         immediate-write ioctls.
9802         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
9804 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9806         * sysdeps/mach/hurd/i386/init-first.c (init): Use
9807         __builtin_frame_address instead of making assumptions about the
9808         location of the return address relative to DATA.  Force early load of
9809         the return address.
9810         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
9811         __builtin_frame_address.
9813         dup3 for GNU Hurd.
9814         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
9815         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
9816         implement dup3 and do some further code clean-ups.
9817         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
9818         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
9820 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9822         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
9824         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
9825         HURD_CRITICAL_END around holding _hurd_dtable_lock.
9826         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
9827         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
9828         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
9829         d->port.lock.
9831         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
9832         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
9833         when handler == SIG_ERR, not when handler != SIG_ERR.
9835 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9837         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
9838         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
9839         definitions.
9841         accept4 for GNU Hurd.
9842         * include/sys/socket.h (__libc_accept4): New prototype.
9843         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
9844         to implement __libc_accept4.
9845         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
9846         __libc_accept4.
9847         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
9849         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
9850         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
9851         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
9852         signal-defines.sym.
9854 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9856         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
9858 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9860         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
9861         assertion on O_CLOEXEC flag.
9862         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
9863         * hurd/intern-fd.c: Likewise.
9864         * hurd/port2fd.c: Likewise.
9866 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9868         [BZ #3906]
9869         * bits/in.h (IPV6_PKTINFO): Define new macro.
9870         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
9872 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9874         [BZ #13954]
9875         [BZ #13955]
9876         [BZ #13956]
9877         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
9878         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9879         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
9880         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9881         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9882         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9883         * math/libm-test.inc (logb_test) : Additional logb tests.
9885 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
9886             Andreas Jaeger  <aj@suse.de>
9888         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
9889         * configure: Regenerated.
9890         * config.h.in (LINK_OBSOLETE_RPC): New macro.
9891         * config.make.in (link-obsolete-rpc): New substituted variable.
9892         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
9893         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
9894         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9895         (shared-only-routines): Don't set it under [link-obsolete-rpc],
9896         so that libc.a contains the symbols.
9897         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9898         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
9899         * sunrpc/auth_none.c: Likewise.
9900         * sunrpc/auth_unix.c: Likewise.
9901         * sunrpc/authdes_prot.c: Likewise.
9902         * sunrpc/authuxprot.c: Likewise.
9903         * sunrpc/clnt_gen.c: Likewise.
9904         * sunrpc/clnt_perr.c: Likewise.
9905         * sunrpc/clnt_raw.c: Likewise.
9906         * sunrpc/clnt_simp.c: Likewise.
9907         * sunrpc/clnt_tcp.c: Likewise.
9908         * sunrpc/clnt_udp.c: Likewise.
9909         * sunrpc/clnt_unix.c: Likewise.
9910         * sunrpc/des_crypt.c: Likewise.
9911         * sunrpc/des_soft.c: Likewise.
9912         * sunrpc/get_myaddr.c: Likewise.
9913         * sunrpc/key_call.c: Likewise.
9914         * sunrpc/key_prot.c: Likewise.
9915         * sunrpc/netname.c: Likewise.
9916         * sunrpc/pm_getmaps.c: Likewise.
9917         * sunrpc/pm_getport.c: Likewise.
9918         * sunrpc/pmap_clnt.c: Likewise.
9919         * sunrpc/pmap_prot.c: Likewise.
9920         * sunrpc/pmap_prot2.c: Likewise.
9921         * sunrpc/pmap_rmt.c: Likewise.
9922         * sunrpc/publickey.c: Likewise.
9923         * sunrpc/rpc_cmsg.c: Likewise.
9924         * sunrpc/rpc_common.c: Likewise.
9925         * sunrpc/rpc_dtable.c: Likewise.
9926         * sunrpc/rpc_prot.c: Likewise.
9927         * sunrpc/rpc_thread.c: Likewise.
9928         * sunrpc/rtime.c: Likewise.
9929         * sunrpc/svc.c: Likewise.
9930         * sunrpc/svc_auth.c: Likewise.
9931         * sunrpc/svc_raw.c: Likewise.
9932         * sunrpc/svc_run.c: Likewise.
9933         * sunrpc/svc_tcp.c: Likewise.
9934         * sunrpc/svc_udp.c: Likewise.
9935         * sunrpc/svc_unix.c: Likewise.
9936         * sunrpc/svcauth_des.c: Likewise.
9937         * sunrpc/xcrypt.c: Likewise.
9938         * sunrpc/xdr.c: Likewise.
9939         * sunrpc/xdr_array.c: Likewise.
9940         * sunrpc/xdr_float.c: Likewise.
9941         * sunrpc/xdr_intXX_t.c: Likewise.
9942         * sunrpc/xdr_mem.c: Likewise.
9943         * sunrpc/xdr_rec.c: Likewise.
9944         * sunrpc/xdr_ref.c: Likewise.
9945         * sunrpc/xdr_sizeof.c: Likewise.
9946         * sunrpc/xdr_stdio.c: Likewise.
9948 2012-05-10  Roland McGrath  <roland@hack.frob.com>
9950         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
9951         change.  Update copyright years.
9953 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
9955         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
9957 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
9958             Joseph Myers  <joseph@codesourcery.com>
9959             Paul Pluzhnikov  <ppluzhnikov@google.com>
9961         [BZ #14012]
9962         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
9963         requiring rpcgen.
9964         [cross-compiling] (extra-libs): Likewise.
9965         [cross-compiling] (extra-libs-others): Likewise.
9966         [cross-compiling] (librpcsvc-routines): Likewise.
9967         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
9968         [cross-compiling] (omit-deps): Likewise.
9969         (sunrpc-CPPFLAGS): New variable.
9970         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
9971         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
9972         (cross-rpcgen-objs): New variable.
9973         (extra-objs): Append $(cross-rpcgen-objs).
9974         ($(cross-rpcgen-objs)): New rule.
9975         ($(objpfx)cross-rpcgen): Likewise.
9976         (rpcgen-cmd): Define to use $(built-program-file).  Expand
9977         comment.
9978         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
9979         ($(objpfx)x%.stmp): Likewise.
9980         * sunrpc/proto.h [IS_IN_build] (_): Define.
9981         [IS_IN_build] (_libc_intl_domainname): Likewise.
9983 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
9985         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
9986         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
9987         and R_X86_64_TPOFF64.
9989 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
9991         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
9992         sysdeps/unix/sysv/syscalls.list.
9993         (stime): Likewise.
9994         (utime): Likewise.
9995         * sysdeps/unix/sysv/syscalls.list: Remove file.
9997 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
9999         [BZ #3440]
10000         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
10001         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
10002         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
10003         (__LC_IDENTIFICATION): Make these macros useful in #if
10004         expressions, as required by C99.
10006 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
10008         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
10009         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
10010         after this.
10012 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
10014         * stdlib/longlong.h: Updated from GCC.
10016 2012-05-09  Andreas Jaeger  <aj@suse.de>
10018         * nscd/nscd.c (run_modes): Make named enum, reorder so that
10019         default is first entry.
10020         (run_mode): Set type.
10021         (main): Remove informal message about syslog.
10022         (options): Fix typo.
10024         [BZ #14053]
10025         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
10026         to asm.
10027         (lrint): Likewise.
10028         (llrintf): Likewise.
10029         (llrint): Likewise.
10030         (rint): Likewise.
10031         (rintf): Likewise.
10032         (nearbyint): Likewise.
10033         (nearbyintf): Likewise.
10035 2012-05-09  Andreas Jaeger  <aj@suse.de>
10036             Pedro Alves  <palves@redhat.com>
10038         * nscd/nscd.c (run_mode): Use enum.
10039         (main): Cleanup coding style issue.
10041 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
10042             Andreas Jaeger  <aj@suse.de>
10044         * nscd/nscd.c (go_background): Replaced with...
10045         (run_mode): ... this.
10046         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
10047         (options): Add -F --foreground.
10048         (main): Implement it.
10049         (parse_opt): Parse it.
10051 2012-05-09  Andreas Jaeger  <aj@suse.de>
10053         [BZ #14083]
10054         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
10055         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
10056         -Wconversion warning.
10057         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
10058         Likewise.
10060 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
10062         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
10063         == 0.
10064         (LC_ALL): Use macro-int-constant.
10065         (LC_COLLATE): Likewise.
10066         (LC_CTYPE): Likewise.
10067         (LC_MESSAGES): Likewise.
10068         (LC_MONETARY): Likewise.
10069         (LC_NUMERIC): Likewise.
10070         (LC_TIME): Likewise.
10071         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
10072         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10073         [ISO || ISO99 || ISO11] (*_t): Do not allow.
10074         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
10075         Specify type.
10076         [C99-based standards] (float_t): Expect type.
10077         [C99-based standards] (double_t): Expect type.
10078         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
10079         type.
10080         [C99-based standards] (HUGE_VALL): Likewise.
10081         [C99-based standards] (INFINITY): Likewise.
10082         [C99-based standards] (NAN): Likewise.
10083         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
10084         [C99-based standards] (FP_NAN): Likewise.
10085         [C99-based standards] (FP_NORMAL): Likewise.
10086         [C99-based standards] (FP_SUBNORMAL): Likewise.
10087         [C99-based standards] (FP_ZERO): Likewise.
10088         [C99-based standards] (FP_FAST_FMA): Use
10089         optional-macro-int-constant.  Specify type.  Require == 1.
10090         [C99-based standards] (FP_FAST_FMAF): Likewise.
10091         [C99-based standards] (FP_FAST_FMAL): Likewise.
10092         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
10093         [C99-based standards] (FP_ILOGBNAN): Likewise.
10094         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
10095         Specify type.
10096         [C99-based standards] (MATH_ERREXCEPT): Likewise.
10097         [C99-based standards] (math_errhandling): Specify type.
10098         [ISO99 || ISO11] (signgam): Do not allow.
10099         [non-C99-based standards] (copysignf): Do not allow.
10100         [non-C99-based standards] (exp2f): Likewise.
10101         [non-C99-based standards] (log2f): Likewise.
10102         [non-C99-based standards] (modff): Allow.
10103         [non-C99-based standards] (erff): Do not allow.
10104         [non-C99-based standards] (erfcf): Likewise.
10105         [non-C99-based standards] (gammaf): Likewise.
10106         [non-C99-based standards] (hypotf): Likewise.
10107         [non-C99-based standards] (j0f): Likewise.
10108         [non-C99-based standards] (j1f): Likewise.
10109         [non-C99-based standards] (jnf): Likewise.
10110         [non-C99-based standards] (lgammaf): Likewise.
10111         [non-C99-based standards] (tgammaf): Likewise.
10112         [non-C99-based standards] (y0f): Likewise.
10113         [non-C99-based standards] (y1f): Likewise.
10114         [non-C99-based standards] (ynf): Likewise.
10115         [non-C99-based standards] (isnanf): Likewise.
10116         [non-C99-based standards] (acoshf): Likewise.
10117         [non-C99-based standards] (asinhf): Likewise.
10118         [non-C99-based standards] (atanhf): Likewise.
10119         [non-C99-based standards] (cbrtf): Likewise.
10120         [non-C99-based standards] (expm1f): Likewise.
10121         [non-C99-based standards] (ilogbf): Likewise.
10122         [non-C99-based standards] (log1pf): Likewise.
10123         [non-C99-based standards] (logbf): Likewise.
10124         [non-C99-based standards] (nextafterf): Likewise.
10125         [non-C99-based standards] (remainderf): Likewise.
10126         [non-C99-based standards] (rintf): Likewise.
10127         [non-C99-based standards] (scalbf): Likewise.
10128         [non-C99-based standards] (copysignl): Likewise.
10129         [non-C99-based standards] (exp2l): Likewise.
10130         [non-C99-based standards] (log2l): Likewise.
10131         [non-C99-based standards] (modfl): Allow.
10132         [non-C99-based standards] (erfl): Do not allow.
10133         [non-C99-based standards] (erfcl): Likewise.
10134         [non-C99-based standards] (gammal): Likewise.
10135         [non-C99-based standards] (hypotl): Likewise.
10136         [non-C99-based standards] (j0l): Likewise.
10137         [non-C99-based standards] (j1l): Likewise.
10138         [non-C99-based standards] (jnl): Likewise.
10139         [non-C99-based standards] (lgammal): Likewise.
10140         [non-C99-based standards] (tgammal): Likewise.
10141         [non-C99-based standards] (y0l): Likewise.
10142         [non-C99-based standards] (y1l): Likewise.
10143         [non-C99-based standards] (ynl): Likewise.
10144         [non-C99-based standards] (isnanl): Likewise.
10145         [non-C99-based standards] (acoshl): Likewise.
10146         [non-C99-based standards] (asinhl): Likewise.
10147         [non-C99-based standards] (atanhl): Likewise.
10148         [non-C99-based standards] (cbrtl): Likewise.
10149         [non-C99-based standards] (expm1l): Likewise.
10150         [non-C99-based standards] (ilogbl): Likewise.
10151         [non-C99-based standards] (log1pl): Likewise.
10152         [non-C99-based standards] (logbl): Likewise.
10153         [non-C99-based standards] (nextafterl): Likewise.
10154         [non-C99-based standards] (remainderl): Likewise.
10155         [non-C99-based standards] (rintl): Likewise.
10156         [non-C99-based standards] (scalbl): Likewise.
10157         [ISO || ISO99 || ISO11] (*_t): Do not allow.
10158         [non-C99-based standards] (FP_*): Do not allow.
10159         [C99-based standards] (FP_*): Change to
10160         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10161         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10162         allow.
10163         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
10164         (SIG_ERR): Likewise.
10165         [X/Open-based standards] (SIG_HOLD): Likewise.
10166         (SIG_IGN): Likewise.
10167         (SIGABRT): Use macro-int-constant.  Specify type.  Require
10168         positive value.
10169         (SIGFPE): Likewise.
10170         (SIGILL): Likewise.
10171         (SIGINT): Likewise.
10172         (SIGSEGV): Likewise.
10173         (SIGTER): Likewise.
10174         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
10175         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
10176         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
10177         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
10178         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
10179         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
10180         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
10181         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
10182         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
10183         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
10184         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
10185         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
10186         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
10187         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
10188         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
10189         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
10190         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
10191         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
10192         [X/Open-based standards] (SIGTRAP): Likewise.
10193         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
10194         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
10195         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
10196         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
10197         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10198         allow.
10200 2012-05-08  Ian Wienand  <ianw@vmware.com>
10202         [BZ #14080]
10203         * time/tzset.c (__tzset_parse_tz): Update default rules for
10204         daylight time changes in the Energy Policy Act of 2005.
10206 2012-05-09  Andreas Jaeger  <aj@suse.de>
10208         [BZ #13983]
10209         * elf/ldconfig.c (parse_conf): Change string to make clear that
10210         ldconfig only issued a warning if ld.so.conf does not exist.
10212 2012-05-08  David S. Miller  <davem@davemloft.net>
10214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
10215         movxtod instead of popping the value on the stack.
10217         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10219 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
10221         * config.h.in: Add HAVE_ARM_PCS_VFP.
10223 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
10225         [BZ #13979]
10226         * include/features.h: Warn if user requests __FORTIFY_SOURCE
10227         checking but the checks are disabled for any reason.
10229 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
10231         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
10232         and ELF64_R_TYPE with ELFW(R_TYPE).
10234 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
10236         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
10237         (ulimit): Likewise.
10239         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
10240         (settimeofday): Likewise.
10242 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
10244         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
10245         a struct th_u2 inside the union, and move tu_block/tu_code into
10246         a new th_u3 union of tu_block/tu_code inside of that.  Move
10247         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
10248         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
10249         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
10250         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
10251         (th_stuff): Change to th_u1.tu_stuff.
10252         (th_data): Define.
10253         (th_msg): Change to th_u1.th_u2.tu_data.
10255 2012-05-07  David S. Miller  <davem@davemloft.net>
10257         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10259         [BZ #14074]
10260         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
10261         (SETUP_PIC_REG): Use it.
10262         (SETUP_PIC_REG_LEAF): Use it.
10264 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
10266         [BZ #13885]
10267         [BZ #13923]
10268         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10269         USE_AS_EXPM1L.
10270         (EXPL_FINITE): Likewise.
10271         (FLDLOG): Likewise.
10272         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10273         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10274         e_expl.S.
10275         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10276         USE_AS_EXPM1L.
10277         (EXPL_FINITE): Likewise.
10278         (FLDLOG): Likewise.
10279         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10280         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10281         e_expl.S.
10282         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
10283         test of -max_value argument for long double.
10284         * sysdeps/i386/fpu/libm-test-ulps: Update.
10285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10287 2012-05-06  David S. Miller  <davem@davemloft.net>
10289         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
10290         quad soft-float symbols whose references which are compiler
10291         generated.
10292         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10294 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
10296         [BZ #13884]
10297         [BZ #13914]
10298         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10299         USE_AS_EXP10L.
10300         (EXPL_FINITE): Likewise.
10301         (FLDLOG): Likewise.
10302         (c0): Likewise.
10303         (c1): Likewise.
10304         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
10305         Adjust comments for base varying.
10306         (__expl_finite): Change alias to EXPL_FINITE.
10307         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
10308         e_expl.S.
10309         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
10310         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10311         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10312         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
10313         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10314         USE_AS_EXP10L.
10315         (EXPL_FINITE): Likewise.
10316         (FLDLOG): Likewise.
10317         (c0): Likewise.
10318         (c1): Likewise.
10319         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
10320         Adjust comments for base varying.
10321         (__expl_finite): Change alias to EXPL_FINITE.
10322         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
10323         tests for bugs.
10324         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10326         [BZ #14064]
10327         * math/libm-test.inc (check_float_internal): Correct ulp
10328         calculation for subnormal expected results.
10330 2012-05-06  Andreas Jaeger  <aj@suse.de>
10332         * Makeconfig (+math-flags): New, set to -frounding-math.
10333         (+cflags): Add +math-flags so that all of glibc gets compiled with
10334         it.
10336         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
10338 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
10340         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
10341         Disable one test.
10343         [BZ #13787]
10344         [BZ #13922]
10345         [BZ #14036]
10346         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
10347         (__ieee754_expl): Allow for and saturate large arguments.
10348         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
10349         (u_threshold): Likewise.
10350         (__exp): Call __ieee754_exp before checking for overflow and
10351         underflow.
10352         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
10353         (u_threshold): Likewise.
10354         (__expf): Call __ieee754_expf before checking for overflow and
10355         underflow.
10356         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
10357         (u_threshold): Likewise.
10358         (__expl): Call __ieee754_expl before checking for overflow and
10359         underflow.
10360         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
10361         (__ieee754_expl): Allow for and saturate large arguments.
10362         * math/libm-test.inc (exp_test): Add another test.  Do not allow
10363         missing overflow exception on overflow.
10364         (expm1_test): Do not allow missing overflow exception on overflow.
10366         * sysdeps/i386/fpu/e_expl.c: Move to ...
10367         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
10368         rather than using inline asm.
10369         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
10370         * sysdeps/x86_64/fpu/e_expl.S: Copy from
10371         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
10373         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
10374         (nice): Likewise.
10375         (poll): Likewise.
10376         (signal): Likewise.
10377         (time): Likewise.
10378         (times): Likewise.
10380 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
10382         * sysdeps/unix/syscalls.list (adjtime): Add entry from
10383         sysdeps/unix/common/syscalls.list.
10384         (fchmod): Likewise.
10385         (fchown): Likewise.
10386         (ftruncate): Likewise.
10387         (getrusage): Likewise.
10388         (gettimeofday): Likewise.
10389         (setpgid): Likewise.
10390         (setregid): Likewise.
10391         (setreuid): Likewise.
10392         (sigaction): Likewise.
10393         (truncate): Likewise.
10394         (vhangup): Likewise.
10395         * sysdeps/unix/common/syscalls.list: Remove file.
10396         * sysdeps/unix/bsd/Implies: Don't include unix/common.
10397         * sysdeps/unix/sysv/linux/Implies: Likewise.
10399 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
10401         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
10402         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
10403         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
10404         Moved to ...
10405         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10406         Here.
10407         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
10408         to ...
10409         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
10410         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
10411         to ...
10412         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
10413         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
10414         to ...
10415         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
10416         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
10417         to ...
10418         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
10419         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
10420         to ...
10421         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
10422         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
10423         to ...
10424         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
10425         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
10426         to ...
10427         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
10428         Here.
10429         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
10430         to ...
10431         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
10432         Here.
10433         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
10434         to ...
10435         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
10436         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
10437         Moved to ...
10438         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
10439         Here.
10440         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
10441         to ...
10442         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
10444 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
10446         * sysdeps/unix/common/bits/dirent.h: Remove file.
10447         * sysdeps/unix/common/bits/fcntl.h: Likewise.
10449         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
10450         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
10451         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
10452         * sysdeps/unix/bsd/isatty.c: Likewise.
10453         * sysdeps/unix/bsd/tcdrain.c: Likewise.
10454         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
10455         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
10457 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10459         [BZ #13563]
10460         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
10461         long double comparison inaccuracies.
10462         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10463         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10465 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
10467         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
10468         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
10470 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
10472         [BZ #14049]
10473         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
10474         nonzero digits before rounding a hex value.
10475         * stdlib/tst-strtod.c (tests): Add another test.
10477 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10479         * sysdeps/s390/fpu/libm-test-ulps: Update.
10481 2012-05-03  Andreas Jaeger  <aj@suse.de>
10483         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
10484         does not get optimized out.
10485         (malloc_opt_barrier): New.
10487 2012-05-03  Andreas Jaeger  <aj@suse.de>
10488             Roland McGrath  <roland@hack.frob.com>
10490         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
10491         intermediate file deletion.
10492         (generated): Add .symlist files.
10494 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
10496         [BZ #13775]
10497         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
10498         Redirect under this condition.
10499         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10500         [__USE_GNU] (__dprintf_chk): Not under this condition.
10501         [__USE_GNU] (__vdprintf_chk): Likewise.
10502         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
10503         under this condition.
10504         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10505         [__USE_XOPEN2K8] (dprintf): Define under this condition.
10506         [__USE_XOPEN2K8] (vdprintf): Likewise.
10507         [__USE_GNU] (__dprintf_chk): Not under this condition.
10508         [__USE_GNU] (__vdprintf_chk): Likewise.
10509         [__USE_GNU] (dprintf): Likewise.
10510         [__USE_GNU] (vdprintf): Likewise.
10512 2012-05-03  Roland McGrath  <roland@hack.frob.com>
10514         * elf/Makefile (common-generated): Set this instead of generated for
10515         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
10516         $(all-built-dso)-derived lists.
10518 2012-05-03  Andreas Jaeger  <aj@suse.de>
10520         * sysdeps/i386/fpu/libm-test-ulps: Update.
10522         * FAQ: Removed.
10523         * FAQ.in: Likewise.
10524         * scripts/gen-FAQ.pl: Likewise.
10525         * manual/install.texi (Installation): Point to online location of
10526         FAQ.
10527         * Makefile (files-for-dist): Remove FAQ.
10528         (FAQ): Remove.
10530 2012-05-02  Allan McRae  <allan@archlinux.org>
10532         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
10533         (LDFLAGS-reldepmod5.so): Likewise.
10534         (LDFLAGS-reldep6mod1.so): Likewise.
10535         (LDFLAGS-reldep6mod4.so): Likewise.
10536         (LDFLAGS-reldep8mod3.so): Likewise.
10537         (LDFLAGS-unload4mod1.so): Likewise.
10538         (LDFLAGS-unload4mod2.so): Likewise.
10539         (LDFLAGS-tst-initorder): Likewise.
10540         (LDFLAGS-tst-initordera2.so): Likewise.
10541         (LDFLAGS-tst-initordera3.so): Likewise.
10542         (LDFLAGS-tst-initordera4.so): Likewise.
10543         (LDFLAGS-tst-initorderb2.so): Likewise.
10544         (LDFLAGS-noload): Likewise.
10545         (LDFLAGS-next): Likewise.
10546         (LDFLAGS-order2mod1.so): Likewise.
10547         (LDFLAGS-order2mod2.so): Likewise.
10548         (LDFLAGS-tst-initorder2): Likewise.
10549         (LDFLAGS-tst-initorder2a.so): Likewise.
10550         (LDFLAGS-tst-initorder2b.so): Likewise.
10551         (LDFLAGS-tst-initorder2c.so): Likewise.
10552         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
10554 2012-05-02  David S. Miller  <davem@davemloft.net>
10556         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10558 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
10560         [BZ #14055]
10561         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
10563 2012-05-02  Andreas Jaeger  <aj@suse.de>
10565         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
10566         since we manipulate rounding mode.
10567         (CPPFLAGS-test-idouble.c): Likewise.
10568         (CPPFLAGS-test-ifloat.c): Likewise.
10569         (CFLAGS-test-ldouble.c): Likewise.
10570         (CFLAGS-test-double.c): Likewise.
10571         (CFLAGS-test-float.c): Likewise.
10572         (CFLAGS-test-misc.c): Likewise.
10573         (CFLAGS-test-test-fenv.c): Likewise.
10575 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10577         [BZ #2550]
10578         [BZ #2570]
10579         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
10580         comparisons to determine direction to adjust input.
10582 2012-05-01  Roland McGrath  <roland@hack.frob.com>
10584         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
10585         output to the target.
10587         * scripts/localplt.awk: New file.
10588         * elf/Makefile ($(objpfx)check-localplt): Target removed.
10589         (check-localplt-CFLAGS): Variable removed.
10590         ($(all-built-dso:=.jmprel)): New static pattern rule.
10591         (generated): Add those targets.
10592         (localplt-built-dso): New variable.
10593         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
10595         * elf/check-localplt.c: File removed.
10597         * scripts/check-execstack.awk: New file.
10598         * elf/Makefile ($(objpfx)check-execstack): Target removed.
10599         (check-execstack-CFLAGS): Variable removed.
10600         ($(objpfx)check-execstack.h): Target removed.
10601         ($(objpfx)execstack-default): New target.
10602         (generated): Add that instead of check-execstack.h.
10603         ($(all-built-dso:=.phdr)): New static pattern rule.
10604         (generated): Add those targets.
10605         * elf/check-execstack.c: File removed.
10607         * scripts/check-textrel.awk: New file.
10608         * elf/Makefile ($(objpfx)check-textrel): Target removed.
10609         (check-textrel-CFLAGS): Variable removed.
10610         (all-built-dso): Use := to define.o
10611         ($(all-built-dso:=.dyn)): New static pattern rule.
10612         (generated): Add those targets.
10613         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
10614         * config.make.in (READELF): New substituted variable.
10615         * elf/check-textrel.c: File removed.
10617 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
10619         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10620         allow.
10621         * conform/data/ctype.h-data [C99-based standards] (isblank):
10622         Expect function.
10623         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
10624         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
10625         [ISO || ISO99 || ISO11] (*_t): Do not allow.
10626         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
10627         Specify type.  Require positive value.
10628         (EILSEQ): Likewise.
10629         (ERANGE): Likewise.
10630         [ISO || POSIX] (EILSEQ): Do not expect.
10631         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
10632         Specify type.  Require positive value.
10633         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
10634         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
10635         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
10636         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
10637         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
10638         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
10639         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
10640         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
10641         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
10642         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
10643         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
10644         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
10645         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
10646         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
10647         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
10648         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
10649         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
10650         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
10651         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
10652         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
10653         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
10654         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
10655         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
10656         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
10657         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
10658         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
10659         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
10660         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
10661         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
10662         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
10663         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
10664         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
10665         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
10666         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
10667         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
10668         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
10669         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
10670         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
10671         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
10672         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
10673         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
10674         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
10675         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
10676         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
10677         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
10678         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
10679         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
10680         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
10681         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
10682         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
10683         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
10684         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
10685         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
10686         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
10687         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
10688         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
10689         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
10690         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
10691         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
10692         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
10693         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
10694         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
10695         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
10696         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
10697         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
10698         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
10699         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
10700         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
10701         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
10702         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
10703         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
10704         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
10705         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
10706         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
10707         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
10708         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
10709         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
10710         Require >= 2.
10711         (FLT_ROUNDS): Expect as macro, not constant.
10712         (FLT_MANT_DIG): Use macro-int-constant.
10713         (DBL_MANT_DIG): Likewise.
10714         (LDBL_MANT_DIG): Likewise.
10715         (FLT_DIG): Likewise.
10716         (DBL_DIG): Likewise.
10717         (LDBL_DIG): Likewise.
10718         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
10719         (DBL_MIN_EXP): Likewise.
10720         (LDBL_MIN_EXP): Likewise.
10721         (FLT_MAX_EXP): Use macro-int-constant.
10722         (DBL_MAX_EXP): Likewise.
10723         (LDBL_MAX_EXP): Likewise.
10724         (FLT_MAX_10_EXP): Likewise.
10725         (DBL_MAX_10_EXP): Likewise.
10726         (LDBL_MAX_10_EXP): Likewise.
10727         (FLT_MAX): Use macro-constant.
10728         (DBL_MAX): Likewise.
10729         (LDBL_MAX): Likewise.
10730         (FLT_EPSILON): Use macro-constant.  Give upper bound.
10731         (DBL_EPSILON): Likewise.
10732         (LDBL_EPSILON): Likewise.
10733         (FLT_MIN): Likewise.
10734         (DBL_MIN): Likewise.
10735         (LDBL_MIN): Likewise.
10736         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
10737         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
10738         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
10739         [ISO11] (FLT_HAS_SUBNORM): Likewise.
10740         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
10741         [ISO11] (DBL_DECIMAL_DIG): Likewise.
10742         [ISO11] (FLT_DECIMAL_DIG): Likewise.
10743         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
10744         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
10745         [ISO11] (FLT_TRUE_MIN): Likewise.
10746         [ISO11] (LDBL_TRUE_MIN): Likewise.
10747         [ISO || ISO99 || ISO11] (*_t): Do not allow.
10748         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
10749         (SCHAR_MIN): Use macro-int-constant.  Specify type.
10750         (SCHAR_MAX): Likewise.
10751         (UCHAR_MAX): Likewise.
10752         (CHAR_MIN): Likewise.
10753         (CHAR_MAX): Likewise.
10754         (MB_LEN_MAX): Use macro-int-constant.
10755         (SHRT_MIN): Use macro-int-constant.  Specify type.
10756         (SHRT_MAX): Likewise.
10757         (USHRT_MAX): Likewise.
10758         (INT_MAX): Likewise.
10759         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
10760         bound negative.
10761         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
10762         bound with "U".
10763         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
10764         bound with "L".
10765         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
10766         bound negative.  Suffix upper bound with "L".
10767         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
10768         bound with "UL".
10769         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
10770         Specify type.
10771         [C99-based standards] (LLONG_MAX): Likewise.
10772         [C99-based standards] (ULLONG_MAX): Likewise.
10773         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
10774         == 0.
10775         [ISO11] (max_align_t): Require type.
10776         [ISO || ISO99 || ISO11] (*_t): Do not allow.
10778         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
10779         from $CFLAGS, without defining away __attribute__ calls.
10780         (checknamespace): Use $CFLAGS_namespace.
10782         * conform/conformtest.pl (@keywords): Only include C99 keywords
10783         for standards based on C99 or C11.
10785         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
10786         Disable tests.
10787         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
10788         UNIX98]: Likewise.
10790         * conform/conformtest.pl: Handle "macro-int-constant" and test for
10791         usability of symbols in #if.
10793         * conform/conformtest.pl: If macro or constant types start
10794         "promoted:", expect the symbol to be of the following type
10795         promoted by the integer promotions.
10797         * conform/conformtest.pl: Parse all "constant" and "macro" lines
10798         in one place.  Also handle "macro-constant".
10800         * conform/conformtest.pl: Only accept expected macro values with
10801         "==".  Parse all "macro" lines in one place.
10802         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
10804         * conform/conformtest.pl: Handle braced types on "constant" lines
10805         instead of handling "typed-constant".
10806         * conform/data/signal.h-data: Use "constant" instead of
10807         "typed-constant".
10809         * conform/conformtest.pl: Handle "optional-" at start of lines in
10810         one place rather than duplicating several cases.  Handle each
10811         format of "macro" line with initial "optional-".
10813         * conform/conformtest.pl: Only accept expected constant or
10814         optional-constant values with "==".  Parse all "constant" lines in
10815         one place.  Parse all "optional-constant" lines in one place.
10816         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
10817         * conform/data/fmtmsg.h-data: Likewise.
10818         * conform/data/netinet/in.h-data: Likewise.
10819         * conform/data/tar.h-data: Likewise.
10820         * conform/data/limits.h-data: Use "==" form on "constant" and
10821         "optional-constant" lines.
10823         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
10824         Use -std=c99 for XOPEN2K.
10825         (@knownproblems): Remove.
10826         (newtoken): Don't check %isknown.
10828         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
10829         Do not expect macro.
10830         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
10831         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
10832         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
10833         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
10834         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
10835         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
10836         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
10837         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
10838         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
10839         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
10840         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
10841         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
10842         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
10843         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
10844         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
10845         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
10846         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
10847         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
10848         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
10849         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
10850         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
10851         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
10852         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
10853         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
10854         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
10855         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
10856         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
10857         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
10858         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
10859         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
10860         [XPG3] (acosh): Likewise.
10861         [XPG3] (asinh): Likewise.
10862         [XPG3] (atanh): Likewise.
10863         [XPG3] (cbrt): Likewise.
10864         [XPG3] (expm1): Likewise.
10865         [XPG3] (ilogb): Likewise.
10866         [XPG3] (log1p): Likewise.
10867         [XPG3] (logb): Likewise.
10868         [XPG3] (nextafter): Likewise.
10869         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
10870         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
10871         [XPG3] (remainder): Likewise.
10872         [XPG3] (rint): Likewise.
10873         [XPG3 || XPG4 || UNIX98] (round): Likewise.
10874         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
10875         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
10876         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
10877         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
10878         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
10879         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
10880         [UNIX98 || XOPEN2K] (scalb): Expect.
10881         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
10882         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
10883         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
10884         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
10885         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
10886         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
10887         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
10888         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
10889         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
10890         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
10891         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
10892         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
10893         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
10894         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
10895         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
10896         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
10897         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
10898         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
10899         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
10900         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
10901         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
10902         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
10903         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
10904         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
10905         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
10906         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
10907         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
10908         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
10909         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
10910         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
10911         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
10912         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
10913         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
10914         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
10915         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
10916         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
10917         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
10918         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
10919         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
10920         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
10921         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
10922         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
10923         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
10924         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
10925         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
10926         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
10927         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
10928         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
10929         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
10930         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
10931         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
10932         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
10933         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
10934         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
10935         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
10936         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
10937         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
10938         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
10939         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
10940         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
10941         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
10942         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
10943         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
10944         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
10945         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
10946         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
10947         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
10948         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
10949         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
10950         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
10951         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
10952         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
10953         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
10954         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
10955         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
10956         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
10957         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
10958         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
10959         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
10960         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
10961         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
10962         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
10963         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
10964         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
10965         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
10966         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
10967         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
10968         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
10969         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
10970         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
10971         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
10972         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
10973         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
10974         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
10975         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
10976         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
10977         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
10978         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
10979         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
10980         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
10981         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
10982         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
10983         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
10984         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
10985         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
10986         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
10987         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
10988         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
10989         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
10990         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
10991         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
10992         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
10993         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
10994         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
10995         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
10996         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
10997         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
10998         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
10999         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
11000         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
11001         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
11002         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
11003         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
11004         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
11005         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
11006         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
11007         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
11008         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
11009         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
11010         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
11011         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
11012         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
11013         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
11014         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
11015         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
11016         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
11017         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
11019         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
11020         _XOPEN_SOURCE_EXTENDED for XPG4.
11022         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
11024         * Makeconfig (localtime): Remove variable.
11025         (inst_localtime-file): Likewise.
11027 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
11029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
11030         Update.
11031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11032         Update.
11033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
11034         Update.
11035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11036         Update.
11037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
11038         Update.
11039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
11040         Update.
11041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11042         Update.
11043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
11044         Update.
11045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11046         Update.
11048 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
11050         [BZ #2550]
11051         [BZ #2570]
11052         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
11053         comparisons to determine direction to adjust input.
11054         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11055         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
11056         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
11057         Likewise.
11058         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
11059         Likewise.
11060         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11061         Likewise.
11062         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
11063         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11064         Likewise.
11065         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11066         Likewise.
11067         * math/libm-test.inc (nexttoward_test): Add more tests.
11069 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
11071         [BZ #14040]
11072         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
11073         in version GLIBC_2.1, not GLIBC_2.0.
11074         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
11075         Likewise.
11077 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
11079         [BZ #13942]
11080         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
11081         (1 - x) * (1 + x).
11082         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11083         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
11084         * math/libm-test.inc (acos_test): Add more tests.
11085         (asin_test): Likewise.
11086         * sysdeps/i386/fpu/libm-test-ulps: Update.
11087         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11089         [BZ #14034]
11090         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
11091         of square root.
11092         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
11093         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11094         * math/libm-test.inc (acos_test_tonearest): New function.
11095         (acos_test_towardzero): Likewise.
11096         (acos_test_downward): Likewise.
11097         (acos_test_upward): Likewise.
11098         (asin_test_tonearest): Likewise.
11099         (asin_test_towardzero): Likewise.
11100         (asin_test_downward): Likewise.
11101         (asin_test_upward): Likewise.
11102         (main): Call the new functions.
11103         * sysdeps/i386/fpu/libm-test-ulps: Update.
11104         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11106         [BZ #13884]
11107         [BZ #13924]
11108         * math/e_exp10.c: Include <float.h>.
11109         (__ieee754_exp10): Handle underflow here rather than multiplying
11110         large negative argument by M_LN10.
11111         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
11112         of __ieee754_expf.
11113         * math/e_exp10l.c: Include <float.h>.
11114         (__ieee754_exp10l): Handle underflow here rather than multiplying
11115         large negative argument by M_LN10l.
11116         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
11117         spurious overflow exception on underflow.
11119 2012-04-29  Marek Polacek  <polacek@redhat.com>
11121         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
11122         (__fortify_function): New macro.
11123         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
11124         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
11125         __extern_always_inline.
11126         * libio/bits/stdio2.h: Likewise.
11127         * libio/bits/stdio.h: Likewise.
11128         * string/string.h: Likewise.
11129         * string/bits/string3.h: Likewise.
11130         * include/stdio.h: Likewise.
11131         * stdlib/bits/stdlib.h: Likewise.
11132         * stdlib/stdlib.h: Likewise.
11133         * rt/bits/mqueue2.h: Likewise.
11134         * rt/mqueue.h: Likewise.
11135         * posix/bits/unistd.h: Likewise.
11136         * posix/unistd.h: Likewise.
11137         * io/bits/poll2.h: Likewise.
11138         * io/bits/fcntl2.h: Likewise.
11139         * io/fcntl.h: Likewise.
11140         * io/sys/poll.h: Likewise.
11141         * misc/bits/syslog.h: Likewise.
11142         * misc/bits/syslog-ldbl.h: Likewise.
11143         * misc/sys/syslog.h: Likewise.
11144         * socket/bits/socket2.h: Likewise.
11145         * socket/sys/socket.h: Likewise.
11146         * debug/tst-chk1.c: Likewise.
11147         * wcsmbs/bits/wchar2.h: Likewise.
11148         * wcsmbs/bits/wchar-ldbl.h: Likewise.
11149         * wcsmbs/wchar.h: Likewise.
11151 2012-04-29  Andreas Jaeger  <aj@suse.de>
11153         * Makerules (tests): Remove enable-check-abi protection.
11154         (check-abi-warn): Remove.
11155         (check-abi-%): Remove check-abi-warn usage.
11157         * configure.in: Remove check-abi configure option.
11158         * configure: Regenerated.
11159         * config.make.in (enable-check-abi): Remove.
11161 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
11163         [BZ #14033]
11164         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
11165         double functions to double *_finite functions.
11167         [BZ #13941]
11168         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
11169         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
11170         LDBL_MIN_EXP.
11171         * stdio-common/Makefile (tests): Add tst-sprintf3.
11172         * stdio-common/tst-sprintf3.c: New file.
11174         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
11175         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
11177 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
11179         * conform/conformtest.pl: Remove duplicate typed-constant
11180         handling.
11182 2012-04-28  David S. Miller  <davem@davemloft.net>
11184         * Makerules (%.abilist): Add vpath on sysdep_dirs.
11185         (check-abi-%): Remove AWK script prerequisite and explicit
11186         abilist directory.
11187         (check-abi): Rewrite to just diff the symlist with the abilist.
11188         (config-tls, config-abi-config): Delete, no longer used.
11189         (update-abi-%): Remove AWK script and explicit abilist directory.
11190         (update-abi): Rewrite to simply compare and conditionally copy the
11191         symlist and the sysdep abilist file.  Remove update-abi-config
11192         checks.
11193         * abilist/ld.abilist: Remove.
11194         * abilist/libBrokenLocale.abilist: Remove.
11195         * abilist/libanl.abilist: Remove.
11196         * abilist/libcrypt.abilist: Remove.
11197         * abilist/libdl.abilist: Remove.
11198         * abilist/librt.abilist: Remove.
11199         * abilist/libthread_db.abilist: Remove.
11200         * abilist/libutil.abilist: Remove.
11201         * scripts/extract-abilist.awk: Remove.
11202         * scripts/merge-abilist.awk: Remove.
11203         * sysdeps/generic/libcidn.abilist: New file.
11204         * sysdeps/generic/libnss_compat.abilist: New file.
11205         * sysdeps/generic/libnss_db.abilist: New file.
11206         * sysdeps/generic/libnss_dns.abilist: New file.
11207         * sysdeps/generic/libnss_files.abilist: New file.
11208         * sysdeps/generic/libnss_hesiod.abilist: New file.
11209         * sysdeps/generic/libnss_nis.abilist: New file.
11210         * sysdeps/generic/libnss_nisplus.abilist: New file.
11211         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
11212         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
11213         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
11214         file.
11215         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
11216         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
11217         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
11218         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
11219         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
11220         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
11221         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
11222         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
11223         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
11224         file.
11225         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
11226         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
11227         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
11228         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
11229         file.
11230         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
11231         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
11232         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
11233         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
11234         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
11235         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
11236         file.
11237         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
11238         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
11239         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
11240         file.
11241         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
11242         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
11243         New file.
11244         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
11245         New file.
11246         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
11247         New file.
11248         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
11249         New file.
11250         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
11251         New file.
11252         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
11253         New file.
11254         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
11255         New file.
11256         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
11257         New file.
11258         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
11259         New file.
11260         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
11261         New file.
11262         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
11263         New file.
11264         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
11265         New file.
11266         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
11267         New file.
11268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
11269         file.
11270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11271         New file.
11272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11273         New file.
11274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
11275         file.
11276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11277         New file.
11278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11279         New file.
11280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
11281         file.
11282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11283         New file.
11284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11285         New file.
11286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11287         New file.
11288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11289         New file.
11290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11291         New file.
11292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11293         New file.
11294         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
11295         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
11296         file.
11297         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
11298         New file.
11299         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
11300         file.
11301         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
11302         file.
11303         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
11304         file.
11305         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
11306         file.
11307         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
11308         file.
11309         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11310         New file.
11311         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
11312         file.
11313         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
11314         file.
11315         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
11316         New file.
11317         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
11318         file.
11319         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
11320         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
11321         file.
11322         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
11323         New file.
11324         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
11325         file.
11326         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
11327         file.
11328         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
11329         file.
11330         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
11331         file.
11332         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
11333         file.
11334         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11335         New file.
11336         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
11337         file.
11338         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
11339         file.
11340         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
11341         New file.
11342         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
11343         file.
11344         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11345         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
11346         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
11347         file.
11348         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
11349         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
11350         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
11351         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
11352         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
11353         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
11354         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
11355         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
11356         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
11357         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
11358         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
11359         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
11360         file.
11361         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
11362         New file.
11363         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
11364         file.
11365         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
11366         file.
11367         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
11368         file.
11369         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
11370         file.
11371         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
11372         file.
11373         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11374         New file.
11375         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
11376         New file.
11377         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
11378         file.
11379         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
11380         New file.
11381         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
11382         file.
11383         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
11384         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
11385         file.
11386         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
11387         New file.
11388         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
11389         file.
11390         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
11391         file.
11392         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
11393         file.
11394         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
11395         file.
11396         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
11397         file.
11398         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11399         New file.
11400         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
11401         New file.
11402         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
11403         file.
11404         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
11405         New file.
11406         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
11407         file.
11409 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
11411         * conform/conformtest.pl: Fix typo in handling typed-constant from
11412         allow-header.
11414 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
11416         * README: Cut down references to pre-2.6 Linux kernels and
11417         Linuxthreads.  Update lists of configurations in libc and ports
11418         and sort alphabetically.  Say "or newer" with Linux kernel version
11419         requirements.
11421         * config.h.in [IS_IN_build]: Allow compiling without optimization.
11423 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
11425         [BZ #887]
11426         * math/libm-test.inc (logb_test_downward): New test to expose
11427         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
11428         rounding mode.
11430 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
11432         [BZ #14027]
11433         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
11434         to be done.
11435         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
11436         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
11438 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
11440         * sysdeps/unix/i386/brk.S: Remove file.
11441         * sysdeps/unix/i386/dl-brk.S: Likewise.
11442         * sysdeps/unix/i386/pipe.S: Likewise.
11443         * sysdeps/unix/i386/sigreturn.S: Likewise.
11444         * sysdeps/unix/i386/syscall.S: Likewise.
11445         * sysdeps/unix/i386/vfork.S: Likewise.
11446         * sysdeps/unix/i386/wait.S: Likewise.
11448         * sysdeps/unix/common/tcsendbrk.c: Move to ...
11449         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
11451         * configure.in (arm*-none*): Do not allow without
11452         --enable-hacker-mode.
11453         (netbsd*): Remove case setting base_os.
11454         (386bsd*): Likewise.
11455         (freebsd*): Likewise.
11456         (bsdi*): Likewise.
11457         (osf*): Likewise.
11458         (sunos*): Likewise.
11459         (ultrix*): Likewise.
11460         (newsos*): Likewise.
11461         (dynix*): Likewise.
11462         (*bsd*): Likewise.
11463         (sysv*): Likewise.
11464         (isc*): Likewise.
11465         (esix*): Likewise.
11466         (sco*): Likewise.
11467         (minix*): Likewise.
11468         (irix4*): Likewise.
11469         (irix6*): Likewise.
11470         (solaris[2-9]*): Likewise.
11471         (none): Likewise.
11472         * configure: Regenerated.
11474 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11476         [BZ #11521]
11477         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
11478         overflow or cancellation in calculating denominator.
11479         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
11480         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
11481         down expression to avoid unexpected rounding in newer GCCs.
11482         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
11484 2012-04-26  David S. Miller  <davem@davemloft.net>
11486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
11487         long-double compat symbols.
11488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
11490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
11491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
11492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
11493         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
11494         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
11495         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
11496         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
11497         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11498         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
11499         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
11500         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11502 2012-04-25  David S. Miller  <davem@davemloft.net>
11504         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
11505         HWCAP_* values only after the memory barriers have been defined.
11506         (atomic_full_barrier): Define.
11507         (atomic_read_barrier): Define.
11508         (atomic_write_barrier): Define.
11510 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11512         * shlib-versions: Add libgcc_s version information.
11513         * sysdeps/generic/libgcc_s.h: Remove.
11514         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
11515         libgcc_s.h.
11516         * sysdeps/gnu/unwind-resume.c: Likewise.
11517         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
11519 2012-04-25  David S. Miller  <davem@davemloft.net>
11521         * sysdeps/unix/sparc/brk.S: Delete.
11522         * sysdeps/unix/sparc/dl-brk.S: Delete.
11523         * sysdeps/unix/sparc/pipe.S: Delete.
11524         * sysdeps/unix/sparc/sysdep.S: Delete.
11525         * sysdeps/unix/sparc/sysdep.h: Delete.
11526         * sysdeps/unix/sparc/vfork.S: Delete.
11527         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
11528         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
11529         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
11530         ret_ERRVAL, r0, r1, MOVE): Define.
11531         (JUMPTARGET): Remove.
11532         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
11533         sysdeps/unix/sparc/sysdep.h
11534         (ENTRY, END): Remove.
11535         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11537 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
11539         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
11540         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
11541         -DIS_IN_build.
11543         * timezone/README: Update upstream location and email address for
11544         tzcode and tzdata.
11545         * timezone/zdump.c: Update from tzcode 2012b.
11546         * timezone/zic.c: Likewise.
11548         * configure.in (libc_cv_as_needed): Remove test.
11549         * configure: Regenerated.
11550         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
11551         conditional definition.
11552         [$(have-as-needed) != yes] (no-as-needed): Likewise.
11553         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
11554         * config.make.in (have-as-needed): Remove variable.
11556 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
11557             Paul Pluzhnikov  <ppluzhnikov@google.com>
11559         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
11560         strings correctly.
11562 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
11564         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
11565         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
11566         * sysdeps/sh/strlen.S: Likewise.
11568 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
11570         * sysdeps/unix/fork.S: Remove file.
11571         * sysdeps/unix/i386/fork.S: Likewise.
11572         * sysdeps/unix/sparc/fork.S: Likewise.
11574         * sysdeps/unix/system.c: Remove file.
11575         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
11577         * sysdeps/unix/getegid.S: Remove file.
11578         * sysdeps/unix/geteuid.S: Likewise.
11580 2012-04-24  Roland McGrath  <roland@hack.frob.com>
11582         * scripts/check-localplt.awk: New file.
11583         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
11584         of diff.
11585         * scripts/data/localplt-generic.data: Add a comment.
11587         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
11588         NODE when __dir_mkfile failed.
11589         * sysdeps/mach/hurd/symlinkat.c: Likewise.
11590         Reported by Ludovic Courtès <ludo@gnu.org>.
11592 2012-04-24  Andreas Jaeger  <aj@suse.de>
11594         * Makerules (common-clean): Also remove gen-as-const-headers
11595         files.
11597 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
11599         * Makerules (native-compile): Do not change working directory for
11600         build.  Use $(OUTPUT_OPTION) in command.
11601         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
11603 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11605         [BZ #13886]
11606         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
11607         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
11608         * math/libm-test.inc (floor_test): Add more tests.
11609         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
11611 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
11613         * sysdeps/unix/getdents.c: Remove file.
11614         * sysdeps/unix/sysv/getdents.c: Likewise.
11615         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
11617         * sysdeps/unix/syscalls.list (madvise): Add syscall from
11618         sysdeps/unix/mman/syscalls.list.
11619         (mmap): Likewise.
11620         (mprotect): Likewise.
11621         (msync): Likewise.
11622         (munmap): Likewise.
11623         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
11624         * sysdeps/unix/mman/syscalls.list: Remove.
11625         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
11627         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
11628         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
11629         * configure: Regenerated.
11630         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
11631         $(libgcc_s_suffix).
11632         * config.make.in (libgcc_s_suffix): Remove variable.
11634 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
11636         * sysdeps/unix/sysv/gethostname.c: Move to ...
11637         * sysdeps/posix/gethostname.c: ... here.
11639         * sysdeps/unix/execve.S: Remove file.
11641         * sysdeps/unix/_exit.S: Remove file.
11643 2012-04-23  Andreas Jaeger  <aj@suse.de>
11645         [BZ #13739]
11646         * manual/Makefile: Remove make dist support, there's no
11647         need for a stand-alone documentation tar ball.
11648         (TEXI2DVI): Define always, it's not in Makeconfig.
11649         (dist): Removed.
11650         (tar-it): Removed.
11651         (edition): Removed.
11652         (glibc-doc-$(edition).tar): Removed
11653         (%.Z): Removed.
11654         (%.gz): Removed.
11655         (%.uu): Removed.
11656         (ETAGS): Remove, it's in Makeconfig.
11657         (move-if-change): Remove, it's in Makeconfig.
11659 2013-04-23  Paul Eggert  <eggert@cs.ucla.edu>
11661         [BZ #13970]
11662         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
11663         (strtod, strtof, strtold, strtol, strtoul, strtoq)
11664         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
11665         (strtod_l, strtof_l, strtold_l): Remove __wur.
11666         It is not necessarily an error to ignore strtol's return value.
11667         One can reliably look at the stored endptr to decide whether
11668         the number had valid syntax.
11670 2012-04-21  Andreas Jaeger  <aj@suse.de>
11672         [BZ #13739]
11673         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
11675 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
11677         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
11678         * sysdeps/unix/sysv/Versions: Remove file.
11680 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
11682         [BZ #13927]
11683         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11685 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
11687         [BZ #7064]
11688         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
11689         version from __vm86.
11691 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
11693         * sysdeps/unix/common/lxstat.c: Remove file.
11694         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
11696         * sysdeps/unix/sysv/Makefile: Remove file.
11698         * sysdeps/unix/sysv/direct.h: Remove file.
11700         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
11701         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
11702         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
11703         * sysdeps/unix/sysv/bits/signum.h: Likewise.
11704         * sysdeps/unix/sysv/bits/stat.h: Likewise.
11705         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
11706         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
11708         * sysdeps/unix/sysv/setrlimit.c: Remove file.
11710         * sysdeps/unix/xmknod.c: Remove file.
11711         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
11713         * sysdeps/unix/sysv/settimeofday.c: Remove file.
11715         * sysdeps/unix/sysv/i386/time.S: Remove file.
11717         * sysdeps/unix/fxstat.c: Remove file.
11718         * sysdeps/unix/xstat.c: Likewise.
11719         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
11721         * sysdeps/unix/sysv/sigaction.c: Remove file.
11723         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
11724         (sysdep_headers): Remove variable.
11725         [termio.h not in sysdep_headers] (generated): Likewise.
11726         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
11727         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
11728         * sysdeps/unix/sysv/tcdrain.c: Likewise.
11729         * sysdeps/unix/sysv/tcflow.c: Likewise.
11730         * sysdeps/unix/sysv/tcflush.c: Likewise.
11731         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
11732         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
11733         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
11734         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
11735         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
11737         * sysdeps/unix/siglist.c: Remove file.
11739         * sysdeps/unix/getppid.S: Remove file.
11741         * sysdeps/unix/mkdir.c: Remove file.
11742         * sysdeps/unix/rmdir.c: Likewise.
11744 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
11746         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
11747         ERR_MAX value.
11748         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
11749         errlist-compat value.
11751 2012-04-18  David S. Miller  <davem@davemloft.net>
11753         * sysdeps/generic/memcopy.h (reg_char): Delete.
11754         * debug/strcat_chk.c: Use char, not reg_char.
11755         * debug/strcpy_chk.c: Likewise.
11756         * debug/strncat_chk.c: Likewise.
11757         * debug/strncpy_chk.c: Likewise.
11758         * string/memchr.c: Likewise.
11759         * string/memrchr.c: Likewise.
11760         * string/rawmemchr.c: Likewise.
11761         * string/strcat.c: Likewise.
11762         * string/strchr.c: Likewise.
11763         * string/strchrnul.c: Likewise.
11764         * string/strcmp.c: Likewise.
11765         * string/strcpy.c: Likewise.
11766         * string/strncat.c: Likewise.
11767         * string/strncmp.c: Likewise.
11768         * string/strncpy.c: Likewise.
11770 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
11772         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
11773         __builtin_memcopy is called when src and dest ranges are known to not
11774         overlap.
11776 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
11778         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
11779         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
11780         fwd_align_merge macro call.
11781         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
11782         bwd_align_merge macro call.
11783         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11785 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
11787         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
11788         bwd_align_merge macros.
11789         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
11790         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
11791         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11793 2012-04-18  David S. Miller  <davem@davemloft.net>
11795         * sysdeps/sparc/sparc64/memcopy.h: Delete.
11797 2012-04-18  Andreas Jaeger  <aj@suse.de>
11799         [BZ# 6794]
11800         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
11801         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
11802         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11804         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
11805         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
11806         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11808         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
11809         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
11810         Adjust for changed ldbl-128 files.
11812         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
11813         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
11814         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11816 2012-04-17  David S. Miller  <davem@davemloft.net>
11818         * sysdeps/sparc/sparc32/memcopy.h: Delete.
11820 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
11822         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
11823         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
11824         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
11825         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
11826         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11827         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
11829 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11831         [BZ #6794]
11832         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
11833         * math/libm-test.inc: Add ilogb errno and exception tests.
11834         * math/w_ilogb.c: New file: ilogb wrapper.
11835         * math/w_ilogbf.c: New file: ilogbf wrapper.
11836         * math/w_ilogbl.c: New file: ilogbl wrapper.
11837         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
11838         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
11839         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
11840         exception being thrown with 0.0 as argument.
11841         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
11842         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
11843         exception being thrown with 0.0 as argument.
11844         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
11845         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11846         exception being thrown with 0.0 as argument.
11847         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
11848         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11849         exception being thrown with 0.0 as argument.
11850         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
11851         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
11852         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
11853         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
11854         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
11855         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
11856         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
11857         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
11858         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
11860 2012-04-17  Petr Baudis  <pasky@ucw.cz>
11862         * include/sys/uio.h: Change __vector to __iovec to avoid clash
11863         with altivec.
11865 2012-04-16  Marek Polacek  <polacek@redhat.com>
11867         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
11869 2012-04-16  Marek Polacek  <polacek@redhat.com>
11871         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
11872         operands of fdivp instruction.
11874 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
11876         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
11877         * elf/tst-auditmod3b.c: Likewise.
11878         * elf/tst-auditmod4b.c: Likewise.
11879         * elf/tst-auditmod5b.c: Likewise.
11880         * elf/tst-auditmod6b.c: Likewise.
11881         * elf/tst-auditmod6c.c: Likewise.
11882         * elf/tst-auditmod7b.c: Likewise.
11883         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
11884         * sysdeps/x86_64/preconfigure.in: Likewise.
11885         * sysdeps/x86_64/preconfigure: Regenerated.
11887 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
11889         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
11890         __ILP32__.
11892 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
11894         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11895         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
11897 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
11899         [BZ #13973]
11900         * locale/iso-639.def: Fix gl language name. Spotted by
11901         Yaron Shahrabani.
11903 2012-04-12  Roland McGrath  <roland@hack.frob.com>
11905         [BZ #2074]
11906         * libio/libio.h (__io_write_fn): Update comment.
11908 2012-04-12  Petr Baudis  <pasky@ucw.cz>
11910         [BZ #2074]
11911         * stdio.texi (Hook Functions): The user provided writer function
11912         is not allowed to return -1.
11914 2012-04-11  David S. Miller  <davem@davemloft.net>
11916         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11918 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
11920         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
11921         Add a leading slash to rtkaio.
11923 2012-04-11  Jim Meyering  <meyering@redhat.com>
11925         [BZ #11959]
11926         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
11927         It is not necessarily an error to ignore fwrite's return
11928         value.  One can reliably use ferror to test for errors after
11929         the fact.
11931 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
11933         * bits/types.h (__snseconds_t): New type.
11934         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
11936         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
11937         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11938         (__SNSECONDS_T_TYPE): Likewise.
11939         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11940         (__SNSECONDS_T_TYPE): Likewise.
11941         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11942         (__SNSECONDS_T_TYPE): Likewise.
11944 2012-04-10  Andreas Jaeger  <aj@suse.de>
11946         [BZ #2636]
11947         * manual/time.texi (Processor Time): Return type of times is
11948         elapsed real time since an arbitrary point in the past.
11949         (CPU Time): Move CLK_TCK from here...
11950         (Processor Time): ...to here.  Correct description.
11951         * manual/conf.texi (Constants for Sysconf): Correct description of
11952         _SC_CLK_TCK.
11954 2012-04-10  David S. Miller  <davem@davemloft.net>
11956         [BZ #13967]
11957         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
11958         where the is a gap between DT_REL(A) and DT_JMPREL.
11960 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
11962         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
11963         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11964         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11966 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11968         * elf/dl-support.c (_dl_inhibit_cache): New variable.
11969         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
11970         (dl_main): Handle --inhibit-cache.
11971         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
11972         _dl_inhibit_cache.
11973         * elf/dl-load.c (_dl_map_object): Use it.
11974         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
11976 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
11978         [BZ #13872]
11979         * sysdeps/i386/fpu/e_powl.S (p78): New object.
11980         (__ieee754_powl): Saturate large exponents rather than testing for
11981         overflow of y*log2(x).
11982         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11983         * math/libm-test.inc (pow_test): Do not permit spurious overflow
11984         exceptions.
11986         [BZ #11521]
11987         * math/s_ctan.c: Include <float.h>.
11988         (__ctan): Avoid internal overflow or cancellation in calculating
11989         denominator.
11990         * math/s_ctanf.c: Likewise.
11991         * math/s_ctanl.c: Likewise.
11992         * math/s_ctanh.c: Likewise.
11993         * math/s_ctanhf.c: Likewise.
11994         * math/s_ctanhl.c: Likewise.
11995         * math/libm-test.inc (ctan_test): Add more tests.
11996         (ctanh_test): Likewise.
11997         * sysdeps/i386/fpu/libm-test-ulps: Update.
11998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12000 2012-04-09  Andreas Jaeger  <aj@suse.de>
12002         [BZ #6894]
12003         * manual/filesys.texi (Directory Entries): Mention that d_namlen
12004         is an optional BSD extension.
12006         [BZ #10254]
12007         * manual/stdio.texi (Opening Streams): Document additional fopen
12008         parameters.
12010 2012-04-09  Roland McGrath  <roland@hack.frob.com>
12012         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
12013         %eax without telling the compiler.
12015 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
12017         [BZ # 13963]
12018         * manual/install.texi: Use sourceware.org.
12020 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
12022         [BZ #13873]
12023         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
12024         (__ieee754_pow): Generate overflow and underflow using huge*huge
12025         and tiny*tiny rather than just returning constant infinity or zero
12026         for large exponents.
12027         * math/libm-test.inc (pow_test): Require overflow exceptions for
12028         applicable cases of large exponents.
12030         [BZ #706]
12031         * sysdeps/i386/fpu/e_pow.S (p10): New object.
12032         (__ieee754_pow): Use iterative multiplication algorithm only for
12033         integer exponents with absolute value below 1024.  Check for odd
12034         integer exponents when using algorithm for real exponents.
12035         * math/libm-test.inc (pow_test): Add more tests.
12036         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12038 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
12040         [BZ #13705]
12041         * math/libm-test.inc (exp_test): Do not allow overflow exception
12042         on underflow test.
12044 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
12046         [BZ #13705]
12047         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
12048         instead of __kernel_standard_f.
12050 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
12052         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
12053         * sysdeps/x86_64/memset_chk.S: Likewise.
12055 2012-04-08  Andreas Jaeger  <aj@suse.de>
12057         [BZ #10153]
12058         * manual/startup.texi (Environment Access): Describe return value
12059         for putenv and setenv.
12061         [BZ #6895]
12062         * manual/filesys.texi (Directory Entries): Add description for
12063         DT_LNK.
12065         [BZ #6890]
12066         * manual/filesys.texi (Directory Entries): Clarify that it's file
12067         system not operating system in the description of DT_UNKNOWN.
12069         [BZ #6578]
12070         * manual/syslog.texi (closelog): Fix reference, it's openlog.
12072 2012-04-08  Stephen Compall  <s11@member.fsf.org>
12074         [BZ #6649]
12075         * manual/llio.texi (Opening and Closing Files): Add cross
12076         reference to explain mode argument.
12078 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
12080         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
12081         * sysdeps/x86_64/memset_chk.S: Likewise.
12083 2012-04-07  David S. Miller  <davem@davemloft.net>
12085         * elf/elf.h (R_SPARC_WDISP10): Define.
12086         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
12087         R_SPARC_SIZE32.
12088         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
12089         R_SPARC_SIZE64 and R_SPARC_H34.
12091 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
12093         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
12094         conditions and remove no longer applicable assertion.
12096 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
12098         * bits/byteswap.h: Include <features.h>.
12099         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12100         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12102 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
12104         * bits/byteswap.h (__bswap_16): Removed.
12105         Include <bits/byteswap-16.h> to get __bswap_16.
12106         * sysdeps/i386/bits/byteswap.h: Likewise.
12107         * sysdeps/s390/bits/byteswap.h: Likewise.
12108         * sysdeps/x86_64/bits/byteswap.h: Likewise.
12109         * bits/byteswap-16.h: New file.
12110         * sysdeps/i386/bits/byteswap-16.h: Likewise.
12111         * sysdeps/s390/bits/byteswap-16.h: Likewise.
12112         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
12113         * string/Makefile (headers): Add bits/byteswap-16.h.
12115 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
12117         [BZ #13895]
12118         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
12119         extra indirection.
12120         * nss/Makefile (tests-static, tests): Add tst-nss-static.
12121         * nss/tst-nss-static.c: New.
12123 2012-04-06  Robert Millan  <rmh@gnu.org>
12125         [BZ #6486]
12126         * manual/llio.texi (File Position Primitive): lseek
12127         refers to WHENCE when it really means OFFSET.
12129 2012-04-06  Andreas Jaeger  <aj@suse.de>
12131         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
12132         strncmp declarations.
12134         * abilist/libc.abilist: Add __poll and __ppoll.
12136 2012-04-05  David S. Miller  <davem@davemloft.net>
12138         * scripts/check-local-headers.sh: Accept a host triplet in the
12139         path matched by the exclude regexp.
12141         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
12142         definition.
12143         * sysdeps/powerpc/powerpc32/dl-machine.h
12144         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
12145         * sysdeps/s390/s390-32/dl-machine.h
12146         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12147         * sysdeps/sparc/sparc32/dl-machine.h
12148         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12149         * sysdeps/sparc/sparc64/dl-machine.h
12150         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12152         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
12153         lazy binding.
12154         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
12155         undefined symbol errors.
12157         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
12158         DT_NEEDED entries.
12160 2012-04-05  Michael Matz  <matz@suse.de>
12162         [BZ #13592]
12163         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
12165 2012-04-05  Andreas Jaeger  <aj@suse.de>
12167         [BZ #13908]
12168         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
12169         comment.
12171 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
12173         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
12174         which ROUND is no valid rounding mode.
12176 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
12178         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
12179         read again.
12180         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
12182 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
12184         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
12185         an exception using FPU order intentionally.
12187 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
12189         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
12190         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
12191         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
12192         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
12194 2012-04-05  Simon Josefsson  <simon@josefsson.org>
12196         [BZ #12340]
12197         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
12198         EINVAL when BUFLEN is too smal.
12200 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
12202         [BZ #13553]
12203         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
12204         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
12206 2012-04-03  Andreas Jaeger  <aj@suse.de>
12208         [BZ #13938]
12209         * manual/setjmp.texi (System V contexts): Fix sentence.
12211         [BZ #13926]
12212         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
12213         New macro for this case.
12214         [!__GNUC__] (__bswap_64): New inline function for this case.
12215         * sysdeps/x86_64/bits/byteswap.h: Likewise.
12216         * bits/byteswap.h: Likewise.
12217         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
12218         ull, guard with __GLIBC_HAVE_LONG_LONG.
12220         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
12221         __GLIBC_HAVE_LONG_LONG.
12223         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
12224         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
12226 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12228         [BZ #13691]
12229         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
12230         inptr and inend, rather than using last_ch.
12232 2012-04-02  David S. Miller  <davem@davemloft.net>
12234         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
12235         * stdio-common/printf-parse.h (read_int): Change return type to
12236         'int', return -1 on INT_MAX overflow.
12237         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
12238         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
12239         overflows INT_MAX.  Check for overflow of in-format-string precision
12240         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
12241         SIZE_MAX not INT_MAX for integer overflow test.
12242         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
12243         skip the construct in the format string but do not record anything.
12244         * stdio-common/bug22.c: Adjust to test both width/prevision
12245         INT_MAX overflow as well as total length INT_MAX overflow.  Check
12246         explicitly for proper errno values.
12248 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
12250         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
12251         CHAR_MAX.
12252         * string/test-strcmp.c [! WIDE]: Likewise.
12253         * time/tst-mktime2.c: Likewise for INT_MAX.
12254         * string/test-string.h: #include <sys/param.h> for MIN.
12256         * csu/init-first.c (__libc_init_first): Call __ctype_init.
12257         * sysdeps/i386/init-first.c (init): Likewise.
12258         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
12259         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
12260         * sysdeps/sh/init-first.c (init): Likewise.
12262 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
12264         * po/ru.po: Update from translation team.
12265         * po/vi.po: Likewise.
12267 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
12269         * resolv/nss_dns/dns-host.c: Merge copyright years.
12271 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12273         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12274         Optimize memcpy with prefetch if
12275         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
12276         src, dst pointers have unequal 16 byte alignments.
12278 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12280         [BZ #13928]
12281         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
12282         from a CNAME entry and return the minimum ttl for the query.
12283         (gaih_getanswer_slice): Likewise.
12285 2012-03-30  Jeff Law  <law@redhat.com>
12287         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
12288         due to long keys.
12289         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12290         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12292         * resolv/nss_dns/dns-host.c: Update copyright year.
12294 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
12296         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
12297         requests to save a system call.  Fix check that all bytes are sent.
12299         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
12300         comments for sendmmsg.
12302 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12304         [BZ #13691]
12305         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
12306         with only 1 character between 0x0041 and 0x01b0.
12307         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
12308         * wcsmbs/tst-mbsnrtowcs.c: New file.
12310 2012-03-29  David S. Miller  <davem@davemloft.net>
12312         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
12313         small copies by hand.
12315 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12317         [BZ #13761]
12318         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
12319         _nss_compat_initgroups_dyn): Fall back to malloc/free
12320         for large group memberships.
12322 2012-03-28  David S. Miller  <davem@davemloft.net>
12324         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
12325         that branches into memcpy.
12326         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12327         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
12328         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12329         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
12330         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
12331         bits.
12332         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
12333         implementation too.
12334         * sysdeps/sparc/mempcpy.S: New file.
12336         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
12337         the IFUNC routine in the libc case.
12338         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12340         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
12341         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
12342         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
12343         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
12344         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
12345         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
12346         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
12347         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
12349         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
12350         loop to 256 bytes instead of 64 bytes and fix test signedness.
12352         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
12353         * sysdeps/sparc/sparc32/Makefile: rather than here...
12354         * sysdeps/sparc/sparc64/Makefile: and here.
12356 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
12358         * malloc/mallocbug.c: Avoid warnings about unused variables.
12360 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
12362         [BZ #13760]
12363         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
12364         in the right place. Discard and retry query if response is
12365         larger than input buffer size.
12367 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
12369         [BZ #369]
12370         [BZ #2678]
12371         [BZ #3866]
12372         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
12373         x for large integer exponent.
12374         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12375         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
12376         sign of result as needed afterwards.
12377         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12378         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
12379         result for underflowing pow the same as for overflow.
12380         (__kernel_standard_l): Handle powl overflow and underflow here
12381         rather than calling __kernel_standard.
12382         * math/libm-test.inc (pow_test): Add more tests.
12384         [BZ #3868]
12385         [BZ #13879]
12386         [BZ #13910]
12387         [BZ #13911]
12388         [BZ #13912]
12389         [BZ #13913]
12390         [BZ #13915]
12391         [BZ #13916]
12392         [BZ #13917]
12393         [BZ #13918]
12394         [BZ #13919]
12395         [BZ #13920]
12396         [BZ #13921]
12397         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
12398         * sysdeps/ieee754/k_standard.c: Include <float.h>.
12399         (__kernel_standard_l): New function.
12400         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
12401         __kernel_standard.
12402         * math/w_acosl.c (__acosl): Likewise.
12403         * math/w_asinl.c (__asinl): Likewise.
12404         * math/w_atan2l.c (__atan2l): Likewise.
12405         * math/w_atanhl.c (__atanhl): Likewise.
12406         * math/w_coshl.c (__coshl): Likewise.
12407         * math/w_exp10l.c (__exp10l): Likewise.
12408         * math/w_exp2l.c (__exp2l): Likewise.
12409         * math/w_fmodl.c (__fmodl): Likewise.
12410         * math/w_hypotl.c (__hypotl): Likewise.
12411         * math/w_j0l.c (__j0l, __y0l): Likewise.
12412         * math/w_j1l.c (__j1l, __y1l): Likewise.
12413         * math/w_jnl.c (__jnl, __ynl): Likewise.
12414         * math/w_lgammal.c (__lgammal): Likewise.
12415         * math/w_log10l.c (__log10l): Likewise.
12416         * math/w_log2l.c (__log2l): Likewise.
12417         * math/w_logl.c (__logl): Likewise.
12418         * math/w_powl.c (__powl): Likewise.
12419         * math/w_remainderl.c (__remainderl): Likewise.
12420         * math/w_scalbl.c (sysv_scalbl): Likewise.
12421         * math/w_sinhl.c (__sinhl): Likewise.
12422         * math/w_sqrtl.c (__sqrtl): Likewise.
12423         * math/w_tgammal.c (__tgammal): Likewise.
12424         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
12425         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
12426         * math/libm-test.inc (acos_test): Add more tests.
12427         (acosh_test): Likewise.
12428         (asin_test): Likewise.
12429         (atanh_test): Likewise.
12430         (exp_test): Likewise.
12431         (exp10_test): Likewise.
12432         (exp2_test): Likewise.
12433         (expm1_test): Likewise.
12434         (lgamma_test): Likewise.
12435         (log_test): Likewise.
12436         (log10_test): Likewise.
12437         (log1p_test): Likewise.
12438         (log2_test): Likewise.
12439         (pow_test): Do not allow some spurious overflow exceptions.
12440         (sqrt_test): Add more tests.
12441         (tgamma_test): Likewise.
12442         (y0_test): Likewise.
12443         (y1_test): Likewise.
12444         (yn_test): Likewise.
12446 2012-03-27  Anton Blanchard  <anton@samba.org>
12448         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
12449         MAP_HUGETLB.
12450         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12451         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12452         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12454 2012-03-27  David S. Miller  <davem@davemloft.net>
12456         * conform/Makefile: Run run-conformtest.sh using $(BASH).
12458         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
12459         have-as-vis3 check.
12461 2012-03-27  Andreas Jaeger  <aj@suse.de>
12463         * sysdeps/x86_64/elf/configure.in: Moved to ...
12464         * sysdeps/x86_64/configure.in: ... here.
12465         * sysdeps/x86_64/elf/start.S: Moved to ...
12466         * sysdeps/x86_64/start.S: ... here.
12467         * sysdeps/x86_64/elf/configure: Delete.
12469         * sysdeps/x86_64/configure.in: Merge contents from
12470         sysdeps/i386/configure.in (without i686 check).
12472         * sysdeps/i386/elf/Versions: Merge into ...
12473         * sysdeps/i386/Versions: ... this.
12474         * sysdeps/i386/elf/Versions: Delete file.
12475         * sysdeps/i386/elf/start.S: Moved to ...
12476         * sysdeps/i386/start.S: ...here.
12477         * sysdeps/i386/elf/configure.in: Merge into...
12478         * sysdeps/i386/configure.in: ...here.
12479         * sysdeps/i386/elf/configure.in: Delete file.
12480         * sysdeps/i386/elf/configure: Delete file.
12482         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
12483         * debug/backtracesyms.c: ... here.
12484         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
12485         * debug/backtracesymsfd.c: ... here.
12486         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
12487         * sysdeps/generic/ifunc-sel.h: ... here.
12489         * sysdeps/unix/i386/start.c: Delete file.
12490         * sysdeps/unix/sparc/start.c: Delete file.
12491         * sysdeps/unix/start.c: Delete file.
12493         * sysdeps/sh/elf/configure.in: Moved to ...
12494         * sysdeps/sh/configure.in: ... here.
12495         * sysdeps/sh/elf/start.S: Moved to ...
12496         * sysdeps/sh/start.S: ... here.
12497         * sysdeps/sh/elf/configure: Delete file.
12499         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
12500         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
12501         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
12502         * sysdeps/powerpc/powerpc64/entry.h: ... here.
12503         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
12504         * sysdeps/powerpc/powerpc64/start.S: here.
12505         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
12506         * sysdeps/powerpc/powerpc64/Makefile: ... this.
12507         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
12508         * sysdeps/powerpc/powerpc64/configure.in: ... this.
12509         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
12511         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
12512         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
12513         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
12514         * sysdeps/powerpc/powerpc32/start.S: ... here.
12515         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
12516         * sysdeps/powerpc/powerpc32/configure.in: ... this.
12517         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
12519         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
12520         * sysdeps/powerpc/ifunc-sel.h: ... here.
12521         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
12522         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
12524         * sysdeps/sparc/elf/configure.in: Moved to ...
12525         * sysdeps/sparc/configure.in: ... here.
12526         * sysdeps/sparc/elf/configure: Delete file.
12527         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
12528         * sysdeps/sparc/sparc32/start.S: ... here.
12529         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
12530         * sysdeps/sparc/sparc64/start.S: ... here.
12531         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
12532         * sysdeps/sparc/sparc32/Makefile: ... this.
12533         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
12534         * sysdeps/sparc/sparc64/Makefile: ... this.
12536         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
12537         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
12538         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
12539         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
12540         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
12541         * sysdeps/s390/s390-32/setjmp.S: ... here.
12542         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
12543         * sysdeps/s390/s390-32/configure.in: ... here.
12544         * sysdeps/s390/s390-32/elf/configure: Delete file.
12545         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
12546         * sysdeps/s390/s390-32/start.S: ... here.
12548         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
12549         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
12550         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
12551         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
12552         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
12553         * sysdeps/s390/s390-64/setjmp.S: ... here.
12554         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
12555         * sysdeps/s390/s390-64/configure.in: ... here
12556         * sysdeps/s390/s390-64/elf/configure: Delete file.
12557         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
12558         * sysdeps/s390/s390-64/start.S: ... here.
12559         * sysdeps/s390/s390-64/elf/configure: Delete.
12561         * configure.in: Remove support for elf directories in sysdeps.
12563         * configure: Regenerated.
12564         * sysdeps/i386/configure: Regenerated.
12565         * sysdeps/powerpc/powerpc32/configure: Regenerated.
12566         * sysdeps/powerpc/powerpc64/configure: Regenerated.
12567         * sysdeps/s390/s390-32/configure: Regenerated.
12568         * sysdeps/s390/s390-64/configure: Regenerated.
12569         * sysdeps/sh/configure: Regenerated.
12570         * sysdeps/sparc/configure: Regenerated.
12571         * sysdeps/x86_64/configure: Regenerated.
12573 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
12575         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12577         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
12578         denormal result into account.
12580 2012-03-25  Roland McGrath  <roland@hack.frob.com>
12582         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
12583         Reported by Allan McRae <allan@archlinux.org>.
12585 2012-03-23  Jeff Law  <law@redhat.com>
12587         * nss/getnssent.c (__nss_getent): Fix typo.
12589 2012-03-23  David S. Miller  <davem@davemloft.net>
12591         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12593 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
12595         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
12596         to pad to uint64_t for each field.
12597         (dl_tls_index): Replace unsigned long with uint64_t.
12599 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
12600         Paul Pluzhnikov  <ppluzhnikov@google.com>
12602         [BZ #6528]
12603         * grp/Makefile (otherlibs): Don't set it.
12604         * inet/Makefile (otherlibs): Likewise.
12605         * login/Makefile (otherlibs): Likewise.
12606         * nscd/Makefile (otherlibs): Likewise.
12607         * posix/Makefile (otherlibs): Likewise.
12608         * pwd/Makefile (otherlibs): Likewise.
12609         * rt/Makefile (otherlibs): Likewise.
12610         * sunrpc/Makefile (otherlibs): Likewise.
12611         * nss/Makefile (otherlibs): Likewise.
12612         Add libnss_files to routines and static-only-routines.
12613         ($(objpfx)getent): Remove rule.
12614         * resolv/Makefile: Add libnss_dns and libresolv to routines and
12615         static-only-routines.
12617 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
12619         [BZ #13892]
12620         * math/s_cexp.c: Include <float.h>.
12621         (__cexp): Handle exp result overflowing not necessarily
12622         overflowing both real and imaginary parts of result.
12623         * math/s_cexpf.c: Likewise.
12624         * math/s_cexpl.c: Likewise.
12625         * math/libm-test.inc (cexp_test): Add more tests.
12626         * sysdeps/i386/fpu/libm-test-ulps: Update.
12627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12629 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
12631         * include/link.h (ELFW): New macro.
12632         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
12633         Replace ELF64_R_TYPE with ELFW(R_TYPE).
12635 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
12637         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
12638         with uint64_t.
12640 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
12642         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
12643         declaration.
12644         (struct La_x32_retval): Likewise.
12646 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
12648         * sysdeps/x86_64/preconfigure.in: New file.
12649         * sysdeps/x86_64/preconfigure: New generated file.
12651 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
12653         [BZ #13824]
12654         * math/e_exp2l.c: Include <float.h>.
12655         (__ieee754_exp2l): Handle overflow and underflow cases
12656         separately.  Only pass fractional part of argument to
12657         __ieee754_expl.
12658         * math/libm-test.inc (exp2_test): Add more tests.
12660         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
12661         negating x to take absolute value.
12662         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
12663         Likewise.
12664         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12665         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
12666         Likewise.
12667         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
12668         computing low part if x was negated.
12669         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12671 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
12673         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
12674         la_x32_gnu_pltexit.
12675         (pltexit): Cast int_retval to ptrdiff_t.
12676         * elf/tst-auditmod3b.c: Likewise.
12677         * elf/tst-auditmod4b.c: Likewise.
12678         * elf/tst-auditmod5b.c: Likewise.
12679         * elf/tst-auditmod6b.c: Likewise.
12680         * elf/tst-auditmod6c.c: Likewise.
12681         * elf/tst-auditmod7b.c: Likewise.
12683         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
12684         and x32_gnu_pltexit.
12686         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
12687         __ELF_NATIVE_CLASS.
12688         (La_x32_regs): New macro.
12689         (La_x32_retval): Likewise.
12690         (la_x32_gnu_pltenter): New function prototype.
12691         (la_x32_gnu_pltexit): Likewise.
12693 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
12695         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
12696         exponent.
12698         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12700         * configure.in (libc_cv_cc_nofma): Check for option to disable
12701         generation of FMA instructions.
12702         * configure: Regenerate.
12703         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
12704         * sysdeps/ieee754/dbl-64/Makefile: New file.
12705         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
12706         Remove brandred-fma4.
12707         (CFLAGS-brandred-fma4.c): Remove.
12708         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
12709         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
12710         define.
12711         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
12712         define.
12714 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
12716         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12717         LLONG_MAX != LONG_MAX.
12718         (_itoa_word): Use _ITOA_WORD_TYPE on value.
12719         (_fitoa_word): Likewise.
12720         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
12721         LLONG_MAX != LONG_MAX.
12722         * stdio-common/_itowa.h: Include <_itoa.h>.
12723         (_itowa_word): Use _ITOA_WORD_TYPE on value.
12724         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
12725         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
12726         only if not defined.
12727         (_ITOA_WORD_TYPE): Likewise.
12728         (_itoa_word): Use _ITOA_WORD_TYPE on value.
12729         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
12731 2012-03-21  David S. Miller  <davem@davemloft.net>
12733         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12735 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
12737         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
12738         of x86_64 when setting libc_cv_slibdir, libdir and
12739         libc_cv_localedir.
12740         * sysdeps/unix/sysv/linux/configure: Regenerated.
12742 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
12744         * manual/lang.texi (Old Varargs): Remove section.
12745         (How Variadic): Update menu.
12746         (va_start): Do not mention varargs.h.
12748 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
12749             Joseph Myers  <joseph@codesourcery.com>
12751         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
12752         link test.
12753         * configure: Regenerated.
12755 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
12757         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
12758         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
12759         conformtest.pl
12761 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
12763         * NOTES: Remove.
12764         * Makefile (files-for-dist): Remove NOTES.
12765         (NOTES): Remove rule.
12766         * README: Don't refer to NOTES.
12767         * manual/creature.texi: Don't include macros.texi.
12768         * manual/intro.texi (creature.texi): Remove comment referring to
12769         NOTES.
12771         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
12772         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
12773         * configure: Regenerated.
12774         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
12775         LIBC_TRY_CC_OPTION.
12776         (libc_cv_as_i686): Likewise.
12777         (libc_cv_cc_avx): Likewise.
12778         (libc_cv_cc_sse2avx): Likewise.
12779         (libc_cv_cc_fma4): Likewise.
12780         (libc_cv_cc_novzeroupper): Likewise.
12781         * sysdeps/i386/configure: Regenerated.
12783         [BZ #13883]
12784         * sysdeps/i386/fpu/s_cexp.S: Remove.
12785         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12786         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12787         * math/libm-test.inc (cexp_test): Add more tests.
12788         * sysdeps/i386/fpu/libm-test-ulps: Update.
12789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12791 2012-03-21  Allan McRae  <allan@archlinux.org>
12793         * timezone/Makefile: Do not install iso3166.tab and zone.tab
12795 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
12797         [BZ #13871]
12798         * math/w_exp2.c: Do not include <float.h>.
12799         (o_threshold, u_threshold): Remove.
12800         (__exp2): Calculate result before checking finiteness and calling
12801         __kernel_standard.
12802         * math/w_exp2f.c: Likewise.
12803         * math/w_exp2l.c: Likewise.
12804         * math/libm-test.inc (exp2_test): Require overflow exception for
12805         1e6 input.
12807         [BZ #3866]
12808         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
12809         range of signed 64-bit integers before using fistpll.  Remove
12810         checks for whether integers fit in mantissa bits.
12811         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
12812         the range of signed 32-bit integers before using fistpl.  Remove
12813         checks for whether integers fit in mantissa bits.
12814         * sysdeps/i386/fpu/e_powl.S (p64): New object.
12815         (__ieee754_powl): Test for y outside the range of signed 64-bit
12816         integers before using fistpll.  Reduce 64-bit values to 63-bit
12817         ones as needed.
12818         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
12819         divide-by-zero is raised for zero to large negative powers.
12820         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
12821         (__ieee754_powl): Test for y outside the range of signed 64-bit
12822         integers before using fistpll.  Reduce 64-bit values to 63-bit
12823         ones as needed.
12824         * math/libm-test.inc (pow_test): Add more tests.
12826 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
12828         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
12829         <stdio-common/_itoa.h>.
12830         * debug/segfault.c: Likewise.
12831         * elf/dl-cache.c: Likewise.
12832         * elf/dl-minimal.c: Likewise.
12833         * elf/dl-misc.c: Likewise.
12834         * elf/dl-sysdep.c: Likewise.
12835         * elf/dl-version.c: Likewise.
12836         * elf/rtld.c: Likewise.
12837         * hurd/hurdsock.c: Likewise.
12838         * hurd/lookup-retry.c: Likewise.
12839         * malloc/malloc.c: Likewise.
12840         * malloc/mtrace.c: Likewise.
12841         * nscd/nscd_getgr_r.c: Likewise.
12842         * nscd/nscd_getpw_r.c: Likewise.
12843         * nscd/nscd_getserv_r.c: Likewise.
12844         * posix/getopt_init.c: Likewise.
12845         * posix/wordexp.c: Likewise.
12846         * stdio-common/_itoa.c: Likewise.
12847         * stdio-common/printf_fphex.c: Likewise.
12848         * stdio-common/vfprintf.c: Likewise.
12849         * string/_strerror.c: Likewise.
12850         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
12851         * sysdeps/i386/i686/hp-timing.h: Likewise.
12852         * sysdeps/mach/_strerror.c: Likewise.
12853         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
12854         * sysdeps/mach/hurd/sethostid.c: Likewise.
12855         * sysdeps/mach/hurd/xmknodat.c: Likewise.
12856         * sysdeps/mach/xpg-strerror.c: Likewise.
12857         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12858         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12859         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
12860         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
12861         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12862         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
12863         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
12864         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
12865         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
12866         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
12867         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
12868         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12869         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
12870         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12871         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12872         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
12873         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
12874         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
12875         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
12876         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12877         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
12879         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
12881         * stdio-common/_itoa.h: Moved to ...
12882         * sysdeps/generic/_itoa.h: Here.
12884         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
12886         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
12887         instead of "_itoa.h" and "_itowa.h".
12888         * stdio-common/vfprintf.: Likewise.
12890 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
12892         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
12893         <bits/wordsize.h>.
12894         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
12895         (__signbit): Likwise.
12896         (llrintf): Likwise.
12897         (llrint): Likwise.
12899 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
12901         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
12902         __WORDSIZE != 64.
12904 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
12906         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
12907         OVERFLOW_EXCEPTION_OK.
12908         * math/libm-test.inc ("Philosophy"): Update comment about
12909         exception testing.
12910         (OVERFLOW_EXCEPTION): Define.
12911         (OVERFLOW_EXCEPTION_OK): Likewise.
12912         (INVALID_EXCEPTION_OK): Renumber.
12913         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12914         (IGNORE_ZERO_INF_SIGN): Likewise.
12915         (test_exceptions): Handle FE_OVERFLOW.
12916         (exp10_test): Expect overflow exceptions.
12917         (exp2_test): Likewise.
12918         (expm1_test): Likewise.
12919         (nextafter_test): Likewise.
12920         (pow_test): Likewise.
12921         (scalbn_test): Likewise.
12922         (scalbln_test): Likewise.
12924 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
12926         * sysdeps/x86_64/bits/atomic.h
12927         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
12928         64bit integer.
12929         (atomic_exchange_acq): Likewise.
12930         (__arch_exchange_and_add_body): Likewise.
12931         (__arch_add_body): Likewise.
12932         (atomic_add_negative): Likewise.
12933         (atomic_add_zero): Likewise.
12935 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
12937         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
12938         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
12940 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
12942         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
12943         Check __x86_64__ instead of __WORDSIZE.
12945 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
12947         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
12949 2012-03-19  David S. Miller  <davem@davemloft.net>
12951         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12953         * sysdeps/sparc/fpu/fenv_private.h: New file.
12954         * sysdeps/sparc/fpu/math_private.h: Use it.
12955         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
12956         Remove.
12957         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
12958         (libc_feholdexcept_setroundl): Remove.
12959         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
12960         Remove.
12961         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
12962         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
12964 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
12966         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
12967         int64_t instead of long int.
12968         (INSERT_WORDS64): Likwise.
12970 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
12972         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
12973         _Unwind_GetCFA return to _Unwind_Ptr first.
12975 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
12977         [BZ #13629]
12978         * math/s_clog.c: Include <float.h>.
12979         (__clog): Scale large or subnormal inputs.
12980         * math/s_clogf.c: Likewise.
12981         * math/s_clogl.c: Likewise.
12982         * math/s_clog10.c: Include <float.h>.
12983         (M_LOG10_2): Define.
12984         (__clog10): Scale large or subnormal inputs.
12985         * math/s_clog10f.c: Likewise.
12986         * math/s_clog10l.c: Likewise.
12987         * math/libm-test.inc (clog_test): Add more tests.
12988         (clog10_test): Likewise.
12989         * sysdeps/i386/fpu/libm-test-ulps: Update.
12990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12992         [BZ #11451]
12993         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
12994         x and y.
12995         * math/libm-test.inc (atan2_test): Add another test.
12997         * Makerules (common-objdir-compile): Remove.
12998         * sysdeps/unix/Makefile (config-generated): Do not add
12999         $(unix-generated) to variable.
13000         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
13001         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
13002         Remove rule.
13003         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
13004         Likewise.
13005         [generic bits/local_lim.h] (before-compile): Do not append to
13006         variable.
13007         [generic bits/local_lim.h] (common-generated): Likewise.
13008         [generic sys/param.h] (before-compile): Do not append to variable.
13009         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
13010         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
13011         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
13012         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
13013         include.
13014         [generic sys/param.h] (sys/param.h-includes): Remove variable.
13015         [generic sys/param.h] (sys/param.h-includes): Remove rule.
13016         [generic sys/param.h] ($(addprefix
13017         $(common-objpfx),$(sys/param.h-includes))): Likewise.
13018         [generic sys/param.h] (common-generated): Do not append to
13019         variable.
13020         [generic sys/param.h] (sysdep_headers): Likewise.
13021         [generic bits/errno.h] (before-compile): Do not append to
13022         variable.
13023         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
13024         rule.
13025         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
13026         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
13027         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
13028         [generic bits/errno.h] (common-generated): Do not append to
13029         variable.
13030         [generic bits/ioctls.h] (before-compile): Do not append to
13031         variable.
13032         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
13033         rule.
13034         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
13035         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
13036         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
13037         rule.
13038         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
13039         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
13040         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
13041         [generic bits/ioctls.h] (common-generated): Do not append to
13042         variable.
13043         [generic sys/syscall.h] (syscall.h): Remove variable.
13044         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
13045         rule.
13046         [generic sys/syscall.h] (before-compile): Do not append to
13047         variable.
13048         [generic sys/syscall.h] (common-generated): Likewise.
13049         * sysdeps/unix/errnos-tmpl.c: Remove file.
13050         * sysdeps/unix/errnos.awk: Likewise.
13051         * sysdeps/unix/ioctls-tmpl.c: Likewise.
13052         * sysdeps/unix/ioctls.awk: Likewise.
13053         * sysdeps/unix/mk-local_lim.c: Likewise.
13054         * sysdeps/unix/snarf-ioctls: Likewise.
13056 2012-03-19  Richard Henderson  <rth@twiddle.net>
13058         * sysdeps/i386/fpu/fenv_private.h: New file.
13059         * sysdeps/i386/fpu/math_private.h: Use it.
13060         (math_opt_barrier, math_force_eval): Remove.
13061         (libc_feholdexcept_setround_53bit): Remove.
13062         (libc_feupdateenv_53bit): Remove.
13063         * sysdeps/x86_64/fpu/math_private.h: Likewise.
13064         (math_opt_barrier, math_force_eval): Remove.
13065         (libc_feholdexcept): Remove.
13066         (libc_feholdexcept_setround): Remove.
13067         (libc_fetestexcept, libc_fesetenv): Remove.
13068         (libc_feupdateenv_test): Remove.
13069         (libc_feupdateenv, libc_feholdsetround): Remove.
13070         (libc_feresetround): Remove.
13072         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
13073         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
13075         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
13076         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
13077         (libc_feupdateenv_testl): New.
13078         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
13079         (libc_feupdateenv_testf): New.
13080         (libc_feupdateenv): Use libc_feupdateenv_test.
13081         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
13082         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
13084         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
13085         (libc_feholdsetroundf, libc_feholdsetroundl): New.
13086         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
13087         (libc_feresetround_noex): New.
13088         (libc_feresetround_noexf): New.
13089         (libc_feresetround_noexl): New.
13090         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
13091         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
13092         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
13093         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
13094         SET_RESTORE_ROUND.
13095         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
13096         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
13097         (__cos): Likewise.
13098         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
13099         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
13100         SET_RESTORE_ROUND_NOEX.
13101         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
13102         SET_RESTORE_ROUND_NOEXF.
13103         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
13104         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
13105         (libc_feholdsetroundf): New.
13106         (libc_feresetround, libc_feresetroundf): New.
13108         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
13109         (libc_feholdexcept_setround_53bit): Convert from macro to function.
13110         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
13112         * sysdeps/generic/math_private.h: Include <fenv.h>.
13113         (default_libc_feholdexcept): New.
13114         (default_libc_feholdexcept_setround): New.
13115         (default_libc_fesetenv, default_libc_feupdateenv): New.
13116         (libc_feholdexcept): Only define if undefined.
13117         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
13118         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
13119         (libc_feholdexcept_setroundl): Likewise.
13120         (libc_feholdexcept_setround_53bit): Likewise.
13121         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
13122         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
13123         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
13124         (libc_feupdateenv_53bit): Likewise.
13125         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
13126         (libc_feholdexcept): Convert from macro to inline function.
13127         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
13128         (libc_fesetenv, libc_feupdateenv): Likewise.
13130         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
13131         not previously defined.
13132         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
13133         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
13134         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
13135         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
13136         * sysdeps/ieee754/flt-32/math_private.h: New file.
13137         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
13138         math_private.h below SET_FLOAT_WORD.
13139         (__isnan, __isinf_ns, __finite): Remove.
13140         (__isnanf, __isinf_nsf, __finitef): Remove.
13142 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
13144         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13146 2012-03-17  David S. Miller  <davem@davemloft.net>
13148         [BZ #6471]
13149         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
13150         for 2.16.
13152 2012-03-16  David S. Miller  <davem@davemloft.net>
13154         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
13155         warnings.
13157         [BZ #6471]
13158         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
13159         properly.
13160         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
13161         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
13162         sysdep_routines when subdir is sysvipc.
13163         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
13164         __getshmlba helper.
13166         * sysdeps/sparc/fpu/libm-test/ulps: Update.
13168 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
13170         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
13171         [__LP64__].
13173 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
13175         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
13176         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
13177         (__lround): Renamed to ...
13178         (__llround): This.  Replace long int with long long int.
13179         Define lround functions as aliases of llround functions.
13180         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
13182 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
13184         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
13185         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
13186         adresses to uintptr_t.  Replace "long int" and "unsigned long
13187         int" with "greg_t" on va_arg.
13189 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
13191         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
13192         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
13194         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
13195         Move e_machine check before EI_CLASS check.  Handle x32
13196         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
13197         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
13198         SKIP_EM_IA_64 and include
13199         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
13201         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
13202         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
13203         (add_system_dir): New macro.
13205         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
13206         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
13208 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
13210         [BZ #2551]
13211         [BZ #2552]
13212         [BZ #2553]
13213         [BZ #2554]
13214         [BZ #2562]
13215         [BZ #2563]
13216         [BZ #2565]
13217         [BZ #2566]
13218         [BZ #2576]
13219         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
13220         (y0): Likewise.
13221         * math/w_j0f.c (j0f): Likewise.
13222         (y0f): Likewise.
13223         * math/w_j0l.c (__j0l): Likewise.
13224         (__y0l): Likewise.
13225         * math/w_j1.c (j1): Likewise.
13226         (y1): Likewise.
13227         * math/w_j1f.c (j1f): Likewise.
13228         (y1f): Likewise.
13229         * math/w_j1l.c (__j1l): Likewise.
13230         (__y1l): Likewise.
13231         * math/w_jn.c (jn): Likewise.
13232         (yn): Likewise.
13233         * math/w_jnf.c (jnf): Likewise.
13234         (ynf): Likewise.
13235         * math/w_jnl.c (__jnl): Likewise.
13236         (__ynl): Likewise.
13237         * math/libm-test.inc (j0_test): Add more tests.
13238         (j1_test): Likewise.
13239         (jn_test): Likewise.  Add trailing semicolon to existing test.
13240         (y0_test): Likewise.
13241         (y1_test): Likewise.
13242         * sysdeps/i386/fpu/libm-test-ulps: Update.
13243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13245         [BZ #13851]
13246         [BZ #13854]
13247         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
13248         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
13249         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
13250         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
13251         (__tanl): Set errno for infinite argument.
13252         * sysdeps/i386/fpu/mptan.c: Remove.
13253         * sysdeps/i386/fpu/s_tan.S: Likewise.
13254         * sysdeps/i386/fpu/s_tanl.S: Likewise.
13255         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
13256         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
13257         * math/libm-test.inc (tan_test): Add more tests and enable more
13258         tests for double and long double.
13259         * sysdeps/i386/fpu/libm-test-ulps: Update.
13260         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13262 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
13264         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
13265         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
13267 2012-03-16  Roland McGrath  <roland@hack.frob.com>
13269         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
13270         * configure.in: Use it for both main tree and add-ons.
13271         * configure: Regenerated.
13273 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
13275         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
13277 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
13279         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
13280         in comment.
13282         [BZ #13851]
13283         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
13284         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
13285         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13286         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
13287         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
13288         infinite argument.
13289         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
13290         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
13291         != 0 for prec == 2.
13292         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
13293         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
13294         * sysdeps/i386/fpu/s_cosl.S: Likewise.
13295         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
13296         * sysdeps/i386/fpu/s_sinl.S: Likewise.
13297         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
13298         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
13299         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
13300         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
13301         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
13302         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
13303         * math/libm-test.inc (cos_test): Add more tests and enable more
13304         tests for long double.
13305         (sin_test): Likewise.
13306         (sincos_test): Likewise.
13307         * sysdeps/i386/fpu/libm-test-ulps: Update.
13308         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13310 2012-03-16  David S. Miller  <davem@davemloft.net>
13312         * sysdeps/sparc/fpu/math_private.h: New file.
13314 2012-03-15  David S. Miller  <davem@davemloft.net>
13316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
13317         file.
13318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
13319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
13320         file.
13321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
13322         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
13323         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
13324         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
13325         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
13326         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
13327         sysdep routines.
13328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13330         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
13331         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
13333         * sysdeps/sparc/sparc-ifunc.h: New file.
13334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
13335         sparc-ifunc.h
13336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
13338         Likewise.
13339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
13340         Likewise.
13341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
13342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
13343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13345         Likewise.
13346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
13348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
13350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
13351         Likewise.
13352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
13353         Likewise.
13354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
13356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
13357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
13358         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13359         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13360         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
13361         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
13362         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13363         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13364         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
13365         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
13366         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
13367         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
13368         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
13369         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
13370         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
13371         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
13372         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
13373         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
13374         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
13375         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
13376         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
13377         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
13379 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
13381         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
13382         scaling.
13383         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13385 2012-03-15  Andreas Jaeger  <aj@suse.de>
13387         [BZ #13852]
13388         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
13389         ieee754/flt-32 implementation for sin, cos and sincos.
13390         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
13391         * sysdeps/i386/fpu/s_cosf.S: Likewise.
13392         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
13393         * sysdeps/i386/fpu/s_sinf.S: Likewise.
13394         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
13395         ieee754/flt-32 implementation for tan.
13397         * math/libm-test.inc (cos_test): Enable some large input tests for
13398         float as well
13399         (sin_test): Likewise.
13400         (sincos_test): Likewise.
13401         (tan_test): Add tests for large input.
13403         * sysdeps/i386/fpu/libm-test-ulps: Update.
13405 2012-03-15  Andreas Jaeger  <aj@suse.de>
13407         [BZ #13658]
13408         * math/libm-test.inc (cos_test): Add more test cases.
13409         (sin_test): Likewise.
13410         (sincos_test): Likewise.
13412 2012-03-15  Andreas Jaeger  <aj@suse.de>
13414         [BZ #13837]
13415         * math/libm-test.inc (cos_test): Add a test case for large input
13416         value.
13417         (sin_test): Likewise.
13418         (sincos_test): Likewise.
13420 2012-03-15  Andreas Jaeger  <aj@suse.de>,
13421         Joseph Myers  <joseph@codesourcery.com>
13423         [BZ #13658]
13424         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
13425         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
13426         * sysdeps/i386/fpu/branred.c: Likewise.
13427         * sysdeps/i386/fpu/dosincos.c: Likewise.
13428         * sysdeps/i386/fpu/mpa.c: Likewise.
13429         * sysdeps/i386/fpu/s_cos.S: Likewise.
13430         * sysdeps/i386/fpu/s_sin.S: Likewise.
13431         * sysdeps/i386/fpu/s_sincos.S: Likewise.
13432         * sysdeps/i386/fpu/sincos32.c: Likewise.
13434         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
13435         Define.
13436         (libc_feupdateenv_53bit): Define.
13437         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
13438         Define.
13439         (libc_feupdateenv_53bit): Define.
13441         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
13442         53 bit (without extend i386 double precision).
13444         * math/libm-test.inc (sincos_test): Add tests for large input.
13445         (sin): Likewise.
13446         (cos): Likewise.
13448         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13450 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
13452         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13454 2012-03-15  David S. Miller  <davem@davemloft.net>
13456         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
13457         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
13458         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
13459         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
13460         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
13461         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
13462         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
13463         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
13464         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
13465         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
13466         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
13467         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
13468         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
13469         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
13470         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
13471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
13472         file.
13473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
13474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
13475         file.
13476         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
13477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
13478         file.
13479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
13480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
13481         file.
13482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
13483         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
13484         fmin/fmax sysdep routines.
13485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13487 2012-03-14  David S. Miller  <davem@davemloft.net>
13489         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
13490         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
13491         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
13492         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
13493         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
13494         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
13495         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
13496         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
13497         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
13498         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
13499         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
13500         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
13501         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
13502         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
13503         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
13504         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
13505         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
13506         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
13507         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
13508         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
13509         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
13510         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
13511         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
13512         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
13513         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
13514         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
13515         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
13516         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
13517         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
13518         routines.
13519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
13520         file.
13521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
13522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
13523         file.
13524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
13525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
13526         file.
13527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
13528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
13529         file.
13530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
13531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
13532         file.
13533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
13534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
13535         file.
13536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
13537         file.
13538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
13539         file.
13540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
13541         file.
13542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
13543         New file.
13544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
13545         file.
13546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
13547         file.
13548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
13549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
13550         file.
13551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
13552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
13553         file.
13554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
13555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
13556         file.
13557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
13558         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
13559         VIS3 routines.
13561         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13562         New file.
13564         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13566         * sysdeps/sparc/configure.in: New file.
13567         * sysdeps/sparc/configure: Generate.
13568         * configure.in (libc_cv_sparc_as_vis3): Substitute.
13569         * configure: Regenerate.
13570         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
13571         * config.make.in (have-as-vis3): New.
13572         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
13573         available use -Av9d instead of -Av9a.
13574         * sysdeps/sparc/sparc64/Makefile: Likewise.
13575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
13576         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
13577         New file.
13578         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
13579         file.
13580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
13581         New file.
13582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
13583         file.
13584         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
13585         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
13586         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
13587         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
13588         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
13590         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
13591         fzeros/fnegs to load 0x80000000 into a float register instead of
13592         using the stack.
13593         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
13595 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
13597         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13598         bits/syscall.h.
13599         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
13600         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
13601         ($(inst_includedir)/bits/syscall.h): Remove rule.
13602         ($(objpfx)bits/syscall.d): Include instead of
13603         $(objpfx)syscall-list.d.
13604         (generated): Change syscall-list.h and syscall-list.d to
13605         bits/syscall.h and bits/syscall.d.
13607 2012-03-14  Roland McGrath  <roland@hack.frob.com>
13609         [BZ #13846]
13610         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
13612 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
13614         [BZ #13841]
13615         * math/s_csqrt.c: Include <float.h>.
13616         (__csqrt): Scale large or subnormal inputs.
13617         * math/s_csqrtf.c: Likewise.
13618         * math/s_csqrtl.c: Likewise.
13619         * math/libm-test.inc (csqrt_test): Add more tests.
13620         * sysdeps/i386/fpu/libm-test-ulps: Update.
13621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13623         [BZ #13840]
13624         * math/libm-test.inc (hypot_test): Add more tests.
13626 2012-03-13  David S. Miller  <davem@davemloft.net>
13628         [BZ #13840]
13629         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
13630         double-precision for the calculation instead of scaling.
13632 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
13634         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
13635         manipulate bits before adding and subtracting TWO52[sx].
13636         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
13637         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
13638         Likewise.
13639         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
13641 2012-03-13  David S. Miller  <davem@davemloft.net>
13643         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
13644         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
13645         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
13646         rtld-global-offsets.h
13647         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13649         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
13650         large parameters.
13652         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
13654         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
13655         'err' in the ifdef scope in which it is actually used.
13657         * nss/nss_db/db-init.c: Include string.h
13659 2012-03-12  David S. Miller  <davem@davemloft.net>
13661         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13662         masking out of the most significant byte of random value used.
13663         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13664         Fix coding style in previous change.
13666         * sysdeps/unix/sysv/linux/kernel-features.h
13667         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
13668         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
13669         expression.
13670         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
13671         later.
13673 2012-03-11  David S. Miller  <davem@davemloft.net>
13675         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13676         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
13677         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
13678         for 'resultvar' otherwise things get truncated on 64-bit.
13680         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13681         Fix masking out of the most significant byte of random value used.
13683         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13685 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
13687         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13689 2012-03-09  David S. Miller  <davem@davemloft.net>
13691         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
13692         variables with appropriate CPP guards.
13693         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
13694         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
13695         on resulting framesize and the management of the outregs buffer for pltexit.
13696         Preserve floating point return values across _dl_call_pltexit call.
13697         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
13698         framesize and the management of the outregs buffer for pltexit.
13699         Preserve floating point return values across _dl_call_pltexit
13700         call.
13701         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
13702         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
13703         (print_exit): Fix format string for return register value.
13705 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
13707         * sunrpc/Makefile (others): Add rpcgen.
13708         ($(objpfx)rpcgen): Remove special build rule and dependency on
13709         libc.
13710         * sunrpc/rpcgen.c: New file.
13712 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
13714         [BZ #13673]
13715         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
13716         * stdio-common/bug-vfprintf-nargs.c: Likewise.
13717         * sysdeps/i386/crti.S: Likewise.
13718         * sysdeps/i386/crtn.S: Likewise.
13719         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
13720         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
13721         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
13722         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
13723         * sysdeps/sh/crti.S: Likewise.
13724         * sysdeps/sh/crtn.S: Likewise.
13725         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13727         [BZ #13673]
13728         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
13729         with URL.
13730         * locale/programs/locfile-kw.gperf: Likewise.
13731         * locale/programs/charmap-kw.h: Regenerated.
13732         * locale/programs/locfile-kw.h: Likewise.
13734         [BZ #13673]
13735         * intl/plural.y: Replace FSF snail mail address with URL.
13736         * intl/plural.c: Regenerated.
13738 2012-03-09  Richard Henderson  <rth@twiddle.net>
13740         * include/math_private.h: Remove file.
13741         * math/math_private.h: Move file ...
13742         * sysdeps/generic/math_private.h: ... here.
13744         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
13745         * sysdeps/powerpc/fpu/math_private.h: Likewise.
13746         * sysdeps/x86_64/fpu/math_private.h: Likewise.
13748         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
13749         and <math_private.h>.
13750         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13751         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13752         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13753         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13754         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13755         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
13756         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13757         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13758         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13759         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13760         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13761         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13762         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13763         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13764         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13765         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13766         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13767         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13768         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13769         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13770         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13771         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13772         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13773         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13774         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13775         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13776         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13777         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13778         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13779         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13780         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13781         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13782         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13783         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13784         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13785         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13786         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13787         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13788         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13789         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13790         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
13791         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13792         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13793         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13794         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13795         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13796         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13797         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13798         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13799         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13800         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13801         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13802         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13803         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13804         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13805         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13806         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13807         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13808         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13809         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
13810         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13811         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13812         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13813         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13814         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
13815         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13816         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13817         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13818         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
13819         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
13820         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13821         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13822         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13823         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13824         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
13825         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
13826         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
13827         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13828         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
13829         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13830         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13831         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13832         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13833         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13834         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13835         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
13836         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
13837         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
13838         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13839         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13840         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13841         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13842         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13843         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13844         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13845         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13846         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13847         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13848         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13849         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13850         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13851         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13852         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13853         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13854         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13855         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13856         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13857         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13858         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13859         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13860         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13861         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13862         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13863         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13864         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
13865         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13866         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13867         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13868         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13869         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13870         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13871         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13872         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13873         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
13874         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13875         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13876         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13877         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
13878         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13879         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13880         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13881         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13882         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13883         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13884         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13885         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13886         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13887         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13888         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
13889         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13890         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13891         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13892         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13893         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
13894         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
13895         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13896         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13897         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13898         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
13899         * sysdeps/ieee754/k_standard.c: Likewise.
13900         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13901         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13902         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13903         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13904         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13905         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13906         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13907         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13908         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13909         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13910         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13911         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13912         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13913         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13914         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13915         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13916         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13917         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13918         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13919         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
13920         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13921         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13922         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13923         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13924         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13925         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13926         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13927         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13928         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13929         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13930         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13931         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13932         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13933         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13934         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13935         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13936         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13937         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
13938         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
13939         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13940         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13941         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13942         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13943         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13944         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13945         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13946         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13947         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13948         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13949         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13950         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13951         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13952         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13953         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
13954         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13955         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13956         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
13957         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
13958         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13959         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13960         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13961         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13962         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13963         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13964         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13965         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13966         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13967         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13968         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13969         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13970         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13971         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13972         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13973         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13974         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13975         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13976         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
13977         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13978         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13979         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13980         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13981         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13982         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13983         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13984         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13985         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13986         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13987         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
13988         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13989         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13990         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
13991         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13992         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
13993         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13994         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13995         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13996         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
13997         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
13998         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
13999         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
14000         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
14001         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
14002         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14003         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14004         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
14005         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14006         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14007         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
14008         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
14009         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
14010         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14011         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
14012         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14013         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14014         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14015         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14016         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14017         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14018         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14019         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14020         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14021         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14022         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14023         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14024         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14025         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
14026         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14027         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
14028         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
14029         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14030         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14031         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14032         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14033         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14034         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
14035         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
14036         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
14037         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14038         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14039         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
14040         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
14041         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14042         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
14043         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
14044         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
14045         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14046         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14047         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14048         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14049         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
14050         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14051         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14052         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
14053         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14054         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
14055         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
14056         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
14057         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14058         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
14059         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14060         * sysdeps/ieee754/s_lib_version.c: Likewise.
14061         * sysdeps/ieee754/s_matherr.c: Likewise.
14062         * sysdeps/ieee754/s_signgam.c: Likewise.
14063         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14064         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14065         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
14066         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
14067         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
14068         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
14069         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
14070         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
14071         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
14072         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
14073         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14074         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
14075         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
14076         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14077         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
14078         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14079         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14080         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14081         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14082         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14083         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14085 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
14087         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
14088         * sunrpc/rpc_main.c: Likewise.
14089         * sunrpc/rpc_svcout.c: Likewise.
14091 2012-03-09  David S. Miller  <davem@davemloft.net>
14093         * include/math_private.h: New file.
14095 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
14097         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
14098         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
14099         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
14100         from <bits/socket_type.h>.
14101         (enum __socket_type): Don't define here.
14102         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
14103         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14104         bits/socket_type.h.
14106         [BZ #13566]
14107         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
14108         checking __USE_GNU.
14110         * Makerules ($(inst_includedir)/%.h): New rule.
14111         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
14112         (install-others): Remove variable setting.
14113         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
14115 2012-03-08  Richard Henderson  <rth@twiddle.net>
14117         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
14118         from macro to inline function; merge with the
14119         !__LIBC_INTERNAL_MATH_INLINES version.
14120         (__ieee754_sqrtf): Likewise.
14122         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
14123         to inline function.
14124         (__rintf, __floor, __floorf): Likewise.
14126         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
14127         macro to inline function.
14128         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
14130         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
14131         not <math/math_private.h>.
14133 2012-03-08  David S. Miller  <davem@davemloft.net>
14135         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
14136         copyright year.
14137         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
14139 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
14141         * resolv/gai_misc.c (handle_requests): Fix struct timespec
14142         normalization.
14143         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
14144         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
14146 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
14148         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
14149         be defined individually, they must be defined as a block.  Define
14150         S for printing a string instead of hidint the different by using a
14151         macro for adding the 'l'.
14152         * stdio-common/tst-fphex-wide.c: Adjust.
14154 2012-03-07  Marek Polacek  <polacek@redhat.com>
14156         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
14158 2012-03-08  Marek Polacek  <polacek@redhat.com>
14160         [BZ #13806]
14161         * stdio-common/Makefile (tests): Add tst-fphex-wide.
14162         * stdio-common/tst-fphex.c: Define a few macros to make the
14163         test reusable.  Use them.
14164         * stdio-common/tst-fphex-wide.c: New file.
14166 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
14168         [BZ #6911]
14169         * manual/macros.texi (gnusystems): New macro.
14170         (nongnusystems): Likewise.
14171         (gnulinuxhurdsystems): Likewise.
14172         (gnuhurdsystems): Likewise..
14173         (gnulinuxsystems): Likewise.
14174         * manual/charset.texi: Use new macros or @theglibc{} to refer to
14175         variants of the GNU system, not "GNU system".
14176         * manual/conf.texi: Likewise.
14177         * manual/errno.texi: Likewise.  Update example of errno macro
14178         expansion.
14179         * manual/filesys.texi: Likewise.
14180         (getumask): Document as specific to GNU/Hurd.
14181         * manual/install.texi: Likewise.  Reword some references to
14182         GNU/Linux.
14183         * manual/intro.texi: Likewise.
14184         * manual/io.texi: Likewise.
14185         (File Name Portability): Detail which constraints are inapplicable
14186         to all GNU systems and which are only inapplicable to GNU/Hurd.
14187         * manual/job.texi: Likewise.
14188         * manual/llio.texi: Likewise.
14189         (O_NOCTTY): Document as present on GNU/Linux.
14190         * manual/maint.texi: Likewise.
14191         * manual/memory.texi: Likewise.
14192         * manual/pattern.texi: Likewise.
14193         * manual/pipe.texi: Likewise.
14194         * manual/process.texi: Likewise.
14195         * manual/resource.texi: Likewise.
14196         (RUSAGE_CHILDREN): Remove statement about specifying a particular
14197         child on GNU/Hurd.
14198         * manual/setjmp.texi: Likewise.
14199         * manual/signal.texi: Likewise.
14200         * manual/startup.texi: Likewise.
14201         * manual/stdio.texi: Likewise.
14202         * manual/terminal.texi: Likewise.
14203         (ONLCR): Document as POSIX.
14204         (OXTABS): Document availability on GNU/Linux as XTABS.
14205         (ONOEOT): Document availability separately from other bits.
14206         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
14207         * manual/time.texi: Likewise.
14208         * manual/users.texi: Likewise.
14209         * INSTALL: Regenerated.
14210         * sysdeps/gnu/errlist.c: Regenerated.
14212         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
14213         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
14214         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
14215         puts.
14216         * configure: Regenerated.
14218 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
14220         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
14221         default includes instead of AC_HEADER_CHECK.
14222         * sysdeps/i386/configure: Regenerated.
14224         [BZ #10716]
14225         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
14226         * math/s_cacoshf.c (__cacoshf): Likewise.
14227         * math/s_cacoshl.c (__cacoshl): Likewise.
14228         * math/s_casinh.c (__casinh): Set signs of result from argument.
14229         * math/s_casinhf.c (__casinhf): Likewise.
14230         * math/s_casinhl.c (__casinhl): Likewise.
14231         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
14232         (casinh_test): Add more tests.
14233         * sysdeps/i386/fpu/libm-test-ulps: Update.
14234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14236 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
14238         * po/zh_TW.po: Update from translation team.
14240         * login/Makefile (distribute): Remove variable.
14241         * catgets/Makefile: Likewise.
14242         * mach/Makefile: Likewise.
14243         * malloc/Makefile: Likewise.
14244         * misc/Makefile: Likewise.
14245         * iconv/Makefile: Likewise.
14246         * nscd/Makefile: Likewise.
14247         * hurd/Makefile: Likewise.
14248         * manual/Makefile: Likewise.
14249         * locale/Makefile: Likewise.
14250         * intl/Makefile: Likewise.
14251         * conform/Makefile: Likewise.
14252         * nss/Makefile: Likewise.
14253         * time/Makefile: Likewise.
14254         * soft-fp/Makefile: Likewise.
14255         * dirent/Makefile: Likewise.
14256         * gmon/Makefile: Likewise.
14257         * po/Makefile: Likewise.
14258         * rt/Makefile: Likewise.
14259         * socket/Makefile: Likewise.
14260         * math/Makefile: Likewise.
14261         * signal/Makefile: Likewise.
14262         * debug/Makefile: Likewise.
14263         * elf/Makefile: Likewise.
14264         * timezone/Makefile: Likewise.
14265         * stdlib/Makefile: Likewise.
14266         * iconvdata/Makefile: Likewise.
14267         * sunrpc/Makefile: Likewise.
14268         * io/Makefile: Likewise.
14269         * argp/Makefile: Likewise.
14270         * inet/Makefile: Likewise.
14271         * hesiod/Makefile: Likewise.
14272         * grp/Makefile: Likewise.
14273         * csu/Makefile: Likewise.
14274         * wctype/Makefile: Likewise.
14275         * crypt/Makefile: Likewise.
14276         * libio/Makefile: Likewise.
14277         * string/Makefile: Likewise.
14278         * nis/Makefile: Likewise.
14279         * resolv/Makefile: Likewise.
14280         * stdio-common/Makefile: Likewise.
14281         * wcsmbs/Makefile: Likewise.
14282         * dlfcn/Makefile: Likewise.
14283         * posix/Makefile: Likewise.
14285         [BZ #6959]
14286         * timezone/Makefile: Don't install timezone files, just the programs
14287         and scripts.
14289 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
14291         * nss/databases.def: Add missing gshadow entry.
14293         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
14295 2012-03-06  Marek Polacek  <polacek@redhat.com>
14297         [BZ #13726]
14298         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
14299         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14300         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
14301         * stdio-common/tst-long-dbl-fphex.c: New file.
14303 2012-03-06  David S. Miller  <davem@davemloft.net>
14305         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14306         (set_obp_int): New function.
14307         (get_obp_int): New function.
14308         (__get_clockfreq_via_dev_openprom): Likewise.
14309         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
14310         Avoid unused variable warnings on 'val' and use builtin_expect.
14311         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
14312         __builtin_expect.
14313         (INLINE_CLONE_SYSCALL): Likewise.
14315 2012-03-05  David S. Miller  <davem@davemloft.net>
14317         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14319 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
14321         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14323         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
14324         only for |x| >= 40.
14325         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14327 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
14329         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
14330         Replace gettimeofday with __vdso_gettimeofday.
14332         * sysdeps/unix/sysv/linux/x86_64/init-first.c
14333         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
14334         __vdso_clock_gettime and __vdso_getcpu.
14336         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
14337         time with __vdso_time.
14339 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
14341         * manual/lang.texi (size_t): Note types to which size_t may be
14342         equivalent with the GNU C Library, but do not describe when
14343         differences between them are significant.
14345 2012-03-05  Andreas Jaeger  <aj@suse.de>
14347         * sysdeps/i386/fpu/libm-test-ulps: Update.
14349 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
14351         [BZ #3976]
14352         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
14353         (__ieee754_pow): Save and restore rounding mode and use
14354         round-to-nearest for main computations.
14355         * math/libm-test.inc (pow_test_tonearest): New function.
14356         (pow_test_towardzero): Likewise.
14357         (pow_test_downward): Likewise.
14358         (pow_test_upward): Likewise.
14359         (main): Call the new functions.
14360         * sysdeps/i386/fpu/libm-test-ulps: Update.
14361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14363         [BZ #3976]
14364         * math/libm-test.inc (cosh_test_tonearest): New function.
14365         (cosh_test_towardzero): Likewise.
14366         (cosh_test_downward): Likewise.
14367         (cosh_test_upward): Likewise.
14368         (sinh_test_tonearest): Likewise.
14369         (sinh_test_towardzero): Likewise.
14370         (sinh_test_downward): Likewise.
14371         (sinh_test_upward): Likewise.
14372         (main): Call the new functions.
14373         * sysdeps/i386/fpu/libm-test-ulps: Update.
14374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14376 2012-03-05  Tom de Vries  <tom@codesourcery.com>
14378         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
14379         default stack guard is set in last bytes.
14380         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
14382 2012-03-05  Kees Cook  <keescook@chromium.org>
14384         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
14386         [BZ #13656]
14387         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
14388         possibly allocate from heap instead of stack.
14389         * stdio-common/bug-vfprintf-nargs.c: New file.
14390         * stdio-common/Makefile (tests): Add nargs overflow test.
14392 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
14394         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14396 2012-03-03  Marek Polacek  <polacek@redhat.com>
14398         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
14399         * math/math_private.h: Likewise.
14400         * stdlib/tst-strtod.c: Likewise.
14401         * sysdeps/i386/i486/bits/atomic.h: Likewise.
14402         * sysdeps/x86_64/bits/atomic.h: Likewise.
14404 2012-03-02  David S. Miller  <davem@davemloft.net>
14406         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
14407         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
14408         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
14409         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
14410         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
14411         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
14412         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
14413         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
14415 2012-03-02  Roland McGrath  <roland@hack.frob.com>
14417         [BZ #13792]
14418         * manual/examples/README: New file, says the example source files
14419         can be used under GPL>=2.
14420         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
14421         line containing just "*/".
14422         * manual/examples/add.c: Add copyright header (GPL>=2).
14423         * manual/examples/argp-ex1.c: Likewise.
14424         * manual/examples/argp-ex2.c: Likewise.
14425         * manual/examples/argp-ex3.c: Likewise.
14426         * manual/examples/argp-ex4.c: Likewise.
14427         * manual/examples/atexit.c: Likewise.
14428         * manual/examples/db.c: Likewise.
14429         * manual/examples/dir.c: Likewise.
14430         * manual/examples/dir2.c: Likewise.
14431         * manual/examples/execinfo.c: Likewise.
14432         * manual/examples/filecli.c: Likewise.
14433         * manual/examples/filesrv.c: Likewise.
14434         * manual/examples/fmtmsgexpl.c: Likewise.
14435         * manual/examples/genpass.c: Likewise.
14436         * manual/examples/inetcli.c: Likewise.
14437         * manual/examples/inetsrv.c: Likewise.
14438         * manual/examples/isockad.c: Likewise.
14439         * manual/examples/longopt.c: Likewise.
14440         * manual/examples/memopen.c: Likewise.
14441         * manual/examples/memstrm.c: Likewise.
14442         * manual/examples/mkfsock.c: Likewise.
14443         * manual/examples/mkisock.c: Likewise.
14444         * manual/examples/mygetpass.c: Likewise.
14445         * manual/examples/pipe.c: Likewise.
14446         * manual/examples/popen.c: Likewise.
14447         * manual/examples/rprintf.c: Likewise.
14448         * manual/examples/search.c: Likewise.
14449         * manual/examples/select.c: Likewise.
14450         * manual/examples/setjmp.c: Likewise.
14451         * manual/examples/sigh1.c: Likewise.
14452         * manual/examples/sigusr.c: Likewise.
14453         * manual/examples/stpcpy.c: Likewise.
14454         * manual/examples/strdupa.c: Likewise.
14455         * manual/examples/strftim.c: Likewise.
14456         * manual/examples/strncat.c: Likewise.
14457         * manual/examples/subopt.c: Likewise.
14458         * manual/examples/swapcontext.c: Likewise.
14459         * manual/examples/termios.c: Likewise.
14460         * manual/examples/testopt.c: Likewise.
14461         * manual/examples/testpass.c: Likewise.
14462         * manual/examples/timeval_subtract.c: Likewise.
14464         [BZ #13792]
14465         * manual/time.texi (Elapsed Time): Move timeval_subtract example
14466         function to ...
14467         * manual/timeval_subtract.c.texi: ... here, new file.
14469 2012-03-02  David S. Miller  <davem@davemloft.net>
14471         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
14473 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
14475         [BZ #3976]
14476         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
14477         (__sin): Save and restore rounding mode and use round-to-nearest
14478         for all computations.
14479         (__cos): Save and restore rounding mode and use round-to-nearest
14480         for all computations.
14481         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
14482         <fenv.h>.
14483         (tan): Save and restore rounding mode and use round-to-nearest for
14484         all computations.
14485         * math/libm-test.inc (cos_test_tonearest): New function.
14486         (cos_test_towardzero): Likewise.
14487         (cos_test_downward): Likewise.
14488         (cos_test_upward): Likewise.
14489         (sin_test_tonearest): Likewise.
14490         (sin_test_towardzero): Likewise.
14491         (sin_test_downward): Likewise.
14492         (sin_test_upward): Likewise.
14493         (tan_test_tonearest): Likewise.
14494         (tan_test_towardzero): Likewise.
14495         (tan_test_downward): Likewise.
14496         (tan_test_upward): Likewise.
14497         (main): Call the new functions.
14498         * sysdeps/i386/fpu/libm-test-ulps: Update.
14499         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14501         [BZ #10135]
14502         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
14503         small n, then large n, before computing and testing k+n.
14504         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14505         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
14506         Likewise.
14507         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
14508         Likewise.
14509         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
14510         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
14511         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
14512         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
14513         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14514         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14515         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
14516         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
14517         * math/libm-test.inc (scalbn_test): Add more tests.
14518         (scalbln_test): Likewise.
14520         * manual/filesys.texi (mode_t): Describe constraints on size and
14521         signedness, not exact equivalence to a particular type.
14522         (ino_t): Likewise.
14523         (ino64_t): Likewise.
14524         (dev_t): Likewise.
14525         (nlink_t): Likewise.
14526         (blkcnt_t): Likewise.
14527         (blkcnt64_t): Likewise.
14528         * manual/llio.texi (off_t): Likewise.
14530         [BZ #3976]
14531         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
14532         (__ieee754_exp): Save and restore rounding mode and use
14533         round-to-nearest for all computations.
14534         * math/libm-test.inc (exp_test_tonearest): New function.
14535         (exp_test_towardzero): Likewise.
14536         (exp_test_downward): Likewise.
14537         (exp_test_upward): Likewise.
14538         (main): Call the new functions.
14539         * sysdeps/i386/fpu/libm-test-ulps: Update.
14540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14542 2012-03-01  Chris Demetriou  <cgd@google.com>
14544         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
14545         have predictable order.
14547 2012-03-01  David S. Miller  <davem@davemloft.net>
14549         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
14551         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
14552         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
14553         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
14554         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
14556         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
14557         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
14558         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
14559         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
14560         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
14561         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
14562         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
14563         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
14564         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
14566         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14568         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
14569         * sysdeps/sparc/fpu/libm-test-ulps: to here.
14570         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
14572         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
14573         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14574         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14575         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
14576         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
14577         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
14578         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
14579         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14580         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14581         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
14582         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
14583         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14584         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14585         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14586         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14587         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14588         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
14589         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
14590         * sysdeps/sparc/elf/configure: Regenerated.
14592 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
14594         * configure.in (AS, LD): Require binutils 2.20 or later.
14595         * configure: Regenerated.
14596         * manual/install.texi (Tools for Compilation): Give binutils 2.20
14597         as required minimum version.
14598         * INSTALL: Regenerated.
14600         [BZ #2541]
14601         [BZ #4108]
14602         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
14603         before squaring exponent.
14604         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
14605         bottom long double and 27 bits of top long double before squaring
14606         exponent.
14607         * math/libm-test.inc (erfc_test): Add more tests.
14608         * sysdeps/i386/fpu/libm-test-ulps: Update.
14609         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14610         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14612 2012-03-01  Kai Tietz  <ktietz@redhat.com>
14614         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
14615         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
14616         containing bit-fields.
14617         * soft-fp/extended.h (_FP_UNION_E): Likewise.
14618         * soft-fp/single.h (_FP_UNION_S): Likewise.
14619         * soft-fp/double.h (_FP_UNION_D): Likewise.
14621 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
14623         [BZ #13786]
14624         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
14625         not include ../strcmp.S.
14626         [USE_AS_STRNCASECMP_L]: Likewise.
14627         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
14628         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
14629         * sysdeps/i386/i686/multiarch/strncase_l-c.c
14630         (__strncasecmp_l_ia32): Define as alias to
14631         __strncasecmp_l_nonascii.
14633         [BZ #5794]
14634         * math/libm-test.inc (expm1_test): Add test for bug 5794.
14635         * sysdeps/i386/fpu/libm-test-ulps: Update.
14636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14638         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
14639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14641 2012-02-29  Jeff Law  <law@redhat.com>
14643         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
14644         out of bounds read.
14646 2012-02-29  Marek Polacek  <polacek@redhat.com>
14648         [BZ #13706]
14649         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
14650         * elf/Makefile: Add rules to run tst-unused-dep.out.
14652 2012-02-28  David S. Miller  <davem@davemloft.net>
14654         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
14655         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
14656         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
14657         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
14658         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
14659         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
14661 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
14663         * math/libm-test.inc (llround_test): Move one test from
14664         lround_test.  Use TEST_f_L in moved test.
14665         (lround_test): Move misplaced test to llround_test.  Add testcase
14666         from bug 2561.
14668 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
14670         * sysdeps/x86_64/fpu/e_expf.S: New file.
14671         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
14673 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
14675         [BZ #13637]
14676         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
14677         of remain_len that may cause incomplete multi-byte character and
14678         false match.
14679         * posix/bug-regex33.c: New file.
14680         * posix/Makefile (tests): Add bug-regex33.
14682 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
14684         * manual/macros.texi: New file.
14685         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
14686         * manual/libc.texinfo: Include macros.texi.
14687         * manual/creatute.texi: Likewise.
14688         * manual/install.texi: Likewise.
14689         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
14690         @glibcadj{} in references to the GNU C Library.
14691         * manual/charset.texi: Likewise.
14692         * manual/conf.texi: Likewise.
14693         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
14694         when not using those macros.
14695         * manual/creature.texi: Likewise.
14696         * manual/crypt.texi: Likewise.
14697         * manual/errno.texi: Likewise.
14698         * manual/filesys.texi: Likewise.
14699         * manual/header.texi: Likewise.
14700         * manual/install.texi: Likewise.
14701         * manual/intro.texi: Likewise.
14702         * manual/io.texi: Likewise.
14703         * manual/job.texi: Likewise.
14704         * manual/lang.texi: Likewise.
14705         * manual/libc.texiinfo: Likewise.
14706         * manual/llio.texi: Likewise.
14707         * manual/locale.texi: Likewise.
14708         * manual/maint.texi: Likewise.
14709         * manual/math.texi: Likewise.
14710         * manual/memory.texi: Likewise.
14711         * manual/message.texi: Likewise.
14712         * manual/nss.texi: Likewise.
14713         * manual/pattern.texi: Likewise.
14714         * manual/process.texi: Likewise.
14715         * manual/resource.texi: Likewise.
14716         * manual/search.texi: Likewise.
14717         * manual/setjmp.texi: Likewise.
14718         * manual/signal.texi: Likewise.
14719         * manual/socket.texi: Likewise.
14720         * manual/startup.texi: Likewise.
14721         * manual/stdio.texi: Likewise.
14722         * manual/string.texi: Likewise.
14723         * manual/sysinfo.texi: Likewise.
14724         * manual/syslog.texi: Likewise.
14725         * manual/terminal.texi: Likewise.
14726         * manual/time.texi: Likewise.
14727         * manual/users.texi: Likewise.
14728         * INSTALL: Regenerated.
14729         * NOTES: Regenerated.
14730         * sysdeps/gnu/errlist.c: Regenerated.
14732 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
14734         * include/dirent.h: Include <dirstream.h> before
14735         <dirent/dirent.h>.
14737 2012-02-28  David S. Miller  <davem@davemloft.net>
14739         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
14740         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
14741         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
14742         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
14744 2012-02-27  David S. Miller  <davem@davemloft.net>
14746         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
14747         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
14748         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
14749         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
14751         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
14752         frame pointer instead of stack pointer relative arg slot.
14753         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14754         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14755         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14757 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
14759         [BZ #3992]
14760         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
14762 2012-02-27  David S. Miller  <davem@davemloft.net>
14764         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
14765         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14766         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14767         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
14768         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14769         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14770         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
14771         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
14773 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
14775         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
14776         later.  Allow versions 5-9.
14777         * configure: Regenerated.
14778         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
14779         required minimum version and 4.6 as recommended version.  Do not
14780         mention bugs in GCC 2.7 and 2.8.
14781         * INSTALL: Regenerated.
14783 2012-02-27  David S. Miller  <davem@davemloft.net>
14785         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
14786         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
14787         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
14788         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
14789         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
14790         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
14791         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
14792         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
14794         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
14795         manipulate bits before adding and subtracting TWO112[sx].
14796         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14798 2012-02-27  Roland McGrath  <roland@hack.frob.com>
14800         [BZ #13775]
14801         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
14802         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
14803         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
14804         being in POSIX, because they are in 1003.1-2008.
14806         * rt/tst-aio.c: Include <fcntl.h>.
14807         * rt/tst-aio7.c: Likewise.
14808         * rt/tst-aio64.c: Likewise.
14810         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
14812 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
14814         * manual/install.texi (--with-headers): Describe headers as
14815         interface headers, not private headers.
14816         (Specific advice for GNU/Linux systems): Describe use of headers
14817         from "make headers_install", not private headers from older
14818         kernels.
14819         * INSTALL: Regenerated.
14820         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
14821         Change to 2.6.19.
14822         * sysdeps/unix/sysv/linux/configure: Regenerated.
14824         * manual/llio.texi (fclean): Remove documentation.
14826         * manual/Makefile (libc-texi-generated): New variable.  Include
14827         version.texi.
14828         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
14829         $(libc-texi-generated), not duplicated list of files.
14830         (version.texi, stamp-version): New rules.
14831         (realclean): Remove $(libc-texi-generated), not individual files
14832         from that list.  Do not remove dir-add.texinfo.
14833         * manual/libc.texinfo: Comment out uses of edition numbers and
14834         references to printed manual.  Remove last-updated dates.
14835         (EDITION): Comment out.
14836         (ISBN): Likewise.
14837         (VERSION, UPDATED): Remove.
14838         (version.texi): Include.
14840 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
14842         * sysdeps/posix/spawni.c: Include <signal.h>.
14843         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
14844         * sysdeps/pthread/aio_fsync.c: Likewise.
14846 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
14848         * conform/Makefile (tests): Run only when not cross-compiling and
14849         when fast-check is not defined.
14851         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
14852         * conform/data/limits.h-data: Fixes for POSIX2008.
14853         * conform/run-conformtest.sh: Run all tests.
14854         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
14855         headers.
14856         * include/bits/dlfcn.h: Likewise.
14857         * include/langinfo.h: Likewise.
14858         * include/monetary.h: Likewise.
14859         * include/sys/poll.h: Likewise.
14861         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
14862         for __USE_GNU.
14863         * posix/spawn.h: Define __need_sigset_t.
14864         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
14865         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
14866         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
14867         to get sigevent_t only.
14868         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
14869         only for __USE_GNU.
14870         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14871         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14872         process_vm_writev only for __USE_GNU.
14873         * termios/termios.h: Declare tcgetsid also for POSIX2008.
14875         * conform/Makefile: For now ignore errors from run-conformtest.
14876         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
14877         POSIX to avoid namespace pollution.  Don't prepend headers.
14878         * conform/data/aio.h-data: Fixes for POSIX testing.
14879         * conform/data/fcntl.h-data: Likewise.
14880         * conform/data/glob.h-data: Likewise.
14881         * conform/data/grp.h-data: Likewise.
14882         * conform/data/pthread.h-data: Likewise.
14883         * conform/data/pwd.h-data: Likewise.
14884         * conform/data/signal.h-data: Likewise.
14885         * conform/data/spawn.h-data: Likewise.
14886         * conform/data/stdio.h-data: Likewise.
14887         * conform/data/stdlib.h-data: Likewise.
14888         * conform/data/stropts.h-data: Likewise.
14889         * conform/data/sys/mman.h-data: Likewise.
14890         * conform/data/sys/stat.h-data: Likewise.
14891         * conform/data/sys/types.h-data: Likewise.
14892         * conform/data/sys/wait.h-data: Likewise.
14893         * conform/data/time.h-data: Likewise.
14894         * conform/data/unistd.h-data: Likewise.
14895         * conform/data/utime.h-data: Likewise.
14897         * io/sys/stat.h: fchmod was always in POSIX.
14898         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
14899         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
14900         * rt/aio.h: Define __need_timespec before including <time.h>.
14901         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
14902         struct.  Add forward declaration of pthread_attr_t and use it in
14903         sigevent.
14904         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14905         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14906         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
14907         always remove CLK_TCK definition.
14909 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
14911         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
14913 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
14915         * conform/run-conformtest.sh: New file.
14916         * conform/Makefile: Run run-conformtest for tests.
14917         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
14918         support.
14920         * conform/data/uchar.h-data: New file.
14921         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
14922         * conform/data/arpa/inet.h-data: Likewise.
14923         * conform/data/assert.h-data: Likewise.
14924         * conform/data/complex.h-data: Likewise.
14925         * conform/data/cpio.h-data: Likewise.
14926         * conform/data/ctype.h-data: Likewise.
14927         * conform/data/dirent.h-data: Likewise.
14928         * conform/data/dlfcn.h-data: Likewise.
14929         * conform/data/errno.h-data: Likewise.
14930         * conform/data/fcntl.h-data: Likewise.
14931         * conform/data/float.h-data: Likewise.
14932         * conform/data/fmtmsg.h-data: Likewise.
14933         * conform/data/fnmatch.h-data: Likewise.
14934         * conform/data/ftw.h-data: Likewise.
14935         * conform/data/glob.h-data: Likewise.
14936         * conform/data/grp.h-data: Likewise.
14937         * conform/data/iconv.h-data: Likewise.
14938         * conform/data/inttypes.h-data: Likewise.
14939         * conform/data/langinfo.h-data: Likewise.
14940         * conform/data/libgen.h-data: Likewise.
14941         * conform/data/limits.h-data: Likewise.
14942         * conform/data/locale.h-data: Likewise.
14943         * conform/data/math.h-data: Likewise.
14944         * conform/data/monetary.h-data: Likewise.
14945         * conform/data/mqueue.h-data: Likewise.
14946         * conform/data/ndbm.h-data: Likewise.
14947         * conform/data/net/if.h-data: Likewise.
14948         * conform/data/netdb.h-data: Likewise.
14949         * conform/data/netinet/in.h-data: Likewise.
14950         * conform/data/nl_types.h-data: Likewise.
14951         * conform/data/poll.h-data: Likewise.
14952         * conform/data/pthread.h-data: Likewise.
14953         * conform/data/pwd.h-data: Likewise.
14954         * conform/data/regex.h-data: Likewise.
14955         * conform/data/sched.h-data: Likewise.
14956         * conform/data/search.h-data: Likewise.
14957         * conform/data/semaphore.h-data: Likewise.
14958         * conform/data/setjmp.h-data: Likewise.
14959         * conform/data/signal.h-data: Likewise.
14960         * conform/data/spawn.h-data: Likewise.
14961         * conform/data/stdarg.h-data: Likewise.
14962         * conform/data/stdio.h-data: Likewise.
14963         * conform/data/stdlib.h-data: Likewise.
14964         * conform/data/string.h-data: Likewise.
14965         * conform/data/strings.h-data: Likewise.
14966         * conform/data/stropts.h-data: Likewise.
14967         * conform/data/sys/ipc.h-data: Likewise.
14968         * conform/data/sys/mman.h-data: Likewise.
14969         * conform/data/sys/msg.h-data: Likewise.
14970         * conform/data/sys/resource.h-data: Likewise.
14971         * conform/data/sys/select.h-data: Likewise.
14972         * conform/data/sys/sem.h-data: Likewise.
14973         * conform/data/sys/shm.h-data: Likewise.
14974         * conform/data/sys/socket.h-data: Likewise.
14975         * conform/data/sys/stat.h-data: Likewise.
14976         * conform/data/sys/statvfs.h-data: Likewise.
14977         * conform/data/sys/time.h-data: Likewise.
14978         * conform/data/sys/timeb.h-data: Likewise.
14979         * conform/data/sys/times.h-data: Likewise.
14980         * conform/data/sys/types.h-data: Likewise.
14981         * conform/data/sys/uio.h-data: Likewise.
14982         * conform/data/sys/un.h-data: Likewise.
14983         * conform/data/sys/utsname.h-data: Likewise.
14984         * conform/data/sys/wait.h-data: Likewise.
14985         * conform/data/syslog.h-data: Likewise.
14986         * conform/data/tar.h-data: Likewise.
14987         * conform/data/termios.h-data: Likewise.
14988         * conform/data/utime.h-data: Likewise.
14989         * conform/data/utmpx.h-data: Likewise.
14990         * conform/data/varargs.h-data: Likewise.
14991         * conform/data/wchar.h-data: Likewise.
14992         * conform/data/wctype.h-data: Likewise.
14993         * conform/data/wordexp.h-data: Likewise.
14995         * include/stropts.h: New file.
14996         * include/uchar.h: New file.
14997         * include/aio.h: Changes to allow conformtest.pl to use the headers.
14998         * include/assert.h: Likewise.
14999         * include/ctype.h: Likewise.
15000         * include/dirent.h: Likewise.
15001         * include/dlfcn.h: Likewise.
15002         * include/fcntl.h: Likewise.
15003         * include/fnmatch.h: Likewise.
15004         * include/glob.h: Likewise.
15005         * include/grp.h: Likewise.
15006         * include/libio.h: Likewise.
15007         * include/locale.h: Likewise.
15008         * include/math.h: Likewise.
15009         * include/net/if.h: Likewise.
15010         * include/netdb.h: Likewise.
15011         * include/netinet/in.h: Likewise.
15012         * include/pthread.h: Likewise.
15013         * include/pwd.h: Likewise.
15014         * include/regex.h: Likewise.
15015         * include/sched.h: Likewise.
15016         * include/search.h: Likewise.
15017         * include/setjmp.h: Likewise.
15018         * include/signal.h: Likewise.
15019         * include/stdio.h: Likewise.
15020         * include/stdlib.h: Likewise.
15021         * include/string.h: Likewise.
15022         * include/sys/cdefs.h: Likewise.
15023         * include/sys/mman.h: Likewise.
15024         * include/sys/msg.h: Likewise.
15025         * include/sys/resource.h: Likewise.
15026         * include/sys/select.h: Likewise.
15027         * include/sys/socket.h: Likewise.
15028         * include/sys/stat.h: Likewise.
15029         * include/sys/statvfs.h: Likewise.
15030         * include/sys/time.h: Likewise.
15031         * include/sys/times.h: Likewise.
15032         * include/sys/uio.h: Likewise.
15033         * include/sys/utsname.h: Likewise.
15034         * include/sys/wait.h: Likewise.
15035         * include/termios.h: Likewise.
15036         * include/time.h: Likewise.
15037         * include/ulimit.h: Likewise.
15038         * include/unistd.h: Likewise.
15039         * include/utime.h: Likewise.
15040         * include/wchar.h: Likewise.
15041         * include/wctype.h: Likewise.
15042         * include/wordexp.h: Likewise.
15044         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
15046         * time/time.h: TIME_UTC must be a macro.
15047         Make timespec_get available for ISO C11 only as well.
15049 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
15051         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
15052         Reported by Peng Haitao <penght@cn.fujitsu.com>.
15054 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
15056         * configure.in: Use -o not -a in test for unsupported multi-arch.
15058 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
15060         * manual/texinfo.tex: Update to version 2012-01-19.16.
15062 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
15064         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
15066 2012-02-24  Roland McGrath  <roland@hack.frob.com>
15068         [BZ #13738]
15069         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
15070         * manual/fdl-1.3.texi: New file.
15071         * manual/fdl-1.1.texi: File removed.
15073         [BZ #13738]
15074         * manual/libc.texinfo (FDL_VERSION): New @set.
15075         Use it for mention of FDL in cover text.
15076         (Documentation License): Use it in @include file name.
15078 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
15079             Roland McGrath  <roland@hack.frob.com>
15081         [BZ #5461]
15082         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
15083         not LONG_LONG_MAX and LONG_LONG_MIN.
15084         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
15085         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
15086         name.
15087         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
15089 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
15091         [BZ #2547]
15092         [BZ #11365]
15093         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
15094         manipulate bits before adding and subtracting TWO23[sx].
15095         * math/libm-test.inc (nearbyint_test): Add more tests.
15097 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
15099         [BZ #2548]
15100         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
15101         bits before adding and subtracting TWO23[sx].
15102         * math/libm-test.inc (rint_test): Add more tests.
15103         (rint_test_tonearest): Likewise.
15104         (rint_test_towardzero): Likewise.
15105         (rint_test_downward): Likewise.
15106         (rint_test_upward: Likewise.
15108 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
15110         [BZ #10110]
15111         * include/stdc-predef.h: New file.  Extracted from features.h.
15112         * include/features.h: Include stdc-predef.h.
15113         * Makefile (headers): Add stdc-predef.h.
15114         * CONFORMANCE (Compiler limitations): Update.
15116 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
15118         * manual/libc.texinfo (VERSION, UPDATED): Revert.
15120 2012-02-21  David S. Miller  <davem@davemloft.net>
15122         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
15123         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15125 2012-02-20  David S. Miller  <davem@davemloft.net>
15127         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
15128         using a normal save/restore sequence, rather than allocating a
15129         dummy stack frame just to store a frame pointer and restore.
15130         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15132 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
15134         * manual/install.texi: Fix stray word in line-wrapped comment.
15136 2012-02-20  David S. Miller  <davem@davemloft.net>
15138         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
15139         both binutils and gcc support GOTDATA.
15141         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
15142         "rd %pc" in the PIC register setup sequences.
15144         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
15145         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
15146         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15147         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
15148         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15149         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15150         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15151         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15152         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
15153         (SYSCALL_ERROR_HANDLER): Likewise.
15154         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15155         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15156         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
15157         (SYSCALL_ERROR_HANDLER): Likewise.
15159         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
15160         (HAVE_GCC_GOTDATA): New.
15161         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
15162         relocation support in both binutils and gcc.
15163         * sysdeps/sparc/elf/configure: Regenerate.
15165         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
15166         * sysdeps/sparc/sparc32/elf/configure: Delete.
15167         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
15168         * sysdeps/sparc/sparc64/elf/configure: Delete.
15169         * sysdeps/sparc/elf/configure.in: New file.
15170         * sysdeps/sparc/elf/configure: Generate.
15172         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
15173         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
15174         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15175         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
15176         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
15178 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
15180         * manual/install.texi: Do not mention specific glibc version
15181         numbers.
15182         * manual/libc.texinfo (VERSION, UPDATED): Update.
15183         (@copying): Use @copyright{} and range of years.
15185 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
15187         [BZ #13695]
15188         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
15189         [crti.S not in sysdirs] (generated): Do not append.
15190         [crti.S not in sysdirs] (omit-deps): Likewise.
15191         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
15192         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
15193         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
15194         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
15195         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
15196         Likewise.
15197         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
15198         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
15199         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
15200         * csu/defs.awk: Remove file.
15201         * sysdeps/generic/initfini.c: Likewise.
15202         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
15203         variable.
15204         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
15205         Likewise.
15207 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
15209         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
15210         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
15211         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
15212         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
15213         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15214         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
15215         <bits/epoll.h>.
15216         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
15217         (__EPOLL_PACKED): Define to empty if not defined by
15218         <bits/epoll.h>.
15219         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
15220         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15221         bits/epoll.h.
15223 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
15225         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
15226         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
15227         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
15228         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
15229         <bits/timerfd.h>.
15230         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
15231         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15232         bits/timerfd.h.
15234 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
15236         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
15237         in C locale.
15238         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15239         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15240         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
15241         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15243 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
15245         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15246         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15248 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
15250         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
15251         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
15252         defined.
15253         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
15254         Likewise.
15255         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
15256         entry for 2.16.
15258 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
15260         * math/w_acos.c: Use non-signaling floating-point comparisons.
15261         * math/w_acosf.c: Likewise.
15262         * math/w_acosh.c: Likewise.
15263         * math/w_acoshf.c: Likewise.
15264         * math/w_acoshl.c: Likewise.
15265         * math/w_acosl.c: Likewise.
15266         * math/w_asin.c: Likewise.
15267         * math/w_asinf.c: Likewise.
15268         * math/w_asinl.c: Likewise.
15269         * math/w_atanh.c: Likewise.
15270         * math/w_atanhf.c: Likewise.
15271         * math/w_atanhl.c: Likewise.
15272         * math/w_exp2.c: Likewise.
15273         * math/w_exp2f.c: Likewise.
15274         * math/w_exp2l.c: Likewise.
15275         * math/w_j0.c: Likewise.
15276         * math/w_j0f.c: Likewise.
15277         * math/w_j0l.c: Likewise.
15278         * math/w_j1.c: Likewise.
15279         * math/w_j1f.c: Likewise.
15280         * math/w_j1l.c: Likewise.
15281         * math/w_jn.c: Likewise.
15282         * math/w_jnf.c: Likewise.
15283         * math/w_log.c: Likewise.
15284         * math/w_log10.c: Likewise.
15285         * math/w_log10f.c: Likewise.
15286         * math/w_log10l.c: Likewise.
15287         * math/w_log2.c: Likewise.
15288         * math/w_log2f.c: Likewise.
15289         * math/w_log2l.c: Likewise.
15290         * math/w_logf.c: Likewise.
15291         * math/w_logl.c: Likewise.
15292         * math/w_sqrt.c: Likewise.
15293         * math/w_sqrtf.c: Likewise.
15294         * math/w_sqrtl.c: Likewise.
15295         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15296         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
15297         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15298         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15299         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15301 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
15303         [BZ #9739]
15304         * manual/string.texi (strnlen): Use correct parameter name in
15305         equivalent expression.
15307 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
15309         [BZ #11174]
15310         * manual/users.texi (seteuid): Consistently use neweuid for
15311         argument name.
15313 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
15315         [BZ #13704]
15316         * manual/nss.texi (Services in the NSS configuration): Correct
15317         list of services in example configuration file.
15319 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
15321         [BZ #11322]
15322         * manual/arith.texi: Remove statements about negative zero
15323         behaving identically to zero.
15325 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
15327         [BZ #5993]
15328         * manual/install.texi: Do not document upgrading from libc5.
15330 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
15332         [BZ #4596]
15333         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
15335 2012-02-18  David S. Miller  <davem@davemloft.net>
15337         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
15338         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
15339         %o7 across the call.
15340         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
15341         instead.
15342         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
15343         SETUP_PIC_REG_LEAF.
15344         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15345         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
15346         * sysdeps/sparc/crtn.S: Likewise.
15348 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
15350         * aout/Makefile: Remove.
15352 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
15354         [BZ #13058]
15355         * manual/examples/argp-ex1.c (main): Format definition in GNU
15356         style.
15357         * manual/examples/argp-ex2.c (main): Likewise.
15358         * manual/examples/argp-ex3.c (main): Likewise.
15359         * manual/examples/argp-ex4.c (main): Likewise.
15360         * manual/examples/longopt.c (main): Use new-style prototype
15361         definition.
15362         * manual/examples/strncat.c (main): Specify return type and use
15363         (void) for arguments.
15364         * manual/examples/subopt.c (main): Use char **argv argument.
15366 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
15368         [BZ #5077]
15369         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
15370         rounding modes.
15372 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
15374         [BZ #6907]
15375         * manual/string.texi (strchr): Change when strchrnul is
15376         recommended.
15378 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
15380         [BZ #174]
15381         * manual/locale.texi (setlocale): Document LOCPATH.
15383 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
15385         [BZ #10210]
15386         * manual/process.texi (execle): Move @dots{} before last argument.
15388 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
15390         [BZ #12047]
15391         * manual/charset.texi (Generic Charset Conversion): Fix typo
15392         (LC_TYPE -> LC_CTYPE).
15394 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
15396         [BZ #5805]
15397         * manual/arith.texi (scalbn): Use @var{} on parameter names.
15398         (scalbnf): Likewise.
15399         (scalbnl): Likewise.
15400         (scalbln): Likewise.
15401         (scalblnf): Likewise.
15402         (scalblnl): Likewise.
15403         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
15404         (vwarnx): Likewise.
15405         (verr): Likewise.
15406         (verrx): Likewise.
15407         * manual/filesys.texi (telldir): Use braces around return type.
15408         * manual/llio.texi (mmap): Add space after comma.
15409         (mmap64): Likewise.
15410         * manual/math.texi (jn): Use @var{} on parameter names.
15411         (jnf): Likewise.
15412         (jnl): Likewise.
15413         (yn): Likewise.
15414         (ynf): Likewise.
15415         (ynl): Likewise.
15416         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
15417         line.
15418         * manual/resource.texi (ulimit): Use @dots{} instead of literal
15419         "...".
15420         (sched_get_priority_min): Remove semicolon on @deftypefun line.
15421         (sched_get_priority_max): Likewise.
15422         * manual/signal.texi (sigvec): Add space after comma.
15423         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
15424         names.
15425         (if_indextoname): Likewise.
15426         (if_freenameindex): Likewise.
15427         (sendto): Use ',' instead of '.' in prototype.
15428         * manual/startup.texi (syscall): Use @dots{} instead of literal
15429         "...".
15430         * manual/stdio.texi (__fpending): Separate initial words of
15431         paragraph from @deftypefun line.
15432         * manual/syslog.texi (syslog): Use @dots{} instead of literal
15433         "...".
15434         (vsyslog): Use @var{} on parameter names.
15435         * manual/terminal.texi (stty): Use @var{} on parameter names.
15436         * manual/users.texi (getutmp): Use @var{} on parameter names.
15437         (getutmpx): Likewise.
15439 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
15441         [BZ #6884]
15442         * manual/stdio.texi (fopen): Fix typos in description of
15443         ",ccs=STRING".
15445 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
15447         [BZ #4026]
15448         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
15449         get clock_id definition.
15451 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
15453         [BZ #4822]
15454         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
15455         (madvise): Cast every argument to void on its own.
15457 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
15459         [BZ #9902]
15460         * manual/startup.texi (Exit Status): Fix typo.
15462 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
15464         [BZ #10140]
15465         * manual/examples/argp-ex1.c: Include <stdlib.h>.
15466         * manual/examples/argp-ex2.c: Likewise.
15467         * manual/examples/argp-ex3.c: Likewise.
15469 2012-02-16  Richard Henderson  <rth@redhat.com>
15471         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
15472         * sysdeps/s390/s390-32/initfini.c: Remove.
15473         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
15474         * sysdeps/s390/s390-64/initfini.c: Remove.
15476 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15478         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
15479         compiler output for sysdeps/generic/initfini.c.
15480         * sysdeps/sh/elf/initfini.c: Remove file.
15482 2012-02-16  David S. Miller  <davem@davemloft.net>
15484         [BZ #11494]
15485         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
15487         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
15488         * sysdeps/sparc/crti.S: New file.
15489         * sysdeps/sparc/crtn.S: New file.
15490         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
15491         * sysdeps/sparc/sparc64/Makefile: Likewise.
15493 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
15495         [BZ #3335]
15496         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
15498 2012-02-15  Roland McGrath  <roland@hack.frob.com>
15500         [BZ #4822]
15501         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
15503         * mach/devstream.c (cookie_io_functions_t): Macro removed.
15504         (write, read, close): Likewise.
15505         Patch by Aurelien Jarno <aurelien@aurel32.net>.
15507 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
15509         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
15510         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
15511         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
15512         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
15513         <bits/signalfd.h>.
15514         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
15515         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15516         bits/signalfd.h.
15518 2012-02-14  Marek Polacek  <polacek@redhat.com>
15520         * sysdeps/x86_64/crti.S: New file.
15521         * sysdeps/x86_64/crtn.S: New file.
15522         * sysdeps/x86_64/elf/initfini.c: Remove file.
15524 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
15526         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
15527         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
15528         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
15529         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
15530         <bits/inotify.h>.
15531         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
15532         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15533         bits/inotify.h.
15535 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
15537         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
15538         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
15539         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
15540         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
15541         <bits/eventfd.h>.
15542         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
15543         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15544         bits/eventfd.h.
15546 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
15548         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
15549         __feraiseexcept instead of feraiseexcept.
15551         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
15552         nanosleep invocations.
15553         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
15554         strings, and add error checking for a nanosleep invocations.
15556 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
15558         Replace FSF snail mail address with URLs, as per GNU coding standards.
15559         Most of the snail mail addresses were wrong anyway, and omitting
15560         them makes the source code easier to maintain.  Almost all of the
15561         changes are to license notices and to locale LC_IDENTIFICATION
15562         addresses, except for this one:
15563         * manual/libc.texinfo: In "Published by", give the FSF's URL,
15564         not its snail mail address.
15566 2012-02-09  Richard Henderson  <rth@twiddle.net>
15568         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
15569         of kernel-features.h.
15571         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
15573 2012-02-08  Marek Polacek  <polacek@redhat.com>
15575         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
15576         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
15577         * sysdeps/gnu/_G_config.h: Likewise.
15578         * sysdeps/generic/_G_config.h: Likewise.
15580 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
15582         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
15583         tests.
15584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15586         * sysdeps/powerpc/powerpc32/crti.S: New file.
15587         * sysdeps/powerpc/powerpc32/crtn.S: New file.
15588         * sysdeps/powerpc/powerpc64/crti.S: New file.
15589         * sysdeps/powerpc/powerpc64/crtn.S: New file.
15591         * Makeconfig (have-initfini): Don't set.
15592         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
15593         * configure.in (nopic_initfini): Don't substitute.
15594         * config.h.in (HAVE_INITFINI): Don't #undef.
15595         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
15596         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
15598 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
15600         Support crti.S and crtn.S provided directly by architectures.
15601         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
15602         [crti.S in sysdirs] (omit-deps): Likewise.
15603         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
15604         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
15605         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
15606         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
15607         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
15608         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
15609         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
15610         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
15611         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
15612         compiler output for sysdeps/generic/initfini.c.
15613         * sysdeps/i386/elf/Makefile: Remove file.
15614         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
15616 2012-02-07  Marek Polacek  <polacek@redhat.com>
15618         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
15619         * sysdeps/gnu/_G_config.h: Likewise.
15620         * sysdeps/mach/hurd/_G_config.h: Likewise.
15622 2012-02-07  Marek Polacek  <polacek@redhat.com>
15624         * math/Makefile (tests): Add tst-CMPLX2.
15625         * math/tst-CMPLX2.c: New file.
15627 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
15629         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15631         * math/libm-test.inc (jn_test): Add missing L suffix.
15633 2012-02-06  Marek Polacek  <polacek@redhat.com>
15635         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
15636         * sysdeps/i386/fpu/e_powf.S: Likewise.
15637         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15638         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15639         * sysdeps/i386/fpu/e_acosh.S: Likewise.
15640         * sysdeps/i386/fpu/e_pow.S: Likewise.
15641         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15642         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15643         * sysdeps/i386/fpu/s_expm1.S: Likewise.
15644         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15645         * sysdeps/i386/fpu/e_log2.S: Likewise.
15646         * sysdeps/i386/fpu/e_log2l.S: Likewise.
15647         * sysdeps/i386/fpu/e_scalb.S: Likewise.
15648         * sysdeps/i386/fpu/e_powl.S: Likewise.
15649         * sysdeps/i386/fpu/s_log1p.S: Likewise.
15650         * sysdeps/i386/fpu/e_log10f.S: Likewise.
15651         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15652         * sysdeps/i386/fpu/e_logl.S: Likewise.
15653         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15654         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
15655         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15656         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15657         * sysdeps/i386/fpu/e_log2f.S: Likewise.
15658         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15659         * sysdeps/i386/fpu/e_log.S: Likewise.
15660         * sysdeps/i386/fpu/s_cexp.S: Likewise.
15661         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15662         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
15663         * sysdeps/i386/fpu/e_logf.S: Likewise.
15664         * sysdeps/i386/fpu/e_log10l.S: Likewise.
15665         * sysdeps/i386/fpu/e_atanh.S: Likewise.
15666         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
15667         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15668         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15669         * sysdeps/i386/fpu/e_log10.S: Likewise.
15670         * sysdeps/i386/fpu/s_frexp.S: Likewise.
15671         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15672         * sysdeps/i386/fpu/s_asinh.S: Likewise.
15673         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15674         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15675         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15676         * sysdeps/i386/asm-syntax.h: Likewise.
15677         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15678         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15679         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15680         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
15681         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
15682         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15683         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15684         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15685         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15686         * sysdeps/powerpc/sysdep.h: Likewise.
15687         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
15688         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15690 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
15692         [BZ #411]
15693         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
15695 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
15697         * sysdeps/i386/sysdep.h: Include <features.h>.
15698         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
15699         version.
15701 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
15703         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
15704         Define.
15705         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
15706         LOAD_PIC_REG_STR.
15708 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
15710         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
15711         (SETUP_PIC_REG): Use GET_PC_THUNK.
15712         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
15713         macro.
15715 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
15717         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
15718         for non-PIC compilation.
15719         (SETUP_PIC_REG): Add .p2align directive.
15720         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
15721         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
15722         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15723         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15724         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15725         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15726         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
15727         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15728         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15729         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15730         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15731         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15732         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15733         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15734         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15735         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15736         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15737         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15738         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15739         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15740         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15741         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15742         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15743         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15744         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15745         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15746         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15747         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15748         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15749         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15750         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15751         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15752         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15753         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15754         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15755         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15756         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15757         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15758         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15759         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15760         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15762 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
15764         * math/tst-CMPLX.c: Include <stdio.h>.
15766 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
15768         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
15769         float.
15770         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15771         * sysdeps/sparc/bits/mathdef.h: Likewise.
15773 2012-01-31  Marek Polacek  <polacek@redhat.com>
15775         * libio/libio.h: Don't define _PARAMS.
15776         * locale/programs/config.h: Don't define PARAMS.
15777         * stdlib/strtol_l.c: Likewise.
15778         (__strtol_l): Remove PARAMS from the prototype.
15780 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
15782         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
15783         names.  Just use the correct names.  Remove unnecessary wrapper
15784         functions.
15785         * malloc/arena.c: Likewise.
15786         * malloc/hooks.c: Likewise.
15788         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
15789         ARENA_TEST says not to.  Simplify test for creation of a new arena.
15790         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
15792 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
15794         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
15795         into tail calls.
15796         (update_get_addr): New function.
15797         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
15798         GET_ADDR_MODULE parameter.
15800 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
15802         * crypt/cert.c: Remove __STDC__ conditionals.
15803         * crypt/crypt-entry.c: Likewise.
15804         * crypt/crypt_util.c: Likewise.
15805         * libio/filedoalloc.c: Likewise.
15806         * libio/fileops.c: Likewise.
15807         * libio/genops.c: Likewise.
15808         * libio/iofclose.c: Likewise.
15809         * libio/iofdopen.c: Likewise.
15810         * libio/iofopen.c: Likewise.
15811         * libio/iofopen64.c: Likewise.
15812         * libio/iogetdelim.c: Likewise.
15813         * libio/iopopen.c: Likewise.
15814         * libio/obprintf.c: Likewise.
15815         * libio/oldfileops.c: Likewise.
15816         * libio/oldiofclose.c: Likewise.
15817         * libio/oldiofdopen.c: Likewise.
15818         * libio/oldiofopen.c: Likewise.
15819         * libio/oldiopopen.c: Likewise.
15820         * libio/wfiledoalloc.c: Likewise.
15821         * libio/wgenops.c: Likewise.
15822         * locale/programs/xmalloc.c: Likewise.
15823         * misc/syslog.c: Likewise.
15824         * stdio-common/xbug.c: Likewise.
15825         * string/memchr.c: Likewise.
15826         * string/memcmp.c: Likewise.
15827         * string/memrchr.c: Likewise.
15828         * string/rawmemchr.c: Likewise.
15829         * sysdeps/posix/getcwd.c: Likewise.
15830         * time/strftime_l.c: Likewise.
15832 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
15834         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
15835         * config.make.in (config-cflags-sse2avx): Define.
15836         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
15837         Fix typo.
15839 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
15841         * scripts/config.guess: Update from upstream config git repository.
15842         * scripts/config.sub: Likewise.
15844 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
15846         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
15847         (EM_NUM): Update.
15848         (R_TILEPRO_*, R_TILEGX_*): New macros.
15850         * scripts/firstversions.awk: Fix bug in version range handling.
15852         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
15854         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
15856         * include/sys/epoll.h: New file.
15857         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
15858         libc_hidden_def.
15860 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
15862         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
15863         Avoid unnecessary __WORDSIZE == 64 test.
15864         (fmaxf): Use VEX format if possible.
15865         (fmax): Likewise.
15866         (fminf): Likewise.
15867         (fmin): Likewise.
15869         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
15870         * math/math_private.h: Remove libc_fegetround* and
15871         libc_fesetround*.
15872         * sysdeps/i386/configure.in: Check for -msse2avx.
15873         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
15874         also if SSE2AVX is defined.
15875         Remove libc_fegetround* and libc_fesetround*.
15876         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
15877         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
15878         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
15879         of HAS_YMM_USABLE.
15880         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15881         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15882         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15883         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15884         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15886         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
15888 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15890         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
15891         size is not set.
15892         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15894 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
15896         [BZ #13618]
15897         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
15898         relocation.
15899         * Makeconfig (libm): Define.
15900         * elf/Makefile: Add rules to build and run tst-relsort1.
15901         * elf/tst-relsort1.c: New file.
15902         * elf/tst-relsort1mod1.c: New file.
15903         * elf/tst-relsort1mod2.c: New file.
15905 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
15907         * math/s_ldexp.c: Remove __STDC__ conditionals.
15908         * math/s_ldexpf.c: Likewise.
15909         * math/s_ldexpl.c: Likewise.
15910         * math/s_nextafter.c: Likewise.
15911         * math/s_nexttowardf.c: Likewise.
15912         * math/s_significand.c: Likewise.
15913         * math/s_significandf.c: Likewise.
15914         * math/s_significandl.c: Likewise.
15915         * math/w_jnl.c: Likewise.
15916         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15917         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15918         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15919         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15920         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15921         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15922         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
15923         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15924         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15925         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15926         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15927         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15928         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15929         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15930         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15931         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15932         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15933         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15934         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15935         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15936         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15937         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15938         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15939         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15940         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15941         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15942         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15943         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15944         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
15945         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15946         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15947         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
15948         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15949         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
15950         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
15951         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15952         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15953         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15954         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
15955         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15956         * sysdeps/ieee754/k_standard.c: Likewise.
15957         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15958         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15959         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15960         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15961         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15962         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15963         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15964         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15965         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15966         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15967         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15968         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15969         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15970         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15971         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15972         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15973         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15974         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15975         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15976         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15977         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15978         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15979         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15980         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15981         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15982         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15983         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15984         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15985         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15986         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15987         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15988         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
15989         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15990         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15991         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15992         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15993         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
15994         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15995         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15996         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
15997         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
15998         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15999         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
16000         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
16001         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16002         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16003         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16004         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16005         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16006         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
16007         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
16008         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16009         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16010         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
16011         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16012         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
16013         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
16014         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16015         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16016         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16017         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16018         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
16019         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
16020         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16021         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16022         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16023         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16024         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
16025         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
16026         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16027         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16028         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16029         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16030         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16031         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16032         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16033         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
16034         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16035         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
16036         * sysdeps/ieee754/s_matherr.c: Likewise.
16037         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
16038         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16039         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16040         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16042 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
16044         * crypt/md5.h: Remove __STDC__ conditionals.
16045         * libio/libioP.h: Likewise.
16046         * locale/programs/config.h: Likewise.
16047         * sysdeps/generic/sysdep.h: Likewise.
16048         * sysdeps/i386/asm-syntax.h: Likewise.
16049         * sysdeps/s390/asm-syntax.h: Likewise.
16050         * sysdeps/unix/sysdep.h: Likewise.
16051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16054 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
16056         * libio/libio.h: Remove __STDC__ conditionals.
16057         * malloc/obstack.h: Likewise.
16058         * math/complex.h: Likewise.
16059         * math/math.h: Likewise.
16060         * sysdeps/generic/_G_config.h: Likewise.
16061         * sysdeps/gnu/_G_config.h: Likewise.
16062         * sysdeps/mach/hurd/_G_config.h: Likewise.
16063         * sysdeps/powerpc/bits/mathdef.h: Likewise.
16064         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
16065         * sysdeps/sparc/bits/mathdef.h: Likewise.
16067 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
16069         [BZ #13583]
16070         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
16071         Clean up HAS_* macros.
16072         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
16073         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
16074         possible.
16075         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
16076         HAS_AVX.
16077         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16078         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16079         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16080         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16081         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16083 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
16085         * elf/tst-unique3.cc (gets): Remove declaration.
16086         * elf/tst-unique3lib.cc (gets): Likewise.
16087         * elf/tst-unique3lib2.cc (gets): Likewise.
16088         * elf/tst-unique4.cc (gets): Likewise.
16090 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
16092         * include/stdio.h: Add C++ protection.  Add gets declarations and
16093         definitions.
16094         * debug/tst-chk1.c: Don't declare gets here.
16095         * stdio-common/tst-gets.c: Likewise.
16097 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
16099         * posix/glob: Remove directory.
16101 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
16103         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
16105 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
16107         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
16108         of the non-standard EPFNOSUPPORT.
16110 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16112         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
16113         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
16114         ANYWHERE set to 1 only on KERN_NO_SPACE error.
16116 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
16118         * wcsmbs/uchar.h: Test __STDC_VERSION__.
16120 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
16122         * nscd/aicache.c (addhstaiX): Do not cache negative results of
16123         transient errors.
16124         * nscd/grpcache.c (cache_addgr): Likewise.
16125         * nscd/hstcache.c (cache_addhst): Likewise.
16126         * nscd/initgrcache.c (addinitgroupsX): Likewise.
16127         * nscd/pwdcache.c (cache_addpw): Likewise.
16128         * nscd/servicescache.c (cache_addserv): Likewise.
16130 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
16132         * malloc/malloc.c: Various cleanups.
16133         * malloc/hooks.c: Likewise.
16135         * stdlib/Makefile (tests): Add bug-fmtmsg1.
16136         * stdlib/bug-fmtmsg1.c: New file.
16138         * stdlib/fmtmsg.c (init): Add missing unlock.
16139         Patch by Peng Haitao <penght@cn.fujitsu.com>.
16141 2012-01-12  Marek Polacek  <polacek@redhat.com>
16143         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
16144         and _GNU_SOURCE.
16146 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
16148         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
16149         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
16150         macro to ensure uniqueness of label name.
16151         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16152         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16154 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
16156         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
16158         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
16159         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16160         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16161         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
16163 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
16165         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
16167         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
16168         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16169         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16171         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
16173         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
16174         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16175         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16176         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
16178         * math/bits/math-finite.h: Add ldexp support.
16180 2012-01-10  Marek Polacek  <polacek@redhat.com>
16182         * locale/programs/localedef.h (show_archive_content): Add noreturn
16183         attribute.
16185 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
16187         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
16189 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
16191         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
16193         * io/Makefile (headers): Add bits/poll2.h.
16195 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
16197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
16198         typo #include statement.
16200 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
16202         * include/sys/cdefs.h: Define __attribute_alloc_size.
16203         * catgets/gencat.c: Add alloc_size attribute and apply consistently
16204         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
16205         * elf/pldd.c: Likewise.
16206         * iconv/iconv_charmap.c: Likewise.
16207         * iconv/iconvconfig.c: Likewise.
16208         * iconv/strtab.c: Likewise.
16209         * locale/programs/locale.c: Likewise.
16210         * locale/programs/localedef.h: Likewise.
16211         * locale/programs/simple-hash.c: Likewise.
16212         * nscd/nscd.h: Likewise.
16213         * nss/makedb.c: Likewise.
16214         * sysdeps/generic/ldconfig.h: Likewise.
16215         * locale/programs/localedef.c: Remove xmalloc prototype.
16216         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
16218 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
16220         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
16221         appropriate.
16223 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
16225         * math/Makefile (tests): Add tst-CMPLX.
16226         * math/tst-CMPLX.c: New file.
16228         * math/complex.h (CMPLXL): Fix typo.
16230         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
16231         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
16232         GLIBC_2.16.
16233         * debug/tst-chk1.c: Add poll and ppoll tests.
16234         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
16235         * include/sys/poll.h: Add hidden proto for ppoll.
16236         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
16237         * sysdeps/mach/hurd/ppoll.c: Likewise.
16238         * io/ppoll.c: Likewise.
16239         * debug/poll_chk.c: New file.
16240         * debug/ppoll_chk.c: New file.
16241         * include/bits/poll2.h: New file.
16242         * io/bits/poll2.h: New file.
16244         [BZ #1350]
16245         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
16247         * configure.in: static is always set to yes.  Remove.
16248         * config.make.in: Don't set build-static.
16249         * Makeconfig: Remove use of build-static.
16250         * dlfcn/Makefile: Likewise.
16251         * elf/Makefile: Likewise.
16252         * math/Makefile: Likewise.
16253         * misc/Makefile: Likewise.
16254         * nptl/Makefile: Likewise.
16255         * sysdeps/mach/hurd/Makefile: Likewise.
16257         * configure.in: PWD_P is not used anymore.
16258         * config.make.in: Remove PWD_P entry.
16260         * configure.in: Remove last remnants of RANLIB.
16261         No need to check for signed size_t anymore.
16262         Don't set libc_commonpagesize and libc_relro_required here for Alpha
16263         and IA-64.
16264         Remove __builtin_expect test because we require at least gcc 3.4.
16265         * aclocal.m4: Likewise.
16267         * wcsmbs/mbrtoc16.c: Implement using towc function.
16268         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
16269         * wcsmbs/wcsmbsload.c: Likewise.
16270         * iconv/gconv_simple.c: Likewise.
16271         * iconv/gconv_int.h: Likewise.
16272         * iconv/gconv_builtin.h: Likewise.
16273         * iconv/iconv_prog.c: Remove CHAR16 handling.
16275         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
16277         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
16279         * configure.in: Remove --with-elf and --enable-bounded options.
16280         Dont set base_machine for ia64.  More non-ELF conditions removed.
16281         Remove testing and setting of leading underscore information.
16282         * config.make.in (build-bounded): Set to no.
16283         * config.h.in: Remove NO_UNDERSCORES entry.
16284         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
16285         them.
16286         * csu/start.c: Remove !NO_UNDERSCORE code.
16287         * locale/localeinfo.h: Likewise.
16288         * sysdeps/generic/machine-gmon.h: Likewise.
16289         * sysdeps/generic/sysdep.h: Likewise.
16290         * sysdeps/i386/sysdep.h: Likewise.
16291         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16292         * sysdeps/mach/sysdep.h: Likewise.
16293         * sysdeps/s390/s390-32/sysdep.h: Likewise.
16294         * sysdeps/s390/s390-64/sysdep.h: Likewise.
16295         * sysdeps/sh/sysdep.h: Likewise.
16296         * sysdeps/sparc/sparc32/alloca.S: Likewise.
16297         * sysdeps/unix/i386/sysdep.S: Likewise.
16298         * sysdeps/unix/sparc/start.c: Likewise.
16299         * sysdeps/unix/sparc/sysdep.S: Likewise.
16300         * sysdeps/unix/sparc/sysdep.h: Likewise.
16301         * sysdeps/unix/start.c: Likewise.
16302         * sysdeps/unix/x86_64/sysdep.S: Likewise.
16303         * sysdeps/x86_64/sysdep.h: Likewise.
16305 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
16307         [BZ #13553]
16308         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
16309         for non-gcc.
16310         * argp/argp-fmtstream.h: Use const instead __const.
16311         * argp/argp.h: Likewise.
16312         * assert/assert.h: Likewise.
16313         * bits/fenv.h: Likewise.
16314         * bits/sched.h: Likewise.
16315         * bits/sigset.h: Likewise.
16316         * bits/sigthread.h: Likewise.
16317         * catgets/nl_types.h: Likewise.
16318         * conform/data/pthread.h-data: Likewise.
16319         * crypt/crypt-private.h: Likewise.
16320         * crypt/crypt.h: Likewise.
16321         * crypt/crypt_util.c: Likewise.
16322         * ctype/ctype.h: Likewise.
16323         * debug/execinfo.h: Likewise.
16324         * debug/mbsnrtowcs_chk.c: Likewise.
16325         * debug/mbsrtowcs_chk.c: Likewise.
16326         * debug/wcsnrtombs_chk.c: Likewise.
16327         * debug/wcsrtombs_chk.c: Likewise.
16328         * debug/wcstombs_chk.c: Likewise.
16329         * dirent/dirent.h: Likewise.
16330         * dlfcn/dlfcn.h: Likewise.
16331         * elf/neededtest4.c: Likewise.
16332         * grp/grp.h: Likewise.
16333         * gshadow/gshadow.h: Likewise.
16334         * iconv/gconv.h: Likewise.
16335         * iconv/gconv_int.h: Likewise.
16336         * iconv/gconv_simple.c: Likewise.
16337         * iconv/iconv.h: Likewise.
16338         * iconv/loop.c: Likewise.
16339         * iconv/skeleton.c: Likewise.
16340         * include/aio.h: Likewise.
16341         * include/aliases.h: Likewise.
16342         * include/argz.h: Likewise.
16343         * include/arpa/inet.h: Likewise.
16344         * include/assert.h: Likewise.
16345         * include/dirent.h: Likewise.
16346         * include/dlfcn.h: Likewise.
16347         * include/execinfo.h: Likewise.
16348         * include/fcntl.h: Likewise.
16349         * include/fenv.h: Likewise.
16350         * include/glob.h: Likewise.
16351         * include/grp.h: Likewise.
16352         * include/libintl.h: Likewise.
16353         * include/mntent.h: Likewise.
16354         * include/netdb.h: Likewise.
16355         * include/pwd.h: Likewise.
16356         * include/rpc/netdb.h: Likewise.
16357         * include/sched.h: Likewise.
16358         * include/search.h: Likewise.
16359         * include/shadow.h: Likewise.
16360         * include/signal.h: Likewise.
16361         * include/stdio.h: Likewise.
16362         * include/stdlib.h: Likewise.
16363         * include/string.h: Likewise.
16364         * include/sys/socket.h: Likewise.
16365         * include/sys/stat.h: Likewise.
16366         * include/sys/statfs.h: Likewise.
16367         * include/sys/statvfs.h: Likewise.
16368         * include/sys/syslog.h: Likewise.
16369         * include/sys/time.h: Likewise.
16370         * include/sys/uio.h: Likewise.
16371         * include/time.h: Likewise.
16372         * include/unistd.h: Likewise.
16373         * include/utmp.h: Likewise.
16374         * include/wchar.h: Likewise.
16375         * include/wctype.h: Likewise.
16376         * inet/aliases.h: Likewise.
16377         * inet/arpa/inet.h: Likewise.
16378         * inet/netinet/ether.h: Likewise.
16379         * inet/netinet/in.h: Likewise.
16380         * intl/libintl.h: Likewise.
16381         * io/bits/fcntl2.h: Likewise.
16382         * io/fcntl.h: Likewise.
16383         * io/ftw.h: Likewise.
16384         * io/sys/poll.h: Likewise.
16385         * io/sys/stat.h: Likewise.
16386         * io/sys/statfs.h: Likewise.
16387         * io/sys/statvfs.h: Likewise.
16388         * io/utime.h: Likewise.
16389         * libio/bits/stdio.h: Likewise.
16390         * libio/bits/stdio2.h: Likewise.
16391         * libio/libio.h: Likewise.
16392         * libio/libioP.h: Likewise.
16393         * libio/stdio.h: Likewise.
16394         * locale/lc-ctype.c: Likewise.
16395         * locale/locale.h: Likewise.
16396         * login/utmp.h: Likewise.
16397         * malloc/arena.c: Likewise.
16398         * malloc/malloc.c: Likewise.
16399         * malloc/malloc.h: Likewise.
16400         * malloc/mcheck.c: Likewise.
16401         * malloc/mtrace.c: Likewise.
16402         * math/bits/mathcalls.h: Likewise.
16403         * math/fenv.h: Likewise.
16404         * math/math_private.h: Likewise.
16405         * misc/bits/error.h: Likewise.
16406         * misc/bits/syslog.h: Likewise.
16407         * misc/err.h: Likewise.
16408         * misc/error.h: Likewise.
16409         * misc/fstab.h: Likewise.
16410         * misc/mntent.h: Likewise.
16411         * misc/regexp.h: Likewise.
16412         * misc/search.h: Likewise.
16413         * misc/sgtty.h: Likewise.
16414         * misc/sys/mman.h: Likewise.
16415         * misc/sys/syslog.h: Likewise.
16416         * misc/sys/uio.h: Likewise.
16417         * misc/sys/xattr.h: Likewise.
16418         * misc/ttyent.h: Likewise.
16419         * nis/rpcsvc/ypclnt.h: Likewise.
16420         * nss/nss.h: Likewise.
16421         * posix/bits/unistd.h: Likewise.
16422         * posix/fnmatch.h: Likewise.
16423         * posix/glob.h: Likewise.
16424         * posix/sched.h: Likewise.
16425         * posix/spawn.h: Likewise.
16426         * posix/sys/wait.h: Likewise.
16427         * posix/unistd.h: Likewise.
16428         * posix/wordexp.h: Likewise.
16429         * pwd/pwd.h: Likewise.
16430         * resolv/netdb.h: Likewise.
16431         * resource/sys/resource.h: Likewise.
16432         * rt/aio.h: Likewise.
16433         * rt/bits/mqueue2.h: Likewise.
16434         * rt/mqueue.h: Likewise.
16435         * shadow/shadow.h: Likewise.
16436         * signal/signal.h: Likewise.
16437         * socket/send.c: Likewise.
16438         * socket/sendto.c: Likewise.
16439         * socket/sys/socket.h: Likewise.
16440         * stdio-common/printf.h: Likewise.
16441         * stdlib/bits/stdlib.h: Likewise.
16442         * stdlib/fmtmsg.h: Likewise.
16443         * stdlib/monetary.h: Likewise.
16444         * stdlib/stdlib.h: Likewise.
16445         * stdlib/ucontext.h: Likewise.
16446         * streams/stropts.h: Likewise.
16447         * string/argz.h: Likewise.
16448         * string/bits/string2.h: Likewise.
16449         * string/string.h: Likewise.
16450         * string/strings.h: Likewise.
16451         * sunrpc/rpc/auth.h: Likewise.
16452         * sunrpc/rpc/auth_des.h: Likewise.
16453         * sunrpc/rpc/clnt.h: Likewise.
16454         * sunrpc/rpc/netdb.h: Likewise.
16455         * sunrpc/rpc/pmap_clnt.h: Likewise.
16456         * sunrpc/rpc/xdr.h: Likewise.
16457         * sysdeps/generic/inttypes.h: Likewise.
16458         * sysdeps/generic/net/if.h: Likewise.
16459         * sysdeps/generic/sys/swap.h: Likewise.
16460         * sysdeps/gnu/net/if.h: Likewise.
16461         * sysdeps/gnu/utmpx.h: Likewise.
16462         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
16463         * sysdeps/i386/i486/bits/string.h: Likewise.
16464         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
16465         * sysdeps/s390/bits/string.h: Likewise.
16466         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
16467         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
16468         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
16469         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
16470         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
16471         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
16472         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
16473         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
16474         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
16475         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
16476         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
16477         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16478         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
16479         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16480         * sysdeps/unix/sysv/linux/readv.c: Likewise.
16481         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
16482         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16483         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16484         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16485         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16486         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16487         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
16488         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
16489         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
16490         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
16491         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
16492         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
16493         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16494         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
16495         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
16496         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
16497         * sysvipc/sys/ipc.h: Likewise.
16498         * sysvipc/sys/msg.h: Likewise.
16499         * sysvipc/sys/sem.h: Likewise.
16500         * sysvipc/sys/shm.h: Likewise.
16501         * termios/termios.h: Likewise.
16502         * time/sys/time.h: Likewise.
16503         * time/time.h: Likewise.
16504         * wcsmbs/bits/wchar2.h: Likewise.
16505         * wcsmbs/uchar.h: Likewise.
16506         * wcsmbs/wchar.h: Likewise.
16507         * wctype/wctype.h: Likewise.
16509         [BZ #13551]
16510         * Makeconfig: Remove all but ELF support including AIX support.
16511         * Makerules: Likewise.
16512         * config.h.in: Likewise.
16513         * config.make.in: Likewise.
16514         * configure: Likewise.
16515         * configure.in: Likewise.
16516         * csu/Makefile: Likewise.
16517         * csu/version.c: Likewise.
16518         * debug/Makefile: Likewise.
16519         * dlfcn/Makefile: Likewise.
16520         * elf/Makefile: Likewise.
16521         * extra-lib.mk: Likewise.
16522         * iconv/Makefile: Likewise.
16523         * include/libc-symbols.h: Likewise.
16524         * include/shlib-compat.h: Likewise.
16525         * resolv/Makefile: Likewise.
16526         * resolv/res_libc.c: Likewise.
16527         * rt/Makefile: Likewise.
16528         * sysdeps/i386/asm-syntax.h: Likewise.
16529         * sysdeps/i386/sysdep.h: Likewise.
16530         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16531         * sysdeps/mach/sysdep.h: Likewise.
16532         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
16533         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
16534         * sysdeps/s390/asm-syntax.h: Likewise.
16535         * sysdeps/s390/s390-32/sysdep.h: Likewise.
16536         * sysdeps/s390/s390-64/sysdep.h: Likewise.
16537         * sysdeps/sh/sysdep.h: Likewise.
16538         * sysdeps/unix/sparc/sysdep.h: Likewise.
16539         * sysdeps/wordsize-32/divdi3.c: Likewise.
16540         * sysdeps/x86_64/sysdep.h: Likewise.
16542         * argp/Versions: Remove _argp_unlock_xxx.
16544         [BZ #13559]
16545         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
16546         * abilist/libBrokenLocale.abilist: Likewise.
16547         * abilist/libanl.abilist: Likewise.
16548         * abilist/libc.abilist: Likewise.
16549         * abilist/libcrypt.abilist: Likewise.
16550         * abilist/libdl.abilist: Likewise.
16551         * abilist/libm.abilist: Likewise.
16552         * abilist/libnsl.abilist: Likewise.
16553         * abilist/libpthread.abilist: Likewise.
16554         * abilist/libresolv.abilist: Likewise.
16555         * abilist/librt.abilist: Likewise.
16556         * abilist/libthread_db.abilist: Likewise.
16557         * abilist/libutil.abilist: Likewise.
16558         * abilist/libnss_db.abilist: New file.
16560         * scripts/abilist.awk: Add support for indirect functions.
16562         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
16564         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
16566         * shlib-versions: Remove entries for ports architectures.
16568         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
16569         files in ports.
16570         * elf/stackguard-macros.h: Remove support for IA-64.
16571         * elf/tst-auditmod1.c: Likewise.
16572         * sysdeps/generic/ldsodefs.h: Likewise.
16574         * sysdeps/unix/sysv/linux/configure.in: Ports should define
16575         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
16576         configure files.
16578         [BZ #13552]
16579         * configure.in: Remove --enable-omitfp support.
16580         * FAQ.in: Adjust.
16581         * config.make.in: Likewise.
16582         * Makeconfig: Likewise.
16583         * manual/install.texi: Likewise.
16585         In case anyone cares, the IA-64 architecture could move to ports.
16586         * sysdeps/ia64/*: Removed.
16587         * sysdeps/unix/sysv/linux/ia64/*: Removed.
16588         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
16590         [BZ #13555]
16591         * configure.in: Remove entries for unsupported architectures.
16593         [BZ #13533]
16594         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
16595         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
16596         routines.
16597         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
16598         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
16599         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
16600         fall back to using wcrtomb.
16601         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
16602         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
16603         renaming.
16604         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
16605         * wcsmbs/tst-c16c32-1.c: New file.
16607         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
16608         local variable.
16610         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
16612         * elf/tst-unique3.cc: Add explicit declaration of gets.
16613         * elf/tst-unique3lib.cc: Likewise.
16614         * elf/tst-unique3lib2.cc: Likewise.
16615         * elf/tst-unique4.cc: Likewise.
16617         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
16619 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
16621         [BZ #13566]
16622         * assert/assert.h (static_assert): Don't define for C++.
16623         * libio/stdio.h (gets): Do declare for C++ <= C++11.
16624         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
16626 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
16628         * iconv/loop.c (single loop): Fix assertion in storing of
16629         remaining bytes.
16631         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
16633 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
16635         * posix/getconf.c: Update copyright year.
16636         * nss/getent.c: Likewise.
16637         * nss/makedb.c: Likewise.
16638         * iconv/iconvconfig.c: Likewise.
16639         * iconv/iconv_prog.c: Likewise.
16640         * elf/ldconfig.c: Likewise.
16641         * elf/pldd.c: Likewise.
16642         * elf/sotruss.ksh: Likewise.
16643         * catgets/gencat.c: Likewise.
16644         * csu/version.c: Likewise.
16645         * elf/ldd.bash.in: Likewise.
16646         * elf/sprof.c (print_version): Likewise.
16647         * locale/programs/locale.c: Likewise.
16648         * locale/programs/localedef.c: Likewise.
16649         * login/programs/pt_chown.c: Likewise.
16650         * nscd/nscd.c (print_version): Likewise.
16651         * debug/xtrace.sh: Likewise.
16652         * malloc/memusage.sh: Likewise.
16653         * malloc/mtrace.pl: Likewise.
16654         * debug/catchsegv.sh: Likewise.
16656 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
16658         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
16659         pure attribute.
16661 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
16663         [BZ #13533]
16664         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
16665         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
16666         transformations.
16667         * iconv/gconv_int.h: Likewise.
16668         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
16669         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
16670         from libc for GLIBC_2.16.
16671         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
16672         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
16673         * wcsmbs/uchar.h: Really define mbstate_t.
16674         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
16675         * wcsmbs/c16rtomb.c: New file.
16676         * wcsmbs/mbrtoc16.c: New file.
16677         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
16678         for C/POSIX locale.
16679         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
16680         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
16682         * wcsmbs/wchar.h: Add missing __restrict.
16684 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
16686         [BZ #13532]
16687         * time/Makefile (routines): Add timespec_get.
16688         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
16689         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
16690         timespec for ISO C11.
16691         * time/timespec_get.c: New file.
16692         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
16693         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
16695         [BZ #13531]
16696         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
16697         * stdlib/stdlib.h: Declare aligned_alloc.
16698         * Versions.def: Add GLIBC_2.16 for libc.
16699         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
16701         [BZ 13527]
16702         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
16703         ISO C11.
16705         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
16706         code.
16708         [BZ #13528]
16709         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
16711         [BZ #13529]
16712         * assert/assert.h (static_assert): Define.
16714         * version.h: Update for 2.16 development version.
16716         [BZ #13526]
16717         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
16718         _ISOC11_SOURCE.
16720         * version.h (RELEASE): Bump for 2.15 release.
16721         * include/features.h (__GLIBC_MINOR__): Bump to 15.
16723         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
16724         Patch by Marek Polacek <mpolacek@redhat.com>.
16726         * bits/byteswap.h: Protect long long constants with __extension__.
16727         * sysdeps/i386/bits/byteswap.h: Likewise.
16728         * sysdeps/ia64/bits/byteswap.h: Likewise.
16729         * sysdeps/s390/bits/byteswap.h: Likewise.
16730         * sysdeps/x86_64/bits/byteswap.h: Likewise.
16732 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16734         [BZ #13540]
16735         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
16736         destination buffer.
16737         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
16739 2011-12-23  Marek Polacek  <polacek@redhat.com>
16741         * elf/dl-addr.c (determine_info): Add inline keyword.
16742         * elf/tst-auditmod4b.c (check_avx): Likewise.
16743         * elf/tst-auditmod6b.c (check_avx): Likewise.
16744         * elf/tst-auditmod6c.c (check_avx): Likewise.
16745         * elf/tst-auditmod7b.c (check_avx): Likewise.
16747 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
16749         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
16750         !__SSE_MATH__.
16752 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16754         [BZ #13540]
16755         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
16756         processing for last bytes.
16758 2011-08-06  Bruno Haible  <bruno@clisp.org>
16760         [BZ #13061]
16761         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
16762         U+0385, not to U+1FEE.
16764         [BZ #13062]
16765         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
16766         entry for U+00A5 U+0301.
16768 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
16770         [BZ #13166]
16771         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
16772         buffer for the output is too small.
16774         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
16775         optimization.
16777         [BZ #13185]
16778         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
16779         SSE flags if possible.
16781 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16783         [BZ #13540]
16784         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
16785         processing for last bytes.
16787 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
16789         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
16790         (syscall-list-default-options, syscall-list-default-condition)
16791         (syscall-list-includes): Define.
16792         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
16793         list of ABIs and options and #if conditions for each ABI.  Do not
16794         handle common syscalls between ABIs specially.
16795         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
16796         Remove.
16797         (syscall-list-variants, syscall-list-32bit-options)
16798         (syscall-list-32bit-condition, syscall-list-64bit-options)
16799         (syscall-list-64bit-condition): Define.
16800         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
16801         (syscall-list-variants, syscall-list-32bit-options)
16802         (syscall-list-32bit-condition, syscall-list-64bit-options)
16803         (syscall-list-64bit-condition): Define.
16804         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
16805         Remove.
16806         (syscall-list-variants, syscall-list-32bit-options)
16807         (syscall-list-32bit-condition, syscall-list-64bit-options)
16808         (syscall-list-64bit-condition): Define.
16809         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
16810         Remove.
16811         (syscall-list-variants, syscall-list-32bit-options)
16812         (syscall-list-32bit-condition, syscall-list-64bit-options)
16813         (syscall-list-64bit-condition): Define.
16815 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
16817         * locale/iso-639.def: Add brx entry.
16819         [BZ #13328]
16820         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
16821         Proposed by Mariusz_Cukr <marcukr@op.pl>.
16823         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
16824         __feraiseexcept_renamed.
16826 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
16828         [BZ #13538]
16829         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
16830         EPOLLET with unsigned values.
16831         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16832         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16834         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
16835         to large cancellation.
16836         * math/s_cacoshf.c: Likewise.
16837         * math/s_cacoshl.c: Likewise.
16839 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
16841         [BZ #13305]
16842         [BZ #12786]
16843         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
16844         * math/s_cacoshf.c: Likewise.
16845         * math/s_cacoshl.c: Likewise.
16847 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
16849         [BZ #13439]
16850         * iconv/gconv.h: Define __GCONV_SWAP.
16851         * iconvdata/unicode.c: The swap bit must be stored in __flags.
16852         * iconvdata/utf-16.c: Likewise.
16853         * iconvdata/utf-32.c: Likewise.
16855 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
16857         [BZ #13524]
16858         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
16859         numerator after shifting it by one limb.
16861 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
16863         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
16864         under [__USE_EXTERN_INLINES].
16866 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
16868         [BZ #13446]
16869         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
16871 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16873         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
16874         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
16875         optimized code.
16876         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
16877         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
16878         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
16879         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
16880         for strncasecmp/strncasecmp_l compilation.
16881         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
16882         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
16884 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
16886         [BZ #13484]
16887         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
16888         of __asm__.
16890 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
16892         [BZ #13506]
16893         * time/tzfile.c (__tzfile_read): Check values from file header.
16895 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
16897         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
16898         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
16899         * powerpc/powerpc32/dl-start.S: Likewise.
16900         * powerpc/powerpc32/elf/start.S: Likewise.
16901         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16902         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
16903         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
16904         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
16905         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16906         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
16907         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
16908         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16909         * powerpc/powerpc32/fpu/s_round.S: Likewise.
16910         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16911         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16912         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16913         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
16914         * powerpc/powerpc32/memset.S: Likewise.
16915         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16916         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16917         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16918         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16919         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16920         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16921         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16922         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16923         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
16924         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
16925         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
16926         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16927         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16929 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16931         * math/libm-test.inc: Added more nearbyint tests.
16932         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
16933         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
16934         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
16935         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
16937 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
16939         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
16940         FD_CLOEXEC.
16942 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16944         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
16945         Add wcscpy-ssse3 wcscpy-c.
16946         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
16947         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
16948         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
16949         * sysdeps/x86_64/wcschr.S: New file.
16950         * sysdeps/x86_64/wcsrchr.S: New file.
16951         * string/test-strcmp.c: Remove checking of wcscmp function for
16952         wrong alignments.
16953         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
16954         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
16955         wcsrchr-sse2 wcsrchr-c.
16956         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
16957         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
16958         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
16959         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
16960         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
16961         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
16962         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
16963         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
16964         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
16965         * wcsmbc/wcschr.c (WCSCHR): New macro.
16967 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16969         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
16970         * wcsmbs/test-wcsrchr.c: New file.
16971         * string/test-strrchr.c: Add wcsrchr support.
16972         (WIDE): New macro.
16973         * wcsmbs/test-wcscpy.c: New file.
16974         * string/test-strcpy.c: Add wcscpy support.
16975         (WIDE): New macro.
16977 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
16979         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
16980         the inner loop.
16982 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
16984         [BZ #13472]
16985         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
16987 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
16989         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
16990         Minor optimizations.
16992         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
16993         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
16994         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
16996 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
16998         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
16999         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
17000         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
17001         for gcc to avoid warnings.
17002         * inet/Makefile (tests): Add tst-checks.
17003         * inet/tst-checks.c: New file.
17005         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
17006         warning.
17008         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
17009         __wmemcmp_sse2.
17011         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
17012         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
17014         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
17016 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
17018         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
17019         problem.
17021         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
17023 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
17025         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
17026         conditional on GCC version.
17027         (__arch_compare_and_exchange_val_8_acq)
17028         (__arch_compare_and_exchange_val_16_acq)
17029         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
17030         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
17031         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
17033 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
17035         * sysdeps/sh/backtrace.c: New file.
17037 2011-12-02  Andreas Schwab  <schwab@redhat.com>
17039         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
17040         parenthesis.
17042 2011-12-01  Andreas Schwab  <schwab@redhat.com>
17044         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
17045         falling back to utime.
17047 2011-11-30  Andreas Schwab  <schwab@redhat.com>
17049         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
17050         expectations for float.
17052 2011-11-29  Andreas Schwab  <schwab@redhat.com>
17054         * locale/weight.h (findidx): Add parameter len.
17055         * locale/weightwc.h (findidx): Likewise.
17056         * posix/fnmatch_loop.c (FCT): Adjust caller.
17057         * posix/regcomp.c (build_equiv_class): Likewise.
17058         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
17059         * posix/regexec.c (check_node_accept_bytes): Likewise.
17060         * string/strcoll_l.c (STRCOLL): Likewise.
17061         * string/strxfrm_l.c (STRXFRM): Likewise.
17063 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
17065         * Makefile.in: Remove CVSOPT handling.
17066         * configure.in: Remove use of AC_REVISION.
17067         * iconvdata/Makefile (distribute): No need to filter out CVS.
17068         * scripts/list-sources.sh: Remove CVS, subversion and monotone
17069         handling.
17071 2011-11-16  Andreas Schwab  <schwab@redhat.com>
17073         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
17074         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
17075         [USE_AS_STRNCASECMP_L]: Likewise.
17076         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
17077         NO_TLS_DIRECT_SEG_REFS.
17078         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
17079         Fix argument offsets for non-PIC.
17080         [USE_AS_STRNCASECMP_L]: Likewise.
17081         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
17082         NO_TLS_DIRECT_SEG_REFS.
17084 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
17086         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
17087         O_CLOEXEC.
17088         * locale/loadlocale.c (_nl_load_locale): Likewise.
17090 2011-11-15  Andreas Schwab  <schwab@redhat.com>
17092         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
17093         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
17094         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
17095         (SYSCALL_GETTIME): Set errno on error.
17097         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
17098         count references to noai6ai_cached.
17100 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
17102         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
17104         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
17105         FD_CLOEXEC for /proc/self/maps.
17107         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
17108         FD_CLOEXEC for /proc/meminfo.
17110         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
17111         gai.conf.
17113         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
17114         FD_CLOEXEC for given file.
17116         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
17118         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
17119         FD_CLOEXEC for /etc/hosts.
17120         (_gethtent): Likewise.
17122         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
17124         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
17125         cancellation and set FD_CLOEXEC for /etc/netgroup.
17127         * nss/nss_files/files-key.c (search): Don't allow cancellation when
17128         reading /etc/publickey.
17130         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
17131         allow cancellation when reading /etc/group.
17133         * nss/nss_files/files-alias.c (internal_setent): Don't allow
17134         cancellation.
17135         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
17137         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
17138         when using data file.
17140         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
17142         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
17143         (write_nis_obj): Use "c" and "e" in fopen.
17145         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
17147         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
17149         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
17151         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
17153         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
17154         locale.alias.
17156         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
17158         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
17160         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
17162         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
17163         file parsing and set FD_CLOEXEC.
17165 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
17167         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
17169 2011-11-14  Andreas Schwab  <schwab@redhat.com>
17171         * malloc/arena.c (arena_get2): Don't call reused_arena when
17172         _int_new_arena failed.
17174 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
17176         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
17177         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
17178         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
17179         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17180         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17181         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
17182         to compile strcasecmp and strncasecmp.
17183         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
17184         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
17186         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
17188 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
17190         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
17191         locale-defines.sym to gen-as-const-headers.
17192         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
17193         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
17194         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
17195         to compile strcasecmp and strncasecmp.
17196         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
17197         strcasecmp_l and strncasecmp_l.
17198         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
17199         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
17200         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
17201         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
17202         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
17203         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
17204         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
17205         * sysdeps/i386/i686/multiarch/strncase.S: New file.
17206         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
17207         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
17208         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
17210 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
17212         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
17213         result of SYSDEP_GETTIME_CPU to retval.
17214         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
17215         parameter list to macro.  Remove trailing semicolon.  Adjust users.
17217         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
17218         variable.
17220         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
17221         mantissa words.
17222         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
17224         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
17225         from unused variable.
17227         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
17228         DWARF definitions.
17229         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
17230         for assembling.
17232         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
17233         over namespaces.
17235         * sunrpc/rpc_prot.c (rejected): Fix case value.
17237         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
17238         unsigned long long int to avoid warnings in shift.
17240         * posix/regex_internal.c (re_string_reconstruct): Actually use result
17241         of use of trans.
17242         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
17243         variable tmp.
17245         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
17246         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
17247         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
17249         * nis/nis_table.c (nis_list): Use variable of correct type for
17250         result of __follow_path call.
17252 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17254         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
17255         of math functions ceil, trunc, floor, round, and sqrt, when
17256         avaliable on the platform.
17257         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
17258         name clash.
17259         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17260         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17261         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17263 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
17265         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
17266         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17268 2011-11-11  Roland McGrath  <roland@hack.frob.com>
17270         * include/unistd.h: Fix __readlink return type.
17271         Reported by Chris Metcalf <cmetcalf@tilera.com>.
17273 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
17275         * stdlib/ucontext.h: Undo last change for makecontext.
17277 2011-11-11  Andreas Schwab  <schwab@redhat.com>
17279         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
17281         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
17282         * setjmp/setjmp.h: Mark functions as non-leaf.
17283         * setjmp/bits/setjmp2.h: Likewise.
17284         * stdlib/ucontext.h: Likewise.
17286 2011-11-10  Andreas Schwab  <schwab@redhat.com>
17288         * malloc/arena.c (_int_new_arena): Don't increment narenas.
17289         (reused_arena): Don't check arena limit.
17290         (arena_get2): Atomically check arena limit.
17292 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
17294         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
17295         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
17297         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
17298         instructions.
17300 2011-11-07  Andreas Schwab  <schwab@redhat.com>
17302         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
17303         handler when locking.
17305         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17306         Fix size of allocated buffer.
17308 2011-11-04  Andreas Schwab  <schwab@redhat.com>
17310         [BZ #10103]
17311         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
17312         declarations for long double functions.
17313         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
17315         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
17317 2011-11-03  Andreas Schwab  <schwab@redhat.com>
17319         * nscd/nscd.c (main): Don't start AVC thread until credentials are
17320         installed.
17322         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
17323         is disabled.
17325 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17327         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
17329 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
17331         * include/alloca.h (stackinfo_alloca_round): Define.
17332         (extend_alloca): Use it.
17333         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
17334         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
17335         here.
17337         * scripts/check-local-headers.sh: Ignore libaudit.h.
17339         * nscd/Makefile (extra-objs): Make recursively expanded.
17341 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
17343         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
17344         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17346         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
17347         * posix/tst-rfc3484-2.c: Likewise.
17348         * posix/tst-rfc3484-3.c: Likewise.
17350         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17351         process_vm_writev.
17352         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
17353         process_vm_writev.
17354         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
17355         process_vm_writev from libc using GLIBC_2.15 version.
17357         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
17359 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
17361         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
17362         stack usage.
17364 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
17366         [BZ #13367]
17367         * nss/getent.c (initgroups_keys): Show error message in case no group
17368         names are given.
17370         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
17371         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
17372         __bump_nl_timestamp.
17373         * nscd/connections (nscd_init): When host database is served open
17374         netlink socket and request notification about configuration changes.
17375         (main_loop_poll): Track netlink file descriptor and bump timestamp
17376         in case data becomes available.
17377         (main_loop_epoll): Likewise.
17378         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
17379         (database_pers_head): Add extra_data fileds.
17380         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
17381         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
17382         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
17383         Adjust caller.
17384         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
17385         in6ai data, call __free_in6ai.
17386         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
17387         Add -DHAVE_NETLINK.
17388         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
17389         interface information.  Reuse previous data if netlink timestamp
17390         is not changed.
17391         (__bump_nl_timestamp): New function.
17392         (__free_in6ai): New function.
17394 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
17396         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
17397         close_not_cancel_no_status here.
17398         (__check_pf): Reorganize code a bit to not call close twice if OOM.
17400 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
17402         [BZ #13276]
17403         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
17404         return value.
17406         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
17407         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
17408         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
17410 2011-07-03  Andreas Jaeger  <aj@suse.de>
17412         [BZ #10709]
17413         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
17414         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
17415         * math/libm-test.inc (sin_test): Add test case.
17417 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
17419         [BZ #13337]
17420         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
17421         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17423         * elf/chroot_canon.c (chroot_canon): Cleanups.
17425         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
17427         [BZ #13335]
17428         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
17429         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17431         * string/test-strchr.c: Make usable for strchrnul testing.
17432         * string/test-strchrnul.c: New file.
17433         * string/Makefile (strop-tests): Add strchrnul.
17435         * po/it.po: Update from translation team.
17436         * po/es.po: Likewise.
17438 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
17440         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
17441         the three constants needed as parameters.  Drop the others.
17442         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
17443         __m128i_strloadu_tolower.
17444         Create and initialize variable zero and use it in all the places
17445         where _mm_setzero_si128 was used.
17447         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
17448         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
17449         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
17450         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
17451         anymore.
17452         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
17453         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
17454         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
17455         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
17456         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
17457         __mpranred, __mptan.
17458         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
17459         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
17460         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
17461         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
17462         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
17463         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
17464         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
17465         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
17466         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
17468 2011-10-28  Andreas Schwab  <schwab@redhat.com>
17470         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
17471         redefine if SHARED.
17472         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
17474         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
17475         wide char related routines to wcsmbs subdir.
17477 2011-10-27  Andreas Schwab  <schwab@redhat.com>
17479         [BZ #13344]
17480         * misc/sys/cdefs.h (__THROWNL): Define.
17481         * posix/unistd.h: Use __THREADNL instead of __THREAD
17482         for memory synchronization functions.
17484 2011-10-26  Roland McGrath  <roland@hack.frob.com>
17486         [BZ #13349]
17487         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
17488         doesn't exist.
17489         * manual/stdio.texi (Obstack Streams): Node removed.
17491 2011-10-26  Andreas Schwab  <schwab@redhat.com>
17493         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
17494         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17495         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17497         * math/math_private.h (math_force_eval): Allow non-addressable
17498         arguments.
17499         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
17501 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
17503         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
17504         file is not needed.
17506         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
17507         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
17508         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17509         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17510         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17511         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17512         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17513         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
17514         Add AVX variants.
17515         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
17516         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
17517         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
17518         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
17519         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
17520         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
17521         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
17522         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
17523         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
17524         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
17525         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
17526         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
17527         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
17528         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
17529         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
17530         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
17531         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
17532         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
17533         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
17535         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
17536         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
17538         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
17539         place.  Use VEX encoding when compiling for AVX.
17541 2011-10-25  Andreas Schwab  <schwab@redhat.com>
17543         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
17544         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17546         * string/test-strchr.c (do_test): Don't generate NUL bytes.
17548 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
17550         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
17551         useless if() expression.
17552         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17553         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17554         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17555         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17556         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17557         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17558         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17559         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17560         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17561         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17562         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17563         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17564         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17565         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17566         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17567         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17568         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17569         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17570         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17572         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
17574 2011-10-25  Andreas Schwab  <schwab@redhat.com>
17576         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
17577         condition.
17578         * elf/dl-fini.c (_dl_sort_fini): Likewise.
17580 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
17582         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
17583         .text section.  Avoid duplicate constants.
17584         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17585         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17586         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17587         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17588         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17589         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17590         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17591         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17592         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17593         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
17594         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17595         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17596         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
17597         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
17598         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
17599         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
17600         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
17601         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17602         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17603         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17604         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17605         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17606         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17607         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
17608         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
17609         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
17610         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
17611         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
17612         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
17613         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17614         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
17615         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17616         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17617         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
17618         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
17619         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17620         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17621         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
17622         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
17623         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
17624         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
17625         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
17626         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
17627         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17628         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17630 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
17632         * sysdeps/x86_64/dla.h: Move to ...
17633         * sysdeps/x86_64/fpu/dla.h: ...here.
17634         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
17635         situations.  Use __builtin_fma only for gcc 4.6 and up.
17637         * config.make.in: Add have-mfma4 entry.
17638         * configure.in: Substitute libc_cv_cc_fma4.
17639         * math/Makefile (dbl-only-routines): Add sincostab.
17640         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
17641         Use __sincostab not sincos.
17642         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
17643         name is a macro.
17644         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17645         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17646         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17647         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
17648         using __copysign.
17649         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
17650         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
17651         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
17652         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
17653         and __inv.
17654         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
17655         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
17656         __copysign.
17657         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
17658         define aliases when function name is a macro.
17659         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
17660         sysdeps/ieee754/dbl-64/sincos.tbl.
17661         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
17662         fma4-enabled routines.
17663         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
17664         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
17665         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
17666         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
17667         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
17668         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
17669         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
17670         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
17671         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
17672         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
17673         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
17674         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
17675         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
17676         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
17677         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
17678         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
17679         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
17680         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
17681         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
17682         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
17683         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
17684         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
17685         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
17686         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
17687         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
17688         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
17689         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
17690         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
17691         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
17692         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
17694         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
17695         rename.
17696         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17697         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17698         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17699         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17700         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17701         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17702         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17703         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17705 2011-10-24  Andreas Schwab  <schwab@redhat.com>
17707         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
17709 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
17711         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
17713         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
17714         prediction.
17715         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
17717         * string/strnlen.c: Don't define STRNLEN, reverse logic.
17718         Remove unused variable magic_bits.
17719         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
17721         * string/strnlen.c: Define and use STRNLEN macro.
17722         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
17723         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
17724         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
17725         * wcsmbs/wcslen.c: Define and use WCSLEN.
17726         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
17727         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
17728         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
17729         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
17730         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
17731         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
17732         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17734 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17736         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17737         strnlen-sse2-no-bsf.
17738         Rename strlen-no-bsf to strlen-sse2-no-bsf.
17739         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
17740         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
17741         Add strnlen support.
17742         (USE_AS_STRNLEN): New macro.
17743         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
17744         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
17745         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
17746         * sysdeps/x86_64/wcslen.S: New file.
17748 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
17750         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17751         XMM-moves are used for copying on small sizes.
17753 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17755         * wcsmbs/Makefile (strop-tests): Add wcschr.
17756         * wcsmbs/test-wcschr.c: New file.
17757         * string/test-strchr.c: Update.
17758         Add wcschr support.
17759         (WIDE): New macro.
17761 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17763         * wcsmbs/Makefile (strop-tests): Add wcslen.
17764         * wcsmbs/test-wcslen.c: New file.
17765         * string/test-strlen.c: Update.
17766         Add wcslen support.
17767         (WIDE): New macro.
17769 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
17771         * po/it.po: Update from translation team.
17773 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17775         * sysdeps/x86_64/wcscmp.S: Update.
17776         Fix wrong comparison semantics.
17777         wcscmp shall use signed comparison not unsigned.
17778         Don't use substraction to avoid overflow bug.
17779         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
17780         * wcsmbc/wcscmp.c: Likewise.
17781         * string/test-strcmp.c: Likewise.
17782         Add new tests to check cases with negative values.
17784 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
17786         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
17787         * sysdeps/x86_64/dla.h: ...here.  New file.
17788         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
17789         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17790         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17791         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17792         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17793         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17794         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17795         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17796         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17798 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
17800         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
17801         __ynl_finite aliases.
17803 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
17805         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17807         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
17808         define DLA_FMA.
17809         [DLA_FMA] (EMULV): Use DLA_FMA.
17810         [DLA_FMA] (MUL12): Use EMULV.
17811         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
17812         that are not needed.
17813         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17814         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17815         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17816         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17817         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17818         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17819         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17821 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
17823         * math/s_nan.c: Undef __nan.
17824         * math/s_nanf.c: Undef __nanf.
17825         * math/s_nanl.c: Undef __nanl.
17826         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
17827         "math_private.h".
17829 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
17831         * math/s_catan.c: Add branch predictions.
17832         * math/s_catanf.c: Likewise.
17833         * math/s_catanh.c: Likewise.
17834         * math/s_catanhf.c: Likewise.
17835         * math/s_catanhl.c: Likewise.
17836         * math/s_catanl.c: Likewise.
17837         * math/s_cexp.c: Likewise.
17838         * math/s_cexpf.c: Likewise.
17839         * math/s_cexpl.c: Likewise.
17840         * math/s_clog.c: Likewise.
17841         * math/s_clog10.c: Likewise.
17842         * math/s_clog10f.c: Likewise.
17843         * math/s_clog10l.c: Likewise.
17844         * math/s_clogf.c: Likewise.
17845         * math/s_clogl.c: Likewise.
17846         * math/s_csqrt.c: Likewise.
17847         * math/s_csqrtf.c: Likewise.
17848         * math/s_csqrtl.c: Likewise.
17849         * math/s_ctanf.c: Likewise.
17850         * math/s_ctanh.c: Likewise.
17851         * math/s_ctanhf.c: Likewise.
17852         * math/s_ctanhl.c: Likewise.
17853         * math/s_ctanl.c: Likewise.
17855         * math/math_private.h: Define __nan, __nanf, __nanl.
17856         * math/s_cacosh.c: Include <math_private.h>.
17857         * math/s_cacoshl.c: Likewise.
17858         * math/s_casinh.c: Likewise.
17859         * math/s_casinhf.c: Likewise.
17860         * math/s_casinhl.c: Likewise.
17861         * math/s_ccos.c: Rely entire on ccosh.
17862         * math/s_ccosf.c: Rely entire on ccoshf.
17863         * math/s_ccosl.c: Rely entirely on ccoshl.
17864         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
17865         Remove tests for FE_INVALID.
17866         * math/s_ccoshf.c: Likewise.
17867         * math/s_ccoshl.c: Likewise.
17868         * math/s_csin.c: Likewise.
17869         * math/s_csinf.c: Likewise.
17870         * math/s_csinh.c Likewise.
17871         * math/s_csinhf.c: Likewise.
17872         * math/s_csinhl.c: Likewise.
17873         * math/s_csinl.c: Likewise.
17874         * math/s_ctan.c: Likewise.
17875         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
17876         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
17877         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
17879 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
17881         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
17882         compilation problems.
17884         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
17885         __builtin_expect.
17887 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
17889         * sysdeps/i386/configure.in: Test for -mfma4 option.
17890         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
17891         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
17892         COMMON_CPUID_INDEX_80000001.
17893         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
17894         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
17895         use it if FMA3 is not supported.
17896         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
17898         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
17899         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17901 2011-10-20  Andreas Schwab  <schwab@redhat.com>
17903         [BZ #12892]
17904         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
17905         it would create a cycle with a link time dependency.
17907 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
17909         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
17910         instruction.
17911         * string/Makefile (strop-tests): Add rawmemchr.
17912         * string/test-rawmemchr.c: New file.
17914         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
17915         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
17916         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
17917         when compiling str{,n}casecmp and when AVX is available.  Hook up
17918         new optimized code in initializers.
17920 2011-10-19  Andreas Schwab  <schwab@redhat.com>
17922         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
17923         __feraiseexcept instead of feraiseexcept.
17925 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
17927         * math/math_private.h: Define defaults for libc_fetestexcept and
17928         libc_feupdateenv.
17929         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
17930         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
17931         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17932         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17933         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17934         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17935         libc_fetestexcept and libc_feupdateenv.
17937         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
17938         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
17939         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
17940         * sysdeps/x86_64/fpu/math_private.h: Define special version of
17941         libc_feholdexcept_setround.
17943         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
17944         Add s_nearbyint-c and s_nearbyintf-c.
17945         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
17946         nearbyintf inlines.
17947         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
17948         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
17949         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
17950         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
17952         * math/math_private.h: Define defaults for libc_fegetround,
17953         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
17954         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
17955         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
17956         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
17957         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
17958         standard functions.
17959         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17960         Remove comments and hacks for old compiler versions.
17961         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17962         libc_fegetround, libc_fesetround, libc_feholdexcept, and
17963         libc_feholdexceptl.
17965 2011-10-18  Andreas Schwab  <schwab@redhat.com>
17967         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
17968         (__feraiseexcept_renamed): Add __NTH.
17969         (feraiseexcept): Add __NTH.  Rename local variables to fix
17970         namespace violations.
17972 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
17974         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
17976         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
17978         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
17979         recently added interfaces.
17980         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
17982         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
17983         about macro parameter expansion.
17985         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
17986         __NO_MATH_INLINES is defined.  Cleanups.
17988         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
17989         and __floorf is target has SSE4.1.
17990         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
17991         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
17992         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
17993         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
17995         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
17996         name.
17997         (floorf): Likewise.
17999         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
18001 2011-10-17  Andreas Schwab  <schwab@redhat.com>
18003         * misc/sys/cdefs.h: Fix last change.
18005         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
18006         database lookup.
18008 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
18010         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
18012         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
18013         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18014         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18015         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18016         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18017         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18018         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18019         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18020         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18021         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
18022         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
18023         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
18024         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
18025         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
18026         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
18027         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
18028         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
18029         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
18030         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
18031         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
18032         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
18033         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
18035         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
18036         ceil, ceilf, floor, floorf.
18038         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
18039         Perform IRELATIVE relocations last.
18041         * elf/do-rel.h: Add another parameter nrelative, replacing the
18042         local variable with the same name.  Change name of the function
18043         to end in Rel or Rela (uppercase).
18044         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
18045         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
18046         elf_dynamic_do_##reloc function.
18048 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
18050         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
18051         is sufficient, at least on modern CPUs.
18053         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
18055         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
18056         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
18058         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
18059         __expl_finite.
18060         * math/bits/math-finite.h: Add entries for exp.
18061         * math/e_expl.c: Add __*_finite alias.
18062         * sysdeps/i386/fpu/e_exp.S: Likewise.
18063         * sysdeps/i386/fpu/e_expf.S: Likewise.
18064         * sysdeps/i386/fpu/e_expl.c: Likewise.
18065         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18066         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18067         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18068         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18069         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
18070         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18071         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18073         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
18074         is sufficient, at least on modern CPUs.
18076         * ctype/ctype-info.c (__ctype_init): Define.
18077         * include/ctype.h (__ctype_init): Declare.
18078         (__ctype_b_loc): The variable is always initialized.
18079         (__ctype_toupper_loc): Likewise.
18080         (__ctype_tolower_loc): Likewise.
18081         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
18082         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
18084 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
18086         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
18088         * configure.in: Also look in $cxxmachine/include for C++ system
18089         headers.
18091 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18093         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
18094         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
18095         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
18096         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
18097         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
18098         (USE_AS_WMEMCMP): New macro.
18099         Fixing indents.
18100         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
18101         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
18102         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
18103         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
18104         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18105         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
18106         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
18107         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
18108         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
18109         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
18110         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
18111         (USE_AS_WMEMCMP): New macro.
18112         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
18113         * sysdeps/string/test-memcmp.c: Update.
18114         Fix simple_wmemcmp.
18115         Add new tests.
18116         * wcsmbs/wmemcmp.c: Update.
18117         (WMEMCMP): New macro.
18118         Fix overflow bug.
18120 2011-10-12  Andreas Jaeger  <aj@suse.de>
18122         [BZ #13268]
18123         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
18125 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
18127         * libio/iofwide.c (do_length): Avoid warning.
18129         * ctype/ctype.h (__isctype_f): Add missing __THROW.
18131 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
18133         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
18135         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
18136         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
18137         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
18138         * sysdeps/i386/i686/fpu/e_log.S: New file.
18139         * sysdeps/i386/i686/fpu/e_logf.S: New file.
18140         * sysdeps/i386/i686/fpu/e_logl.S: New file.
18142         * ctype/ctype.h: Add support for inlined isXXX functions when
18143         compiling C++ code.
18145 2011-10-14  Andreas Schwab  <schwab@redhat.com>
18147         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18149         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
18151 2011-10-13  Roland McGrath  <roland@hack.frob.com>
18153         [BZ #13291]
18154         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
18156 2011-10-13  Andreas Schwab  <schwab@redhat.com>
18158         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
18159         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
18160         feraiseexcept.
18162         * sysdeps/x86_64/memrchr.S: Check for zero size.
18164         * string/stratcliff.c: Add memrchr tests.
18166 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18168         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18169         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
18170         rawmemchr-sse2 rawmemchr-sse2-bsf.
18171         * sysdeps/i386/i686/multiarch/memchr.S: New file.
18172         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
18173         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
18174         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
18175         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
18176         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
18177         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
18178         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
18179         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
18180         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
18181         * string/memrchr.c (MEMRCHR): New macro.
18183 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
18185         Add integration with gcc's -ffinite-math-only and optimize wrapper
18186         functions in libm.
18187         * Versions.def: Define GLIBC_2.15 version for libm.
18188         * math/Makefile (headers): Add bits/math-finite.h.
18189         * math/bits/math-finite.h: New file.
18190         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
18191         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
18192         * math/e_acoshl.c: Add __*_finite alias.
18193         * math/e_acosl.c: Likewise.
18194         * math/e_asinl.c: Likewise.
18195         * math/e_atan2l.c: Likewise.
18196         * math/e_atanhl.c: Likewise.
18197         * math/e_coshl.c: Likewise.
18198         * math/e_exp10.c: Likewise.
18199         * math/e_exp10f.c: Likewise.
18200         * math/e_exp10l.c: Likewise.
18201         * math/e_exp2l.c: Likewise.
18202         * math/e_fmodl.c: Likewise.
18203         * math/e_gammal_r.c: Likewise.
18204         * math/e_hypotl.c: Likewise.
18205         * math/e_j0l.c: Likewise.
18206         * math/e_j1l.c: Likewise.
18207         * math/e_jnl.c: Likewise.
18208         * math/e_lgammal_r.c: Likewise.
18209         * math/e_log10l.c: Likewise.
18210         * math/e_log2l.c: Likewise.
18211         * math/e_logl.c: Likewise.
18212         * math/e_powl.c: Likewise.
18213         * math/e_sinhl.c: Likewise.
18214         * math/e_sqrtl.c: Likewise.
18215         * math/e_scalb.c: Completely rewritten and optimized.
18216         * math/e_scalbf.c: Likewise.
18217         * math/e_scalbl.c: Likewise.
18218         * math/w_acos.c: Likewise.
18219         * math/w_acosf.c: Likewise.
18220         * math/w_acosl.c: Likewise.
18221         * math/w_acosh.c: Likewise.
18222         * math/w_acoshf.c: Likewise.
18223         * math/w_acoshl.c: Likewise.
18224         * math/w_asin.c: Likewise.
18225         * math/w_asinf.c: Likewise.
18226         * math/w_asinl.c: Likewise.
18227         * math/w_atan2.c: Likewise.
18228         * math/w_atan2f.c: Likewise.
18229         * math/w_atan2l.c: Likewise.
18230         * math/w_atanh.c: Likewise.
18231         * math/w_atanhf.c: Likewise.
18232         * math/w_atanhl.c: Likewise.
18233         * math/w_exp10.c: Likewise.
18234         * math/w_exp10f.c: Likewise.
18235         * math/w_exp10l.c: Likewise.
18236         * math/w_fmod.c: Likewise.
18237         * math/w_fmodf.c: Likewise.
18238         * math/w_fmodl.c: Likewise.
18239         * math/w_j0.c: Likewise.
18240         * math/w_j0f.c: Likewise.
18241         * math/w_j0l.c: Likewise.
18242         * math/w_j1.c: Likewise.
18243         * math/w_j1f.c: Likewise.
18244         * math/w_j1l.c: Likewise.
18245         * math/w_jn.c: Likewise.
18246         * math/w_jnf.c: Likewise.
18247         * math/w_log.c: Likewise.
18248         * math/w_logf.c: Likewise.
18249         * math/w_logl.c: Likewise.
18250         * math/w_log10.c: Likewise.
18251         * math/w_log10f.c: Likewise.
18252         * math/w_log10l.c: Likewise.
18253         * math/w_log2.c: Likewise.
18254         * math/w_log2f.c: Likewise.
18255         * math/w_log2l.c: Likewise.
18256         * math/w_pow.c: Likewise.
18257         * math/w_powf.c: Likewise.
18258         * math/w_powl.c: Likewise.
18259         * math/w_remainder.c: Likewise.
18260         * math/w_remainderf.c: Likewise.
18261         * math/w_remainderl.c: Likewise.
18262         * math/w_scalb.c: Likewise.
18263         * math/w_scalbf.c: Likewise.
18264         * math/w_scalbl.c: Likewise.
18265         * math/w_sqrt.c: Likewise.
18266         * math/w_sqrtf.c: Likewise.
18267         * math/w_sqrtl.c: Likewise.
18268         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
18269         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
18270         used.
18271         * math/math_private.h: Declare __kernel_standard_f.
18272         * math/w_cosh.c: Remove cruft and optimize a bit.
18273         * math/w_coshf.c: Likewise.
18274         * math/w_coshl.c: Likewise.
18275         * math/w_exp2.c: Likewise.
18276         * math/w_exp2f.c: Likewise.
18277         * math/w_exp2l.c: Likewise.
18278         * math/w_hypot.c: Likewise.
18279         * math/w_hypotf.c: Likewise.
18280         * math/w_hypotl.c: Likewise.
18281         * math/w_lgamma.c: Likewise.
18282         * math/w_lgamma_r.c: Likewise.
18283         * math/w_lgammaf.c: Likewise.
18284         * math/w_lgammaf_r.c: Likewise.
18285         * math/w_lgammal.c: Likewise.
18286         * math/w_lgammal_r.c: Likewise.
18287         * math/w_sinh.c: Likewise.
18288         * math/w_sinhf.c: Likewise.
18289         * math/w_sinhl.c: Likewise.
18290         * math/w_tgamma.c: Likewise.
18291         * math/w_tgammaf.c: Likewise.
18292         * math/w_tgammal.c: Likewise.
18293         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18294         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18295         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
18296         Minor optimizations.  Pretty printing.  Remove cruft.
18297         * sysdeps/i386/fpu/e_acosf.S: Likewise.
18298         * sysdeps/i386/fpu/e_acosh.S: Likewise.
18299         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18300         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18301         * sysdeps/i386/fpu/e_acosl.c: Likewise.
18302         * sysdeps/i386/fpu/e_asin.S: Likewise.
18303         * sysdeps/i386/fpu/e_asinf.S: Likewise.
18304         * sysdeps/i386/fpu/e_atan2.S: Likewise.
18305         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
18306         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
18307         * sysdeps/i386/fpu/e_atanh.S: Likewise.
18308         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18309         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18310         * sysdeps/i386/fpu/e_exp10.S: Likewise.
18311         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
18312         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
18313         * sysdeps/i386/fpu/e_exp2.S: Likewise.
18314         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
18315         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
18316         * sysdeps/i386/fpu/e_fmod.S: Likewise.
18317         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
18318         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
18319         * sysdeps/i386/fpu/e_hypot.S: Likewise.
18320         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
18321         * sysdeps/i386/fpu/e_log.S: Likewise.
18322         * sysdeps/i386/fpu/e_log10.S: Likewise.
18323         * sysdeps/i386/fpu/e_log10f.S: Likewise.
18324         * sysdeps/i386/fpu/e_log10l.S: Likewise.
18325         * sysdeps/i386/fpu/e_log2.S: Likewise.
18326         * sysdeps/i386/fpu/e_log2f.S: Likewise.
18327         * sysdeps/i386/fpu/e_log2l.S: Likewise.
18328         * sysdeps/i386/fpu/e_logf.S: Likewise.
18329         * sysdeps/i386/fpu/e_logl.S: Likewise.
18330         * sysdeps/i386/fpu/e_pow.S: Likewise.
18331         * sysdeps/i386/fpu/e_powf.S: Likewise.
18332         * sysdeps/i386/fpu/e_powl.S: Likewise.
18333         * sysdeps/i386/fpu/e_remainder.S: Likewise.
18334         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
18335         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
18336         * sysdeps/i386/fpu/e_scalb.S: Likewise.
18337         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18338         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18339         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
18340         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
18341         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
18342         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18343         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18344         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18345         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18346         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18347         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18348         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18349         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18350         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18351         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18352         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18353         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18354         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18355         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18356         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18357         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18358         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18359         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18360         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18361         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18362         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18363         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18364         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18365         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18366         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18367         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18368         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18369         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18370         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
18371         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18372         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18373         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18374         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18375         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18376         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18377         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18378         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18379         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18380         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18381         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18382         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18383         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18384         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18385         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18386         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18387         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18388         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18389         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18390         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18391         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
18392         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18393         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18394         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18395         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18396         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18397         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18398         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18399         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18400         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18401         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18402         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18403         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18404         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18405         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18406         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18407         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18408         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18409         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18410         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
18411         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18412         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18413         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18414         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18415         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18416         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18417         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18418         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
18419         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18420         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18421         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18422         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18423         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18424         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
18425         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18426         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18427         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18428         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18429         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18430         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18431         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18432         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18433         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18434         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18435         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18436         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18437         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18438         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18439         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
18440         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
18441         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
18442         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
18443         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
18444         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
18445         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
18446         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18447         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18448         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18449         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18450         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
18451         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18452         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
18453         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
18454         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
18455         (__isnanf): Likewise.
18456         (__isinf_ns): Likewise.
18457         (__isinf_nsf): Likewise.
18458         (__finite): Likewise.
18459         (__finitef): Likewise.
18460         (__ieee754_sqrt): Define as macro.
18461         (__ieee754_sqrtf): Define as macro.
18462         (__ieee754_sqrtl): Define as macro.
18463         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
18464         inlined copy.
18465         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
18466         __FINITE_MATH_ONLY__ consistent.
18467         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
18469 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
18471         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
18472         of rawmemchr.
18474         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
18476 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
18478         * po/ja.po: Update from translation team.
18480 2011-10-08  Roland McGrath  <roland@hack.frob.com>
18482         * locale/programs/locarchive.c (prepare_address_space): New function.
18483         (create_archive, enlarge_archive, open_archive): Use it.
18485         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
18486         inside [SHARED], where it is used.
18488         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
18490         * nss/getent.c (netgroup_keys): Remove unused variable.
18491         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18493 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
18495         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
18496         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
18497         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
18498         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
18499         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
18500         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
18501         * math/Makefile (libm-calls): Add s_isinf_ns.
18502         * math/divtc3.c: Use __isinf_nsl instead of isinf.
18503         * math/multc3.c: Likewise.
18504         * math/s_casin.c: Likewise.
18505         * math/s_casinf.c: Likewise.
18506         * math/s_casinl.c: Likewise.
18507         * math/s_ccos.c: Likewise.
18508         * math/s_ccosf.c: Likewise.
18509         * math/s_ccosl.c: Likewise.
18510         * math/s_ctan.c: Likewise.
18511         * math/s_ctanf.c: Likewise.
18512         * math/s_ctanh.c: Likewise.
18513         * math/s_ctanhf.c: Likewise.
18514         * math/s_ctanhl.c: Likewise.
18515         * math/s_ctanl.c: Likewise.
18516         * math/w_fmod.c: Likewise.
18517         * math/w_fmodf.c: Likewise.
18518         * math/w_fmodl.c: Likewise.
18519         * math/w_remainder.c: Likewise.
18520         * math/w_remainderf.c: Likewise.
18521         * math/w_remainderl.c: Likewise.
18522         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
18523         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
18524         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
18525         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
18526         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
18527         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
18528         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
18529         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
18531         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
18532         of the number.
18533         * stdio-common/printf_fphex.c: Likewise.
18534         * stdio-common/printf_size.c: Likewise.
18536         * math/e_exp10.c: Include math_private.h using <...> not "...".
18537         * math/e_exp10f.c: Likewise.
18538         * math/e_exp10l.c: Likewise.
18539         * math/e_exp2l.c: Likewise.
18540         * math/e_j0l.c: Likewise.
18541         * math/e_j1l.c: Likewise.
18542         * math/e_jnl.c: Likewise.
18543         * math/e_lgammal_r.c: Likewise.
18544         * math/e_rem_pio2l.c: Likewise.
18545         * math/e_scalb.c: Likewise.
18546         * math/e_scalbf.c: Likewise.
18547         * math/e_scalbl.c: Likewise.
18548         * math/k_cosl.c: Likewise.
18549         * math/k_sinl.c: Likewise.
18550         * math/k_tanl.c: Likewise.
18551         * math/s_cacoshf.c: Likewise.
18552         * math/s_catan.c: Likewise.
18553         * math/s_catanf.c: Likewise.
18554         * math/s_catanh.c: Likewise.
18555         * math/s_catanhf.c: Likewise.
18556         * math/s_catanhl.c: Likewise.
18557         * math/s_catanl.c: Likewise.
18558         * math/s_ccosh.c: Likewise.
18559         * math/s_ccoshf.c: Likewise.
18560         * math/s_ccoshl.c: Likewise.
18561         * math/s_cexp.c: Likewise.
18562         * math/s_cexpf.c: Likewise.
18563         * math/s_cexpl.c: Likewise.
18564         * math/s_clog.c: Likewise.
18565         * math/s_clog10.c: Likewise.
18566         * math/s_clog10f.c: Likewise.
18567         * math/s_clog10l.c: Likewise.
18568         * math/s_clogf.c: Likewise.
18569         * math/s_clogl.c: Likewise.
18570         * math/s_csin.c: Likewise.
18571         * math/s_csinf.c: Likewise.
18572         * math/s_csinh.c: Likewise.
18573         * math/s_csinhf.c: Likewise.
18574         * math/s_csinhl.c: Likewise.
18575         * math/s_csinl.c: Likewise.
18576         * math/s_csqrt.c: Likewise.
18577         * math/s_csqrtf.c: Likewise.
18578         * math/s_csqrtl.c: Likewise.
18579         * math/s_ctan.c: Likewise.
18580         * math/s_ctanf.c: Likewise.
18581         * math/s_ctanh.c: Likewise.
18582         * math/s_ctanhf.c: Likewise.
18583         * math/s_ctanhl.c: Likewise.
18584         * math/s_ctanl.c: Likewise.
18585         * math/s_ldexp.c: Likewise.
18586         * math/s_ldexpf.c: Likewise.
18587         * math/s_ldexpl.c: Likewise.
18588         * math/s_significand.c: Likewise.
18589         * math/s_significandf.c: Likewise.
18590         * math/s_significandl.c: Likewise.
18591         * math/w_acos.c: Likewise.
18592         * math/w_acosf.c: Likewise.
18593         * math/w_acosh.c: Likewise.
18594         * math/w_acoshf.c: Likewise.
18595         * math/w_acoshl.c: Likewise.
18596         * math/w_acosl.c: Likewise.
18597         * math/w_asin.c: Likewise.
18598         * math/w_asinf.c: Likewise.
18599         * math/w_asinl.c: Likewise.
18600         * math/w_atan2.c: Likewise.
18601         * math/w_atan2f.c: Likewise.
18602         * math/w_atan2l.c: Likewise.
18603         * math/w_atanh.c: Likewise.
18604         * math/w_atanhf.c: Likewise.
18605         * math/w_atanhl.c: Likewise.
18606         * math/w_cosh.c: Likewise.
18607         * math/w_coshf.c: Likewise.
18608         * math/w_coshl.c: Likewise.
18609         * math/w_dremf.c: Likewise.
18610         * math/w_exp10.c: Likewise.
18611         * math/w_exp10f.c: Likewise.
18612         * math/w_exp10l.c: Likewise.
18613         * math/w_exp2.c: Likewise.
18614         * math/w_exp2f.c: Likewise.
18615         * math/w_fmod.c: Likewise.
18616         * math/w_fmodf.c: Likewise.
18617         * math/w_fmodl.c: Likewise.
18618         * math/w_hypot.c: Likewise.
18619         * math/w_hypotf.c: Likewise.
18620         * math/w_hypotl.c: Likewise.
18621         * math/w_j0.c: Likewise.
18622         * math/w_j0f.c: Likewise.
18623         * math/w_j0l.c: Likewise.
18624         * math/w_j1.c: Likewise.
18625         * math/w_j1f.c: Likewise.
18626         * math/w_j1l.c: Likewise.
18627         * math/w_jn.c: Likewise.
18628         * math/w_jnf.c: Likewise.
18629         * math/w_jnl.c: Likewise.
18630         * math/w_lgamma.c: Likewise.
18631         * math/w_lgamma_r.c: Likewise.
18632         * math/w_lgammaf.c: Likewise.
18633         * math/w_lgammaf_r.c: Likewise.
18634         * math/w_lgammal.c: Likewise.
18635         * math/w_lgammal_r.c: Likewise.
18636         * math/w_log.c: Likewise.
18637         * math/w_log10.c: Likewise.
18638         * math/w_log10f.c: Likewise.
18639         * math/w_log10l.c: Likewise.
18640         * math/w_log2.c: Likewise.
18641         * math/w_log2f.c: Likewise.
18642         * math/w_log2l.c: Likewise.
18643         * math/w_logf.c: Likewise.
18644         * math/w_logl.c: Likewise.
18645         * math/w_pow.c: Likewise.
18646         * math/w_powf.c: Likewise.
18647         * math/w_powl.c: Likewise.
18648         * math/w_remainder.c: Likewise.
18649         * math/w_remainderf.c: Likewise.
18650         * math/w_remainderl.c: Likewise.
18651         * math/w_scalb.c: Likewise.
18652         * math/w_scalbf.c: Likewise.
18653         * math/w_scalbl.c: Likewise.
18654         * math/w_sinh.c: Likewise.
18655         * math/w_sinhf.c: Likewise.
18656         * math/w_sinhl.c: Likewise.
18657         * math/w_sqrt.c: Likewise.
18658         * math/w_sqrtf.c: Likewise.
18659         * math/w_sqrtl.c: Likewise.
18660         * math/w_tgamma.c: Likewise.
18661         * math/w_tgammaf.c: Likewise.
18662         * math/w_tgammal.c: Likewise.
18664         * po/ja.po: Update from translation team.
18666 2011-09-29  Andreas Jaeger  <aj@suse.de>
18668         [BZ #13179]
18669         * sunrpc/netname.c (netname2host): Fix logic.
18671         [BZ #6779]
18672         [BZ #6783]
18673         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
18674         correctly.
18675         * math/w_remainder.c (__remainder): Likewise.
18676         * math/w_remainderf.c (__remainderf): Likewise.
18677         * math/libm-test.inc (remainder_test): Add test cases.
18679 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18681         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
18682         sdiv_qrnnd.
18684 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
18686         * string/test-memcmp.c: Avoid unncessary #defines.
18687         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18689 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18691         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
18692         Use new sse2 version for core i3 - i7 as it's faster
18693         than sse42 version.
18694         (bit_Prefer_PMINUB_for_stringop): New.
18695         * sysdeps/x86_64/rawmemchr.S: Update.
18696         Replace with faster SSE2 version.
18697         * sysdeps/x86_64/memrchr.S: New file.
18698         * sysdeps/x86_64/memchr.S: Update.
18699         Replace with faster SSE2 version.
18701 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
18703         * elf/dl-load.c (lose): Add cast to avoid warning.
18705 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
18707         * po/ca.po: Update from translation team.
18709         * inet/getnetgrent_r.c: Hook up nscd.
18710         * nscd/Makefile (routines): Add nscd_netgroup.
18711         (nscd-modules): Add netgroupcache.
18712         (CFLAGS-netgroupcache.c): Define.
18713         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
18714         (cache_search): Add const to second parameter.
18715         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
18716         INNETGR.
18717         (dbs): Add netgrdb entry.
18718         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
18719         (verify_persistent_db): Handle netgrdb.
18720         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
18721         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
18722         GETFDNETGR.
18723         (netgroup_response_header): Define.
18724         (innetgroup_response_header): Define.
18725         (datahead): Add netgroup_response_header and innetgroup_response_header
18726         elements.
18727         * nscd/nscd.conf: Add entries for netgroup cache.
18728         * nscd/nscd.h (dbtype): Add netgrdb.
18729         (_PATH_NSCD_NETGROUP_DB): Define.
18730         (netgroup_iov_disabled): Declare.
18731         (xmalloc, xcalloc, xrealloc): Move declarations here.
18732         (cache_search): Adjust prototype.
18733         Add netgroup-related prototypes.
18734         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
18735         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
18736         (__nscd_innetgr): Declare.
18737         * nscd/selinux.c (perms): Use access_vector_t as element type and
18738         add netgroup-related initializers.
18739         * nscd/netgroupcache.c: New file.
18740         * nscd/nscd_netgroup.c: New file.
18741         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
18742         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
18743         For four parameters use innetgr.
18744         * nss/nss_files/files-init.c: Add definition and callback for netgr.
18745         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
18746         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
18747         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
18749         * nscd/connections.c (register_traced_file): Don't register file
18750         for disabled databases.
18752 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
18754         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
18756         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
18757         from tree and freeing node.
18759 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
18761         * nss/nsswitch.c (__nss_database_lookup): Handle
18762         nss_parse_service_list out of memory case.
18764 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
18766         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
18767         out of memory case.
18769 2011-10-04  Andreas Schwab  <schwab@redhat.com>
18771         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
18772         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
18773         pass it down.
18774         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
18775         elf_machine_rela, elf_machine_lazy_rel.
18776         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
18777         (ELF_DYNAMIC_DO_REL): Likewise.
18778         (ELF_DYNAMIC_DO_RELA): Likewise.
18779         (ELF_DYNAMIC_RELOCATE): Likewise.
18780         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
18781         to ELF_DYNAMIC_DO_REL.
18782         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
18783         (dl_main): In trace mode always set __RTLD_NOIFUNC.
18784         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
18785         elf_machine_rela.
18786         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
18787         skip_ifunc, don't call ifunc function if non-zero.
18788         (elf_machine_rela): Likewise.
18789         (elf_machine_lazy_rel): Likewise.
18790         (elf_machine_lazy_rela): Likewise.
18791         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
18792         (elf_machine_lazy_rel): Likewise.
18793         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
18794         Likewise.
18795         (elf_machine_lazy_rel): Likewise.
18796         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18797         Likewise.
18798         (elf_machine_lazy_rel): Likewise.
18799         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
18800         (elf_machine_lazy_rel): Likewise.
18801         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
18802         (elf_machine_lazy_rel): Likewise.
18803         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18804         (elf_machine_lazy_rel): Likewise.
18805         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
18806         (elf_machine_lazy_rel): Likewise.
18807         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
18808         (elf_machine_lazy_rel): Likewise.
18809         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18810         (elf_machine_lazy_rel): Likewise.
18812 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
18814         * nss/nss_files/files-init.c (_nss_files_init): Use static
18815         initialization for all the *_traced_file variables.
18817 2011-09-28  Andreas Schwab  <schwab@redhat.com>
18819         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18821 2011-09-27  Roland McGrath  <roland@hack.frob.com>
18823         [BZ #13226]
18824         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
18826 2011-09-27  Andreas Schwab  <schwab@redhat.com>
18828         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18829         Reread the line before reparsing it.
18831 2011-09-26  Andreas Schwab  <schwab@redhat.com>
18833         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
18835 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
18836             Maxim Kuvyrkov  <maxim@codesourcery.com>
18837             Joseph Myers  <joseph@codesourcery.com>
18839         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
18840         if needed for __stack_chk_guard.
18842 2011-09-19  Roland McGrath  <roland@hack.frob.com>
18844         * sysdeps/posix/spawni.c (script_execute): Always define it.
18845         It will be optimized away if unused.
18846         (maybe_script_execute): New function.
18847         (__spawni): Call it.
18849         * Makerules: Don't include tls.make.
18850         (config-tls): Always set to thread.
18851         * tls.make.c: File removed.
18853 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
18855         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
18856         * config.make.in (CPPFLAGS-config): New substituted variable.
18858 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
18860         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
18862         [BZ #13192]
18863         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
18864         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
18866 2011-09-15  Roland McGrath  <roland@hack.frob.com>
18868         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
18869         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
18870         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18871         (CALL_FAIL): Likewise.
18872         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
18873         (CALL_FAIL): Macro removed.
18874         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
18876 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
18878         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
18879         for __FINITE_MATH_ONLY__ == 1.
18881 2011-09-15  Andreas Schwab  <schwab@redhat.com>
18883         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
18884         __ieee754_sqrt instead of sqrt.
18885         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
18886         __ieee754_sqrtf instead of sqrtf.
18887         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
18888         __floorf instead of floorf.
18889         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
18890         __floorf, __truncf instead of floorf, truncf.
18892 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
18894         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
18896         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
18897         __extern_always_inline.
18898         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
18899         32-bit.
18901 2011-09-14  Andreas Schwab  <schwab@redhat.com>
18903         * elf/rtld.c (dl_main): Also relocate in dependency order when
18904         doing symbol dependency testing.
18906 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
18908         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18909         Always define `refsym'.
18911 2011-09-13  Andreas Schwab  <schwab@redhat.com>
18913         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
18914         (__FD_ELT): Renamed from __FDELT.
18915         * misc/bits/select2.h (__FD_ELT): Likewise.
18916         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
18917         __FD_MASK instead of __FDELT, __FDMASK.
18918         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18919         Likewise.
18920         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18921         Likewise.
18923         * elf/Makefile (gen-ldd): Fix pattern.
18925         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
18926         (init_tls): Likewise.
18928 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
18930         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
18932 2011-09-12  Andreas Schwab  <schwab@redhat.com>
18934         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
18935         `struct cmsghdr *' instead of `void *'.
18936         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
18937         Likewise.
18939 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
18941         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
18942         if non-absolute.
18943         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
18944         ldd_rewrite_script.
18946 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
18948         * configure.in: Remove --with-tls option.
18949         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
18950         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
18951         out in case it is missing.
18952         * sysdeps/ia64/elf/configure.in: Likewise.
18953         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
18954         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
18955         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
18956         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
18957         * sysdeps/sh/elf/configure.in: Likewise.
18958         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
18959         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18960         * sysdeps/x86_64/elf/configure.in: Likewise.
18961         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
18962         * sysdeps/mach/hurd/tls.h: Likewise.
18964         [BZ #13067]
18965         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
18967         [BZ #13090]
18968         * configure.in: Fix use of AC_INIT.
18970         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
18972 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
18974         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
18975         __set_errno.
18976         * malloc/hooks.c: Likewise.
18978         [BZ #11929]
18979         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
18980         variables statically.
18981         (narenas): Initialize.
18982         (list_lock): Initialize.
18983         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
18984         initializtion of main_arena and list_lock.  Small cleanups.
18985         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
18986         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
18987         Add initializers to main_arena and mp_.
18988         (malloc_state): Remove pagesize member.  Change all users to use
18989         GLRO(dl_pagesize).
18991         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
18992         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
18993         is always initialized.
18995         * malloc/malloc.c: Removed unused configurations and dead code.
18996         * malloc/arena.c: Likewise.
18997         * malloc/hooks.c: Likewise.
18998         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
19000         * include/tls.h: Removed.  USE___THREAD must always be defined.
19001         * bits/libc-tsd.h: Don't handle !USE___THREAD.
19002         * elf/dl-libc.c: Likewise.
19003         * elf/dl-tsd.c: Likewise.
19004         * include/errno.h: Likewise.
19005         * include/netdb.h: Likewise.
19006         * include/resolv.h: Likewise.
19007         * inet/herrno-loc.c: Likewise.
19008         * inet/herrno.c: Likewise.
19009         * malloc/arena.c: Likewise.
19010         * malloc/hooks.c: Likewise.
19011         * malloc/malloc.c: Likewise.
19012         * resolv/res-state.c: Likewise.
19013         * resolv/res_libc.c: Likewise.
19014         * sysdeps/i386/dl-machine.h: Likewise.
19015         * sysdeps/ia64/dl-machine.h: Likewise.
19016         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
19017         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19018         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
19019         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
19020         * sysdeps/sh/dl-machine.h: Likewise.
19021         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19022         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19023         * sysdeps/unix/i386/sysdep.S: Likewise.
19024         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19025         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
19026         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
19027         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19028         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
19029         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19030         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19031         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19032         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19033         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19034         * sysdeps/unix/x86_64/sysdep.S: Likewise.
19035         * sysdeps/x86_64/dl-machine.h: Likewise.
19036         * tls.make.c: Likewise.
19038         * configure.in: Remove --with-__thread option.  Make tests for
19039         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
19040         tls_model attribute fail if no support is available.  Remove
19041         USE_IN_LIBIO.
19042         * Makeconfig: Adjust for dropped configure option.  All features are
19043         now mandatory.
19044         * Makerules: Likewise.
19045         * Versions.def: Likewise.
19046         * argp/argp-fmtstream.c: Likewise.
19047         * argp/argp-fmtstream.h: Likewise.
19048         * argp/argp-help.c: Likewise.
19049         * assert/assert.c: Likewise.
19050         * config.h.in: Likewise.
19051         * config.make.in: Likewise.
19052         * configure: Likewise.
19053         * configure.in: Likewise.
19054         * csu/Versions: Likewise.
19055         * csu/init.c: Likewise.
19056         * elf/tst-audit2.c: Likewise.
19057         * elf/tst-tls10.c: Likewise.
19058         * elf/tst-tls10.h: Likewise.
19059         * elf/tst-tls11.c: Likewise.
19060         * elf/tst-tls12.c: Likewise.
19061         * elf/tst-tls14.c: Likewise.
19062         * elf/tst-tlsmod11.c: Likewise.
19063         * elf/tst-tlsmod12.c: Likewise.
19064         * elf/tst-tlsmod13.c: Likewise.
19065         * elf/tst-tlsmod13a.c: Likewise.
19066         * elf/tst-tlsmod14a.c: Likewise.
19067         * elf/tst-tlsmod15b.c: Likewise.
19068         * elf/tst-tlsmod16a.c: Likewise.
19069         * elf/tst-tlsmod16b.c: Likewise.
19070         * elf/tst-tlsmod7.c: Likewise.
19071         * elf/tst-tlsmod8.c: Likewise.
19072         * elf/tst-tlsmod9.c: Likewise.
19073         * gmon/gmon.c: Likewise.
19074         * grp/fgetgrent_r.c: Likewise.
19075         * grp/putgrent.c: Likewise.
19076         * hurd/fopenport.c: Likewise.
19077         * include/libc-symbols.h: Likewise.
19078         * include/tls.h: Likewise.
19079         * intl/gettextP.h: Likewise.
19080         * intl/loadinfo.h: Likewise.
19081         * locale/global-locale.c: Likewise.
19082         * locale/localeinfo.h: Likewise.
19083         * mach/devstream.c: Likewise.
19084         * malloc/arena.c: Likewise.
19085         * malloc/set-freeres.c: Likewise.
19086         * misc/err.c: Likewise.
19087         * misc/getttyent.c: Likewise.
19088         * misc/mntent_r.c: Likewise.
19089         * posix/getopt.c: Likewise.
19090         * posix/wordexp.c: Likewise.
19091         * pwd/fgetpwent_r.c: Likewise.
19092         * resolv/Versions: Likewise.
19093         * resolv/res_hconf.c: Likewise.
19094         * shadow/fgetspent_r.c: Likewise.
19095         * shadow/putspent.c: Likewise.
19096         * stdio-common/printf_fphex.c: Likewise.
19097         * stdio-common/tmpfile.c: Likewise.
19098         * stdlib/abort.c: Likewise.
19099         * stdlib/fmtmsg.c: Likewise.
19100         * sunrpc/auth_unix.c: Likewise.
19101         * sunrpc/clnt_perr.c: Likewise.
19102         * sunrpc/clnt_tcp.c: Likewise.
19103         * sunrpc/clnt_udp.c: Likewise.
19104         * sunrpc/clnt_unix.c: Likewise.
19105         * sunrpc/openchild.c: Likewise.
19106         * sunrpc/svc_simple.c: Likewise.
19107         * sunrpc/svc_tcp.c: Likewise.
19108         * sunrpc/svc_udp.c: Likewise.
19109         * sunrpc/svc_unix.c: Likewise.
19110         * sunrpc/xdr.c: Likewise.
19111         * sunrpc/xdr_array.c: Likewise.
19112         * sunrpc/xdr_rec.c: Likewise.
19113         * sunrpc/xdr_ref.c: Likewise.
19114         * sunrpc/xdr_stdio.c: Likewise.
19116 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
19118         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19120 2011-07-03  Andreas Jaeger  <aj@suse.de>
19122         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
19123         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
19124         regenerate with gen-libm-tests.pl.
19126 2010-05-12  Petr Baudis  <pasky@suse.cz>
19128         [BZ #11589]
19129         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
19130         around j0() zero points by switching to j1().
19131         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19132         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19133         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19134         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19136 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
19138         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
19139         instead of 0.
19140         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
19141         instead of 0.                              .
19142         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19143         Patch in part by Pavel Roskin <proski@gnu.org>.
19145         [BZ #13138]
19146         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
19147         realloc.
19148         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
19149         Free memory block if necessary.
19151         [BZ #12847]
19152         * libio/genops.c (INTDEF): For string streams the _lock pointer can
19153         be NULL.  Don't lock in this case.
19155 2011-09-09  Roland McGrath  <roland@hack.frob.com>
19157         * elf/elf.h (ELFOSABI_GNU): New macro.
19158         (ELFOSABI_LINUX): Define to that.
19160 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
19162         * string/strncat.c (strncat): Undef the symbol in case it has been
19163         defined in bits/string.h.
19165 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
19167         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
19169         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
19170         link map.
19172 2011-08-17  Andreas Jaeger  <aj@suse.de>
19174         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
19176 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
19177             Ian Lance Taylor  <iant@google.com>
19179         * math/libm-test.inc (lround_test): New testcase.
19180         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
19182 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
19184         * Makefile: Remove support for automatic cvs check-ins.
19185         * Makerules: Likewise.
19186         * config.make.in: Likewise.
19187         * configure.in: Likewise.
19188         * intl/Makefile: Likewise.
19189         * locale/Makefile: Likewise.
19190         * po/Makefile: Likewise.
19191         * posix/Makefile: Likewise.
19192         * sysdeps/gnu/Makefile: Likewise.
19193         * sysdeps/mach/hurd/Makefile: Likewise.
19194         * sysdeps/sparc/sparc32/Makefile: Likewise.
19196         [BZ #13118]
19197         * posix/Makefile (bug-regex32-ENV): Define.
19198         Patch by John Stanley <jpsinthemix@verizon.net>.
19200         * misc/Makefile (headers): Add bits/select2.h.
19201         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
19202         * misc/bits/select2.h: New file.
19203         * include/bits/select2.h: New file.
19204         * debug/Makefile (routines): Add fdelt_chk.
19205         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
19206         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
19207         FD_ISSET.
19208         * debug/fdelt_chk.c: New file.
19210         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
19211         * wcsmbs/test-wmemcmp.c: Likewise.
19212         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
19213         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
19215 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19217         * string/Makefile (strop-tests): Add memcmp.
19218         * string/test-wmemcmp.c: New file.
19219         * string/test-memcmp.c: Add wmemcmp support.
19221 2011-09-08  Roland McGrath  <roland@hack.frob.com>
19223         [BZ #13153]
19224         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
19225         2011-07-19 change.
19227         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
19228         garbage value in a __mach_port_mod_refs call in the cases of the
19229         task-self and thread-self ports.
19231 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19233         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
19235 2011-09-08  Andreas Schwab  <schwab@redhat.com>
19237         * elf/dl-load.c (lose): Check for non-null L.
19239 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
19241         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
19243         * elf/dl-libc.c (dlerror_run): Pass back error code from
19244         dl_catch_error.
19246         [BZ #13123]
19247         * elf/dl-load.c (lose): Free l_origin if it is valid.
19249         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
19250         names.
19251         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
19252         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19253         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19254         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19255         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
19256         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
19258 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19260         * sysdeps/powerpc/fpu/e_hypot.c: New file.
19261         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
19262         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
19263         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
19264         * sysdeps/powerpc/fpu/k_cosf.c: New file.
19265         * sysdeps/powerpc/fpu/k_sinf.c: New file.
19266         * sysdeps/powerpc/fpu/s_cosf.c: New file.
19267         * sysdeps/powerpc/fpu/s_sinf.c: New file.
19268         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
19269         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
19271 2011-08-15  Alan Modra  <amodra@gmail.com>
19273         [BZ #13092]
19274         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
19275         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
19276         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
19277         ppc_mcount to static-only-routines.
19278         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
19279         __mcount_internal.
19280         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
19281         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
19283 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
19285         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
19286         for finite and infinity parameters.
19288 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
19290         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
19291         and add nop instructions for throughput optimization.
19292         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19294 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
19296         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
19297         aligned copy for power7 with vector-scalar instructions.
19298         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
19300 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
19302         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
19303         AVX check.
19305 2011-09-07  Andreas Schwab  <schwab@redhat.com>
19307         [BZ #13144]
19308         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
19309         last change.
19311 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
19313         * sysdeps/unix/sysv/linux/x86_64/init-first.c
19314         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
19315         syscall wrapper around clock_gettime in __vdso_clock_gettime.
19316         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
19317         clock_gettime.
19319 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
19321         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
19322         Forgot to demangle the pointer.
19324         * sysdeps/i386/sysdep.h: Define atom_text_section.
19325         * sysdeps/x86_64/sysdep.h: Likewise.
19326         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
19327         section with atom_text_section.
19328         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19329         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19330         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
19331         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19332         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
19334         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
19335         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
19336         already be defined.  Change to take two parameters and don't assign
19337         result to variable.  Adjust all users.
19338         Define INTERNAL_GETTIME if not already defined.
19339         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
19340         call.
19341         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
19342         HAVE_CLOCK_GETTIME_VSYSCALL.
19343         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
19345         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
19346         gettimeofday vsyscall, just use time.
19348 2011-09-06  Andreas Schwab  <schwab@redhat.com>
19350         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
19351         <errno.h>.
19353 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
19355         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
19356         syscall on x86-64.
19357         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
19358         syscall.
19359         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
19360         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
19361         syscall if possible.
19363 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
19365         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
19366         e_ident.  Don't pass to find_mapsXX.
19367         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
19369 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19371         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19372         strchr-sse2-no-bsf strrchr-sse2-no-bsf
19373         * sysdeps/x86_64/multiarch/strchr.S: Update.
19374         Check bit_slow_BSF bit.
19375         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19376         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
19377         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
19379 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
19381         [BZ #13134]
19382         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
19383         before glibc 2.15.
19384         (tryshell): Define.
19385         (__spawni): Change last parameter to be flag.  Test
19386         SPAWN_XFLAGS_USE_PATH flag to use path or not.
19387         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
19388         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
19389         * posix/spawni.c: Likewise.
19390         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
19391         * posix/spawnp.c: Likewise.  Change normal version to use
19392         SPAWN_XFLAGS_USE_PATH.
19393         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
19394         SPAWN_XFLAGS_TRY_SHELL.
19396         [BZ #13150]
19397         * posix/glob.h: Remove gcc 1.x support.
19399         [BZ #13068]
19400         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
19402 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19404         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19405         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
19406         strrchr-sse2-bsf
19407         * sysdeps/i386/i686/multiarch/strchr.S: New file.
19408         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
19409         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
19410         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
19411         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
19412         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
19414 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19416         * sysdeps/x86_64/wcscmp.S: New file.
19418         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
19419         wcscmp-c wcscmp-sse2
19420         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
19421         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
19422         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
19423         * wcsmbs/wcscmp.c: Allow renaming.
19425 2011-09-05  David S. Miller  <davem@davemloft.net>
19427         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
19428         stack slot, rather than the struct return pointer slot.
19429         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
19430         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
19431         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
19432         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
19434 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
19436         * po/ja.po: Update from translation team.
19438         [BZ #13144]
19439         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
19440         kernel in 64-bit binaries.
19442 2011-09-01  David S. Miller  <davem@davemloft.net>
19444         * elf/elf.h (HWCAP_SPARC_*): Move to..
19445         * sysdeps/sparc/sysdep.h: this new file and add new values.
19446         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
19447         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
19448         _DL_HWCAP_COUNT to 24.
19449         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19450         entries.
19451         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
19452         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
19453         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
19454         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
19455         instead of magic constants.
19456         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19458 2011-08-31  David S. Miller  <davem@davemloft.net>
19460         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
19461         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
19462         Reimplement to do errno handling inline.
19463         (SYSCALL_ERROR_HANDLER): New macro.
19464         (__SYSCALL_STRING): Do not do errno handling in asm.
19465         (__CLONE_SYSCALL_STRING): Delete.
19466         (__INTERNAL_SYSCALL_STRING): Delete.
19467         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
19468         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
19469         (PSEUDO): Reimplement to do errno handling inline.
19470         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
19471         (SYSCALL_ERROR_HANDLER): New macro.
19472         (__SYSCALL_STRING): Do not do errno handling in asm.
19473         (__CLONE_SYSCALL_STRING): Delete.
19474         (__INTERNAL_SYSCALL_STRING): Delete.
19475         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
19476         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
19477         i386.
19478         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
19479         (inline_syscall*): Add 'err' argument.
19480         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
19481         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
19482         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
19483         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
19485         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
19486         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19488 2011-08-30  Andreas Schwab  <schwab@redhat.com>
19490         * elf/rtld.c (dl_main): Relocate objects in dependency order.
19492 2011-08-29  Jiri Olsa <jolsa@redhat.com>
19494         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
19495         directive.
19497 2011-08-24  David S. Miller  <davem@davemloft.net>
19499         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
19501 2011-08-24  Andreas Schwab  <schwab@redhat.com>
19503         * elf/Makefile: Add rules to build and run unload8 test.
19504         * elf/unload8.c: New file.
19505         * elf/unload8mod1.c: New file.
19506         * elf/unload8mod1x.c: New file.
19507         * elf/unload8mod2.c: New file.
19508         * elf/unload8mod3.c: New file.
19510         * elf/dl-close.c (_dl_close_worker): Reset private search list if
19511         it wasn't used.
19513 2011-08-23  David S. Miller  <davem@davemloft.net>
19515         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
19516         subtract stack bias.
19517         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
19518         %sp not %fp in calculations.
19519         (_JMPBUF_UNWINDS_ADJ): Likewise.
19521         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
19522         (aio_suspend): Call it to force an exception region around the
19523         AIO_MISC_WAIT() invocation.
19525 2011-08-23  Andreas Schwab  <schwab@redhat.com>
19527         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
19528         backslash.
19530 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
19532         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
19533         protection macro.
19534         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
19535         and <dl-machine.h>.
19536         (Elf64_FuncDesc): Remove.
19538 2011-08-22  David S. Miller  <davem@davemloft.net>
19540         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
19541         sigaltstack check, add missing cfi directives.
19542         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
19543         missing cfi directives, and sigaltstack handling.
19545 2011-08-16  Andreas Schwab  <schwab@redhat.com>
19547         [BZ #11724]
19548         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
19549         object is seen twice.
19550         * elf/dl-fini.c (_dl_sort_fini): Likewise.
19552         * elf/Makefile (distribute): Add tst-initorder2.c.
19553         (tests): Add tst-initorder2.
19554         (modules-names): Add tst-initorder2a tst-initorder2b
19555         tst-initorder2c tst-initorder2d.  Add rules to build them.
19556         ($(objpfx)tst-initorder2.out): New rule.
19557         * elf/tst-initorder2.c: New file.
19558         * elf/tst-initorder2.exp: New file.
19560 2011-08-22  Andreas Schwab  <schwab@redhat.com>
19562         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
19564         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
19565         dependencies back to end of function.
19567         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19568         $(elfobjdir)/ld.so.
19570 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
19572         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
19573         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
19574         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
19575         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
19576         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
19577         of __vdso_gettimeofday.
19578         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
19579         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
19580         attribute_hidden.
19581         (_libc_vdso_platform_setup): Remove initialization of
19582         __vdso_gettimeofday and __vdso_time.
19584 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
19586         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
19587         and fgetc_unlocked.
19588         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
19589         getc_unlocked.
19591         * elf/dl-open.c (add_to_global): Report additions to the global scope
19592         for LD_DEBUG=scopes.
19593         (dl_open_worker): Also print scope of newly loaded dependencies.
19594         (_dl_show_scope): Indicate if there is no scope.
19596         [BZ #13114]
19597         * stdio-common/Makefile (tests): Add bug24.
19598         * stdio-common/bug24.c: New file.
19600 2011-08-19  Andreas Jaeger  <aj@suse.de>
19602         [BZ #13114]
19603         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
19604         non-existant file when using close-on-exec mode.
19606 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
19608         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
19609         the very first instruction.
19611         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
19612         the CFI state in the end.
19613         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
19614         inclusion of dl-trampoline.h.
19615         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
19617 2011-08-19  Andreas Schwab  <schwab@redhat.com>
19619         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
19620         expectations for long double.
19622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
19623         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
19625 2011-08-14  David S. Miller  <davem@davemloft.net>
19627         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
19628         artificual limit depends upon the system page size.
19630 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
19632         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
19633         * resolv/Makefile: Define CFLAGS-libresolv.
19635 2011-08-17  Andreas Schwab  <schwab@redhat.com>
19637         * nss/makedb.c (compute_tables): Make variables used in nested
19638         function static.
19640 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
19642         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
19643         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
19644         if buffer was too small.
19646         * elf/pldd.c (main): Attach to all threads in the process.
19647         Rewrite /proc handling to use *at functions.
19649 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
19651         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
19652         specifies first scope to show.
19653         (dl_open_worker): Update callers.  Move printing scope of new
19654         object to before the relocation.
19655         * elf/rtld.c (dl_main): Update _dl_show_scope call.
19656         * sysdeps/generic/ldsodefs.h: Update declaration.
19658         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
19659         string for the scope number.
19661 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
19663         * nscd/servicescache.c (cache_addserv): Make sure written is always
19664         initialized.
19666 2011-08-14  Roland McGrath  <roland@hack.frob.com>
19668         * sysdeps/i386/i486/bits/atomic.h
19669         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
19670         statement expression, so as to suppress "set but not used" warning.
19671         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
19673         * string/strncat.c (STRNCAT): Use prototype definition.
19675         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
19676         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
19677         -Iprograms here.
19678         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
19679         (localedef-modules): Add localedef.
19680         (locale-modules): Add locale.
19682         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
19683         * elf/rtld.c (dl_main): Invert order of assignment in last change,
19684         to avoid a warning.
19686 2011-08-14  David S. Miller  <davem@davemloft.net>
19688         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
19689         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
19691 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
19693         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
19694         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
19695         * elf/rtld.c (dl_main): Set l_name of vDSO.
19696         Call _dl_show_scope when DL_DEBUG_SCOPES.
19697         (process_dl_debug): Recognize scopes flag and also set it for all.
19698         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
19699         Declare _dl_show_scope.
19701         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
19702         (do_dlopen): Pass caller_dlopen to dl_open.
19703         (__libc_dlopen_mode): Initialize caller_dlopen.
19705         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
19706         of libc.  Make tolower call locale-independent.  Optimize a bit by
19707         using isdigit instead of isalnum.
19708         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
19710 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
19712         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
19713         was a dependency or dynamically loaded.
19715 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
19717         * intl/l10nflist.c: Allow architecture-specific pop function.
19718         * sysdeps/x86_64/l10nflist.c: New file.
19720         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
19721         classification.
19723 2011-08-10  Andreas Schwab  <schwab@redhat.com>
19725         * include/dirent.h: Add libc_hidden_proto for scandirat and
19726         scandirat64.  Don't declare __scandirat64.
19727         * dirent/scandirat.c: Add libc_hidden_def.
19728         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
19729         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
19731 2011-08-10  David S. Miller  <davem@davemloft.net>
19733         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
19734         enum.
19735         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19736         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19737         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19739 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
19741         * Versions.def [libc]: Add GLIBC_2.15.
19742         * dirent/Makefile (routines): Add scandirat and scandirat64.
19743         * dirent/Versions [libc]: Export scandirat and scandirat64 for
19744         GLIBC_2.15.
19745         * dirent/dirent.h: Declare scandirat and scandirat64.
19746         * dirent/scandirat.c: New file.
19747         * dirent/scandirat64.c: New file.
19748         * sysdeps/wordsize-64/scandirat.c: New file.
19749         * sysdeps/wordsize-64/scandirat64.c: New file.
19750         * dirent/opendir.c: Define opendirat.
19751         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
19752         using scandirat.
19753         * dirent/scandir64.c: Adjust for scandir.c change.
19754         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
19755         __scandirat64, and __scandir_cancel_handler.
19756         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
19757         additional parameter and use openat instead of open (outside of ld.so).
19758         Add new __opendir as wrapper around __opendirat.
19759         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
19760         here without requiring old scandirat implementation.
19762 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
19764         * dirent/scandir.c (cancel_handler): Renamed to
19765         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
19766         defined.  Adjust users.
19767         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
19768         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
19770 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
19772         * string/test-string.h (IMPL): Use __STRING to expand name and then
19773         stringify it.
19775         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
19776         of cleanups.
19778 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19780         * string/Makefile: Update.
19781         (strop-tests): Append strncat.
19782         * string/test-wcscmp.c: New file.
19783         New comprehensive test for wcscmp.
19784         * string/test-strcmp.c: Update.
19785         (WIDE): New define.
19787 2011-07-22  Andreas Schwab  <schwab@redhat.com>
19789         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
19790         line.
19792 2011-07-26  Andreas Schwab  <schwab@redhat.com>
19794         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19795         encoding to ACE if AI_IDN.
19797 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
19799         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
19800         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
19802 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19804         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
19805         Fix overflow bug in strncat.
19806         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
19808         * string/test-strncat.c: Update.
19809         Add new tests for checking overflow bugs.
19811 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19813         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19814         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
19815         * sysdeps/i386/i686/multiarch/strcat.S: New file.
19816         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
19817         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
19818         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
19819         * sysdeps/i386/i686/multiarch/strncat.S: New file.
19820         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
19821         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
19823         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
19824         (USE_AS_STRCAT): Define.
19825         Add strcat and strncat support.
19826         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19828 2011-07-25  Andreas Schwab  <schwab@redhat.com>
19830         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
19831         __n bigger than INT_MAX+1.
19832         (__strncmp_g): Likewise.
19834 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
19836         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
19837         * libio/stido.h: Likewise.
19839         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
19840         (AF_NFC): Define.
19841         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
19842         (AF_NFC): Define.
19844         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
19845         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19846         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19847         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19848         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19850         [BZ #13021]
19851         * scripts/test-installation.pl: Don't expect libnss_test1 to be
19852         installed.
19854         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
19855         typo.
19856         (_dl_x86_64_save_sse): Likewise.
19858 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
19860         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
19861         OSXSAVE.
19862         (_dl_x86_64_save_sse): Likewise.
19864         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
19866         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
19868 2011-07-21  Andreas Schwab  <schwab@redhat.com>
19870         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
19871         change.
19872         (_dl_x86_64_save_sse): Use correct AVX check.
19874 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19876         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
19877         bug in strncpy/strncat.
19878         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
19880 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
19882         * string/tester.c (test_strcat): Add tests for different alignments
19883         of source and destination.
19884         (test_strncat): Likewise.
19886 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
19888         [BZ #12852]
19889         * posix/glob.c (glob): Check passed in values before using them in
19890         expressions to avoid some overflows.
19891         (glob_in_dir): Likewise.
19893         [BZ #13007]
19894         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
19895         check for AVX enablement so that we don't crash with old kernels and
19896         new hardware.
19897         * elf/tst-audit4.c: Add same checks here.
19898         * elf/tst-audit6.c: Likewise.
19900         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
19902 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
19904         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
19906 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
19908         * po/cs.po: Update from translation team.
19909         * po/bg.po: Likewise.
19911 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
19913         * misc/sys/cdefs.h: Add support for const attribute.
19914         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
19915         to gnu_dev_{major,minor,makedev} functions.
19917 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
19919         * intl/dcigettext.c (get_output_charset): Add missing bracket.
19921 2011-07-20  Andreas Schwab  <schwab@redhat.com>
19923         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
19924         strlen results.
19926 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19928         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
19929         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
19930         register in order to avoid conflicts with the soft frame pointer
19931         being held in r11 when necessary.
19932         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19933         (INTERNAL_VSYSCALL_NCS): Likewise.
19935 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
19937         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
19938         * elf/dl-fini.c (_dl_fini): Adjust caller.
19939         * elf/dl-close.c (_dl_close_worker): Likewise.
19940         * sysdeps/generic/ldsodefs.h: Adjust declaration.
19942 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
19944         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
19945         "aux_cache->nlibs < 0".
19947         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
19948         in the reload-count case.
19950 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19952         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19953         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
19954         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
19955         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
19956         * sysdeps/x86_64/multiarch/strcat.S: New file.
19957         * sysdeps/x86_64/multiarch/strncat.S: New file.
19958         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
19959         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
19960         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
19961         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
19962         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
19963         (USE_AS_STRCAT): Define.
19964         Add strcat and strncat support.
19965         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19966         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19967         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
19968         * string/strncat.c: Update.
19969         (USE_AS_STRNCAT): Define.
19970         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19971         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
19972         and i7.
19973         * sysdeps/x86_64/multiarch/init-arch.h
19974         (bit_Prefer_PMINUB_for_stringop): New.
19975         (index_Prefer_PMINUB_for_stringop): Likewise.
19976         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
19977         bit_Prefer_PMINUB_for_stringop.
19979 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
19981         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
19982         buffer64.
19983         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
19984         of casting of buffer.
19985         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
19986         buffer32 and buffer64.
19987         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
19988         writes instead of casting of buffer.
19989         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
19990         buffer32.
19991         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
19992         casting of buffer.
19994 2011-07-19  Andreas Schwab  <schwab@redhat.com>
19996         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
19998 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
20000         * nscd/nscd.c (termination_handler): Don't do anything for a database
20001         if it has not yet been initialized.
20003 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
20005         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
20007 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
20009         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
20011 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
20013         * po/nl.po: Update from translation team.
20014         * po/sv.po: Likewise.
20016 2011-07-16  Roland McGrath  <roland@hack.frob.com>
20018         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
20019         now disallowed by GCC.
20021         * configure.in (use-default-link): Default to yes if a test -shared
20022         link meets our qualifications.
20023         * configure: Regenerated.
20025         * config.make.in (output-format): New variable.
20026         * configure.in: Check for ld --print-output-format support.
20027         * configure: Regenerated.
20028         * Makerules ($(common-objpfx)format.lds)
20029         [$(output-format) != unknown]: Just use $(output-format),
20030         instead of the linker-script munging.
20032 2011-07-14  Roland McGrath  <roland@hack.frob.com>
20034         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
20035         of $(common-objpfx)shlib.lds.
20036         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
20038         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
20039         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
20041         * configure.in (-z relro check): Adjust test code to add a large
20042         writable data section after it.
20043         * configure: Regenerated.
20045 2011-07-11  Roland McGrath  <roland@hack.frob.com>
20047         * configure.in (-z relro check): Fix test code to make the variable
20048         truly const.
20049         * configure: Regenerated.
20051 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
20053         * nscd/nscd.h (struct traced_file): Define.
20054         (struct database_dyn): Remove inotify_descr, reset_res, and filename
20055         elements.  Add traced_files.
20056         (inotify_fd): Declare.
20057         (register_traced_file): Declare.
20058         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
20059         (inotify_fd): Export.
20060         (resolv_conf_descr): Remove.
20061         (nscd_init): Move inotify descriptor creation to main.
20062         Don't register files for notification here.
20063         (register_traced_file): New function.
20064         (invalidate_cache): Don't use reset_res to determine whether to call
20065         res_init, go through the list of registered files.
20066         (main_loop_poll): The inotify descriptors are now stored in the
20067         structures for the traced files.
20068         (main_loop_epoll): Likewise
20069         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
20070         to __nss_disable_nscd.
20071         * nscd/cache.c (prune_cache): There is no single inotify descriptor
20072         for a database anymore.  Check the records for all the registered
20073         files instead.
20074         * nss/Makefile (libnss_files-routines): Add files-init.
20075         (libnss_db-routines): Add db-init.
20076         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
20077         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
20078         * nss/nss_db/db-init.c: New file.
20079         * nss/nss_files/files-init.c: New file.
20080         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
20081         __nss_lookup_function.
20082         (__nss_lookup_function): Call nss_load_library.
20083         (nss_load_all_libraries): New function.
20084         (__nss_disable_nscd): Take parameter with callback function for files
20085         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
20086         used for the cached services.
20087         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
20088         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
20089         options for features to all the files in nscd.
20091         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
20093 2011-07-10  Roland McGrath  <roland@hack.frob.com>
20095         * csu/elf-init.c (__libc_csu_init): Comment typo.
20097 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
20099         * po/pl.po: Update from translation team.
20100         * po/ja.po: Likewise.
20101         * po/ru.po: Likewise.
20102         * po/ko.po: Likewise.
20103         * po/fr.po: Likewise.
20105 2011-07-09  Roland McGrath  <roland@hack.frob.com>
20107         * configure.in (.ctors/.dtors header and trailer check):
20108         Use an empirical test on a built program.
20109         * configure: Regenerated.
20111         * configure.in (-z relro check): Use an empirical test on a built DSO.
20112         Detect, but do not require, on ia64.
20113         * configure: Regenerated.
20115         * configure.in (READELF): Find it with AC_CHECK_TOOL.
20116         Update tests that use readelf to use $READELF instead.
20117         * configure: Regenerated.
20119 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
20121         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
20122         if the result is not used.
20124 2011-07-05  Andreas Jaeger  <aj@suse.de>
20126         [BZ#9696]
20127         * stdlib/tst-strtod.c: Add testcase.
20129 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
20131         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
20132         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
20133         The latter has a higher limit.  Take additional parameter to pass to
20134         the new function.
20135         (__pathconf): Pass file to __statfs_link_max.
20136         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
20137         __statfs_link_max.
20138         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
20139         __statfs_link_max.
20141         [BZ #12868]
20142         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
20143         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20144         Handle Lustre.
20145         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
20146         (__statfs_filesize_max): Likewise.
20147         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
20149 2011-07-05  Andreas Jaeger  <aj@suse.de>
20151         * resolv/res_comp.c (dn_skipname): Remove unused variable.
20153 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
20155         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
20156         `status' variable.
20157         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
20158         Likewise.
20160 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
20162         * Makefile (strop-tests): Add strncat.
20163         * string/test-strncat.c: New file.
20165 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
20167         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
20169 2011-06-21  Andreas Jaeger  <aj@suse.de>
20171         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
20172         Copy rule from iconvdata/Makefile.
20174 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
20176         [BZ #12922]
20177         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
20178         but no long options are defined, just return 'W'.
20180 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
20182         [BZ #9696]
20183         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
20185 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
20187         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
20188         netgroups to read.
20189         (innetgr): Likewise.
20191 2011-07-05  Roland McGrath  <roland@hack.frob.com>
20193         * config.make.in (install_root): Default to $(DESTDIR).
20195 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
20197         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
20199 2011-07-02  Roland McGrath  <roland@hack.frob.com>
20201         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
20203         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
20204         containing directory rather than embedding absolute directory names.
20206         * scripts/check-local-headers.sh: Rewritten using awk.
20207         Match by word, not by line.  Print error messages for matches.
20208         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
20210         * Makerules [shlib-lds-flags empty]:
20211         ($(common-objpfx)libc_pic.opts): New target.
20212         ($(common-objpfx)libc_pic.os.clean): New target.
20213         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
20215         * config.make.in (OBJCOPY): New variable.
20216         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
20217         * configure: Regenerated.
20219         * config.make.in (use-default-link): New variable.
20220         * configure.in (use_default_link): Grok --with-default-link to set it.
20221         * configure: Regenerated.
20222         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
20223         (shlib-lds, shlib-lds-flags): Define to empty.
20225         * Makerules (shlib-lds): New variable.
20226         (shlib-lds-flags): New variable.
20227         (build-shlib, build-moduile, build-module-asneeded): Use it.
20228         ($(common-objpfx)libc.so): Use $(shlib-lds).
20229         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
20230         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
20232         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
20233         DT_FLAGS/DT_FLAGS_1 with zero flags.
20235         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
20236         linker script munging.
20238 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
20240         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
20241         as 128-bit value.
20242         * crypt/sha512.c (sha512_process_block): Perform total addition using
20243         128-bit if possible.
20244         (__sha512_finish_ctx): Likewise.
20245         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
20246         as 64-bit value.
20247         * crypt/sha256.c (SWAP64): Define.
20248         (sha256_process_block): Perform total addition using 64-bit if
20249         possible.
20250         (__sha256_finish_ctx): Likewise.
20252 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
20254         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
20255         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20256         * nscd/hstcache.c (cache_addhst): Likewise.
20257         * nscd/grpcache.c (cache_addgr): Likewise.
20258         * nscd/aicache.c (addhstaiX): Likewise
20259         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
20261 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
20263         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
20264         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20265         * nscd/hstcache.c (cache_addhst): Likewise.
20266         * nscd/grpcache.c (cache_addgr): Likewise.
20267         * nscd/aicache.c (addhstaiX): Likewise
20269 2011-07-01  Andreas Schwab  <schwab@redhat.com>
20271         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
20272         domain only when needed.
20274 2011-06-30  Andreas Schwab  <schwab@redhat.com>
20276         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
20277         is always restored.
20279 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
20281         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
20282         are re-adding the entry.
20283         * nscd/servicescache.c (cache_addserv): Likewise.
20285 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
20287         * sysdeps/generic/dl-irel.h: fix protection against multiple
20288         inclusions.
20289         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
20291 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
20293         [BZ #12935]
20294         * malloc/memusage.sh: Fix quoting in message.
20295         * debug/xtrace.sh: Likewise.
20297         * configure.in: Remove support for --experimental-malloc option, make
20298         it the default.
20299         * config.make.in: Likewise.
20300         * malloc/Makefile: Likewise.
20302 2011-06-27  Andreas Schwab  <schwab@redhat.com>
20304         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
20305         two-byte characters.
20307 2011-06-27  Roland McGrath  <roland@hack.frob.com>
20309         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
20310         AC_CACHE_CHECK invocation.
20311         * configure: Regenerated.
20313         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
20315 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
20317         [BZ #12350]
20318         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
20319         bit from old_res_options.
20321         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
20323         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
20324         value type for setfct.
20326 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
20328         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20329         __gettimeofday instead of gettimeofday.
20331 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
20333         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
20335 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
20337         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
20339         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
20340         info.
20342 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
20344         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20345         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20346         strcpy-sse2-unaligned strncpy-sse2-unaligned
20347         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
20348         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
20349         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
20350         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
20351         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
20352         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
20353         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
20354         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
20355         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
20356         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
20357         (STRCPY): Support SSE2 and SSSE3 versions.
20359 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
20361         [BZ #12874]
20362         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
20363         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
20364         kernels which artificially limit size of requests.
20366 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
20368         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20369         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20370         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
20371         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
20372         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
20373         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
20374         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
20375         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
20376         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
20377         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
20378         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
20379         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
20380         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
20381         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
20382         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
20383         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20384         Enable unaligned load optimization for Intel Core i3, i5 and i7
20385         processors.
20386         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
20387         Define.
20388         (index_Fast_Unaligned_Load): Define.
20389         (HAS_FAST_UNALIGNED_LOAD): Define.
20391 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
20393         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
20395 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
20397         [BZ #12907]
20398         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
20399         until it is clear that the information is realy needed.
20400         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
20402 2011-06-22  Andreas Schwab  <schwab@redhat.com>
20404         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
20406 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
20408         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20409         /sys/devices/system/cpu/online if it is usable.
20411         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
20412         reading the information from the /proc filesystem to once a second.
20414 2011-06-21  Andreas Jaeger  <aj@suse.de>
20416         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
20417         NULL after inclusion of kernel headers.
20419 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
20421         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
20422         calls to internal_setent.
20424         [BZ #12885]
20425         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
20426         addresses using gethostbyname4_r ignore IPv4 addresses.
20428         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
20429         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
20431         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
20433 2011-06-20  David S. Miller  <davem@davemloft.net>
20435         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
20436         inclusions.
20437         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
20439         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
20440         (elf_irel): Use it.
20441         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
20442         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
20443         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
20444         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
20445         * sysdeps/x86_64/dl-irel.h: Likewise.
20447         * elf/dl-runtime.c: Use elf_ifunc_invoke.
20448         * elf/dl-sym.c: Likewise.
20450 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
20452         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
20453         need to dereference resplen2.
20455 2011-06-14  Andreas Schwab  <schwab@redhat.com>
20457         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
20459 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
20461         * Makeconfig: Define vardbdir and inst_vardbdir.
20462         * nss/Makefile: Add rules to install db-Makefile.
20464         * nss/nss_db/db-XXX.c: Cleanup.
20466         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
20467         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
20468         GLIBC_PRIVATE.
20469         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
20470         * nss/makedb.c: Implement -g option to specify that value strings
20471         are generated and should not be added to table iterated over for
20472         get*ent calls.
20473         * nss/nss_db/db-initgroups.c: New file.
20475         * nss/getent.c: Add support for initgroups lookups through getgrouplist
20476         interface.
20478         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
20479         (internal_getgrouplist): Adjust to name change.
20480         Update use_initgroups_entry if this is not the first call.
20481         * nss/databases.def: Add initgroups entry.
20483         * nss/makedb.c (compute_tables): Check result of multiple hash table
20484         sizes to minimize maximum chain length.
20486 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
20488         * Versions.def: Add entry for libnss_db.
20489         * shlib-versions: Likewise.
20490         * nss/Makefile: Add rules to build libnss_db.
20491         * nss/Versions: Add libnss_db information.  Organize libnss_files
20492         entries better.
20493         * nss/db-Makefile: Add gshadow support.  Change rules for the new
20494         makedb progra.  Some minor improvements to generate smaller files.
20495         * nss/nss_db/nss_db.h: Move NSS database header data structures to
20496         here from...
20497         * nss/makedb.c: ...here.
20498         Improve database format to be smaller and require less memory at
20499         runtime.
20500         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
20501         db anymore.
20502         * nss/nss_db/db-netgrp.c: Likewise.
20503         * nss/nss_db/db-open.c: Likewise.
20504         * nss/nss_files/flies-XXX.x: Adjust comments.
20505         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
20506         * nss/nss_files/files-grp.c: Likewise.
20507         * nss/nss_files/files-hosts.c: Likewise.
20508         * nss/nss_files/files-network.c: Likewise.
20509         * nss/nss_files/files-proto.c: Likewise.
20510         * nss/nss_files/files-pwd.c: Likewise.
20511         * nss/nss_files/files-rpc.c: Likewise.
20512         * nss/nss_files/files-service.c: Likewise.
20513         * nss/nss_files/files-sgrp.c: Likewise.
20514         * nss/nss_files/files-spwd.c: Likewise.
20515         * nss/nss_db/db-alias.c: Removed.
20516         * nss/nss_db/dummy-db.h: Removed.
20518 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
20520         * nss/makedb.c: Rewritten to not use database library.
20521         * nss/Makefile: Update to build new makedb program.
20523 2011-06-14  Andreas Jaeger  <aj@suse.de>
20525         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
20526         memset declaration.
20528 2011-06-10  Andreas Schwab  <schwab@redhat.com>
20530         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
20531         tmpbuf.
20533 2011-06-10  Roland McGrath  <roland@hack.frob.com>
20535         * Makerules (shlib.lds): Fail if the linker script comes out empty.
20536         * elf/Makefile ($(objpfx)ld.so): Likewise.
20538         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
20539         Don't list ld.so twice in dependencies.
20541         * posix/bug-regex31.c: Include <stdlib.h>.
20543         * nscd/hstcache.c (cache_addhst): Remove unused variable.
20545         * nis/nss_compat/compat-spwd.c
20546         (getspent_next_nss_netgr): Remove unused variable.
20547         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
20549         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
20550         nonmembers" output to use the right array.
20552         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
20554         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
20556         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
20557         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
20558         * catgets/gencat.c (read_input_file): Likewise.
20559         * locale/programs/locarchive.c (enlarge_archive): Likewise.
20561         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
20562         variable definition inside #if's controlling its use.
20564         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
20566         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
20568         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
20570         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
20571         unreachable code.
20573         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
20575         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
20576         * configure: Regenerated.
20578         * Makerules: Revert last change.
20579         * elf/Makefile: Likewise.
20581 2011-06-09  Roland McGrath  <roland@hack.frob.com>
20583         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
20584         * elf/Makefile ($(objpfx)librtld.os): Likewise.
20585         (reloc-link): Likewise.
20587 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
20589         * elf/Makefile: Add rules to build pldd.
20590         * elf/pldd.c: New file.
20591         * elf/pldd-xx.c: New file.
20593 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
20595         * version.h: Update for 2.15 development version.
20597 2011-06-07  David S. Miller  <davem@davemloft.net>
20599         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
20600         ifuncs.
20601         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
20602         elf_machine_lazy_rel): Likewise.
20603         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
20604         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
20605         elf_machine_lazy_rel): Likewise.
20606         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
20607         dl_hwcap via passed in argument.
20608         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
20609         Likewise.
20611 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20613         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
20615 2011-06-06  Roland McGrath  <roland@hack.frob.com>
20617         [BZ #12849]
20618         * manual/fdl-1.1.texi: New file, verbatim from:
20619         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
20620         * manual/lgpl-2.1.texi: New file, verbatim from:
20621         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
20622         * manual/Makefile (licenses): New variable, list those new file names.
20623         (texis): Use it.
20624         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
20626         * manual/fdl.texi: File removed.
20627         * manual/lesser.texi: File removed.
20628         * manual/libc.texinfo (Copying, Documentation License):
20629         Use new @include file names, put @appendix directive before @include.
20631 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
20633         [BZ #12841]
20634         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
20635         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
20636         (mq_open): Add __NTH.
20638 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
20640         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20641         Assume Intel Core i3/i5/i7 processor if AVX is available.
20643 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
20645         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20646         typo.
20648 2011-05-31  Andreas Schwab  <schwab@redhat.com>
20650         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
20651         memory.  Use alloca_account.  Fix memory leak when retrying.
20653 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
20655         * version.h (RELEASE): Bump for 2.14 release.
20656         * include/features.h (__GLIBC_MINOR__): Bump to 14.
20658         * config.make.in (RANLIB): Remove entry.
20660 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
20662         * po/Makefile (po-sed-cmd): Add ksh to extensions.
20663         (libc.pot): Work around missing support for .ksh extension in xgettext.
20665         [BZ #12684]
20666         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
20667         if both request failed.
20668         (send_dg): In case of server errors clear resplen or *resplen2.
20670         [BZ #12454]
20671         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
20672         when there are multiple maps.
20673         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
20674         (_dl_fini): Remove test here.
20676         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
20678 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
20680         [BZ #12350]
20681         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
20682         bit from old_res_options.
20683         (gaih_inet): Likewise.
20685         [BZ #11099]
20686         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
20687         as signed.
20689         * resolv/res_init.c (res_setoptions): Make the code more compact.
20691         [BZ #11558]
20692         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
20693         set RES_USEVC.
20695         [BZ #11634]
20696         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
20698         * malloc/malloc.h: Mark malloc hook variables as deprecated.
20700         [BZ #11781]
20701         * malloc/malloc.h: Declare malloc hook variables as volatile.
20703         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
20704         in last patch.
20706         [BZ #11799]
20707         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
20708         raise in the comment.
20709         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20710         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20711         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
20713 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
20715         [BZ #12811]
20716         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
20717         grow the buffers more if it already has to be sufficient.
20718         (build_wcs_upper_buffer): Likewise.
20719         * posix/regexec.c (check_matching): Likewise.
20720         (clean_state_log_if_needed): Likewise.
20721         (extend_buffers): Don't enlarge buffers beyond size of the input
20722         buffer.
20723         Patches mostly by Emil Wojak <emil@wojak.eu>.
20724         * posix/bug-regex32.c: New file.
20725         * posix/Makefile (tests): Add bug-regex32.
20727         * locale/findlocale.c (_nl_find_locale): Return right away if
20728         _nl_explode_name failed.
20729         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
20731         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
20733         * debug/xtrace.sh: Unify messages.
20734         * malloc/memusage.sh: Likewise.
20736         [BZ #12813]
20737         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
20738         time symbol from vDSO.  Substitute with vsyscall if not available.
20739         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
20740         __vdso_time.
20742         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
20743         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
20744         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
20745         Add sendmmsg and internal_sendmmsg.
20746         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
20747         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
20748         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
20750         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
20751         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
20752         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
20754 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
20756         [BZ #12813]
20757         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
20758         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
20759         available.
20760         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
20761         __vdso_getcpu.
20763         [BZ #12814]
20764         * iconvdata/Makefile (tests): Add bug-iconv9.
20765         * iconvdata/bug-iconv9.c: New file.
20767 2011-05-27  Andreas Schwab  <schwab@redhat.com>
20769         [BZ #12814]
20770         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
20772 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
20774         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20775         (struct user_regs_struct): Change intcs field back to cs.
20777 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
20779         * po/ja.po: Update from translation team.
20781 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
20783         [BZ #12795]
20784         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
20785         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
20787 2011-05-20  Andreas Schwab  <schwab@redhat.com>
20789         * stdlib/longlong.h: Update from GCC.
20791 2011-05-23  Andreas Schwab  <schwab@redhat.com>
20793         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
20794         parameter name.
20795         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
20796         Add parameter name.
20797         (__sysconf): Pass it down.
20799 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
20801         [BZ #12671]
20802         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
20803         some situations.
20804         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
20805         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
20806         add in in __libc_use_alloca calls.  Adjust callers.
20807         (glob): Use malloc in some situations.
20809         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
20810         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
20811         pltexit.
20813 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
20815         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
20816         and CLOCK_BOOTTIME_ALARM.
20818         [BZ #12782]
20819         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
20820         is returned.
20822         * string/_strerror.c (__strerror_r): Print negative errors as signed
20823         numbers.
20825         [BZ #12777]
20826         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
20827         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
20828         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
20830         * configure.in: Fix typo in redirection and correct removal of test
20831         files in two cases.
20833         [BZ #12788]
20834         * locale/setlocale.c (new_composite_name): Fix test to check for
20835         identical name of all categories.
20837         [BZ #12792]
20838         * libio/filedoalloc.c (local_isatty): New function.
20839         (_IO_file_doallocate): Use local_isatty.
20840         * stdio-common/perror.c (perror): In case a new stream is used
20841         forward the stream error.
20842         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
20843         error flag.
20845 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
20847         [BZ #11869]
20848         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
20849         alloca.
20850         * include/alloca.h (extend_alloca_account): Define.
20852         [BZ #11857]
20853         * posix/regex.h: Fix comments with documentation of user-accessible
20854         fields after compilation and describe correct free'ing of pattern
20855         after re_compile_pattern.
20856         Patch by Reuben Thomas <rrt@sc3d.org>.
20858 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
20860         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
20861         and -mno-altivec to prevent the compiler from using Altivec and/or
20862         VSX instructions when the corresponding registers are not available.
20864 2011-05-19  Andreas Schwab  <schwab@redhat.com>
20866         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
20868 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
20870         * libio/freopen.c (freopen): Use __dup2, not dup2.
20871         * libio/freopen64.c (freopen64): Likewise.
20873 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
20875         [BZ #12775]
20876         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
20877         * math/Makefile (tests): Add test-powl.
20878         (CFLAGS-test-powl.c): Define.
20879         * math/test-powl.c: New file.
20881 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20883         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
20885 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
20887         [BZ #11837]
20888         * iconvdata/gb18030.c: Update to GB18020-2005.
20890 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
20892         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
20893         RE_SYNTAX_POSIX_AWK): Update to match recent development.
20894         Patch by Aharon Robbins <arnold@skeeve.com>.
20896         [BZ #11892]
20897         * stdlib/putenv.c (putenv): Don't always create copy of the variable
20898         on the stack.
20900         [BZ #11895]
20901         * misc/pselect.c (__pselect): Handle timeout value errors hidden
20902         through underflows.
20904         [BZ #12766]
20905         * misc/error.c (error_at_line): Ensure file_name and old_file_name
20906         point to strings before performing equality test for error_one_per_line
20907         mode.
20909         [BZ #11697]
20910         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
20912         [BZ #11820]
20913         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20914         (struct user_fpregs_struct): Avoid __uint*_t types.
20916         [BZ #6420]
20917         * malloc/mtrace.c (tr_where): Add additional parameter to point to
20918         symbol info.  Use it instead of calling _dl_addr locally.
20919         (lock_and_info): New function.
20920         (tr_freehook): Call lock_and_info and pass symbol info as additional
20921         parameter to tr_where.
20922         (tr_mallochook): Likewise.
20923         (tr_reallochook): Likewise.
20924         (tr_memalignhook): Likewise.
20926         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
20927         used and couldn't be at all thread-safe.
20929 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
20931         * libio/freopen.c (freopen): Don't close old file descriptor
20932         before the new one is opened.  Instead dup the new file descriptor
20933         to the old one after the new stream is created.
20934         * libio/freopen64.c (freopen64): Likewise.
20935         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
20936         * libio/fileops.c (_IO_new_file_close_it): Handle new
20937         _IO_FLAGS2_NOCLOSE flag.
20938         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
20939         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
20940         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
20941         _IO_FLAGS2_NOCLOSE flag.
20942         * include/unistd.h: Add hidden_proto for dup3.
20943         Define __have_dup3.
20944         * io/dup3.c: Define hidden symbol.
20945         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
20947         [BZ #7101]
20948         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
20949         when an incomplete long option is used.
20950         * posix/tst-getopt_long1.c: New file.
20951         * posix/Makefile (tests): Add tst-getopt_long1.
20953         [BZ #10138]
20954         * scripts/config.guess: Update from autoconf-2.68.
20955         * scripts/config.sub: Likewise.
20957         [BZ #10157]
20958         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
20959         tests into ...
20960         (has_cpuclock): ...this.  New function.
20961         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
20962         macro here based on has_cpuclock code.
20964         [BZ #10149]
20965         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20966         First byte (not low byte) is now always NUL.
20967         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
20969         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20970         Use non-cancelable interfaces.
20972         [BZ #9809]
20973         * locale/iso-639.def: Add entry for Sorani.
20975         [BZ #11901]
20976         * include/stdlib.h: Move include protection to the right place.
20977         Define abort_msg_s.  Declare __abort_msg with it.
20978         * stdlib/abort.c (__abort_msg): Adjust type.
20979         * assert/assert.c (__assert_fail_base): New function.  Majority
20980         of code from __assert_fail.  Allocate memory for __abort_msg with
20981         mmap.
20982         (__assert_fail): Now call __assert_fail_base.
20983         * assert/assert-perr.c: Remove bulk of implementation.  Use
20984         __assert_fail_base.
20985         * include/assert.hL Declare __assert_fail_base.
20986         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
20987         mmap.
20988         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
20990 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
20992         [BZ #11952]
20993         [BZ #12453]
20994         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
20995         until all modules are registered in the DTV.
20996         * elf/Makefile: Add rules to build and run tst-tls19.
20997         * elf/tst-tls19.c: New file.
20998         * elf/tst-tls19mod1.c: New file.
20999         * elf/tst-tls19mod2.c: New file.
21000         * elf/tst-tls19mod3.c: New file.
21001         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
21003         [BZ #12083]
21004         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
21005         correctly.
21007         [BZ #12601]
21008         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
21009         two-byte sequence errors.
21010         * iconvdata/Makefile (tests): Add bug-iconv8.
21011         * iconvdata/bug-iconv8.c: New file.
21013         [BZ #12626]
21014         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
21015         buf2 definition.
21017         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
21019         [BZ #12432]
21020         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
21021         (dummy_getcfa): New function.
21022         (init): Get _Unwind_GetCFA address, use dummy if not found.
21023         (backtrace_helper): In recursion check, also check whether CFA changes.
21024         (__backtrace): Completely initialize arg.
21026         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
21027         storing incomplete byte sequence in state object.  Avoid testing for
21028         guaranteed too small input if we know there is enough data available.
21030 2011-05-11  Andreas Schwab  <schwab@redhat.com>
21032         * Makeconfig (+link-pie): Indent.
21033         * Rules (binaries-pie): Define if $(have-fpie) and
21034         $(build-shared).
21035         (binaries-shared): Also filter out $(binaries-pie).
21036         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
21037         * nscd/Makefile (others-pie): Add nscd.
21038         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
21039         ($(objpfx)nscd): Remove command override.
21040         * login/Makefile (others-pie): Add pt_chown.
21041         ($(objpfx)pt_chown): Remove command override.
21042         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
21043         remove command overrides.
21045 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
21047         * libio/tst_putwc.c: Fix error messages.
21049         [BZ #12724]
21050         * libio/fileops.c (_IO_new_file_close_it): Always flush when
21051         currently writing and seek to current position when not.
21052         * libio/Makefile (tests): Add bug-fclose1.
21053         * libio/bug-fclose1.c: New file.
21055 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
21057         [BZ #12511]
21058         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
21059         don't set DF_1_NODELETE here.
21060         (do_lookup_x): When entering new entry test for copy relocation
21061         and if necessary set DF_1_NODELETE flag.
21062         * elf/tst-unique4.cc: New file.
21063         * elf/tst-unique4.h: New file.
21064         * elf/tst-unique4lib.cc: New file.
21065         * elf/Makefile: Add rules to build and run tst-unique4.
21066         Patch by Piotr Bury <pbury@goahead.com>.
21068 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
21070         [BZ #12052]
21071         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
21073         [BZ #12625]
21074         * misc/mntent_r.c (addmntent): Flush the stream after the output
21076         [BZ #12393]
21077         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
21078         (is_trusted_path_normalize): Skip initial colon.  Append slash
21079         to empty buffer.  Duplicate is_trusted_path code but allow
21080         constructed patch to be prefix.
21081         (is_dst): Allow $ORIGIN followed by /.
21082         (_dl_dst_substitute): Correct clearing of check_for_trusted.
21083         Correct testing of result of is_trusted_path_normalize
21084         (decompose_rpath): Fix warning.
21086 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
21088         [BZ #11257]
21089         * grp/initgroups.c (internal_getgrouplist): When we found the service
21090         list through the initgroups entry in nsswitch.conf do not always
21091         continue on a successful lookup.  Don't always use the
21092         __nss_group_database value if it is set.
21093         * nss/nsswitch.conf (initgroups): Change action for successful db
21094         lookup to continue for compatibility.
21096 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
21098         [BZ #11532]
21099         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
21100         and CP774 modules.
21101         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
21102         and CP774 modules.
21103         * iconvdata/tst-tables.sh: Likewise.
21104         * iconvdata/cp770.c: New file.
21105         * iconvdata/cp771.c: New file.
21106         * iconvdata/cp772.c: New file.
21107         * iconvdata/cp773.c: New file.
21108         * iconvdata/cp774.c: New file.
21109         * iconvdata/testdata/CP770: New file.
21110         * iconvdata/testdata/CP770..UTF8: New file.
21111         * iconvdata/testdata/CP771: New file.
21112         * iconvdata/testdata/CP771..UTF8: New file.
21113         * iconvdata/testdata/CP772: New file.
21114         * iconvdata/testdata/CP772..UTF8: New file.
21115         * iconvdata/testdata/CP773: New file.
21116         * iconvdata/testdata/CP773..UTF8: New file.
21117         * iconvdata/testdata/CP774: New file.
21118         * iconvdata/testdata/CP774..UTF8: New file.
21120         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
21121         END CHARMAP line.
21122         * iconvdata/gen-8bit-gap.sh: Likewise.
21123         * iconvdata/gen-8bit.sh: Likewise.
21125         * locale/iso-639.def: Add ary entry.
21127         [BZ #11258]
21128         * locale/C-translit.h.in: Add U20A1 transliteration.
21130         [BZ #12178]
21131         * locale/iso-639.def: Add wae entry.
21132         Patch by Kevin Bortis <bortis@translate-wae.ch>.
21134         [BZ #12545]
21135         * locale/programs/localedef.c (construct_output_path): Use ssize_t
21136         for n.
21138         [BZ #12711]
21139         * locale/C-translit.h.in: Add entry for U20B9.
21140         Patch by pravin.d.s@gmail.com.
21142 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
21144         [BZ #12713]
21145         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
21146         ENAMETOOLONG use generic getcwd.
21147         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
21148         in rtld.  Use *stat64.
21149         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
21150         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
21151         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
21152         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
21153         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
21154         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
21155         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
21156         __fstatat64 macros.
21157         * include/dirent.h: Add libc_hidden_proto for rewinddir.
21158         * dirent/rewinddir.c: Add libc_hidden_def.
21159         * sysdeps/mach/hurd/rewinddir.c: Likewise.
21160         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
21162         * include/dirent.h (__alloc_dir): Add flags parameter.
21163         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
21164         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
21165         __alloc_dir.
21166         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
21167         from fdopendir if O_CLOEXEC is already set.
21169 2011-03-15  Alan Modra  <amodra@gmail.com>
21171         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
21172         l_tls_firstbyte_offset non-zero.  Save padding offset in
21173         l_tls_firstbyte_offset for later use.
21174         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
21175         freeing static tls block.
21177 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
21179         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
21180         where #ifdef was intended.  The intent is to prevent ARG_MAX from
21181         being defined by the kernel headers.
21183 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
21185         [BZ #12734]
21186         * resolv/resolv.h: Define RES_NOTLDQUERY.
21187         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
21188         no-tld-query and set RES_NOTLDQUERY.
21189         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
21190         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
21191         modern BIND to search name as TLD unless forbidden.
21193 2011-05-07  Petr Baudis  <pasky@suse.cz>
21194             Ulrich Drepper  <drepper@gmail.com>
21196         [BZ #12393]
21197         * elf/dl-load.c (fillin_rpath): Move trusted path check...
21198         (is_trusted_path): ...to here.
21199         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
21200         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
21201         using is_trusted_path_normalize() in setuid scripts.
21203 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
21205         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
21206         __BEGIN/__END_DECLS.
21208 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
21210         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
21211         NSS_STATUS_NOTFOUND if no record was found.
21213 2011-05-05  Andreas Schwab  <schwab@redhat.com>
21215         * sunrpc/Makefile (headers): Add rpc/netdb.h.
21216         (headers-not-in-tirpc): Remove rpc/netdb.h
21217         * resolv/netdb.h: Revert last change.
21219 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
21221         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
21222         circular dependency between libgcc.a and libc.a.
21224 2011-05-05  Andreas Schwab  <schwab@redhat.com>
21226         * resolv/netdb.h: Don't include <rpc/netdb.h>.
21227         * nis/Makefile: Don't install rpcsvc/*.
21228         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
21229         instead of <rpc/types.h>.
21230         (MAXHOSTNAMELEN): Define.
21232 2011-05-03  Andreas Schwab  <schwab@redhat.com>
21234         * elf/ldconfig.c (add_dir): Don't crash on empty path.
21236 2011-04-28  Maciej Babinski  <mbabinski@google.com>
21238         [BZ #12714]
21239         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
21240         gethostbyname4_r when IPv6 results are possible.
21242 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
21244         [BZ #12723]
21245         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
21246         _PC_PIPE_BUF handling.
21248 2011-04-30  Bruno Haible  <bruno@clisp.org>
21250         [BZ #12717]
21251         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
21252         * resolv/netdb.h (getnameinfo): Change type of flags parameter
21253         to 'int'.
21254         * inet/getnameinfo.c (getnameinfo): Likewise.
21256 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
21258         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
21259         to groups setting in database lookup.
21260         * nss/nsswitch.conf: Add initgroups entry.
21262 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
21264         [BZ #12685]
21265         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
21266         mode string.
21267         Patch by Eric Blake <eblake@redhat.com>.
21269 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
21271         * sunrpc/Makefile (need-export-routines): Add svc_run.
21272         (routines): Remove svc_run.
21273         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
21274         * sunrpc/clnt_perr.c (clnt_perrno): Export.
21275         * sunrpc/svc_run.c (svc_run): Likewise.
21276         * sunrpc/svc_udp.c (svcudp_create): Likewise.
21278 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
21280         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
21281         problem in reallocation in last patch.
21283 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
21285         * sunrpc/Makefile: Move inclusion of Rules.
21287 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
21289         * nss/nss_files/files-initgroups.c: New file.
21290         * nss/Makefile (libnss_files-routines): Add files-initgroups.
21291         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
21292         _nss_files_initgroups_dyn.
21294 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
21296         * elf/elf.h (R_ARM_IRELATIVE): Define.
21298 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
21300         * po/ru.po: Update from translation team.
21302 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
21304         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
21305         dependencies.
21307 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
21309         [BZ #12653]
21310         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
21311         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
21312         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21313         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21314         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21316 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
21318         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
21319         differing bytes.
21320         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21321         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21322         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21324 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
21326         [BZ #12420]
21327         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
21328         storing it.
21329         * stdlib/bug-getcontext.c: New file.
21330         * stdlib/Makefile: Add rules to build and run bug-getcontext.
21332 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21334         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
21335         instructions into .machine "z9-109".
21336         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
21337         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
21339 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21341         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
21342         between environment variables and auxiliary vector.
21344 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
21346         * Makefile: Add rules to build linkobj/libc.so.
21347         * include/libc-symbols.h: Define libc_hidden_nolink.
21348         * include/rpc/auth.h: Mark functions which are to be hidden.
21349         * include/rpc/auth_des.h: Likewise.
21350         * include/rpc/auth_unix.h: Likewise.
21351         * include/rpc/clnt.h: Likewise.
21352         * include/rpc/des_crypt.h: Likewise.
21353         * include/rpc/key_prot.h: Likewise.
21354         * include/rpc/pmap_clnt.h: Likewise.
21355         * include/rpc/pmap_prot.h: Likewise.
21356         * include/rpc/pmap_rmt.h: Likewise.
21357         * include/rpc/rpc_msg.h: Likewise.
21358         * include/rpc/svc.h: Likewise.
21359         * include/rpc/svc_auth.h: Likewise.
21360         * include/rpc/xdr.h: Likewise.
21361         * nis/Makefile: Link all DSOs against linkobj/libc.so.
21362         * nss/Makefile: Likewise.
21363         * sunrpc/Makefile: Don't install headers.  Build library with normal
21364         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
21365         * sunrpc/auth_des.c: Hide exported symbols by default, export some
21366         for the compat linking library.  Remove use of INTDEF/INTUSE.
21367         * sunrpc/auth_none.c: Likewise.
21368         * sunrpc/auth_unix.c: Likewise.
21369         * sunrpc/authdes_prot.c: Likewise.
21370         * sunrpc/authuxprot.c: Likewise.
21371         * sunrpc/clnt_gen.c: Likewise.
21372         * sunrpc/clnt_perr.c: Likewise.
21373         * sunrpc/clnt_raw.c: Likewise.
21374         * sunrpc/clnt_simp.c: Likewise.
21375         * sunrpc/clnt_tcp.c: Likewise.
21376         * sunrpc/clnt_udp.c: Likewise.
21377         * sunrpc/clnt_unix.c: Likewise.
21378         * sunrpc/des_crypt.c: Likewise.
21379         * sunrpc/des_soft.c: Likewise.
21380         * sunrpc/get_myaddr.c: Likewise.
21381         * sunrpc/key_call.c: Likewise.
21382         * sunrpc/key_prot.c: Likewise.
21383         * sunrpc/netname.c: Likewise.
21384         * sunrpc/pm_getmaps.c: Likewise.
21385         * sunrpc/pm_getport.c: Likewise.
21386         * sunrpc/pmap_clnt.c: Likewise.
21387         * sunrpc/pmap_prot.c: Likewise.
21388         * sunrpc/pmap_prot2.c: Likewise.
21389         * sunrpc/pmap_rmt.c: Likewise.
21390         * sunrpc/publickey.c: Likewise.
21391         * sunrpc/rpc_cmsg.c: Likewise.
21392         * sunrpc/rpc_common.c: Likewise.
21393         * sunrpc/rpc_dtable.c: Likewise.
21394         * sunrpc/rpc_prot.c: Likewise.
21395         * sunrpc/rpc_thread.c: Likewise.
21396         * sunrpc/rtime.c: Likewise.
21397         * sunrpc/svc.c: Likewise.
21398         * sunrpc/svc_auth.c: Likewise.
21399         * sunrpc/svc_authux.c: Likewise.
21400         * sunrpc/svc_raw.c: Likewise.
21401         * sunrpc/svc_run.c: Likewise.
21402         * sunrpc/svc_simple.c: Likewise.
21403         * sunrpc/svc_tcp.c: Likewise.
21404         * sunrpc/svc_udp.c: Likewise.
21405         * sunrpc/svc_unix.c: Likewise.
21406         * sunrpc/svcauth_des.c: Likewise.
21407         * sunrpc/xcrypt.c: Likewise.
21408         * sunrpc/xdr.c: Likewise.
21409         * sunrpc/xdr_array.c: Likewise.
21410         * sunrpc/xdr_float.c: Likewise.
21411         * sunrpc/xdr_intXX_t.c: Likewise.
21412         * sunrpc/xdr_mem.c: Likewise.
21413         * sunrpc/xdr_rec.c: Likewise.
21414         * sunrpc/xdr_ref.c: Likewise.
21415         * sunrpc/xdr_sizeof.c: Likewise.
21416         * sunrpc/xdr_stdio.c: Likewise.
21418 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
21420         [BZ #12650]
21421         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
21422         * sysdeps/ia64/dl-tls.h: Likewise.
21423         * sysdeps/powerpc/dl-tls.h: Likewise.
21424         * sysdeps/s390/dl-tls.h: Likewise.
21425         * sysdeps/sh/dl-tls.h: Likewise.
21426         * sysdeps/sparc/dl-tls.h: Likewise.
21427         * sysdeps/x86_64/dl-tls.h: Likewise.
21428         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
21430 2011-03-14  Andreas Schwab  <schwab@redhat.com>
21432         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
21433         rpath element also skip the following colon.
21434         (expand_dynamic_string_token): Add is_path parameter and pass
21435         down to DL_DST_REQUIRED and _dl_dst_substitute.
21436         (decompose_rpath): Call expand_dynamic_string_token with
21437         non-zero is_path.  Ignore empty rpaths.
21438         (_dl_map_object_from_fd): Call expand_dynamic_string_token
21439         with zero is_path.
21441 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
21443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21444         Make cancelable.
21446 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
21448         [BZ #12655]
21449         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
21450         Patch by Filipe David Manana <fdmanana@apache.org>.
21452 2011-04-07  Andreas Schwab  <schwab@redhat.com>
21454         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
21455         Maintain aligned stack.
21456         (CHECK_RSP): Remove unused macro.
21458 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
21460         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
21461         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
21463 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
21465         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
21467         * include/features.h: Mention __USE_XOPEN2K8 in comment.
21469 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
21471         [BZ #12518]
21472         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
21473         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
21474         * sysdeps/x86_64/memmove.c: New file.
21475         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
21476         (memcpy): Renamed to ...
21477         (__new_memcpy): This.
21478         (memcpy): Provide GLIBC_2_14 memcpy.
21479         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
21480         (memcpy): Provide GLIBC_2_2_5 memcpy.
21482 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
21484         [BZ #12631]
21485         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
21487 2011-03-30  Andreas Schwab  <schwab@redhat.com>
21489         * misc/syncfs.c: New file.
21490         * misc/Makefile (routines): Add syncfs.
21491         * posix/unistd.h: Declare syncfs.
21492         * sysdeps/unix/syscalls.list: Add syncfs.
21494 2011-04-01  Andreas Schwab  <schwab@redhat.com>
21496         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
21497         open_by_handle_at.
21498         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
21499         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21500         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21501         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21502         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21503         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
21504         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21506 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
21508         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
21509         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21510         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
21511         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21512         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21513         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21514         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21516         * io/Makefile: Compile fallocate.c, fallocate64.c, and
21517         sync_file_range.c with -fexceptions.
21518         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
21519         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
21520         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
21521         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
21522         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
21523         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21524         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
21525         sync_file_range as cancellation point
21526         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
21527         now a wrapper around __call_sync_file_range with cancellation handling.
21528         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
21529         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
21530         function name to __call_sync_file_range.
21531         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
21532         Add call_sync_file_range.
21534 2011-04-01  Andreas Schwab  <schwab@redhat.com>
21536         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21537         bits/timex.h.
21539 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
21541         * iconv/iconv.h: Fix typo in comment.
21542         * io/fcntl.h: Likewise.
21543         * libio/stdio.h: Likewise.
21544         * posix/spawn.h: Likewise.
21545         * posix/unistd.h: Likewise.
21546         * stdlib/stdlib.h: Likewise.
21547         * time/time.h: Likewise.
21548         * wcsmbs/wchar.h: Likewise.
21550         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
21551         open_by_handle): Add.
21552         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
21553         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
21554         Augment a few comments.
21555         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21556         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21557         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21558         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21559         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21560         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
21561         open_by_handle.
21563         * io/fcntl.h (AT_EMPTY_PATH): Define.
21565 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
21567         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
21568         * sysdeps/unix/sysv/linux/bits/time.h: New file.
21569         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
21570         to...
21571         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
21572         * Versions.def: Add GLIBC_2.14.
21573         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
21574         Export.
21576 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
21578         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
21579         round counter.
21580         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21582 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
21584         [BZ #12597]
21585         * string/test-strncmp.c (do_page_test): New function.
21586         (check2): Likewise.
21587         (test_main): Call check2.
21588         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
21590 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
21592         [BZ #12587]
21593         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
21594         Handle cache information in CPU leaf 4.
21595         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21597 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
21599         [BZ #12583]
21600         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
21601         character representation.
21602         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
21604 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
21606         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
21607         END(__isnan) to END(__isnanf) to match function entry point/label
21608         EALIGN(__isnanf,...).
21610 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
21612         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
21614 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
21616         [BZ #12510]
21617         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
21618         copy from the symbol referenced in the relocation to initialize the
21619         used variable.
21620         Patch by Piotr Bury <pbury@goahead.com>.
21621         * elf/Makefile: Add rules to build and tst-unique3.
21622         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
21623         * elf/tst-unique3.cc: New file.
21624         * elf/tst-unique3.h: New file.
21625         * elf/tst-unique3lib.cc: New file.
21626         * elf/tst-unique3lib2.cc: New file.
21628         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
21630 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
21632         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
21633         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
21634         to _start.
21636 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
21638         * elf/dl-load.c (_dl_map_object): If we are looking for the first
21639         to-be-loaded object along a path to loader is ld.so.
21641 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
21642             Ulrich Drepper  <drepper@gmail.com>
21644         * sysdeps/x86_64/memset.S: After aligning destination, code
21645         branches to different locations depending on the value of
21646         misalignment, when multiarch is enabled. Fix this.
21648 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
21650         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
21651         Set _x86_64_preferred_memory_instruction for AMD processsors.
21652         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21653         Set bit_Prefer_SSE_for_memop for AMD processors.
21655 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
21657         * libio/fmemopen.c (fmemopen): Optimize a bit.
21659 2011-03-03  Andreas Schwab  <schwab@redhat.com>
21661         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
21663 2011-03-03  Roland McGrath  <roland@redhat.com>
21665         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
21667 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
21669         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
21670         __bzero_ultra1 instead of __memset_ultra1.
21672 2011-02-23  Andreas Schwab  <schwab@redhat.com>
21673             Ulrich Drepper  <drepper@gmail.com>
21675         [BZ #12509]
21676         * include/link.h (struct link_map): Add l_orig_initfini.
21677         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
21678         returning unsuccessfully.
21679         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
21680         close of a file loaded at startup, restore the original l_initfini
21681         list.
21682         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
21683         list, store the pointer.
21684         * elf/Makefile ($(objpfx)noload-mem): New rule.
21685         (noload-ENV): Define.
21686         (tests): Add $(objpfx)noload-mem.
21687         * elf/noload.c: Include <memcheck.h>.
21688         (main): Call mtrace.  Close all opened handles.
21690 2011-02-17  Andreas Schwab  <schwab@redhat.com>
21692         [BZ #12454]
21693         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
21694         dependencies are missing.
21696 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21698         Fix __if_freereq crash: Unlike the generic version which uses free,
21699         Hurd needs munmap.
21700         * sysdeps/mach/hurd/ifreq.h: New file.
21702 2011-01-27  Petr Baudis  <pasky@suse.cz>
21703             Ulrich Drepper  <drepper@gmail.com>
21705         [BZ 12445]#
21706         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
21707         to extend_alloca().
21708         * stdio-common/bug23.c: New file.
21709         * stdio-common/Makefile (tests): Add bug23.
21711 2010-09-28  Andreas Schwab  <schwab@redhat.com>
21712             Ulrich Drepper  <drepper@gmail.com>
21714         [BZ #12489]
21715         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
21716         before performing relro protection.  At old place add assertion
21717         to make sure nothing changed.
21719 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
21720             Glauber de Oliveira Costa  <glommer@gmail.com>
21722         * elf/elf.h: Add new ARM TLS relocs.
21724 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
21726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21727         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
21728         cast from r3.
21729         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
21730         'tests' variable.
21731         * sysdeps/wordsize-64/tst-writev.c: New file.
21733 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
21735         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
21736         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
21737         insns in _dl_start to prevent a TOC reference before relocs are
21738         resolved.
21740 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
21742         [BZ #12469]
21743         * Makeconfig: Remove RANLIB definition.
21744         * Makerules: Don't use RANLIB.
21745         * aclocal.m4: Remove ranlib test.
21746         * configure.in: No need to check for ranlib.
21747         * elf/rtld-Rules: Don't use RANLIB.
21749 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21751         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
21752         protection macro.
21753         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
21754         inclusion protection macro.
21756         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
21757         SIGRTMIN and SIGRTMAX and print information in that case only when
21758         SIGRTMIN is defined.
21760 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
21762         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
21763         arginfo fn returning -1.
21765         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
21766         and thousands string is zero terminated.
21768 2011-02-03  Andreas Schwab  <schwab@redhat.com>
21770         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
21771         sysdeps/unix/sysv/linux/bits/socket.h.
21773 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21775         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
21776         (__CPU_COUNT): Remove old macros.
21777         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
21778         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
21779         (__CPU_ALLOC, __CPU_FREE): Add macros.
21780         (__sched_cpualloc, __sched_cpufree): Add declarations.
21782 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
21784         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
21785         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
21786         * nscd/aicache.c (addhstaiX): Return timeout of added value.
21787         (readdhstai): Return value of addhstaiX call.
21788         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
21789         (addgrbyX): Return value returned by cache_addgr.
21790         (readdgrbyname): Return value returned by addgrbyX.
21791         (readdgrbygid): Likewise.
21792         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
21793         (addpwbyX): Return value returned by cache_addpw.
21794         (readdpwbyname): Return value returned by addhstbyX.
21795         (readdpwbyuid): Likewise.
21796         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
21797         (addservbyX): Return value returned by cache_addserv.
21798         (readdservbyname): Return value returned by addservbyX:
21799         (readdservbyport): Likewise.
21800         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
21801         (addhstbyX): Return value returned by cache_addhst.
21802         (readdhstbyname): Return value returned by addhstbyX.
21803         (readdhstbyaddr): Likewise.
21804         (readdhstbynamev6): Likewise.
21805         (readdhstbyaddrv6): Likewise.
21806         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
21807         (readdinitgroups): Return value returned by addinitgroupsX.
21808         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
21809         (prune_cache): Keep track of timeout value of re-added entries.
21810         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
21811         * nscd/nscd.h: Adjust prototypes of readd* functions.
21813 2011-02-04  Roland McGrath  <roland@redhat.com>
21815         * nis/nis_server.c (nis_servstate): Use the right name for 0.
21816         (nis_stats): Likewise.
21817         * nis/nis_modify.c (nis_modify): Likewise.
21818         * nis/nis_remove.c (nis_remove): Likewise.
21819         * nis/nis_add.c (nis_add): Likewise.
21821         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
21823         * posix/fnmatch_loop.c: Add some consts.
21825         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
21827 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
21829         [BZ #12460]
21830         * config.make.in (config-cflags-novzeroupper): Define.
21831         * configure.in: Substitute libc_cv_cc_novzeroupper.
21832         * elf/Makefile (AVX-CFLAGS): Define.
21833         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
21834         (CFLAGS-tst-auditmod4a.c): Likewise.
21835         (CFLAGS-tst-auditmod4b.c): Likewise.
21836         (CFLAGS-tst-auditmod6b.c): Likewise.
21837         (CFLAGS-tst-auditmod6c.c): Likewise.
21838         (CFLAGS-tst-auditmod7b.c): Likewise.
21839         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
21841 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
21843         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
21844         function to the callback.
21845         Patch partly by Jiri Olsa <jolsa@redhat.com>.
21847 2011-02-02  Andreas Schwab  <schwab@redhat.com>
21849         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
21850         of errno.
21852 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
21854         [BZ #11724]
21855         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
21856         of constructors.
21857         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
21858         of destructors.
21859         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
21861         [BZ #11724]
21862         * elf/Makefile: Add rules to build and run new test.
21863         * elf/tst-initorder.c: New file.
21864         * elf/tst-initorder.exp: New file.
21865         * elf/tst-initordera1.c: New file.
21866         * elf/tst-initordera2.c: New file.
21867         * elf/tst-initordera3.c: New file.
21868         * elf/tst-initordera4.c: New file.
21869         * elf/tst-initorderb1.c: New file.
21870         * elf/tst-initorderb2.c: New file.
21871         * elf/tst-order-a1.c: New file.
21872         * elf/tst-order-a2.c: New file.
21873         * elf/tst-order-a3.c: New file.
21874         * elf/tst-order-a4.c: New file.
21875         * elf/tst-order-b1.c: New file.
21876         * elf/tst-order-b2.c: New file.
21877         * elf/tst-order-main.c: New file.
21878         New test case by George Gensure <werkt0@gmail.com>.
21880 2010-10-01  Andreas Schwab  <schwab@redhat.com>
21882         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21883         decoding ACE if AI_CANONIDN.
21885 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
21887         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
21889 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
21891         * version.h (RELEASE): Bump for 2.13 release.
21892         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
21894         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
21896         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
21897         MADV_NOHUGEPAGE.
21898         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
21899         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21900         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21901         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21902         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21903         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21905         * posix/getconf.c: Update copyright year.
21906         * catgets/gencat.c: Likewise.
21907         * csu/version.c: Likewise.
21908         * debug/catchsegv.sh: Likewise.
21909         * debug/xtrace.sh: Likewise.
21910         * elf/ldconfig.c: Likewise.
21911         * elf/ldd.bash.in: Likewise.
21912         * elf/sprof.c (print_version): Likewise.
21913         * iconv/iconv_prog.c: Likewise.
21914         * iconv/iconvconfig.c: Likewise.
21915         * locale/programs/locale.c: Likewise.
21916         * locale/programs/localedef.c: Likewise.
21917         * malloc/memusage.sh: Likewise.
21918         * malloc/mtrace.pl: Likewise.
21919         * nscd/nscd.c (print_version): Likewise.
21920         * nss/getent.c: Likewise.
21922         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
21923         PF_CAIF, and PF_ALG.
21924         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21926 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
21928         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
21929         (modules-names): Use them.
21930         (ifunc-test-modules, ifunc-pie-tests): Define.
21931         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
21932         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
21933         (test-extras): Likewise.
21934         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
21935         $(compile-command.c).
21936         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
21937         (all-built-dso): Define.
21938         (check-textrel.out, check-execstack.out): Depend on it.
21940         * configure.in: Don't override --enable-multi-arch.
21942 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
21944         [BZ #6812]
21945         * nscd/hstcache.c (tryagain): Define.
21946         (cache_addhst): Return tryagain not notfound for temporary errors.
21947         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
21948         failed.
21950 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
21952         [BZ #10563]
21953         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
21954         to make the syscall.
21955         * sysdeps/unix/sysv/linux/setgroups.c: New file.
21957         [BZ #12378]
21958         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
21959         and fall back to matching as normal character if the string ends before
21960         the matching ']' is found.  This is what POSIX requires.
21961         * posix/testfnm.c: Adjust test result.
21962         * posix/globtest.sh: Adjust test result.  Add new test.
21963         * posix/tst-fnmatch.input: Likewise.
21964         * posix/tst-fnmatch2.c: Add new test.
21966 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
21968         * elf/Makefile (check-execstack): Revert last change.  Depend on
21969         check-execstack.h.
21970         (check-execstack.h): New target.
21971         (generated): Add check-execstack.h.
21972         * elf/check-execstack.c: Include "check-execstack.h".
21973         (main): Revert last change.
21974         (handle_file): Return zero if GNU_STACK is absent and
21975         DEFAULT_STACK_PERMS doesn't include PF_X.
21977 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
21979         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
21980         in child fails because the descriptor is already closed.
21981         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
21982         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
21983         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
21985         [BZ #12397]
21986         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
21987         syscall.
21989         [BZ #10484]
21990         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
21991         temporary buffer used to handle multi lookups locally.
21992         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
21994 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
21996         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
21997         loader is ld.so.
21999 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
22001         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
22002         alignment for SSE2.
22004 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
22006         [BZ #12394]
22007         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
22008         characters.  When rounding increased number of integer digits recompute
22009         number of groups.
22010         * stdio-common/tst-grouping.c: New file.
22011         * stdio-common/Makefile: Add rules to build and run tst-grouping.
22013 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
22015         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
22016         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
22018         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
22019         void.
22020         * bits/select.h: Likewise.
22022 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
22024         * po/ja.po: Update from translation team.
22026 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
22028         [BZ #11155]
22029         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
22030         implementation just like for lxstat, fxstatat, et al.
22032 2010-12-27  Jim Meyering  <meyering@redhat.com>
22034         [BZ #12348]
22035         * posix/regexec.c (build_trtable): Return failure indication upon
22036         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
22038 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
22040         [BZ #12201]
22041         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
22042         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
22043         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
22044         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
22046         [BZ #12207]
22047         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
22049         [BZ #12204]
22050         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
22051         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
22053 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
22055         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
22056         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
22057         script has SORT_BY_INIT_PRIORITY.
22058         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
22059         NO_CTORS_DTORS_SECTIONS is defined.
22060         * elf/soinit.c: Likewise.
22061         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
22062         NO_CTORS_DTORS_SECTIONS is defined.
22063         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
22064         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
22065         * sysdeps/sh/init-first.c: Likewise.
22066         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
22068 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
22070         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
22071         always use the slow path.
22073 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
22075         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
22076         similar rule which adds the sysdep directories to the header search in
22077         order to pick up the correct platform stackinfo.h.
22078         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
22079         perform test if it is, otherwise return successfully without testing.
22080         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
22081         DEFAULT_STACK_PERMS define in stackinfo.h.
22082         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
22083         defined in stackinfo.h.
22084         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
22085         DEFAULT_STACK_PERMS defined in stackinfo.h.
22086         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
22087         * sysdeps/ia64/stackinfo.h: Likewise.
22088         * sysdeps/s390/stackinfo.h: Likewise.
22089         * sysdeps/sh/stackinfo.h: Likewise.
22090         * sysdeps/sparc/stackinfo.h: Likewise.
22091         * sysdeps/x86_64/stackinfo.h: Likewise.
22092         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
22093         PF_X for powerpc64.  Retain PF_X for powerpc32.
22095 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
22097         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
22098         accurately.
22099         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
22100         GETDENTS_64BIT_ALIGNED.
22102 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
22104         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
22106 2010-12-10  Andreas Schwab  <schwab@redhat.com>
22108         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
22109         _GNU_SOURCE.
22111         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
22112         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
22113         Remove __restrict.
22114         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
22115         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
22117 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
22119         [BZ #11655]
22120         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
22121         are initialized.
22123 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
22125         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
22127 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
22129         * po/it.po: Update from translation team.
22131 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
22133         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
22134         unused codes.
22136 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
22138         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
22140 2010-11-24  Andreas Schwab  <schwab@redhat.com>
22142         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
22143         specially.
22144         (gaih_getanswer_slice): Likewise.
22146 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
22148         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
22150 2010-05-31  Petr Baudis  <pasky@suse.cz>
22152         [BZ #11149]
22153         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
22154         silently even in the chroot mode.
22156 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
22158         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
22159         last patch a bit.  Pretty printing
22161 2010-05-31  Petr Baudis <pasky@suse.cz>
22163         [BZ #10085]
22164         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
22165         initialization of skip_initgroups_dyn.
22167 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
22169         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
22170         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22172 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
22174         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
22176 2010-11-11  Andreas Schwab  <schwab@redhat.com>
22178         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
22179         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
22180         (tst-fnmatch-ENV): Set MALLOC_TRACE.
22181         ($(objpfx)tst-fnmatch-mem): New rule.
22182         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
22183         * posix/tst-fnmatch.c (main): Call mtrace.
22185 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
22187         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22188         Support Intel processor model 6 and model 0x2c.
22190 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
22192         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
22193           signed comparison.
22195 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
22197         [BZ #12205]
22198         * string/test-strncasecmp.c (check_result): New function.
22199         (do_one_test): Use it.
22200         (check1): New function.
22201         (test_main): Use it.
22202         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
22203         Support strcasecmp and strncasecmp.
22205 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
22207         [BZ #12194]
22208         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
22209         * sysdeps/x86_64/bits/byteswap.h: Likewise.
22211 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
22213         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
22214         IFUNC support.
22215         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22216         memset-x86-64.
22217         * sysdeps/x86_64/multiarch/bzero.S: New file.
22218         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
22219         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
22220         * sysdeps/x86_64/multiarch/memset.S: New file.
22221         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
22222         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22223         Set bit_Prefer_SSE_for_memop for Intel processors.
22224         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
22225         Define.
22226         (index_Prefer_SSE_for_memop): Define.
22227         (HAS_PREFER_SSE_FOR_MEMOP): Define.
22229 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
22231         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
22232         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
22234 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
22236         [BZ #12191]
22237         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22238         (__x86_64_raw_data_cache_size_half): Likewise.
22239         (__x86_64_raw_shared_cache_size): Likewise.
22240         (__x86_64_raw_shared_cache_size_half): Likewise.
22242         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22243         (__x86_64_raw_data_cache_size_half): Likewise.
22244         (__x86_64_raw_shared_cache_size): Likewise.
22245         (__x86_64_raw_shared_cache_size_half): Likewise.
22246         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
22247         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
22248         and __x86_64_raw_shared_cache_size_half.  Round
22249         __x86_64_data_cache_size_half, __x86_64_data_cache_size
22250         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
22251         to multiple of 256 bytes.
22253 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
22255         [BZ #12167]
22256         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
22257         of inacessible symlinks.  Verify result of symlink before returning it.
22258         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22259         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
22261 2010-10-28  Erich Ritz  <erichritz@gmail.com>
22263         * math/math.h (isinf): Fix typo in comment.
22265 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
22267         * po/da.po: Update from translation team.
22269 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
22271         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
22272         is added to the list.
22274 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22275             Ulrich Drepper  <drepper@gmail.com>
22277         * elf/dl-object.c (_dl_new_object): Don't append the new object to
22278         the global list here.  Move code to...
22279         (_dl_add_to_namespace_list): ...here.  New function.
22280         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
22281         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
22282         * elf/dl-load.c (lose): Don't remove the element from the list.
22283         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
22284         (_dl_map_object): Likewise.
22286 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
22288         [BZ #12159]
22289         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
22290         into all bytes of SSE register.
22291         Patch by Richard Li <richardpku@gmail.com>.
22293 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
22295         [BZ #12140]
22296         * malloc/malloc.c (_int_free): Fill correct number of bytes when
22297         perturbing.
22299 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
22301         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
22302         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
22303         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
22304         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
22305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
22306         submachine.
22307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
22309 2010-10-22  Andreas Schwab  <schwab@redhat.com>
22311         * include/dlfcn.h (__RTLD_SECURE): Define.
22312         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
22313         mode & __RTLD_SECURE instead.
22314         (open_path): Rename preloaded parameter to secure.
22315         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
22316         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
22317         * elf/dl-deps.c (openaux): Likewise.
22318         * elf/rtld.c (struct map_args): Remove is_preloaded.
22319         (map_doit): Don't use it.
22320         (dl_main): Likewise.
22321         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
22322         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
22324 2010-09-09  Andreas Schwab  <schwab@redhat.com>
22326         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
22327         (sysd-rules-targets): Remove duplicates.
22328         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
22329         rtld-%.$o dependency.
22331 2010-10-18  Andreas Schwab  <schwab@redhat.com>
22333         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
22334         _dl_map_object do it.
22336 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
22338         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
22339         fast fma builtins, define the macros in the C99 standard.
22340         (FP_FAST_FMAF): Likewise.
22341         (FP_FAST_FMAL): Likewise.
22342         * sysdeps/x86_64/bits/mathdef.h: Likewise.
22344         * bits/mathdef.h: Update copyright year.
22345         * sysdeps/powerpc/bits/mathdef.h: Likewise.
22347 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
22349         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
22350         builtins, define the macros in the C99 standard.
22351         (FP_FAST_FMAF): Likewise.
22352         (FP_FAST_FMAL): Likewise.
22353         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
22354         multiply/add.
22355         (FP_FAST_FMAF): Likewise.
22357 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
22359         [BZ #3268]
22360         * math/libm-test.inc (fma_test): Some new testcases.
22361         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
22362         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
22363         y and infinite z.  Do multiplication by C already in long double.
22364         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
22365         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
22366         y and infinite z.  Do bitwise or of inexact bit into u.d.
22367         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
22368         * sysdeps/i386/fpu/s_fmaf.S: Removed.
22369         * sysdeps/i386/fpu/s_fma.S: Removed.
22370         * sysdeps/i386/fpu/s_fmal.S: Removed.
22372 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
22374         [BZ #3268]
22375         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
22376         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
22377         computation is not scheduled after fetestexcept.  Fix value
22378         of minimum denormal long double.
22380 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
22382         [BZ #3268]
22383         * math/libm-test.inc (fma_test): Add some more tests.
22384         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
22385         correctly.
22387 2010-10-15  Andreas Schwab  <schwab@redhat.com>
22389         * scripts/data/localplt-s390-linux-gnu.data: New file.
22390         * scripts/data/localplt-s390x-linux-gnu.data: New file.
22392 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
22394         [BZ #3268]
22395         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
22396         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
22397         instead of dbl-64.
22398         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
22399         inlines.
22400         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
22401         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
22402         if one of x and y is very large and the other is subnormal.
22403         * sysdeps/s390/fpu/s_fmaf.c: New file.
22404         * sysdeps/s390/fpu/s_fma.c: New file.
22405         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
22406         * sysdeps/powerpc/fpu/s_fma.S: New file.
22407         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
22408         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
22409         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
22411 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
22413         [BZ #3268]
22414         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
22415         fma tests.
22416         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
22417         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
22418         * sysdeps/i386/i686/multiarch/s_fma.c: Include
22419         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
22420         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
22421         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
22422         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
22424 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
22426         [BZ #12078]
22427         * posix/regcomp.c (parse_branch): One more memory leak plugged.
22428         * posix/bug-regex31.input: Add test case.
22430 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
22432         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
22433         * posix/bug-regex31.input: New file.
22435         [BZ #12078]
22436         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
22437         (parse_sub_exp): Fix last change, use postorder.
22439         * posix/bug-regex31.c: New file.
22440         * posix/Makefile: Add rules to build and run bug-regex31.
22442         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
22444         [BZ #12078]
22445         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
22447         [BZ #12108]
22448         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
22449         to have entries in sys_siglist.
22451         [BZ #12093]
22452         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
22453         be NULL.
22455 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
22457         [BZ #3268]
22458         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
22459         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
22460         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22461         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
22462         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22463         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
22464         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
22465         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
22466         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
22467         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
22468         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
22469         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
22470         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22471         * math/ftestexcept.c (fetestexcept): Likewise.
22472         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
22473         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
22474         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
22475         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
22476         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
22477         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
22478         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22480 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
22482         [BZ #12107]
22483         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
22484         newline.
22486 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
22488         * string/bug-strstr1.c: New file.
22489         * string/Makefile: Add rules to build and run bug-strstr1.
22491 2010-10-05  Eric Blake  <eblake@redhat.com>
22493         [BZ #12092]
22494         * string/str-two-way.h (two_way_long_needle): Always clear memory
22495         when skipping input due to the shift table.
22497 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
22499         [BZ #12005]
22500         * malloc/mcheck.c: Handle large requests.
22502         [BZ #12077]
22503         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
22504         for strncmp and strncasecmp.
22505         * string/stratcliff.c: Add tests for strcmp and strncmp.
22506         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
22508 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
22510         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
22511         __set_fpscr.
22513 2010-09-30  Andreas Jaeger  <aj@suse.de>
22515         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
22516         (CGROUP_SUPER_MAGIC): Define.
22517         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22518         Handle btrfs and cgroup file systems.
22519         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22520         Likewise.
22522 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
22524         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
22525         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
22527 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22529         [BZ #12067]
22530         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
22531         trying to locate the ELF header.
22533 2010-09-27  Andreas Schwab  <schwab@redhat.com>
22535         [BZ #11611]
22536         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
22537         Mask out sign-bit copies when constructing f_fsid.
22539 2010-09-24  Petr Baudis <pasky@suse.cz>
22541         * debug/stack_chk_fail_local.c: Add missing licence exception.
22542         * debug/warning-nop.c: Likewise.
22544 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
22546         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
22547         implementing getdents64 using getdents syscall, set d_type if
22548         __ASSUME_GETDENTS32_D_TYPE.
22550 2010-09-16  Andreas Schwab  <schwab@redhat.com>
22552         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
22553         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
22555 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
22557         [BZ #12037]
22558         * posix/unistd.h: Undo change of feature selection for ftruncate from
22559         2010-01-11.
22561 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
22563         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
22564         detection.
22566 2010-09-20  Andreas Schwab  <schwab@redhat.com>
22568         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
22569         fanotify_mark.
22570         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22572 2010-09-14  Andreas Schwab  <schwab@redhat.com>
22574         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
22575         variables after CHECK_SP call.
22576         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
22578 2010-09-13  Andreas Schwab  <schwab@redhat.com>
22579             Ulrich Drepper  <drepper@redhat.com>
22581         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
22582         re-relocationg ld.so.
22583         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
22584         _dl_init_paths call.
22585         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
22586         here anymore.
22588 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
22590         * resolv/res_init.c (__res_vinit): Count the default server we added.
22592 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
22593             Ulrich Drepper  <drepper@redhat.com>
22595         [BZ #11968]
22596         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22597         (____longjmp_chk): Use %ebx for saving value across system call.
22598         Add unwind info.
22600 2010-09-06  Andreas Schwab  <schwab@redhat.com>
22602         * manual/Makefile: Don't mix pattern rules with normal rules.
22604 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
22606         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
22607         operation.
22608         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
22609         * libio/iofopncook.c (_IO_cookie_init): Likewise.
22610         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
22611         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22612         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22613         Likewise.
22615 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
22617         [BZ #11979]
22618         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
22619         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
22621 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
22623         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
22624         * sysdeps/x86_64/addmul_1.S: Likewise.
22625         * sysdeps/x86_64/lshift.S: Likewise.
22626         * sysdeps/x86_64/mul_1.S: Likewise.
22627         * sysdeps/x86_64/rshift.S: Likewise.
22628         * sysdeps/x86_64/sub_n.S: Likewise.
22629         * sysdeps/x86_64/submul_1.S: Likewise.
22631 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22633         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
22634         Define __sched_param instead of SCHED_* and sched_param when
22635         <bits/sched.h> is included with __need_schedparam defined.
22636         * bits/sched.h [__need_schedparam]
22637         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
22638         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
22639         (__defined_schedparam): Define to 1.
22640         (__sched_param): New structure, identical to sched_param.
22641         (__need_schedparam): Undefine.
22643 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
22645         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
22646         (epoll_create1): Declare.
22648         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
22650 2010-08-31  Andreas Schwab  <schwab@redhat.com>
22652         [BZ #7066]
22653         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
22654         shifting retval into place.
22656 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
22658         * nis/rpcsvc/nis.h: Update copyright notice.
22659         * nis/rpcsvc/nis.x: Likewise.
22660         * nis/rpcsvc/nis_callback.h: Likewise.
22661         * nis/rpcsvc/nis_callback.x: Likewise.
22662         * nis/rpcsvc/nis_object.x: Likewise.
22663         * nis/rpcsvc/nis_tags.h: Likewise.
22664         * nis/rpcsvc/yp.h: Likewise.
22665         * nis/rpcsvc/yp.x: Likewise.
22666         * nis/rpcsvc/ypupd.h: Likewise.
22667         * nis/yp_xdr.c: Likewise.
22668         * nis/ypupdate_xdr.c: Likewise.
22670         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
22671         mainly the body of pmap_getport.  Add parameters to specify timeouts.
22672         (pmap_getport): Use __libc_rpc_getport.
22673         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
22674         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
22675         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
22677 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
22679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
22680         fanotify_mark.
22682 2010-08-27  Roland McGrath  <roland@redhat.com>
22684         * sysdeps/i386/i686/multiarch/Makefile
22685         (CFLAGS-varshift.c): New variable.
22687 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
22689         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
22690         * sysdeps/i386/i686/multiarch/varshift.c: New file.
22692         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
22694         * sysdeps/x86_64/strlen.S: Minimal code improvement.
22696 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
22698         * sysdeps/x86_64/strlen.S: Unroll the loop.
22699         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22700         strlen-sse2 strlen-sse2-bsf.
22701         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
22702         __strlen_no_bsf if bit_Slow_BSF is set.
22703         (__strlen_sse42): Removed.
22704         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
22705         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
22707 2010-08-25  Roland McGrath  <roland@redhat.com>
22709         * sysdeps/x86_64/multiarch/varshift.S: File removed.
22710         * sysdeps/x86_64/multiarch/varshift.c: New file.
22711         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
22712         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
22713         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
22714         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22716 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
22718         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22719         strlen-sse2 strlen-sse2-bsf.
22720         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
22721         __strlen_sse2_bsf if bit_Slow_BSF is unset.
22722         (__strlen_sse2): Removed.
22723         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
22724         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
22725         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22726         bit_Slow_BSF for Atom.
22727         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
22728         (index_Slow_BSF): Define.
22729         (HAS_SLOW_BSF): Define.
22731 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
22733         [BZ #10851]
22734         * resolv/res_init.c (__res_vinit): When no server address at all
22735         is given default to loopback.
22737 2010-08-24  Roland McGrath  <roland@redhat.com>
22739         * configure.in: Remove config-name.h generation.
22740         * configure: Regenerated.
22741         * config-name.in: File removed.
22742         * scripts/config-uname.sh: New file.
22743         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
22744         ($(objdir)config-name.h): New target.
22746         * sunrpc/rpc_parse.h: Avoid nested comment.
22748 2010-08-24  Richard Henderson  <rth@redhat.com>
22749             Ulrich Drepper  <drepper@redhat.com>
22750             H.J. Lu  <hongjiu.lu@intel.com>
22752         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
22753         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
22754         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
22755         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
22756         _mm_alignr_epi8 with _mm_loadu_si128.
22757         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
22758         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
22759         (__m128i_shift_right): Removed.
22760         * sysdeps/i386/i686/multiarch/varshift.h: New file.
22761         * sysdeps/i386/i686/multiarch/varshift.S: New file.
22762         * sysdeps/x86_64/multiarch/varshift.h: New file.
22763         * sysdeps/x86_64/multiarch/varshift.S: New file.
22765 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
22767         * configure.in: Move assembler checks to before sysdep dir checking.
22769 2010-08-20  Petr Baudis  <pasky@suse.cz>
22771         * LICENSES: Sync the sunrpc license.
22773 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
22775         * sunrpc/auth_des.c: Update copyright notice once again.
22776         * sunrpc/auth_none.c: Likewise.
22777         * sunrpc/auth_unix.c: Likewise.
22778         * sunrpc/authdes_prot.c: Likewise.
22779         * sunrpc/authuxprot.c: Likewise.
22780         * sunrpc/bindrsvprt.c: Likewise.
22781         * sunrpc/clnt_gen.c: Likewise.
22782         * sunrpc/clnt_perr.c: Likewise.
22783         * sunrpc/clnt_raw.c: Likewise.
22784         * sunrpc/clnt_simp.c: Likewise.
22785         * sunrpc/clnt_tcp.c: Likewise.
22786         * sunrpc/clnt_udp.c: Likewise.
22787         * sunrpc/clnt_unix.c: Likewise.
22788         * sunrpc/des_crypt.c: Likewise.
22789         * sunrpc/des_soft.c: Likewise.
22790         * sunrpc/get_myaddr.c: Likewise.
22791         * sunrpc/getrpcport.c: Likewise.
22792         * sunrpc/key_call.c: Likewise.
22793         * sunrpc/key_prot.c: Likewise.
22794         * sunrpc/openchild.c: Likewise.
22795         * sunrpc/pm_getmaps.c: Likewise.
22796         * sunrpc/pm_getport.c: Likewise.
22797         * sunrpc/pmap_clnt.c: Likewise.
22798         * sunrpc/pmap_prot.c: Likewise.
22799         * sunrpc/pmap_prot2.c: Likewise.
22800         * sunrpc/pmap_rmt.c: Likewise.
22801         * sunrpc/rpc/auth.h: Likewise.
22802         * sunrpc/rpc/auth_unix.h: Likewise.
22803         * sunrpc/rpc/clnt.h: Likewise.
22804         * sunrpc/rpc/des_crypt.h: Likewise.
22805         * sunrpc/rpc/key_prot.h: Likewise.
22806         * sunrpc/rpc/netdb.h: Likewise.
22807         * sunrpc/rpc/pmap_clnt.h: Likewise.
22808         * sunrpc/rpc/pmap_prot.h: Likewise.
22809         * sunrpc/rpc/pmap_rmt.h: Likewise.
22810         * sunrpc/rpc/rpc.h: Likewise.
22811         * sunrpc/rpc/rpc_des.h: Likewise.
22812         * sunrpc/rpc/rpc_msg.h: Likewise.
22813         * sunrpc/rpc/svc.h: Likewise.
22814         * sunrpc/rpc/svc_auth.h: Likewise.
22815         * sunrpc/rpc/types.h: Likewise.
22816         * sunrpc/rpc/xdr.h: Likewise.
22817         * sunrpc/rpc_clntout.c: Likewise.
22818         * sunrpc/rpc_cmsg.c: Likewise.
22819         * sunrpc/rpc_common.c: Likewise.
22820         * sunrpc/rpc_cout.c: Likewise.
22821         * sunrpc/rpc_dtable.c: Likewise.
22822         * sunrpc/rpc_hout.c: Likewise.
22823         * sunrpc/rpc_main.c: Likewise.
22824         * sunrpc/rpc_parse.c: Likewise.
22825         * sunrpc/rpc_parse.h: Likewise.
22826         * sunrpc/rpc_prot.c: Likewise.
22827         * sunrpc/rpc_sample.c: Likewise.
22828         * sunrpc/rpc_scan.c: Likewise.
22829         * sunrpc/rpc_scan.h: Likewise.
22830         * sunrpc/rpc_svcout.c: Likewise.
22831         * sunrpc/rpc_tblout.c: Likewise.
22832         * sunrpc/rpc_util.c: Likewise.
22833         * sunrpc/rpc_util.h: Likewise.
22834         * sunrpc/rpcinfo.c: Likewise.
22835         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
22836         * sunrpc/rpcsvc/key_prot.x: Likewise.
22837         * sunrpc/rpcsvc/klm_prot.x: Likewise.
22838         * sunrpc/rpcsvc/mount.x: Likewise.
22839         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
22840         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
22841         * sunrpc/rpcsvc/rex.x: Likewise.
22842         * sunrpc/rpcsvc/rstat.x: Likewise.
22843         * sunrpc/rpcsvc/rusers.x: Likewise.
22844         * sunrpc/rpcsvc/sm_inter.x: Likewise.
22845         * sunrpc/rpcsvc/spray.x: Likewise.
22846         * sunrpc/rpcsvc/yppasswd.x: Likewise.
22847         * sunrpc/rtime.c: Likewise.
22848         * sunrpc/svc.c: Likewise.
22849         * sunrpc/svc_auth.c: Likewise.
22850         * sunrpc/svc_authux.c: Likewise.
22851         * sunrpc/svc_raw.c: Likewise.
22852         * sunrpc/svc_run.c: Likewise.
22853         * sunrpc/svc_simple.c: Likewise.
22854         * sunrpc/svc_tcp.c: Likewise.
22855         * sunrpc/svc_udp.c: Likewise.
22856         * sunrpc/svc_unix.c: Likewise.
22857         * sunrpc/svcauth_des.c: Likewise.
22858         * sunrpc/xcrypt.c: Likewise.
22859         * sunrpc/xdr.c: Likewise.
22860         * sunrpc/xdr_array.c: Likewise.
22861         * sunrpc/xdr_float.c: Likewise.
22862         * sunrpc/xdr_mem.c: Likewise.
22863         * sunrpc/xdr_rec.c: Likewise.
22864         * sunrpc/xdr_ref.c: Likewise.
22865         * sunrpc/xdr_sizeof.c: Likewise.
22866         * sunrpc/xdr_stdio.c: Likewise.
22868         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
22869         handling.
22871 2010-08-19  Andreas Schwab  <schwab@redhat.com>
22873         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
22875 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
22877         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
22878         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
22879         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
22880         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
22881         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
22882         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
22883         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
22884         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
22885         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
22886         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
22887         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
22888         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
22889         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
22890         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
22892 2010-07-26  Anton Blanchard  <anton@samba.org>
22894         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
22895         * malloc/arena.c (heap_trim): Likewise.
22897 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
22899         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
22900         here.  Not...
22901         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
22902         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
22904 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
22906         * sysdeps/i386/elf/Makefile: New file.
22908 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
22910         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
22911         from fanotify_init.
22912         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
22913         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22915 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
22917         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
22918         of strncasecmp_l.
22919         * sysdeps/multiarch/strcmp.S: Likewise.
22921 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
22923         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22924         strncase_l-nonascii.
22925         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22926         Add strncase_l-ssse3.
22927         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
22928         * sysdeps/x86_64/strcmp.S: Likewise.
22929         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
22930         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
22931         * sysdeps/x86_64/strncase.S: New file.
22932         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
22933         * sysdeps/x86_64/strncase_l.S: New file.
22934         * string/Makefile (strop-tests): Add strncasecmp.
22935         * string/test-strncasecmp.c: New file.
22937         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
22938         warning.
22940         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
22941         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
22943 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
22945         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
22947 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
22949         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
22950         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
22951         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
22953 2010-05-01  Alan Modra  <amodra@gmail.com>
22955         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
22956         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
22957         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
22958         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
22959         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
22960         tidying.  Don't tail-call __sigjmp_save for static lib.
22961         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
22962         save location.
22963         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
22964         (CALL_MCOUNT): Add eh info, and nop after bl.
22965         (TAIL_CALL_SYSCALL_ERROR): New macro.
22966         (PSEUDO_RET): Use it.
22967         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22968         Correct save location of integer regs and cr.
22969         (_dl_profile_resolve): Correct cr save location.  Delete nops
22970         after bl when SHARED.  Reduce cfi size a little by better
22971         placement of cfi directives.
22972         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
22973         make a stack frame.  Instead use parm save area as a temp.
22974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
22975         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
22976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22977         Don't make a stack frame for parent, use parm save area.
22978         Increase child stack frame to 112 bytes.  Don't save unused reg,
22979         and adjust reg usage.  Set up cfi on error recovery and
22980         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
22981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22982         (__makecontext): Add dummy nop after jump to exit.
22983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
22984         Use correct parm save area and cr save, reduce stack frame.
22985         Correct cfi for possible PSEUDO_RET frame setup.
22986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
22987         Branch to local label emitted by PSEUDO_RET rather than
22988         __syscall_error.
22990 2010-08-12  Andreas Schwab  <schwab@redhat.com>
22992         [BZ #11904]
22993         * locale/programs/locale.c (print_assignment): New function.
22994         (show_locale_vars): Use it.
22996 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
22998         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
22999         field.
23000         (struct statfs64): Likewise.
23001         (_STATFS_F_FLAGS): Define.
23002         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
23003         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23004         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
23005         (ST_VALID): Define locally.
23006         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
23007         __statvfs_getflags, use the provided value.
23008         * sysdeps/unix/sysv/linux/kernel-features.h: Define
23009         __ASSUME_STATFS_F_FLAGS.
23011         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
23013         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
23014         Add sys/fanotify.h.
23015         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
23016         fanotify_mask for GLIBC_2.13.
23017         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
23018         fanotify_init and fanotify_mark.
23019         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23020         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
23022         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
23023         Add prlimit.
23024         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
23025         prlimit64 for GLIBC_2.13.
23026         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
23027         prlimit64.
23028         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
23029         syscall.
23030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
23031         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
23032         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
23033         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
23034         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
23035         add prlimit alias.
23036         * sysdeps/unix/sysv/linux/prlimit.c: New file.
23038         [BZ #11903]
23039         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
23040         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
23042         * nss/Makefile: Add rules to build and run tst-nss-test1.
23043         * shlib-versions: Add entry for libnss_test1.
23044         * nss/nss_test1.c: New file.
23045         * nss/tst-nss-test1.c: New file.
23047         * nss/nsswitch.c (__nss_database_custom): Define new variable.
23048         (__nss_configure_lookup): Set appropriate entry in
23049         __nss_configure_lookup to true.
23050         * nss/nsswitch.h: Define enum with indeces of databases in
23051         databases and __nss_database_custom arrays.  Declare
23052         __nss_database_custom.
23053         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
23054         to avoid using nscd when custom rules are installed.
23055         * nss/getXXbyYY_r.c: Likewise.
23056         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23058         * nss/nss_files/files-parse.c: Whitespace fixes.
23060 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
23062         [BZ #11883]
23063         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
23064         * posix/fnmatch_loop.c: Likewise.
23066 2010-07-17  Andi Kleen  <ak@linux.intel.com>
23068         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
23069         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
23070         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
23071         * Versions.def [GLIBC_2.13]: Add.
23073 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
23075         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23076         Also fail if tpwd after pwuid call is NULL.
23078 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23080         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
23081         when converting to ms.
23083 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23085         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
23086         EOPNOTSUPP errors with ENOTTY.
23087         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
23088         EOPNOTSUPP errors with ENOTTY.
23090 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
23092         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23093         Add strcasecmp_l-ssse3.
23094         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
23095         strcasecmp.
23096         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
23097         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
23098         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
23100 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
23102         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
23104         * string/Makefile (strop-tests): Add strcasecmp.
23105         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23106         strcasecmp_l-nonascii.
23107         (gen-as-const-headers): Add locale-defines.sym.
23108         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
23109         * sysdeps/x86_64/strcasecmp.S: New file.
23110         * sysdeps/x86_64/strcasecmp_l.S: New file.
23111         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
23112         * sysdeps/x86_64/locale-defines.sym: New file.
23113         * string/test-strcasecmp.c: New file.
23115         * string/test-strcasestr.c: Test both ends of the range of characters.
23116         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
23118 2010-07-29  Roland McGrath  <roland@redhat.com>
23120         [BZ #11856]
23121         * manual/locale.texi (Yes-or-No Questions): Fix example code.
23123 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
23125         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
23126         for ld.so.
23128 2010-07-27  Andreas Schwab  <schwab@redhat.com>
23130         * manual/memory.texi (Malloc Tunable Parameters): Document
23131         M_PERTURB.
23133 2010-07-26  Roland McGrath  <roland@redhat.com>
23135         [BZ #11840]
23136         * configure.in (-fgnu89-inline check): Set and substitute
23137         gnu89_inline, not libc_cv_gnu89_inline.
23138         * configure: Regenerated.
23139         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
23141 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
23143         * string/test-strnlen.c: New file.
23144         * string/Makefile (strop-tests): Add strnlen.
23145         * string/tester.c (test_strnlen): Add a few more test cases.
23146         * string/tst-strlen.c: Better error reporting.
23148         * sysdeps/x86_64/strnlen.S: New file.
23150 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
23152         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
23153         lower-latency instructions.
23155 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
23157         * string/test-strcasestr.c: New file.
23158         * string/test-strstr.c: New file.
23159         * string/Makefile (strop-tests): Add strstr and strcasestr.
23160         * string/str-two-way.h: Don't undefine MAX.
23161         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
23163 2010-07-21  Andreas Schwab  <schwab@redhat.com>
23165         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23166         strcasestr-nonascii.
23167         (CFLAGS-strcasestr-nonascii.c): Define.
23168         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
23169         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
23170         Remove unused attribute.
23172 2010-07-20  Roland McGrath  <roland@redhat.com>
23174         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
23175         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
23176         ld.so.cache was broken.  With it, there is no way to disable dsocaps
23177         like LD_HWCAP_MASK can disable hwcaps.
23179 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
23181         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
23183 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
23185         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
23186         call in strcasestr.
23187         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
23188         __strcasestr_sse42_nonascii.
23189         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
23190         strcasestr-nonascii.c.
23191         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
23193 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
23195         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
23196         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
23197         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
23198         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
23200 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
23202         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
23203         fcntl.
23205 2010-07-06  Andreas Schwab  <schwab@redhat.com>
23207         [BZ #11577]
23208         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
23209         dl_signal_cerror.
23211 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
23213         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
23214         _PC_PIPE_BUF using F_GETPIPE_SZ.
23216 2010-07-05  Roland McGrath  <roland@redhat.com>
23218         * manual/arith.texi (Rounding Functions): Fix rint description
23219         implicit in round description.
23221 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
23223         * elf/Makefile: Fix linking for a few tests to make recent linker
23224         happy.
23226 2010-06-30  Andreas Schwab  <schwab@redhat.com>
23228         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23229         $(common-objpfx)libc_nonshared.a.
23231 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
23233         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
23234         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
23235         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23236         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23237         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
23238         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
23239         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23240         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
23242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
23243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
23244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
23246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
23248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
23249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
23250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
23251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
23253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
23255         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
23256         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
23257         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
23258         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
23259         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
23260         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
23261         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
23262         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
23263         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
23264         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
23265         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
23266         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
23267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
23268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
23269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
23270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
23271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
23272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
23273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
23274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
23275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
23276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
23277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
23278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
23279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
23280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
23282 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
23284         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
23285         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
23286         * string/memmove.c (memmove): Renamed to ...
23287         (MEMMOVE): ...this.  Default to memmove.
23288         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
23289         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
23290         (END_CHK): Define.
23291         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23292         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
23293         mempcpy-ssse3-back memmove-ssse3-back.
23294         * sysdeps/x86_64/multiarch/bcopy.S: New file .
23295         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
23296         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
23297         * sysdeps/x86_64/multiarch/memcpy.S: New file.
23298         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
23299         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
23300         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
23301         * sysdeps/x86_64/multiarch/memmove.c: New file.
23302         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
23303         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
23304         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
23305         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
23306         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
23307         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
23308         Define.
23309         (index_Fast_Copy_Backward): Define.
23310         (HAS_ARCH_FEATURE): Define.
23311         (HAS_FAST_REP_STRING): Define.
23312         (HAS_FAST_COPY_BACKWARD): Define.
23314 2010-06-21  Andreas Schwab  <schwab@redhat.com>
23316         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23317         Restore proper fallback handling.
23319 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
23321         [BZ #11701]
23322         * posix/group_member.c (__group_member): Correct checking loop.
23324         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
23325         OOM in getpwuid_r correctly.  Return error number when the caller
23326         should return, otherwise -1.
23327         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
23328         call returning > 0 value.
23329         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
23331 2010-06-07  Andreas Schwab  <schwab@redhat.com>
23333         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
23334         libc_nonshared.a from targets in modules-names.
23336 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
23338         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
23339         requires it.
23341 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
23343         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
23344         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
23345         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
23346         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
23348 2010-06-02  Andreas Schwab  <schwab@redhat.com>
23350         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
23352 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
23354         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
23355         and F_GETPIPE_SZ.
23356         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23357         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23358         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23359         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23360         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23361         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
23363 2010-06-14  Roland McGrath  <roland@redhat.com>
23365         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
23367 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
23369         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
23370         __REDIRECT followed by __THROW.
23371         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
23372         * posix/getopt.h (getopt): Likewise.
23374 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
23376         * hurd/lookup-at.c (__file_name_lookup_at): Accept
23377         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
23378         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
23379         in AT_FLAGS.
23380         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
23381         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
23383 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
23385         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
23387 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
23389         [BZ #11640]
23390         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23391         Properly check family and model.
23393 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
23395         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
23397 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
23399         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
23401 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
23403         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
23404         symbol reference.
23406 2010-05-19  Andreas Schwab  <schwab@redhat.com>
23408         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
23409         symbol reference.
23411 2010-05-21  Andreas Schwab  <schwab@redhat.com>
23413         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
23414         and internal_recvmmsg.
23415         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
23416         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
23417         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
23418         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
23420         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
23421         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23422         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23424 2010-05-20  Andreas Schwab  <schwab@redhat.com>
23426         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
23428 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
23430         POWER7 optimizations.
23431         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
23432         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
23434 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
23436         * version.h: Update for 2.13 development version.
23438 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
23440         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
23441         exceptions.  Return 0.
23443 2010-05-07  Roland McGrath  <roland@redhat.com>
23445         * elf/ldconfig.c (main): Add a const.
23447 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
23449         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
23450         (args_options): Add no-idn option.
23451         (ahosts_keys_int): Add idn_flags to ai_flags.
23452         (parse_option): Handle 'i' option to clear idn_flags.
23454         * malloc/malloc.c (_int_free): Possible race in the most recently
23455         added check.  Only act on the data if no current modification
23456         happened.
23458 See ChangeLog.17 for earlier changes.