BZ #15055: Use __ieee754_sqrl in acoshl for lbdl-128ibm
[glibc.git] / ChangeLog
blob1d00d5b8144d003e425258a6cccca21c0b0638ba
1 2013-02-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com> 
3         [BZ #15055] 
4         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use 
5         __ieee754_sqrl instead of __sqrl. 
7 2013-01-18  Anton Blanchard  <anton@samba.org>
8             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
11         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
12         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
13         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
14         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
16         "+r" and remove output regs list as redundant.  Add explicit inline
17         asm to specify register of return val to work around compiler codegen
18         bug.  Remove (int) cast on return value.  Add return type parameter to
19         use in macro so that this macro does not truncate return value for
20         64-bit values.
21         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
22         pass to INTERNAL_VSYSCALL_NCS.
23         (INLINE_VSYSCALL): Add 'long int' as return type to
24         INTERNAL_VSYSCALL_NCS macro invocation.
25         (INTERNAL_VSYSCALL): Add 'long int' as return type to
26         INTERNAL_VSYSCALL_NCS macro invocation.
27         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29 2013-01-09  Anton Blanchard  <anton@samba.org>
31         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
32         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
33         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
34         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
36 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
38         [BZ #15006]
39         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
40         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
42 2013-03-30  David S. Miller  <davem@davemloft.net>
44         * po/de.po: Update from translation team.
46 2013-01-31  David S. Miller  <davem@davemloft.net>
48         * po/de.po: Update from translation team.
50 2013-01-11  Andreas Jaeger  <aj@suse.de>
52         [BZ #15003]
53         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
54         value. Sync with Linux 3.7.
56 2013-01-09  David S. Miller  <davem@davemloft.net>
58         [BZ# 15003]
59         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
60         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
61         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
62         TCP_FASTOPEN): Define.
63         (tcp_repair_opt): New structure.
64         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
65         enum values.
66         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
67         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
68         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
69         (tcp_cookie_transactions): New structure.
71 2013-01-09  Andreas Jaeger  <aj@suse.de>
73         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
74         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
76 2013-01-01  David S. Miller  <davem@davemloft.net>
78         * po/fr.po: Update from translation team.
79         * po/ca.po: Likewise.
81 2012-12-21  David S. Miller  <davem@davemloft.net>
83         * po/hr.po: Update from translation team.
85 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
87         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
89 2012-12-19  Steve Ellcey  <sellcey@mips.com>
91         * NEWS:  Mention new memcpy for MIPS.
93 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
95         * manual/contrib.texi (Contributors): Spelling correction.
97 2012-12-15  David S. Miller  <davem@davemloft.net>
99         * po/ru.po: Update from translation team.
101 2012-12-13  David S. Miller  <davem@davemloft.net>
103         * NEWS: Mention IFUNC testsuite enhancements.
105         * po/pl.po: Update from translation team.
106         * po/bg.po: Likewise.
108         * manual/contrib.texi (Contributors): Update entries for Hongjiu
109         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
111 2012-12-11  David S. Miller  <davem@davemloft.net>
113         * po/sv.po: Update from translation team.
115         * po/vi.po: Update from translation team.
117         * po/cs.po: Update from translation team.
119         * po/de.po: Update from translation team.
120         * po/eo.po: Likewise.
121         * po/nl.po: Likewise.
123 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
125         [BZ #14246]
126         * manual/argp.texi (Argp Helper Functions): Move node to follow
127         Argp Parsing State.
129         [BZ #14872]
130         * manual/conf.texi (Limits on File System Capacity): Mention if
131         terminating null is included in the max size.
133 2012-12-10  Andreas Jaeger  <aj@suse.de>
135         * po/cs.po: Update from translation team.
137 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
139         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
140         void pointer and cast to uintptr_t.
141         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
142         path.
143         * sysdeps/s390/s390-64/memcpy.S: Likewise.
144         * sysdeps/s390/s390-64/memset.S: Likewise.
146 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
148         [BZ #14833]
149         * menual/message.texi (Message Translation): Fix typos.
150         (Helper programs for gettext): Likewise.
152 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
154         [BZ #14898]
155         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
156         Change to -1.
158 2012-12-07  David S. Miller  <davem@davemloft.net>
160         * po/libc.pot: Update.
162 2012-12-07  Richard Henderson  <rth@redhat.com>
164         [BZ #10114]
165         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
166         normal/normal case to before the switch.
167         (_FP_DIV): Likewise.
169 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
170             Mike Frysinger  <vapier@gentoo.org>
172         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
173         check for __NR_fadvise64_64.
175 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
177         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
178         0, not just to plain "0" as a statement.
179         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
180         with cw.
182 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
184         * NEWS: Use sourceware.org in Bugzilla URL.
186 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
189         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
191         * stdio-common/tst-put-error.c (do_test): Add newline to the
192         padded test to ensure flush.
194 2012-12-05  Jeff Law  <law@redhat.com>
196         * sunrpc/etc.rpc (fedfs_admin): Add entry.
198 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
200         * README: Don't refer to ports add-on as distributed separately.
201         Mention AArch64 in list of systems supported in the ports add-on.
203         * LICENSES: Add more non-FSF copyright and license notices.
205         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
206         ((unused)).
208         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
210         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
211         10000 as width of padded output.
213 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
215         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
217         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
218         variable LX with __attribute__ ((unused)).
219         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
220         Likewise.
221         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
222         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
223         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
224         with __attribute__ ((unused)).
226 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
228         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
230 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
232         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
233         (CFLAGS-nldbl-acos.c): New variable.
234         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
235         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
236         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
237         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
238         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
239         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
240         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
241         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
242         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
243         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
244         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
245         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
246         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
247         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
248         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
249         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
250         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
251         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
252         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
253         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
254         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
255         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
256         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
257         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
258         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
259         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
260         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
261         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
262         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
263         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
264         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
265         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
266         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
267         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
268         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
269         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
270         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
271         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
272         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
273         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
274         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
275         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
276         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
277         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
278         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
279         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
280         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
281         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
282         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
283         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
284         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
285         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
286         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
287         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
288         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
289         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
290         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
291         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
292         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
293         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
294         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
295         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
296         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
297         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
298         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
299         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
300         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
301         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
302         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
303         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
304         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
305         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
306         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
307         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
308         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
309         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
310         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
311         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
312         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
313         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
314         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
315         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
316         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
317         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
318         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
319         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
320         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
321         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
322         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
323         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
324         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
325         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
326         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
327         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
328         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
329         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
330         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
333         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
335         [BZ #14914]
336         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
337         whole low double instead of just low 47 bits when splitting values
338         into two parts.
340 2012-12-03  Allan McRae  <allan@archlinux.org>
342         * manual/stdio.texi (Predefined Printf Handlers): Remove
343         @hsep and @vsep usage.
345 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
347         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
348         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
350 2012-12-03  Jeff Law  <law@redhat.com>
352         * time/sys/time.h (settimeofday): Do not mark TV argument
353         as __nonnull.
355 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
357         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
358         when currently writing and seek to current position when not.
359         * libio/Makefile (tests): Remove bug-fclose1.
360         * libio/bug-fclose1.c: Delete.
362 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
364         * manual/arith.texi (feenableexcept): Fix typo.
365         (fedisableexcept): Likewise.
367 2012-11-30  Roland McGrath  <roland@hack.frob.com>
369         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
370         second, differently-typed declaration, rather than a cast.
372 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
374         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
375         * include/rpc/svc.h: ... here.
377 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
379         [BZ #13013]
380         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
381         depending n and resplen2 to catch cases where answer
382         equals answerp2.
384 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
386         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
387         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
389 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
391         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
393 2012-11-29  Roland McGrath  <roland@hack.frob.com>
395         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
397 2012-11-28  Jeff Law  <law@redhat.com>
399         [BZ #13761]
400         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
401         dataset_temporary.  Track alloca usage into alloca_used.
402         If dataset is large allocate and release it via malloc/free.
404 2012-06-04  Florian Weimer  <fweimer@redhat.com>
406         [BZ #14197]
407         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
409 2012-11-28  David S. Miller  <davem@davemloft.net>
411         * sysdeps/sparc/fpu/libm-test-ulps: Update.
413 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
415         [BZ #14803]
416         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
417         of pi/2 rounded to nearest to 64 bits.
418         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
419         nearest to 64 bits.
420         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
421         bits.
423 2012-11-28  Jeff Law <law@redhat.com>
424             Martin Osvald <mosvald@redhat.com>
426         [BZ #14889]
427         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
428         * sunrpc/svc.c: Include time.h.
429         (__svc_accept_failed): New function.
430         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
431         any reason other than EINTR, call __svc_accept_failed.
432         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
433         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
435 2012-11-28  Andreas Schwab  <schwab@suse.de>
437         * scripts/abilist.awk: Also handle indirect functions in .opd
438         section.
440 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
442         [BZ #13881]
443         * sysdeps/x86/fpu/powl_helper.c: New file.
444         * sysdeps/x86/fpu/Makefile: Likewise.
445         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
446         (p3): New object.
447         (__ieee754_powl): Use __powl_helper for finite arguments except
448         integer exponents below 8.
449         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
450         (p3): New object.
451         (__ieee754_powl): Use __powl_helper for finite arguments except
452         integer exponents below 8.
453         * math/libm-test.inc (pow_test): Add more tests and enable some
454         previously disabled tests.
455         * sysdeps/i386/fpu/libm-test-ulps: Update.
456         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
458 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
459             Carlos O'Donell  <carlos_odonell@mentor.com>
461         * nss/makedb.c (is_prime): Assert that input is odd and greater
462         than 4.  Note that fact in a comment too.
463         (next_prime): Add 4 to input.
465 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
467         [BZ #11741]
468         * libio/Makefile (tests): Add test case tst-fwrite-error.
469         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
470         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
471         * libio/tst-fwrite-error.c: New test case.
473 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
475         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
476         before casting to void *.
477         * include/libc-internal.h (__pointer_type): New macro.
478         (__integer_if_pointer_type_sub): Likewise.
479         (__integer_if_pointer_type): Likewise.
480         (cast_to_integer): Likewise.
481         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
482         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
483         before casting to atomic64_t.
484         (atomic_exchange_acq): Likewise.
485         (__arch_exchange_and_add_body): Likewise.
486         (__arch_add_body): Likewise.
487         (atomic_add_negative): Likewise.
488         (atomic_add_zero): Likewise.
490 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
492         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
493         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
494         (add_fdes): Likewise.
495         (linear_search_fdes): Likewise.
496         (binary_search_unencoded_fdes): Likewise.
498 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
500         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
502 2012-11-24  Adam Conrad  <adconrad@0c3.net>
504         * configure.in: Autodetect C++ header directories.
505         * configure: Regenerated.
507 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
509         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
511 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
513         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
515 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
517         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
518         LDBL_MANT_DIG == 106]: Disable some tests.
519         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
520         Likewise.
521         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
522         Likewise.
524         [BZ #14871]
525         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
526         input for small inputs.  Return +/- pi/2 for large inputs.
527         * math/libm-test.inc (atan_test): Add more tests.
529         * sysdeps/generic/unwind-dw2-fde-glibc.c
530         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
531         __attribute__ ((unused)).
533         [BZ #14645]
534         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
535         x * y if x and y are nonzero and z is zero.
537         [BZ #14811]
538         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
539         nonzero exponents with absolute value below 0x1p-117 to +/-
540         0x1p-117.
542         [BZ #14869]
543         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
544         up arguments below 2**-450, not just those below 2**-500.
545         * math/libm-test.inc (hypot_test): Add another test.
547         [BZ #14868]
548         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
549         Return a+b for ratio over 2**120, not 2**60.
550         * math/libm-test.inc (hypot_test): Add another test.
552         * math/libm-test.inc (clog_test): Use
553         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
554         (clog10_test): Likewise.
556         [BZ #6778]
557         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
559 2012-11-22  Andreas Schwab  <schwab@suse.de>
561         * sysdeps/i386/fpu/libm-test-ulps: Update.
563 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
565         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
566         printf output with newline.
568 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
570         [BZ #14865]
571         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
572         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
573         -z nodlopen, -z initfirst and -z execstack support.
574         * configure: Regenerated.
576         * elf/elf.h (DF_1_NODIRECT): New macro.
577         (DF_1_IGNMULDEF): Likewise.
578         (DF_1_NOKSYMS): Likewise.
579         (DF_1_NOHDR): Likewise.
580         (DF_1_EDITED): Likewise.
581         (DF_1_NORELOC): Likewise.
582         (DF_1_SYMINTPOSE): Likewise.
583         (DF_1_GLOBAUDIT): Likewise.
584         (DF_1_SINGLETON): Likewise.
585         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
586         DT_1_SUPPORTED_MASK bits.
587         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
589 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
591         * sysdeps/unix/make-syscalls.sh: Document prefixes.
593 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
595         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
596         macro.
598         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
599         (sendmmsg): Move declarations...
600         * socket/sys/socket.h: ... here.
601         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
602         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
603         include it from...
604         * socket/recvmmsg.c: ... this new file.
605         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
606         (sendmmsg): Rename to __sendmmsg, create weak alias and make
607         definition of __sendmmsg hidden.
608         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
609         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
610         Move ENOSYS stub into and include it from...
611         * socket/sendmmsg.c: ... this new file.
612         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
613         (sysdep_routines): Move recvmmsg and sendmmsg...
614         * socket/Makefile (routines): ... here.
615         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
616         (GLIBC_PRIVATE): Add __sendmmsg.
617         * include/sys/socket.h (__sendmmsg): Add declarations.
618         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
619         sendmmsg.
621 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
623         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
624         variable I1 with __attribute__ ((unused)).
625         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
627 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
629         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
630         DUMMY variables with __attribute__ ((unused)).
632         * bits/byteswap.h: Include <bits/types.h>.
633         (__bswap_64): Use __uint64_t instead of unsigned long long int.
635 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
637         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
638         string_t.  Do not manually set errno.
639         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
640         length with __strnlen.  Make sure to both set errno and return it on
641         failure.
643 2012-11-19  David S. Miller  <davem@davemloft.net>
645         With help from Joseph Myers.
646         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
647         very large arguments properly.
648         * math/libm-test.inc (atan_test): New tests.
649         (atan2_test): New tests.
650         * sysdeps/sparc/fpu/libm-test-ulps: Update.
651         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
653 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
655         [BZ #14856]
656         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
657         Define to 3.
659         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
660         [POSIX] (EADDRNOTAVAIL): Likewise.
661         [POSIX] (EAFNOSUPPORT): Likewise.
662         [POSIX] (EALREADY): Likewise.
663         [POSIX] (ECONNABORTED): Likewise.
664         [POSIX] (ECONNREFUSED): Likewise.
665         [POSIX] (ECONNRESET): Likewise.
666         [POSIX] (EDESTADDRREQ): Likewise.
667         [POSIX] (EDQUOT): Likewise.
668         [POSIX] (EHOSTUNREACH): Likewise.
669         [POSIX] (EIDRM): Likewise.
670         [POSIX] (EISCONN): Likewise.
671         [POSIX] (ELOOP): Likewise.
672         [POSIX] (EMULTIHOP): Likewise.
673         [POSIX] (ENETDOWN): Likewise.
674         [POSIX] (ENETUNREACH): Likewise.
675         [POSIX] (ENOBUFS): Likewise.
676         [POSIX] (ENODATA): Likewise.
677         [POSIX] (ENOLINK): Likewise.
678         [POSIX] (ENOMSG): Likewise.
679         [POSIX] (ENOPROTOOPT): Likewise.
680         [POSIX] (ENOSR): Likewise.
681         [POSIX] (ENOSTR): Likewise.
682         [POSIX] (ENOTCONN): Likewise.
683         [POSIX] (ENOTSOCK): Likewise.
684         [POSIX] (EOPNOTSUPP): Likewise.
685         [POSIX] (EOVERFLOW): Likewise.
686         [POSIX] (EPROTO): Likewise.
687         [POSIX] (EPROTONOSUPPORT): Likewise.
688         [POSIX] (EPROTOTYPE): Likewise.
689         [POSIX] (ESTALE): Likewise.
690         [POSIX] (ETIME): Likewise.
691         [POSIX] (ETXTBSY): Likewise.
692         [POSIX] (EWOULDBLOCK): Likewise.
693         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
694         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
695         [POSIX] (SEEK_CUR): Likewise.
696         [POSIX] (SEEK_END): Likewise.
697         [POSIX || UNIX98] (mode_t): Do not require.
698         [POSIX] (off_t): Likewise.
699         [POSIX] (pid_t): Likewise.
700         [POSIX] (sys/stat.h): Do not allow header.
701         [POSIX] (unistd.h): Likewise.
702         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
703         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
704         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
705         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
706         require.
707         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
708         sigevent): Specify elements.
709         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
710         entry.
711         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
712         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
714         * conform/data/cpio.h-data [POSIX]: Disable whole file.
715         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
716         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
717         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
718         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
719         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
720         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
721         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
722         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
723         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
724         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
725         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
726         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
727         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
728         Likewise.
729         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
730         Likewise.
731         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
732         Likewise.
733         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
734         Likewise.
735         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
736         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
737         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
738         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
739         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
740         Specify lower bound on value.
741         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
742         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
743         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
744         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
745         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
746         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
747         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
748         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
749         value.
750         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
751         as optional.
752         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
753         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
754         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
755         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
756         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
757         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
758         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
759         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
760         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
761         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
762         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
763         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
764         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
765         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
766         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
767         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
768         entry.
769         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
770         optional.
771         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
772         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
773         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
774         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
775         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
776         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
777         Likewise.
778         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
779         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
780         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
781         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
782         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
783         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
784         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
785         as optional.
786         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
787         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
788         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
789         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
790         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
791         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
792         specify as optional.
793         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
794         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
795         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
796         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
797         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
798         [XPG3] (NL_LANGMAX): Likewise.
799         [POSIX || XPG3] (NL_MSGMAX): Likewise.
800         [POSIX || XPG3] (NL_NMAX): Likewise.
801         [POSIX || XPG3] (NL_SETMAX): Likewise.
802         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
803         [XPG3] (NZERO): Likewise.
804         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
805         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
806         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
807         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
808         (REG_ERANGE): Expect.
809         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
810         optional-constant.
811         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
812         Use (void) in prototype.
813         [POSIX] (*_t): Allow.
814         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
815         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
816         (WRDE_BADVAL): Expect.
818         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
819         expect.
820         [XPG3 || XPG4] (O_RSYNC): Likewise.
821         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
822         Likewise.
823         [XPG3 || XPG4] (pthread_sigmask): Likewise.
824         [XPG3 || XPG4] (sigqueue): Likewise.
825         [XPG3 || XPG4] (sigtimedwait): Likewise.
826         [XPG3 || XPG4] (sigwaitinfo): Likewise.
827         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
828         [XPG3 || XPG4] (vsnprintf): Likewise.
829         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
830         Likewise.
831         [XPG3 || XPG4] (blksize_t): Likewise.
832         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
833         Likewise.
834         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
835         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
836         [XPG3 || XPG4] (struct itimerspec): Likewise.
837         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
838         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
839         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
840         [XPG3 || XPG4] (clockid_t): Likewise.
841         [XPG3 || XPG4] (timer_t): Likewise.
842         [XPG3 || XPG4] (clock_getres): Likewise.
843         [XPG3 || XPG4] (clock_gettime): Likewise.
844         [XPG3 || XPG4] (clock_settime): Likewise.
845         [XPG3 || XPG4] (nanosleep): Likewise.
846         [XPG3 || XPG4] (timer_create): Likewise.
847         [XPG3 || XPG4] (timer_delete): Likewise.
848         [XPG3 || XPG4] (timer_gettime): Likewise.
849         [XPG3 || XPG4] (timer_getoverrun): Likewise.
850         [XPG3 || XPG4] (timer_settime): Likewise.
851         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
852         [XPG3 || XPG4] (getlogin_r): Likewise.
853         [XPG3 || XPG4] (pread): Likewise.
854         [XPG3 || XPG4] (pthread_atfork): Likewise.
855         [XPG3 || XPG4] (pwrite): Likewise.
857         [BZ #14835]
858         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
859         <bits/siginfo.h>.
861 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
863         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
864         finalizing MALLSTREAM.
866         * sysdeps/mach/hurd/syncfs.c: New file.
868 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
870         [BZ #14719]
871         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
872         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
873         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
874         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
875         (_nss_dns_gethostbyname4_r): Likewise.
876         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
877         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
879 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
881         [BZ #13763]
882         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
884 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
886         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
887         * elf/cache.c (print_entry): Print ",AArch64" for
888         FLAG_AARCH64_LIB64
890         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
891         * elf/cache.c (print_entry): Print ",hard-float" for
892         FLAG_ARM_LIBHF.
894 2012-11-18  David S. Miller  <davem@davemloft.net>
896         With help from Joseph Myers.
897         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
898         cutoff to 2**-13.
899         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
900         cutoff to 2**-25.
901         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
902         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
903         small.
904         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
905         * math/libm-test.inc (y0_test): New tests.
906         (y1_test): New tests.
907         * sysdeps/i386/fpu/libm-test-ulps: Update.
908         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
909         * sysdeps/sparc/fpu/libm-test-ulps: Update.
911 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
913         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
914         64-bit targets.
915         * configure: Regenerated.
917 2012-11-17  David S. Miller  <davem@davemloft.net>
919         [BZ #14811]
920         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
921         nonzero exponents with absolute value below 0x1p-128 to +/-
922         0x1p-128.
924 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
926         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
928         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
930         * posix/getconf-speclist.c: New file.
931         * posix/posix-envs.def: Likewise.
932         * posix/confstr.c (START_ENV_GROUP): New macro.
933         (END_ENV_GROUP): Likewise.
934         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
935         (KNOWN_PRESENT_ENV_STRING): Likewise.
936         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
937         (UNKNOWN_ENVIRONMENT): Likewise.
938         (confstr): Include posix-envs.def instead of handling
939         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
940         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
941         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
942         (END_ENV_GROUP): Likewise.
943         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
944         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
945         (UNKNOWN_ENVIRONMENT): Likewise.
946         (__sysconf): Include posix-envs.def instead of handling associated
947         cases directly here.
948         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
949         preprocessing getconf-speclist.c rather than running getconf or
950         generating empty file.
952 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
954         * scripts/check-local-headers.sh: Ignore 'mach' headers.
956 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
958         [BZ #14672]
959         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
961 2012-11-16  David S. Miller  <davem@davemloft.net>
963         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
964         smaller than LDBL_EPSILON/2.0L, just return xm1.
966 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
968         * elf/tst-array1.c (init): Set constructor priority to 1000.
969         (fini): Set destructor priority to 1000.
970         * elf/tst-array2dep.c: Likewise.
972 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
974         [BZ #11741]
975         * libio/fileops.c (_IO_new_file_write): Correctly return error.
976         (_IO_new_file_xsputn): Also return EOF if none of the input
977         data was written when overflow failed.
978         * libio/iopadn.c (_IO_padn): Likewise.
979         * libio/iowpadn.c (_IO_wpadn): Likewise.
980         * stdio-common/tst-put-error.c: Add copyright notice.
981         (do_test): Add case for printing padded string.
982         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
983         _IO_padn returned error.
984         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
985         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
986         return EOF.
988 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
990         * libio/libioP.h: Add comment note that the references to C++
991         bits are now obsolete.
993 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
995         * math/libm-test.inc (check_complex): Use asprintf.
997 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
999         * debug/pcprofiledump.c (print_version): Update copyright year.
1000         * malloc/memusagestat.c (print_version): Likewise.
1002 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
1004         [BZ #14831]
1005         * elf/Makefile (tests): Add tst-audit8.
1006         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
1007         ($(objpfx)tst-audit8.out): New target.
1008         (tst-audit8-ENV): New variable.
1009         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
1010         audit if l_reloc_result is NULL.
1011         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
1012         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
1013         * elf/tst-audit8.c: New file.
1015 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1017         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
1018         * misc/Makefile (CFLAGS-select.c): Define.
1019         * posix/Makefile (CFLAGS-pause.c): Define.
1021 2012-11-13  David S. Miller  <davem@davemloft.net>
1023         * crypt/Makefile: Move test targets after toplevel Rules
1024         inclusion.  Grab any necessary sysdep routines when linking.
1025         * crypt/md5.c (md5_process_block): Remove define, we will always
1026         name it __md5_process_block.
1027         (md5_finish_ctx): Update md5_process_block call.
1028         (md5_stream): Likewise.
1029         (md5_process_bytes): Likewise.
1030         (md5_process_block): Rename to __md5_process_block and move to ...
1031         * crypt/md5-block.c: ... here.
1032         * crypt/sha256.c (sha256_process_block): Move to ...
1033         * crypt/sha256-block.c: ... here.
1034         * crypt/sha512.c (sha512_process_block): Move to ...
1035         * crypt/sha512-block.c: ... here.
1036         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
1037         path.
1038         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
1039         * sysdeps/sparc/sparc64/multiarch/Makefile
1040         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
1041         crypt subdir.
1042         (localedef-aux): Add md5 crypto assembler when in locale subdir.
1043         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
1044         multiarch changes.
1045         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
1046         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
1047         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
1048         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
1049         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
1050         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
1051         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
1052         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
1053         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
1054         file.
1055         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
1056         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
1057         file.
1058         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
1060 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
1062         * timezone/tzselect.ksh: Update from tzcode git revision
1063         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
1064         * timezone/zdump.c: Likewise.
1065         * timezone/zic.c: Likewise.
1066         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
1067         in TZVERSION setting, not $(PKGVERSION).
1068         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
1069         REPORT_BUGS_TO settings.
1071         [BZ #14838]
1072         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
1073         macro.
1075 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1077         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
1078         detection to immediately after _FP_ROUND().
1079         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
1080         bits are 0.
1082 2012-11-11  David S. Miller  <davem@davemloft.net>
1084         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
1085         inttypes.h
1086         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
1087         __close rather than their public counterparts.
1089 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
1091         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
1092         file.
1093         [UNIX98] (sem_timedwait): Do not expect.
1094         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
1095         [XPG4 || UNIX98] (sockatmark): Do not expect.
1096         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
1097         (clock_getcpuclockid): Do not expect.
1098         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
1099         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
1100         Do not expect.
1101         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
1102         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
1103         [UNIX98] (vwscanf): Likewise.
1104         [UNIX98] (vswscanf): Likewise.
1106 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
1108         * timezone/version.h: Remove file.
1109         * timezone/README: Do not refer to version.h.
1110         * timezone/Makefile ($(objpfx)zic.o): New dependency on
1111         $(objpfx)version.h.
1112         ($(objpfx)zdump.o): Likewise.
1113         ($(objpfx)version.h): New target.
1115         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
1116         2012i.
1117         * timezone/README: Don't mention modification to tzselect.ksh.
1118         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
1119         work on unmodified tzselect.ksh.  Substitute version numbers in
1120         tzselect.ksh.
1122         * Makefile (format-me): Remove.
1123         (INSTALL): Adjust indentation.  Use commands directly instead of
1124         using $(format-me).
1126         * aclocal.m4 (ACX_PKGVERSION): New macro.
1127         (ACX_BUGURL): Likewise.
1128         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
1129         (PKGVERSION): New AC_DEFINE_UNQUOTED.
1130         (REPORT_BUGS_TO): Likewise.
1131         * configure: Regenerated.
1132         * config.h.in (PKGVERSION): New macro.
1133         (REPORT_BUGS_TO): Likewise.
1134         * config.make.in (PKGVERSION): New variable.
1135         (PKGVERSION_TEXI): Likewise.
1136         (REPORT_BUGS_TO): Likewise.
1137         (REPORT_BUGS_TEXI): Likewise.
1138         * Makefile (format-me): Use -I$(common-objpfx)manual.
1139         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
1140         ($(common-objpfx)manual/%): New target.
1141         (manual/%): Remove target.
1142         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
1143         (print_version): Use PKGVERSION.
1144         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
1145         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
1146         and REPORT_BUGS_TO.
1147         ($(objpfx)xtrace): Likewise.
1148         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
1149         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
1150         (print_version): Use PKGVERSION.
1151         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
1152         (do_version): Use PKGVERSION.
1153         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
1154         REPORT_BUGS_TO.
1155         (common-ldd-rewrite): Likewise.
1156         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
1157         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
1158         (print_version): Use PKGVERSION.
1159         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
1160         * elf/pldd.c (argp_program_bug_address): Remove variable.
1161         (more_help): New function.
1162         (argp): Use more_help.
1163         (print_version): Use PKGVERSION.
1164         * elf/sln.c (main): Use PKGVERSION.
1165         (usage): Use REPORT_BUGS_TO.
1166         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
1167         (top level): Use PKGVERSION.
1168         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
1169         (print_version): Use PKGVERSION.
1170         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
1171         (print_version): Use PKGVERSION.
1172         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
1173         (print_version): Use PKGVERSION.
1174         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
1175         (print_version): Use PKGVERSION.
1176         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
1177         (print_version): Use PKGVERSION.
1178         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
1179         (print_version): Use PKGVERSION.
1180         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
1181         and BUGURL.
1182         ($(objpfx)memusage): Likewise.
1183         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
1184         (do_version): Use PKGVERSION.
1185         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
1186         (print_version): Use PKGVERSION.
1187         * malloc/mtrace.pl ($PACKAGE): Remove variable.
1188         ($PKGVERSION): New variable.
1189         ($REPORT_BUGS_TO): Likewise.
1190         (usage): Use $REPORT_BUGS_TO.
1191         (top level): Use $PKGVERSION.
1192         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
1193         ($(objpfx)pkgvers.texi): New rule.
1194         ($(objpfx)stamp-pkgvers): Likewise.
1195         * manual/install.texi: Include pkgvers.texi.
1196         (--with-pkgversion): Document new configure option.
1197         (--with-bugurl): Likewise.
1198         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
1199         than necessarily for this particular distribution.  Use
1200         REPORT_BUGS_TO for where to report bugs.
1201         * INSTALL: Regenerated.
1202         * manual/libc.texinfo: Include pkgvers.texi.
1203         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
1204         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
1205         (print_version): Use PKGVERSION.
1206         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
1207         (print_version): Use PKGVERSION.
1208         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
1209         (print_version): Use PKGVERSION.
1210         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
1211         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
1212         macro.
1213         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
1214         (print_version): Use PKGVERSION.
1215         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
1216         (print_version): Use PKGVERSION.
1217         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
1218         and PKGVERSION.
1220         * timezone/checktab.awk: Update from tzcode 2012i.
1221         * timezone/ialloc.c: Likewise.
1222         * timezone/private.h: Likewise.
1223         * timezone/scheck.c: Likewise.
1224         * timezone/tzfile.h: Likewise.
1225         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
1226         (TZVERSION): Hardcode tzcode version number.
1227         * timezone/zdump.c: Update from tzcode 2012i.
1228         * timezone/zic.c: Likewise.
1229         * timezone/version.h: New file.
1230         * timezone/README: Describe version.h.  Update upstream location.
1232         [BZ #14824]
1233         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
1234         (mktemp): Enable declaration.
1235         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
1236         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
1237         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
1238         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
1239         Likewise.
1240         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
1241         Likewise.
1242         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
1243         Likewise.
1244         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
1245         Likewise.
1246         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
1247         Likewise.
1248         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
1249         Likewise.
1251         [BZ #14821]
1252         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
1253         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
1254         for copies of such integer values.
1255         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
1256         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
1258 2012-11-09  Andreas Jaeger  <aj@suse.de>
1260         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
1261         definitions and declarations that are provided by
1262         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1264 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1266         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
1267         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
1268         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
1269         definition.
1271 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1273         * elf/elf.h: Update comment before AArch64 relocations.
1275 2012-11-07  David S. Miller  <davem@davemloft.net>
1277         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
1278         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1279         (__start_context): Declare.
1280         (__makecontext_ret): Delete.
1281         (__makecontext): Hook up __start_context instead of
1282         __makecontext_ret.
1283         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
1284         (sysdep_routines): Add __start_context when in stdlib.
1286 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
1288         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
1289         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
1290         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
1291         hardcoded "nm".
1292         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
1293         (READELF): New variable.  Use it instead of hardcoded "readelf".
1295 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
1297         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
1298         * sysdeps/x86/Makefile: Here.
1299         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
1300         * sysdeps/x86/tst-xmmymm.sh: This.
1302 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
1304         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
1305         expectations.
1306         [UNIX98] (pthread_barrier_t): Do not expect.
1307         [UNIX98] (pthread_barrierattr_t): Likewise.
1308         [UNIX98] (pthread_spinlock_t): Likewise.
1309         [UNIX98] (pthread_barrier_destroy): Likewise.
1310         [UNIX98] (pthread_barrier_init): Likewise.
1311         [UNIX98] (pthread_barrier_wait): Likewise.
1312         [UNIX98] (pthread_barrierattr_destroy): Likewise.
1313         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
1314         [UNIX98] (pthread_barrierattr_init): Likewise.
1315         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
1316         [UNIX98] (pthread_getcpuclockid): Likewise.
1317         [UNIX98] (pthread_mutex_timedlock): Likewise.
1318         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
1319         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
1320         [UNIX98] (pthread_sigmask): Likewise.
1321         [UNIX98] (pthread_spin_destroy): Likewise.
1322         [UNIX98] (pthread_spin_init): Likewise.
1323         [UNIX98] (pthread_spin_lock): Likewise.
1324         [UNIX98] (pthread_spin_trylock): Likewise.
1325         [UNIX98] (pthread_spin_unlock): Likewise.
1326         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
1327         Do not expect.
1328         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
1329         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
1330         [XPG3 || XPG4] (pthread_cond_t): Likewise.
1331         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
1332         [XPG3 || XPG4] (pthread_key_t): Likewise.
1333         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
1334         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
1335         [XPG3 || XPG4] (pthread_once_t): Likewise.
1336         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
1337         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
1338         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
1339         [XPG3 || XPG4] (pthread_t): Likewise.
1341         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
1342         not expect.
1343         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
1345         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
1346         Change function return type to int.
1348         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
1349         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
1350         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
1351         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
1352         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
1353         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
1354         [!POSIX] (posix_madvise): Likewise.
1355         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
1356         && !UNIX98].
1357         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
1358         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
1359         (mode_t): Likewise.
1360         (posix_mem_offset): Likewise.
1361         (posix_typed_mem_get_info): Likewise.
1362         (posix_typed_mem_open): Likewise.
1364         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
1365         Change condition to [XOPEN2K8].
1367         * conform/conformtest.pl: Preprocess allow-header data with -x c
1368         instead of from stdin.
1369         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
1370         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
1371         [C99-based standards] (cerfc): Likewise.
1372         [C99-based standards] (cexp2): Likewise.
1373         [C99-based standards] (cexpm1): Likewise.
1374         [C99-based standards] (clog10): Likewise.
1375         [C99-based standards] (clog1p): Likewise.
1376         [C99-based standards] (clog2): Likewise.
1377         [C99-based standards] (clgamma): Likewise.
1378         [C99-based standards] (ctgamma): Likewise.
1379         [C99-based standards] (cerff): Likewise.
1380         [C99-based standards] (cerfcf): Likewise.
1381         [C99-based standards] (cexp2f): Likewise.
1382         [C99-based standards] (cexpm1f): Likewise.
1383         [C99-based standards] (clog10f): Likewise.
1384         [C99-based standards] (clog1pf): Likewise.
1385         [C99-based standards] (clog2f): Likewise.
1386         [C99-based standards] (clgammaf): Likewise.
1387         [C99-based standards] (ctgammaf): Likewise.
1388         [C99-based standards] (cerfl): Likewise.
1389         [C99-based standards] (cerfcl): Likewise.
1390         [C99-based standards] (cexp2l): Likewise.
1391         [C99-based standards] (cexpm1l): Likewise.
1392         [C99-based standards] (clog10l): Likewise.
1393         [C99-based standards] (clog1pl): Likewise.
1394         [C99-based standards] (clog2l): Likewise.
1395         [C99-based standards] (clgammal): Likewise.
1396         [C99-based standards] (ctgammal): Likewise.
1397         * conform/data/inttypes.h-data [C99-based standards]: Include
1398         stdint.h-data.  Remove all expectations for stdint.h contents.
1399         [C99-based standards] (PRI*): Do not allow.
1400         [C99-based standards] (SCN*): Likewise.
1401         [C99-based standards] (*_t): Likewise.
1402         [C99-based-standards] (PRId8): Expect macro.
1403         [C99-based-standards] (PRIi8): Likewise.
1404         [C99-based-standards] (PRIo8): Likewise.
1405         [C99-based-standards] (PRIu8): Likewise.
1406         [C99-based-standards] (PRIx8): Likewise.
1407         [C99-based-standards] (PRIX8): Likewise.
1408         [C99-based-standards] (SCNd8): Likewise.
1409         [C99-based-standards] (SCNi8): Likewise.
1410         [C99-based-standards] (SCNo8): Likewise.
1411         [C99-based-standards] (SCNu8): Likewise.
1412         [C99-based-standards] (SCNx8): Likewise.
1413         [C99-based-standards] (PRIdLEAST8): Likewise.
1414         [C99-based-standards] (PRIiLEAST8): Likewise.
1415         [C99-based-standards] (PRIoLEAST8): Likewise.
1416         [C99-based-standards] (PRIuLEAST8): Likewise.
1417         [C99-based-standards] (PRIxLEAST8): Likewise.
1418         [C99-based-standards] (PRIXLEAST8): Likewise.
1419         [C99-based-standards] (SCNdLEAST8): Likewise.
1420         [C99-based-standards] (SCNiLEAST8): Likewise.
1421         [C99-based-standards] (SCNoLEAST8): Likewise.
1422         [C99-based-standards] (SCNuLEAST8): Likewise.
1423         [C99-based-standards] (SCNxLEAST8): Likewise.
1424         [C99-based-standards] (PRIdFAST8): Likewise.
1425         [C99-based-standards] (PRIiFAST8): Likewise.
1426         [C99-based-standards] (PRIoFAST8): Likewise.
1427         [C99-based-standards] (PRIuFAST8): Likewise.
1428         [C99-based-standards] (PRIxFAST8): Likewise.
1429         [C99-based-standards] (PRIXFAST8): Likewise.
1430         [C99-based-standards] (SCNdFAST8): Likewise.
1431         [C99-based-standards] (SCNiFAST8): Likewise.
1432         [C99-based-standards] (SCNoFAST8): Likewise.
1433         [C99-based-standards] (SCNuFAST8): Likewise.
1434         [C99-based-standards] (SCNxFAST8): Likewise.
1435         [C99-based-standards] (PRId16): Likewise.
1436         [C99-based-standards] (PRIi16): Likewise.
1437         [C99-based-standards] (PRIo16): Likewise.
1438         [C99-based-standards] (PRIu16): Likewise.
1439         [C99-based-standards] (PRIx16): Likewise.
1440         [C99-based-standards] (PRIX16): Likewise.
1441         [C99-based-standards] (SCNd16): Likewise.
1442         [C99-based-standards] (SCNi16): Likewise.
1443         [C99-based-standards] (SCNo16): Likewise.
1444         [C99-based-standards] (SCNu16): Likewise.
1445         [C99-based-standards] (SCNx16): Likewise.
1446         [C99-based-standards] (PRIdLEAST16): Likewise.
1447         [C99-based-standards] (PRIiLEAST16): Likewise.
1448         [C99-based-standards] (PRIoLEAST16): Likewise.
1449         [C99-based-standards] (PRIuLEAST16): Likewise.
1450         [C99-based-standards] (PRIxLEAST16): Likewise.
1451         [C99-based-standards] (PRIXLEAST16): Likewise.
1452         [C99-based-standards] (SCNdLEAST16): Likewise.
1453         [C99-based-standards] (SCNiLEAST16): Likewise.
1454         [C99-based-standards] (SCNoLEAST16): Likewise.
1455         [C99-based-standards] (SCNuLEAST16): Likewise.
1456         [C99-based-standards] (SCNxLEAST16): Likewise.
1457         [C99-based-standards] (PRIdFAST16): Likewise.
1458         [C99-based-standards] (PRIiFAST16): Likewise.
1459         [C99-based-standards] (PRIoFAST16): Likewise.
1460         [C99-based-standards] (PRIuFAST16): Likewise.
1461         [C99-based-standards] (PRIxFAST16): Likewise.
1462         [C99-based-standards] (PRIXFAST16): Likewise.
1463         [C99-based-standards] (SCNdFAST16): Likewise.
1464         [C99-based-standards] (SCNiFAST16): Likewise.
1465         [C99-based-standards] (SCNoFAST16): Likewise.
1466         [C99-based-standards] (SCNuFAST16): Likewise.
1467         [C99-based-standards] (SCNxFAST16): Likewise.
1468         [C99-based-standards] (PRId32): Likewise.
1469         [C99-based-standards] (PRIi32): Likewise.
1470         [C99-based-standards] (PRIo32): Likewise.
1471         [C99-based-standards] (PRIu32): Likewise.
1472         [C99-based-standards] (PRIx32): Likewise.
1473         [C99-based-standards] (PRIX32): Likewise.
1474         [C99-based-standards] (SCNd32): Likewise.
1475         [C99-based-standards] (SCNi32): Likewise.
1476         [C99-based-standards] (SCNo32): Likewise.
1477         [C99-based-standards] (SCNu32): Likewise.
1478         [C99-based-standards] (SCNx32): Likewise.
1479         [C99-based-standards] (PRIdLEAST32): Likewise.
1480         [C99-based-standards] (PRIiLEAST32): Likewise.
1481         [C99-based-standards] (PRIoLEAST32): Likewise.
1482         [C99-based-standards] (PRIuLEAST32): Likewise.
1483         [C99-based-standards] (PRIxLEAST32): Likewise.
1484         [C99-based-standards] (PRIXLEAST32): Likewise.
1485         [C99-based-standards] (SCNdLEAST32): Likewise.
1486         [C99-based-standards] (SCNiLEAST32): Likewise.
1487         [C99-based-standards] (SCNoLEAST32): Likewise.
1488         [C99-based-standards] (SCNuLEAST32): Likewise.
1489         [C99-based-standards] (SCNxLEAST32): Likewise.
1490         [C99-based-standards] (PRIdFAST32): Likewise.
1491         [C99-based-standards] (PRIiFAST32): Likewise.
1492         [C99-based-standards] (PRIoFAST32): Likewise.
1493         [C99-based-standards] (PRIuFAST32): Likewise.
1494         [C99-based-standards] (PRIxFAST32): Likewise.
1495         [C99-based-standards] (PRIXFAST32): Likewise.
1496         [C99-based-standards] (SCNdFAST32): Likewise.
1497         [C99-based-standards] (SCNiFAST32): Likewise.
1498         [C99-based-standards] (SCNoFAST32): Likewise.
1499         [C99-based-standards] (SCNuFAST32): Likewise.
1500         [C99-based-standards] (SCNxFAST32): Likewise.
1501         [C99-based-standards] (PRId64): Likewise.
1502         [C99-based-standards] (PRIi64): Likewise.
1503         [C99-based-standards] (PRIo64): Likewise.
1504         [C99-based-standards] (PRIu64): Likewise.
1505         [C99-based-standards] (PRIx64): Likewise.
1506         [C99-based-standards] (PRIX64): Likewise.
1507         [C99-based-standards] (SCNd64): Likewise.
1508         [C99-based-standards] (SCNi64): Likewise.
1509         [C99-based-standards] (SCNo64): Likewise.
1510         [C99-based-standards] (SCNu64): Likewise.
1511         [C99-based-standards] (SCNx64): Likewise.
1512         [C99-based-standards] (PRIdLEAST64): Likewise.
1513         [C99-based-standards] (PRIiLEAST64): Likewise.
1514         [C99-based-standards] (PRIoLEAST64): Likewise.
1515         [C99-based-standards] (PRIuLEAST64): Likewise.
1516         [C99-based-standards] (PRIxLEAST64): Likewise.
1517         [C99-based-standards] (PRIXLEAST64): Likewise.
1518         [C99-based-standards] (SCNdLEAST64): Likewise.
1519         [C99-based-standards] (SCNiLEAST64): Likewise.
1520         [C99-based-standards] (SCNoLEAST64): Likewise.
1521         [C99-based-standards] (SCNuLEAST64): Likewise.
1522         [C99-based-standards] (SCNxLEAST64): Likewise.
1523         [C99-based-standards] (PRIdFAST64): Likewise.
1524         [C99-based-standards] (PRIiFAST64): Likewise.
1525         [C99-based-standards] (PRIoFAST64): Likewise.
1526         [C99-based-standards] (PRIuFAST64): Likewise.
1527         [C99-based-standards] (PRIxFAST64): Likewise.
1528         [C99-based-standards] (PRIXFAST64): Likewise.
1529         [C99-based-standards] (SCNdFAST64): Likewise.
1530         [C99-based-standards] (SCNiFAST64): Likewise.
1531         [C99-based-standards] (SCNoFAST64): Likewise.
1532         [C99-based-standards] (SCNuFAST64): Likewise.
1533         [C99-based-standards] (SCNxFAST64): Likewise.
1534         [C99-based-standards] (PRIdMAX): Likewise.
1535         [C99-based-standards] (PRIiMAX): Likewise.
1536         [C99-based-standards] (PRIoMAX): Likewise.
1537         [C99-based-standards] (PRIuMAX): Likewise.
1538         [C99-based-standards] (PRIxMAX): Likewise.
1539         [C99-based-standards] (PRIXMAX): Likewise.
1540         [C99-based-standards] (SCNdMAX): Likewise.
1541         [C99-based-standards] (SCNiMAX): Likewise.
1542         [C99-based-standards] (SCNoMAX): Likewise.
1543         [C99-based-standards] (SCNuMAX): Likewise.
1544         [C99-based-standards] (SCNxMAX): Likewise.
1545         [C99-based-standards] (PRIdPTR): Likewise.
1546         [C99-based-standards] (PRIiPTR): Likewise.
1547         [C99-based-standards] (PRIoPTR): Likewise.
1548         [C99-based-standards] (PRIuPTR): Likewise.
1549         [C99-based-standards] (PRIxPTR): Likewise.
1550         [C99-based-standards] (PRIXPTR): Likewise.
1551         [C99-based-standards] (SCNdPTR): Likewise.
1552         [C99-based-standards] (SCNiPTR): Likewise.
1553         [C99-based-standards] (SCNoPTR): Likewise.
1554         [C99-based-standards] (SCNuPTR): Likewise.
1555         [C99-based-standards] (SCNxPTR): Likewise.
1556         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
1557         allow.
1558         * conform/data/stdint.h-data: Update comments to clarify
1559         requirements.
1560         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
1561         type.
1562         [C99-based standards] (INT8_MAX): Likewise.
1563         [C99-based standards] (INT16_MIN): Likewise.
1564         [C99-based standards] (INT16_MAX): Likewise.
1565         [C99-based standards] (INT32_MIN): Likewise.
1566         [C99-based standards] (INT32_MAX): Likewise.
1567         [C99-based standards] (INT64_MIN): Likewise.
1568         [C99-based standards] (INT64_MAX): Likewise.
1569         [C99-based standards] (UINT8_MAX): Likewise.
1570         [C99-based standards] (UINT16_MAX): Likewise.
1571         [C99-based standards] (UINT32_MAX): Likewise.
1572         [C99-based standards] (UINT64_MAX): Likewise.
1573         [C99-based standards] (INT_LEAST8_MIN): Likewise.
1574         [C99-based standards] (INT_LEAST8_MAX): Likewise.
1575         [C99-based standards] (INT_LEAST16_MIN): Likewise.
1576         [C99-based standards] (INT_LEAST16_MAX): Likewise.
1577         [C99-based standards] (INT_LEAST32_MIN): Likewise.
1578         [C99-based standards] (INT_LEAST32_MAX): Likewise.
1579         [C99-based standards] (INT_LEAST64_MIN): Likewise.
1580         [C99-based standards] (INT_LEAST64_MAX): Likewise.
1581         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
1582         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
1583         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
1584         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
1585         [C99-based standards] (INT_FAST8_MIN): Likewise.
1586         [C99-based standards] (INT_FAST8_MAX): Likewise.
1587         [C99-based standards] (INT_FAST16_MIN): Likewise.
1588         [C99-based standards] (INT_FAST16_MAX): Likewise.
1589         [C99-based standards] (INT_FAST32_MIN): Likewise.
1590         [C99-based standards] (INT_FAST32_MAX): Likewise.
1591         [C99-based standards] (INT_FAST64_MIN): Likewise.
1592         [C99-based standards] (INT_FAST64_MAX): Likewise.
1593         [C99-based standards] (UINT_FAST8_MAX): Likewise.
1594         [C99-based standards] (UINT_FAST16_MAX): Likewise.
1595         [C99-based standards] (UINT_FAST32_MAX): Likewise.
1596         [C99-based standards] (UINT_FAST64_MAX): Likewise.
1597         [C99-based standards] (INTPTR_MIN): Likewise.
1598         [C99-based standards] (INTPTR_MAX): Likewise.
1599         [C99-based standards] (UINTPTR_MAX): Likewise.
1600         [C99-based standards] (INTMAX_MIN): Likewise.
1601         [C99-based standards] (INTMAX_MAX): Likewise.
1602         [C99-based standards] (UINTMAX_MAX): Likewise.
1603         [C99-based standards] (PTRDIFF_MIN): Likewise.
1604         [C99-based standards] (PTRDIFF_MAX): Likewise.
1605         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
1606         [C99-based standards] (SIZE_MAX): Likewise.
1607         [C99-based standards] (WCHAR_MAX): Likewise.
1608         [C99-based standards] (WINT_MAX): Likewise.
1609         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
1610         constraint on value.
1611         [C99-based standards] (WCHAR_MIN): Likewise.
1612         [C99-based standards] (WINT_MIN): Likewise.
1613         [C99-based standards] (*_t): Allow.
1614         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
1615         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
1616         Include math.h-data and complex.h-data.  Remove all expectations
1617         of math.h and complex.h contents.
1618         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
1619         at end of line.
1620         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
1621         (struct tm): Expect tag.
1622         [C99-based-standards] (wcstof): Expect function.
1623         [C99-based-standards] (wcstold): Likewise.
1624         [C99-based-standards] (wcstoll): Likewise.
1625         [C99-based-standards] (wcstoull): Likewise.
1626         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
1627         macro-int-constant.  Specify type.
1628         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
1629         constraint on value.
1630         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1631         Specify type.
1632         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
1633         Specify value.
1634         [ISO C standards]: Do not allow headers.
1635         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
1636         wcs[abcdefghijklmnopqrstuvwxyz]*.
1637         [ISO C standards] (*_t): Do not allow.
1638         * conform/data/wctype.h-data [C99-based standards] (iswblank):
1639         Expect function.
1640         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
1641         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1642         Specify type.
1643         [ISO C standards]: Do not allow headers.
1644         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
1645         is[abcdefghijklmnopqrstuvwxyz]*.
1646         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
1647         to[abcdefghijklmnopqrstuvwxyz]*.
1648         [ISO C standards] (*_t): Do not allow.
1649         * conform/data/stdalign.h-data: New file.
1650         * conform/data/stdbool.h-data: Likewise.
1651         * conform/data/stdnoreturn.h-data: Likewise.
1653 2012-11-07  Roland McGrath  <roland@hack.frob.com>
1655         [BZ #14815]
1656         * manual/filesys.texi (Directory Entries): Typo fix.
1657         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
1659 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1661         * elf/elf.h (EM_AARCH64): New macro.
1662         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
1663         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
1664         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
1665         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
1666         (R_AARCH64_TLSDESC): Likewise.
1667         (NT_ARM_TLS): Likewise.
1668         (NT_ARM_HW_BREAK): Likewise.
1669         (NT_ARM_HW_WATCH): Likewise.
1671 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
1673         [BZ #14811]
1674         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
1675         (__ieee754_powl): Saturate nonzero exponents with absolute value
1676         below 0x1p-79 to +/- 0x1p-79.
1677         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
1678         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
1679         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
1680         nonzero exponents with absolute value below 0x1p-32 to +/-
1681         0x1p-32.
1682         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
1683         (__ieee754_powl): Saturate nonzero exponents with absolute value
1684         below 0x1p-79 to +/- 0x1p-79.
1685         * math/libm-test.inc (pow_test): Add more tests.
1687 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1689         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
1690         _dl_s390_cap_flags with kernel. Increase string length.
1691         (_dl_s390_platforms): Add z196 and zEC12.
1693 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
1695         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
1696         Change XOPEN21K to XOPEN2K.
1698 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
1700         * string/memmove.c: Use memcpy when possible.
1702 2012-11-06  Andreas Jaeger  <aj@suse.de>
1704         * po/eo.po: Update from translation team.
1706 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
1708         [BZ #14793]
1709         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
1710         exponent and small x and y exponents, scale x or y up.  Increase
1711         by 2 the exponent used in scaling up.
1712         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1713         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1714         * math/libm-test.inc (fma_test): Add more tests.
1715         (fma_test_towardzero): Likewise.
1716         (fma_test_downward): Likewise.
1717         (fma_test_upward): Likewise.
1719 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
1721         [BZ #14805]
1722         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
1723         fenv_t *.
1725         [BZ #14801]
1726         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
1727         namespace for names of struct fields.
1728         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
1729         fenv_t fields.
1730         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1731         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
1733 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1735         [BZ #3665]
1736         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
1738 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
1740         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
1741         PTR_DEMANGLE.
1743         [BZ #5246]
1744         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
1745         PTR_DEMANGLE.
1747 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
1749         [BZ #14797]
1750         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
1751         definitely overflow as x * y not x * y + z.
1752         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1753         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1754         * math/libm-test.inc (fma_test): Add more tests.
1755         (fma_test_towardzero): Likewise.
1756         (fma_test_downward): Likewise.
1757         (fma_test_upward): Likewise.
1759 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
1761         [BZ #157]
1763         * include/stub-tag.h: Remove file.
1764         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
1765         '#include' of it.
1766         * manual/maint.texi (Porting): Don't reference it.
1767         * Makerules ($(objpfx)stubs): Likewise.
1768         * dirent/closedir.c: Don't include <stub-tag.h>.
1769         * dirent/dirfd.c: Likewise.
1770         * dirent/fdopendir.c: Likewise.
1771         * dirent/getdents.c: Likewise.
1772         * dirent/getdents64.c: Likewise.
1773         * dirent/opendir.c: Likewise.
1774         * dirent/readdir.c: Likewise.
1775         * dirent/readdir64.c: Likewise.
1776         * dirent/readdir64_r.c: Likewise.
1777         * dirent/readdir_r.c: Likewise.
1778         * dirent/rewinddir.c: Likewise.
1779         * dirent/seekdir.c: Likewise.
1780         * dirent/telldir.c: Likewise.
1781         * gmon/profil.c: Likewise.
1782         * grp/setgroups.c: Likewise.
1783         * inet/if_index.c: Likewise.
1784         * io/access.c: Likewise.
1785         * io/chdir.c: Likewise.
1786         * io/chmod.c: Likewise.
1787         * io/chown.c: Likewise.
1788         * io/close.c: Likewise.
1789         * io/dup.c: Likewise.
1790         * io/dup2.c: Likewise.
1791         * io/dup3.c: Likewise.
1792         * io/euidaccess.c: Likewise.
1793         * io/faccessat.c: Likewise.
1794         * io/fchdir.c: Likewise.
1795         * io/fchmod.c: Likewise.
1796         * io/fchmodat.c: Likewise.
1797         * io/fchown.c: Likewise.
1798         * io/fchownat.c: Likewise.
1799         * io/fcntl.c: Likewise.
1800         * io/flock.c: Likewise.
1801         * io/fstatfs.c: Likewise.
1802         * io/fstatfs64.c: Likewise.
1803         * io/fstatvfs.c: Likewise.
1804         * io/fstatvfs64.c: Likewise.
1805         * io/futimens.c: Likewise.
1806         * io/fxstat.c: Likewise.
1807         * io/fxstat64.c: Likewise.
1808         * io/fxstatat.c: Likewise.
1809         * io/fxstatat64.c: Likewise.
1810         * io/getcwd.c: Likewise.
1811         * io/isatty.c: Likewise.
1812         * io/lchmod.c: Likewise.
1813         * io/lchown.c: Likewise.
1814         * io/link.c: Likewise.
1815         * io/linkat.c: Likewise.
1816         * io/lseek.c: Likewise.
1817         * io/lseek64.c: Likewise.
1818         * io/lxstat64.c: Likewise.
1819         * io/mkdir.c: Likewise.
1820         * io/mkdirat.c: Likewise.
1821         * io/mkfifo.c: Likewise.
1822         * io/mkfifoat.c: Likewise.
1823         * io/open.c: Likewise.
1824         * io/open64.c: Likewise.
1825         * io/openat.c: Likewise.
1826         * io/openat64.c: Likewise.
1827         * io/pipe.c: Likewise.
1828         * io/pipe2.c: Likewise.
1829         * io/poll.c: Likewise.
1830         * io/posix_fadvise.c: Likewise.
1831         * io/posix_fadvise64.c: Likewise.
1832         * io/posix_fallocate.c: Likewise.
1833         * io/posix_fallocate64.c: Likewise.
1834         * io/read.c: Likewise.
1835         * io/readlink.c: Likewise.
1836         * io/readlinkat.c: Likewise.
1837         * io/rmdir.c: Likewise.
1838         * io/sendfile.c: Likewise.
1839         * io/sendfile64.c: Likewise.
1840         * io/statfs.c: Likewise.
1841         * io/statfs64.c: Likewise.
1842         * io/statvfs.c: Likewise.
1843         * io/statvfs64.c: Likewise.
1844         * io/symlink.c: Likewise.
1845         * io/symlinkat.c: Likewise.
1846         * io/ttyname.c: Likewise.
1847         * io/ttyname_r.c: Likewise.
1848         * io/umask.c: Likewise.
1849         * io/unlink.c: Likewise.
1850         * io/unlinkat.c: Likewise.
1851         * io/utime.c: Likewise.
1852         * io/utimensat.c: Likewise.
1853         * io/write.c: Likewise.
1854         * io/xmknod.c: Likewise.
1855         * io/xmknodat.c: Likewise.
1856         * io/xstat.c: Likewise.
1857         * io/xstat64.c: Likewise.
1858         * login/getpt.c: Likewise.
1859         * login/grantpt.c: Likewise.
1860         * login/unlockpt.c: Likewise.
1861         * math/e_acoshl.c: Likewise.
1862         * math/e_acosl.c: Likewise.
1863         * math/e_asinl.c: Likewise.
1864         * math/e_atan2l.c: Likewise.
1865         * math/e_atanhl.c: Likewise.
1866         * math/e_coshl.c: Likewise.
1867         * math/e_expl.c: Likewise.
1868         * math/e_fmodl.c: Likewise.
1869         * math/e_gammal_r.c: Likewise.
1870         * math/e_hypotl.c: Likewise.
1871         * math/e_j0l.c: Likewise.
1872         * math/e_j1l.c: Likewise.
1873         * math/e_jnl.c: Likewise.
1874         * math/e_lgammal_r.c: Likewise.
1875         * math/e_log10l.c: Likewise.
1876         * math/e_log2l.c: Likewise.
1877         * math/e_logl.c: Likewise.
1878         * math/e_powl.c: Likewise.
1879         * math/e_rem_pio2l.c: Likewise.
1880         * math/e_sinhl.c: Likewise.
1881         * math/e_sqrtl.c: Likewise.
1882         * math/fclrexcpt.c: Likewise.
1883         * math/fedisblxcpt.c: Likewise.
1884         * math/feenablxcpt.c: Likewise.
1885         * math/fegetenv.c: Likewise.
1886         * math/fegetexcept.c: Likewise.
1887         * math/fegetround.c: Likewise.
1888         * math/feholdexcpt.c: Likewise.
1889         * math/fesetenv.c: Likewise.
1890         * math/fesetround.c: Likewise.
1891         * math/feupdateenv.c: Likewise.
1892         * math/fgetexcptflg.c: Likewise.
1893         * math/fraiseexcpt.c: Likewise.
1894         * math/fsetexcptflg.c: Likewise.
1895         * math/ftestexcept.c: Likewise.
1896         * math/k_cosl.c: Likewise.
1897         * math/k_rem_pio2l.c: Likewise.
1898         * math/k_sinl.c: Likewise.
1899         * math/k_tanl.c: Likewise.
1900         * math/s_asinhl.c: Likewise.
1901         * math/s_atanl.c: Likewise.
1902         * math/s_cbrtl.c: Likewise.
1903         * math/s_erfl.c: Likewise.
1904         * math/s_expm1l.c: Likewise.
1905         * math/s_log1pl.c: Likewise.
1906         * math/s_tanhl.c: Likewise.
1907         * misc/acct.c: Likewise.
1908         * misc/brk.c: Likewise.
1909         * misc/chflags.c: Likewise.
1910         * misc/chroot.c: Likewise.
1911         * misc/fchflags.c: Likewise.
1912         * misc/fgetxattr.c: Likewise.
1913         * misc/flistxattr.c: Likewise.
1914         * misc/fremovexattr.c: Likewise.
1915         * misc/fsetxattr.c: Likewise.
1916         * misc/fsync.c: Likewise.
1917         * misc/ftruncate.c: Likewise.
1918         * misc/futimes.c: Likewise.
1919         * misc/futimesat.c: Likewise.
1920         * misc/getdomain.c: Likewise.
1921         * misc/getdtsz.c: Likewise.
1922         * misc/gethostid.c: Likewise.
1923         * misc/gethostname.c: Likewise.
1924         * misc/getloadavg.c: Likewise.
1925         * misc/getpagesize.c: Likewise.
1926         * misc/getsysstats.c: Likewise.
1927         * misc/getxattr.c: Likewise.
1928         * misc/gtty.c: Likewise.
1929         * misc/ioctl.c: Likewise.
1930         * misc/lgetxattr.c: Likewise.
1931         * misc/listxattr.c: Likewise.
1932         * misc/llistxattr.c: Likewise.
1933         * misc/lremovexattr.c: Likewise.
1934         * misc/lsetxattr.c: Likewise.
1935         * misc/lutimes.c: Likewise.
1936         * misc/madvise.c: Likewise.
1937         * misc/mincore.c: Likewise.
1938         * misc/mlock.c: Likewise.
1939         * misc/mlockall.c: Likewise.
1940         * misc/mmap.c: Likewise.
1941         * misc/mprotect.c: Likewise.
1942         * misc/msync.c: Likewise.
1943         * misc/munlock.c: Likewise.
1944         * misc/munlockall.c: Likewise.
1945         * misc/munmap.c: Likewise.
1946         * misc/preadv.c: Likewise.
1947         * misc/preadv64.c: Likewise.
1948         * misc/ptrace.c: Likewise.
1949         * misc/pwritev.c: Likewise.
1950         * misc/pwritev64.c: Likewise.
1951         * misc/readv.c: Likewise.
1952         * misc/reboot.c: Likewise.
1953         * misc/remap_file_pages.c: Likewise.
1954         * misc/removexattr.c: Likewise.
1955         * misc/revoke.c: Likewise.
1956         * misc/select.c: Likewise.
1957         * misc/setdomain.c: Likewise.
1958         * misc/setegid.c: Likewise.
1959         * misc/seteuid.c: Likewise.
1960         * misc/sethostid.c: Likewise.
1961         * misc/sethostname.c: Likewise.
1962         * misc/setregid.c: Likewise.
1963         * misc/setreuid.c: Likewise.
1964         * misc/setxattr.c: Likewise.
1965         * misc/sstk.c: Likewise.
1966         * misc/stty.c: Likewise.
1967         * misc/swapoff.c: Likewise.
1968         * misc/swapon.c: Likewise.
1969         * misc/sync.c: Likewise.
1970         * misc/syncfs.c: Likewise.
1971         * misc/syscall.c: Likewise.
1972         * misc/truncate.c: Likewise.
1973         * misc/ualarm.c: Likewise.
1974         * misc/usleep.c: Likewise.
1975         * misc/ustat.c: Likewise.
1976         * misc/utimes.c: Likewise.
1977         * misc/vhangup.c: Likewise.
1978         * misc/writev.c: Likewise.
1979         * posix/_exit.c: Likewise.
1980         * posix/alarm.c: Likewise.
1981         * posix/execve.c: Likewise.
1982         * posix/fexecve.c: Likewise.
1983         * posix/fork.c: Likewise.
1984         * posix/fpathconf.c: Likewise.
1985         * posix/getaddrinfo.c: Likewise.
1986         * posix/getegid.c: Likewise.
1987         * posix/geteuid.c: Likewise.
1988         * posix/getgid.c: Likewise.
1989         * posix/getgroups.c: Likewise.
1990         * posix/getlogin.c: Likewise.
1991         * posix/getlogin_r.c: Likewise.
1992         * posix/getpgid.c: Likewise.
1993         * posix/getpid.c: Likewise.
1994         * posix/getppid.c: Likewise.
1995         * posix/getresgid.c: Likewise.
1996         * posix/getresuid.c: Likewise.
1997         * posix/getsid.c: Likewise.
1998         * posix/getuid.c: Likewise.
1999         * posix/glob64.c: Likewise.
2000         * posix/nanosleep.c: Likewise.
2001         * posix/pathconf.c: Likewise.
2002         * posix/pause.c: Likewise.
2003         * posix/posix_madvise.c: Likewise.
2004         * posix/pread.c: Likewise.
2005         * posix/pread64.c: Likewise.
2006         * posix/pwrite.c: Likewise.
2007         * posix/pwrite64.c: Likewise.
2008         * posix/sched_getaffinity.c: Likewise.
2009         * posix/sched_getp.c: Likewise.
2010         * posix/sched_gets.c: Likewise.
2011         * posix/sched_primax.c: Likewise.
2012         * posix/sched_primin.c: Likewise.
2013         * posix/sched_rr_gi.c: Likewise.
2014         * posix/sched_setaffinity.c: Likewise.
2015         * posix/sched_setp.c: Likewise.
2016         * posix/sched_sets.c: Likewise.
2017         * posix/sched_yield.c: Likewise.
2018         * posix/setgid.c: Likewise.
2019         * posix/setlogin.c: Likewise.
2020         * posix/setpgid.c: Likewise.
2021         * posix/setresgid.c: Likewise.
2022         * posix/setresuid.c: Likewise.
2023         * posix/setsid.c: Likewise.
2024         * posix/setuid.c: Likewise.
2025         * posix/sleep.c: Likewise.
2026         * posix/spawni.c: Likewise.
2027         * posix/sysconf.c: Likewise.
2028         * posix/times.c: Likewise.
2029         * posix/wait.c: Likewise.
2030         * posix/wait3.c: Likewise.
2031         * posix/wait4.c: Likewise.
2032         * posix/waitpid.c: Likewise.
2033         * resolv/gai_sigqueue.c: Likewise.
2034         * resource/getpriority.c: Likewise.
2035         * resource/getrlimit.c: Likewise.
2036         * resource/getrusage.c: Likewise.
2037         * resource/nice.c: Likewise.
2038         * resource/setpriority.c: Likewise.
2039         * resource/setrlimit.c: Likewise.
2040         * resource/ulimit.c: Likewise.
2041         * rt/aio_cancel.c: Likewise.
2042         * rt/aio_fsync.c: Likewise.
2043         * rt/aio_read.c: Likewise.
2044         * rt/aio_sigqueue.c: Likewise.
2045         * rt/aio_suspend.c: Likewise.
2046         * rt/aio_write.c: Likewise.
2047         * rt/clock_getres.c: Likewise.
2048         * rt/clock_gettime.c: Likewise.
2049         * rt/clock_nanosleep.c: Likewise.
2050         * rt/clock_settime.c: Likewise.
2051         * rt/lio_listio.c: Likewise.
2052         * rt/mq_close.c: Likewise.
2053         * rt/mq_getattr.c: Likewise.
2054         * rt/mq_notify.c: Likewise.
2055         * rt/mq_open.c: Likewise.
2056         * rt/mq_receive.c: Likewise.
2057         * rt/mq_send.c: Likewise.
2058         * rt/mq_setattr.c: Likewise.
2059         * rt/mq_timedreceive.c: Likewise.
2060         * rt/mq_timedsend.c: Likewise.
2061         * rt/mq_unlink.c: Likewise.
2062         * rt/shm_open.c: Likewise.
2063         * rt/shm_unlink.c: Likewise.
2064         * rt/timer_create.c: Likewise.
2065         * rt/timer_delete.c: Likewise.
2066         * rt/timer_getoverr.c: Likewise.
2067         * rt/timer_gettime.c: Likewise.
2068         * rt/timer_settime.c: Likewise.
2069         * setjmp/__longjmp.c: Likewise.
2070         * setjmp/setjmp.c: Likewise.
2071         * signal/kill.c: Likewise.
2072         * signal/killpg.c: Likewise.
2073         * signal/raise.c: Likewise.
2074         * signal/sigaction.c: Likewise.
2075         * signal/sigaltstack.c: Likewise.
2076         * signal/sigblock.c: Likewise.
2077         * signal/sigignore.c: Likewise.
2078         * signal/sigintr.c: Likewise.
2079         * signal/signal.c: Likewise.
2080         * signal/sigpause.c: Likewise.
2081         * signal/sigpending.c: Likewise.
2082         * signal/sigqueue.c: Likewise.
2083         * signal/sigreturn.c: Likewise.
2084         * signal/sigset.c: Likewise.
2085         * signal/sigsetmask.c: Likewise.
2086         * signal/sigstack.c: Likewise.
2087         * signal/sigsuspend.c: Likewise.
2088         * signal/sigtimedwait.c: Likewise.
2089         * signal/sigvec.c: Likewise.
2090         * signal/sigwait.c: Likewise.
2091         * signal/sigwaitinfo.c: Likewise.
2092         * signal/sysv_signal.c: Likewise.
2093         * socket/accept.c: Likewise.
2094         * socket/accept4.c: Likewise.
2095         * socket/bind.c: Likewise.
2096         * socket/connect.c: Likewise.
2097         * socket/getpeername.c: Likewise.
2098         * socket/getsockname.c: Likewise.
2099         * socket/getsockopt.c: Likewise.
2100         * socket/isfdtype.c: Likewise.
2101         * socket/listen.c: Likewise.
2102         * socket/recv.c: Likewise.
2103         * socket/recvfrom.c: Likewise.
2104         * socket/recvmsg.c: Likewise.
2105         * socket/send.c: Likewise.
2106         * socket/sendmsg.c: Likewise.
2107         * socket/sendto.c: Likewise.
2108         * socket/setsockopt.c: Likewise.
2109         * socket/shutdown.c: Likewise.
2110         * socket/sockatmark.c: Likewise.
2111         * socket/socket.c: Likewise.
2112         * socket/socketpair.c: Likewise.
2113         * stdio-common/ctermid.c: Likewise.
2114         * stdio-common/cuserid.c: Likewise.
2115         * stdio-common/remove.c: Likewise.
2116         * stdio-common/rename.c: Likewise.
2117         * stdio-common/renameat.c: Likewise.
2118         * stdio-common/tempname.c: Likewise.
2119         * stdlib/getcontext.c: Likewise.
2120         * stdlib/makecontext.c: Likewise.
2121         * stdlib/setcontext.c: Likewise.
2122         * stdlib/swapcontext.c: Likewise.
2123         * stdlib/system.c: Likewise.
2124         * streams/fattach.c: Likewise.
2125         * streams/fdetach.c: Likewise.
2126         * streams/getmsg.c: Likewise.
2127         * streams/getpmsg.c: Likewise.
2128         * streams/putmsg.c: Likewise.
2129         * streams/putpmsg.c: Likewise.
2130         * sysdeps/unix/bsd/getpt.c: Likewise.
2131         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
2132         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
2133         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
2135         Likewise.
2136         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
2137         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
2138         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2139         * sysvipc/msgctl.c: Likewise.
2140         * sysvipc/msgget.c: Likewise.
2141         * sysvipc/msgrcv.c: Likewise.
2142         * sysvipc/msgsnd.c: Likewise.
2143         * sysvipc/semctl.c: Likewise.
2144         * sysvipc/semget.c: Likewise.
2145         * sysvipc/semop.c: Likewise.
2146         * sysvipc/semtimedop.c: Likewise.
2147         * sysvipc/shmat.c: Likewise.
2148         * sysvipc/shmctl.c: Likewise.
2149         * sysvipc/shmdt.c: Likewise.
2150         * sysvipc/shmget.c: Likewise.
2151         * termios/tcdrain.c: Likewise.
2152         * termios/tcflow.c: Likewise.
2153         * termios/tcflush.c: Likewise.
2154         * termios/tcgetattr.c: Likewise.
2155         * termios/tcgetpgrp.c: Likewise.
2156         * termios/tcsendbrk.c: Likewise.
2157         * termios/tcsetattr.c: Likewise.
2158         * termios/tcsetpgrp.c: Likewise.
2159         * time/adjtime.c: Likewise.
2160         * time/clock.c: Likewise.
2161         * time/getitimer.c: Likewise.
2162         * time/gettimeofday.c: Likewise.
2163         * time/setitimer.c: Likewise.
2164         * time/settimeofday.c: Likewise.
2165         * time/stime.c: Likewise.
2166         * time/time.c: Likewise.
2168 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
2170         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
2171         /usr/old/bin.
2173         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
2174         instead of spaces.
2175         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
2177 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
2179         [BZ #14796]
2180         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
2181         FE_TONEAREST before applying Dekker multiplication and Knuth
2182         addition.  Clear inexact exceptions and check for exact zero
2183         results afterwards.
2184         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2185         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2186         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2187         * math/libm-test.inc (fma_test): Add more tests.
2188         (fma_test_towardzero): Likewise.
2189         (fma_test_downward): Likewise.
2190         (fma_test_upward): Likewise.
2191         * sysdeps/generic/math_private.h (default_libc_fesetround): New
2192         function.
2193         (libc_fesetround): New macro.
2194         (libc_fesetroundf): Likewise.
2195         (libc_fesetroundl): Likewise.
2196         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
2197         function.
2198         (libc_fesetround_387): Likewise.
2199         (libc_fesetroundf): New macro.
2200         (libc_fesetround): Likewise.
2201         (libc_fesetroundl): Likewise.
2202         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
2203         function.
2204         (libc_fesetroundf): New macro.
2205         (libc_fesetround): Likewise.
2206         (libc_fesetroundl): Likewise.
2207         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
2208         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
2209         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
2210         libm_hidden_ver.
2211         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
2212         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
2213         libm_hidden_def.
2214         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
2215         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
2216         libm_hidden_ver.
2217         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
2218         libm_hidden_def.
2220         [BZ #3439]
2221         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
2222         integer constant usable in #if and use that to give value to enum
2223         constant.
2224         (FE_DIVBYZERO): Likewise.
2225         (FE_UNDERFLOW): Likewise.
2226         (FE_OVERFLOW): Likewise.
2227         (FE_INVALID): Likewise.
2228         (FE_INVALID_SNAN): Likewise.
2229         (FE_INVALID_ISI): Likewise.
2230         (FE_INVALID_IDI): Likewise.
2231         (FE_INVALID_ZDZ): Likewise.
2232         (FE_INVALID_IMZ): Likewise.
2233         (FE_INVALID_COMPARE): Likewise.
2234         (FE_INVALID_SOFTWARE): Likewise.
2235         (FE_INVALID_SQRT): Likewise.
2236         (FE_INVALID_INTEGER_CONVERSION): Likewise.
2237         (FE_TONEAREST): Likewise.
2238         (FE_TOWARDZERO): Likewise.
2239         (FE_UPWARD): Likewise.
2240         (FE_DOWNWARD): Likewise.
2241         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
2242         (FE_DIVBYZERO): Likewise.
2243         (FE_OVERFLOW): Likewise.
2244         (FE_UNDERFLOW): Likewise.
2245         (FE_INEXACT): Likewise.
2246         (FE_TONEAREST): Likewise.
2247         (FE_DOWNWARD): Likewise.
2248         (FE_UPWARD): Likewise.
2249         (FE_TOWARDZERO): Likewise.
2250         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
2251         (FE_UNDERFLOW): Likewise.
2252         (FE_OVERFLOW): Likewise.
2253         (FE_DIVBYZERO): Likewise.
2254         (FE_INVALID): Likewise.
2255         (FE_TONEAREST): Likewise.
2256         (FE_TOWARDZERO): Likewise.
2257         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
2258         (FE_OVERFLOW): Likewise.
2259         (FE_UNDERFLOW): Likewise.
2260         (FE_DIVBYZERO): Likewise.
2261         (FE_INEXACT): Likewise.
2262         (FE_TONEAREST): Likewise.
2263         (FE_TOWARDZERO): Likewise.
2264         (FE_UPWARD): Likewise.
2265         (FE_DOWNWARD): Likewise.
2266         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
2267         (FE_DIVBYZERO): Likewise.
2268         (FE_OVERFLOW): Likewise.
2269         (FE_UNDERFLOW): Likewise.
2270         (FE_INEXACT): Likewise.
2271         (FE_TONEAREST): Likewise.
2272         (FE_DOWNWARD): Likewise.
2273         (FE_UPWARD): Likewise.
2274         (FE_TOWARDZERO): Likewise.
2276 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
2278         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
2280 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
2282         * scripts/cross-test-ssh.sh (command): Use newlines to separate
2283         commands.  Quote $PWD.
2284         (blacklist_exports): Don't use remove_newlines.  Replace "declare
2285         -x" by "export".
2286         (remove_newlines): Remove.
2288 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
2290         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
2291         * stdlib/stdlib.h (atof): Moved to ...
2292         * include/bits/stdlib-float.h: Here.  New file.
2293         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
2294         * stdlib/bits/stdlib-float.h: New file.
2295         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
2296         -mno-sse -mno-mmx.
2297         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
2298         <xmmintrin.h>.
2300 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
2302         * conform/conformtest.pl (@headers): Add fenv.h.
2303         * conform/data/fenv.h-data: New file.
2304         * include/fenv.h [_ISOMAC]: Disable all contents of file except
2305         include of <math/fenv.h>.
2307         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
2308         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
2309         && !UNIX98].  Enables tests for XOPEN2K8.
2310         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
2311         POSIX2008]: Likewise.
2313         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
2314         (struct rusage): Do not expect type or its members.
2316         [BZ #3439]
2317         * math/math.h (FP_NAN): Define macro to integer constant usable in
2318         #if and use that to give value to enum constant.
2319         (FP_INFINITE): Likewise.
2320         (FP_ZERO): Likewise.
2321         (FP_SUBNORMAL): Likewise.
2322         (FP_NORMAL): Likewise.
2324 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
2326         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
2327         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
2328         arguments.
2330 2012-11-02  Roland McGrath  <roland@hack.frob.com>
2332         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
2333         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
2334         autoconf-time if not.
2335         * configure.in: Remove AC_PREREQ.
2337 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2339         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
2340         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
2341         of the internal implementation.
2343 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
2345         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
2346         except include of <misc/sys/syslog.h>.
2348 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
2350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
2351         function returns with a NULL context exit with zero.
2353 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2355         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
2357 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
2359         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
2360         (run_program_cmd): This.
2361         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
2362         (tst_langinfo): New variable.  Use it.
2364 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
2366         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
2367         floating point opcodes.
2369 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
2371         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
2372         variable.
2374         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
2376         * sysdeps/mach/hurd/powerpc: Remove directory.
2377         * sysdeps/mach/powerpc: Likewise.
2379 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
2381         * scripts/check-local-headers.sh: Ignore c++ headers.
2383 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
2385         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
2386         __libc_cleanup_region_start argument.
2388 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
2390         [BZ #14784]
2391         [BZ #14785]
2392         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
2393         x * y using scaling, not as x * y + z.
2394         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2395         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2396         * math/libm-test.inc (fma_test): Add more tests.
2397         (fma_test_towardzero): Likewise.
2398         (fma_test_downward): Likewise.
2399         (fma_test_upward): Likewise.
2401 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
2403         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
2405 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
2407         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
2408         New variable.
2410 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
2412         * rt/tst-shm.c (worker): Correct checking for mmap failure.
2414 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
2416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2417         Fix sort order.
2418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2419         Likewise.
2421 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2424         Fix the order of the list for glibc 2.17.
2425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2426         Likewise.
2428 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
2430         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2432 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
2434         [BZ #14610]
2435         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
2436         for low part of x being zero before using __atanl (y).
2437         * math/libm-test.inc (atan2_test): Add another test.
2439         * manual/install.texi (Configuring and compiling): Document
2440         general use of test-wrapper and test-wrapper-env.
2441         * INSTALL: Regenerated.
2443         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
2444         (__fma): Do not extract and scale down low bits on after-rounding
2445         systems when result rounded to normal precision would have normal
2446         exponent.
2447         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
2448         (__fmal): Do not extract and scale down low bits on after-rounding
2449         systems when result rounded to normal precision would have normal
2450         exponent.
2451         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
2452         (__fmal): Do not extract and scale down low bits on after-rounding
2453         systems when result rounded to normal precision would have normal
2454         exponent.
2455         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
2456         macro.
2457         (fma_test): Add more tests.
2458         (fma_test_towardzero): Likewise.
2459         (fma_test_downward): Likewise.
2460         (fma_test_upward): Likewise.
2462 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
2464         * sysdeps/i386/tininess.h: Renamed to ...
2465         * sysdeps/x86/tininess.h: This.
2466         * sysdeps/x86_64/tininess.h: Removed.
2468 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
2470         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
2471         input.  Use $(build-program-cmd).
2472         ($(objpfx)tst-array1-static.out): Likewise.
2473         ($(objpfx)tst-array2.out): Likewise.
2474         ($(objpfx)tst-array3.out): Likewise.
2475         ($(objpfx)tst-array4.out): Likewise.
2476         ($(objpfx)tst-array5.out): Likewise.
2477         ($(objpfx)tst-array5-static.out): Likewise.
2479 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
2481         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
2482         if defined.
2484         * nss/nsswitch.h (nss_interface_function): Provide new
2485         macro for use with NSS functions.
2486         * grp/initgroups.c: Use new macro.
2487         * nss/getXXbyYY.c: Likewise.
2488         * nss/getXXbyYY_r.c: Likewise.
2489         * nss/getXXent.c: Likewise.
2490         * nss/getXXent_r.c: Likewise.
2491         * sysdeps/posix/getaddrinfo.c: Likewise.
2493 2012-10-30  Andreas Jaeger  <aj@suse.de>
2495         * po/ru.po: Update Russion translation from translation project.
2497 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
2499         [BZ #14152]
2500         [BZ #14783]
2501         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
2502         result and shift together with sticky bit instead of replicating
2503         round-to-nearest rounding.
2504         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2505         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2506         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
2507         missing underflow exceptions.
2508         (fma_test_towardzero): Add more tests.
2509         (fma_test_downward): Likewise.
2510         (fma_test_upward): Likewise.
2512         [BZ #14047]
2513         * sysdeps/generic/tininess.h: New file.
2514         * sysdeps/i386/tininess.h: Likewise.
2515         * sysdeps/sh/tininess.h: Likewise.
2516         * sysdeps/x86_64/tininess.h: Likewise.
2517         * stdlib/tst-strtod-underflow.c: Likewise.
2518         * stdlib/tst-tininess.c: Likewise.
2519         * stdlib/strtod_l.c: Include <tininess.h>.
2520         (round_and_return): Do not set errno for exact underflow cases.
2521         Force an underflow exception when setting errno for underflow.
2522         Determine underflow based on rounding to normal precision if
2523         TININESS_AFTER_ROUNDING.
2524         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
2525         ERANGE for exact underflow cases.
2526         * stdlib/Makefile (tests): Add tst-tininess and
2527         tst-strtod-underflow.
2528         ($(objpfx)tst-tininess): Use $(link-libm).
2529         ($(objpfx)tst-strtod-underflow): Likewise.
2531 2012-10-30  Andreas Jaeger  <aj@suse.de>
2533         [BZ#14767]
2534         * elf/Makefile (tests): Remove conditional for have-initfini-array
2535         since this is now always required and the variable does not exist
2536         anymore.
2537         (tests-static): Likewise.
2538         (modules-names): Likewise.
2540         * po/eo.po: Add Esperanto translation from translation project.
2542         * elf/tst-array1.c (fini_array): Make writeable so that it can be
2543         merged with constructor/destructor.
2544         (init_array): Likewise.
2545         * elf/tst-array2dep.c (fini_array): Likewise.
2546         (init_array): Likewise.
2548 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
2550         * manual/message.texi: Delete @cartouche tags.
2552 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
2554         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
2555         EOPNOTSUPP.
2556         * sysdeps/mach/hurd/fsync.c: Likewise.
2558         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
2559         [_POSIX_REALTIME_SIGNALS]: Change condition to
2560         [_POSIX_REALTIME_SIGNALS > 0].
2562 2012-10-27  Andreas Jaeger  <aj@suse.de>
2564         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
2565         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
2566         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
2567         [__WORDSIZE != 64]: Likewise.
2569 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
2571         *  iconvdata/tst-table.sh: Remove ${SHELL}.
2572         *  iconvdata/tst-tables.sh: Likewise.
2574 2012-10-25  David S. Miller  <davem@davemloft.net>
2576         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2577         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
2578         of strtoull.
2580         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
2581         ifunc-impl-list.c
2582         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2583         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
2584         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
2585         file.
2587 2012-10-25  Roland McGrath  <roland@hack.frob.com>
2589         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2590         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
2591         __getdirentries.
2593 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
2594             Jim Blandy  <jimb@codesourcery.com>
2596         * scripts/cross-test-ssh.sh: New file.
2597         * manual/install.texi (Configuring and compiling): Document use of
2598         cross-test-ssh.sh.
2599         * INSTALL: Regenerated.
2601 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
2603         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
2604         EOPNOTSUPP.
2606 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
2608         * Makeconfig (run-program-prefix): Fix comment.
2610 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
2611             Jim Blandy  <jimb@codesourcery.com>
2613         * Makeconfig (test-wrapper): New variable,
2614         (test-wrapper-env): Likewise.
2615         [$(cross-compiling) = yes && $(test-wrapper) != ""]
2616         (run-built-tests): Define to yes.
2617         (run-program-prefix): Use $(test-wrapper).
2618         (built-program-cmd): Likewise.
2619         * Rules (make-test-out): Use $(test-wrapper-env) and
2620         $(host-built-program-cmd).
2621         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
2622         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
2623         tst-pathopt.sh.
2624         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
2625         $(test-wrapper-env) to tst-rtld-load-self.sh.
2626         ($(objpfx)order2.out): Use $(test-wrapper).
2627         ($(objpfx)tst-initorder.out): Likewise.
2628         ($(objpfx)tst-initorder2.out): Likewise.
2629         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
2630         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
2631         (test_wrapper_env): New variable.  Use it to run ld.so.
2632         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
2633         Use it to run ld.so.
2634         (test_wrapper_env): Likewise.
2635         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
2636         $(test-wrapper) to run-iconv-test.sh.
2637         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
2638         (ICONV): Use $test_wrapper.
2639         * posix/Makefile ($(objpfx)globtest.out): Pass
2640         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
2641         globtest.sh, not $(run-program-prefix).
2642         * posix/globtest.sh (run_via_rtld_prefix): New variable.
2643         (test_wrapper): Likewise.
2644         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
2645         set together with run_via_rtld_prefix.
2646         (run_program_prefix): Define in terms of test_wrapper and
2647         run_via_rtld_prefix.
2649 2012-10-24  Roland McGrath  <roland@hack.frob.com>
2651         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
2652         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
2653         Targets removed.
2655         [BZ #14743]
2656         * include/time.h: Remove librt_hidden_proto (clock_gettime).
2657         Declare __clock_getres, __clock_gettime, __clock_settime,
2658         __clock_nanosleep, and __clock_getcpuclockid.
2659         * rt/clock_gettime.c: Define __clock_gettime as an alias.
2660         Remove librt_hidden_def (clock_gettime).
2661         * sysdeps/unix/clock_gettime.c: Likewise.
2662         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
2663         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2664         * rt/clock_getres.c: Define __clock_getres as an alias.
2665         * sysdeps/posix/clock_getres.c: Likewise.
2666         * rt/clock_settime.c: Define __clock_settime as an alias.
2667         * sysdeps/unix/clock_settime.c: Likewise.
2668         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
2669         * sysdeps/unix/clock_nanosleep.c: Likewise.
2670         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2671         * rt/clock-compat.c: New file.
2672         * rt/Makefile (librt-routines): Add clock-compat and move
2673         $(clock-routines) to ...
2674         (routines): ... here, new variable.
2675         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
2676         Don't add get_clockfreq here.
2677         * rt/Versions (libc: GLIBC_2.17): New version set.
2678         Add clock_* symbols here.
2679         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
2680         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
2681         (GLIBC_2.17): Add clock_* symbols.
2682         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2683         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2684         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2686         Likewise.
2687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2688         Likewise.
2689         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2690         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2691         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2692         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2693         * NEWS: Mention the move.
2695         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2696         Use __open, __read, __close rather than their public counterparts.
2697         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2698         (__get_clockfreq_via_cpuinfo): Likewise.
2699         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
2700         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
2702         * config.h.in (HAVE_IFUNC): New #undef.
2703         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
2704         was successful.
2705         * configure: Regenerated.
2707 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
2709         * configure.in: Move READELF check to start of file.
2710         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
2711         libc_cv_asm_gnu_indirect_function in the process.
2712         * configure: Regenerated.
2714 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
2716         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
2717         send the output to /dev/null.
2718         (libc_cv_cc_with_libunwind): Likewise.
2719         (libc_cv_as_noexecstack): Likewise.
2720         * configure: Regenerate.
2722 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
2724         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
2726         * posix/globtest.sh (TMPDIR): Do not set.
2727         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
2728         (testout): Likewise.
2730 2012-10-24  Andreas Jaeger  <aj@suse.de>
2732         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
2733         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
2734         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
2735         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
2736         posix_fadvise64, posix_fallocate64.
2738         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
2739         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
2740         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
2741         Likewise.
2742         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
2743         Likewise.
2744         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
2746         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
2747         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
2748         <bits/fcntl-linux.h>.
2749         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
2751         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
2752         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
2753         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
2754         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
2755         [__WORDSIZE != 64]: Likewise.
2757 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
2759         * Makeconfig (run-built-tests): New variable.
2760         * Rules [$(cross-compiling) = yes]: Change condition to
2761         [$(run-built-tests) = no].
2762         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
2763         to [$(run-built-tests) = yes].
2764         * elf/Makefile [$(cross-compiling) = no]: Likewise
2765         * grp/Makefile [$(cross-compiling) = no]: Likewise.
2766         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
2767         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
2768         * intl/Makefile [$(cross-compiling) = no]: Likewise.
2769         * io/Makefile [$(cross-compiling) = no]: Likewise.
2770         * libio/Makefile [$(cross-compiling) = no]: Likewise.
2771         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
2772         * misc/Makefile [$(cross-compiling) = no]: Likewise.
2773         * posix/Makefile [$(cross-compiling) = no]: Likewise.
2774         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
2775         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
2776         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
2777         * string/Makefile [$(cross-compiling) = no]: Likewise.
2779         * posix/Makefile ($(objpfx)globtest.out): Pass
2780         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
2781         $(rtld-installed-name).
2782         * posix/globtest.sh (elf_objpfx): Remove variable.
2783         (rtld_installed_name): Likewise.
2784         (library_path): Likewise.
2785         (run_program_prefix): New variable.  Use for running globtest
2786         binary.
2788 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
2789             Joseph Myers  <joseph@codesourcery.com>
2791         * Makeconfig (host-built-program-cmd): New variable.
2792         * elf/Makefile (tst-stackguard1-ARGS): Use
2793         $(host-built-program-cmd).
2794         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
2795         (tst-spawn-ARGS): Likewise.
2796         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
2798 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
2799             Jim Blandy  <jimb@codesourcery.com>
2801         * Makeconfig (run-via-rtld-prefix): New variable.
2802         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
2803         (built-program-cmd): Likewise.
2805 2012-10-22  Andreas Jaeger  <aj@suse.de>
2807         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
2808         __O_RSYNC if it exists, otherwise to O_SYNC.
2810 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
2811             Joseph Myers  <joseph@codesourcery.com>
2813         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
2814         /dev/null.
2815         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
2816         from /dev/null
2817         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
2818         /dev/null.
2820 2012-10-22  Andreas Jaeger  <aj@suse.de>
2822         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
2823         Define always.
2824         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
2826         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2827         bits/fcntl-linux.h.
2829         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
2830         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
2832         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
2833         to __O_LARGEFILE.
2834         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
2835         to __O_LARGEFILE.
2837 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
2838             Joseph Myers  <joseph@codesourcery.com>
2840         * config.make.in (NM): New variable.
2842 2012-10-21  Andreas Jaeger  <aj@suse.de>
2844         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
2845         definitions and declarations that are provided by
2846         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2848 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
2850         [BZ #14683]
2851         * elf/Makefile (tests-static): Add tst-leaks1-static.
2852         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
2853         ($(objpfx)tst-leaks1-static): New rule.
2854         ($(objpfx)tst-leaks1-static-mem): Likewise.
2855         (tst-leaks1-static-ENV): New macro.
2856         * elf/dl-open.c (dl_open_worker): Check the main application
2857         only if SHARED is defined.
2858         * elf/tst-leaks1-static.c: New file.
2860 2012-10-20  Andreas Jaeger  <aj@suse.de>
2862         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
2863         generic values for Linux.
2864         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
2865         and declarations that are provided by <bits/fcntl-linux.h> and
2866         include <bits/fcntl-linux.h>.
2867         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2868         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2870 2012-10-20  Roland McGrath  <roland@hack.frob.com>
2872         * io/fcntl.h: Move include of <bits/types.h> to the top and
2873         include it unconditionally.
2875 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
2877         * wcsmbs/Makefile (tests-ifunc): New variable.
2878         (tests): Add $(tests-ifunc).
2879         * wcsmbs/test-wcschr-ifunc.c: New file.
2880         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2881         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2882         * wcsmbs/test-wcslen-ifunc.c: Likewise.
2883         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2884         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2886         * string/Makefile (tests-ifunc): New variable.
2887         (tests): Add $(tests-ifunc).
2888         * string/test-memccpy.c (TEST_NAME): New macro.
2889         * string/test-memchr.c (TEST_NAME): Likewise.
2890         * string/test-memcmp.c (TEST_NAME): Likewise.
2891         * string/test-memcpy.c (TEST_NAME): Likewise.
2892         * string/test-memmem.c (TEST_NAME): Likewise.
2893         * string/test-memmove.c (TEST_NAME): Likewise.
2894         * string/test-memset.c (TEST_NAME): Likewise.
2895         * string/test-rawmemchr.c (TEST_NAME): Likewise.
2896         * string/test-stpcpy.c (TEST_NAME): Likewise.
2897         * string/test-stpncpy.c (TEST_NAME): Likewise.
2898         * string/test-strcasecmp.c (TEST_NAME): Likewise.
2899         * string/test-strcasestr.c (TEST_NAME): Likewise.
2900         * string/test-strcat.c (TEST_NAME): Likewise.
2901         * string/test-strchr.c (TEST_NAME): Likewise.
2902         * string/test-strcmp.c(TEST_NAME): Likewise.
2903         * string/test-strcpy.c (TEST_NAME): Likewise.
2904         * string/test-strcspn.c (TEST_NAME): Likewise.
2905         * string/test-strlen.c (TEST_NAME): Likewise.
2906         * string/test-strncasecmp.c (TEST_NAME): Likewise.
2907         * string/test-strncmp.c (TEST_NAME): Likewise.
2908         * string/test-strncpy.c (TEST_NAME): Likewise.
2909         * string/test-strnlen.c (TEST_NAME): Likewise.
2910         * string/test-strpbrk.c (TEST_NAME): Likewise.
2911         * string/test-strrchr.c (TEST_NAME): Likewise.
2912         * string/test-strspn.c (TEST_NAME): Likewise.
2913         * string/test-strstr.c (TEST_NAME): Likewise.
2914         * string/test-bcopy-ifunc.c: New file.
2915         * string/test-bzero-ifunc.c: Likewise.
2916         * string/test-memccpy-ifunc.c: Likewise.
2917         * string/test-memchr-ifunc.c: Likewise.
2918         * string/test-memcmp-ifunc.c: Likewise.
2919         * string/test-memcpy-ifunc.c: Likewise.
2920         * string/test-memmem-ifunc.c: Likewise.
2921         * string/test-memmove-ifunc.c: Likewise.
2922         * string/test-mempcpy-ifunc.c: Likewise.
2923         * string/test-memset-ifunc.c: Likewise.
2924         * string/test-rawmemchr-ifunc.c: Likewise.
2925         * string/test-stpcpy-ifunc.c: Likewise.
2926         * string/test-stpncpy-ifunc.c: Likewise.
2927         * string/test-strcasecmp-ifunc.c: Likewise.
2928         * string/test-strcasestr-ifunc.c: Likewise.
2929         * string/test-strcat-ifunc.c: Likewise.
2930         * string/test-strchr-ifunc.c: Likewise.
2931         * string/test-strchrnul-ifunc.c: Likewise.
2932         * string/test-strcmp-ifunc.c: Likewise.
2933         * string/test-strcpy-ifunc.c: Likewise.
2934         * string/test-strcspn-ifunc.c: Likewise.
2935         * string/test-strlen-ifunc.c: Likewise.
2936         * string/test-strncasecmp-ifunc.c: Likewise.
2937         * string/test-strncat-ifunc.c: Likewise.
2938         * string/test-strncmp-ifunc.c: Likewise.
2939         * string/test-strncpy-ifunc.c: Likewise.
2940         * string/test-strnlen-ifunc.c: Likewise.
2941         * string/test-strpbrk-ifunc.c: Likewise.
2942         * string/test-strrchr-ifunc.c: Likewise.
2943         * string/test-strspn-ifunc.c: Likewise.
2944         * string/test-strstr-ifunc.c: Likewise.
2946         * debug/Makefile (tests-ifunc): New variable.
2947         (tests): Add $(tests-ifunc).
2948         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
2949         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
2950         * debug/test-stpcpy_chk-ifunc.c: New file.
2951         * debug/test-strcpy_chk-ifunc.c: Likewise.
2953 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
2955         [BZ #13601]
2956         * elf/dl-load.c (open_verify): Retry read if the entire ELF
2957         header is not read in.
2959 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
2961         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
2962         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
2963         directly.  Pass built executable to script as
2964         $(built-program-cmd).
2965         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
2966         $testprogram without using LD_LIBRARY_PATH and $ldso.
2968         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
2969         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
2970         $(rtld-installed-name).
2971         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
2972         (rtld_installed_name): Likewise.
2973         (library_path): Likewise.
2974         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
2975         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
2976         $(run-program-prefix) to tst-tables.sh.
2977         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
2978         it to run tst-table-from and tst-table-to.
2979         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
2980         Pass it to tst-table.sh.
2981         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
2982         $(run-program-prefix) to tst-gettext.sh.
2983         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
2984         tst-translit.sh.
2985         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
2986         tst-gettext2.sh.
2987         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
2988         to run tst-gettext.
2989         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
2990         to run tst-gettext2.
2991         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
2992         to run tst-translit.
2993         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
2994         $(run-program-prefix) to tst-mtrace.sh.
2995         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
2996         to run tst-mtrace.
2997         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
2998         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
2999         $(rtld-installed-name).
3000         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
3001         (rtld_installed_name): Likewise.
3002         (run_program_prefix): New variable.  Use it to run wordexp-test.
3004         * Makeconfig (ARCH): Remove all definitions.
3005         (machine): Likewise.
3006         [ARCH]: Remove conditional code.
3007         [!objdir]: Give error.
3008         [!objdir] (objpfx): Remove.
3009         [!objdir] (common-objpfx): Likewise.
3010         [!objdir] (common-objdir): Likewise.
3011         * configure.in (config_makefile): Remove.  Hardcode Makefile in
3012         AC_CONFIG_FILES call.
3013         * configure: Regenerated.
3015         [BZ #13888]
3016         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
3017         or TMPDIR.
3018         (testout): Likewise.
3020         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
3021         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
3022         $(rtld-installed-name).
3023         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
3024         (rtld_installed_name): Likwise.
3025         (runit): Remove function.
3026         (run_getconf): New variable,  Use it for running getconf binary.
3028 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
3030         [BZ #14716]
3031         * string/test-memmem.c (check_result): New function.
3032         (do_one_test): Use it.
3033         (check1): New function.
3034         (test_main): Use it.
3036 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
3038         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
3040 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
3042         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
3043         (_G_LSEEK64): Likewise.
3044         (_G_MMAP64): Likewise.
3045         (_G_FSTAT64): Likewise.
3046         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
3047         (_G_LSEEK64): Likewise.
3048         (_G_MMAP64): Likewise.
3049         (_G_FSTAT64): Likewise.
3050         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
3051         unconditional.  Call __mmap64 directly.
3052         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
3053         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
3054         __lseek64 directly.
3055         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
3056         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
3057         __mmap64 directly.
3058         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
3059         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
3060         __lseek64 directly.
3061         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
3062         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
3063         __lseek64 directly.
3064         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
3065         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
3066         __lseek64 directly.
3067         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
3068         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
3069         __fxstat64 directly.
3070         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
3071         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
3072         unconditional.
3073         (freopen64) [!_G_OPEN64]: Remove conditional code.
3074         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
3075         unconditional.
3076         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
3077         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
3078         unconditional.
3079         (ftello64) [!_G_LSEEK64]: Remove conditional code.
3080         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
3081         unconditional.
3082         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3083         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
3084         unconditional.
3085         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
3086         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
3087         unconditional.
3088         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3089         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
3090         unconditional.
3091         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3092         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
3093         unconditional.
3094         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3096 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3098         [BZ #12140]
3099         * manual/memory.texi (Malloc Tunable Parameters): Add note
3100         about free list pointers overwriting some perturb bytes.
3101         Wording suggested by Roland McGrath.
3103 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
3105         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
3106         (lgamma_test): Likewise.
3107         (tgamma_test): Likewise.
3109 2012-10-16  Florian Weimer  <fweimer@redhat.com>
3111         [BZ #14700]
3112         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
3113         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
3115 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
3117         * NEWS: Mention BZ #14716.
3118         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
3119         when removing AVAILABLE1_USES_J macro.
3121 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
3123         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
3124         (__bswap_64): __uint64_t for unsigned 64-bit int.
3126 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
3128         * include/string.h (memmem): Declare libc hidden alias.
3129         * string/memmem.c (memmem): Define libc hidden alias.
3130         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
3131         __read, __close instead of open, read, close.
3133 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
3135         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
3136         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
3137         global and hidden.
3138         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
3139         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
3140         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
3141         Likewise.
3142         (__rawmemchr_sse2): Likewise.
3143         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
3144         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
3145         (__strchr_sse2): Likewise.
3146         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
3147         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
3148         (__strcasecmp_sse2): Likewise.
3149         (__strncasecmp_sse2): Likewise.
3150         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
3151         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
3152         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
3153         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
3154         (__strrchr_sse2): Likewise.
3155         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
3156         ifunc-impl-list.c.
3157         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3158         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3159         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3160         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3161         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3162         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3163         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3164         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3165         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
3166         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
3167         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
3168         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
3169         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
3170         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3171         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3172         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3173         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3174         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3175         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
3176         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
3177         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
3178         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
3179         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
3180         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
3181         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
3182         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3183         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3184         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
3185         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3186         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3188         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
3189         global and hidden.
3190         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
3191         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
3192         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
3193         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
3194         Likewise.
3195         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
3196         Likewise.
3197         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
3198         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
3199         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
3200         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
3201         ifunc-impl-list.c.
3202         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3203         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3204         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3205         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3206         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3207         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3208         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3209         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3210         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3211         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3212         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3213         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3214         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3215         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
3216         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
3217         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3218         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
3219         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
3220         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3221         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3222         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3223         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3224         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3225         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3226         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3227         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
3228         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
3229         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
3230         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
3231         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3232         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
3233         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3234         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3235         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
3236         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3237         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3238         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3239         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3240         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3241         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3242         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
3244         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
3245         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
3246         * include/ifunc-impl-list.h: New file.
3247         * misc/ifunc-impl-list.c: Likewise.
3248         * misc/Makefile (routines): Add ifunc-impl-list.
3249         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
3250         * string/test-string.h: Include <ifunc-impl-list.h>.
3251         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
3252         impl_array): New variables.
3253         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
3254         are defined.
3255         (test_init): Call __libc_ifunc_impl_list to initialize
3256         func_list if TEST_IFUNC and TEST_NAME are defined.
3258         * string/Makefile (strop-tests): Add bcopy and bzero.
3259         * string/test-bcopy.c: New file.
3260         * string/test-bzero.c: Likewise.
3261         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
3262         defined.
3263         * string/test-memset.c: Support bzero test if TEST_BZERO is
3264         defined.
3265         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
3266         __libc_memmove.
3267         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
3268         __libc_memset.
3269         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
3270         of memset.
3272 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
3274         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
3275         * configure: Regenerated.
3277         * Makeconfig (+link-static-before-libc): Don't include
3278         $(link-static-libc).
3280         * libio/libio.h (_IO_pos_t): Remove.
3282 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
3284         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
3285         McGrath.
3287 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
3289         * crypt/crypt-entry.c: Include fips-private.h.
3290         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
3291         * crypt/md5c-test.c (main): Tolerate disabled MD5.
3292         * sysdeps/unix/sysv/linux/fips-private.h: New file.
3293         * sysdeps/generic/fips-private.h: New file, dummy fallback.
3295 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
3297         * crypt/crypt-private.h: Include stdbool.h.
3298         (_ufc_setup_salt_r): Return bool.
3299         * crypt/crypt-entry.c: Include errno.h.
3300         (__crypt_r): Return NULL with EINVAL for bad salt.
3301         * crypt/crypt_util.c (bad_for_salt): New.
3302         (_ufc_setup_salt_r): Check that salt is long enough and within
3303         the specified alphabet.
3304         * crypt/badsalttest.c: New file.
3305         * crypt/Makefile (tests): Add it.
3306         ($(objpfx)badsalttest): New.
3308 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
3310         * NEWS: Add entry for BZ #14602.
3312 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
3314         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
3315         type-generic.
3316         * math/libm-test.inc: Update comment listing what functions and
3317         macros are tested.
3318         (isgreater_test): New function.
3319         (isgreaterequal_test): Likewise.
3320         (isless_test): Likewise.
3321         (islessequal_test): Likewise.
3322         (islessgreater_test): Likewise.
3323         (isunordered_test): Likewise.
3324         (main): Call the new functions.
3326 2012-10-09  Roland McGrath  <roland@hack.frob.com>
3328         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
3329         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
3330         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
3331         * sysdeps/i386/configure: Regenerated.
3332         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
3333         * sysdeps/mach/configure: Regenerated.
3334         * sysdeps/mach/hurd/configure: Regenerated.
3335         * sysdeps/powerpc/configure: Regenerated.
3336         * sysdeps/powerpc/powerpc32/configure: Regenerated.
3337         * sysdeps/powerpc/powerpc64/configure: Regenerated.
3338         * sysdeps/s390/s390-32/configure: Regenerated.
3339         * sysdeps/s390/s390-64/configure: Regenerated.
3340         * sysdeps/sh/configure: Regenerated.
3341         * sysdeps/sparc/configure: Regenerated.
3342         * sysdeps/unix/sysv/linux/configure: Regenerated.
3343         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3344         * sysdeps/x86_64/configure: Regenerated.
3346         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
3347         defined.  Don't check if MAP is NULL.
3349 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
3351         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
3352         (_G_stat64): Likewise.
3353         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
3354         (_G_stat64): Likewise.
3355         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
3356         instead of struct _G_stat64.
3357         * libio/fileops.c (mmap_remap_check): Likewise.
3358         (decide_maybe_mmap): Likewise.
3359         (_IO_new_file_seekoff): Likewise.
3360         (_IO_file_stat): Likewise.
3361         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
3362         _G_off64_t.
3363         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
3364         instead of struct _G_stat64.
3365         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3367 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
3369         [BZ #14602]
3370         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3371         Replace with ...
3372         (CHECK_EOL): New macro.
3373         (two_way_short_needle): Check beginning of haystack for EOL.  Use
3374         CHECK_EOL.
3375         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3376         Replace with CHECK_EOL.
3377         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3378         Replace with CHECK_EOL.
3380 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
3382         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
3383         type-generic.
3384         * math/libm-test.inc: Update comment listing what functions and
3385         macros are tested.
3386         (finite_test): New function.
3387         (isinf_test): Likewise.
3388         (isnan_test): Likewise.
3389         (fpclassify_test): Test subnormal input.
3390         (isfinite_test): Likewise.
3391         (isnormal_test): Likewise.
3392         (main): Call the new functions.
3394 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
3396         [BZ #14660]
3397         * Makerules (%.dynsym): Force C locale when running
3398         $(OBJDUMP) --dynamic-syms.
3400 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
3402         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
3403         <stdint.h>.
3405 2012-10-06  David S. Miller  <davem@davemloft.net>
3407         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
3408         upper 32-bits of the length value in %o2 since we use branch-on-register
3409         tests which consider the entire 64-bit register.
3411 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
3413         * string/test-strstr.c (check2): Add a test for page boundary.
3415 2012-10-05  David S. Miller  <davem@davemloft.net>
3417         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
3418         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
3419         file.
3420         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3421         sysdep_routines.
3422         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3423         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
3424         and bzero when HWCAP_SPARC_CRYPTO is present.
3426 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
3428         [BZ #14602]
3429         * string/test-strstr.c (check2): New function.
3430         (test_main): Call check2.
3432         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
3433         and bug-strchr1.
3434         * string/bug-strcasestr1.c (do_test): Moved to ...
3435         * string/test-strcasestr.c (check1): Here.  New function.
3436         (do_one_test): Break out result checking code into ...
3437         (check_result): This.  New function.
3438         (do_one_test): Call check_result.
3439         (test_main): Call check1.
3440         * string/bug-strchr1.c (do_test): Moved to ...
3441         * string/test-strchr.c (check1): Here.  New function.
3442         (do_one_test): Break out result checking code into ...
3443         (check_result): This.  New function.
3444         (do_one_test): Call check_result.
3445         (test_main): Call check1.
3446         * string/bug-strstr1.c (main): Moved to ...
3447         * string/test-strchr.c (check1): Here.  New function.
3448         (do_one_test): Break out result checking code into ...
3449         (check_result): This.  New function.
3450         (do_one_test): Call check_result.
3451         (test_main): Call check1.
3452         * string/bug-strcasestr1.c: Removed.
3453         * string/bug-strchr1.c: Likewise.
3454         * string/bug-strstr1.c: Likewise.
3456         * elf/Makefile (dl-routines): Add hwcaps.
3457         * elf/dl-support.c (_dl_important_hwcaps): Removed.
3458         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
3459         (_dl_important_hwcaps): Moved to ...
3460         * elf/dl-hwcaps.c: Here.  New file.
3461         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
3463         [BZ #14557]
3464         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
3465         if IS_IN_rtld isn't defined.
3467         * elf/dl-support.c (_dl_sysinfo_map): New.
3468         Include "get-dynamic-info.h" and "setup-vdso.h".
3469         (_dl_non_dynamic_init): Call setup_vdso.
3470         * elf/dynamic-link.h: Don't include <assert.h>.
3471         (elf_get_dynamic_info): Moved to ...
3472         * elf/get-dynamic-info.h: Here.  New file.
3473         * elf/dynamic-link.h: Include "get-dynamic-info.h".
3474         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
3475         * elf/setup-vdso.h: Here.  New file.
3476         * elf/rtld.c: Include "setup-vdso.h".
3477         (dl_main): Call setup_vdso.
3479 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
3481         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
3482         creal in comment listing functions tested.  List finite, isinf,
3483         isnan, isless, islessequal, isgreater, isgreaterequal,
3484         islessgreater, isunordered, lgamma_r and pow10 as functions and
3485         macros not tested.  Mention which functions not tested are aliases
3486         for other functions.  Fix typo.  Note that signs of NaNs are not
3487         tested.
3489         * scripts/config.guess: Update from config.git.
3490         * scripts/config.sub: Likewise.
3492 2012-10-04  Roland McGrath  <roland@hack.frob.com>
3494         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
3495         * misc/madvise.c (madvise): Renamed to __madvise.
3496         Make madvise a weak alias.
3497         * include/sys/mman.h: Declare __madvise.
3498         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
3499         * sysdeps/unix/syscalls.list
3500         (madvise): Make __madvise the strong name, and madvise a weak alias.
3501         * sysdeps/unix/sysv/linux/syscalls.list
3502         (madvise, mmap): Remove redundant entries.
3503         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
3504         * malloc/malloc.c (mtrim): Likewise.
3505         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
3507 2012-10-03  Roland McGrath  <roland@hack.frob.com>
3509         * sysdeps/mach/hurd/dl-cache.c: File removed.
3510         * config.h.in (USE_LDCONFIG): New #undef.
3511         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
3512         * configure: Regenerated.
3513         * elf/Makefile (dl-routines): Add dl-cache only under
3514         [$(use-ldconfig) = yes].
3515         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
3516         cache on [USE_LDCONFIG].
3517         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
3518         [USE_LDCONFIG].
3519         * elf/rtld.c (dl_main): Likewise.
3521 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
3523         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
3524         _SC_LEVEL4_CACHE_LINESIZE.
3526 2012-10-03  Roland McGrath  <roland@hack.frob.com>
3528         * sysdeps/unix/bsd/confstr.h: File removed.
3530 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
3532         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
3533         sys/sdt-config.h.
3535 2012-10-02  Roland McGrath  <roland@hack.frob.com>
3537         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
3538         Make 'mapoff' field ElfW(Off) rather than off_t.
3540 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
3542         * nscd/Makefile: Remove nscd-cflags and all its users.
3543         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
3544         (CFLAGS-nonlib): Add compiler flags for nscd modules.
3546         [BZ #10631]
3547         * malloc.c (malloc_printerr): Clarify error message.
3549 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
3551         [BZ #14648]
3552         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3553         Set bit_FMA_Usable if FMA is supported.
3554         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
3555         macro.
3556         (bit_FMA4_Usable): Updated.
3557         (index_FMA_Usable): New macro.
3558         (CPUID_FMA): Likewise
3559         (HAS_FMA): Defined with bit_FMA_Usable.
3561 2012-10-01  Roland McGrath  <roland@hack.frob.com>
3563         * bits/types.h (__swblk_t): Type removed.
3564         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
3565         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
3566         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3567         (__SWBLK_T_TYPE): Likewise.
3568         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3569         (__SWBLK_T_TYPE): Likewise.
3570         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3571         (__SWBLK_T_TYPE): Likewise.
3572         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3573         (__SWBLK_T_TYPE): Likewise.
3575 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
3576             Honza Horak <hhorak@redhat.com>
3578         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
3579         (xdr_mapname): Use YPMAXMAP as maxsize.
3580         (xdr_peername): Use YPMAXPEER as maxsize.
3581         (xdr_keydat): Use YPAXRECORD as maxsize.
3582         (xdr_valdat): Use YPMAXRECORD as maxsize.
3584 2012-10-01  Roland McGrath  <roland@hack.frob.com>
3586         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
3588         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
3589         * csu/init-first.c: ... here.
3590         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
3591         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3592         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
3593         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3594         * sysdeps/i386/init-first.c: File removed.
3595         * sysdeps/sh/init-first.c: File removed.
3597 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
3599         [BZ #14645]
3600         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
3601         if x * y might underflow to zero and z is zero.
3602         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3603         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3604         * math/libm-test.inc (min_subnorm_value): New variable.
3605         (fma_test): Add more tests.
3606         (fma_test_towardzero): Likewise.
3607         (fma_test_downward): Likewise
3608         (fma_test_upward): Likewise.
3609         (initialize): Set min_subnorm_value.
3611 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
3613         [BZ #14638]
3614         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
3615         0 + 0.
3616         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
3617         mode for addition resulting in exact zero.
3618         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
3619         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
3620         exact 0 + 0.
3621         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3622         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3623         * math/libm-test.inc (fma_test): Add more tests.
3624         (fma_test_towardzero): New function.
3625         (fma_test_downward): Likewise.
3626         (fma_test_upward): Likewise.
3627         (main): Call the new functions.
3629 2012-09-28  David S. Miller  <davem@davemloft.net>
3631         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
3633 2012-09-28  Roland McGrath  <roland@hack.frob.com>
3635         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
3636         instead of SIGALRM.
3638         * sysdeps/gnu/_G_config.h: Moved to ...
3639         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
3640         * sysdeps/mach/hurd/_G_config.h: Moved to ...
3641         * sysdeps/generic/_G_config.h: ... here.
3643         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
3645         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
3647         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
3648         Conditionalize target on [libnss_test1.so-version].
3650         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
3652         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
3653         (elfobjdir): Move out of conditionals.
3655         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
3656         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
3657         (__nss_lookup_function): Conditionalize label remove_from_tree on
3658         [!DO_STATIC_NSS || SHARED], matching its only use.
3660 2012-09-28  David S. Miller  <davem@davemloft.net>
3662         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
3663         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
3664         file.
3665         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3666         sysdep_routines.
3667         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3668         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
3669         when HWCAP_SPARC_CRYPTO is present.
3671 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
3673         * io/tst-mknodat.c: Create a FIFO instead of a socket.
3675 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
3677         [BZ #6530]
3678         * stdio-common/vfprintf.c (process_string_arg): Revert
3679         2000-07-22 change.
3681 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
3683         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
3684         for testcase.
3685         * stdio-common/tst-sprintf.c: Include <locale.h>
3686         (main): Test sprintf's handling of incomplete multibyte
3687         characters.
3689 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
3691         * elf/dl-runtime.c (VERSYMIDX): Removed.
3692         * elf/dl-version.c (VERSYMIDX): Likewise.
3693         * elf/do-rel.h (VERSYMIDX): Likewise.
3694         (VALIDX): Likewise.
3695         * elf/dynamic-link.h (VERSYMIDX): Likewise.
3696         * elf/rtld.c (VALIDX): Likewise.
3697         (ADDRIDX): Likewise.
3698         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
3699         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
3700         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
3701         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
3702         (VALIDX): Likewise.
3703         (ADDRIDX): Likewise.
3705 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
3707         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
3709 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
3711         [BZ #11438]
3712         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
3713         to global scope.
3714         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
3715         addresses are in the same scope as 192.0.2/24.
3716         * posix/gai.conf: Document new scope table defaults.
3718 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3720         [BZ #5298]
3721         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
3722         for ftell.  Compute offsets from write pointers instead.
3723         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3725 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3727         [BZ #14543]
3728         * libio/Makefile (tests): New test case tst-fseek.
3729         * libio/tst-fseek.c: New test case to verify that fseek/ftell
3730         combination works in wide mode.
3731         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
3732         state when the external buffer state changes.
3734 2012-09-27  David S. Miller  <davem@davemloft.net>
3736         [BZ #14376]
3737         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
3738         pass reloc->r_addend in as the 'high' argument to
3739         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
3741         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3743 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
3745         * rt/tst-aio2.c: Include <pthread.h>.
3746         * rt/tst-aio3.c: Likewise.
3748 2012-09-27  Steve Ellcey  <sellcey@mips.com>
3750         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
3752 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
3754         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
3755         contents on [SHARED].
3757 2012-09-26  Marek Polacek  <polacek@redhat.com>
3759         [BZ #14530]
3760         [BZ #13741]
3761         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
3762         for C++ and GCC <4.3 as well as for non GCC compilers.
3764 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
3766         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3768 2012-09-25  Roland McGrath  <roland@hack.frob.com>
3770         * Makefile.in (all, install): Declare with .PHONY.
3771         Reported by Michael Hope <michael.hope@linaro.org>.
3773 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3775         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
3776         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
3777         system header.
3778         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
3779         Likewise.
3780         (sydep_routines): Add the new and the internal functions.
3781         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
3782         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
3783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
3784         (GLIBC_2.17): Add the new function.
3785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3786         (GLIBC_2.17): Likewise.
3787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3788         (GLIBC_2.17): Likewise.
3789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
3790         (GLIBC_2.17): Likewise.
3791         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
3793 2012-09-25  Alan Modra  <amodra@gmail.com>
3795         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
3796         Add release barrier before setting once_control to say
3797         initialisation is done.  Add hints on lwarx.  Use macro in
3798         place of isync.
3799         (clear_once_control): Add release barrier.
3801 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
3803         [BZ #13629]
3804         * math/s_clog.c (__clog): Handle more values close to |z| = 1
3805         specially.
3806         * math/s_clog10.c (__clog10): Likewise.
3807         * math/s_clog10f.c (__clog10f): Likewise.
3808         * math/s_clog10l.c (__clog10l): Likewise.
3809         * math/s_clogf.c (__clogf): Likewise.
3810         * math/s_clogl.c (__clogl): Likewise.
3811         * math/Makefile (libm-calls): Add x2y2m1.
3812         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
3813         (__x2y2m1): Likewise.
3814         (__x2y2m1l): Likewise.
3815         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
3816         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
3817         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3818         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3819         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
3820         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
3821         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
3822         * sysdeps/i386/fpu/libm-test-ulps: Update.
3823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3825         [BZ #14621]
3826         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
3827         int as type of variable DEPTH.
3828         (glob): Use size_t instead of int as type of variables NEWCOUNT
3829         and OLD_PATHC.
3831 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
3833         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3834         Add s_sincosf-sse2.
3835         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
3836         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
3837         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
3838         macros for using routine as __sincosf_ia32.
3839         Use macro for function declaration and weak_alias.
3840         * sysdeps/i386/fpu/libm-test-ulps: Update.
3842         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
3843         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3845         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
3846         subnormal argument.
3847         * math/s_cexpf.c (__cexpf): Likewise.
3848         * math/s_csinf.c (__csinf): Likewise.
3849         * math/s_csinhf.c (__csinhf): Likewise.
3850         * math/s_ctanf.c (__ctanf): Likewise.
3851         * math/s_ctanhf.c (__ctanhf): Likewise.
3852         * math/s_ccosh.c (__ccoshf): Likewise.
3853         * math/s_cexp.c (__cexpl): Likewise.
3854         * math/s_csin.c (__csin): Likewise.
3855         * math/s_csinh.c (__csinh): Likewise.
3856         * math/s_ctan.c (__ctan): Likewise.
3857         * math/s_ctanh.c (ctanh): Likewise.
3858         * math/s_ccoshl.c (__ccoshl): Likewise.
3859         * math/s_cexpl.c (__cexpl): Likewise.
3860         * math/s_csinl.c (__csinl): Likewise.
3861         * math/s_csinhl.c (__csinhl): Likewise.
3862         * math/s_ctanl.c (__ctanl): Likewise.
3863         * math/s_ctanhl.c (__ctanhl): Likewise.
3865 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
3867         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
3868         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
3869         (_IO_off_t): Define to __off_t, not _G_off_t.
3870         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
3871         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
3872         (_IO_wint_t): Define to wint_t, not _G_wint_t.
3873         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
3874         type of __dummy and __dummy2 fields.
3875         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
3876         (_G_ssize_t): Likewise.
3877         (_G_off_t): Likewise.
3878         (_G_pid_t): Likewise.
3879         (_G_uid_t): Likewise.
3880         (_G_wchar_t): Likewise.
3881         (_G_wint_t): Likewise.
3882         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
3883         (_G_ssize_t): Likewise.
3884         (_G_off_t): Likewise.
3885         (_G_pid_t): Likewise.
3886         (_G_uid_t): Likewise.
3887         (_G_wchar_t): Likewise.
3888         (_G_wint_t): Likewise.
3889         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
3890         (_G_ssize_t): Likewise.
3891         (_G_off_t): Likewise.
3892         (_G_pid_t): Likewise.
3893         (_G_uid_t): Likewise.
3894         (_G_wchar_t): Likewise.
3895         (_G_wint_t): Likewise.
3897 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
3899         * malloc/arena.c: Include malloc-sysdep.h.
3900         (shrink_heap): Use check_may_shrink_heap to decide if madvise
3901         is sufficient to shrink the heap or an unmap is needed.
3902         * sysdeps/generic/malloc-sysdep.h: New file.  Define
3903         new function check_may_shrink_heap.
3904         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
3905         new function check_may_shrink_heap.
3907 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
3909         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
3910         comments.
3912 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
3914         * catgets/test-gencat.sh: Add "set -e".
3915         * elf/tst-pathopt.sh: Likewise.
3916         * grp/tst_fgetgrent.sh: Likewise.
3917         * iconvdata/run-iconv-test.sh: Likewise.
3918         * intl/tst-gettext.sh: Likewise.
3919         * intl/tst-gettext2.sh: Likewise.
3920         * intl/tst-gettext4.sh: Likewise.
3921         * intl/tst-gettext6.sh: Likewise.
3922         * intl/tst-translit.sh: Likewise.
3923         * io/ftwtest-sh: Likewise.
3924         * libio/test-freopen.sh: Likewise.
3925         * malloc/tst-mtrace.sh: Likewise.
3926         * posix/globtest.sh: Likewise.
3927         * posix/tst-getconf.sh: Likewise.
3928         * posix/wordexp-tst.sh: Likewise.
3929         * stdio-common/tst-printf.sh: Likewise.
3930         * stdio-common/tst-unbputc.sh: Likewise.
3931         * stdlib/tst-fmtmsg.sh: Likewise.
3932         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3933         * catgets/Makefile: Do not specify -e option when running
3934         testsuite shell scripts.
3935         * elf/Makefile: Likewise.
3936         * grp/Makefile: Likewise.
3937         * iconvdata/Makefile: Likewise.
3938         * intl/Makefile: Likewise.
3939         * io/Makefile: Likewise.
3940         * libio/Makefile: Likewise.
3941         * malloc/Makefile: Likewise.
3942         * posix/Makefile: Likewise.
3943         * stdio-common/Makefile: Likewise.
3944         * stdlib/Makefile: Likewise.
3945         * sysdeps/x86_64/Makefile: Likewise.
3947         * io/ftwtest-sh: Add copyright header.
3948         * posix/globtest.sh: Likewise.
3949         * posix/tst-getconf.sh: Likewise.
3950         * posix/wordexp-tst.sh: Likewise.
3951         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3953 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
3955         [BZ #13679]
3956         * Makeconfig (+link): Defined as $(+link-static) if
3957         $(build-shared) isn't yes.
3958         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
3959         isn't yes.
3960         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
3962         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
3964         [BZ #14562]
3965         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
3966         new chunk size with MALLOC_ALIGN_MASK.
3968 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
3970         [BZ #5044]
3971         * stdio-common/printf_fphex.c: Include <stdbool.h> and
3972         <rounding-mode.h>.
3973         (__printf_fphex): Determine rounding using get_rounding_mode and
3974         round_away.
3975         * stdio-common/tst-printf-round.c (struct hex_test): New
3976         structure.
3977         (hex_tests): New variable.
3978         (test_hex_in_one_mode): New function.
3979         (do_test): Also run tests for hex float output.
3981 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
3983         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3984         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3985         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
3986         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3987         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3988         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
3989         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3990         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3992 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
3994         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
3995         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
3996         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
3997         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
3999 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
4001         [BZ #14579]
4002         * elf/rtld.c (dl_main): Limit the check for self loading to normal
4003         mode only.
4004         * elf/tst-rtld-load-self.sh: New test.
4005         * elf/Makefile: Run it.
4007 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
4009         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
4010         (tst-writev-ENV): Remove.
4011         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
4013 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
4015         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
4017 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
4019         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
4020         unconditional.
4021         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
4022         Likewise.
4023         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
4024         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
4025         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
4026         Likewise.
4028 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
4030         [BZ #14587]
4031         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
4032         * config.make.in (have-cpp-asm-debuginfo): Removed.
4033         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
4034         * configure: Regenerated.
4036 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
4038         [BZ #5044]
4039         * stdio-common/printf_fp.c: Include <stdbool.h> and
4040         <rounding-mode.h>.
4041         (___printf_fp): Determine rounding using get_rounding_mode and
4042         round_away.
4043         * stdio-common/tst-printf-round.c: New file.
4044         * stdio-common/Makefile (tests): Add tst-printf-round.
4045         (link-libm): New variable.
4046         ($(objpfx)tst-printf-round): Depend in $(link-libm).
4048 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
4050         [BZ #14576]
4051         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
4052         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
4053         Likewise.
4054         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
4055         Likewise.
4057 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
4059         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
4060         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4061         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4062         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4064 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
4066         [BZ #14518]
4067         * include/rounding-mode.h: New file.
4068         * sysdeps/generic/get-rounding-mode.h: Likewise.
4069         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
4070         * stdlib/strtod_l.c: Include <rounding-mode.h>.
4071         (MAX_VALUE): New macro.
4072         (MIN_VALUE): Likewise.
4073         (overflow_value): New function.
4074         (underflow_value): Likewise.
4075         (round_and_return): Use overflow_value and underflow_value to
4076         determine return values in overflow and underflow cases.  Use
4077         round_away to determine rounding depending on rounding mode.
4078         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
4079         determine return values in overflow and underflow cases.
4080         * stdlib/tst-strtod-round.c: Include <fenv.h>.
4081         (struct test_results): New structure.
4082         (struct test): Use struct test_results to store expected results
4083         for all rounding modes.
4084         (TEST): Include expected results for all rounding modes.
4085         (test_in_one_mode): New function.
4086         (do_test): Use test_in_one_mode to compute and check results.
4087         Check results for all rounding modes.
4088         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
4089         $(link-libm).
4091 2012-12-09  Allan McRae  <allan@archlinux.org>
4093         * sysdeps/i386/fpu/libm-test-ulps: Update
4095 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
4097         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
4098         (_G_int32_t): Likewise.
4099         (_G_uint16_t): Likewise.
4100         (_G_uint32_t): Likewise.
4101         (_G_HAVE_BOOL): Likewise.
4102         (_G_HAVE_ATEXIT): Likewise.
4103         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4104         (_G_HAVE_IO_FILE_OPEN): Likewise.
4105         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
4106         (_G_int32_t): Likewise.
4107         (_G_uint16_t): Likewise.
4108         (_G_uint32_t): Likewise.
4109         (_G_HAVE_BOOL): Likewise.
4110         (_G_HAVE_ATEXIT): Likewise.
4111         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4112         (_G_HAVE_IO_FILE_OPEN): Likewise.
4113         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
4114         (_G_int32_t): Likewise.
4115         (_G_uint16_t): Likewise.
4116         (_G_uint32_t): Likewise.
4117         (_G_HAVE_BOOL): Likewise.
4118         (_G_HAVE_ATEXIT): Likewise.
4119         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4120         (_G_HAVE_IO_FILE_OPEN): Likewise.
4122 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
4124         * csu/libc-tls.c: Update copyright years.
4126 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
4128         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
4129         [!_G_USING_THUNKS]: Remove conditional code.
4130         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
4131         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
4133         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
4134         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
4135         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4136         (_G_VTABLE_LABEL_PREFIX): Likewise.
4137         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4138         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4139         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4140         (_G_VTABLE_LABEL_PREFIX): Likewise.
4141         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4142         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4143         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4144         (_G_VTABLE_LABEL_PREFIX): Likewise.
4145         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4147 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
4149         * libio/Makefile: Include ../Makeconfig before tests.
4150         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
4151         only if $(build-shared) is yes.
4153         * iconv/gconv_db.c: Update copyright years.
4155 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4157         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
4158         unwind info if defined PIC. Fix special cases description.
4159         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
4161         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
4162         DP_HI_MASK entry.
4163         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
4165 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
4167         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
4169         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
4170         is NULL.
4172         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
4173         (LDLIBS-tst-chk4): This.
4174         (LDFLAGS-tst-chk5): Renamed to ...
4175         (LDLIBS-tst-chk5): This.
4176         (LDFLAGS-tst-chk6): Renamed to ...
4177         (LDLIBS-tst-chk6): This.
4178         (LDFLAGS-tst-lfschk4): Renamed to ...
4179         (LDLIBS-tst-lfschk4): This.
4180         (LDFLAGS-tst-lfschk5): Renamed to ...
4181         (LDLIBS-tst-lfschk5): This.
4182         (LDFLAGS-tst-lfschk6): Renamed to ...
4183         (LDLIBS-tst-lfschk6): This.
4185         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
4186         on $(common-objpfx)soversions.mk.
4188 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
4190         [BZ #10014]
4191         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
4192         example host name.
4194 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
4196         * malloc/arena.c (arena_get_retry): New function that gets
4197         another arena for the caller to try its request on.
4198         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
4199         current arena cannot fulfill the request.
4200         (__libc_memalign): Likewise.
4201         (__libc_memalign): Likewise.
4202         (__libc_pvalloc): Likewise.
4203         (__libc_calloc): Likewise.
4205 2012-09-05  John Tobey  <john.tobey@gmail.com>
4207         [BZ #13542]
4208         * manual/arith.texi (Operations on Complex): Fix description
4209         of carg branch cut.
4211 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
4213         [BZ #10014]
4214         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
4215         host name.
4217         [BZ #10038]
4218         * manual/memory.texi (Memory): Make order of menu items match
4219         order of sections.
4221 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
4223         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
4224         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
4225         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
4227 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
4229         * csu/libc-tls.c (static_dtv): Renamed to ...
4230         (_dl_static_dtv): This.  Make it global.
4231         (_dl_initial_dtv): Removed.
4232         (__libc_setup_tls): Updated.
4233         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
4234         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
4235         DL_INITIAL_DTV.
4237 2012-09-06  Petr Machata  <pmachata@redhat.com>
4239         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
4240         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
4241         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
4242         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
4244 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
4246         [BZ #14545]
4247         * csu/libc-tls.c (_dl_initial_dtv): New variable.
4248         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
4249         freeing dtv[-1].
4251 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
4253         [BZ #14544]
4254         * Makeconfig (link-static-before-libc): Replace $(+prector)
4255         with $(+prectorT).
4256         (link-static-after-libc): Replace $(+postctor) with
4257         $(+postctorT).
4258         (link-bounded): Replace $(+prector)/$(+postctor) with
4259         $(+prectorT)/$(+postctorT).
4260         (+prectorT): New macro.
4261         (+postctorT): Likewise.
4263 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
4265         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
4266         (round_str): Handle values above the maximum for IBM long double
4267         as inexact.
4268         * stdlib/tst-strtod-round.c (tests): Regenerated.
4270 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4272         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
4273         assembler flag.
4274         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
4275         zarch_nohighgprs around the zarch optimized routines.
4276         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4277         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4278         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
4279         for zarch.
4281 2012-09-05  David S. Miller  <davem@davemloft.net>
4283         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4285         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
4286         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
4287         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
4288         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
4289         entries.
4291 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
4293         * malloc/arena.c: Fold copyright years.
4294         * malloc/mcheck.c, malloc/memusage.c: Likewise.
4296 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
4298         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
4300 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
4302         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
4304 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
4306         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
4307         change internal state upon failure.
4309 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
4311         * malloc/mcheck.c (mcheck_check_all): Fix typo.
4312         * malloc/memusage.c (mmap): Likewise.
4313         (mmap64, mremap): Likewise.  Adjust name in comment.
4315 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
4317         * libio/fileops.c: Fix typos in comments.
4318         * libio/oldfileops.c: Likewise.
4319         * libio/wfileops.c: Likewise.
4321 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
4323         [BZ #1349]
4324         * malloc/Makefile (tests): Add tst-malloc-usable test case.
4325         (tst-malloc-usable-ENV): Set environment for test case.
4326         * malloc/hooks.c (malloc_check_get_size): New function to get
4327         requested size.
4328         * malloc/malloc.c (musable): Use malloc_check_get_size.
4329         * malloc/tst-malloc-usable.c: New test case.
4331 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
4333         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
4335 2012-09-05  Allan McRae  <allan@archlinux.org>
4337         [BZ #13966]
4338         * configure.in (CXX_SYSINCLUDES): Use compiler output to
4339         determine header location.
4340         * configure: Regenerated.
4342 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
4344         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
4345         float format.
4346         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
4347         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
4348         format.
4349         (test): Regenerate.
4351 2012-09-04  David S. Miller  <davem@davemloft.net>
4353         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
4354         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
4355         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
4357 2012-09-04  Florian Weimer  <fweimer@redhat.com>
4359         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
4360         failures.
4362         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
4364 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
4366         [BZ #9914]
4367         * libio/iogetdelim.c: Include <limits.h>.
4368         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
4369         + len + 1 would overflow.
4371 2012-09-03  Andreas Jaeger  <aj@suse.de>
4373         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4374         * sysdeps/i386/fpu/libm-test-ulps: Update.
4376 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4378         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4379         Add s_sinf-sse2, s_conf-sse2.
4381         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
4382         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
4383         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
4384         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
4386         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
4387         for using routine as __sinf_ia32.
4388         Use macro for function declaration and weak_alias.
4389         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
4390         for using routine as __cosf_ia32.
4391         Use macro for function declaration and weak_alias.
4393         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
4394         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
4396         * sysdeps/x86_64/fpu/s_sinf.S: New file.
4397         * sysdeps/x86_64/fpu/s_cosf.S: New file.
4398         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4400         * math/libm-test.inc (cos_test): Add more test cases.
4401         (sin_test): Likewise.
4402         (sincos_test): Likewise.
4404 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4406         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
4407         (IFUNC_RESOLVE): Make pointers to the specialized implementations
4408         hidden.
4409         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4411 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
4413         [BZ #14538]
4414         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
4415         first element of the GOT.
4416         (elf_machine_load_address): Return the difference between
4417         the runtime address of _DYNAMIC and elf_machine_dynamic ().
4419 2012-09-01  Allan McRae  <allan@archlinux.org>
4421         [BZ #13412]
4422         * configure.in (AWK): Require gawk version 3.0 or later.
4423         * configure: Regenerated.
4425 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
4427         * sysdeps/unix/sysv/linux/kernel-features.h
4428         (__ASSUME_POSIX_CPU_TIMERS): Remove.
4429         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4430         [__NR_clock_getres]: Make code unconditional.
4431         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
4432         (clock_getcpuclockid): Remove code left unreachable by removal of
4433         conditionals.
4434         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
4435         code unconditional.
4436         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4437         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4438         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
4439         Make code unconditional.
4440         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4441         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4442         * sysdeps/unix/sysv/linux/clock_settime.c
4443         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
4444         conditional code.
4445         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
4446         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4448 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
4450         [BZ #14476]
4451         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
4452         scripts/test-installation.pl.
4454         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
4455         and $ld_so_version if it is set.
4457 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
4459         [BZ #14516]
4460         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
4461         failure if reading from procfs failed.
4462         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
4464 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
4466         * sysdeps/unix/sysv/linux/kernel-features.h
4467         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
4468         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4469         Remove conditional code.
4470         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4471         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
4472         Remove conditional code.
4473         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4474         * sysdeps/unix/sysv/linux/i386/fxstat.c
4475         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4476         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4477         * sysdeps/unix/sysv/linux/i386/fxstatat.c
4478         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4479         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4480         * sysdeps/unix/sysv/linux/i386/lxstat.c
4481         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4482         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4483         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
4484         Remove conditional code.
4485         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4486         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4487         Remove conditional code.
4488         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4489         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
4490         <kernel-features.h>.
4491         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
4492         Remove.
4493         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
4494         Remove conditional code.
4495         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4496         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
4497         Remove conditional.
4499 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
4501         [BZ #5400]
4502         * NEWS: Add fixed bug number.
4504 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
4506         [BZ #14519]
4507         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
4508         underflowing exponent in case of negative sign.
4509         * stdlib/tst-strtod-round-data: Add more tests.
4510         * stdlib/tst-strtod-round.c (tests): Regenerated.
4512         [BZ #3479]
4513         * stdlib/strtod_l.c (NDIG): Remove.
4514         (HEXNDIG): Likewise.
4515         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
4516         smallest representable value.
4517         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
4518         lie within an exact representation of 1/2 ulp of the result.
4519         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
4520         unconditionally.
4521         (TENS_P9_IDX): Define unconditionally.
4522         (TENS_P9_SIZE): Likewise.
4523         (TENS_P10_IDX): Likewise.
4524         (TENS_P10_SIZE): Likewise.
4525         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
4526         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
4527         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
4528         entries for 10^2^13 and 10^2^14.
4529         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
4530         (TENS_P13_IDX): Define.
4531         (TENS_P13_SIZE): Likewise.
4532         (TENS_P14_IDX): Likewise.
4533         (TENS_P14_SIZE): Likewise.
4534         (_fpioconst_pow10): Change array size to
4535         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
4536         unconditional.
4537         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
4538         1024]: Add entries for 10^2^13 and 10^2^14.
4539         [LAST_POW10 > _LAST_POW10]: Remove #error.
4540         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
4541         (_fpioconst_pow10): Change array size to
4542         FPIOCONST_POW10_ARRAY_SIZE.
4543         * stdlib/gen-fpioconst.c: New file.
4544         * stdlib/gen-tst-strtod-round.c: Likewise.
4545         * stdlib/tst-strtod-round-data: Likewise.
4546         * stdlib/tst-strtod-round.c: Likewise.
4547         * stdlib/Makefile (tests): Add tst-strtod-round.
4549         [BZ #14459]
4550         * stdlib/strtod_l.c: Include <stdint.h>.
4551         (NDEBUG): Do not define.
4552         (round_and_return): Change EXPONENT parameter to type intmax_t.
4553         Rearrange calculations to avoid internal overflow possibilities.
4554         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
4555         Rearrange calculations to avoid internal overflow possibilities.
4556         Assert that number fits inside MPNSIZE limbs.
4557         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
4558         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
4559         calculations and add assertions to avoid internal overflow
4560         possibilities.  Add casts to avoid signed/unsigned operations.
4561         * stdlib/tst-strtod-overflow.c: New file.
4562         * stdlib/Makefile (tests): Add tst-strtod-overflow.
4564 2012-08-25  Marek Polacek  <polacek@redhat.com>
4566         * time/time.h: Fix some typos in comments.
4568 2012-08-23  Roland McGrath  <roland@hack.frob.com>
4570         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
4571         * posix/tst-rfc3484-2.c: Likewise.
4572         * posix/tst-rfc3484-3.c: Likewise.
4574 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
4576         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
4577         (EF_ARM_ABI_FLOAT_HARD): Likewise.
4579 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
4581         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
4582         #include of fxstatat64.c.
4584 2012-08-22  Roland McGrath  <roland@hack.frob.com>
4586         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
4587         * shadow/getspent_r.c: Likewise.
4588         * shadow/getspnam.c: Likewise.
4589         * shadow/getspnam_r.c: Likewise.
4590         * gshadow/getsgent.c: Likewise.
4591         * gshadow/getsgent_r.c: Likewise.
4592         * gshadow/getsgnam.c: Likewise.
4593         * gshadow/getsgnam_r.c: Likewise.
4594         * inet/getnetbyad.c: Likewise.
4595         * inet/getnetbyad_r.c: Likewise.
4596         * inet/getnetbynm.c: Likewise.
4597         * inet/getnetbynm_r.c: Likewise.
4598         * inet/getnetent.c: Likewise.
4599         * inet/getnetent_r.c: Likewise.
4600         * inet/getproto.c: Likewise.
4601         * inet/getproto_r.c: Likewise.
4602         * inet/getprtent.c: Likewise.
4603         * inet/getprtent_r.c: Likewise.
4604         * inet/getprtname.c: Likewise.
4605         * inet/getprtname_r.c: Likewise.
4606         * inet/getrpcbyname.c: Likewise.
4607         * inet/getrpcbyname_r.c: Likewise.
4608         * inet/getrpcbynumber.c: Likewise.
4609         * inet/getrpcbynumber_r.c: Likewise.
4610         * inet/getrpcent.c: Likewise.
4611         * inet/getrpcent_r.c: Likewise.
4612         * inet/getaliasent.c: Likewise.
4613         * inet/getaliasent_r.c: Likewise.
4614         * inet/getaliasname.c: Likewise.
4615         * inet/getaliasname_r.c: Likewise.
4616         * nscd/getgrgid_r.c: Likewise.
4617         * nscd/getgrnam_r.c: Likewise.
4618         * nscd/gethstbyad_r.c: Likewise.
4619         * nscd/gethstbynm3_r.c: Likewise.
4620         * nscd/getpwnam_r.c: Likewise.
4621         * nscd/getpwuid_r.c: Likewise.
4622         * nscd/getsrvbynm_r.c: Likewise.
4623         * nscd/getsrvbypt_r.c: Likewise.
4624         * nscd/gai.c: Likewise.
4626         * configure.in (build_nscd): New substituted variable, set
4627         by --disable-build-nscd and defaults to $use_nscd.
4628         * configure: Regenerated.
4629         * config.make.in (build-nscd): New substituted variable.
4630         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
4631         Change conditional to require [$(build-nscd) = yes] as well.
4632         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
4634         [BZ# 13696]
4635         * configure.in (use_nscd): New substituted variable, set by
4636         --disable-nscd.  If enabled, define USE_NSCD.
4637         * configure: Regenerated.
4638         * config.h.in: Add USE_NSCD.
4639         * config.make.in (use-nscd): New substituted variable.
4640         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
4641         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
4642         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
4643         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
4644         (CFLAGS-getgrnam_r.c): Likewise.
4645         (CFLAGS-initgroups.c): Likewise.
4646         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
4647         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
4648         Variables removed.
4649         * inet/getnetgrent_r.c
4650         (nscd_setnetgrent): New function, broken out of ...
4651         (setnetgrent): ... here.  Call it.
4652         (innetgr): Conditionalize nscd bits on [USE_NSCD].
4653         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
4654         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
4655         * nscd/Makefile (routines, aux): Move definitions after include of
4656         Makeconfig.  Conditionalize on [$(use-nscd) != no].
4657         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
4658         Conditionalize on [USE_NSCD].
4659         (is_nscd, nscd_init_cb): Likewise.
4660         (nss_load_library): Conditionalize init callback on [USE_NSCD].
4661         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
4662         * nss/nss_db/db-init.c: Likewise.
4663         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
4664         [USE_NSCD].
4665         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
4666         (make_request): Use it.
4667         (cache_valid_p): New function.
4668         (__check_pf): Use it.
4669         * NEWS: Add item for --disable-nscd.
4671 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
4673         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
4674         to support sed >= 4.2.1-20-ga9bf076.
4675         * configure: Regenerated.
4677 2012-08-22  Roland McGrath  <roland@hack.frob.com>
4679         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
4680         Conditionalize whole body on [IREL].
4682 2012-08-22  Jeff Law <law@redhat.com>
4684         [BZ #14505]
4685         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
4686         if the family is PF_UNSPEC.
4688 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
4690         * Makerules (lib-version): Rename from V.
4691         (install-lib-nosubdir): Change V to lib-version.
4693 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
4695         [BZ #14252]
4696         * powerpc32/power6/wcschr.c: New file.
4697         * powerpc32/power6/wcscpy.c: New file.
4698         * powerpc32/power6/wcsrchr.c: New file.
4699         * powerpc64/power6/wcschr.c: New file.
4700         * powerpc64/power6/wcscpy.c: New file.
4701         * powerpc64/power6/wcsrchr.c: New file.
4703 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
4705         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
4706         (two_way_short_needle): Use it.
4707         * string/strstr.c (AVAILABLE1_USES_J): Define.
4708         * string/strcasestr.c: Likewise.
4710         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
4711         array references.
4712         * string/strcasestr.c (TOLOWER): Make side-effect safe.
4714         [BZ #11607]
4715         * NEWS: Add an entry.
4716         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
4717         define their defaults.
4718         (two_way_short_needle): Detect end-of-string on-the-fly.
4719         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
4720         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
4721         * string/bug-strcasestr1.c: New test.
4722         * string/Makefile: Run it.
4724 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
4726         [BZ #11607]
4727         * string/str-two-way.h (two_way_short_needle): Optimize matching of
4728         the first character.
4730 2012-08-21  Roland McGrath  <roland@hack.frob.com>
4732         * csu/elf-init.c (__libc_csu_irel): Function removed.
4733         * csu/libc-start.c (apply_irel): New function.
4734         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
4736 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
4738         * sysdeps/unix/sysv/linux/kernel-features.h
4739         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
4740         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
4741         <kernel-features.h>.
4742         [__NR_fadvise64_64]: Make code unconditional.
4743         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
4744         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4745         !__NR_fadvise64_64)]: Likewise.
4746         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4747         !__NR_fadvise64_64))]: Likewise.
4748         [__NR_fadvise64]: Make code unconditional.
4749         [!__NR_fadvise64]: Remove conditional code.
4750         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
4751         <kernel-features.h>.
4752         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4753         unconditional.
4754         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4755         conditional code.
4756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
4757         not include <kernel-features.h>.
4758         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4759         unconditional.
4760         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4761         conditional code.
4762         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
4763         include <kernel-features.h>.
4764         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4765         unconditional.
4766         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4767         conditional code.
4769 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
4771         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
4772         slight instruction rearrangements per scrollpipe analysis.
4773         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4775 2012-08-20  Roland McGrath  <roland@hack.frob.com>
4777         * manual/syslog.texi (syslog; vsyslog, closelog):
4778         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
4779         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
4781         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
4782         DSOCAPS to match condition on defining it.
4784 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
4786         * sysdeps/unix/sysv/linux/kernel-features.h
4787         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
4788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
4789         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4790         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
4792         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4793         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
4795         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4796         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4798         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
4799         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
4801         * sysdeps/unix/sysv/linux/kernel-features.h
4802         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
4803         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
4804         unconditional.
4805         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4806         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
4807         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4808         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4809         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
4810         Make code unconditional.
4811         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4812         (__mmap64) [!__NR_mmap2]: Likewise.
4813         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
4814         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4815         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4816         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
4817         [__NR_mmap2]: Make code unconditional.
4818         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4819         (__mmap64) [!__NR_mmap2]: Likewise.
4821 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4823         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
4825 2012-08-18  Andreas Jaeger  <aj@suse.de>
4827         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
4829 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
4831         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
4832         * include/unistd.h (__have_sock_cloexec): Likewise.
4833         (__have_pipe2): Likewise.
4834         (__have_dup3): Likewise.
4836 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
4838         [BZ #9685]
4839         * include/unistd.h (__have_pipe2): Change define into an extern int.
4840         (__have_dup3): Likewise.
4841         * socket/have_sock_cloexec.c: Include fcntl.h.
4842         (__have_pipe2): New variable.
4843         (__have_dup3): Likewise.
4845 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
4847         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
4849 2012-08-17  Marek Polacek  <polacek@redhat.com>
4851         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
4852         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
4854 2012-08-17  Roland McGrath  <roland@hack.frob.com>
4856         * configure.in: Add AC_SUBST for sysheaders.
4857         * configure: Regenerated.
4858         * config.make.in (sysheaders): New substituted variable.
4860         * sysdeps/unix/mkfifo.c: Moved ...
4861         * sysdeps/posix/mkfifo.c: ... here.
4862         * sysdeps/unix/mkfifoat.c: Moved ...
4863         * sysdeps/posix/mkfifoat.c: ... here.
4865         * sysdeps/unix/utime.c: Moved ...
4866         * sysdeps/posix/utime.c: ... here.
4868         * sysdeps/unix/time.c: Moved ...
4869         * sysdeps/posix/time.c: ... here.
4870         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
4871         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
4873         * sysdeps/unix/nice.c: Moved ...
4874         * sysdeps/posix/nice.c: ... here.
4876         * sysdeps/unix/alarm.c: Moved ...
4877         * sysdeps/posix/alarm.c: ... here.
4879         * intl/Makefile ($(codeset_mo)): Depend on the input file.
4881 2012-08-17  Jeff Law <law@redhat.com>
4883         * intl/Makefile (codeset_mo): New variable.
4884         ($(codeset_mo)): New target.
4885         (tst-codeset.out): Depend on that.  Remove explicit rule.
4886         (tst-gettext3.out, tst-gettext5.out): Likewise.
4887         (LOCPATH-ENV, tst-codeset-ENV): New variables.
4888         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
4889         * intl/tst-codeset.sh: Remove.
4890         * intl/tst-gettext3.sh: Likewise.
4891         * intl/tst-gettext5.sh: Likewise.
4893 2012-08-17  Roland McGrath  <roland@hack.frob.com>
4895         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
4896         * sysdeps/unix/syscalls.list: ... here.
4898         * sysdeps/posix/getaddrinfo.c
4899         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
4900         (gaiconf_init, gaiconf_reload): Use them.
4901         [!_STATBUF_ST_NSEC]
4902         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
4903         Define using time_t rather than struct timespec.
4905         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
4906         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
4907         Macros removed.
4908         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
4909         [!NO_THREADS].
4910         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
4911         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
4912         Likewise.
4914         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
4915         __libc_cleanup_push argument.
4917         * bits/param.h: New file.
4918         * misc/sys/param.h: New file.
4919         * include/sys/param.h: New file.
4920         * misc/Makefile (headers): Add bits/param.h.
4921         * sysdeps/generic/sys/param.h: File removed.
4922         * sysdeps/unix/sysv/linux/bits/param.h: New file.
4923         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
4924         * sysdeps/mach/hurd/bits/param.h: New file.
4925         * sysdeps/mach/hurd/sys/param.h: File removed.
4927         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
4928         last change.
4930         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
4931         [_IO_MTSAFE_IO].
4932         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
4933         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
4934         New macros.
4936         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
4937         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
4938         rather than -D_IO_MTSAFE_IO conditionally.
4939         * stdio-common/Makefile (CPPFLAGS): Likewise.
4940         * wcsmbs/Makefile (CPPFLAGS): Likewise.
4941         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
4942         Use $(libio-mtsafe).
4943         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
4944         of -D_IO_MTSAFE_IO.
4945         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
4946         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
4947         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
4948         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
4949         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
4950         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
4951         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
4952         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
4953         (CFLAGS-fread_u_chk.c): Likewise.
4954         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
4955         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
4956         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
4957         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
4958         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
4959         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
4960         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
4961         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
4962         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
4964         * libio/Makefile: Test [$(libc-reentrant) = yes]
4965         instead of [$(filter %REENTRANT, $(defines)) nonempty].
4967         * Makeconfig
4968         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
4969         * sysdeps/pthread/configure: File removed.
4970         * sysdeps/pthread/Makeconfig: New file.
4971         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
4972         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
4974 2012-08-16  Gary Benson  <gbenson@redhat.com>
4976         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
4977         unmapping the first object in a namespace.
4979 2012-08-16  Roland McGrath  <roland@hack.frob.com>
4981         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
4982         (__internal_setnetgrent): ... this.  Add internal_function to
4983         definition.  Add libc_hidden_def.
4984         (setnetgrent): Update caller.
4985         (internal_endnetgrent): Renamed to ...
4986         (__internal_endnetgrent): ... this.  Add internal_function to
4987         definition.  Add libc_hidden_def.
4988         (endnetgrent): Update caller.
4989         (internal_getnetgrent_r): Renamed to ...
4990         (__internal_getnetgrent_r): ... this.  Add internal_function to
4991         definition.  Add libc_hidden_def.
4992         (__getnetgrent_r): Update caller.
4993         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
4995 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
4997         * stdlib/longlong.h: Update from GCC.
4999 2012-08-16  Roland McGrath  <roland@hack.frob.com>
5001         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
5002         on _QL, which is set by umul_ppmm but never used.
5003         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
5004         variables, which are set by GMP macros but never used.
5005         * stdio-common/_itowa.c (_itowa): Likewise.
5006         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
5007         * stdlib/mod_1.c (mpn_mod_1): Likewise.
5009 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
5011         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
5012         struct La_sh_regs is not constant.
5013         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
5014         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
5015         and struct La_sparc64_regs are not constant.
5017 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
5019         * sysdeps/unix/sysv/linux/kernel-features.h
5020         (__ASSUME_POSIX_TIMERS): Remove.
5021         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5022         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5023         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
5024         Make code unconditional.
5025         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5026         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
5027         Make code unconditional.
5028         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5029         * sysdeps/unix/sysv/linux/clock_nanosleep.c
5030         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
5031         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5032         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
5033         Make code unconditional.
5034         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5035         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
5036         (__libc_missing_posix_timers): Remove.
5038 2012-08-15  Roland McGrath  <roland@hack.frob.com>
5040         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
5041         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
5043         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
5045         * elf/dl-sym.c: Include <stdlib.h>.
5047         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
5048         constants, which avoids warnings in 32-bit builds.
5050         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
5051         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
5053         * misc/lseek.c: File moved to ...
5054         * io/lseek.c: ... here.
5056         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
5058         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
5059         shifting LEN more than 31 bits at once.
5061 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5063         [BZ #14195]
5064         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
5065         segmentation fault for a case of two empty input strings.
5066         * string/test-strncasecmp.c (check1): Renamed to...
5067         (bz12205): ...this.
5068         (bz14195): Add new testcase for two empty input strings and N > 0.
5069         (test_main): Call new testcase, adapt for renamed function.
5071 2012-08-15  Andreas Jaeger  <aj@suse.de>
5073         [BZ #14090]
5074         * crypt/md5test2.c: New test, based on test supplied by Serge
5075         Belyshev <belyshev@depni.sinp.msu.ru>.
5076         * crypt/Makefile (xtests): Add md5test-giant..
5077         * crypt/Makefile ($(objpfx)md5test-giant): Add.
5079 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
5081         [BZ #14090]
5082         * crypt/md5.c (md5_process_block): Don't assume the buffer
5083         length is less than 2**32.
5084         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
5085         length is less than 2**64.
5087 2012-08-15  Roland McGrath  <roland@hack.frob.com>
5089         * string/str-two-way.h: Include <sys/param.h>.
5090         (MAX): Macro removed.
5092         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
5093         Move #define and #undef of memmove to just before and after
5094         including <string.h>.
5096         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
5097         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
5098         and after including <string.h>.  Move declarations of
5099         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
5100         to before #include "string/memmove.c".
5102         * include/dirent.h: Declare __getdirentries.
5104         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
5105         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
5107 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
5109         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
5110         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
5111         * sysdeps/i386/configure: Regenerated.
5112         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
5113         STABS_CURRENT_FILE, and STABS_FUN.
5114         (END): Remove call to STABS_FUN_END.
5115         (STABS_CURRENT_FILE1): Delete.
5116         (STABS_CURRENT_FILE): Likewise.
5117         (STABS_FUN): Likewise.
5118         (STABS_FUN_END): Likewise.
5119         (STABS_FUN2): Likewise.
5120         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
5121         * sysdeps/x86_64/configure: Regenerated.
5123 2012-08-14  Roland McGrath  <roland@hack.frob.com>
5125         * elf/dl-open.c: Include <atomic.h>.
5126         * elf/dl-lookup.c: Likewise.
5128 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
5130         * sysdeps/unix/sysv/linux/kernel-features.h
5131         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
5132         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
5133         unconditionally.
5134         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
5135         unconditionally.
5136         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
5137         condition on __ASSUME_CLONE_THREAD_FLAGS.
5139 2012-08-14  Andreas Jaeger  <aj@suse.de>
5141         * sysdeps/i386/fpu/libm-test-ulps: Update.
5143 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
5145         * include/atomic.h (atomic_exchange_and_add): Split into ...
5146         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
5147         New atomic macros.
5149 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
5151         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5153 2012-08-13  Jeff Law <law@redhat.com>
5155         * manual/stdio.texi (snprintf): Clarify handling of the trailing
5156         null byte in the output string.
5158 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
5160         * sysdeps/unix/sysv/linux/kernel-features.h
5161         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
5162         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
5163         (__ASSUME_ARG_MAX_STACK_BASED): Define.
5164         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5165         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
5166         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
5167         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
5169 2012-08-09  Jeff Law <law@redhat.com>
5171         [BZ #13939]
5172         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
5173         When avoid_arena is set, don't retry in the that arena.  Pick the
5174         next one, whatever it might be.
5175         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
5176         (arena_lock): Pass in new parameter to arena_get2.
5177         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
5178         arena_get2.
5179         (__libc_malloc): Unify retrying after main arena failure with
5180         __libc_memalign version.
5181         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
5183 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
5185         [BZ #14166]
5186         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
5187         to __redirect_strstr.
5188         (__strstr_sse42): Use typeof __redirect_strstr.
5189         (__strstr_ia32): Likewise.
5190         (__libc_strstr): New prototype.
5191         (strstr): Renamed to ...
5192         (__libc_strstr): This.
5193         (strstr): New strong alias of __libc_strstr.
5194         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
5195         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
5196         __redirect_time.
5197         Include <time.h>.
5198         (__libc_time): New prototype.
5199         (time_ifunc): Replace time with __libc_time.
5200         (time): New strong alias and hidden definition of __libc_time.
5201         (__GI_time): Remove strong alias.
5202         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
5203         Include <stddef.h>.
5204         (memmove): Redefined to __redirect_memmove.
5205         (__memmove_sse2): Use typeof __redirect_memmove.
5206         (__memmove_ssse3): Likewise.
5207         (__memmove_ssse3_back): Likewise.
5208         (__libc_memmove): New prototype.
5209         (memmove): Renamed to ...
5210         (__libc_memmove): This.
5211         (memmove): New strong alias of __libc_memmove.
5213 2012-08-08  Mark Salter  <msalter@redhat.com>
5215         * elf/elf.h
5216         (R_MN10300_TLS_GD): Define.
5217         (R_MN10300_TLS_LD): Likewise.
5218         (R_MN10300_TLS_LDO): Likewise.
5219         (R_MN10300_TLS_GOTIE): Likewise.
5220         (R_MN10300_TLS_IE): Likewise.
5221         (R_MN10300_TLS_LE): Likewise.
5222         (R_MN10300_TLS_DTPMOD): Likewise.
5223         (R_MN10300_TLS_DTPOFF): Likewise.
5224         (R_MN10300_TLS_TPOFF): Likewise.
5225         (R_MN10300_SYM_DIFF): Likewise.
5226         (R_MN10300_ALIGN): Likewise.
5227         (R_MN10300_NUM): Update.
5229 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
5231         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
5232         Remove.
5234 2012-08-08  Roland McGrath  <roland@hack.frob.com>
5236         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
5238         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
5239         sysdeps/unix -> sysdeps/posix move.
5240         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5242 2012-08-07      Allan McRae     <allan@archlinux.org>
5244         [BZ #14303]
5245         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
5246         (SUNOS_CPP): Likewise.
5247         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
5248         not found.
5249         (open_input): Call CPP using execvp.
5251 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
5253         * sysdeps/unix/sysv/linux/kernel-features.h
5254         (__ASSUME_PROT_GROWSUPDOWN): Remove.
5255         (__ASSUME_NO_CLONE_DETACHED): Likewise.
5256         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5257         (__ASSUME_WAITID_SYSCALL): Likewise.
5258         * sysdeps/unix/sysv/linux/dl-execstack.c
5259         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
5260         code unconditional.
5261         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
5262         conditional code.
5263         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
5264         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
5265         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
5266         code.
5267         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
5268         unconditional.
5269         [__ASSUME_WAITID_SYSCALL]: Likewise.
5270         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
5272 2012-08-07  Roland McGrath  <roland@hack.frob.com>
5274         * sysdeps/unix/closedir.c: Renamed to ...
5275         * sysdeps/posix/closedir.c: ... here.
5276         * sysdeps/unix/dirfd.c: Renamed to ...
5277         * sysdeps/posix/dirfd.c: ... here.
5278         * sysdeps/unix/dirstream.h: Renamed to ...
5279         * sysdeps/posix/dirstream.h: ... here.
5280         * sysdeps/unix/fdopendir.c: Renamed to ...
5281         * sysdeps/posix/fdopendir.c: ... here.
5282         * sysdeps/unix/opendir.c: Renamed to ...
5283         * sysdeps/posix/opendir.c: ... here.
5284         * sysdeps/unix/readdir.c: Renamed to ...
5285         * sysdeps/posix/readdir.c: ... here.
5286         * sysdeps/unix/readdir_r.c: Renamed to ...
5287         * sysdeps/posix/readdir_r.c: ... here.
5288         * sysdeps/unix/rewinddir.c: Renamed to ...
5289         * sysdeps/posix/rewinddir.c: ... here.
5290         * sysdeps/unix/seekdir.c: Renamed to ...
5291         * sysdeps/posix/seekdir.c: ... here.
5292         * sysdeps/unix/telldir.c: Renamed to ...
5293         * sysdeps/posix/telldir.c: ... here.
5294         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
5295         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
5296         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
5297         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
5299         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
5300         * bits/fcntl.h: ... here.
5302         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
5303         not 0.
5304         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
5305         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
5306         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
5307         (struct flock): Move l_start, l_len to the beginning.
5308         Use __pid_t for l_pid.
5309         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
5310         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
5311         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
5312         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
5313         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
5314         [__USE_LARGEFILE64] (struct flock64): New type.
5315         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
5317         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
5318         * bits/dirent.h: ... here.
5320         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
5321         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
5323 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
5325         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5326         Change from 2.6.0 to 2.6.16.
5327         * sysdeps/unix/sysv/linux/configure: Regenerated.
5328         * sysdeps/unix/sysv/linux/kernel-features.h
5329         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
5330         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
5331         version.
5332         (__ASSUME_UTIMES): Likewise.
5333         (__ASSUME_CLONE_STOPPED): Remove.
5334         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
5335         architectures, not kernel version.
5336         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
5337         (__ASSUME_NO_CLONE_DETACHED): Likewise.
5338         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5339         (__ASSUME_WAITID_SYSCALL): Likewise.
5340         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
5341         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
5342         * README: State 2.6.16 as minimum Linux kernel version.  Do not
5343         refer to older versions.
5345 2012-08-06  Roland McGrath  <roland@hack.frob.com>
5347         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
5348         Define alphasort64 as an alias.
5349         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
5350         Define versionsort64 as an alias.
5351         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
5352         Define scandir64 as an alias.
5353         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
5354         Define scandirat64 as an alias.
5355         * dirent/alphasort64.c (alphasort64):
5356         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
5357         * dirent/versionsort64.c: Likewise.
5358         * dirent/scandir64.c: Likewise.
5359         * dirent/scandirat64.c: Likewise.
5360         * sysdeps/wordsize-64/alphasort.c: File removed.
5361         * sysdeps/wordsize-64/alphasort64.c: File removed.
5362         * sysdeps/wordsize-64/scandir.c: File removed.
5363         * sysdeps/wordsize-64/scandir64.c: File removed.
5364         * sysdeps/wordsize-64/scandirat.c: File removed.
5365         * sysdeps/wordsize-64/scandirat64.c: File removed.
5366         * sysdeps/wordsize-64/versionsort.c: File removed.
5367         * sysdeps/wordsize-64/versionsort64.c: File removed.
5368         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
5369         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
5370         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
5371         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
5372         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
5373         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
5374         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
5375         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
5377         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
5378         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5379         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
5380         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5381         [defined __arch64__ || defined __sparcv9]
5382         (__INO_T_MATCHES_INO64_T): New macro.
5383         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5384         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
5385         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
5386         * sysdeps/unix/sysv/linux/bits/dirent.h
5387         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
5388         (_DIRENT_MATCHES_DIRENT64): New macro.
5390         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
5391         Define lockf64 as an alias.
5392         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
5393         Define fseeko64 as an alias.
5394         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
5395         Define ftello64 as an alias.
5396         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
5397         Define _IO_fgetpos64 and fgetpos64 as aliases.
5398         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
5399         Define _IO_fsetpos64 and fsetpos64 as aliases.
5400         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
5401         Conditionalize body on this.
5402         * libio/fseeko64.c: Likewise.
5403         * libio/ftello64.c: Likewise.
5404         * libio/iofgetpos64.c: Likewise.
5405         * libio/iofsetpos64.c: Likewise.
5406         * sysdeps/wordsize-64/lockf.c: File removed.
5407         * sysdeps/wordsize-64/lockf64.c: File removed.
5408         * sysdeps/wordsize-64/fseeko.c: File removed.
5409         * sysdeps/wordsize-64/fseeko64.c: File removed.
5410         * sysdeps/wordsize-64/ftello.c: File removed.
5411         * sysdeps/wordsize-64/ftello64.c: File removed.
5412         * sysdeps/wordsize-64/iofgetpos.c: File removed.
5413         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
5414         * sysdeps/wordsize-64/iofsetpos.c: File removed.
5415         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
5416         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
5417         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
5418         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
5419         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
5420         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
5421         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
5422         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
5423         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
5424         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
5425         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
5427         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5428         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5429         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
5430         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5431         [defined __arch64__ || defined __sparcv9]
5432         (__OFF_T_MATCHES_OFF64_T): New macro.
5433         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5434         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5435         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5436         (__OFF_T_MATCHES_OFF64_T): New macro.
5438 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
5440         * stdlib/secure-getenv.c (__secure_getenv): Replace
5441         GLIBC_2_16 with GLIBC_2_17.
5443 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
5445         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
5446         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5448 2012-08-03  David S. Miller  <davem@davemloft.net>
5450         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5452 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
5454         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
5455         Remove.
5456         (__ASSUME_CORRECT_SI_PID): Likewise.
5457         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
5458         (__ASSUME_TMPFS_NAME): Likewise.
5459         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
5460         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
5461         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
5462         (HAVE_AUX_SECURE): Make definition unconditional.
5463         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
5464         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
5466 2012-08-03  Roland McGrath  <roland@hack.frob.com>
5468         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
5469         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
5470         * sysdeps/mach/hurd/eloop-threshold.h: New file.
5471         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5472         __eloop_threshold instead of SYMLOOP_MAX.
5474         * sysdeps/generic/eloop-threshold.h: New file.
5475         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
5476         of MAXSYMLINKS.
5477         * elf/chroot_canon.c (chroot_canon): Likewise.
5479 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
5481         [BZ #13717]
5482         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5483         Change to 2.6.0 everywhere.
5484         * sysdeps/unix/sysv/linux/configure: Regenerated.
5485         * sysdeps/unix/sysv/linux/kernel-features.h
5486         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
5487         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
5488         kernel versions.
5489         (__ASSUME_POSIX_TIMERS): Define unconditionally.
5490         (__ASSUME_FUTEX_REQUEUE): Remove.
5491         (__ASSUME_STATFS64): Define unconditionally.
5492         (__ASSUME_AT_SECURE): Likewise.
5493         (__ASSUME_CORRECT_SI_PID): Likewise.
5494         (__ASSUME_TGKILL): Define without depending on kernel version for
5495         i386.
5496         (__ASSUME_UTIMES): Likewise.
5497         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
5498         kernel version.
5499         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
5500         (__ASSUME_TMPFS_NAME): Likewise.
5501         * README: Update reference to Linux kernel versions.
5503 2012-08-02  Marek Polacek  <polacek@redhat.com>
5505         [BZ# 14150]
5506         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
5507         libc_cv_asm_type_prefix with %.
5508         * configure: Regenerated.
5509         * include/libc-symbols.h: Remove comment about
5510         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5511         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
5512         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
5513         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
5514         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
5515         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5516         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
5517         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
5518         * elf/tst-unique2mod1.c: Likewise.
5519         * elf/tst-unique1mod2.c: Likewise.
5520         * elf/tst-unique1mod1.c: Likewise.
5521         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
5522         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
5523         Replace ASM_TYPE_DIRECTIVE with .type.
5524         * sysdeps/s390/s390-64/sysdep.h: Likewise.
5525         * sysdeps/i386/sysdep.h: Likewise.
5526         * sysdeps/x86_64/sysdep.h: Likewise.
5527         * sysdeps/sh/sysdep.h: Likewise.
5528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5529         Do not define ASM_TYPE_DIRECTIVE.
5530         * sysdeps/powerpc/sysdep.h: Likewise.
5531         * sysdeps/powerpc/powerpc32/sysdep.h:
5532         Replace ASM_TYPE_DIRECTIVE with .type.
5533         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5534         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5535         * sysdeps/i386/fpu/e_powf.S: Likewise.
5536         * sysdeps/i386/fpu/e_expl.S: Likewise.
5537         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5538         * sysdeps/i386/fpu/e_acosh.S: Likewise.
5539         * sysdeps/i386/fpu/e_pow.S: Likewise.
5540         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5541         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5542         * sysdeps/i386/fpu/s_expm1.S: Likewise.
5543         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5544         * sysdeps/i386/fpu/e_log2.S: Likewise.
5545         * sysdeps/i386/fpu/e_log2l.S: Likewise.
5546         * sysdeps/i386/fpu/e_scalb.S: Likewise.
5547         * sysdeps/i386/fpu/e_powl.S: Likewise.
5548         * sysdeps/i386/fpu/e_log10f.S: Likewise.
5549         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5550         * sysdeps/i386/fpu/e_logl.S: Likewise.
5551         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5552         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5553         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5554         * sysdeps/i386/fpu/e_log2f.S: Likewise.
5555         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5556         * sysdeps/i386/fpu/e_log.S: Likewise.
5557         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5558         * sysdeps/i386/fpu/e_logf.S: Likewise.
5559         * sysdeps/i386/fpu/e_log10l.S: Likewise.
5560         * sysdeps/i386/fpu/e_atanh.S: Likewise.
5561         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5562         * sysdeps/i386/fpu/e_log10.S: Likewise.
5563         * sysdeps/i386/fpu/s_frexp.S: Likewise.
5564         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5565         * sysdeps/i386/fpu/s_asinh.S: Likewise.
5566         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5567         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5568         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
5569         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5570         * sysdeps/i386/i686/strtok.S: Likewise.
5571         * sysdeps/i386/i386-mcount.S: Likewise.
5572         * sysdeps/i386/strtok.S: Likewise.
5573         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
5574         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5575         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5576         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5577         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5578         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5579         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5580         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5581         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5582         * sysdeps/x86_64/_mcount.S: Likewise.
5583         * sysdeps/x86_64/strtok.S: Likewise.
5584         * sysdeps/sh/_mcount.S: Likewise.
5586 2012-08-01  Roland McGrath  <roland@hack.frob.com>
5588         * libio/iofopen.c: Include <fcntl.h>.
5589         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
5590         (_IO_fopen64, fopen64): Define as aliases.
5591         * libio/iofopen64.c: Include <fcntl.h>.
5592         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
5593         Conditionalize body on this.
5594         * sysdeps/wordsize-64/iofopen.c: File removed.
5595         * sysdeps/wordsize-64/iofopen64.c: File removed.
5597 2012-08-01  Marek Polacek  <polacek@redhat.com>
5599         * libc/Makeconfig: Use elf in place of binfmt-subdir.
5600         Use dlfcn directly instead of a variable.
5601         (binfmt-subdir): Do not define.
5602         (dlfcn): Likewise.
5604 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
5606         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
5607         Remove all definitions.
5608         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
5609         <kernel-features.h>.
5610         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5611         (miss_F_GETOWN_EX): Remove all definitions.
5612         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
5613         macro definition.
5614         [!__ASSUME_FCNTL64]: Remove conditional code.
5615         [__ASSUME_FCNTL64]: Make code unconditional.
5616         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
5617         <kernel-features.h>.
5618         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5619         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
5620         (lockf64) [__NR_fcntl64]: Make code unconditional.
5621         (lockf64) [__ASSUME_FCNTL64]: Likewise.
5623         * sysdeps/unix/sysv/linux/kernel-features.h
5624         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
5625         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
5626         Make code unconditional.
5627         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5628         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
5630         [__NR_vfork]: Make code unconditional.
5631         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5632         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
5634         [__NR_vfork]: Make code unconditional.
5635         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5636         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5638 2012-08-01  Roland McGrath  <roland@hack.frob.com>
5640         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
5641         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
5643         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5644         Define mkstemp64 as an alias.
5645         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5646         Define mkstemps64 as an alias.
5647         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5648         Define mkostemp64 as an alias.
5649         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5650         Define mkostemps64 as an alias.
5651         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
5652         Conditionalize body on this.
5653         * misc/mkostemp64.c: Likewise.
5654         * misc/mkostemps64.c: Likewise.
5655         * misc/mkstemps64.c: Likewise.
5656         * sysdeps/wordsize-64/mkstemp64.c: File removed.
5657         * sysdeps/wordsize-64/mkostemp64.c: File removed.
5658         * sysdeps/wordsize-64/mkostemp.c: File removed.
5659         * sysdeps/wordsize-64/mkstemp.c: File removed.
5660         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
5661         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
5662         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
5663         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
5665         [BZ #14138]
5666         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
5667         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
5668         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
5669         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
5671         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
5672         compat_symbol macros from <shlib-compat.h> rather than the underlying
5673         default_symbol_version and symbol_version macros, so that DEFAULT
5674         lines in shlib-versions are respected.
5675         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
5677 2012-08-01  Florian Weimer  <fweimer@redhat.com>
5679         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
5680         Declare with warn_unused_result.
5681         (setgid, setregid, setegid, setresgid): Likewise.
5682         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
5683         Likewise.
5684         * WUR-REPORT: Remove set*id functions.
5686 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
5688         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
5690 2012-07-31  Roland McGrath  <roland@hack.frob.com>
5692         * include/sys/socket.h (__libc_accept, __libc_accept4):
5693         Add attribute_hidden.
5694         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
5696         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
5697         use of PTR_MANGLE.
5698         * inet/getnetgrent_r.c (setup): Likewise.
5700         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
5702 2012-07-31  David S. Miller  <davem@davemloft.net>
5704         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5706 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
5708         [BZ #13629]
5709         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
5710         value between 1.0 and 2.0 and smaller part has absolute value less
5711         than 1.0.
5712         * math/s_clog10.c (__clog10): Likewise.
5713         * math/s_clog10f.c (__clog10f): Likewise.
5714         * math/s_clog10l.c (__clog10l): Likewise.
5715         * math/s_clogf.c (__clogf): Likewise.
5716         * math/s_clogl.c (__clogl): Likewise.
5717         * math/libm-test.inc (clog_test): Add more tests.
5718         (clog10_test): Likewise.
5719         * sysdeps/i386/fpu/libm-test-ulps: Update.
5720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5722 2012-07-31  Florian Weimer  <fweimer@redhat.com>
5724         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
5725         Exit with zero in case no suitable GID is found, and write a
5726         message to standard error.
5728 2012-07-30  Roland McGrath  <roland@hack.frob.com>
5730         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
5731         rather than to 1.
5732         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
5733         (MAXPATHLEN): Removed.
5734         (NOGROUP, NODEV): New macros.
5735         (setbit, clrbit, isset, isclr): New macros.
5736         (howmany, roundup, powerof2): New macros.
5737         (DEV_BSIZE): New macro.
5739         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
5740         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
5742         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
5743         definition on [!__NO_LONG_DOUBLE_MATH].
5745         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
5746         PTR_MANGLE and PTR_DEMANGLE.
5748         * socket/accept4.c (accept4): Rename to __libc_accept4.
5749         Define accept4 as a weak alias.
5751         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
5752         on [_DIRENT_HAVE_D_TYPE].
5753         * io/ftw.c (ftw_dir): Likewise.
5755         * io/xmknod.c (__xmknod): Don't check PATH for being null.
5757         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
5759         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
5760         Use the BSD numbers rather than the arbitrary ones we had.
5761         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
5762         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
5763         (SIGXCPU, SIGXFSZ): New macros.
5764         (_NSIG): Now 32.
5766         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
5767         initializer on [_LIBC_REENTRANT].
5769         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
5770         definitions inside [_POSIX_MAPPED_FILES].
5772         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
5774         * dirent/opendir.c: Include <fcntl.h>.
5776         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
5777         (__libc_getspecific): Likewise.
5778         (__libc_key_create): Likewise.
5780         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
5781         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
5782         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
5783         (tmpfile64): Define as alias.
5784         * sysdeps/wordsize-64/tmpfile.c: File removed.
5785         * sysdeps/wordsize-64/tmpfile64.c: File removed.
5786         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
5787         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
5789         * stdio-common/vfscanf.c: Include <stdbool.h>.
5790         * nss/makedb.c: Likewise.
5791         * stdio-common/_i18n_number.h: Likewise.
5792         * argp/argp-help.c: Likewise.
5793         * posix/wordexp.c: Likewise.
5794         * sysdeps/posix/spawni.c: Likewise.
5795         * nss/nss_files/files-initgroups.c: Likewise.
5796         * stdio-common/reg-modifier.c: Include <stdlib.h>.
5797         * nss/nss_files/files-initgroups.c: Likewise.
5798         * nss/nss_db/db-netgrp.c: Likewise.
5799         * nss/nss_db/db-initgroups.c: Likewise.
5800         * io/fchmodat.c: Include <sys/stat.h>.
5802         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
5803         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
5805         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
5806         [HAVE_MMAP].
5808         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
5809         Add multiple inclusion protection.
5811 2012-07-27  David S. Miller  <davem@davemloft.net>
5813         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5815 2012-07-27  Gary Benson  <gbenson@redhat.com>
5817         [BZ #14298]
5818         * elf/rtld.c: Include <stap-probe.h>.
5819         (dl_main): Added static probes "init_start" and "init_complete".
5820         * elf/dl-load.c: Include <stap-probe.h>.
5821         (lose): Take new parameter "nsid".
5822         Added static probe "map_failed".
5823         (_dl_map_object_from_fd): Pass namespace id to lose.
5824         Added static probe "map_start".
5825         (open_verify): Pass namespace id to lose.
5826         * elf/dl-open.c: Include <stap-probe.h>.
5827         (dl_open_worker) Added static probes "map_complete", "reloc_start"
5828         and "reloc_complete".
5829         * elf/dl-close.c: Include <stap-probe.h>.
5830         (_dl_close_worker): Added static probes "unmap_start" and
5831         "unmap_complete".
5832         * elf/rtld-debugger-interface.txt: New file documenting the above.
5834 2012-07-26  Roland McGrath  <roland@hack.frob.com>
5836         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
5837         rather than a string variable.
5838         * sunrpc/rpc_main.c (h_output): Likewise.
5839         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
5841 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
5843         * inet/check_native.c: New file.
5845 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
5847         [BZ #13629]
5848         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
5849         if larger part has absolute value 1.0.
5850         * math/s_clog10.c (__clog10): Likewise.
5851         * math/s_clog10f.c (__clog10f): Likewise.
5852         * math/s_clog10l.c (__clog10l): Likewise.
5853         * math/s_clogf.c (__clogf): Likewise.
5854         * math/s_clogl.c (__clogl): Likewise.
5855         * math/libm-test.inc (clog_test): Add more tests.
5856         (clog10_test): Likewise.
5857         * sysdeps/i386/fpu/libm-test-ulps: Update.
5858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5860         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
5861         (pltexit): Likewise.
5862         (La_regs): Likewise.
5863         (La_retval): Likewise.
5864         (int_retval): Likewise.
5865         Update #error for removed macros to refer only to definitions in
5866         tst-audit.h.
5867         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
5868         macro.
5869         (pltexit): Likewise.
5870         (La_regs): Likewise.
5871         (La_retval): Likewise.
5872         (int_retval): Likewise.
5873         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
5874         macro.
5875         (pltexit): Likewise.
5876         (La_regs): Likewise.
5877         (La_retval): Likewise.
5878         (int_retval): Likewise.
5879         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
5880         macro.
5881         (pltexit): Likewise.
5882         (La_regs): Likewise.
5883         (La_retval): Likewise.
5884         (int_retval): Likewise.
5885         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
5886         macro.
5887         (pltexit): Likewise.
5888         (La_regs): Likewise.
5889         (La_retval): Likewise.
5890         (int_retval): Likewise.
5891         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
5892         macro.
5893         (pltexit): Likewise.
5894         (La_regs): Likewise.
5895         (La_retval): Likewise.
5896         (int_retval): Likewise.
5897         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
5898         macro.
5899         (pltexit): Likewise.
5900         (La_regs): Likewise.
5901         (La_retval): Likewise.
5902         (int_retval): Likewise.
5903         * sysdeps/generic/tst-audit.h: Update comment to refer only to
5904         macro definitions in tst-audit.h.
5905         * sysdeps/i386/tst-audit.h: New file.
5906         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
5907         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
5908         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
5909         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
5910         * sysdeps/sh/tst-audit.h: Likewise.
5911         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
5912         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
5913         * sysdeps/x86_64/tst-audit.h: Likewise.
5915 2012-07-26  Andreas Jaeger  <aj@suse.de>
5917         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
5918         ptrace.
5920         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
5921         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
5922         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
5923         PTRACE_O_MASK.
5924         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
5925         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
5926         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
5928         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
5929         value.
5931         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
5932         _sigsys.
5933         (si_call_addr, si_syscall, si_arch): Define new macro.
5934         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
5935         _sigsys.
5936         (si_call_addr, si_syscall, si_arch): Define new marcro.
5937         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
5938         _sigsys.
5939         (si_call_addr, si_syscall, si_arch): Define new macro.
5940         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
5941         _sigsys.
5942         (si_call_addr, si_syscall, si_arch): Define new macro.
5944 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
5946         [BZ #13717]
5947         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5948         Change to 2.4.21 where previously 2.4.1.
5949         * sysdeps/unix/sysv/linux/configure: Regenerated.
5950         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
5951         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
5952         Linux kernel version.
5953         (__ASSUME_STD_AUXV): Remove.
5954         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
5955         kernel version.
5956         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
5957         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
5958         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
5959         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
5960         (__ASSUME_NETLINK_SUPPORT): Likewise.
5961         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
5962         (__no_netlink_support): Remove conditional definition.
5963         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
5964         Remove.
5965         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5966         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
5967         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
5968         (if_nameindex_ioctl): Remove.
5969         (if_nameindex_netlink): Do not handle __no_netlink_support.
5970         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5971         code.
5972         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
5973         Remove conditional code.
5974         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5975         code.
5976         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
5977         unconditional.
5978         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5979         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
5980         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
5981         Remove.
5982         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
5983         [!__ASSUME_STD_AUXV]: Remove conditional code.
5984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
5985         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
5986         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
5987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
5988         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
5989         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5990         code.
5991         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5993         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
5994         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5995         conditional code.
5996         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5998         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5999         code.
6000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6001         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6002         conditional code.
6003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
6004         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6005         code unconditional.
6006         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6007         conditional code.
6008         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6009         unconditional.
6010         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6011         conditional code.
6012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6013         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6014         unconditional.
6015         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6016         conditional code.
6017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
6018         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6019         code unconditional.
6020         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6021         conditional code.
6022         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6023         unconditional.
6024         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6025         conditional code.
6026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
6027         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6028         code unconditional.
6029         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6030         conditional code.
6031         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6032         unconditional.
6033         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6034         conditional code.
6036 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
6038         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
6039         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
6040         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6041         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
6042         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
6043         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6044         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6045         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
6046         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
6047         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6048         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
6049         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
6050         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
6051         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6052         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
6053         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
6054         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
6055         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
6056         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
6057         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
6058         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
6059         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
6060         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6062 2012-07-25  Florian Weimer  <fweimer@redhat.com>
6064         * Versions.def: Add GLIBC_2.17.
6065         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
6066         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
6067         Introduce __libc_secure_getenv.
6068         * stdlib/Versions (2.17): Add secure_getenv
6069         (GLIBC_PRIVATE): Add __libc_secure_getenv.
6070         * stdlib/secure-getenv.c: Rename __secure_getenv to
6071         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
6072         symbol __secure_getenv for GLIBC_2.0.
6073         * stdlib/tst-secure-getenv.c: New.
6074         * stdlib/Makefile (tests): Add testcase.
6075         * manual/startup.texi (Environment Access): Document
6076         secure_getenv.
6077         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
6078         __libc_secure_getenv.
6079         * inet/ruserpass.c (ruserpass): Likewise.
6080         * malloc/mtrace.c (mtrace): Likewise.
6081         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
6082         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
6083         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
6084         * sysdeps/posix/tempname.c: Likewise.  Evaluate
6085         HAVE_SECURE_GETENV.
6086         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
6087         __secure_getenv to __libc_secure_getenv.
6088         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
6089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6090         Likewise.
6091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6092         Likewise.
6093         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6094         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6095         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6096         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6097         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6098         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6099         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
6101 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
6103         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
6104         (struct La_i86_retval): Likewise.
6105         (struct La_x86_64_regs): Likewise.
6106         (struct La_x86_64_retval): Likewise.
6107         (struct La_x32_regs): Likewise.
6108         (struct La_x32_retval): Likewise.
6109         (struct La_ppc32_regs): Likewise.
6110         (struct La_ppc32_retval): Likewise.
6111         (struct La_ppc64_regs): Likewise.
6112         (struct La_ppc64_retval): Likewise.
6113         (struct La_sh_regs): Likewise.
6114         (struct La_sh_retval): Likewise.
6115         (struct La_s390_32_regs): Likewise.
6116         (struct La_s390_32_retval): Likewise.
6117         (struct La_s390_64_regs): Likewise.
6118         (struct La_s390_64_retval): Likewise.
6119         (struct La_sparc32_regs): Likewise.
6120         (struct La_sparc32_retval): Likewise.
6121         (struct La_sparc64_regs): Likewise.
6122         (struct La_sparc64_retval): Likewise.
6123         (struct audit_ifaces): Remove architecture-specific pltenter and
6124         pltexit members.
6125         * sysdeps/i386/ldsodefs.h: New file.
6126         * sysdeps/powerpc/ldsodefs.h: Likewise.
6127         * sysdeps/s390/ldsodefs.h: Likewise.
6128         * sysdeps/sh/ldsodefs.h: Likewise.
6129         * sysdeps/sparc/ldsodefs.h: Likewise.
6130         * sysdeps/x86_64/ldsodefs.h: Likewise.
6132 2012-07-25  Marek Polacek  <polacek@redhat.com>
6134         [BZ #6808]
6135         * math/libm-test.inc (yn_test): Add another test.
6136         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
6137         to ERANGE when the result is +-Inf.
6138         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6139         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
6140         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
6141         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
6143 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
6145         * conform/data/time.h-data (NULL): Use macro-constant.  Require
6146         equal to 0.
6147         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
6148         clock_t.
6149         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
6151 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
6153         * configure.in <sysdeps resolving>: Correct printing
6154         Implies_before.
6155         * configure: Regenerate.
6157 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
6159         * math/w_ilogb.c: Include <limits.h>.
6160         * math/w_ilogbl.c: Likewise.
6162 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
6164         * manual/lang.texi (__va_copy): Document primarily as ISO C99
6165         va_copy.  Document allowing for unavailable va_copy only as
6166         pre-C99 compatibility.
6167         * manual/string.texi (Copying and Concatenation): Use va_copy
6168         instead of __va_copy in concat example.
6170 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
6172         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
6173         (__sendto): Use create_address_port.  Initialize APORT and deallocate
6174         it if not null.
6176         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
6177         with O_NOLINK passed to __file_name_lookup.
6179         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
6180         with O_NOLINK passed to __file_name_lookup.
6182         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
6183         negative N or less than NGIDS.
6185         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
6186         type to string_t.  Set ERANGE as errno and return it if NAME is not big
6187         enough.  Use memcpy instead of strncpy.
6189 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
6191         * elf/Makefile (check-data): Remove.
6192         (localplt.data): New vpath directive.
6193         ($(objpfx)check-localplt.out): Use localplt.data from vpath
6194         instead of $(check-data).
6195         * scripts/data/localplt-generic.data: Move to ...
6196         * sysdeps/generic/localplt.data: ... here.
6197         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
6198         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
6199         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
6200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6201         ... here.
6202         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
6203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
6204         ... here.
6205         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
6206         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
6207         ... here.
6208         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
6209         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6210         ... here.
6211         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
6212         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
6213         ... here.
6214         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
6215         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
6216         ... here.
6218 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6220         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
6221         PPC32 and PPC64 files.
6222         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
6223         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
6225 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6227         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
6228         __makecontext_ret to ...
6229         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
6230         ... here and call exit if uc_link is NULL.  New file.
6231         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
6232         __makecontext_ret.S.
6233         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
6234         __makecontext_ret to ...
6235         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
6236         ... here and call exit if uc_link is NULL.  New file.
6237         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
6238         __makecontext_ret.S.
6240 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6242         * elf/elf.h (R_390_IRELATIVE): New definition.
6243         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
6244         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
6245         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
6246         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6247         (elf_machine_lazy_rel): Likewise.
6248         * sysdeps/s390/dl-irel.h: New file.
6249         * sysdeps/s390/s390-64/memcpy.S: New asm code.
6250         * sysdeps/s390/s390-64/memset.S: New asm code.
6251         * sysdeps/s390/s390-64/memcmp.S: New asm code.
6252         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
6253         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
6254         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
6255         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
6256         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
6257         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
6258         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
6259         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
6260         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
6261         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
6262         * sysdeps/s390/s390-32/memcpy.S: New asm code.
6263         * sysdeps/s390/s390-32/memset.S: New asm code.
6264         * sysdeps/s390/s390-32/memcmp.S: New asm code.
6266 2012-07-17  Marek Polacek  <polacek@redhat.com>
6268         [BZ #14349]
6269         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
6270         * sysdeps/s390/s390-64/configure.in: Likewise.
6271         * sysdeps/sparc/configure.in: Likewise.
6272         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
6273         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
6274         * sysdeps/i386/configure.in: Likewise.
6275         * sysdeps/x86_64/configure.in: Likewise.
6276         * sysdeps/sh/configure.in: Likewise.
6277         * sysdeps/s390/s390-32/configure: Regenerated.
6278         * sysdeps/s390/s390-64/configure: Likewise.
6279         * sysdeps/x86_64/configure: Likewise.
6280         * sysdeps/sh/configure: Likewise.
6281         * sysdeps/powerpc/powerpc64/configure: Likewise.
6282         * sysdeps/powerpc/powerpc32/configure: Likewise.
6283         * sysdeps/sparc/configure: Likwise.
6284         * sysdeps/i386/configure: Likewise.
6286         * elf/dl-open.c: Comment fixes.
6288 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
6290         * Makefile [CXX] (check-data): Remove.
6291         [CXX] (c++-types.data): New vpath directive.
6292         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
6293         vpath.  Do not allow for C++ type data being missing.
6294         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
6295         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
6296         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
6297         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
6298         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
6299         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
6300         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
6301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6302         ... here.
6303         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
6304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6305         ... here.
6306         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
6307         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
6308         ... here.
6309         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
6310         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
6311         ... here.
6312         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
6313         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
6314         ... here.
6315         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
6316         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
6317         ... here.
6318         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
6319         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
6320         ... here.
6321         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
6322         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
6324         * elf/tls-macros.h (TLS_LE): Move architecture-specific
6325         definitions to architecture-specific files.
6326         (TLS_IE): Likewise.
6327         (TLS_LD): Likewise.
6328         (TLS_GD): Likewise.
6329         * sysdeps/i386/tls-macros.h: New file.
6330         * sysdeps/powerpc/tls-macros.h: Likewise.
6331         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
6332         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
6333         * sysdeps/sh/tls-macros.h: Likewise.
6334         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
6335         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
6336         * sysdeps/x86_64/tls-macros.h: Likewise.
6338 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
6340         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
6341         zero value for regular exit case.
6343         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6344         (__start_context): Preserve zero value for regular exit case.
6346 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
6347             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6349         * manual/setjmp.texi (setcontext): Clarify normal process
6350         termination when uc_link is the null pointer.
6351         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
6352         exit call.
6354 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
6356         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
6357         preprocessor.  Test for each exception mask separately.
6359 2012-07-16  Andreas Jaeger  <aj@suse.de>
6361         * po/ru.po: Update from translation team.
6363 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
6365         * conform/data/string.h-data (NULL): Use macro-constant.  Require
6366         equal to 0.
6367         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6368         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6369         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
6370         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
6371         [ISO || ISO99 || ISO11] (*_t): Do not allow.
6373 2012-07-13  Andreas Jaeger  <aj@suse.de>
6375         * po/fr.po: Update from translation team.
6377 2012-07-12  Marek Polacek  <polacek@redhat.com>
6379         [BZ #14173]
6380         * math/libm-test.inc (yn_test): Add test for BZ #14173.
6381         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
6382         loop condition.
6384 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
6386         [BZ #13717]
6387         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6388         Change to 2.4.1 where previously 2.4.0.
6389         * sysdeps/unix/sysv/linux/configure: Regenerated.
6390         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
6391         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
6392         version.
6393         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
6394         (__ASSUME_AT_CLKTCK): Remove.
6395         (__ASSUME_AT_PAGESIZE): Likewise.
6396         (__ASSUME_AT_XID): Likewise.
6397         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
6398         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
6399         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
6400         unconditionally.
6401         (HAVE_AUX_PAGESIZE): Likewise.
6402         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
6403         [__ASSUME_AT_CLKTCK]: Make code unconditional.
6404         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
6406 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
6408         [BZ #14307]
6409         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
6410         the temporary buffer used to invoke __gethostbyname2_r,
6411         __gethostbyaddr_r and gethostbyname4_r to make room for struct
6412         host_data / struct gaih_addrtuple.
6413         * resolv/nss_dns/dns-host.c (global scope): Move definition of
6414         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
6415         header file nss/nsswitch.h.
6416         * nss/nsswitch.h (global scope): Add definition of implementation
6417         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
6418         resolv/nss_dns/dns-host.c).
6420 2012-07-11  Andreas Jaeger  <aj@suse.de>
6422         * po/fr.po: Update from translation team.
6424         * po/sv.po: Update from translation team
6425         * po/fr.po: Another update from translation team.
6427 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6429         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
6430         for subnormals or multiply small sinh result by itself.
6431         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6432         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6434 2012-07-11  David S. Miller  <davem@davemloft.net>
6436         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6438 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
6440         [BZ #14347]
6441         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
6442         (INTERNAL_MARK): Shift it here.
6444 2012-07-10  Marek Polacek  <polacek@redhat.com>
6446         [BZ #14151]
6447         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
6448         libc_cv_asm_global_directive with .globl.
6449         * configure: Regenerated.
6450         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
6451         with .globl.
6452         * sysdeps/i386/configure: Regenerated.
6453         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
6454         with .globl.
6455         * sysdeps/x86_64/configure: Regenerated.
6456         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
6457         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
6458         * elf/tst-unique2mod2.c: Likewise.
6459         * elf/tst-unique2mod1.c: Likewise.
6460         * elf/tst-unique1mod2.c: Likewise.
6461         * elf/tst-unique1mod1.c: Likewise.
6462         * sysdeps/s390/s390-32/sysdep.h: Likewise.
6463         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6464         * sysdeps/s390/s390-64/sysdep.h: Likewise.
6465         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6466         * sysdeps/mach/sysdep.h: Likewise.
6467         * sysdeps/i386/sysdep.h: Likewise.
6468         * sysdeps/i386/i386-mcount.S: Likewise.
6469         * sysdeps/x86_64/_mcount.S: Likewise.
6470         * sysdeps/x86_64/sysdep.h: Likewise.
6471         * sysdeps/sh/_mcount.S: Likewise.
6472         * sysdeps/sh/sysdep.h: Likewise.
6473         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
6474         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
6475         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
6476         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6477         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
6478         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
6479         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
6480         * locale/localeinfo.h: Likewise.
6481         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
6482         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
6484 2012-07-09  Roland McGrath  <roland@hack.frob.com>
6486         [BZ #14336]
6487         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
6488         system".
6489         * manual/message.texi (The Uniforum approach): Likewise.
6490         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
6491         (glibc iconv Implementation): Likewise.
6493 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
6495         [BZ #14337]
6496         * math/s_clog.c (__clog): Avoid scaling a value down where that
6497         could result in underflow.
6498         * math/s_clog10.c (__clog10): Likewise.
6499         * math/s_clog10f.c (__clog10f): Likewise.
6500         * math/s_clog10l.c (__clog10l): Likewise.
6501         * math/s_clogf.c (__clogf): Likewise.
6502         * math/s_clogl.c (__clogl): Likewise.
6503         * math/libm-test.inc (clog_test): Add more tests.
6504         (clog10_test): Likewise.
6505         * sysdeps/i386/fpu/libm-test-ulps: Update.
6506         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6508 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
6510         [BZ #14283]
6511         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
6512         by 7 not 8 to examine high bit of fractional part.
6514         [BZ #14042]
6515         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
6516         for call to __mcount_internal.
6517         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
6518         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
6519         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
6521 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
6523         [BZ #14154]
6524         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
6525         approximation for values within 0x1p-13f of an odd multiple of
6526         pi/4.
6527         * math/libm-test.inc (tan_test): Do not allow spurious underflow
6528         exception.  Add more tests.
6529         * sysdeps/i386/fpu/libm-test-ulps: Update.
6531         [BZ #6778]
6532         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
6533         inputs and return -1 for them.  Do not check for +Inf in case not
6534         reachable for +Inf.
6535         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6536         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
6537         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6538         and return -1 for them.  Do not check for +Inf in case not
6539         reachable for +Inf.
6540         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
6541         define.
6542         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6543         and return -1 for them.  Do not check for +Inf in case not
6544         reachable for +Inf.
6545         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
6546         spurious underflow.
6547         * sysdeps/i386/fpu/libm-test-ulps: Update.
6548         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6550 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
6552         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
6554 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
6556         [BZ #14157]
6557         [BZ #14331]
6558         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
6559         could result in spurious underflow.  Scale down values above
6560         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
6561         * math/s_csqrtf.c (__csqrtf): Likewise.
6562         * math/s_csqrtl.c (__csqrtl): Likewise.
6563         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
6564         spurious underflow.
6565         * sysdeps/i386/fpu/libm-test-ulps: Update.
6566         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6568 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
6570         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
6571         xopen-msg.sed.
6572         * catgets/xopen-msg.awk: New file.
6573         * catgets/xopen-msg.sed: Removed.
6575         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
6576         po2text.sed.
6577         * intl/po2test.awk: New file.
6578         * intl/po2test.sed: Removed.
6580 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
6582         [BZ #14328]
6583         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
6584         or multiply small sinh result by itself.
6585         * math/s_ctanf.c (__ctanf): Likewise.
6586         * math/s_ctanh.c (__ctanh): Likewise.
6587         * math/s_ctanhf.c (__ctanhf): Likewise.
6588         * math/s_ctanhl.c (__ctanhl): Likewise.
6589         * math/s_ctanl.c (__ctanl): Likewise.
6590         * math/libm-test.inc (ctan_test_tonearest): New function.
6591         (ctan_test_towardzero): Likewise.
6592         (ctan_test_downward): Likewise.
6593         (ctan_test_upward): Likewise.
6594         (ctanh_test_tonearest): Likewise.
6595         (ctanh_test_towardzero): Likewise.
6596         (ctanh_test_downward): Likewise.
6597         (ctanh_test_upward): Likewise.
6598         (main): Call these new functions.
6599         * sysdeps/i386/fpu/libm-test-ulps: Update.
6600         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6602 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
6604         * .gitignore: Delete /ports entry.
6606 2012-07-03  Andreas Jaeger  <aj@suse.de>
6608         * po/bg.po: Update from translation team.
6609         * po/cs.po: Likewise.
6610         * po/de.po: Likewise.
6611         * po/hr.po: Likewise.
6612         * po/nl.pl: Likewise.
6613         * po/pl.po: Likewise.
6614         * po/vi.po: Likewise.
6616 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
6618         * Makeconfig [!+link] (+link-before-libc): New variable.
6619         [!+link] (+link-after-libc): Likewise.
6620         [!+link] (+link-tests): Likewise.
6621         [!+link] (+link): Define in terms of $(+link-before-libc) and
6622         $(+link-after-libc).
6623         [!+link-static] (+link-static-before-libc): New variable.
6624         [!+link-static] (+link-static-after-libc): Likewise.
6625         [!+link-static] (+link-static-tests): Likewise.
6626         [!+link-static] (+link-static): Define in terms of
6627         $(+link-static-before-libc) and $(+link-static-after-libc).
6628         [build-shared] (link-libc-before-gnulib): New variable.
6629         [build-shared] (link-libc-tests): Likewise.
6630         [build-shared] (link-libc): Define in terms of
6631         $(link-libc-before-gnulib).
6632         [!build-shared] (link-libc-tests): New variable.
6633         (link-libc-static-tests): New variable.
6634         [!gnulib] (gnulib-arch): New variable.
6635         [!gnulib] (gnulib-tests): Likewise.
6636         [!gnulib] (static-gnulib-arch): Likewise.
6637         [!gnulib] (static-gnulib-tests): Likewise.
6638         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
6639         Define with "=" instead of ":=".
6640         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
6641         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
6642         * Rules (binaries-all-notests): New variable.
6643         (binaries-all-tests): Likewise.
6644         (binaries-static-notests): Likewise.
6645         (binaries-static-tests): Likewise.
6646         (binaries-all): Define using $(binaries-all-notests) and
6647         $(binaries-all-tests).
6648         (binaries-static): Define using $(binaries-static-notests) and
6649         $(binaries-static-tests).
6650         (binaries-shared-tests): New variable.
6651         (binaries-shared-notests): Likewise.
6652         (binaries-shared): Remove variable.
6653         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
6654         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
6655         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
6656         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
6657         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
6658         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
6659         * elf/Makefile (sln-modules): New variable.
6660         (extra-objs): Add $(sln-modules:=.o).
6661         (ldconfig-modules): Add static-stubs.
6662         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
6663         * elf/static-stubs.c: New file.
6665         [BZ #14283]
6666         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
6667         by 7 not 8 to examine high bit of fractional part.  Use volatile
6668         variables when splitting into final array of floats if
6669         __FLT_EVAL_METHOD__ != 0.
6670         * math/libm-test.inc (cos_test): Add another test.
6671         (sin_test): Likewise.
6672         * sysdeps/i386/fpu/libm-test-ulps: Update.
6674         [BZ #14273]
6675         * math/libm-test.inc (cosh_test): Add more tests.
6677         * version.h (RELEASE): Set to "development".
6678         (VERSION): Set to "2.16.90".
6680 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
6682         * NEWS: Update copyright. Remove last-updated date.
6683         Mention math library bug fixes and timezone data changes.
6684         * README: Mention GNU/Hurd, x32, and HPPA support status.
6686 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
6688         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
6690 2012-06-27  Andreas Jaeger  <aj@suse.de>
6692         * manual/contrib.texi (Contributors): Add Samuel Thibault.
6694 2012-06-25  Andreas Jaeger  <aj@suse.de>
6696         * sysdeps/s390/fpu/libm-test-ulps: Update.
6698 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
6699             Thomas Schwinge  <thomas@codesourcery.com>
6701         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
6702         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
6703         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
6704         fanotify_mark.
6706 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
6708         * sysdeps/mach/start.c: Remove file.
6709         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
6710         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
6711         * sysdeps/sh/init-first.c: Likewise.
6713         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
6714         registers for frame unwinding purposes, add CFI directives.
6715         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6716         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
6717         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
6718         Likewise.
6720         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
6721         __fortify_fail returning.
6722         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6724         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
6725         sysdeps/sh/____longjmp_chk.S.
6726         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
6727         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
6728         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
6729         (gen-as-const-headers): Append sigaltstack-offsets.sym.
6731         * sysdeps/sh/abort-instr.h: New file.
6732         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
6733         process in case exit returns.
6735         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
6736         initialize the GOT register before use.
6738         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
6739         calculation of ARGC > 4.
6741         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
6742         meaningful names to some local labels.
6744 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
6745             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6747         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
6748         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
6749         (__arch_compare_and_exchange_val_16_acq): Likewise.
6750         (__arch_compare_and_exchange_val_32_acq): Likewise.
6751         (atomic_exchange_and_add): Fix gUSA sequence.
6752         (atomic_add): Likewise.
6753         (atomic_add_negative): Likewise.
6754         (atomic_add_zero): Likewise.
6755         (atomic_bit_test_set): Likewise.
6757 2012-06-22  Andreas Schwab  <schwab@redhat.com>
6759         [BZ #13579]
6760         * include/link.h (struct link_map): Add l_free_initfini.
6761         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
6762         l_initfini.
6763         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
6764         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
6765         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
6766         set.
6768 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
6770         * configure.in: Use AC_LANG_SOURCE.
6771         * configure: Regenerate.
6773 2012-06-22  Roland McGrath  <roland@hack.frob.com>
6775         * configure.in (libc_cv_localstatedir): New substituted variable.
6776         * configure: Regenerated.
6777         * config.make.in (localstatedir): New variable, substituted from
6778         libc_cv_localstatedir.
6779         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
6780         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
6781         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
6782         * sysdeps/gnu/configure: Regenerated.
6784 2012-06-21  Jeff Law  <law@redhat.com>
6786         [BZ #14277]
6787         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
6788         free.  Simplify list management for _LIBC case.
6790 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
6792         [BZ #14273]
6793         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
6794         Clear sign bit of 64-bit integer value before comparing against
6795         overflow value.
6797         * sysdeps/mach/configure: Regenerated.
6799 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
6801         [BZ #14278]
6802         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
6804 2012-06-21  Jeff Law  <law@redhat.com>
6806         [BZ #13882]
6807         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
6808         uint16_t for elements in the "seen" array to avoid char overflows.
6809         * elf/dl-fini.c (_dl_sort_fini): Likewise.
6810         * elf/dl-open.c (dl_open_worker): Likewise.
6812 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
6814         * scripts/list-sources.sh: Scan PORTS for translations.
6815         * po/libc.pot: Regenerated.
6817 2012-06-21  Andreas Jaeger  <aj@suse.de>
6819         [BZ #12194]
6820         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
6821         warning.
6822         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
6823         * bits/byteswap-16.h (__bswap_16): Likewise.
6824         * bits/byteswap.h (__bswap_constant_16): Likewise.
6826 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
6828         [BZ #14117]
6829         * sysdeps/i386/fpu_control.h: Removed.
6830         * sysdeps/x86_64/fpu_control.h: Moved to ...
6831         * sysdeps/x86/fpu_control.h: Here.
6833         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
6834         (_FPU_SETCW): Likewise.
6836 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
6838         [BZ #14117]
6839         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
6840         * sysdeps/x86/fpu/bits/mathinline.h: This.
6841         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
6843         [BZ #14050]
6844         [BZ #14117]
6845         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
6846         functions if __x86_64__ is defined.
6848 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
6850         * string/endian.h: Add !__ASSEMBLER__ condition for including
6851         conversion interfaces.
6853 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
6855         [BZ #14241]
6856         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
6857         of ABS(x) in calculating zero to negative powers other than odd
6858         integers.
6859         * math/libm-test.inc (pow_test): Add more tests.
6861 2012-06-15  Andreas Jaeger  <aj@suse.de>
6863         * manual/contrib.texi (Contributors): Update entry of Liubov
6864         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
6865         Machado Filho.
6867 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
6869         * string/string.h: Add __wur to GNU version of strerror_r.
6871 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
6873         [BZ #14229]
6874         * string/Makefile (tests): Add tst-strtok_r.
6875         * string/tst-strtok_r.c: New file.
6876         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
6877         RAX_LP/RDX_LP on SAVE_PTR.
6879 2012-06-14  Roland McGrath  <roland@hack.frob.com>
6881         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
6883 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
6885         * libm_test.inc (csqrt_test): Allow more spurious underflow
6886         exceptions.
6887         (j0_test): Likewise.
6888         (j1_test): Likewise.
6889         (y0_test): Likewise.
6890         (y1_test): Likewise.
6892 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
6894         * po/Makefile (libc.pot): Use UTF-8 charset.
6896 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
6898         [BZ #14210]
6899         Suppress sign-conversion warning from FD_SET.
6900         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
6901         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
6902         not unsigned long int.
6903         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
6905 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
6907         [BZ #14050]
6908         [BZ #14117]
6909         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
6910         __extern_always_inline instead of __extern_inline.
6911         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
6912         (__signbit): Likewise.
6913         (__signbitl): Support C++ namespace.
6914         (lrintf): New inline function.
6915         (lrint): Likewise.
6916         (llrintf): Likewise.
6917         (llrint): Likewise.
6918         (fmaxf): Likewise.
6919         (fmax): Likewise.
6920         (fminf): Likewise.
6921         (fmin): Likewise.
6922         (rint): Likewise.
6923         (rintf): Likewise.
6924         (ceil): Likewise.
6925         (ceilf): Likewise.
6926         (floor): Likewise.
6927         (floorf): Likewise.
6928         (nearbyint): Likewise.
6929         (nearbyintf): Likewise.
6931 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
6933         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
6934         non-default versions.
6936 2012-06-11  Roland McGrath  <roland@hack.frob.com>
6938         [BZ #14218]
6939         * manual/argp.texi (Argp): Reword argp_parse description slightly.
6941 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
6943         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
6944         (FE_UPWARD, FE_DOWNWARD): Don't define.
6945         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
6946         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6948         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
6949         reading it.
6950         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6951         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6953 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6955         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6956         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
6957         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
6958         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
6960 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
6962         [BZ #14117]
6963         * sysdeps/i386/fpu/bits/fenv.h: Removed.
6964         * sysdeps/i386/fpu/Implies: New file.
6965         * sysdeps/x86_64/fpu/Implies: Likewise.
6966         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
6967         * sysdeps/x86/fpu/bits/fenv.h: This.
6969         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
6970         __SSE_MATH__.
6972 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
6974         [BZ #14134]
6975         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
6976         character 0xffff that matches the last element of the
6977         conversion table.
6979 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6981         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
6982         fmodl commit.
6984 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6986         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
6987         values higher than 25.6283.
6989 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6991         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
6992         subnormal exponent extraction and add some __builtin_expect.
6993         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
6994         Fix for subnormal mantissa calculation.
6996 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
6998         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
6999         cpu2 is -1 and errno is not ENOSYS.
7001 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
7003         [BZ #14117]
7004         * sysdeps/i386/i486/bits/string.h: Renamed to ...
7005         * sysdeps/x86/bits/string.h: This.
7006         * sysdeps/x86_64/bits/string.h: Removed.
7008         * sysdeps/i386/i486/bits/string.h: Define inline functions only
7009         if not compiling for x86-64, but compiling for >= i486.
7011         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
7012         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
7014         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
7015         New macro from Linux kernel 3.4.0.
7016         (FP_XSTATE_MAGIC2): Likewise.
7017         (FP_XSTATE_MAGIC2_SIZE): Likewise.
7018         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
7019         (struct _fpx_sw_bytes): New struct.
7020         (struct _xsave_hdr): Likewise.
7021         (struct _ymmh_state): Likewise.
7022         (struct _xstate): Likewise.
7024         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
7025         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
7026         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
7027         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
7028         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
7029         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
7031         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
7032         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
7033         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
7034         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
7035         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
7036         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
7038 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7040         [BZ #13743]
7041         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
7042         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
7043         (sysdep_headers): Include sys/platform/ppc.h.
7044         * sysdeps/powerpc/test-gettimebase.c: Test for
7045         __ppc_get_timebase() to catch future ISA opcode/insn changes.
7046         * manual/Makefile (appendices): Include platform.texi.
7047         * manual/contrib.texi (Contributors): Update @node pointers.
7048         * manual/maint.texi (Maintenance): Likewise.
7049         (Platform): New node.
7050         * manual/platform.texi: New file.  Document the new features.
7052 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7053             Jakub Jelinek  <jakub@redhat.com>
7055         [BZ #14188]
7056         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
7057         where __builtin_expect is unavailable.
7059 2012-06-03  David S. Miller  <davem@davemloft.net>
7061         * stdlib/longlong.h: Updated from GCC.
7063 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
7065         [BZ #14042]
7066         * sysdeps/powerpc/powerpc32/mcount.c: New file.
7067         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
7068         __mcount_internal.
7069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7070         (GLIBC_2.16): Likewise.
7072 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
7074         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
7076 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
7078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
7079         (default-abi): New variable.
7080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
7081         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
7082         variable.
7083         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
7084         Likewise.
7085         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
7086         Likewise.
7087         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
7088         Likewise.
7090         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
7091         definition.  Document in comment.
7093 2012-06-01  David S. Miller  <davem@davemloft.net>
7095         * stdlib/longlong.h: Updated from GCC.
7097 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
7099         [BZ #14117]
7100         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
7101         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
7102         sys/debugreg.h sys/io.h here.
7103         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
7104         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
7105         sys/io.h.
7106         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
7107         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
7108         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
7109         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
7110         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
7111         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
7113         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
7114         Define only if __x86_64__ is defined.
7116 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
7118         [BZ #14048]
7119         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
7120         Use int64_t for variable i.
7121         * math/libm-test.inc (fmod_test): Add more tests.
7123         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
7124         z computation is not scheduled after fetestexcept.
7125         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
7126         Use math_force_eval instead of asm to ensure calculation scheduled
7127         before exception test.
7128         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
7129         Ensure a1 + u.d computation is not scheduled after fetestexcept.
7131 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
7133         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
7134         computation is not scheduled after fetestexcept.
7136 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
7138         [BZ #14117]
7139         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
7140         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
7142 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7144         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
7145         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7147 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
7149         [BZ #14117]
7150         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
7151         <bits/wordsize.h>.
7152         (__WCHAR_MIN): Support __WORDSIZE == 64.
7153         (__WCHAR_MAX): Likewise.
7155         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
7156         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
7158         [BZ #14183]
7159         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
7160         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
7162         [BZ #14117]
7163         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
7164         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
7166         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
7167         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
7169         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
7170         Defined to 1 if __x86_64__ isn't defined.
7171         (_STAT_VER_LINUX_OLD): New.
7172         (st_atime): Remove duplicate.
7173         (st_mtime): Likewise.
7174         (st_ctime): Likewise.
7176 2012-05-31  David S. Miller  <davem@davemloft.net>
7178         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
7179         entries.
7181 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
7183         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
7184         gen-libm-test.pl.
7186         [BZ #14132]
7187         * elf/dl-reloc.c: Include <_itoa.h>.
7188         (_dl_reloc_bad_type): Remove use of INTUSE.
7189         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
7190         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
7191         * stdio-common/psiginfo.c (psiginfo): Likewise.
7192         * stdio-common/psignal.c (psignal): Likewise.
7193         * string/strsignal.c (strsignal): Likewise.
7194         * include/signal.h (_sys_siglist): Declare hidden proto.
7195         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
7196         INTVARDEF with libc_hidden_data_def.
7197         * stdio-common/itoa-udigits.c: Likewise.
7198         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
7199         (_itoa_lower_digits_internal): Remove declaration.
7200         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
7201         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
7202         (_sys_sigabbrev_internal): Remove aliases.
7203         (_sys_siglist): Define hidden alias.
7205 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
7207         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7208         bits/sysctl.h.
7210 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
7212         [BZ #14117]
7213         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
7214         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
7216         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
7217         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
7218         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
7219         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
7220         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
7221         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
7223         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
7224         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
7225         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
7227         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
7228         with __addr.
7229         (insw): Likewise.
7230         (insl): Likewise.
7231         (outsb): Likewise.
7232         (outsw): Likewise.
7233         (outsl): Likewise.
7235         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
7236         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
7237         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
7239         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
7240         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
7241         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
7242         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
7243         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
7244         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
7246         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
7247         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
7249         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
7250         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
7252         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
7253         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
7254         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
7256         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
7257         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
7258         to ...
7259         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
7261         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
7262         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
7263         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
7265         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
7266         for x86-64.
7267         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
7269 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
7271         * math/math.h (M_El): Use two more decimal places.
7272         (M_LOG2El): Likewise.
7273         (M_LOG10El): Likewise.
7274         (M_LN2l): Likewise.
7275         (M_LN10l): Likewise.
7276         (M_PIl): Likewise.
7277         (M_PI_2l): Likewise.
7278         (M_PI_4l): Likewise.
7279         (M_1_PIl): Likewise.
7280         (M_2_PIl): Likewise.
7281         (M_2_SQRTPIl): Likewise.
7282         (M_SQRT2l): Likewise.
7283         (M_SQRT1_2l): Likewise.
7285 2012-05-31  David S. Miller  <davem@davemloft.net>
7287         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
7288         values between float registers.
7289         * sysdeps/sparc/sparc64/memset.S: Likewise.
7290         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7292 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
7294         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
7295         -D_FORTIFY_SOURCE=1.
7296         (CPPFLAGS-tst-longjmp_chk.c): Define.
7297         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
7298         (CPPFLAGS-tst-longjmp_chk2.c): Define.
7299         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
7300         CFLAGS-tst-wchar-h.c.
7302 2012-05-31  Marek Polacek  <polacek@redhat.com>
7304         [BZ #14132]
7305         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
7306         __endmntent_internal): Remove declaration.
7307         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
7308         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
7309         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
7311 2012-05-30  David S. Miller  <davem@davemloft.net>
7313         * sysdeps/sparc/sparc32/soft-fp/q_util.c
7314         (___Q_simulate_exceptions): Use real FP ops rather than writing
7315         into the %fsr.
7316         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
7317         Likewise.
7319 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
7321         [BZ #14117]
7322         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
7323         * sysdeps/x86/bits/xtitypes.h: This.
7325         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
7326         * sysdeps/x86/bits/wordsize.h: This.
7328         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
7329         * sysdeps/x86/bits/huge_vall.h: This.
7331         * sysdeps/i386/bits/select.h: Removed.
7332         * sysdeps/x86_64/bits/select.h: Renamed to ...
7333         * sysdeps/x86/bits/select.h: This.
7335         * sysdeps/i386/bits/setjmp.h: Removed.
7336         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
7337         * sysdeps/x86/bits/setjmp.h: This.
7339         * sysdeps/i386/bits/mathdef.h: Removed.
7340         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
7341         * sysdeps/x86/bits/mathdef.h: This.
7343 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
7345         [BZ #14132]
7346         * include/sys/socket.h (__connect_internal)
7347         (__libc_sa_len_internal): Remove declaration.
7348         (__connect, __libc_sa_len): Declare hidden_proto.
7349         (SA_LEN): Remove use of INTUSE.
7350         * socket/connect.c: Add libc_hidden_def.
7351         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
7352         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
7353         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
7354         alias.
7355         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7356         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7357         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
7358         of adding _internal alias.
7360 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
7362         [BZ #14117]
7363         * sysdeps/i386/bits/link.h: Removed.
7364         * sysdeps/i386/bits/linkmap.h: Likewise.
7365         * sysdeps/x86_64/bits/link.h: Renamed to ...
7366         * sysdeps/x86/bits/link.h: This.
7367         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
7368         * sysdeps/x86/bits/linkmap.h: This.
7370         * sysdeps/i386/bits/endian.h: Removed.
7371         * sysdeps/x86_64/bits/endian.h: Renamed to ...
7372         * sysdeps/x86/bits/endian.h: This.
7374         * sysdeps/i386/bits/byteswap.h: Removed.
7375         * sysdeps/i386/bits/byteswap-16.h: Likewise.
7376         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
7377         * sysdeps/x86/bits/byteswap.h: This.
7378         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
7379         * sysdeps/x86/bits/byteswap-16.h: This.
7380         * sysdeps/i386/Implies: Add x86.
7381         * sysdeps/x86_64/Implies: Likewise.
7383 2012-05-30  David S. Miller  <davem@davemloft.net>
7385         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
7386         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
7387         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7388         (FP_TRAPPING_EXCEPTIONS): Define.
7389         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7390         (FP_TRAPPING_EXCEPTIONS): Define.
7391         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
7392         subnormals only when inexact has been signalled or underflow
7393         exceptions are enabled.
7394         (_FP_PACK_CANONICAL): Likewise.
7396 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
7398         [BZ #14183]
7399         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
7400         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
7402 2012-05-30  Richard Henderson  <rth@twiddle.net>
7404         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
7405         with #ifndef NOT_IN_libc.
7407         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
7408         marked to avoid plt entry.
7410 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
7412         [BZ #14112]
7413         * Makeconfig (default-abi): New macro.
7414         (abi-includes): Likewise.
7415         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
7416         $(abi-$(default-abi)-lib-soname) for soname if defined.
7417         ($(common-objpfx)gnu/lib-names.stmp): Generate from
7418         abi-variants.
7419         * Makefile (installed-stubs): Likewise.
7420         * include/stubs-biarch.h: Removed.
7421         * scripts/lib-names.awk: Only handle one library at a time.
7422         * scripts/soversions.awk: Remove WORDSIZE support.
7423         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
7424         entries.
7425         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
7426         Removed.
7427         (syscall-list-default-condition): Likewise.
7428         (syscall-list-default-condition): Likewise.
7429         (syscall-list-includes): Likewise.
7430         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
7431         syscall-list-* with abi-*.  Handle undefined abi-variants.
7432         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
7433         * sysdeps/unix/sysv/linux/i386/Implies: New file.
7434         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
7435         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
7436         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
7437         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
7438         Removed.
7439         (syscall-list-32-options): Likewise.
7440         (syscall-list-32-condition): Likewise.
7441         (syscall-list-64-options): Likewise.
7442         (syscall-list-64-condition): Likewise.
7443         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
7444         macro.
7445         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
7446         Renamed to ...
7447         (abi-*): This.
7448         (abi-64-ld-soname): New macro.
7449         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
7450         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
7451         Renamed to ...
7452         (abi-*): This.
7453         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
7454         * sysdeps/x86_64/x32/shlib-versions: Likewise.
7456 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
7458         * sysdeps/unix/sysv/linux/kernel-features.h
7459         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
7460         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
7461         include <kernel-features.h>.
7462         [!__NR_ftruncate64]: Remove conditional code.
7463         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7464         [__NR_ftruncate64]: Make code unconditional.
7465         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7466         * sysdeps/unix/sysv/linux/truncate64.c: Do not
7467         include <kernel-features.h>.
7468         [!__NR_ftruncate64]: Remove conditional code.
7469         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7470         [__NR_ftruncate64]: Make code unconditional.
7471         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
7473         include <kernel-features.h>.
7474         [!__NR_ftruncate64]: Remove conditional code.
7475         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7476         [__NR_ftruncate64]: Make code unconditional.
7477         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7479         include <kernel-features.h>.
7480         [!__NR_ftruncate64]: Remove conditional code.
7481         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7482         [__NR_ftruncate64]: Make code unconditional.
7483         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7485         * configure.in (libc_cv_fpie): Weaken to a compile test using
7486         LIBC_TRY_CC_OPTION.
7487         * configure: Regenerated.
7489 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7491         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
7492         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
7493         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
7494         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7495         Refreshed.
7496         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
7497         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
7498         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
7499         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
7500         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
7501         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7502         Refreshed.
7504 2012-05-27  David S. Miller  <davem@davemloft.net>
7506         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
7507         (___Q_zero): New.
7508         (__Q_simulate_exceptions): Return void.  Change to simulate
7509         exceptions by writing into the %fsr.
7510         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
7511         (__Qp_handle_exceptions): Likewise.
7512         (numbers): Delete.
7513         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
7514         __Qp_handle_exceptions.
7515         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
7516         __Qp_handle_exceptions.
7517         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7518         as unused and give dummy FP_RND_NEAREST initializer.
7519         (FP_INHIBIT_RESULTS): Define.
7520         (___Q_simulate_exceptions): Update declaration.
7521         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
7522         formatting.
7523         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7524         as unused and give dummy FP_RND_NEAREST initializer.
7525         (__Qp_handle_exceptions): Update declaration.
7526         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
7527         formatting.
7529 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
7531         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
7532         the temporary FPU control word.
7533         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7534         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
7535         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7536         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7537         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7538         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7539         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7540         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7541         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7542         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
7543         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7545 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7547         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
7548         fields.
7550 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
7552         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
7553         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
7554         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
7555         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
7556         Likewise.
7557         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
7558         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
7559         Likewise.
7561 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
7563         * po/h.po: Update from translation team.
7565 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
7567         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
7569         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
7570         handling of denormals.
7571         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7572         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7573         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7574         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7575         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7576         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
7577         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
7578         Likewise.
7580 2012-05-26  Marek Polacek  <polacek@redhat.com>
7582         [BZ #14152]
7583         * math/libm-test.inc (fma_test): Don't always expect underflow
7584         exception.
7586 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7588         [BZ #12416]
7589         * elf/tst-execstack.c: Include stackinfo.h.
7590         (do_test): Adjust test case to ensure that pthread_getattr_np
7591         behaviour remains the same after marking stack executable.
7593 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
7595         * sysdeps/unix/sysv/linux/kernel-features.h
7596         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
7597         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
7598         kernel-features.h.
7599         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7600         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7601         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
7602         kernel-features.h.
7603         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7604         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7606 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
7608         * configure.in: Define the default includes to being none.
7609         * configure: Regenerated.
7611 2012-05-25  Roland McGrath  <roland@hack.frob.com>
7613         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
7614         * sysdeps/x86_64/setjmp.S: Likewise.
7615         * sysdeps/i386/bsd-setjmp.S: Likewise.
7616         * sysdeps/i386/bsd-_setjmp.S: Likewise.
7617         * sysdeps/i386/setjmp.S: Likewise.
7618         * sysdeps/i386/__longjmp.S: Likewise.
7619         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7620         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
7622         * include/stap-probe.h: New file.
7623         * configure.in: Handle --enable-systemtap.
7624         * configure: Regenerated.
7625         * config.h.in (USE_STAP_PROBE): New #undef.
7626         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
7627         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
7628         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7630 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
7632         [BZ #13717]
7633         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
7634         to 2.4.0 where earlier.
7635         * sysdeps/unix/sysv/linux/configure: Regenerated.
7636         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7637         <kernel-features.h>.
7638         [__ASSUME_32BITUIDS]: Make code unconditional.
7639         [!__ASSUME_32BITUIDS]: Remove conditional code.
7640         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
7641         <kernel-features.h>.
7642         [__ASSUME_32BITUIDS]: Make code unconditional.
7643         [!__ASSUME_32BITUIDS]: Remove conditional code.
7644         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
7645         [__ASSUME_32BITUIDS]: Make code unconditional.
7646         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
7647         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
7648         <kernel-features.h>.
7649         [__ASSUME_32BITUIDS]: Make code unconditional.
7650         [!__ASSUME_32BITUIDS]: Remove conditional code.
7651         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
7652         <kernel-features.h>.
7653         [__ASSUME_32BITUIDS]: Make code unconditional.
7654         [!__ASSUME_32BITUIDS]: Remove conditional code.
7655         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
7656         <kernel-features.h>.
7657         [__ASSUME_32BITUIDS]: Make code unconditional.
7658         [!__ASSUME_32BITUIDS]: Remove conditional code.
7659         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
7660         <kernel-features.h>.
7661         [__ASSUME_32BITUIDS]: Make code unconditional.
7662         [!__ASSUME_32BITUIDS]: Remove conditional code.
7663         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7664         <kernel-features.h>.
7665         [__ASSUME_32BITUIDS]: Make code unconditional.
7666         [!__ASSUME_32BITUIDS]: Remove conditional code.
7667         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7668         <kernel-features.h>.
7669         [__ASSUME_32BITUIDS]: Make code unconditional.
7670         [!__ASSUME_32BITUIDS]: Remove conditional code.
7671         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
7672         <kernel-features.h>.
7673         [__ASSUME_32BITUIDS]: Make code unconditional.
7674         [!__ASSUME_32BITUIDS]: Remove conditional code.
7675         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7676         <kernel-features.h>.
7677         [__ASSUME_32BITUIDS]: Make code unconditional.
7678         [!__ASSUME_32BITUIDS]: Remove conditional code.
7679         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7680         <kernel-features.h>.
7681         [__ASSUME_32BITUIDS]: Make code unconditional.
7682         [!__ASSUME_32BITUIDS]: Remove conditional code.
7683         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
7684         <kernel-features.h>.
7685         [__ASSUME_32BITUIDS]: Make code unconditional.
7686         [!__ASSUME_32BITUIDS]: Remove conditional code.
7687         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
7688         <kernel-features.h>.
7689         [__NR_setresgid] (__setresgid): Do not declare.
7690         [__ASSUME_32BITUIDS]: Make code unconditional.
7691         [!__ASSUME_32BITUIDS]: Remove conditional code.
7692         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
7693         <kernel-features.h>.
7694         [__NR_setresuid] (__setresuid): Do not declare.
7695         [__ASSUME_32BITUIDS]: Make code unconditional.
7696         [!__ASSUME_32BITUIDS]: Remove conditional code.
7697         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
7698         <kernel-features.h>.
7699         [__ASSUME_32BITUIDS]: Make code unconditional.
7700         [!__ASSUME_32BITUIDS]: Remove conditional code.
7701         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
7702         <kernel-features.h>.
7703         [__ASSUME_32BITUIDS]: Make code unconditional.
7704         [!__ASSUME_32BITUIDS]: Remove conditional code.
7705         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
7706         <kernel-features.h>.
7707         [__ASSUME_32BITUIDS]: Make code unconditional.
7708         [!__ASSUME_32BITUIDS]: Remove conditional code.
7709         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
7710         <kernel-features.h>.
7711         [__ASSUME_32BITUIDS]: Make code unconditional.
7712         [!__ASSUME_32BITUIDS]: Remove conditional code.
7713         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
7714         <kernel-features.h>.
7715         [__ASSUME_32BITUIDS]: Make code unconditional.
7716         [!__ASSUME_32BITUIDS]: Remove conditional code.
7717         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
7718         <kernel-features.h>.
7719         [__ASSUME_32BITUIDS]: Make code unconditional.
7720         [!__ASSUME_32BITUIDS]: Remove conditional code.
7721         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
7722         <kernel-features.h>.
7723         [__ASSUME_32BITUIDS]: Make code unconditional.
7724         [!__ASSUME_32BITUIDS]: Remove conditional code.
7725         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
7726         <kernel-features.h>.
7727         [__ASSUME_32BITUIDS]: Make code unconditional.
7728         [!__ASSUME_32BITUIDS]: Remove conditional code.
7729         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
7730         <kernel-features.h>.
7731         [__ASSUME_32BITUIDS]: Make code unconditional.
7732         [!__ASSUME_32BITUIDS]: Remove conditional code.
7733         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7734         <kernel-features.h>.
7735         [__ASSUME_32BITUIDS]: Make code unconditional.
7736         [!__ASSUME_32BITUIDS]: Remove conditional code.
7737         * sysdeps/unix/sysv/linux/kernel-features.h
7738         (__ASSUME_SETRESUID_SYSCALL): Remove.
7739         (__ASSUME_SETRESGID_SYSCALL): Likewise.
7740         (__ASSUME_32BITUIDS): Likewise.
7741         (__ASSUME_LDT_WORKS): Likewise.
7742         (__ASSUME_O_DIRECTORY): Likewise.
7743         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
7744         architecture but not kernel version.
7745         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7746         (__ASSUME_MMAP2_SYSCALL): Likewise.
7747         (__ASSUME_STAT64_SYSCALL): Likewise.
7748         (__ASSUME_IPC64): Likewise.
7749         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
7750         <kernel-features.h>.
7751         [__ASSUME_32BITUIDS]: Make code unconditional.
7752         [!__ASSUME_32BITUIDS]: Remove conditional code.
7753         * sysdeps/unix/sysv/linux/opendir.c: Do not include
7754         <kernel-features.h>.
7755         [__ASSUME_O_DIRECTORY]: Make code unconditional.
7756         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
7757         132096]: Remove conditional code.
7758         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
7759         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7760         <kernel-features.h>.
7761         [__ASSUME_32BITUIDS]: Make code unconditional.
7762         [!__ASSUME_32BITUIDS]: Remove conditional code.
7763         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7764         <kernel-features.h>.
7765         [__ASSUME_32BITUIDS]: Make code unconditional.
7766         [!__ASSUME_32BITUIDS]: Remove conditional code.
7767         * sysdeps/unix/sysv/linux/setegid.c: Do not include
7768         <kernel-features.h>.
7769         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
7770         unconditional.
7771         (__setresgid): Do not declare.
7772         [__ASSUME_32BITUIDS]: Make code unconditional.
7773         [!__ASSUME_32BITUIDS]: Remove conditional code.
7774         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
7775         <kernel-features.h>.
7776         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
7777         unconditional.
7778         (__setresuid): Do not declare.
7779         [__ASSUME_32BITUIDS]: Make code unconditional.
7780         [!__ASSUME_32BITUIDS]: Remove conditional code.
7781         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7782         <kernel-features.h>.
7783         [__ASSUME_32BITUIDS]: Make code unconditional.
7784         [!__ASSUME_32BITUIDS]: Remove conditional code.
7785         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
7786         <kernel-features.h>.
7787         [__ASSUME_32BITUIDS]: Make code unconditional.
7788         [!__ASSUME_32BITUIDS]: Remove conditional code.
7790 2012-05-25  Richard Henderson  <rth@twiddle.net>
7792         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
7793         dl_hwcap to ifunc resolver.
7794         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
7795         elf_ifunc_invoke.
7796         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
7797         dl_hwcap to ifunc resolver.
7798         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
7800 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
7802         [BZ #14153]
7803         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
7804         for |x| <= 2**-26, not 2**-57.
7805         * math/libm-test.inc (acos_test): Do not allow spurious underflow
7806         exception.
7808 2012-05-24  Jeff Law  <law@redhat.com>
7810         * stdio-common/Makefile (tests): Add bug25.
7811         * stdio-common/bug25.c: New test.
7813 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
7815         [BZ #13576]
7816         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
7817         multiple of MALLOC_ALIGNMENT in size.
7818         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
7820 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
7822         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
7823         Require >= 256.
7824         (FILENAME_MAX): Use macro-int-constant.
7825         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
7826         (_IOFBF): Use macro-int-constant.
7827         (_IOLBF): Likewise.
7828         (_IONBF): Likewise.
7829         (SEEK_CUR): Likewise.
7830         (SEEK_END): Likewise.
7831         (SEEK_SET): Likewise.
7832         (TMP_MAX): Likewise.
7833         (EOF): Use macro-int-constant.  Require < 0.
7834         (NULL): Use macro-constant.  Require == 0.
7835         (stdin): Require type to be FILE *.
7836         (stdout): Likewise.
7837         (stderr): Likewise.
7838         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
7839         macro-int-constant.
7840         (EXIT_SUCCESS): Likewise.
7841         (NULL): Use macro-constant.  Require == 0.
7842         (RAND_MAX): Use macro-int-constant.
7843         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
7844         [C99-based standards] (strtof): Require function.
7845         [C99-based standards] (strtold): Likewise.
7846         [C99-based standards] (strtoll): Likewise.
7847         [C99-based standards] (strtoull): Likewise.
7848         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7849         [ISO || ISO99 || ISO11] (limits.h): Likewise.
7850         [ISO || ISO99 || ISO11] (math.h): Likewise.
7851         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
7852         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7853         [ISO || ISO99 || ISO11] (*_t): Do not allow.
7855 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
7857         [BZ #14132]
7858         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
7859         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
7860         * intl/dgettext.c (DCGETTEXT): Likewise.
7861         * intl/gettext.c (DCGETTEXT): Likewise.
7862         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
7863         * posix/regex_internal.h (gettext): Likewise.
7864         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
7865         Remove declaration.
7866         * include/argz.h (__argz_count_internal)
7867         (__argz_stringify_internal): Remove declaration.
7868         (__argz_count, __argz_stringify): Declare hidden proto.
7869         * intl/dcgettext.c: Remove use of INTDEF.
7870         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
7871         * string/argz-stringify.c: Likewise.
7872         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7873         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7874         Declare hidden proto.
7875         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7876         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7877         Declare hidden proto.
7878         * include/stdio.h (__asprintf_internal): Don't declare.
7879         (__asprintf): Don't define as macro.  Declare hidden proto.
7880         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
7881         (__fsetlocking): Declare hidden proto.
7882         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
7883         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
7884         hidden proto.
7885         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
7886         (_IO_setlinebuf): Remove use of INTUSE.
7887         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
7888         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
7889         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
7890         Remove declaration.
7891         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
7892         (_IO_do_flush): Remove use of INTUSE.
7893         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
7894         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
7895         (_IO_adjust_column, _IO_least_wmarker)
7896         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
7897         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
7898         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
7899         (_IO_default_doallocate, _IO_wdefault_doallocate)
7900         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
7901         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
7902         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
7903         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
7904         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
7905         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
7906         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
7907         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
7908         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
7909         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
7910         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
7911         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
7912         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
7913         proto.
7914         (_IO_flush_all_internal, _IO_adjust_column_internal)
7915         (_IO_default_uflow_internal, _IO_default_finish_internal)
7916         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
7917         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
7918         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
7919         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
7920         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
7921         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
7922         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
7923         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
7924         (_IO_file_close_internal, _IO_file_close_it_internal)
7925         (_IO_file_underflow_internal, _IO_file_overflow_internal)
7926         (_IO_file_init_internal, _IO_file_attach_internal)
7927         (_IO_file_fopen_internal, _IO_file_read_internal)
7928         (_IO_file_sync_internal, _IO_file_seek_internal)
7929         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
7930         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
7931         (_IO_str_underflow_internal, _IO_str_overflow_internal)
7932         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
7933         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
7934         (_IO_list_all_internal, _IO_link_in_internal)
7935         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
7936         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
7937         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
7938         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
7939         (_IO_do_write_internal, _IO_padn_internal)
7940         (_IO_getline_info_internal, _IO_getline_internal)
7941         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
7942         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
7943         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
7944         (_IO_vfscanf_internal, _IO_vfprintf_internal)
7945         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
7946         (_IO_init_internal, _IO_un_link_internal): Don't declare.
7947         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
7948         with libc_hidden_ver, remove use of INTUSE.
7949         * libio/genops.c: Likewise.
7950         * libio/freopen.c: Likewise.
7951         * libio/freopen64.c: Likewise.
7952         * libio/iofclose.c: Likewise.
7953         * libio/iofdopen.c: Likewise.
7954         * libio/iofflush.c: Likewise.
7955         * libio/iofflush_u.c: Likewise.
7956         * libio/iofgets.c: Likewise.
7957         * libio/iofgets_u.c: Likewise.
7958         * libio/iofopen.c: Likewise.
7959         * libio/iofopncook.c: Likewise.
7960         * libio/iofread.c: Likewise.
7961         * libio/iofread_u.c: Likewise.
7962         * libio/ioftell.c: Likewise.
7963         * libio/iofwrite.c: Likewise.
7964         * libio/iogetline.c: Likewise.
7965         * libio/iogets.c: Likewise.
7966         * libio/iogetwline.c: Likewise.
7967         * libio/iopadn.c: Likewise.
7968         * libio/iopopen.c: Likewise.
7969         * libio/ioseekoff.c: Likewise.
7970         * libio/ioseekpos.c: Likewise.
7971         * libio/iosetbuffer.c: Likewise.
7972         * libio/iosetvbuf.c: Likewise.
7973         * libio/ioungetc.c: Likewise.
7974         * libio/ioungetwc.c: Likewise.
7975         * libio/iovdprintf.c: Likewise.
7976         * libio/iovsprintf.c: Likewise.
7977         * libio/iovsscanf.c: Likewise.
7978         * libio/memstream.c: Likewise.
7979         * libio/obprintf.c: Likewise.
7980         * libio/oldfileops.c: Likewise.
7981         * libio/oldiofclose.c: Likewise.
7982         * libio/oldiofdopen.c: Likewise.
7983         * libio/oldiofopen.c: Likewise.
7984         * libio/oldiopopen.c: Likewise.
7985         * libio/oldstdfiles.c: Likewise.
7986         * libio/putc.c: Likewise.
7987         * libio/setbuf.c: Likewise.
7988         * libio/setlinebuf.c: Likewise.
7989         * libio/stdfiles.c: Likewise.
7990         * libio/strops.c: Likewise.
7991         * libio/vasprintf.c: Likewise.
7992         * libio/vscanf.c: Likewise.
7993         * libio/vsnprintf.c: Likewise.
7994         * libio/vswprintf.c: Likewise.
7995         * libio/wfiledoalloc.c: Likewise.
7996         * libio/wfileops.c: Likewise.
7997         * libio/wgenops.c: Likewise.
7998         * libio/wmemstream.c: Likewise.
7999         * libio/wstrops.c: Likewise.
8000         * libio/__fpurge.c: Likewise.
8001         * libio/__fsetlocking.c: Likewise.
8002         * assert/assert.c: Likewise.
8003         * debug/fgets_chk.c: Likewise.
8004         * debug/fgets_u_chk.c: Likewise.
8005         * debug/fread_chk.c: Likewise.
8006         * debug/fread_u_chk.c: Likewise.
8007         * debug/gets_chk.c: Likewise.
8008         * debug/obprintf_chk.c: Likewise.
8009         * debug/vasprintf_chk.c: Likewise.
8010         * debug/vdprintf_chk.c: Likewise.
8011         * debug/vsnprintf_chk.c: Likewise.
8012         * debug/vsprintf_chk.c: Likewise.
8013         * malloc/mtrace.c: Likewise.
8014         * misc/error.c: Likewise.
8015         * misc/syslog.c: Likewise.
8016         * stdio-common/asprintf.c: Likewise.
8017         * stdio-common/fxprintf.c: Likewise.
8018         * stdio-common/getw.c: Likewise.
8019         * stdio-common/isoc99_fscanf.c: Likewise.
8020         * stdio-common/isoc99_scanf.c: Likewise.
8021         * stdio-common/isoc99_vfscanf.c: Likewise.
8022         * stdio-common/isoc99_vscanf.c: Likewise.
8023         * stdio-common/isoc99_vsscanf.c: Likewise.
8024         * stdio-common/printf-prs.c: Likewise.
8025         * stdio-common/printf_fp.c: Likewise.
8026         * stdio-common/printf_fphex.c: Likewise.
8027         * stdio-common/printf_size.c: Likewise.
8028         * stdio-common/putw.c: Likewise.
8029         * stdio-common/scanf.c: Likewise.
8030         * stdio-common/sprintf.c: Likewise.
8031         * stdio-common/tmpfile.c: Likewise.
8032         * stdio-common/vfprintf.c: Likewise.
8033         * stdio-common/vfscanf.c: Likewise.
8034         * stdlib/strfmon_l.c: Likewise.
8035         * sunrpc/openchild.c: Likewise.
8036         * sunrpc/xdr_stdio.c: Likewise.
8037         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
8038         * sysdeps/mach/hurd/tmpfile.c: Likewise.
8040 2012-05-24  Roland McGrath  <roland@hack.frob.com>
8042         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8044         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
8045         in the third column, to generate for the shared library an IFUNC
8046         that uses _dl_vdso_vsym.
8047         * Makerules (COMPILE.c, compile-stdin.c): New variables.
8048         * Makeconfig (object-suffixes-noshared): New variable.
8050         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
8051         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
8052         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
8053         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
8055         [BZ #14132]
8056         * include/sys/time.h (__gettimeofday): Remove macro.
8057         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
8058         * time/gettimeofday.c (__gettimeofday): Remove #undef.
8059         Remove INTDEF.
8060         (__gettimeofday): Add libc_hidden_def.
8061         (gettimeofday): Add libc_hidden_weak.
8062         * sysdeps/mach/gettimeofday.c: Likewise.
8063         * sysdeps/posix/gettimeofday.c: Likewise.
8064         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
8065         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
8066         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
8067         (__gettimeofday_internal): Remove strong_alias.
8068         (__gettimeofday): Add libc_hidden_def.
8069         (gettimeofday): Add libc_hidden_weak.
8070         * sysdeps/unix/syscalls.list (gettimeofday):
8071         Remove __gettimeofday_internal alias.
8073 2012-05-24  Daniel Jacobowitz  <drow@false.org>
8074             H.J. Lu  <hongjiu.lu@intel.com>
8076         [BZ #12495]
8077         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
8078         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
8079         (largebin_index_32_big): New.
8080         (largebin_index): Use it for 16-byte alignment.
8081         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
8082         correction with front_misalign.
8084 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
8086         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
8087         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8088         Likewise.
8089         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
8090         Likewise.
8091         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8092         Likewise.
8093         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
8094         Likewise.
8095         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
8096         Likewise.
8097         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
8098         Likewise.
8099         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
8100         Likewise.
8101         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
8102         Likewise.
8103         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
8104         Likewise.
8105         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
8106         Likewise.
8107         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8108         Likewise.
8109         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
8110         Likewise.
8112         * scripts/data/c++-types-x32-linux-gnu.data: New file.
8113         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
8115 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
8117         [BZ #10846]
8118         [BZ #14036]
8119         * math/libm-test.inc (exp_test): Add test from bug 14036.
8120         (pow_test): Add test from bug 10846.
8122         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
8123         and other flags.
8124         (special_function): Do not include flags in test name.
8125         (parse_args): Likewise.
8126         * sysdeps/i386/fpu/libm-test-ulps: Update.
8127         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8128         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8129         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8132         * math/gen-libm-test.pl (%beautify): Add entries for underflow
8133         exceptions.
8134         * math/libm-test.inc ("Philosophy"): Update comment about
8135         exception testing.
8136         (UNDERFLOW_EXCEPTION): New macro.
8137         (UNDERFLOW_EXCEPTION_OK): Likewise.
8138         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8139         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8140         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8141         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8142         (INVALID_EXCEPTION_OK): Update value.
8143         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8144         (OVERFLOW_EXCEPTION_OK): Likewise.
8145         (IGNORE_ZERO_INF_SIGN): Likewise.
8146         (test_exceptions): Handle underflow exceptions.
8147         (acos_test): Update for underflow exception expectations.
8148         (cexp_test): Likewise.
8149         (clog_test): Likewise.
8150         (clog10_test): Likewise.
8151         (csqrt_test): Likewise.
8152         (ctan_test): Likewise.
8153         (ctanh_test): Likewise.
8154         (exp_test): Likewise.
8155         (exp10_test): Likewise.
8156         (exp2_test): Likewise.
8157         (expm1_test): Likewise.
8158         (fma_test): Likewise.
8159         (j0_test): Likewise.
8160         (jn_test): Likewise.
8161         (nexttoward_test): Likewise.
8162         (pow_test): Likewise.
8163         (scalbn_test): Likewise.
8164         (scalbln_test): Likewise.
8165         (tan_test): Likewise.
8166         (y1_test): Likewise.
8167         * sysdeps/i386/fpu/libm-test-ulps: Update.
8168         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8170 2012-05-23  David S. Miller  <davem@davemloft.net>
8172         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8173         (__libc_sigaction): Remove unused local variables.
8175 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
8177         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
8179 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
8181         mktime: avoid signed integer overflow
8182         * time/mktime.c (__mktime_internal): Do not mishandle the case
8183         where diff == INT_MIN.
8185         mktime: simplify computation of average
8186         * time/mktime.c (ranged_convert): Use new time_t_avg function
8187         instead of rolling our own (probably-slower) code.
8189         mktime: do not assume signed right shift propagates sign bit
8190         * time/mktime.c (isdst_differ): New static function.
8191         (__mktime_internal): No need to normalize tm_isdst now.
8192         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
8193         tm_isdst values.
8195         mktime: merge another wrapv change from gnulib
8196         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
8197         from some compilers.
8199         mktime: remove incorrect attempt at unusual arithmetics
8200         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
8201         The code didn't really work on such machines anyway.
8202         (TYPE_MINIMUM): Assume two's complement.
8203         (twos_complement_arithmetic): Verify that long_int and time_t
8204         are two's complement (or unsigned, in the latter case).
8206         mktime: check signed shifts on long_int and time_t, too
8207         * time/mktime.c (SHR): Check that shifts work as desired
8208         on the types long_int and time_t too, as SHR is used on
8209         such types.
8211         mktime: do not assume 'long' is wide enough
8212         * time/mktime.c (verify): Move decl up.
8213         (long_int): New type.
8214         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
8215         to remove assumption in the code that 'long' is wide enough to
8216         store year values.  This assumption is not true on x32 and on
8217         some non-glibc platforms.
8219         mktime: merge wrapv change from gnulib
8220         * time/mktime.c (WRAPV): New macro.
8221         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
8222         (guess_time_tm, __mktime_internal): Do not assume that signed
8223         integer overflow wraps around; modern compilers generate code
8224         where this assumption is no longer valid.
8226 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
8228         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8229         Replace "jmp L(pseudo_end)" with "ret".
8230         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
8231         Likewise.
8233 2012-05-23  Andreas Jaeger  <aj@suse.de>
8235         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
8236         * sysdeps/unix/sysv/linux/poll.c: Remove file.
8238 2012-05-23  Andreas Jaeger  <aj@suse.de>
8239             Maximilian Attems  <max@stro.at>
8241         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
8242         New macros.
8244 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
8246         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
8247         code so that pseudo_end is just ret and the stack pointer is
8248         correct also for static library in error case.
8250 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
8252         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
8253         move to syscalls.list.
8254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8259         * manual/install.texi (Running make install): Do not mention Linux
8260         kernel version for which pt_chown is not needed.
8261         (Linux): Do not mention problems with nscd with 2.0 kernels.
8262         * INSTALL: Regenerated.
8264 2012-05-23  Andreas Jaeger  <aj@suse.de>
8266         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
8267         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
8268         macro.
8269         * sysdeps/unix/sysv/linux/s390/bits/mman.h
8270         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8271         * sysdeps/unix/sysv/linux/sh/bits/mman.h
8272         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8273         * sysdeps/unix/sysv/linux/i386/bits/mman.h
8274         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8275         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
8276         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8277         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
8278         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8279         * sysdeps/unix/sysv/linux/bits/in.h
8280         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
8282 2012-05-22  Roland McGrath  <roland@hack.frob.com>
8284         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
8285         (PREPARE_VERSION): Just use assert instead, it will be elided
8286         under [NDEBUG] anyway.
8288 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
8290         * sysdeps/unix/sysv/linux/Makefile: Include
8291         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
8292         (sysdep_routines): Remove sysctl.
8293         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
8294         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
8295         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
8296         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
8297         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
8299 2012-05-22  Andreas Jaeger  <aj@suse.de>
8301         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
8302         that pseudo_end is just ret and the stack pointer is correct also
8303         for static library in error case.
8305 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
8307         [BZ #14122]
8308         * nss/nsswitch.c (defconfig_entries): New variable.
8309         (__nss_database_lookup): Don't leak defconfig entries.
8310         (nss_parse_service_list): Don't leak on error paths.
8311         (free_database_entries): New function.
8312         (free_defconfig): New function.
8313         (free_mem): Move common code to free_database_entries.
8315 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
8317         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
8318         Add arch_prctl.
8319         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
8321         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8322         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
8323         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
8324         New macro.
8325         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
8326         (INTERNAL_SYSCALL_TYPES): Likewise.
8327         (LOAD_ARGS_TYPES_[1-6]): Likewise.
8328         (LOAD_REGS_TYPES_[1-6]): Likewise.
8329         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
8330         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
8332 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8334         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
8335         copysignl for GLIBC_2_0.
8336         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
8337         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
8338         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
8339         logbl for GLIBC_2_0.
8340         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8341         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8343 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
8345         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
8346         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
8348         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8349         Use "neg %eax".
8351         * time/mktime.c: Update copyright years.
8353 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
8355         mktime: merge comment-quoting-style change from gnulib
8356         * time/mktime.c: Quote 'like this' in comments.
8357         The GNU coding standards suggest that we no longer quote `like this',
8358         as "`" and "'" are typically rendered asymmetrically nowadays.
8359         The typical gnulib style is to quote 'like this' when quoting
8360         code, and "like this" when quoting English.
8362         * time/mktime.c (compile-command): Add "-I.".
8364         mktime: merge mktime-internal.h change from gnulib
8365         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
8367         mktime: merge time_r change from gnulib
8368         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
8370         mktime: merge DEBUG change from gnulib
8371         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
8372         case system <time.h> has a #define.
8374         mktime: merge <sys/types.h> change from gnulib
8375         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
8376         since <time.t> is now guaranteed to define time_t.
8378         mktime: merge HAVE_CONFIG_H change from gnulib
8379         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
8381 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
8383         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8384         Use "neg %eax".
8386         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
8387         __rlim_t cast.
8388         (struct rusage): Use anonymous union to pad each field to
8389         __syscall_slong_t.
8391 2012-05-21  David S. Miller  <davem@davemloft.net>
8393         * Makefules (o-iterator): Remove .s cases.
8394         (compile-command.s): Delete.
8395         (COMPILE.s): Delete.
8396         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
8398 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
8400         * configure.in (libc_cv_predef_stack_protector): Only consider
8401         "foobar" and "__stack_chk_fail" lines in libc_undefs.
8402         * configure: Regenerated.
8404 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
8406         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8407         New macro.  Use R*LP on int and pointer.
8408         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
8409         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
8410         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
8411         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
8413         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
8414         [__WORDSIZE_TIME64_COMPAT32] instead of
8415         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
8416         (struct utmp): Likewise.
8417         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
8418         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
8419         Renamed to ...
8420         (__WORDSIZE_TIME64_COMPAT32): This.
8421         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
8422         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
8423         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
8424         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
8425         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
8426         (__WORDSIZE_TIME64_COMPAT32): New macro.
8428 2012-05-21  Andreas Jaeger  <aj@suse.de>
8430         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
8431         only if [SHARED]. Add prototype for __wcschr_ia32.
8433 2012-05-21  Roland McGrath  <roland@hack.frob.com>
8435         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
8436         of %rbp unmolested in the jmp_buf while mangling the low bits.
8437         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
8438         unmolested high bits of %rbp while demangling the low bits.
8439         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8441 2012-05-21  Andreas Jaeger  <aj@suse.de>
8443         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
8444         * sunrpc/svc_simple.c: Use it for registerrpc.
8445         * sunrpc/xcrypt.c: Use it for passwd2des.
8447         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
8449 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
8451         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
8452         Don't define if [__SYSCALL_WORDSIZE != 32].
8453         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
8454         New macro.
8456 2012-05-21  Bruno Haible  <bruno@clisp.org>
8457             Andreas Jaeger  <aj@suse.de>
8459         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
8460         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
8461         inptr and inend for must_buffer_ch.
8462         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
8463         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
8464         * stdio-common/Makefile (tests): Remove bug15.
8465         (bug15-ENV): Remove macro.
8466         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
8467         anymore.
8469 2012-05-19  Andreas Jaeger  <aj@suse.de>
8470             Roland McGrath  <roland@hack.frob.com>
8472         * manual/contrib.texi: Completely rewritten. It contains now an
8473         alphabetical list of contributors and their contributions.
8475 2012-05-21  Richard Henderson  <rth@twiddle.net>
8477         * misc/getauxval.c (__getauxval): Use unsigned long int.
8478         * misc/sys/auxv.h: Include <sys/cdefs.h>.
8479         (getauxval): Use unsigned long int.
8481 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
8483         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8485 2012-05-21  Roland McGrath  <roland@hack.frob.com>
8487         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
8488         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
8489         __alignof__ (long double).
8491 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8493         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8495 2012-05-20  Richard Henderson  <rth@twiddle.net>
8497         * misc/getauxval.c: New file.
8498         * misc/sys/auxv.h: New file.
8499         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
8500         (routines): Add getauxval.
8501         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
8502         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
8503         * elf/dl-sysdep.c (_dl_auxv): Remove.
8504         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
8505         * elf/dl-support.c (_dl_auxv): New variable.
8506         (_dl_aux_init): Initialize it.
8507         * manual/startup.texi (Auxiliary Vector): New node.
8508         * sysdeps/generic/bits/hwcap.h: New file.
8509         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
8510         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
8511         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
8512         * sysdeps/sparc/sysdep.h: ... here.  Include it.
8513         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
8514         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
8515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8516         Update.
8517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
8518         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
8519         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
8520         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
8521         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8522         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8523         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
8524         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
8526 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8528         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8530 2012-05-19  David S. Miller  <davem@davemloft.net>
8532         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8534 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
8536         [BZ #14123]
8537         * math/s_ccosh.c: Include <float.h>
8538         (__ccosh): Avoid internal overflow calculating sinh and cosh
8539         values before multiplying by sin and cos values.
8540         * math/s_ccoshf.c: Likewise.
8541         * math/s_ccoshl.c: Likewise.
8542         * math/s_csin.c: Likewise.
8543         * math/s_csinf.c: Likewise.
8544         * math/s_csinl.c: Likewise.
8545         * math/s_csinh.c: Likewise.
8546         * math/s_csinhf.c: Likewise.
8547         * math/s_csinhl.c: Likewise.
8548         * math/libm-test.inc (ccos_test): Add more tests.
8549         (ccosh_test): Likewise.
8550         (csin_test): Likewise.
8551         (csinh_test): Likewise.
8552         * sysdeps/i386/fpu/libm-test-ulps: Update.
8553         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8555 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
8557         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
8558         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
8560         * sysdeps/x86_64/x32/_itoa.h: Add comment.
8562 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
8564         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
8565         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
8566         * sysdeps/powerpc/soft-fp/Versions: Likewise.
8567         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
8568         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
8569         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
8570         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
8571         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
8572         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
8573         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
8574         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
8575         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
8576         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
8577         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
8578         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
8579         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
8580         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
8581         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
8582         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
8583         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
8584         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
8585         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
8586         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
8587         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
8588         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
8589         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
8590         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
8591         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
8592         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
8593         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
8594         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
8596 2012-05-18  Andreas Jaeger  <aj@suse.de>
8598         * csu/.gitignore: Delete.
8600 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
8602         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
8603         (timex): Use __syscall_slong_t.
8605 2012-05-18  Andreas Jaeger  <aj@suse.de>
8606             Carlos O'Donell  <carlos_odonell@mentor.com>
8608         * manual/install.texi (Configuring and compiling): Update
8609         description about files modified in the source directory.
8610         * INSTALL: Regenerated.
8612 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
8614         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
8615         value.  Use "or" to set return value to -1.
8616         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
8617         negate return value.
8619 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8621         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
8622         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
8623         failure if the compiler has Graphite support disabled.
8624         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
8625         Likewise.
8626         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
8627         CFLAGS-memmove.c): Likewise.
8628         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
8629         Likewise.
8631 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
8633         * sysdeps/x86_64/x32/_itoa.h: New file.
8635         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
8636         getdents system call only if kernel and user dirents have the
8637         same d_ino and d_off.
8639         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8640         LLONG_MAX != LONG_MAX.
8641         (_itoa_word): Use _ITOA_WORD_TYPE on value.
8642         (_fitoa_word): Likewise.
8644         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
8645         years.
8646         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
8647         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
8648         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
8650         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
8651         include <bits/wordsize.h>.  Check __x86_64__ instead of
8652         __WORDSIZE.
8653         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
8654         if __x86_64__ is defined.  Use anonymous union on fpstate.
8656         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
8657         anonymous union.
8659 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
8661         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8662         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
8663         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
8664         Refer to _rtld_local_ro instead of _rtld_global_ro.
8665         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
8666         Likewise.
8667         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
8668         Likewise.
8669         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
8670         Likewise.
8671         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
8672         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
8673         of _rtld_global, and rtld_progname instead of _dl_argv[0].
8675         * sysdeps/powerpc/powerpc32/dl-machine.c
8676         (__elf_machine_runtime_setup) [PROF]: Don't reference
8677         _dl_prof_resolve.
8679 2012-05-18  Andreas Jaeger  <aj@suse.de>
8681         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
8682         function only available for GCCs before 3.4 since GCC 3.4
8683         introduced a builtin.
8684         (lrint): Likewise.
8685         (llrintf): Likewise.
8686         (llrint): Likewise.
8687         (fmaxf): Likewise.
8688         (fmax): Likewise.
8689         (fminf): Likewise.
8690         (fmin): Likewise.
8691         (rint): Likewise.
8692         (rintf): Likewise.
8693         (nearbyint): Likewise.
8694         (nearbyintf): Likewise.
8695         (ceil): Likewise.
8696         (ceilf): Likewise.
8697         (floor): Likewise.
8698         (floorf): Likewise.
8700 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
8702         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
8703         on both fields and cast pointer to __syscall_ulong_t.
8705         * bits/types.h (__fsword_t): New type.
8706         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
8707         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
8708         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8709         (__FSWORD_T_TYPE): Likewise.
8710         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8711         (__FSWORD_T_TYPE): Likewise.
8712         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8713         (__FSWORD_T_TYPE): Likewise.
8714         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
8715         (__FSWORD_T_TYPE): Likewise.
8716         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
8717         __SWORD_TYPE with __fsword_t.
8718         (statfs64): Likewise.
8720 2012-05-17  David S. Miller  <davem@davemloft.net>
8722         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
8724 2012-05-17  Andreas Jaeger  <aj@suse.de>
8726         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
8727         warning.
8729 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
8731         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
8733 2012-05-17  Andreas Jaeger  <aj@suse.de>
8735         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
8736         when it is used.
8738 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
8740         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
8742 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
8744         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
8745         * sysdeps/x86_64/tst-mallocalign1.c: New file.
8747 2012-05-17  Andreas Jaeger  <aj@suse.de>
8748             Carlos O'Donell  <carlos_odonell@mentor.com>
8750         [BZ #14059]
8751         * sysdeps/x86_64/multiarch/init-arch.h
8752         (bit_YMM_Usable): Rename to...
8753         (bit_AVX_Usable): ... this.
8754         (bit_FMA4_Usable): New macro.
8755         (bit_XMM_state): New macro.
8756         (bit_YMM_state): New macro.
8757         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
8758         [__ASSEMBLER__] (index_AVX_Usable): ... this.
8759         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
8760         (CPUID_OSXSAVE): New macro.
8761         (CPUID_AVX): New macro.
8762         (CPUID_FMA4): New macro.
8763         (index_YMM_Usable): Rename to...
8764         (index_AVX_Usable): ... this.
8765         (HAS_AVX): Use HAS_ARCH_FEATURE.
8766         (HAS_FMA4): Likewise.
8767         (HAS_YMM_USABLE): Remove.
8768         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8769         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
8770         are present.
8771         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
8772         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
8773         * sysdeps/x86_64/multiarch/Makefile: Likewise.
8774         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
8775         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
8777 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
8779         * math/libm-test.c: Support platforms without multiple rounding modes.
8780         * math/bug-nextafter.c: Support platforms without FP exceptions.
8781         * math/bug-nexttoward.c: Likewise.
8782         * math/test-fenv.c: Likewise.
8783         * math/test-misc.c: Likewise.
8784         * stdlib/bug-getcontext.c: Likewise.
8786 2012-05-17  Andreas Jaeger  <aj@suse.de>
8788         * manual/examples/search.c (critter_cmp): Change signature to
8789         avoid warnings.
8790         * manual/string.texi (Collation Functions): Likewise.
8792 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
8794         * bits/types.h: Fold copyright years.
8795         * bits/typesizes.h: Likewise.
8796         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
8797         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8798         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
8799         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
8800         * time/time.h: Likewise.
8802 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
8804         [BZ #208]
8805         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
8806         in instead of returning them.  Return void.
8807         (__libc_mallinfo): Accumulate over all arenas.
8808         (__malloc_stats): Adjust for change in int_mallinfo interface.
8810 2012-05-16  Roland McGrath  <roland@hack.frob.com>
8812         [BZ #10375]
8813         * configure.in (NM): Add AC_CHECK_TOOL for it.
8814         (libc_extra_cflags): New substituted variable.
8815         Check for -fstack-protector being used implicitly.
8816         * configure: Regenerated.
8817         * config.make.in (config-extra-cflags): New variable,
8818         gets @libc_extra_cflags@.
8819         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
8821         [BZ #10375]
8822         * configure.in: Check for _FORTIFY_SOURCE being predefined.
8823         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
8824         * configure: Regenerated.
8825         * config.make.in (CPPUNDEFS): New substituted variable.
8826         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
8827         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
8828         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
8830 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
8832         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
8833         (mq_attr): Use __syscall_slong_t.
8835 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
8837         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
8838         Check __x86_64__ instead of __WORDSIZE.
8839         (_STAT_VER_LINUX): Likewise.
8840         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
8841         __syscall_ulong_t and __syscall_slong_t.
8842         (stat64): Likewise.
8844 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
8846         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
8848 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
8850         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
8852 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
8854         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
8855         __syscall_ulong_t.
8857         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
8858         include <bits/wordsize.h>.  Check __x86_64__ instead of
8859         __WORDSIZE.
8860         (greg_t): Use "__extension__ long long int" if __x86_64__ is
8861         defined.
8862         (mcontext_t): Replace "unsigned long" with "unsigned long long".
8864         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
8865         include <bits/wordsize.h>.  Check __x86_64__ instead of
8866         __WORDSIZE.
8867         (user_regs_struct): Use "__extension__ unsigned long long"
8868         instead of "unsigned long" if __x86_64__ is defined.
8869         (user): Likewise.  Pad after pointer field if __ILP32__ is
8870         defined.
8872 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
8874         * configure.in (makeinfo): Require version 4.5 or later.  Allow
8875         versions 5 to 9.
8876         * configure: Regenerated.
8877         * manual/install.texi (texinfo): Increase version requirement to
8878         4.5 or later.
8879         * INSTALL: Regenerated.
8881         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
8883 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
8885         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
8887         * sysdeps/x86_64/x32/ffs.c: New file.
8889         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
8890         __syscall_ulong_t.
8891         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
8892         defined.  Use __syscall_ulong_t.
8893         (shminfo): Use __syscall_ulong_t.
8894         (shm_info): Likewise.
8896         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
8897         __syscall_ulong_t.
8899         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
8900         <bits/wordsize.h>.
8901         (msgqnum_t): Use __syscall_ulong_t.
8902         (msglen_t): Likewise.
8903         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
8904         __syscall_ulong_t.
8906         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
8907         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
8909         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
8911         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
8912         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
8914         * sysvipc/sys/msg.h (msgbuf): Replace long int with
8915         __syscall_slong_t.
8917         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
8918         include <bits/wordsize.h>.  Check __x86_64__ instead of
8919         __WORDSIZE.
8921         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
8922         "unsigned long long int" if __x86_64__ is defined.
8923         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
8925         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
8926         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
8927         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
8929         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
8930         <stdint.h>.
8931         (GET_PC): Cast to uintptr_t first.
8932         (GET_FRAME): Likewise.
8933         (GET_STACK): Likewise.
8935         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
8936         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
8937         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
8938         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
8939         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
8940         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
8941         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
8942         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
8943         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
8944         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
8945         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
8946         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
8947         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8948         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
8949         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
8950         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
8951         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
8952         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
8953         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
8954         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
8955         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
8956         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
8957         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
8958         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
8959         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
8960         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
8961         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
8962         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
8963         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
8965 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
8967         * Makerules (+depfiles): Also collect depfiles from .oS in
8968         $(extra-objs).
8969         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
8970         .oS, $(libnldbl-routines)).
8972         * Makerules (native-compile-mkdep-flags): Define.
8973         * sunrpc/Makefile (extra-objs): Add $(addprefix
8974         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
8975         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
8976         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
8977         calling $(make-target-directory).
8979 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
8981         * bits/types.h (__snseconds_t): Removed.
8982         * time/time.h (struct timespec): Replace __snseconds_t with
8983         __syscall_slong_t.
8984         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
8985         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
8986         Likewise.
8987         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8988         (__SNSECONDS_T_TYPE): Likewise.
8989         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8990         (__SNSECONDS_T_TYPE): Likewise.
8991         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8992         (__SNSECONDS_T_TYPE): Likewise.
8994 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
8996         * sysdeps/mach/hurd/bits/typesizes.h
8997         (__SYSCALL_SLONG_TYPE): New macro.
8998         (__SYSCALL_ULONG_TYPE): Likewise.
9000 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9002         * bits/types.h (__syscall_slong_t): New type.
9003         (__syscall_ulong_t): Likewise.
9005         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
9006         (__SYSCALL_ULONG_TYPE): Likewise.
9007         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9008         (__SYSCALL_SLONG_TYPE): Likewise.
9009         (__SYSCALL_ULONG_TYPE): Likewise.
9010         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9011         (__SYSCALL_SLONG_TYPE): Likewise.
9012         (__SYSCALL_ULONG_TYPE): Likewise.
9013         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9014         (__SYSCALL_SLONG_TYPE): Likewise.
9015         (__SYSCALL_ULONG_TYPE): Likewise.
9017 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9019         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
9020         Add sigaltstack-offsets.sym.
9021         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
9022         <sigaltstack-offsets.h>.
9023         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
9024         longjmp_msg pointer.
9025         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
9026         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
9027         signal stack.
9028         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
9030 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
9032         * elf/stackguard-macros.h: Remove file.
9033         * sysdeps/generic/stackguard-macros.h: New file.
9034         * sysdeps/i386/stackguard-macros.h: Likewise.
9035         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9036         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9037         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9038         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9039         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9040         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9041         * sysdeps/x86_64/stackguard-macros.h: Likewise.
9042         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
9043         <elf/stackguard-macros.h>.
9045         [BZ #14109]
9046         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
9047         __aligned__ in attribute.
9048         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
9049         (gregset_t): Likewise.
9051 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9053         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
9054         * sysdeps/x86_64/64/Implies-after: Here.  New file.
9055         * sysdeps/x86_64/x32/Implies-after: New file.
9057 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9059         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
9060         and access return value for _dl_profile_fixup.  Use R10_LP to
9061         load frame size.
9063 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9065         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
9067 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9069         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
9070         * sysdeps/x86_64/x32/sysdep.h: New file.
9072 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9074         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
9075         * sysdeps/x86_64/setjmp.S: Likewise.
9077 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9079         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
9080         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
9081         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
9082         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
9083         remove unused global constant.
9085 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
9087         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
9088         include of <not-cancel.h>.
9090 2012-05-15  Roland McGrath  <roland@hack.frob.com>
9092         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
9094 2012-05-15  Jeff Law  <law@redhat.com>
9095             Andreas Jaeger  <aj@suse.de>
9097         [BZ #13594]
9098         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
9099         out from...
9100         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
9101         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
9102         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
9103         code changing __hst_map_handle.map.
9105 2012-05-15  Roland McGrath  <roland@hack.frob.com>
9107         * configure.in (sysnames): Look for Implies-before and Implies-after
9108         files.
9109         * configure: Regenerated.
9111 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9113         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
9114         8-byte data alignment with LP_SIZE alignment.
9116 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9118         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
9119         into R10_LP.
9121 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9123         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
9125 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9127         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
9128         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
9129         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
9130         Likewise.
9131         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9133 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9135         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
9136         (stackinfo_sub_sp): Likewise.
9138 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9140         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
9141         RAX_LP.
9143 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9145         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
9146         into R*_LP.
9148 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9150         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
9151         sizes into R*_LP.
9153 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9155         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
9157 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9159         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
9160         into R11_LP and load __x86_64_shared_cache_size_half into
9161         R8_LP.
9163 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9165         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
9166         R8_LP.
9168 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9170         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
9171         logb for POWER7.
9172         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
9173         logbf for POWER7.
9174         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
9175         logbl for POWER7.
9176         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
9177         powerpc32/power7/fpu/s_logb.c via #include.
9178         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
9179         powerpc32/power7/fpu/s_logbf.c via #include.
9180         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
9181         powerpc32/power7/fpu/s_logbl.c via #include.
9183 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
9185         * README.libm: Remove file.
9187 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9189         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
9190         count for x32.  Use R*_LP and omit operand-size suffix.
9192 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9194         * shlib-versions: Move x86_64-.*-linux.* entries to ...
9195         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
9196         * sysdeps/x86_64/x32/shlib-versions: New file.
9198 2012-05-14  Roland McGrath  <roland@hack.frob.com>
9200         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
9201         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
9202         Use _dl_fatal_printf instead.
9204 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
9206         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
9207         set if not set by the user.  Do not allow for being unset.
9208         * sysdeps/unix/sysv/linux/configure: Regenerated.
9210 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9212         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
9213         the `q' suffix from lea and replace .quad with ASM_ADDR.
9215 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9217         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
9218         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
9219         instead of $17.
9220         (PTR_DEMANGLE): Likewise.
9222 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9224         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
9225         (LP_OP): Likewise.
9226         (ASM_ADDR): Likewise.
9227         (RAX_LP): Likewise.
9228         (RBP_LP): Likewise.
9229         (RBX_LP): Likewise.
9230         (RCX_LP): Likewise.
9231         (RDI_LP): Likewise.
9232         (RSI_LP): Likewise.
9233         (RSP_LP): Likewise.
9234         (R8_LP): Likewise.
9235         (R9_LP): Likewise.
9236         (R10_LP): Likewise.
9237         (R10_LP): Likewise.
9238         (R11_LP): Likewise.
9239         (R12_LP): Likewise.
9240         (R13_LP): Likewise.
9241         (R14_LP): Likewise.
9242         (R15_LP): Likewise.
9244 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9246         * sysdeps/x86_64/x32/dl-machine.h: New file.
9248 2012-05-14  Andreas Jaeger  <aj@suse.de>
9250         * manual/Makefile (subdir): Remove export of subdir.
9251         (all): Remove target.
9252         (.PHONY): Remove all from list.
9253         (mkinstalldirs): Remove.
9254         (.PHONY): Remove installdirs from list.
9255         ($(inst_infodir)/libc.info): Use make-target-directory.
9256         (installdirs): Remove.
9257         (subdir_%): Remove.
9258         (glibc-targets): Remove.
9259         (lib): Remove.
9260         (stubs): Remove.
9261         ($(objpfx)stubs ../po/manual.pot): Remove.
9262         ($(objpfx)stamp%): Remove.
9263         (make-target-directory): Remove.
9264         (subdir_install): Remove.
9265         (routines): Remove.
9266         (aux): Remove.
9267         (sources): Remove.
9268         (objects): Remove.
9269         (headers): Remove.
9271         [BZ #13750]
9272         * manual/.gitignore: Remove, it's not needed anymore.
9273         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
9274         all files in it.
9275         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
9276         directory.
9277         (texis): Renamed to $(objpfx)texis.
9278         (texis-path): New, contains path to generated files.
9279         (chapters.%): Use texis-path for complete path, add extra argument
9280         libc-texinfo.sh.
9281         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
9282         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
9283         (summary,texi, stamp-summary): Use complete path of
9284         files. Generate files in build dir.
9285         (dir-add.texi): Build in build dir.
9286         (libm-err.texi,stamp-libm-err): Likewise.
9287         (version.texi, stamp-version): Likewise.
9288         (.%c.texi): Likewise.
9289         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
9290         (mostlyclean): Remove target.
9291         (realclean): Remove target.
9292         (generated): Add new variable with contents from mostlyclean and
9293         realclean, remove entries duplicated in common-mostlyclean, add
9294         stamp-libm-err and stamp-version.
9295         (generated-dirs): Add libc directory.
9296         ($(inst_infodir)/libc.info): Install files from build dir.
9298         * manual/install.texi (Configuring and compiling): Adjust since
9299         the info files are not part of the tar ball anymore.
9301 2012-05-14  Andreas Jaeger  <aj@suse.de>
9303         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
9304         variable.
9306 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
9308         [BZ #13717]
9309         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9310         to 2.2.0 where earlier.
9311         * sysdeps/unix/sysv/linux/configure: Regenerated.
9312         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
9313         Remove conditional code.
9314         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
9315         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
9316         Remove conditional code.
9317         [!__NR_lchown]: Likewise.
9318         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9319         [__NR_lchown]: Likewise.
9320         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
9321         comment referencing __ASSUME_LCHOWN_SYSCALL.
9322         * sysdeps/unix/sysv/linux/i386/sigaction.c
9323         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9324         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9325         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
9326         Remove conditional code.
9327         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
9328         (__protocol_available): Remove #if 0 code.
9329         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
9330         conditional code.
9331         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
9332         * sysdeps/unix/sysv/linux/kernel-features.h
9333         (__ASSUME_GETCWD_SYSCALL): Don't define.
9334         (__ASSUME_REALTIME_SIGNALS): Likewise.
9335         (__ASSUME_PREAD_SYSCALL): Likewise.
9336         (__ASSUME_PWRITE_SYSCALL): Likewise.
9337         (__ASSUME_POLL_SYSCALL): Likewise.
9338         (__ASSUME_LCHOWN_SYSCALL): Likewise.
9339         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
9340         non-SPARC.
9341         (__ASSUME_SIOCGIFNAME): Don't define.
9342         (__ASSUME_MSG_NOSIGNAL): Likewise.
9343         (__ASSUME_SENDFILE): Define unconditionally.
9344         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
9345         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
9346         conditional code.
9347         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
9348         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
9349         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9350         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9351         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
9352         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9353         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
9355         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9356         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9358         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9359         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
9361         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9362         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
9364         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9365         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
9367         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9368         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
9370         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9371         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
9373         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9374         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
9376         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9377         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9378         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
9379         Remove conditional code.
9380         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9381         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9382         Remove conditional code.
9383         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9384         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
9385         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
9386         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9387         Remove conditional code.
9388         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9389         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
9390         Remove conditional code.
9391         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9392         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
9393         Remove conditional code.
9394         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9395         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9396         Remove conditional code.
9397         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9398         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9399         Remove conditional code.
9400         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9401         * sysdeps/unix/sysv/linux/sh/pwrite64.c
9402         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9403         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9404         * sysdeps/unix/sysv/linux/sigaction.c
9405         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9406         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9407         * sysdeps/unix/sysv/linux/sigpending.c
9408         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9409         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9410         * sysdeps/unix/sysv/linux/sigprocmask.c
9411         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9412         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9413         * sysdeps/unix/sysv/linux/sigsuspend.c
9414         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9415         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9416         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9417         (__libc_missing_rt_sigs): Remove.
9418         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
9419         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
9420         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
9421         Remove conditional code.
9422         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
9423         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
9424         return 1.
9425         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
9426         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
9427         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
9428         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
9430 2012-05-14  Andreas Jaeger  <aj@suse.de>
9432         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
9433         it's not used in glibc.
9434         (__coshm1): Likewise.
9435         (__acosh1p): Likewise.
9436         (__sgn): Likewise.
9438         * manual/string.texi (Copying and Concatenation): Add missing
9439         variable in concat example.
9440         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9442 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9444         [BZ #14103]
9445         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
9446         __builtin_clzl with __builtin_clzll.
9448 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9450         [BZ #14104]
9451         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
9452         libc_freeres_ptr.
9454 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9456         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
9457         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
9458         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
9459         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
9461 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
9463         * NEWS: Update ia64 info.
9465 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
9467         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
9468         used as bcopy.
9470 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
9472         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
9473         * sysdeps/unix/syscalls.list (dup3): Likewise.
9474         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
9475         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
9477 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
9479         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
9480         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
9482 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
9484         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
9485         thread pointer.
9486         (TLS_IE): Use mov/add instead of movq/addq to load thread
9487         pointer.
9488         (TLS_GD_PREFIX): New.
9489         (TLS_GD): Use it.
9491 2012-05-11  David S. Miller  <davem@davemloft.net>
9493         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
9494         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
9495         (_FPU_SETCW): Likewise.
9497 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
9499         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
9500         is 32-byte aligned.
9502 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
9504         [BZ #11837]
9505         * iconvdata/gb18030.c: Update tables.
9506         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
9507         characters specially.
9508         (BODY for TO_LOOP): Add encoding of missing ranges.
9510 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
9512         [BZ #13673]
9513         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
9514         * sysdeps/mach/hurd/dup3.c: Likewise.
9515         * sysdeps/mach/hurd/readlinkat.c: Likewise.
9516         * sysdeps/powerpc/memmove.c:: Likewise.
9518 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
9520         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
9521         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
9523 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
9525         * elf/elf.h (R_X86_64_RELATIVE64): New.
9526         (R_X86_64_NUM): Updated.
9527         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9528         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
9529         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
9530         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
9531         tst-quad1pie tst-quad2pie
9532         (modules-names): Add tst-quadmod1 tst-quadmod2.
9533         ($(objpfx)tst-quad1): New dependency.
9534         ($(objpfx)tst-quad2): Likewise.
9535         ($(objpfx)tst-quad1pie): Likewise.
9536         ($(objpfx)tst-quad2pie): Likewise.
9537         * sysdeps/x86_64/tst-quad1.c: New file.
9538         * sysdeps/x86_64/tst-quad1pie.c: New file.
9539         * sysdeps/x86_64/tst-quad2.c: Likewise.
9540         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
9541         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
9542         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
9543         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
9544         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
9546 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9548         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
9549         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
9550         * streams/stropts.h (t_scalar_t): Define type.
9552         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
9553         (_PATH_PRESERVE): Set to "/var/lib".
9554         (_PATH_RWHODIR): Set to "/var/spool/rwho".
9556         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
9557         instead of int.
9559         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
9560         if __dir_mkfile succeeded.
9562         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
9563         checking for _hurd_dtablesize.  Unlock it right after having
9564         finished _hurd_dtable allocation.
9566 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9568         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
9569         * sysdeps/mach/hurd/configure: Regenerated.
9570         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
9571         special-casing to...
9572         * sysdeps/gnu/configure.in: ... this new file.
9573         * sysdeps/unix/sysv/linux/configure: Regenerated.
9574         * sysdeps/gnu/configure: New generated file.
9576         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
9577         for Linux: use nsec instead of usec, as well as:
9578         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
9579         members of type struct timespec.
9580         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
9581         New macros.
9582         (struct stat64): Likewise.
9583         (_STATBUF_ST_NSEC): New macro.
9584         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
9586         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9587         __strtoul_internal rather than strtoul.
9589 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
9591         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
9592         and reject them.
9594 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9596         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
9597         which preserves existing values.
9598         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
9600 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
9602         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
9603         TIMEOUT values.  Return EINVAL for NFDS values either negative or
9604         greater than FD_SETSIZE.
9606 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9608         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
9609         allocated, call __vm_protect to finish enabling the existing space, and
9610         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
9611         allocate the remainder.
9613 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
9615         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
9616         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
9618 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9620         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
9621         sysdeps/mach/hurd/readlink.c.
9623         * posix/tst-sysconf.c (posix_options): Only use
9624         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
9625         _POSIX_SYNCHRONIZED_IO when they are defined
9626         * sysdeps/mach/hurd/bits/posix_opt.h:
9627         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
9628         (_XOPEN_REALTIME): Undefine macro.
9629         (_XOPEN_REALTIME_THREADS): Undefine macro.
9630         (_XOPEN_SHM): Undefine macro.
9631         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
9632         macro to -1.
9633         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
9634         macro to -1.
9635         (_POSIX_ASYNC_IO): Undefine macro.
9636         (_POSIX_PRIORITIZED_IO): Undefine macro.
9637         (_POSIX_SPIN_LOCKS): Define macro to -1.
9639         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
9640         SA_NODEFER, SA_RESETHAND.
9641         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
9642         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
9643         F_DUPFD_CLOEXEC.
9645 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9647         * elf/Makefile (pldd-modules): Define unconditionally.
9649 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9651         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
9653 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9655         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
9656         Return ENOENT when name is empty.
9657         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
9659 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9661         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
9663         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
9665 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9667         Fix mlock in all cases except non-readable pages.
9668         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
9669         instead of VM_PROT_ALL as parameter to __vm_wire function.
9671         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
9672         (__mkdir): When path is `/', just fail with EEXIST.
9673         * sysdeps/mach/hurd/mkdirat.c: Likewise.
9675 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9677         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
9678         <sys/uio.h> (for writev).
9679         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
9680         and <sys/param.h> (for MIN).
9682 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
9684         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
9685         REQUESTED_TIME.  Properly set the remaining time and return EINTR
9686         if interrupted.
9688 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9690         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
9691         Depend on against $(link-rpcuserlibs).
9693 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9695         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
9696         (__libc_stack_end): Do not use attribute_relro.
9697         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
9698         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
9699         to libthread-provided value.
9700         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
9701         attribute_relro.
9703 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9705         [BZ #3748]
9706         * bits/libc-lock.h (__libc_once_get): New macro.
9707         * sysdeps/mach/bits/libc-lock.h: Likewise.
9708         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
9709         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
9710         instead of using implementation details.
9712         * libio/fileops.c: Unconditionally include <kernel-features.h>.
9713         * libio/freopen.c: Likewise.
9714         * libio/freopen64.c: Likewise.
9715         * misc/syslog.c: Likewise.
9716         * nscd/connections.c: Likewise.
9717         * nscd/netgroupcache.c: Likewise.
9718         * sysdeps/posix/getcwd.c: Likewise.
9720 2012-05-10  Roland McGrath  <roland@hack.frob.com>
9722         * math/w_ilogbf.c: Add #include <limits.h>.
9724 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9726         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
9727         path instead of returning without unlocking.
9729         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
9730         immediate-write ioctls.
9731         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
9733 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9735         * sysdeps/mach/hurd/i386/init-first.c (init): Use
9736         __builtin_frame_address instead of making assumptions about the
9737         location of the return address relative to DATA.  Force early load of
9738         the return address.
9739         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
9740         __builtin_frame_address.
9742         dup3 for GNU Hurd.
9743         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
9744         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
9745         implement dup3 and do some further code clean-ups.
9746         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
9747         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
9749 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9751         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
9753         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
9754         HURD_CRITICAL_END around holding _hurd_dtable_lock.
9755         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
9756         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
9757         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
9758         d->port.lock.
9760         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
9761         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
9762         when handler == SIG_ERR, not when handler != SIG_ERR.
9764 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9766         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
9767         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
9768         definitions.
9770         accept4 for GNU Hurd.
9771         * include/sys/socket.h (__libc_accept4): New prototype.
9772         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
9773         to implement __libc_accept4.
9774         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
9775         __libc_accept4.
9776         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
9778         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
9779         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
9780         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
9781         signal-defines.sym.
9783 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9785         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
9787 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9789         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
9790         assertion on O_CLOEXEC flag.
9791         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
9792         * hurd/intern-fd.c: Likewise.
9793         * hurd/port2fd.c: Likewise.
9795 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9797         [BZ #3906]
9798         * bits/in.h (IPV6_PKTINFO): Define new macro.
9799         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
9801 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9803         [BZ #13954]
9804         [BZ #13955]
9805         [BZ #13956]
9806         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
9807         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9808         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
9809         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9810         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9811         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9812         * math/libm-test.inc (logb_test) : Additional logb tests.
9814 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
9815             Andreas Jaeger  <aj@suse.de>
9817         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
9818         * configure: Regenerated.
9819         * config.h.in (LINK_OBSOLETE_RPC): New macro.
9820         * config.make.in (link-obsolete-rpc): New substituted variable.
9821         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
9822         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
9823         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9824         (shared-only-routines): Don't set it under [link-obsolete-rpc],
9825         so that libc.a contains the symbols.
9826         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9827         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
9828         * sunrpc/auth_none.c: Likewise.
9829         * sunrpc/auth_unix.c: Likewise.
9830         * sunrpc/authdes_prot.c: Likewise.
9831         * sunrpc/authuxprot.c: Likewise.
9832         * sunrpc/clnt_gen.c: Likewise.
9833         * sunrpc/clnt_perr.c: Likewise.
9834         * sunrpc/clnt_raw.c: Likewise.
9835         * sunrpc/clnt_simp.c: Likewise.
9836         * sunrpc/clnt_tcp.c: Likewise.
9837         * sunrpc/clnt_udp.c: Likewise.
9838         * sunrpc/clnt_unix.c: Likewise.
9839         * sunrpc/des_crypt.c: Likewise.
9840         * sunrpc/des_soft.c: Likewise.
9841         * sunrpc/get_myaddr.c: Likewise.
9842         * sunrpc/key_call.c: Likewise.
9843         * sunrpc/key_prot.c: Likewise.
9844         * sunrpc/netname.c: Likewise.
9845         * sunrpc/pm_getmaps.c: Likewise.
9846         * sunrpc/pm_getport.c: Likewise.
9847         * sunrpc/pmap_clnt.c: Likewise.
9848         * sunrpc/pmap_prot.c: Likewise.
9849         * sunrpc/pmap_prot2.c: Likewise.
9850         * sunrpc/pmap_rmt.c: Likewise.
9851         * sunrpc/publickey.c: Likewise.
9852         * sunrpc/rpc_cmsg.c: Likewise.
9853         * sunrpc/rpc_common.c: Likewise.
9854         * sunrpc/rpc_dtable.c: Likewise.
9855         * sunrpc/rpc_prot.c: Likewise.
9856         * sunrpc/rpc_thread.c: Likewise.
9857         * sunrpc/rtime.c: Likewise.
9858         * sunrpc/svc.c: Likewise.
9859         * sunrpc/svc_auth.c: Likewise.
9860         * sunrpc/svc_raw.c: Likewise.
9861         * sunrpc/svc_run.c: Likewise.
9862         * sunrpc/svc_tcp.c: Likewise.
9863         * sunrpc/svc_udp.c: Likewise.
9864         * sunrpc/svc_unix.c: Likewise.
9865         * sunrpc/svcauth_des.c: Likewise.
9866         * sunrpc/xcrypt.c: Likewise.
9867         * sunrpc/xdr.c: Likewise.
9868         * sunrpc/xdr_array.c: Likewise.
9869         * sunrpc/xdr_float.c: Likewise.
9870         * sunrpc/xdr_intXX_t.c: Likewise.
9871         * sunrpc/xdr_mem.c: Likewise.
9872         * sunrpc/xdr_rec.c: Likewise.
9873         * sunrpc/xdr_ref.c: Likewise.
9874         * sunrpc/xdr_sizeof.c: Likewise.
9875         * sunrpc/xdr_stdio.c: Likewise.
9877 2012-05-10  Roland McGrath  <roland@hack.frob.com>
9879         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
9880         change.  Update copyright years.
9882 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
9884         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
9886 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
9887             Joseph Myers  <joseph@codesourcery.com>
9888             Paul Pluzhnikov  <ppluzhnikov@google.com>
9890         [BZ #14012]
9891         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
9892         requiring rpcgen.
9893         [cross-compiling] (extra-libs): Likewise.
9894         [cross-compiling] (extra-libs-others): Likewise.
9895         [cross-compiling] (librpcsvc-routines): Likewise.
9896         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
9897         [cross-compiling] (omit-deps): Likewise.
9898         (sunrpc-CPPFLAGS): New variable.
9899         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
9900         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
9901         (cross-rpcgen-objs): New variable.
9902         (extra-objs): Append $(cross-rpcgen-objs).
9903         ($(cross-rpcgen-objs)): New rule.
9904         ($(objpfx)cross-rpcgen): Likewise.
9905         (rpcgen-cmd): Define to use $(built-program-file).  Expand
9906         comment.
9907         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
9908         ($(objpfx)x%.stmp): Likewise.
9909         * sunrpc/proto.h [IS_IN_build] (_): Define.
9910         [IS_IN_build] (_libc_intl_domainname): Likewise.
9912 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
9914         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
9915         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
9916         and R_X86_64_TPOFF64.
9918 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
9920         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
9921         sysdeps/unix/sysv/syscalls.list.
9922         (stime): Likewise.
9923         (utime): Likewise.
9924         * sysdeps/unix/sysv/syscalls.list: Remove file.
9926 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
9928         [BZ #3440]
9929         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
9930         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
9931         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
9932         (__LC_IDENTIFICATION): Make these macros useful in #if
9933         expressions, as required by C99.
9935 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
9937         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
9938         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
9939         after this.
9941 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
9943         * stdlib/longlong.h: Updated from GCC.
9945 2012-05-09  Andreas Jaeger  <aj@suse.de>
9947         * nscd/nscd.c (run_modes): Make named enum, reorder so that
9948         default is first entry.
9949         (run_mode): Set type.
9950         (main): Remove informal message about syslog.
9951         (options): Fix typo.
9953         [BZ #14053]
9954         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
9955         to asm.
9956         (lrint): Likewise.
9957         (llrintf): Likewise.
9958         (llrint): Likewise.
9959         (rint): Likewise.
9960         (rintf): Likewise.
9961         (nearbyint): Likewise.
9962         (nearbyintf): Likewise.
9964 2012-05-09  Andreas Jaeger  <aj@suse.de>
9965             Pedro Alves  <palves@redhat.com>
9967         * nscd/nscd.c (run_mode): Use enum.
9968         (main): Cleanup coding style issue.
9970 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
9971             Andreas Jaeger  <aj@suse.de>
9973         * nscd/nscd.c (go_background): Replaced with...
9974         (run_mode): ... this.
9975         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
9976         (options): Add -F --foreground.
9977         (main): Implement it.
9978         (parse_opt): Parse it.
9980 2012-05-09  Andreas Jaeger  <aj@suse.de>
9982         [BZ #14083]
9983         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
9984         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
9985         -Wconversion warning.
9986         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
9987         Likewise.
9989 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
9991         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
9992         == 0.
9993         (LC_ALL): Use macro-int-constant.
9994         (LC_COLLATE): Likewise.
9995         (LC_CTYPE): Likewise.
9996         (LC_MESSAGES): Likewise.
9997         (LC_MONETARY): Likewise.
9998         (LC_NUMERIC): Likewise.
9999         (LC_TIME): Likewise.
10000         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
10001         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10002         [ISO || ISO99 || ISO11] (*_t): Do not allow.
10003         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
10004         Specify type.
10005         [C99-based standards] (float_t): Expect type.
10006         [C99-based standards] (double_t): Expect type.
10007         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
10008         type.
10009         [C99-based standards] (HUGE_VALL): Likewise.
10010         [C99-based standards] (INFINITY): Likewise.
10011         [C99-based standards] (NAN): Likewise.
10012         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
10013         [C99-based standards] (FP_NAN): Likewise.
10014         [C99-based standards] (FP_NORMAL): Likewise.
10015         [C99-based standards] (FP_SUBNORMAL): Likewise.
10016         [C99-based standards] (FP_ZERO): Likewise.
10017         [C99-based standards] (FP_FAST_FMA): Use
10018         optional-macro-int-constant.  Specify type.  Require == 1.
10019         [C99-based standards] (FP_FAST_FMAF): Likewise.
10020         [C99-based standards] (FP_FAST_FMAL): Likewise.
10021         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
10022         [C99-based standards] (FP_ILOGBNAN): Likewise.
10023         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
10024         Specify type.
10025         [C99-based standards] (MATH_ERREXCEPT): Likewise.
10026         [C99-based standards] (math_errhandling): Specify type.
10027         [ISO99 || ISO11] (signgam): Do not allow.
10028         [non-C99-based standards] (copysignf): Do not allow.
10029         [non-C99-based standards] (exp2f): Likewise.
10030         [non-C99-based standards] (log2f): Likewise.
10031         [non-C99-based standards] (modff): Allow.
10032         [non-C99-based standards] (erff): Do not allow.
10033         [non-C99-based standards] (erfcf): Likewise.
10034         [non-C99-based standards] (gammaf): Likewise.
10035         [non-C99-based standards] (hypotf): Likewise.
10036         [non-C99-based standards] (j0f): Likewise.
10037         [non-C99-based standards] (j1f): Likewise.
10038         [non-C99-based standards] (jnf): Likewise.
10039         [non-C99-based standards] (lgammaf): Likewise.
10040         [non-C99-based standards] (tgammaf): Likewise.
10041         [non-C99-based standards] (y0f): Likewise.
10042         [non-C99-based standards] (y1f): Likewise.
10043         [non-C99-based standards] (ynf): Likewise.
10044         [non-C99-based standards] (isnanf): Likewise.
10045         [non-C99-based standards] (acoshf): Likewise.
10046         [non-C99-based standards] (asinhf): Likewise.
10047         [non-C99-based standards] (atanhf): Likewise.
10048         [non-C99-based standards] (cbrtf): Likewise.
10049         [non-C99-based standards] (expm1f): Likewise.
10050         [non-C99-based standards] (ilogbf): Likewise.
10051         [non-C99-based standards] (log1pf): Likewise.
10052         [non-C99-based standards] (logbf): Likewise.
10053         [non-C99-based standards] (nextafterf): Likewise.
10054         [non-C99-based standards] (remainderf): Likewise.
10055         [non-C99-based standards] (rintf): Likewise.
10056         [non-C99-based standards] (scalbf): Likewise.
10057         [non-C99-based standards] (copysignl): Likewise.
10058         [non-C99-based standards] (exp2l): Likewise.
10059         [non-C99-based standards] (log2l): Likewise.
10060         [non-C99-based standards] (modfl): Allow.
10061         [non-C99-based standards] (erfl): Do not allow.
10062         [non-C99-based standards] (erfcl): Likewise.
10063         [non-C99-based standards] (gammal): Likewise.
10064         [non-C99-based standards] (hypotl): Likewise.
10065         [non-C99-based standards] (j0l): Likewise.
10066         [non-C99-based standards] (j1l): Likewise.
10067         [non-C99-based standards] (jnl): Likewise.
10068         [non-C99-based standards] (lgammal): Likewise.
10069         [non-C99-based standards] (tgammal): Likewise.
10070         [non-C99-based standards] (y0l): Likewise.
10071         [non-C99-based standards] (y1l): Likewise.
10072         [non-C99-based standards] (ynl): Likewise.
10073         [non-C99-based standards] (isnanl): Likewise.
10074         [non-C99-based standards] (acoshl): Likewise.
10075         [non-C99-based standards] (asinhl): Likewise.
10076         [non-C99-based standards] (atanhl): Likewise.
10077         [non-C99-based standards] (cbrtl): Likewise.
10078         [non-C99-based standards] (expm1l): Likewise.
10079         [non-C99-based standards] (ilogbl): Likewise.
10080         [non-C99-based standards] (log1pl): Likewise.
10081         [non-C99-based standards] (logbl): Likewise.
10082         [non-C99-based standards] (nextafterl): Likewise.
10083         [non-C99-based standards] (remainderl): Likewise.
10084         [non-C99-based standards] (rintl): Likewise.
10085         [non-C99-based standards] (scalbl): Likewise.
10086         [ISO || ISO99 || ISO11] (*_t): Do not allow.
10087         [non-C99-based standards] (FP_*): Do not allow.
10088         [C99-based standards] (FP_*): Change to
10089         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10090         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10091         allow.
10092         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
10093         (SIG_ERR): Likewise.
10094         [X/Open-based standards] (SIG_HOLD): Likewise.
10095         (SIG_IGN): Likewise.
10096         (SIGABRT): Use macro-int-constant.  Specify type.  Require
10097         positive value.
10098         (SIGFPE): Likewise.
10099         (SIGILL): Likewise.
10100         (SIGINT): Likewise.
10101         (SIGSEGV): Likewise.
10102         (SIGTER): Likewise.
10103         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
10104         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
10105         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
10106         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
10107         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
10108         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
10109         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
10110         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
10111         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
10112         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
10113         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
10114         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
10115         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
10116         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
10117         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
10118         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
10119         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
10120         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
10121         [X/Open-based standards] (SIGTRAP): Likewise.
10122         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
10123         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
10124         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
10125         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
10126         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10127         allow.
10129 2012-05-08  Ian Wienand  <ianw@vmware.com>
10131         [BZ #14080]
10132         * time/tzset.c (__tzset_parse_tz): Update default rules for
10133         daylight time changes in the Energy Policy Act of 2005.
10135 2012-05-09  Andreas Jaeger  <aj@suse.de>
10137         [BZ #13983]
10138         * elf/ldconfig.c (parse_conf): Change string to make clear that
10139         ldconfig only issued a warning if ld.so.conf does not exist.
10141 2012-05-08  David S. Miller  <davem@davemloft.net>
10143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
10144         movxtod instead of popping the value on the stack.
10146         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10148 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
10150         * config.h.in: Add HAVE_ARM_PCS_VFP.
10152 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
10154         [BZ #13979]
10155         * include/features.h: Warn if user requests __FORTIFY_SOURCE
10156         checking but the checks are disabled for any reason.
10158 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
10160         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
10161         and ELF64_R_TYPE with ELFW(R_TYPE).
10163 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
10165         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
10166         (ulimit): Likewise.
10168         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
10169         (settimeofday): Likewise.
10171 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
10173         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
10174         a struct th_u2 inside the union, and move tu_block/tu_code into
10175         a new th_u3 union of tu_block/tu_code inside of that.  Move
10176         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
10177         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
10178         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
10179         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
10180         (th_stuff): Change to th_u1.tu_stuff.
10181         (th_data): Define.
10182         (th_msg): Change to th_u1.th_u2.tu_data.
10184 2012-05-07  David S. Miller  <davem@davemloft.net>
10186         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10188         [BZ #14074]
10189         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
10190         (SETUP_PIC_REG): Use it.
10191         (SETUP_PIC_REG_LEAF): Use it.
10193 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
10195         [BZ #13885]
10196         [BZ #13923]
10197         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10198         USE_AS_EXPM1L.
10199         (EXPL_FINITE): Likewise.
10200         (FLDLOG): Likewise.
10201         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10202         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10203         e_expl.S.
10204         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10205         USE_AS_EXPM1L.
10206         (EXPL_FINITE): Likewise.
10207         (FLDLOG): Likewise.
10208         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10209         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10210         e_expl.S.
10211         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
10212         test of -max_value argument for long double.
10213         * sysdeps/i386/fpu/libm-test-ulps: Update.
10214         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10216 2012-05-06  David S. Miller  <davem@davemloft.net>
10218         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
10219         quad soft-float symbols whose references which are compiler
10220         generated.
10221         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10223 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
10225         [BZ #13884]
10226         [BZ #13914]
10227         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10228         USE_AS_EXP10L.
10229         (EXPL_FINITE): Likewise.
10230         (FLDLOG): Likewise.
10231         (c0): Likewise.
10232         (c1): Likewise.
10233         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
10234         Adjust comments for base varying.
10235         (__expl_finite): Change alias to EXPL_FINITE.
10236         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
10237         e_expl.S.
10238         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
10239         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10240         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10241         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
10242         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10243         USE_AS_EXP10L.
10244         (EXPL_FINITE): Likewise.
10245         (FLDLOG): Likewise.
10246         (c0): Likewise.
10247         (c1): Likewise.
10248         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
10249         Adjust comments for base varying.
10250         (__expl_finite): Change alias to EXPL_FINITE.
10251         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
10252         tests for bugs.
10253         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10255         [BZ #14064]
10256         * math/libm-test.inc (check_float_internal): Correct ulp
10257         calculation for subnormal expected results.
10259 2012-05-06  Andreas Jaeger  <aj@suse.de>
10261         * Makeconfig (+math-flags): New, set to -frounding-math.
10262         (+cflags): Add +math-flags so that all of glibc gets compiled with
10263         it.
10265         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
10267 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
10269         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
10270         Disable one test.
10272         [BZ #13787]
10273         [BZ #13922]
10274         [BZ #14036]
10275         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
10276         (__ieee754_expl): Allow for and saturate large arguments.
10277         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
10278         (u_threshold): Likewise.
10279         (__exp): Call __ieee754_exp before checking for overflow and
10280         underflow.
10281         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
10282         (u_threshold): Likewise.
10283         (__expf): Call __ieee754_expf before checking for overflow and
10284         underflow.
10285         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
10286         (u_threshold): Likewise.
10287         (__expl): Call __ieee754_expl before checking for overflow and
10288         underflow.
10289         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
10290         (__ieee754_expl): Allow for and saturate large arguments.
10291         * math/libm-test.inc (exp_test): Add another test.  Do not allow
10292         missing overflow exception on overflow.
10293         (expm1_test): Do not allow missing overflow exception on overflow.
10295         * sysdeps/i386/fpu/e_expl.c: Move to ...
10296         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
10297         rather than using inline asm.
10298         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
10299         * sysdeps/x86_64/fpu/e_expl.S: Copy from
10300         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
10302         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
10303         (nice): Likewise.
10304         (poll): Likewise.
10305         (signal): Likewise.
10306         (time): Likewise.
10307         (times): Likewise.
10309 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
10311         * sysdeps/unix/syscalls.list (adjtime): Add entry from
10312         sysdeps/unix/common/syscalls.list.
10313         (fchmod): Likewise.
10314         (fchown): Likewise.
10315         (ftruncate): Likewise.
10316         (getrusage): Likewise.
10317         (gettimeofday): Likewise.
10318         (setpgid): Likewise.
10319         (setregid): Likewise.
10320         (setreuid): Likewise.
10321         (sigaction): Likewise.
10322         (truncate): Likewise.
10323         (vhangup): Likewise.
10324         * sysdeps/unix/common/syscalls.list: Remove file.
10325         * sysdeps/unix/bsd/Implies: Don't include unix/common.
10326         * sysdeps/unix/sysv/linux/Implies: Likewise.
10328 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
10330         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
10331         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
10332         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
10333         Moved to ...
10334         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10335         Here.
10336         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
10337         to ...
10338         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
10339         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
10340         to ...
10341         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
10342         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
10343         to ...
10344         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
10345         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
10346         to ...
10347         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
10348         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
10349         to ...
10350         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
10351         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
10352         to ...
10353         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
10354         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
10355         to ...
10356         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
10357         Here.
10358         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
10359         to ...
10360         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
10361         Here.
10362         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
10363         to ...
10364         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
10365         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
10366         Moved to ...
10367         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
10368         Here.
10369         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
10370         to ...
10371         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
10373 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
10375         * sysdeps/unix/common/bits/dirent.h: Remove file.
10376         * sysdeps/unix/common/bits/fcntl.h: Likewise.
10378         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
10379         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
10380         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
10381         * sysdeps/unix/bsd/isatty.c: Likewise.
10382         * sysdeps/unix/bsd/tcdrain.c: Likewise.
10383         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
10384         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
10386 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10388         [BZ #13563]
10389         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
10390         long double comparison inaccuracies.
10391         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10392         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10394 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
10396         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
10397         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
10399 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
10401         [BZ #14049]
10402         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
10403         nonzero digits before rounding a hex value.
10404         * stdlib/tst-strtod.c (tests): Add another test.
10406 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10408         * sysdeps/s390/fpu/libm-test-ulps: Update.
10410 2012-05-03  Andreas Jaeger  <aj@suse.de>
10412         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
10413         does not get optimized out.
10414         (malloc_opt_barrier): New.
10416 2012-05-03  Andreas Jaeger  <aj@suse.de>
10417             Roland McGrath  <roland@hack.frob.com>
10419         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
10420         intermediate file deletion.
10421         (generated): Add .symlist files.
10423 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
10425         [BZ #13775]
10426         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
10427         Redirect under this condition.
10428         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10429         [__USE_GNU] (__dprintf_chk): Not under this condition.
10430         [__USE_GNU] (__vdprintf_chk): Likewise.
10431         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
10432         under this condition.
10433         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10434         [__USE_XOPEN2K8] (dprintf): Define under this condition.
10435         [__USE_XOPEN2K8] (vdprintf): Likewise.
10436         [__USE_GNU] (__dprintf_chk): Not under this condition.
10437         [__USE_GNU] (__vdprintf_chk): Likewise.
10438         [__USE_GNU] (dprintf): Likewise.
10439         [__USE_GNU] (vdprintf): Likewise.
10441 2012-05-03  Roland McGrath  <roland@hack.frob.com>
10443         * elf/Makefile (common-generated): Set this instead of generated for
10444         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
10445         $(all-built-dso)-derived lists.
10447 2012-05-03  Andreas Jaeger  <aj@suse.de>
10449         * sysdeps/i386/fpu/libm-test-ulps: Update.
10451         * FAQ: Removed.
10452         * FAQ.in: Likewise.
10453         * scripts/gen-FAQ.pl: Likewise.
10454         * manual/install.texi (Installation): Point to online location of
10455         FAQ.
10456         * Makefile (files-for-dist): Remove FAQ.
10457         (FAQ): Remove.
10459 2012-05-02  Allan McRae  <allan@archlinux.org>
10461         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
10462         (LDFLAGS-reldepmod5.so): Likewise.
10463         (LDFLAGS-reldep6mod1.so): Likewise.
10464         (LDFLAGS-reldep6mod4.so): Likewise.
10465         (LDFLAGS-reldep8mod3.so): Likewise.
10466         (LDFLAGS-unload4mod1.so): Likewise.
10467         (LDFLAGS-unload4mod2.so): Likewise.
10468         (LDFLAGS-tst-initorder): Likewise.
10469         (LDFLAGS-tst-initordera2.so): Likewise.
10470         (LDFLAGS-tst-initordera3.so): Likewise.
10471         (LDFLAGS-tst-initordera4.so): Likewise.
10472         (LDFLAGS-tst-initorderb2.so): Likewise.
10473         (LDFLAGS-noload): Likewise.
10474         (LDFLAGS-next): Likewise.
10475         (LDFLAGS-order2mod1.so): Likewise.
10476         (LDFLAGS-order2mod2.so): Likewise.
10477         (LDFLAGS-tst-initorder2): Likewise.
10478         (LDFLAGS-tst-initorder2a.so): Likewise.
10479         (LDFLAGS-tst-initorder2b.so): Likewise.
10480         (LDFLAGS-tst-initorder2c.so): Likewise.
10481         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
10483 2012-05-02  David S. Miller  <davem@davemloft.net>
10485         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10487 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
10489         [BZ #14055]
10490         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
10492 2012-05-02  Andreas Jaeger  <aj@suse.de>
10494         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
10495         since we manipulate rounding mode.
10496         (CPPFLAGS-test-idouble.c): Likewise.
10497         (CPPFLAGS-test-ifloat.c): Likewise.
10498         (CFLAGS-test-ldouble.c): Likewise.
10499         (CFLAGS-test-double.c): Likewise.
10500         (CFLAGS-test-float.c): Likewise.
10501         (CFLAGS-test-misc.c): Likewise.
10502         (CFLAGS-test-test-fenv.c): Likewise.
10504 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10506         [BZ #2550]
10507         [BZ #2570]
10508         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
10509         comparisons to determine direction to adjust input.
10511 2012-05-01  Roland McGrath  <roland@hack.frob.com>
10513         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
10514         output to the target.
10516         * scripts/localplt.awk: New file.
10517         * elf/Makefile ($(objpfx)check-localplt): Target removed.
10518         (check-localplt-CFLAGS): Variable removed.
10519         ($(all-built-dso:=.jmprel)): New static pattern rule.
10520         (generated): Add those targets.
10521         (localplt-built-dso): New variable.
10522         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
10524         * elf/check-localplt.c: File removed.
10526         * scripts/check-execstack.awk: New file.
10527         * elf/Makefile ($(objpfx)check-execstack): Target removed.
10528         (check-execstack-CFLAGS): Variable removed.
10529         ($(objpfx)check-execstack.h): Target removed.
10530         ($(objpfx)execstack-default): New target.
10531         (generated): Add that instead of check-execstack.h.
10532         ($(all-built-dso:=.phdr)): New static pattern rule.
10533         (generated): Add those targets.
10534         * elf/check-execstack.c: File removed.
10536         * scripts/check-textrel.awk: New file.
10537         * elf/Makefile ($(objpfx)check-textrel): Target removed.
10538         (check-textrel-CFLAGS): Variable removed.
10539         (all-built-dso): Use := to define.o
10540         ($(all-built-dso:=.dyn)): New static pattern rule.
10541         (generated): Add those targets.
10542         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
10543         * config.make.in (READELF): New substituted variable.
10544         * elf/check-textrel.c: File removed.
10546 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
10548         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10549         allow.
10550         * conform/data/ctype.h-data [C99-based standards] (isblank):
10551         Expect function.
10552         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
10553         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
10554         [ISO || ISO99 || ISO11] (*_t): Do not allow.
10555         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
10556         Specify type.  Require positive value.
10557         (EILSEQ): Likewise.
10558         (ERANGE): Likewise.
10559         [ISO || POSIX] (EILSEQ): Do not expect.
10560         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
10561         Specify type.  Require positive value.
10562         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
10563         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
10564         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
10565         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
10566         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
10567         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
10568         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
10569         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
10570         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
10571         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
10572         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
10573         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
10574         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
10575         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
10576         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
10577         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
10578         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
10579         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
10580         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
10581         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
10582         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
10583         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
10584         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
10585         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
10586         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
10587         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
10588         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
10589         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
10590         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
10591         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
10592         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
10593         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
10594         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
10595         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
10596         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
10597         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
10598         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
10599         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
10600         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
10601         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
10602         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
10603         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
10604         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
10605         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
10606         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
10607         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
10608         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
10609         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
10610         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
10611         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
10612         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
10613         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
10614         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
10615         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
10616         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
10617         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
10618         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
10619         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
10620         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
10621         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
10622         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
10623         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
10624         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
10625         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
10626         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
10627         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
10628         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
10629         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
10630         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
10631         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
10632         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
10633         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
10634         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
10635         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
10636         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
10637         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
10638         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
10639         Require >= 2.
10640         (FLT_ROUNDS): Expect as macro, not constant.
10641         (FLT_MANT_DIG): Use macro-int-constant.
10642         (DBL_MANT_DIG): Likewise.
10643         (LDBL_MANT_DIG): Likewise.
10644         (FLT_DIG): Likewise.
10645         (DBL_DIG): Likewise.
10646         (LDBL_DIG): Likewise.
10647         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
10648         (DBL_MIN_EXP): Likewise.
10649         (LDBL_MIN_EXP): Likewise.
10650         (FLT_MAX_EXP): Use macro-int-constant.
10651         (DBL_MAX_EXP): Likewise.
10652         (LDBL_MAX_EXP): Likewise.
10653         (FLT_MAX_10_EXP): Likewise.
10654         (DBL_MAX_10_EXP): Likewise.
10655         (LDBL_MAX_10_EXP): Likewise.
10656         (FLT_MAX): Use macro-constant.
10657         (DBL_MAX): Likewise.
10658         (LDBL_MAX): Likewise.
10659         (FLT_EPSILON): Use macro-constant.  Give upper bound.
10660         (DBL_EPSILON): Likewise.
10661         (LDBL_EPSILON): Likewise.
10662         (FLT_MIN): Likewise.
10663         (DBL_MIN): Likewise.
10664         (LDBL_MIN): Likewise.
10665         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
10666         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
10667         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
10668         [ISO11] (FLT_HAS_SUBNORM): Likewise.
10669         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
10670         [ISO11] (DBL_DECIMAL_DIG): Likewise.
10671         [ISO11] (FLT_DECIMAL_DIG): Likewise.
10672         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
10673         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
10674         [ISO11] (FLT_TRUE_MIN): Likewise.
10675         [ISO11] (LDBL_TRUE_MIN): Likewise.
10676         [ISO || ISO99 || ISO11] (*_t): Do not allow.
10677         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
10678         (SCHAR_MIN): Use macro-int-constant.  Specify type.
10679         (SCHAR_MAX): Likewise.
10680         (UCHAR_MAX): Likewise.
10681         (CHAR_MIN): Likewise.
10682         (CHAR_MAX): Likewise.
10683         (MB_LEN_MAX): Use macro-int-constant.
10684         (SHRT_MIN): Use macro-int-constant.  Specify type.
10685         (SHRT_MAX): Likewise.
10686         (USHRT_MAX): Likewise.
10687         (INT_MAX): Likewise.
10688         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
10689         bound negative.
10690         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
10691         bound with "U".
10692         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
10693         bound with "L".
10694         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
10695         bound negative.  Suffix upper bound with "L".
10696         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
10697         bound with "UL".
10698         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
10699         Specify type.
10700         [C99-based standards] (LLONG_MAX): Likewise.
10701         [C99-based standards] (ULLONG_MAX): Likewise.
10702         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
10703         == 0.
10704         [ISO11] (max_align_t): Require type.
10705         [ISO || ISO99 || ISO11] (*_t): Do not allow.
10707         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
10708         from $CFLAGS, without defining away __attribute__ calls.
10709         (checknamespace): Use $CFLAGS_namespace.
10711         * conform/conformtest.pl (@keywords): Only include C99 keywords
10712         for standards based on C99 or C11.
10714         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
10715         Disable tests.
10716         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
10717         UNIX98]: Likewise.
10719         * conform/conformtest.pl: Handle "macro-int-constant" and test for
10720         usability of symbols in #if.
10722         * conform/conformtest.pl: If macro or constant types start
10723         "promoted:", expect the symbol to be of the following type
10724         promoted by the integer promotions.
10726         * conform/conformtest.pl: Parse all "constant" and "macro" lines
10727         in one place.  Also handle "macro-constant".
10729         * conform/conformtest.pl: Only accept expected macro values with
10730         "==".  Parse all "macro" lines in one place.
10731         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
10733         * conform/conformtest.pl: Handle braced types on "constant" lines
10734         instead of handling "typed-constant".
10735         * conform/data/signal.h-data: Use "constant" instead of
10736         "typed-constant".
10738         * conform/conformtest.pl: Handle "optional-" at start of lines in
10739         one place rather than duplicating several cases.  Handle each
10740         format of "macro" line with initial "optional-".
10742         * conform/conformtest.pl: Only accept expected constant or
10743         optional-constant values with "==".  Parse all "constant" lines in
10744         one place.  Parse all "optional-constant" lines in one place.
10745         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
10746         * conform/data/fmtmsg.h-data: Likewise.
10747         * conform/data/netinet/in.h-data: Likewise.
10748         * conform/data/tar.h-data: Likewise.
10749         * conform/data/limits.h-data: Use "==" form on "constant" and
10750         "optional-constant" lines.
10752         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
10753         Use -std=c99 for XOPEN2K.
10754         (@knownproblems): Remove.
10755         (newtoken): Don't check %isknown.
10757         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
10758         Do not expect macro.
10759         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
10760         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
10761         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
10762         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
10763         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
10764         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
10765         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
10766         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
10767         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
10768         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
10769         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
10770         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
10771         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
10772         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
10773         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
10774         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
10775         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
10776         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
10777         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
10778         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
10779         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
10780         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
10781         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
10782         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
10783         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
10784         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
10785         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
10786         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
10787         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
10788         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
10789         [XPG3] (acosh): Likewise.
10790         [XPG3] (asinh): Likewise.
10791         [XPG3] (atanh): Likewise.
10792         [XPG3] (cbrt): Likewise.
10793         [XPG3] (expm1): Likewise.
10794         [XPG3] (ilogb): Likewise.
10795         [XPG3] (log1p): Likewise.
10796         [XPG3] (logb): Likewise.
10797         [XPG3] (nextafter): Likewise.
10798         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
10799         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
10800         [XPG3] (remainder): Likewise.
10801         [XPG3] (rint): Likewise.
10802         [XPG3 || XPG4 || UNIX98] (round): Likewise.
10803         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
10804         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
10805         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
10806         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
10807         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
10808         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
10809         [UNIX98 || XOPEN2K] (scalb): Expect.
10810         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
10811         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
10812         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
10813         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
10814         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
10815         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
10816         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
10817         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
10818         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
10819         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
10820         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
10821         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
10822         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
10823         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
10824         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
10825         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
10826         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
10827         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
10828         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
10829         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
10830         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
10831         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
10832         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
10833         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
10834         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
10835         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
10836         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
10837         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
10838         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
10839         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
10840         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
10841         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
10842         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
10843         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
10844         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
10845         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
10846         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
10847         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
10848         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
10849         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
10850         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
10851         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
10852         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
10853         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
10854         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
10855         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
10856         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
10857         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
10858         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
10859         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
10860         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
10861         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
10862         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
10863         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
10864         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
10865         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
10866         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
10867         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
10868         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
10869         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
10870         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
10871         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
10872         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
10873         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
10874         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
10875         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
10876         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
10877         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
10878         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
10879         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
10880         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
10881         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
10882         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
10883         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
10884         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
10885         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
10886         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
10887         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
10888         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
10889         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
10890         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
10891         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
10892         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
10893         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
10894         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
10895         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
10896         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
10897         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
10898         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
10899         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
10900         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
10901         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
10902         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
10903         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
10904         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
10905         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
10906         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
10907         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
10908         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
10909         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
10910         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
10911         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
10912         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
10913         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
10914         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
10915         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
10916         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
10917         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
10918         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
10919         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
10920         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
10921         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
10922         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
10923         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
10924         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
10925         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
10926         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
10927         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
10928         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
10929         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
10930         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
10931         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
10932         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
10933         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
10934         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
10935         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
10936         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
10937         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
10938         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
10939         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
10940         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
10941         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
10942         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
10943         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
10944         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
10945         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
10946         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
10948         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
10949         _XOPEN_SOURCE_EXTENDED for XPG4.
10951         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
10953         * Makeconfig (localtime): Remove variable.
10954         (inst_localtime-file): Likewise.
10956 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
10958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10959         Update.
10960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10961         Update.
10962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10963         Update.
10964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10965         Update.
10966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10967         Update.
10968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
10969         Update.
10970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10971         Update.
10972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
10973         Update.
10974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10975         Update.
10977 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
10979         [BZ #2550]
10980         [BZ #2570]
10981         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
10982         comparisons to determine direction to adjust input.
10983         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10984         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
10985         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
10986         Likewise.
10987         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
10988         Likewise.
10989         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10990         Likewise.
10991         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
10992         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10993         Likewise.
10994         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10995         Likewise.
10996         * math/libm-test.inc (nexttoward_test): Add more tests.
10998 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
11000         [BZ #14040]
11001         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
11002         in version GLIBC_2.1, not GLIBC_2.0.
11003         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
11004         Likewise.
11006 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
11008         [BZ #13942]
11009         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
11010         (1 - x) * (1 + x).
11011         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11012         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
11013         * math/libm-test.inc (acos_test): Add more tests.
11014         (asin_test): Likewise.
11015         * sysdeps/i386/fpu/libm-test-ulps: Update.
11016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11018         [BZ #14034]
11019         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
11020         of square root.
11021         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
11022         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11023         * math/libm-test.inc (acos_test_tonearest): New function.
11024         (acos_test_towardzero): Likewise.
11025         (acos_test_downward): Likewise.
11026         (acos_test_upward): Likewise.
11027         (asin_test_tonearest): Likewise.
11028         (asin_test_towardzero): Likewise.
11029         (asin_test_downward): Likewise.
11030         (asin_test_upward): Likewise.
11031         (main): Call the new functions.
11032         * sysdeps/i386/fpu/libm-test-ulps: Update.
11033         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11035         [BZ #13884]
11036         [BZ #13924]
11037         * math/e_exp10.c: Include <float.h>.
11038         (__ieee754_exp10): Handle underflow here rather than multiplying
11039         large negative argument by M_LN10.
11040         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
11041         of __ieee754_expf.
11042         * math/e_exp10l.c: Include <float.h>.
11043         (__ieee754_exp10l): Handle underflow here rather than multiplying
11044         large negative argument by M_LN10l.
11045         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
11046         spurious overflow exception on underflow.
11048 2012-04-29  Marek Polacek  <polacek@redhat.com>
11050         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
11051         (__fortify_function): New macro.
11052         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
11053         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
11054         __extern_always_inline.
11055         * libio/bits/stdio2.h: Likewise.
11056         * libio/bits/stdio.h: Likewise.
11057         * string/string.h: Likewise.
11058         * string/bits/string3.h: Likewise.
11059         * include/stdio.h: Likewise.
11060         * stdlib/bits/stdlib.h: Likewise.
11061         * stdlib/stdlib.h: Likewise.
11062         * rt/bits/mqueue2.h: Likewise.
11063         * rt/mqueue.h: Likewise.
11064         * posix/bits/unistd.h: Likewise.
11065         * posix/unistd.h: Likewise.
11066         * io/bits/poll2.h: Likewise.
11067         * io/bits/fcntl2.h: Likewise.
11068         * io/fcntl.h: Likewise.
11069         * io/sys/poll.h: Likewise.
11070         * misc/bits/syslog.h: Likewise.
11071         * misc/bits/syslog-ldbl.h: Likewise.
11072         * misc/sys/syslog.h: Likewise.
11073         * socket/bits/socket2.h: Likewise.
11074         * socket/sys/socket.h: Likewise.
11075         * debug/tst-chk1.c: Likewise.
11076         * wcsmbs/bits/wchar2.h: Likewise.
11077         * wcsmbs/bits/wchar-ldbl.h: Likewise.
11078         * wcsmbs/wchar.h: Likewise.
11080 2012-04-29  Andreas Jaeger  <aj@suse.de>
11082         * Makerules (tests): Remove enable-check-abi protection.
11083         (check-abi-warn): Remove.
11084         (check-abi-%): Remove check-abi-warn usage.
11086         * configure.in: Remove check-abi configure option.
11087         * configure: Regenerated.
11088         * config.make.in (enable-check-abi): Remove.
11090 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
11092         [BZ #14033]
11093         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
11094         double functions to double *_finite functions.
11096         [BZ #13941]
11097         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
11098         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
11099         LDBL_MIN_EXP.
11100         * stdio-common/Makefile (tests): Add tst-sprintf3.
11101         * stdio-common/tst-sprintf3.c: New file.
11103         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
11104         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
11106 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
11108         * conform/conformtest.pl: Remove duplicate typed-constant
11109         handling.
11111 2012-04-28  David S. Miller  <davem@davemloft.net>
11113         * Makerules (%.abilist): Add vpath on sysdep_dirs.
11114         (check-abi-%): Remove AWK script prerequisite and explicit
11115         abilist directory.
11116         (check-abi): Rewrite to just diff the symlist with the abilist.
11117         (config-tls, config-abi-config): Delete, no longer used.
11118         (update-abi-%): Remove AWK script and explicit abilist directory.
11119         (update-abi): Rewrite to simply compare and conditionally copy the
11120         symlist and the sysdep abilist file.  Remove update-abi-config
11121         checks.
11122         * abilist/ld.abilist: Remove.
11123         * abilist/libBrokenLocale.abilist: Remove.
11124         * abilist/libanl.abilist: Remove.
11125         * abilist/libcrypt.abilist: Remove.
11126         * abilist/libdl.abilist: Remove.
11127         * abilist/librt.abilist: Remove.
11128         * abilist/libthread_db.abilist: Remove.
11129         * abilist/libutil.abilist: Remove.
11130         * scripts/extract-abilist.awk: Remove.
11131         * scripts/merge-abilist.awk: Remove.
11132         * sysdeps/generic/libcidn.abilist: New file.
11133         * sysdeps/generic/libnss_compat.abilist: New file.
11134         * sysdeps/generic/libnss_db.abilist: New file.
11135         * sysdeps/generic/libnss_dns.abilist: New file.
11136         * sysdeps/generic/libnss_files.abilist: New file.
11137         * sysdeps/generic/libnss_hesiod.abilist: New file.
11138         * sysdeps/generic/libnss_nis.abilist: New file.
11139         * sysdeps/generic/libnss_nisplus.abilist: New file.
11140         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
11141         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
11142         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
11143         file.
11144         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
11145         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
11146         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
11147         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
11148         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
11149         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
11150         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
11151         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
11152         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
11153         file.
11154         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
11155         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
11156         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
11157         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
11158         file.
11159         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
11160         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
11161         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
11162         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
11163         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
11164         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
11165         file.
11166         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
11167         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
11168         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
11169         file.
11170         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
11171         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
11172         New file.
11173         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
11174         New file.
11175         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
11176         New file.
11177         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
11178         New file.
11179         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
11180         New file.
11181         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
11182         New file.
11183         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
11184         New file.
11185         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
11186         New file.
11187         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
11188         New file.
11189         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
11190         New file.
11191         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
11192         New file.
11193         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
11194         New file.
11195         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
11196         New file.
11197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
11198         file.
11199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11200         New file.
11201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11202         New file.
11203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
11204         file.
11205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11206         New file.
11207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11208         New file.
11209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
11210         file.
11211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11212         New file.
11213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11214         New file.
11215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11216         New file.
11217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11218         New file.
11219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11220         New file.
11221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11222         New file.
11223         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
11224         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
11225         file.
11226         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
11227         New file.
11228         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
11229         file.
11230         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
11231         file.
11232         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
11233         file.
11234         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
11235         file.
11236         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
11237         file.
11238         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11239         New file.
11240         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
11241         file.
11242         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
11243         file.
11244         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
11245         New file.
11246         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
11247         file.
11248         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
11249         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
11250         file.
11251         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
11252         New file.
11253         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
11254         file.
11255         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
11256         file.
11257         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
11258         file.
11259         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
11260         file.
11261         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
11262         file.
11263         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11264         New file.
11265         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
11266         file.
11267         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
11268         file.
11269         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
11270         New file.
11271         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
11272         file.
11273         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11274         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
11275         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
11276         file.
11277         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
11278         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
11279         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
11280         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
11281         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
11282         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
11283         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
11284         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
11285         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
11286         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
11287         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
11288         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
11289         file.
11290         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
11291         New file.
11292         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
11293         file.
11294         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
11295         file.
11296         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
11297         file.
11298         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
11299         file.
11300         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
11301         file.
11302         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11303         New file.
11304         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
11305         New file.
11306         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
11307         file.
11308         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
11309         New file.
11310         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
11311         file.
11312         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
11313         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
11314         file.
11315         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
11316         New file.
11317         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
11318         file.
11319         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
11320         file.
11321         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
11322         file.
11323         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
11324         file.
11325         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
11326         file.
11327         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11328         New file.
11329         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
11330         New file.
11331         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
11332         file.
11333         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
11334         New file.
11335         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
11336         file.
11338 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
11340         * conform/conformtest.pl: Fix typo in handling typed-constant from
11341         allow-header.
11343 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
11345         * README: Cut down references to pre-2.6 Linux kernels and
11346         Linuxthreads.  Update lists of configurations in libc and ports
11347         and sort alphabetically.  Say "or newer" with Linux kernel version
11348         requirements.
11350         * config.h.in [IS_IN_build]: Allow compiling without optimization.
11352 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
11354         [BZ #887]
11355         * math/libm-test.inc (logb_test_downward): New test to expose
11356         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
11357         rounding mode.
11359 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
11361         [BZ #14027]
11362         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
11363         to be done.
11364         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
11365         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
11367 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
11369         * sysdeps/unix/i386/brk.S: Remove file.
11370         * sysdeps/unix/i386/dl-brk.S: Likewise.
11371         * sysdeps/unix/i386/pipe.S: Likewise.
11372         * sysdeps/unix/i386/sigreturn.S: Likewise.
11373         * sysdeps/unix/i386/syscall.S: Likewise.
11374         * sysdeps/unix/i386/vfork.S: Likewise.
11375         * sysdeps/unix/i386/wait.S: Likewise.
11377         * sysdeps/unix/common/tcsendbrk.c: Move to ...
11378         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
11380         * configure.in (arm*-none*): Do not allow without
11381         --enable-hacker-mode.
11382         (netbsd*): Remove case setting base_os.
11383         (386bsd*): Likewise.
11384         (freebsd*): Likewise.
11385         (bsdi*): Likewise.
11386         (osf*): Likewise.
11387         (sunos*): Likewise.
11388         (ultrix*): Likewise.
11389         (newsos*): Likewise.
11390         (dynix*): Likewise.
11391         (*bsd*): Likewise.
11392         (sysv*): Likewise.
11393         (isc*): Likewise.
11394         (esix*): Likewise.
11395         (sco*): Likewise.
11396         (minix*): Likewise.
11397         (irix4*): Likewise.
11398         (irix6*): Likewise.
11399         (solaris[2-9]*): Likewise.
11400         (none): Likewise.
11401         * configure: Regenerated.
11403 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11405         [BZ #11521]
11406         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
11407         overflow or cancellation in calculating denominator.
11408         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
11409         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
11410         down expression to avoid unexpected rounding in newer GCCs.
11411         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
11413 2012-04-26  David S. Miller  <davem@davemloft.net>
11415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
11416         long-double compat symbols.
11417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
11419         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
11420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
11421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
11422         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
11423         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
11424         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
11425         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
11426         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11427         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
11428         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
11429         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11431 2012-04-25  David S. Miller  <davem@davemloft.net>
11433         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
11434         HWCAP_* values only after the memory barriers have been defined.
11435         (atomic_full_barrier): Define.
11436         (atomic_read_barrier): Define.
11437         (atomic_write_barrier): Define.
11439 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11441         * shlib-versions: Add libgcc_s version information.
11442         * sysdeps/generic/libgcc_s.h: Remove.
11443         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
11444         libgcc_s.h.
11445         * sysdeps/gnu/unwind-resume.c: Likewise.
11446         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
11448 2012-04-25  David S. Miller  <davem@davemloft.net>
11450         * sysdeps/unix/sparc/brk.S: Delete.
11451         * sysdeps/unix/sparc/dl-brk.S: Delete.
11452         * sysdeps/unix/sparc/pipe.S: Delete.
11453         * sysdeps/unix/sparc/sysdep.S: Delete.
11454         * sysdeps/unix/sparc/sysdep.h: Delete.
11455         * sysdeps/unix/sparc/vfork.S: Delete.
11456         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
11457         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
11458         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
11459         ret_ERRVAL, r0, r1, MOVE): Define.
11460         (JUMPTARGET): Remove.
11461         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
11462         sysdeps/unix/sparc/sysdep.h
11463         (ENTRY, END): Remove.
11464         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11466 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
11468         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
11469         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
11470         -DIS_IN_build.
11472         * timezone/README: Update upstream location and email address for
11473         tzcode and tzdata.
11474         * timezone/zdump.c: Update from tzcode 2012b.
11475         * timezone/zic.c: Likewise.
11477         * configure.in (libc_cv_as_needed): Remove test.
11478         * configure: Regenerated.
11479         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
11480         conditional definition.
11481         [$(have-as-needed) != yes] (no-as-needed): Likewise.
11482         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
11483         * config.make.in (have-as-needed): Remove variable.
11485 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
11486             Paul Pluzhnikov  <ppluzhnikov@google.com>
11488         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
11489         strings correctly.
11491 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
11493         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
11494         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
11495         * sysdeps/sh/strlen.S: Likewise.
11497 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
11499         * sysdeps/unix/fork.S: Remove file.
11500         * sysdeps/unix/i386/fork.S: Likewise.
11501         * sysdeps/unix/sparc/fork.S: Likewise.
11503         * sysdeps/unix/system.c: Remove file.
11504         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
11506         * sysdeps/unix/getegid.S: Remove file.
11507         * sysdeps/unix/geteuid.S: Likewise.
11509 2012-04-24  Roland McGrath  <roland@hack.frob.com>
11511         * scripts/check-localplt.awk: New file.
11512         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
11513         of diff.
11514         * scripts/data/localplt-generic.data: Add a comment.
11516         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
11517         NODE when __dir_mkfile failed.
11518         * sysdeps/mach/hurd/symlinkat.c: Likewise.
11519         Reported by Ludovic Courtès <ludo@gnu.org>.
11521 2012-04-24  Andreas Jaeger  <aj@suse.de>
11523         * Makerules (common-clean): Also remove gen-as-const-headers
11524         files.
11526 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
11528         * Makerules (native-compile): Do not change working directory for
11529         build.  Use $(OUTPUT_OPTION) in command.
11530         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
11532 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11534         [BZ #13886]
11535         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
11536         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
11537         * math/libm-test.inc (floor_test): Add more tests.
11538         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
11540 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
11542         * sysdeps/unix/getdents.c: Remove file.
11543         * sysdeps/unix/sysv/getdents.c: Likewise.
11544         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
11546         * sysdeps/unix/syscalls.list (madvise): Add syscall from
11547         sysdeps/unix/mman/syscalls.list.
11548         (mmap): Likewise.
11549         (mprotect): Likewise.
11550         (msync): Likewise.
11551         (munmap): Likewise.
11552         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
11553         * sysdeps/unix/mman/syscalls.list: Remove.
11554         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
11556         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
11557         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
11558         * configure: Regenerated.
11559         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
11560         $(libgcc_s_suffix).
11561         * config.make.in (libgcc_s_suffix): Remove variable.
11563 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
11565         * sysdeps/unix/sysv/gethostname.c: Move to ...
11566         * sysdeps/posix/gethostname.c: ... here.
11568         * sysdeps/unix/execve.S: Remove file.
11570         * sysdeps/unix/_exit.S: Remove file.
11572 2012-04-23  Andreas Jaeger  <aj@suse.de>
11574         [BZ #13739]
11575         * manual/Makefile: Remove make dist support, there's no
11576         need for a stand-alone documentation tar ball.
11577         (TEXI2DVI): Define always, it's not in Makeconfig.
11578         (dist): Removed.
11579         (tar-it): Removed.
11580         (edition): Removed.
11581         (glibc-doc-$(edition).tar): Removed
11582         (%.Z): Removed.
11583         (%.gz): Removed.
11584         (%.uu): Removed.
11585         (ETAGS): Remove, it's in Makeconfig.
11586         (move-if-change): Remove, it's in Makeconfig.
11588 2013-04-23  Paul Eggert  <eggert@cs.ucla.edu>
11590         [BZ #13970]
11591         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
11592         (strtod, strtof, strtold, strtol, strtoul, strtoq)
11593         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
11594         (strtod_l, strtof_l, strtold_l): Remove __wur.
11595         It is not necessarily an error to ignore strtol's return value.
11596         One can reliably look at the stored endptr to decide whether
11597         the number had valid syntax.
11599 2012-04-21  Andreas Jaeger  <aj@suse.de>
11601         [BZ #13739]
11602         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
11604 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
11606         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
11607         * sysdeps/unix/sysv/Versions: Remove file.
11609 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
11611         [BZ #13927]
11612         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11614 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
11616         [BZ #7064]
11617         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
11618         version from __vm86.
11620 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
11622         * sysdeps/unix/common/lxstat.c: Remove file.
11623         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
11625         * sysdeps/unix/sysv/Makefile: Remove file.
11627         * sysdeps/unix/sysv/direct.h: Remove file.
11629         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
11630         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
11631         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
11632         * sysdeps/unix/sysv/bits/signum.h: Likewise.
11633         * sysdeps/unix/sysv/bits/stat.h: Likewise.
11634         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
11635         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
11637         * sysdeps/unix/sysv/setrlimit.c: Remove file.
11639         * sysdeps/unix/xmknod.c: Remove file.
11640         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
11642         * sysdeps/unix/sysv/settimeofday.c: Remove file.
11644         * sysdeps/unix/sysv/i386/time.S: Remove file.
11646         * sysdeps/unix/fxstat.c: Remove file.
11647         * sysdeps/unix/xstat.c: Likewise.
11648         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
11650         * sysdeps/unix/sysv/sigaction.c: Remove file.
11652         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
11653         (sysdep_headers): Remove variable.
11654         [termio.h not in sysdep_headers] (generated): Likewise.
11655         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
11656         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
11657         * sysdeps/unix/sysv/tcdrain.c: Likewise.
11658         * sysdeps/unix/sysv/tcflow.c: Likewise.
11659         * sysdeps/unix/sysv/tcflush.c: Likewise.
11660         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
11661         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
11662         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
11663         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
11664         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
11666         * sysdeps/unix/siglist.c: Remove file.
11668         * sysdeps/unix/getppid.S: Remove file.
11670         * sysdeps/unix/mkdir.c: Remove file.
11671         * sysdeps/unix/rmdir.c: Likewise.
11673 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
11675         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
11676         ERR_MAX value.
11677         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
11678         errlist-compat value.
11680 2012-04-18  David S. Miller  <davem@davemloft.net>
11682         * sysdeps/generic/memcopy.h (reg_char): Delete.
11683         * debug/strcat_chk.c: Use char, not reg_char.
11684         * debug/strcpy_chk.c: Likewise.
11685         * debug/strncat_chk.c: Likewise.
11686         * debug/strncpy_chk.c: Likewise.
11687         * string/memchr.c: Likewise.
11688         * string/memrchr.c: Likewise.
11689         * string/rawmemchr.c: Likewise.
11690         * string/strcat.c: Likewise.
11691         * string/strchr.c: Likewise.
11692         * string/strchrnul.c: Likewise.
11693         * string/strcmp.c: Likewise.
11694         * string/strcpy.c: Likewise.
11695         * string/strncat.c: Likewise.
11696         * string/strncmp.c: Likewise.
11697         * string/strncpy.c: Likewise.
11699 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
11701         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
11702         __builtin_memcopy is called when src and dest ranges are known to not
11703         overlap.
11705 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
11707         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
11708         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
11709         fwd_align_merge macro call.
11710         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
11711         bwd_align_merge macro call.
11712         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11714 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
11716         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
11717         bwd_align_merge macros.
11718         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
11719         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
11720         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11722 2012-04-18  David S. Miller  <davem@davemloft.net>
11724         * sysdeps/sparc/sparc64/memcopy.h: Delete.
11726 2012-04-18  Andreas Jaeger  <aj@suse.de>
11728         [BZ# 6794]
11729         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
11730         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
11731         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11733         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
11734         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
11735         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11737         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
11738         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
11739         Adjust for changed ldbl-128 files.
11741         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
11742         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
11743         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11745 2012-04-17  David S. Miller  <davem@davemloft.net>
11747         * sysdeps/sparc/sparc32/memcopy.h: Delete.
11749 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
11751         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
11752         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
11753         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
11754         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
11755         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11756         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
11758 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11760         [BZ #6794]
11761         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
11762         * math/libm-test.inc: Add ilogb errno and exception tests.
11763         * math/w_ilogb.c: New file: ilogb wrapper.
11764         * math/w_ilogbf.c: New file: ilogbf wrapper.
11765         * math/w_ilogbl.c: New file: ilogbl wrapper.
11766         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
11767         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
11768         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
11769         exception being thrown with 0.0 as argument.
11770         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
11771         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
11772         exception being thrown with 0.0 as argument.
11773         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
11774         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11775         exception being thrown with 0.0 as argument.
11776         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
11777         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11778         exception being thrown with 0.0 as argument.
11779         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
11780         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
11781         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
11782         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
11783         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
11784         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
11785         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
11786         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
11787         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
11789 2012-04-17  Petr Baudis  <pasky@ucw.cz>
11791         * include/sys/uio.h: Change __vector to __iovec to avoid clash
11792         with altivec.
11794 2012-04-16  Marek Polacek  <polacek@redhat.com>
11796         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
11798 2012-04-16  Marek Polacek  <polacek@redhat.com>
11800         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
11801         operands of fdivp instruction.
11803 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
11805         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
11806         * elf/tst-auditmod3b.c: Likewise.
11807         * elf/tst-auditmod4b.c: Likewise.
11808         * elf/tst-auditmod5b.c: Likewise.
11809         * elf/tst-auditmod6b.c: Likewise.
11810         * elf/tst-auditmod6c.c: Likewise.
11811         * elf/tst-auditmod7b.c: Likewise.
11812         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
11813         * sysdeps/x86_64/preconfigure.in: Likewise.
11814         * sysdeps/x86_64/preconfigure: Regenerated.
11816 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
11818         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
11819         __ILP32__.
11821 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
11823         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11824         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
11826 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
11828         [BZ #13973]
11829         * locale/iso-639.def: Fix gl language name. Spotted by
11830         Yaron Shahrabani.
11832 2012-04-12  Roland McGrath  <roland@hack.frob.com>
11834         [BZ #2074]
11835         * libio/libio.h (__io_write_fn): Update comment.
11837 2012-04-12  Petr Baudis  <pasky@ucw.cz>
11839         [BZ #2074]
11840         * stdio.texi (Hook Functions): The user provided writer function
11841         is not allowed to return -1.
11843 2012-04-11  David S. Miller  <davem@davemloft.net>
11845         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11847 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
11849         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
11850         Add a leading slash to rtkaio.
11852 2012-04-11  Jim Meyering  <meyering@redhat.com>
11854         [BZ #11959]
11855         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
11856         It is not necessarily an error to ignore fwrite's return
11857         value.  One can reliably use ferror to test for errors after
11858         the fact.
11860 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
11862         * bits/types.h (__snseconds_t): New type.
11863         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
11865         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
11866         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11867         (__SNSECONDS_T_TYPE): Likewise.
11868         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11869         (__SNSECONDS_T_TYPE): Likewise.
11870         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11871         (__SNSECONDS_T_TYPE): Likewise.
11873 2012-04-10  Andreas Jaeger  <aj@suse.de>
11875         [BZ #2636]
11876         * manual/time.texi (Processor Time): Return type of times is
11877         elapsed real time since an arbitrary point in the past.
11878         (CPU Time): Move CLK_TCK from here...
11879         (Processor Time): ...to here.  Correct description.
11880         * manual/conf.texi (Constants for Sysconf): Correct description of
11881         _SC_CLK_TCK.
11883 2012-04-10  David S. Miller  <davem@davemloft.net>
11885         [BZ #13967]
11886         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
11887         where the is a gap between DT_REL(A) and DT_JMPREL.
11889 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
11891         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
11892         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11893         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11895 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11897         * elf/dl-support.c (_dl_inhibit_cache): New variable.
11898         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
11899         (dl_main): Handle --inhibit-cache.
11900         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
11901         _dl_inhibit_cache.
11902         * elf/dl-load.c (_dl_map_object): Use it.
11903         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
11905 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
11907         [BZ #13872]
11908         * sysdeps/i386/fpu/e_powl.S (p78): New object.
11909         (__ieee754_powl): Saturate large exponents rather than testing for
11910         overflow of y*log2(x).
11911         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11912         * math/libm-test.inc (pow_test): Do not permit spurious overflow
11913         exceptions.
11915         [BZ #11521]
11916         * math/s_ctan.c: Include <float.h>.
11917         (__ctan): Avoid internal overflow or cancellation in calculating
11918         denominator.
11919         * math/s_ctanf.c: Likewise.
11920         * math/s_ctanl.c: Likewise.
11921         * math/s_ctanh.c: Likewise.
11922         * math/s_ctanhf.c: Likewise.
11923         * math/s_ctanhl.c: Likewise.
11924         * math/libm-test.inc (ctan_test): Add more tests.
11925         (ctanh_test): Likewise.
11926         * sysdeps/i386/fpu/libm-test-ulps: Update.
11927         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11929 2012-04-09  Andreas Jaeger  <aj@suse.de>
11931         [BZ #6894]
11932         * manual/filesys.texi (Directory Entries): Mention that d_namlen
11933         is an optional BSD extension.
11935         [BZ #10254]
11936         * manual/stdio.texi (Opening Streams): Document additional fopen
11937         parameters.
11939 2012-04-09  Roland McGrath  <roland@hack.frob.com>
11941         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
11942         %eax without telling the compiler.
11944 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
11946         [BZ # 13963]
11947         * manual/install.texi: Use sourceware.org.
11949 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
11951         [BZ #13873]
11952         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
11953         (__ieee754_pow): Generate overflow and underflow using huge*huge
11954         and tiny*tiny rather than just returning constant infinity or zero
11955         for large exponents.
11956         * math/libm-test.inc (pow_test): Require overflow exceptions for
11957         applicable cases of large exponents.
11959         [BZ #706]
11960         * sysdeps/i386/fpu/e_pow.S (p10): New object.
11961         (__ieee754_pow): Use iterative multiplication algorithm only for
11962         integer exponents with absolute value below 1024.  Check for odd
11963         integer exponents when using algorithm for real exponents.
11964         * math/libm-test.inc (pow_test): Add more tests.
11965         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11967 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
11969         [BZ #13705]
11970         * math/libm-test.inc (exp_test): Do not allow overflow exception
11971         on underflow test.
11973 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
11975         [BZ #13705]
11976         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
11977         instead of __kernel_standard_f.
11979 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
11981         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
11982         * sysdeps/x86_64/memset_chk.S: Likewise.
11984 2012-04-08  Andreas Jaeger  <aj@suse.de>
11986         [BZ #10153]
11987         * manual/startup.texi (Environment Access): Describe return value
11988         for putenv and setenv.
11990         [BZ #6895]
11991         * manual/filesys.texi (Directory Entries): Add description for
11992         DT_LNK.
11994         [BZ #6890]
11995         * manual/filesys.texi (Directory Entries): Clarify that it's file
11996         system not operating system in the description of DT_UNKNOWN.
11998         [BZ #6578]
11999         * manual/syslog.texi (closelog): Fix reference, it's openlog.
12001 2012-04-08  Stephen Compall  <s11@member.fsf.org>
12003         [BZ #6649]
12004         * manual/llio.texi (Opening and Closing Files): Add cross
12005         reference to explain mode argument.
12007 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
12009         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
12010         * sysdeps/x86_64/memset_chk.S: Likewise.
12012 2012-04-07  David S. Miller  <davem@davemloft.net>
12014         * elf/elf.h (R_SPARC_WDISP10): Define.
12015         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
12016         R_SPARC_SIZE32.
12017         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
12018         R_SPARC_SIZE64 and R_SPARC_H34.
12020 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
12022         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
12023         conditions and remove no longer applicable assertion.
12025 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
12027         * bits/byteswap.h: Include <features.h>.
12028         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12029         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12031 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
12033         * bits/byteswap.h (__bswap_16): Removed.
12034         Include <bits/byteswap-16.h> to get __bswap_16.
12035         * sysdeps/i386/bits/byteswap.h: Likewise.
12036         * sysdeps/s390/bits/byteswap.h: Likewise.
12037         * sysdeps/x86_64/bits/byteswap.h: Likewise.
12038         * bits/byteswap-16.h: New file.
12039         * sysdeps/i386/bits/byteswap-16.h: Likewise.
12040         * sysdeps/s390/bits/byteswap-16.h: Likewise.
12041         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
12042         * string/Makefile (headers): Add bits/byteswap-16.h.
12044 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
12046         [BZ #13895]
12047         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
12048         extra indirection.
12049         * nss/Makefile (tests-static, tests): Add tst-nss-static.
12050         * nss/tst-nss-static.c: New.
12052 2012-04-06  Robert Millan  <rmh@gnu.org>
12054         [BZ #6486]
12055         * manual/llio.texi (File Position Primitive): lseek
12056         refers to WHENCE when it really means OFFSET.
12058 2012-04-06  Andreas Jaeger  <aj@suse.de>
12060         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
12061         strncmp declarations.
12063         * abilist/libc.abilist: Add __poll and __ppoll.
12065 2012-04-05  David S. Miller  <davem@davemloft.net>
12067         * scripts/check-local-headers.sh: Accept a host triplet in the
12068         path matched by the exclude regexp.
12070         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
12071         definition.
12072         * sysdeps/powerpc/powerpc32/dl-machine.h
12073         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
12074         * sysdeps/s390/s390-32/dl-machine.h
12075         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12076         * sysdeps/sparc/sparc32/dl-machine.h
12077         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12078         * sysdeps/sparc/sparc64/dl-machine.h
12079         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12081         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
12082         lazy binding.
12083         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
12084         undefined symbol errors.
12086         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
12087         DT_NEEDED entries.
12089 2012-04-05  Michael Matz  <matz@suse.de>
12091         [BZ #13592]
12092         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
12094 2012-04-05  Andreas Jaeger  <aj@suse.de>
12096         [BZ #13908]
12097         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
12098         comment.
12100 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
12102         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
12103         which ROUND is no valid rounding mode.
12105 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
12107         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
12108         read again.
12109         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
12111 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
12113         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
12114         an exception using FPU order intentionally.
12116 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
12118         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
12119         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
12120         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
12121         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
12123 2012-04-05  Simon Josefsson  <simon@josefsson.org>
12125         [BZ #12340]
12126         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
12127         EINVAL when BUFLEN is too smal.
12129 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
12131         [BZ #13553]
12132         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
12133         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
12135 2012-04-03  Andreas Jaeger  <aj@suse.de>
12137         [BZ #13938]
12138         * manual/setjmp.texi (System V contexts): Fix sentence.
12140         [BZ #13926]
12141         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
12142         New macro for this case.
12143         [!__GNUC__] (__bswap_64): New inline function for this case.
12144         * sysdeps/x86_64/bits/byteswap.h: Likewise.
12145         * bits/byteswap.h: Likewise.
12146         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
12147         ull, guard with __GLIBC_HAVE_LONG_LONG.
12149         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
12150         __GLIBC_HAVE_LONG_LONG.
12152         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
12153         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
12155 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12157         [BZ #13691]
12158         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
12159         inptr and inend, rather than using last_ch.
12161 2012-04-02  David S. Miller  <davem@davemloft.net>
12163         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
12164         * stdio-common/printf-parse.h (read_int): Change return type to
12165         'int', return -1 on INT_MAX overflow.
12166         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
12167         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
12168         overflows INT_MAX.  Check for overflow of in-format-string precision
12169         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
12170         SIZE_MAX not INT_MAX for integer overflow test.
12171         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
12172         skip the construct in the format string but do not record anything.
12173         * stdio-common/bug22.c: Adjust to test both width/prevision
12174         INT_MAX overflow as well as total length INT_MAX overflow.  Check
12175         explicitly for proper errno values.
12177 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
12179         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
12180         CHAR_MAX.
12181         * string/test-strcmp.c [! WIDE]: Likewise.
12182         * time/tst-mktime2.c: Likewise for INT_MAX.
12183         * string/test-string.h: #include <sys/param.h> for MIN.
12185         * csu/init-first.c (__libc_init_first): Call __ctype_init.
12186         * sysdeps/i386/init-first.c (init): Likewise.
12187         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
12188         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
12189         * sysdeps/sh/init-first.c (init): Likewise.
12191 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
12193         * po/ru.po: Update from translation team.
12194         * po/vi.po: Likewise.
12196 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
12198         * resolv/nss_dns/dns-host.c: Merge copyright years.
12200 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12202         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12203         Optimize memcpy with prefetch if
12204         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
12205         src, dst pointers have unequal 16 byte alignments.
12207 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12209         [BZ #13928]
12210         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
12211         from a CNAME entry and return the minimum ttl for the query.
12212         (gaih_getanswer_slice): Likewise.
12214 2012-03-30  Jeff Law  <law@redhat.com>
12216         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
12217         due to long keys.
12218         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12219         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12221         * resolv/nss_dns/dns-host.c: Update copyright year.
12223 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
12225         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
12226         requests to save a system call.  Fix check that all bytes are sent.
12228         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
12229         comments for sendmmsg.
12231 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12233         [BZ #13691]
12234         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
12235         with only 1 character between 0x0041 and 0x01b0.
12236         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
12237         * wcsmbs/tst-mbsnrtowcs.c: New file.
12239 2012-03-29  David S. Miller  <davem@davemloft.net>
12241         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
12242         small copies by hand.
12244 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12246         [BZ #13761]
12247         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
12248         _nss_compat_initgroups_dyn): Fall back to malloc/free
12249         for large group memberships.
12251 2012-03-28  David S. Miller  <davem@davemloft.net>
12253         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
12254         that branches into memcpy.
12255         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12256         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
12257         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12258         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
12259         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
12260         bits.
12261         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
12262         implementation too.
12263         * sysdeps/sparc/mempcpy.S: New file.
12265         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
12266         the IFUNC routine in the libc case.
12267         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12269         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
12270         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
12271         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
12272         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
12273         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
12274         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
12275         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
12276         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
12278         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
12279         loop to 256 bytes instead of 64 bytes and fix test signedness.
12281         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
12282         * sysdeps/sparc/sparc32/Makefile: rather than here...
12283         * sysdeps/sparc/sparc64/Makefile: and here.
12285 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
12287         * malloc/mallocbug.c: Avoid warnings about unused variables.
12289 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
12291         [BZ #13760]
12292         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
12293         in the right place. Discard and retry query if response is
12294         larger than input buffer size.
12296 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
12298         [BZ #369]
12299         [BZ #2678]
12300         [BZ #3866]
12301         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
12302         x for large integer exponent.
12303         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12304         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
12305         sign of result as needed afterwards.
12306         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12307         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
12308         result for underflowing pow the same as for overflow.
12309         (__kernel_standard_l): Handle powl overflow and underflow here
12310         rather than calling __kernel_standard.
12311         * math/libm-test.inc (pow_test): Add more tests.
12313         [BZ #3868]
12314         [BZ #13879]
12315         [BZ #13910]
12316         [BZ #13911]
12317         [BZ #13912]
12318         [BZ #13913]
12319         [BZ #13915]
12320         [BZ #13916]
12321         [BZ #13917]
12322         [BZ #13918]
12323         [BZ #13919]
12324         [BZ #13920]
12325         [BZ #13921]
12326         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
12327         * sysdeps/ieee754/k_standard.c: Include <float.h>.
12328         (__kernel_standard_l): New function.
12329         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
12330         __kernel_standard.
12331         * math/w_acosl.c (__acosl): Likewise.
12332         * math/w_asinl.c (__asinl): Likewise.
12333         * math/w_atan2l.c (__atan2l): Likewise.
12334         * math/w_atanhl.c (__atanhl): Likewise.
12335         * math/w_coshl.c (__coshl): Likewise.
12336         * math/w_exp10l.c (__exp10l): Likewise.
12337         * math/w_exp2l.c (__exp2l): Likewise.
12338         * math/w_fmodl.c (__fmodl): Likewise.
12339         * math/w_hypotl.c (__hypotl): Likewise.
12340         * math/w_j0l.c (__j0l, __y0l): Likewise.
12341         * math/w_j1l.c (__j1l, __y1l): Likewise.
12342         * math/w_jnl.c (__jnl, __ynl): Likewise.
12343         * math/w_lgammal.c (__lgammal): Likewise.
12344         * math/w_log10l.c (__log10l): Likewise.
12345         * math/w_log2l.c (__log2l): Likewise.
12346         * math/w_logl.c (__logl): Likewise.
12347         * math/w_powl.c (__powl): Likewise.
12348         * math/w_remainderl.c (__remainderl): Likewise.
12349         * math/w_scalbl.c (sysv_scalbl): Likewise.
12350         * math/w_sinhl.c (__sinhl): Likewise.
12351         * math/w_sqrtl.c (__sqrtl): Likewise.
12352         * math/w_tgammal.c (__tgammal): Likewise.
12353         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
12354         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
12355         * math/libm-test.inc (acos_test): Add more tests.
12356         (acosh_test): Likewise.
12357         (asin_test): Likewise.
12358         (atanh_test): Likewise.
12359         (exp_test): Likewise.
12360         (exp10_test): Likewise.
12361         (exp2_test): Likewise.
12362         (expm1_test): Likewise.
12363         (lgamma_test): Likewise.
12364         (log_test): Likewise.
12365         (log10_test): Likewise.
12366         (log1p_test): Likewise.
12367         (log2_test): Likewise.
12368         (pow_test): Do not allow some spurious overflow exceptions.
12369         (sqrt_test): Add more tests.
12370         (tgamma_test): Likewise.
12371         (y0_test): Likewise.
12372         (y1_test): Likewise.
12373         (yn_test): Likewise.
12375 2012-03-27  Anton Blanchard  <anton@samba.org>
12377         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
12378         MAP_HUGETLB.
12379         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12380         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12381         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12383 2012-03-27  David S. Miller  <davem@davemloft.net>
12385         * conform/Makefile: Run run-conformtest.sh using $(BASH).
12387         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
12388         have-as-vis3 check.
12390 2012-03-27  Andreas Jaeger  <aj@suse.de>
12392         * sysdeps/x86_64/elf/configure.in: Moved to ...
12393         * sysdeps/x86_64/configure.in: ... here.
12394         * sysdeps/x86_64/elf/start.S: Moved to ...
12395         * sysdeps/x86_64/start.S: ... here.
12396         * sysdeps/x86_64/elf/configure: Delete.
12398         * sysdeps/x86_64/configure.in: Merge contents from
12399         sysdeps/i386/configure.in (without i686 check).
12401         * sysdeps/i386/elf/Versions: Merge into ...
12402         * sysdeps/i386/Versions: ... this.
12403         * sysdeps/i386/elf/Versions: Delete file.
12404         * sysdeps/i386/elf/start.S: Moved to ...
12405         * sysdeps/i386/start.S: ...here.
12406         * sysdeps/i386/elf/configure.in: Merge into...
12407         * sysdeps/i386/configure.in: ...here.
12408         * sysdeps/i386/elf/configure.in: Delete file.
12409         * sysdeps/i386/elf/configure: Delete file.
12411         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
12412         * debug/backtracesyms.c: ... here.
12413         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
12414         * debug/backtracesymsfd.c: ... here.
12415         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
12416         * sysdeps/generic/ifunc-sel.h: ... here.
12418         * sysdeps/unix/i386/start.c: Delete file.
12419         * sysdeps/unix/sparc/start.c: Delete file.
12420         * sysdeps/unix/start.c: Delete file.
12422         * sysdeps/sh/elf/configure.in: Moved to ...
12423         * sysdeps/sh/configure.in: ... here.
12424         * sysdeps/sh/elf/start.S: Moved to ...
12425         * sysdeps/sh/start.S: ... here.
12426         * sysdeps/sh/elf/configure: Delete file.
12428         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
12429         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
12430         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
12431         * sysdeps/powerpc/powerpc64/entry.h: ... here.
12432         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
12433         * sysdeps/powerpc/powerpc64/start.S: here.
12434         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
12435         * sysdeps/powerpc/powerpc64/Makefile: ... this.
12436         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
12437         * sysdeps/powerpc/powerpc64/configure.in: ... this.
12438         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
12440         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
12441         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
12442         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
12443         * sysdeps/powerpc/powerpc32/start.S: ... here.
12444         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
12445         * sysdeps/powerpc/powerpc32/configure.in: ... this.
12446         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
12448         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
12449         * sysdeps/powerpc/ifunc-sel.h: ... here.
12450         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
12451         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
12453         * sysdeps/sparc/elf/configure.in: Moved to ...
12454         * sysdeps/sparc/configure.in: ... here.
12455         * sysdeps/sparc/elf/configure: Delete file.
12456         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
12457         * sysdeps/sparc/sparc32/start.S: ... here.
12458         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
12459         * sysdeps/sparc/sparc64/start.S: ... here.
12460         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
12461         * sysdeps/sparc/sparc32/Makefile: ... this.
12462         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
12463         * sysdeps/sparc/sparc64/Makefile: ... this.
12465         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
12466         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
12467         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
12468         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
12469         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
12470         * sysdeps/s390/s390-32/setjmp.S: ... here.
12471         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
12472         * sysdeps/s390/s390-32/configure.in: ... here.
12473         * sysdeps/s390/s390-32/elf/configure: Delete file.
12474         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
12475         * sysdeps/s390/s390-32/start.S: ... here.
12477         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
12478         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
12479         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
12480         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
12481         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
12482         * sysdeps/s390/s390-64/setjmp.S: ... here.
12483         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
12484         * sysdeps/s390/s390-64/configure.in: ... here
12485         * sysdeps/s390/s390-64/elf/configure: Delete file.
12486         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
12487         * sysdeps/s390/s390-64/start.S: ... here.
12488         * sysdeps/s390/s390-64/elf/configure: Delete.
12490         * configure.in: Remove support for elf directories in sysdeps.
12492         * configure: Regenerated.
12493         * sysdeps/i386/configure: Regenerated.
12494         * sysdeps/powerpc/powerpc32/configure: Regenerated.
12495         * sysdeps/powerpc/powerpc64/configure: Regenerated.
12496         * sysdeps/s390/s390-32/configure: Regenerated.
12497         * sysdeps/s390/s390-64/configure: Regenerated.
12498         * sysdeps/sh/configure: Regenerated.
12499         * sysdeps/sparc/configure: Regenerated.
12500         * sysdeps/x86_64/configure: Regenerated.
12502 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
12504         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12506         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
12507         denormal result into account.
12509 2012-03-25  Roland McGrath  <roland@hack.frob.com>
12511         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
12512         Reported by Allan McRae <allan@archlinux.org>.
12514 2012-03-23  Jeff Law  <law@redhat.com>
12516         * nss/getnssent.c (__nss_getent): Fix typo.
12518 2012-03-23  David S. Miller  <davem@davemloft.net>
12520         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12522 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
12524         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
12525         to pad to uint64_t for each field.
12526         (dl_tls_index): Replace unsigned long with uint64_t.
12528 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
12529         Paul Pluzhnikov  <ppluzhnikov@google.com>
12531         [BZ #6528]
12532         * grp/Makefile (otherlibs): Don't set it.
12533         * inet/Makefile (otherlibs): Likewise.
12534         * login/Makefile (otherlibs): Likewise.
12535         * nscd/Makefile (otherlibs): Likewise.
12536         * posix/Makefile (otherlibs): Likewise.
12537         * pwd/Makefile (otherlibs): Likewise.
12538         * rt/Makefile (otherlibs): Likewise.
12539         * sunrpc/Makefile (otherlibs): Likewise.
12540         * nss/Makefile (otherlibs): Likewise.
12541         Add libnss_files to routines and static-only-routines.
12542         ($(objpfx)getent): Remove rule.
12543         * resolv/Makefile: Add libnss_dns and libresolv to routines and
12544         static-only-routines.
12546 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
12548         [BZ #13892]
12549         * math/s_cexp.c: Include <float.h>.
12550         (__cexp): Handle exp result overflowing not necessarily
12551         overflowing both real and imaginary parts of result.
12552         * math/s_cexpf.c: Likewise.
12553         * math/s_cexpl.c: Likewise.
12554         * math/libm-test.inc (cexp_test): Add more tests.
12555         * sysdeps/i386/fpu/libm-test-ulps: Update.
12556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12558 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
12560         * include/link.h (ELFW): New macro.
12561         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
12562         Replace ELF64_R_TYPE with ELFW(R_TYPE).
12564 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
12566         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
12567         with uint64_t.
12569 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
12571         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
12572         declaration.
12573         (struct La_x32_retval): Likewise.
12575 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
12577         * sysdeps/x86_64/preconfigure.in: New file.
12578         * sysdeps/x86_64/preconfigure: New generated file.
12580 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
12582         [BZ #13824]
12583         * math/e_exp2l.c: Include <float.h>.
12584         (__ieee754_exp2l): Handle overflow and underflow cases
12585         separately.  Only pass fractional part of argument to
12586         __ieee754_expl.
12587         * math/libm-test.inc (exp2_test): Add more tests.
12589         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
12590         negating x to take absolute value.
12591         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
12592         Likewise.
12593         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12594         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
12595         Likewise.
12596         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
12597         computing low part if x was negated.
12598         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12600 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
12602         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
12603         la_x32_gnu_pltexit.
12604         (pltexit): Cast int_retval to ptrdiff_t.
12605         * elf/tst-auditmod3b.c: Likewise.
12606         * elf/tst-auditmod4b.c: Likewise.
12607         * elf/tst-auditmod5b.c: Likewise.
12608         * elf/tst-auditmod6b.c: Likewise.
12609         * elf/tst-auditmod6c.c: Likewise.
12610         * elf/tst-auditmod7b.c: Likewise.
12612         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
12613         and x32_gnu_pltexit.
12615         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
12616         __ELF_NATIVE_CLASS.
12617         (La_x32_regs): New macro.
12618         (La_x32_retval): Likewise.
12619         (la_x32_gnu_pltenter): New function prototype.
12620         (la_x32_gnu_pltexit): Likewise.
12622 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
12624         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
12625         exponent.
12627         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12629         * configure.in (libc_cv_cc_nofma): Check for option to disable
12630         generation of FMA instructions.
12631         * configure: Regenerate.
12632         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
12633         * sysdeps/ieee754/dbl-64/Makefile: New file.
12634         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
12635         Remove brandred-fma4.
12636         (CFLAGS-brandred-fma4.c): Remove.
12637         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
12638         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
12639         define.
12640         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
12641         define.
12643 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
12645         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12646         LLONG_MAX != LONG_MAX.
12647         (_itoa_word): Use _ITOA_WORD_TYPE on value.
12648         (_fitoa_word): Likewise.
12649         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
12650         LLONG_MAX != LONG_MAX.
12651         * stdio-common/_itowa.h: Include <_itoa.h>.
12652         (_itowa_word): Use _ITOA_WORD_TYPE on value.
12653         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
12654         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
12655         only if not defined.
12656         (_ITOA_WORD_TYPE): Likewise.
12657         (_itoa_word): Use _ITOA_WORD_TYPE on value.
12658         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
12660 2012-03-21  David S. Miller  <davem@davemloft.net>
12662         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12664 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
12666         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
12667         of x86_64 when setting libc_cv_slibdir, libdir and
12668         libc_cv_localedir.
12669         * sysdeps/unix/sysv/linux/configure: Regenerated.
12671 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
12673         * manual/lang.texi (Old Varargs): Remove section.
12674         (How Variadic): Update menu.
12675         (va_start): Do not mention varargs.h.
12677 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
12678             Joseph Myers  <joseph@codesourcery.com>
12680         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
12681         link test.
12682         * configure: Regenerated.
12684 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
12686         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
12687         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
12688         conformtest.pl
12690 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
12692         * NOTES: Remove.
12693         * Makefile (files-for-dist): Remove NOTES.
12694         (NOTES): Remove rule.
12695         * README: Don't refer to NOTES.
12696         * manual/creature.texi: Don't include macros.texi.
12697         * manual/intro.texi (creature.texi): Remove comment referring to
12698         NOTES.
12700         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
12701         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
12702         * configure: Regenerated.
12703         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
12704         LIBC_TRY_CC_OPTION.
12705         (libc_cv_as_i686): Likewise.
12706         (libc_cv_cc_avx): Likewise.
12707         (libc_cv_cc_sse2avx): Likewise.
12708         (libc_cv_cc_fma4): Likewise.
12709         (libc_cv_cc_novzeroupper): Likewise.
12710         * sysdeps/i386/configure: Regenerated.
12712         [BZ #13883]
12713         * sysdeps/i386/fpu/s_cexp.S: Remove.
12714         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12715         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12716         * math/libm-test.inc (cexp_test): Add more tests.
12717         * sysdeps/i386/fpu/libm-test-ulps: Update.
12718         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12720 2012-03-21  Allan McRae  <allan@archlinux.org>
12722         * timezone/Makefile: Do not install iso3166.tab and zone.tab
12724 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
12726         [BZ #13871]
12727         * math/w_exp2.c: Do not include <float.h>.
12728         (o_threshold, u_threshold): Remove.
12729         (__exp2): Calculate result before checking finiteness and calling
12730         __kernel_standard.
12731         * math/w_exp2f.c: Likewise.
12732         * math/w_exp2l.c: Likewise.
12733         * math/libm-test.inc (exp2_test): Require overflow exception for
12734         1e6 input.
12736         [BZ #3866]
12737         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
12738         range of signed 64-bit integers before using fistpll.  Remove
12739         checks for whether integers fit in mantissa bits.
12740         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
12741         the range of signed 32-bit integers before using fistpl.  Remove
12742         checks for whether integers fit in mantissa bits.
12743         * sysdeps/i386/fpu/e_powl.S (p64): New object.
12744         (__ieee754_powl): Test for y outside the range of signed 64-bit
12745         integers before using fistpll.  Reduce 64-bit values to 63-bit
12746         ones as needed.
12747         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
12748         divide-by-zero is raised for zero to large negative powers.
12749         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
12750         (__ieee754_powl): Test for y outside the range of signed 64-bit
12751         integers before using fistpll.  Reduce 64-bit values to 63-bit
12752         ones as needed.
12753         * math/libm-test.inc (pow_test): Add more tests.
12755 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
12757         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
12758         <stdio-common/_itoa.h>.
12759         * debug/segfault.c: Likewise.
12760         * elf/dl-cache.c: Likewise.
12761         * elf/dl-minimal.c: Likewise.
12762         * elf/dl-misc.c: Likewise.
12763         * elf/dl-sysdep.c: Likewise.
12764         * elf/dl-version.c: Likewise.
12765         * elf/rtld.c: Likewise.
12766         * hurd/hurdsock.c: Likewise.
12767         * hurd/lookup-retry.c: Likewise.
12768         * malloc/malloc.c: Likewise.
12769         * malloc/mtrace.c: Likewise.
12770         * nscd/nscd_getgr_r.c: Likewise.
12771         * nscd/nscd_getpw_r.c: Likewise.
12772         * nscd/nscd_getserv_r.c: Likewise.
12773         * posix/getopt_init.c: Likewise.
12774         * posix/wordexp.c: Likewise.
12775         * stdio-common/_itoa.c: Likewise.
12776         * stdio-common/printf_fphex.c: Likewise.
12777         * stdio-common/vfprintf.c: Likewise.
12778         * string/_strerror.c: Likewise.
12779         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
12780         * sysdeps/i386/i686/hp-timing.h: Likewise.
12781         * sysdeps/mach/_strerror.c: Likewise.
12782         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
12783         * sysdeps/mach/hurd/sethostid.c: Likewise.
12784         * sysdeps/mach/hurd/xmknodat.c: Likewise.
12785         * sysdeps/mach/xpg-strerror.c: Likewise.
12786         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12787         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12788         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
12789         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
12790         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12791         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
12792         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
12793         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
12794         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
12795         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
12796         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
12797         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12798         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
12799         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12800         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12801         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
12802         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
12803         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
12804         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
12805         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12806         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
12808         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
12810         * stdio-common/_itoa.h: Moved to ...
12811         * sysdeps/generic/_itoa.h: Here.
12813         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
12815         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
12816         instead of "_itoa.h" and "_itowa.h".
12817         * stdio-common/vfprintf.: Likewise.
12819 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
12821         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
12822         <bits/wordsize.h>.
12823         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
12824         (__signbit): Likwise.
12825         (llrintf): Likwise.
12826         (llrint): Likwise.
12828 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
12830         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
12831         __WORDSIZE != 64.
12833 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
12835         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
12836         OVERFLOW_EXCEPTION_OK.
12837         * math/libm-test.inc ("Philosophy"): Update comment about
12838         exception testing.
12839         (OVERFLOW_EXCEPTION): Define.
12840         (OVERFLOW_EXCEPTION_OK): Likewise.
12841         (INVALID_EXCEPTION_OK): Renumber.
12842         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12843         (IGNORE_ZERO_INF_SIGN): Likewise.
12844         (test_exceptions): Handle FE_OVERFLOW.
12845         (exp10_test): Expect overflow exceptions.
12846         (exp2_test): Likewise.
12847         (expm1_test): Likewise.
12848         (nextafter_test): Likewise.
12849         (pow_test): Likewise.
12850         (scalbn_test): Likewise.
12851         (scalbln_test): Likewise.
12853 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
12855         * sysdeps/x86_64/bits/atomic.h
12856         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
12857         64bit integer.
12858         (atomic_exchange_acq): Likewise.
12859         (__arch_exchange_and_add_body): Likewise.
12860         (__arch_add_body): Likewise.
12861         (atomic_add_negative): Likewise.
12862         (atomic_add_zero): Likewise.
12864 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
12866         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
12867         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
12869 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
12871         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
12872         Check __x86_64__ instead of __WORDSIZE.
12874 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
12876         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
12878 2012-03-19  David S. Miller  <davem@davemloft.net>
12880         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12882         * sysdeps/sparc/fpu/fenv_private.h: New file.
12883         * sysdeps/sparc/fpu/math_private.h: Use it.
12884         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
12885         Remove.
12886         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
12887         (libc_feholdexcept_setroundl): Remove.
12888         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
12889         Remove.
12890         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
12891         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
12893 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
12895         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
12896         int64_t instead of long int.
12897         (INSERT_WORDS64): Likwise.
12899 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
12901         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
12902         _Unwind_GetCFA return to _Unwind_Ptr first.
12904 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
12906         [BZ #13629]
12907         * math/s_clog.c: Include <float.h>.
12908         (__clog): Scale large or subnormal inputs.
12909         * math/s_clogf.c: Likewise.
12910         * math/s_clogl.c: Likewise.
12911         * math/s_clog10.c: Include <float.h>.
12912         (M_LOG10_2): Define.
12913         (__clog10): Scale large or subnormal inputs.
12914         * math/s_clog10f.c: Likewise.
12915         * math/s_clog10l.c: Likewise.
12916         * math/libm-test.inc (clog_test): Add more tests.
12917         (clog10_test): Likewise.
12918         * sysdeps/i386/fpu/libm-test-ulps: Update.
12919         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12921         [BZ #11451]
12922         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
12923         x and y.
12924         * math/libm-test.inc (atan2_test): Add another test.
12926         * Makerules (common-objdir-compile): Remove.
12927         * sysdeps/unix/Makefile (config-generated): Do not add
12928         $(unix-generated) to variable.
12929         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
12930         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
12931         Remove rule.
12932         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
12933         Likewise.
12934         [generic bits/local_lim.h] (before-compile): Do not append to
12935         variable.
12936         [generic bits/local_lim.h] (common-generated): Likewise.
12937         [generic sys/param.h] (before-compile): Do not append to variable.
12938         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
12939         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
12940         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
12941         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
12942         include.
12943         [generic sys/param.h] (sys/param.h-includes): Remove variable.
12944         [generic sys/param.h] (sys/param.h-includes): Remove rule.
12945         [generic sys/param.h] ($(addprefix
12946         $(common-objpfx),$(sys/param.h-includes))): Likewise.
12947         [generic sys/param.h] (common-generated): Do not append to
12948         variable.
12949         [generic sys/param.h] (sysdep_headers): Likewise.
12950         [generic bits/errno.h] (before-compile): Do not append to
12951         variable.
12952         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
12953         rule.
12954         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
12955         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
12956         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
12957         [generic bits/errno.h] (common-generated): Do not append to
12958         variable.
12959         [generic bits/ioctls.h] (before-compile): Do not append to
12960         variable.
12961         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
12962         rule.
12963         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
12964         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
12965         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
12966         rule.
12967         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
12968         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
12969         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
12970         [generic bits/ioctls.h] (common-generated): Do not append to
12971         variable.
12972         [generic sys/syscall.h] (syscall.h): Remove variable.
12973         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
12974         rule.
12975         [generic sys/syscall.h] (before-compile): Do not append to
12976         variable.
12977         [generic sys/syscall.h] (common-generated): Likewise.
12978         * sysdeps/unix/errnos-tmpl.c: Remove file.
12979         * sysdeps/unix/errnos.awk: Likewise.
12980         * sysdeps/unix/ioctls-tmpl.c: Likewise.
12981         * sysdeps/unix/ioctls.awk: Likewise.
12982         * sysdeps/unix/mk-local_lim.c: Likewise.
12983         * sysdeps/unix/snarf-ioctls: Likewise.
12985 2012-03-19  Richard Henderson  <rth@twiddle.net>
12987         * sysdeps/i386/fpu/fenv_private.h: New file.
12988         * sysdeps/i386/fpu/math_private.h: Use it.
12989         (math_opt_barrier, math_force_eval): Remove.
12990         (libc_feholdexcept_setround_53bit): Remove.
12991         (libc_feupdateenv_53bit): Remove.
12992         * sysdeps/x86_64/fpu/math_private.h: Likewise.
12993         (math_opt_barrier, math_force_eval): Remove.
12994         (libc_feholdexcept): Remove.
12995         (libc_feholdexcept_setround): Remove.
12996         (libc_fetestexcept, libc_fesetenv): Remove.
12997         (libc_feupdateenv_test): Remove.
12998         (libc_feupdateenv, libc_feholdsetround): Remove.
12999         (libc_feresetround): Remove.
13001         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
13002         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
13004         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
13005         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
13006         (libc_feupdateenv_testl): New.
13007         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
13008         (libc_feupdateenv_testf): New.
13009         (libc_feupdateenv): Use libc_feupdateenv_test.
13010         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
13011         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
13013         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
13014         (libc_feholdsetroundf, libc_feholdsetroundl): New.
13015         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
13016         (libc_feresetround_noex): New.
13017         (libc_feresetround_noexf): New.
13018         (libc_feresetround_noexl): New.
13019         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
13020         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
13021         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
13022         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
13023         SET_RESTORE_ROUND.
13024         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
13025         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
13026         (__cos): Likewise.
13027         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
13028         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
13029         SET_RESTORE_ROUND_NOEX.
13030         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
13031         SET_RESTORE_ROUND_NOEXF.
13032         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
13033         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
13034         (libc_feholdsetroundf): New.
13035         (libc_feresetround, libc_feresetroundf): New.
13037         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
13038         (libc_feholdexcept_setround_53bit): Convert from macro to function.
13039         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
13041         * sysdeps/generic/math_private.h: Include <fenv.h>.
13042         (default_libc_feholdexcept): New.
13043         (default_libc_feholdexcept_setround): New.
13044         (default_libc_fesetenv, default_libc_feupdateenv): New.
13045         (libc_feholdexcept): Only define if undefined.
13046         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
13047         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
13048         (libc_feholdexcept_setroundl): Likewise.
13049         (libc_feholdexcept_setround_53bit): Likewise.
13050         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
13051         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
13052         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
13053         (libc_feupdateenv_53bit): Likewise.
13054         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
13055         (libc_feholdexcept): Convert from macro to inline function.
13056         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
13057         (libc_fesetenv, libc_feupdateenv): Likewise.
13059         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
13060         not previously defined.
13061         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
13062         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
13063         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
13064         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
13065         * sysdeps/ieee754/flt-32/math_private.h: New file.
13066         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
13067         math_private.h below SET_FLOAT_WORD.
13068         (__isnan, __isinf_ns, __finite): Remove.
13069         (__isnanf, __isinf_nsf, __finitef): Remove.
13071 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
13073         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13075 2012-03-17  David S. Miller  <davem@davemloft.net>
13077         [BZ #6471]
13078         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
13079         for 2.16.
13081 2012-03-16  David S. Miller  <davem@davemloft.net>
13083         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
13084         warnings.
13086         [BZ #6471]
13087         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
13088         properly.
13089         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
13090         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
13091         sysdep_routines when subdir is sysvipc.
13092         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
13093         __getshmlba helper.
13095         * sysdeps/sparc/fpu/libm-test/ulps: Update.
13097 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
13099         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
13100         [__LP64__].
13102 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
13104         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
13105         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
13106         (__lround): Renamed to ...
13107         (__llround): This.  Replace long int with long long int.
13108         Define lround functions as aliases of llround functions.
13109         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
13111 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
13113         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
13114         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
13115         adresses to uintptr_t.  Replace "long int" and "unsigned long
13116         int" with "greg_t" on va_arg.
13118 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
13120         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
13121         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
13123         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
13124         Move e_machine check before EI_CLASS check.  Handle x32
13125         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
13126         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
13127         SKIP_EM_IA_64 and include
13128         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
13130         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
13131         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
13132         (add_system_dir): New macro.
13134         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
13135         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
13137 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
13139         [BZ #2551]
13140         [BZ #2552]
13141         [BZ #2553]
13142         [BZ #2554]
13143         [BZ #2562]
13144         [BZ #2563]
13145         [BZ #2565]
13146         [BZ #2566]
13147         [BZ #2576]
13148         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
13149         (y0): Likewise.
13150         * math/w_j0f.c (j0f): Likewise.
13151         (y0f): Likewise.
13152         * math/w_j0l.c (__j0l): Likewise.
13153         (__y0l): Likewise.
13154         * math/w_j1.c (j1): Likewise.
13155         (y1): Likewise.
13156         * math/w_j1f.c (j1f): Likewise.
13157         (y1f): Likewise.
13158         * math/w_j1l.c (__j1l): Likewise.
13159         (__y1l): Likewise.
13160         * math/w_jn.c (jn): Likewise.
13161         (yn): Likewise.
13162         * math/w_jnf.c (jnf): Likewise.
13163         (ynf): Likewise.
13164         * math/w_jnl.c (__jnl): Likewise.
13165         (__ynl): Likewise.
13166         * math/libm-test.inc (j0_test): Add more tests.
13167         (j1_test): Likewise.
13168         (jn_test): Likewise.  Add trailing semicolon to existing test.
13169         (y0_test): Likewise.
13170         (y1_test): Likewise.
13171         * sysdeps/i386/fpu/libm-test-ulps: Update.
13172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13174         [BZ #13851]
13175         [BZ #13854]
13176         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
13177         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
13178         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
13179         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
13180         (__tanl): Set errno for infinite argument.
13181         * sysdeps/i386/fpu/mptan.c: Remove.
13182         * sysdeps/i386/fpu/s_tan.S: Likewise.
13183         * sysdeps/i386/fpu/s_tanl.S: Likewise.
13184         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
13185         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
13186         * math/libm-test.inc (tan_test): Add more tests and enable more
13187         tests for double and long double.
13188         * sysdeps/i386/fpu/libm-test-ulps: Update.
13189         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13191 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
13193         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
13194         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
13196 2012-03-16  Roland McGrath  <roland@hack.frob.com>
13198         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
13199         * configure.in: Use it for both main tree and add-ons.
13200         * configure: Regenerated.
13202 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
13204         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
13206 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
13208         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
13209         in comment.
13211         [BZ #13851]
13212         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
13213         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
13214         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13215         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
13216         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
13217         infinite argument.
13218         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
13219         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
13220         != 0 for prec == 2.
13221         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
13222         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
13223         * sysdeps/i386/fpu/s_cosl.S: Likewise.
13224         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
13225         * sysdeps/i386/fpu/s_sinl.S: Likewise.
13226         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
13227         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
13228         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
13229         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
13230         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
13231         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
13232         * math/libm-test.inc (cos_test): Add more tests and enable more
13233         tests for long double.
13234         (sin_test): Likewise.
13235         (sincos_test): Likewise.
13236         * sysdeps/i386/fpu/libm-test-ulps: Update.
13237         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13239 2012-03-16  David S. Miller  <davem@davemloft.net>
13241         * sysdeps/sparc/fpu/math_private.h: New file.
13243 2012-03-15  David S. Miller  <davem@davemloft.net>
13245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
13246         file.
13247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
13248         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
13249         file.
13250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
13251         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
13252         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
13253         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
13254         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
13255         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
13256         sysdep routines.
13257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13259         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
13260         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
13262         * sysdeps/sparc/sparc-ifunc.h: New file.
13263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
13264         sparc-ifunc.h
13265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
13267         Likewise.
13268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
13269         Likewise.
13270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
13271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
13272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13274         Likewise.
13275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
13277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
13279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
13280         Likewise.
13281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
13282         Likewise.
13283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
13285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
13286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
13287         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13288         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13289         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
13290         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
13291         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13292         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13293         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
13294         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
13295         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
13296         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
13297         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
13298         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
13299         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
13300         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
13301         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
13302         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
13303         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
13304         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
13305         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
13306         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
13308 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
13310         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
13311         scaling.
13312         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13314 2012-03-15  Andreas Jaeger  <aj@suse.de>
13316         [BZ #13852]
13317         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
13318         ieee754/flt-32 implementation for sin, cos and sincos.
13319         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
13320         * sysdeps/i386/fpu/s_cosf.S: Likewise.
13321         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
13322         * sysdeps/i386/fpu/s_sinf.S: Likewise.
13323         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
13324         ieee754/flt-32 implementation for tan.
13326         * math/libm-test.inc (cos_test): Enable some large input tests for
13327         float as well
13328         (sin_test): Likewise.
13329         (sincos_test): Likewise.
13330         (tan_test): Add tests for large input.
13332         * sysdeps/i386/fpu/libm-test-ulps: Update.
13334 2012-03-15  Andreas Jaeger  <aj@suse.de>
13336         [BZ #13658]
13337         * math/libm-test.inc (cos_test): Add more test cases.
13338         (sin_test): Likewise.
13339         (sincos_test): Likewise.
13341 2012-03-15  Andreas Jaeger  <aj@suse.de>
13343         [BZ #13837]
13344         * math/libm-test.inc (cos_test): Add a test case for large input
13345         value.
13346         (sin_test): Likewise.
13347         (sincos_test): Likewise.
13349 2012-03-15  Andreas Jaeger  <aj@suse.de>,
13350         Joseph Myers  <joseph@codesourcery.com>
13352         [BZ #13658]
13353         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
13354         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
13355         * sysdeps/i386/fpu/branred.c: Likewise.
13356         * sysdeps/i386/fpu/dosincos.c: Likewise.
13357         * sysdeps/i386/fpu/mpa.c: Likewise.
13358         * sysdeps/i386/fpu/s_cos.S: Likewise.
13359         * sysdeps/i386/fpu/s_sin.S: Likewise.
13360         * sysdeps/i386/fpu/s_sincos.S: Likewise.
13361         * sysdeps/i386/fpu/sincos32.c: Likewise.
13363         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
13364         Define.
13365         (libc_feupdateenv_53bit): Define.
13366         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
13367         Define.
13368         (libc_feupdateenv_53bit): Define.
13370         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
13371         53 bit (without extend i386 double precision).
13373         * math/libm-test.inc (sincos_test): Add tests for large input.
13374         (sin): Likewise.
13375         (cos): Likewise.
13377         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13379 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
13381         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13383 2012-03-15  David S. Miller  <davem@davemloft.net>
13385         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
13386         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
13387         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
13388         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
13389         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
13390         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
13391         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
13392         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
13393         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
13394         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
13395         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
13396         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
13397         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
13398         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
13399         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
13400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
13401         file.
13402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
13403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
13404         file.
13405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
13406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
13407         file.
13408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
13409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
13410         file.
13411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
13412         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
13413         fmin/fmax sysdep routines.
13414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13416 2012-03-14  David S. Miller  <davem@davemloft.net>
13418         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
13419         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
13420         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
13421         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
13422         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
13423         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
13424         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
13425         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
13426         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
13427         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
13428         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
13429         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
13430         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
13431         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
13432         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
13433         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
13434         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
13435         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
13436         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
13437         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
13438         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
13439         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
13440         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
13441         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
13442         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
13443         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
13444         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
13445         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
13446         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
13447         routines.
13448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
13449         file.
13450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
13451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
13452         file.
13453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
13454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
13455         file.
13456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
13457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
13458         file.
13459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
13460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
13461         file.
13462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
13463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
13464         file.
13465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
13466         file.
13467         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
13468         file.
13469         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
13470         file.
13471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
13472         New file.
13473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
13474         file.
13475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
13476         file.
13477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
13478         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
13479         file.
13480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
13481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
13482         file.
13483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
13484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
13485         file.
13486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
13487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
13488         VIS3 routines.
13490         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13491         New file.
13493         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13495         * sysdeps/sparc/configure.in: New file.
13496         * sysdeps/sparc/configure: Generate.
13497         * configure.in (libc_cv_sparc_as_vis3): Substitute.
13498         * configure: Regenerate.
13499         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
13500         * config.make.in (have-as-vis3): New.
13501         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
13502         available use -Av9d instead of -Av9a.
13503         * sysdeps/sparc/sparc64/Makefile: Likewise.
13504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
13505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
13506         New file.
13507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
13508         file.
13509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
13510         New file.
13511         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
13512         file.
13513         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
13514         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
13515         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
13516         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
13517         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
13519         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
13520         fzeros/fnegs to load 0x80000000 into a float register instead of
13521         using the stack.
13522         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
13524 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
13526         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13527         bits/syscall.h.
13528         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
13529         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
13530         ($(inst_includedir)/bits/syscall.h): Remove rule.
13531         ($(objpfx)bits/syscall.d): Include instead of
13532         $(objpfx)syscall-list.d.
13533         (generated): Change syscall-list.h and syscall-list.d to
13534         bits/syscall.h and bits/syscall.d.
13536 2012-03-14  Roland McGrath  <roland@hack.frob.com>
13538         [BZ #13846]
13539         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
13541 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
13543         [BZ #13841]
13544         * math/s_csqrt.c: Include <float.h>.
13545         (__csqrt): Scale large or subnormal inputs.
13546         * math/s_csqrtf.c: Likewise.
13547         * math/s_csqrtl.c: Likewise.
13548         * math/libm-test.inc (csqrt_test): Add more tests.
13549         * sysdeps/i386/fpu/libm-test-ulps: Update.
13550         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13552         [BZ #13840]
13553         * math/libm-test.inc (hypot_test): Add more tests.
13555 2012-03-13  David S. Miller  <davem@davemloft.net>
13557         [BZ #13840]
13558         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
13559         double-precision for the calculation instead of scaling.
13561 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
13563         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
13564         manipulate bits before adding and subtracting TWO52[sx].
13565         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
13566         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
13567         Likewise.
13568         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
13570 2012-03-13  David S. Miller  <davem@davemloft.net>
13572         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
13573         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
13574         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
13575         rtld-global-offsets.h
13576         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13578         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
13579         large parameters.
13581         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
13583         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
13584         'err' in the ifdef scope in which it is actually used.
13586         * nss/nss_db/db-init.c: Include string.h
13588 2012-03-12  David S. Miller  <davem@davemloft.net>
13590         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13591         masking out of the most significant byte of random value used.
13592         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13593         Fix coding style in previous change.
13595         * sysdeps/unix/sysv/linux/kernel-features.h
13596         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
13597         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
13598         expression.
13599         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
13600         later.
13602 2012-03-11  David S. Miller  <davem@davemloft.net>
13604         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13605         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
13606         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
13607         for 'resultvar' otherwise things get truncated on 64-bit.
13609         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13610         Fix masking out of the most significant byte of random value used.
13612         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13614 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
13616         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13618 2012-03-09  David S. Miller  <davem@davemloft.net>
13620         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
13621         variables with appropriate CPP guards.
13622         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
13623         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
13624         on resulting framesize and the management of the outregs buffer for pltexit.
13625         Preserve floating point return values across _dl_call_pltexit call.
13626         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
13627         framesize and the management of the outregs buffer for pltexit.
13628         Preserve floating point return values across _dl_call_pltexit
13629         call.
13630         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
13631         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
13632         (print_exit): Fix format string for return register value.
13634 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
13636         * sunrpc/Makefile (others): Add rpcgen.
13637         ($(objpfx)rpcgen): Remove special build rule and dependency on
13638         libc.
13639         * sunrpc/rpcgen.c: New file.
13641 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
13643         [BZ #13673]
13644         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
13645         * stdio-common/bug-vfprintf-nargs.c: Likewise.
13646         * sysdeps/i386/crti.S: Likewise.
13647         * sysdeps/i386/crtn.S: Likewise.
13648         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
13649         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
13650         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
13651         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
13652         * sysdeps/sh/crti.S: Likewise.
13653         * sysdeps/sh/crtn.S: Likewise.
13654         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13656         [BZ #13673]
13657         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
13658         with URL.
13659         * locale/programs/locfile-kw.gperf: Likewise.
13660         * locale/programs/charmap-kw.h: Regenerated.
13661         * locale/programs/locfile-kw.h: Likewise.
13663         [BZ #13673]
13664         * intl/plural.y: Replace FSF snail mail address with URL.
13665         * intl/plural.c: Regenerated.
13667 2012-03-09  Richard Henderson  <rth@twiddle.net>
13669         * include/math_private.h: Remove file.
13670         * math/math_private.h: Move file ...
13671         * sysdeps/generic/math_private.h: ... here.
13673         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
13674         * sysdeps/powerpc/fpu/math_private.h: Likewise.
13675         * sysdeps/x86_64/fpu/math_private.h: Likewise.
13677         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
13678         and <math_private.h>.
13679         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13680         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13681         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13682         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13683         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13684         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
13685         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13686         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13687         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13688         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13689         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13690         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13691         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13692         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13693         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13694         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13695         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13696         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13697         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13698         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13699         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13700         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13701         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13702         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13703         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13704         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13705         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13706         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13707         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13708         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13709         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13710         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13711         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13712         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13713         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13714         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13715         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13716         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13717         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13718         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13719         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
13720         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13721         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13722         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13723         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13724         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13725         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13726         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13727         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13728         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13729         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13730         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13731         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13732         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13733         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13734         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13735         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13736         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13737         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13738         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
13739         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13740         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13741         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13742         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13743         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
13744         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13745         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13746         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13747         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
13748         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
13749         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13750         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13751         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13752         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13753         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
13754         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
13755         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
13756         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13757         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
13758         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13759         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13760         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13761         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13762         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13763         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13764         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
13765         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
13766         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
13767         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13768         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13769         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13770         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13771         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13772         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13773         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13774         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13775         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13776         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13777         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13778         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13779         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13780         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13781         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13782         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13783         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13784         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13785         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13786         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13787         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13788         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13789         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13790         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13791         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13792         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13793         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
13794         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13795         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13796         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13797         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13798         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13799         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13800         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13801         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13802         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
13803         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13804         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13805         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13806         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
13807         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13808         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13809         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13810         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13811         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13812         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13813         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13814         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13815         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13816         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13817         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
13818         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13819         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13820         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13821         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13822         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
13823         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
13824         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13825         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13826         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13827         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
13828         * sysdeps/ieee754/k_standard.c: Likewise.
13829         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13830         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13831         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13832         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13833         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13834         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13835         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13836         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13837         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13838         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13839         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13840         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13841         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13842         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13843         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13844         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13845         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13846         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13847         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13848         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
13849         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13850         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13851         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13852         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13853         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13854         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13855         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13856         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13857         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13858         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13859         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13860         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13861         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13862         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13863         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13864         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13865         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13866         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
13867         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
13868         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13869         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13870         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13871         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13872         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13873         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13874         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13875         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13876         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13877         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13878         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13879         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13880         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13881         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13882         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
13883         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13884         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13885         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
13886         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
13887         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13888         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13889         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13890         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13891         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13892         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13893         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13894         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13895         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13896         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13897         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13898         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13899         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13900         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13901         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13902         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13903         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13904         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13905         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
13906         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13907         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13908         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13909         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13910         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13911         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13912         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13913         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13914         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13915         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13916         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
13917         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13918         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13919         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
13920         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13921         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
13922         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13923         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13924         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13925         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
13926         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
13927         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
13928         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
13929         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13930         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13931         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13932         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13933         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
13934         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13935         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13936         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
13937         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
13938         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13939         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13940         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13941         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13942         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13943         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13944         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13945         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13946         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13947         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13948         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13949         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13950         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13951         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13952         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13953         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13954         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
13955         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13956         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13957         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13958         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13959         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13960         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13961         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13962         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13963         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13964         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13965         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
13966         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13967         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13968         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13969         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13970         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13971         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13972         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13973         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13974         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13975         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13976         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13977         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13978         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
13979         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13980         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13981         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13982         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13983         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
13984         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
13985         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13986         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13987         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13988         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13989         * sysdeps/ieee754/s_lib_version.c: Likewise.
13990         * sysdeps/ieee754/s_matherr.c: Likewise.
13991         * sysdeps/ieee754/s_signgam.c: Likewise.
13992         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13993         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13994         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
13995         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
13996         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
13997         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13998         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
13999         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
14000         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
14001         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
14002         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14003         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
14004         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
14005         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14006         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
14007         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14008         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14009         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14010         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14011         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14012         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14014 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
14016         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
14017         * sunrpc/rpc_main.c: Likewise.
14018         * sunrpc/rpc_svcout.c: Likewise.
14020 2012-03-09  David S. Miller  <davem@davemloft.net>
14022         * include/math_private.h: New file.
14024 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
14026         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
14027         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
14028         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
14029         from <bits/socket_type.h>.
14030         (enum __socket_type): Don't define here.
14031         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
14032         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14033         bits/socket_type.h.
14035         [BZ #13566]
14036         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
14037         checking __USE_GNU.
14039         * Makerules ($(inst_includedir)/%.h): New rule.
14040         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
14041         (install-others): Remove variable setting.
14042         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
14044 2012-03-08  Richard Henderson  <rth@twiddle.net>
14046         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
14047         from macro to inline function; merge with the
14048         !__LIBC_INTERNAL_MATH_INLINES version.
14049         (__ieee754_sqrtf): Likewise.
14051         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
14052         to inline function.
14053         (__rintf, __floor, __floorf): Likewise.
14055         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
14056         macro to inline function.
14057         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
14059         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
14060         not <math/math_private.h>.
14062 2012-03-08  David S. Miller  <davem@davemloft.net>
14064         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
14065         copyright year.
14066         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
14068 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
14070         * resolv/gai_misc.c (handle_requests): Fix struct timespec
14071         normalization.
14072         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
14073         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
14075 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
14077         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
14078         be defined individually, they must be defined as a block.  Define
14079         S for printing a string instead of hidint the different by using a
14080         macro for adding the 'l'.
14081         * stdio-common/tst-fphex-wide.c: Adjust.
14083 2012-03-07  Marek Polacek  <polacek@redhat.com>
14085         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
14087 2012-03-08  Marek Polacek  <polacek@redhat.com>
14089         [BZ #13806]
14090         * stdio-common/Makefile (tests): Add tst-fphex-wide.
14091         * stdio-common/tst-fphex.c: Define a few macros to make the
14092         test reusable.  Use them.
14093         * stdio-common/tst-fphex-wide.c: New file.
14095 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
14097         [BZ #6911]
14098         * manual/macros.texi (gnusystems): New macro.
14099         (nongnusystems): Likewise.
14100         (gnulinuxhurdsystems): Likewise.
14101         (gnuhurdsystems): Likewise..
14102         (gnulinuxsystems): Likewise.
14103         * manual/charset.texi: Use new macros or @theglibc{} to refer to
14104         variants of the GNU system, not "GNU system".
14105         * manual/conf.texi: Likewise.
14106         * manual/errno.texi: Likewise.  Update example of errno macro
14107         expansion.
14108         * manual/filesys.texi: Likewise.
14109         (getumask): Document as specific to GNU/Hurd.
14110         * manual/install.texi: Likewise.  Reword some references to
14111         GNU/Linux.
14112         * manual/intro.texi: Likewise.
14113         * manual/io.texi: Likewise.
14114         (File Name Portability): Detail which constraints are inapplicable
14115         to all GNU systems and which are only inapplicable to GNU/Hurd.
14116         * manual/job.texi: Likewise.
14117         * manual/llio.texi: Likewise.
14118         (O_NOCTTY): Document as present on GNU/Linux.
14119         * manual/maint.texi: Likewise.
14120         * manual/memory.texi: Likewise.
14121         * manual/pattern.texi: Likewise.
14122         * manual/pipe.texi: Likewise.
14123         * manual/process.texi: Likewise.
14124         * manual/resource.texi: Likewise.
14125         (RUSAGE_CHILDREN): Remove statement about specifying a particular
14126         child on GNU/Hurd.
14127         * manual/setjmp.texi: Likewise.
14128         * manual/signal.texi: Likewise.
14129         * manual/startup.texi: Likewise.
14130         * manual/stdio.texi: Likewise.
14131         * manual/terminal.texi: Likewise.
14132         (ONLCR): Document as POSIX.
14133         (OXTABS): Document availability on GNU/Linux as XTABS.
14134         (ONOEOT): Document availability separately from other bits.
14135         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
14136         * manual/time.texi: Likewise.
14137         * manual/users.texi: Likewise.
14138         * INSTALL: Regenerated.
14139         * sysdeps/gnu/errlist.c: Regenerated.
14141         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
14142         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
14143         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
14144         puts.
14145         * configure: Regenerated.
14147 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
14149         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
14150         default includes instead of AC_HEADER_CHECK.
14151         * sysdeps/i386/configure: Regenerated.
14153         [BZ #10716]
14154         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
14155         * math/s_cacoshf.c (__cacoshf): Likewise.
14156         * math/s_cacoshl.c (__cacoshl): Likewise.
14157         * math/s_casinh.c (__casinh): Set signs of result from argument.
14158         * math/s_casinhf.c (__casinhf): Likewise.
14159         * math/s_casinhl.c (__casinhl): Likewise.
14160         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
14161         (casinh_test): Add more tests.
14162         * sysdeps/i386/fpu/libm-test-ulps: Update.
14163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14165 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
14167         * po/zh_TW.po: Update from translation team.
14169         * login/Makefile (distribute): Remove variable.
14170         * catgets/Makefile: Likewise.
14171         * mach/Makefile: Likewise.
14172         * malloc/Makefile: Likewise.
14173         * misc/Makefile: Likewise.
14174         * iconv/Makefile: Likewise.
14175         * nscd/Makefile: Likewise.
14176         * hurd/Makefile: Likewise.
14177         * manual/Makefile: Likewise.
14178         * locale/Makefile: Likewise.
14179         * intl/Makefile: Likewise.
14180         * conform/Makefile: Likewise.
14181         * nss/Makefile: Likewise.
14182         * time/Makefile: Likewise.
14183         * soft-fp/Makefile: Likewise.
14184         * dirent/Makefile: Likewise.
14185         * gmon/Makefile: Likewise.
14186         * po/Makefile: Likewise.
14187         * rt/Makefile: Likewise.
14188         * socket/Makefile: Likewise.
14189         * math/Makefile: Likewise.
14190         * signal/Makefile: Likewise.
14191         * debug/Makefile: Likewise.
14192         * elf/Makefile: Likewise.
14193         * timezone/Makefile: Likewise.
14194         * stdlib/Makefile: Likewise.
14195         * iconvdata/Makefile: Likewise.
14196         * sunrpc/Makefile: Likewise.
14197         * io/Makefile: Likewise.
14198         * argp/Makefile: Likewise.
14199         * inet/Makefile: Likewise.
14200         * hesiod/Makefile: Likewise.
14201         * grp/Makefile: Likewise.
14202         * csu/Makefile: Likewise.
14203         * wctype/Makefile: Likewise.
14204         * crypt/Makefile: Likewise.
14205         * libio/Makefile: Likewise.
14206         * string/Makefile: Likewise.
14207         * nis/Makefile: Likewise.
14208         * resolv/Makefile: Likewise.
14209         * stdio-common/Makefile: Likewise.
14210         * wcsmbs/Makefile: Likewise.
14211         * dlfcn/Makefile: Likewise.
14212         * posix/Makefile: Likewise.
14214         [BZ #6959]
14215         * timezone/Makefile: Don't install timezone files, just the programs
14216         and scripts.
14218 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
14220         * nss/databases.def: Add missing gshadow entry.
14222         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
14224 2012-03-06  Marek Polacek  <polacek@redhat.com>
14226         [BZ #13726]
14227         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
14228         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14229         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
14230         * stdio-common/tst-long-dbl-fphex.c: New file.
14232 2012-03-06  David S. Miller  <davem@davemloft.net>
14234         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14235         (set_obp_int): New function.
14236         (get_obp_int): New function.
14237         (__get_clockfreq_via_dev_openprom): Likewise.
14238         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
14239         Avoid unused variable warnings on 'val' and use builtin_expect.
14240         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
14241         __builtin_expect.
14242         (INLINE_CLONE_SYSCALL): Likewise.
14244 2012-03-05  David S. Miller  <davem@davemloft.net>
14246         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14248 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
14250         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14252         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
14253         only for |x| >= 40.
14254         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14256 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
14258         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
14259         Replace gettimeofday with __vdso_gettimeofday.
14261         * sysdeps/unix/sysv/linux/x86_64/init-first.c
14262         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
14263         __vdso_clock_gettime and __vdso_getcpu.
14265         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
14266         time with __vdso_time.
14268 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
14270         * manual/lang.texi (size_t): Note types to which size_t may be
14271         equivalent with the GNU C Library, but do not describe when
14272         differences between them are significant.
14274 2012-03-05  Andreas Jaeger  <aj@suse.de>
14276         * sysdeps/i386/fpu/libm-test-ulps: Update.
14278 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
14280         [BZ #3976]
14281         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
14282         (__ieee754_pow): Save and restore rounding mode and use
14283         round-to-nearest for main computations.
14284         * math/libm-test.inc (pow_test_tonearest): New function.
14285         (pow_test_towardzero): Likewise.
14286         (pow_test_downward): Likewise.
14287         (pow_test_upward): Likewise.
14288         (main): Call the new functions.
14289         * sysdeps/i386/fpu/libm-test-ulps: Update.
14290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14292         [BZ #3976]
14293         * math/libm-test.inc (cosh_test_tonearest): New function.
14294         (cosh_test_towardzero): Likewise.
14295         (cosh_test_downward): Likewise.
14296         (cosh_test_upward): Likewise.
14297         (sinh_test_tonearest): Likewise.
14298         (sinh_test_towardzero): Likewise.
14299         (sinh_test_downward): Likewise.
14300         (sinh_test_upward): Likewise.
14301         (main): Call the new functions.
14302         * sysdeps/i386/fpu/libm-test-ulps: Update.
14303         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14305 2012-03-05  Tom de Vries  <tom@codesourcery.com>
14307         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
14308         default stack guard is set in last bytes.
14309         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
14311 2012-03-05  Kees Cook  <keescook@chromium.org>
14313         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
14315         [BZ #13656]
14316         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
14317         possibly allocate from heap instead of stack.
14318         * stdio-common/bug-vfprintf-nargs.c: New file.
14319         * stdio-common/Makefile (tests): Add nargs overflow test.
14321 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
14323         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14325 2012-03-03  Marek Polacek  <polacek@redhat.com>
14327         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
14328         * math/math_private.h: Likewise.
14329         * stdlib/tst-strtod.c: Likewise.
14330         * sysdeps/i386/i486/bits/atomic.h: Likewise.
14331         * sysdeps/x86_64/bits/atomic.h: Likewise.
14333 2012-03-02  David S. Miller  <davem@davemloft.net>
14335         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
14336         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
14337         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
14338         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
14339         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
14340         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
14341         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
14342         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
14344 2012-03-02  Roland McGrath  <roland@hack.frob.com>
14346         [BZ #13792]
14347         * manual/examples/README: New file, says the example source files
14348         can be used under GPL>=2.
14349         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
14350         line containing just "*/".
14351         * manual/examples/add.c: Add copyright header (GPL>=2).
14352         * manual/examples/argp-ex1.c: Likewise.
14353         * manual/examples/argp-ex2.c: Likewise.
14354         * manual/examples/argp-ex3.c: Likewise.
14355         * manual/examples/argp-ex4.c: Likewise.
14356         * manual/examples/atexit.c: Likewise.
14357         * manual/examples/db.c: Likewise.
14358         * manual/examples/dir.c: Likewise.
14359         * manual/examples/dir2.c: Likewise.
14360         * manual/examples/execinfo.c: Likewise.
14361         * manual/examples/filecli.c: Likewise.
14362         * manual/examples/filesrv.c: Likewise.
14363         * manual/examples/fmtmsgexpl.c: Likewise.
14364         * manual/examples/genpass.c: Likewise.
14365         * manual/examples/inetcli.c: Likewise.
14366         * manual/examples/inetsrv.c: Likewise.
14367         * manual/examples/isockad.c: Likewise.
14368         * manual/examples/longopt.c: Likewise.
14369         * manual/examples/memopen.c: Likewise.
14370         * manual/examples/memstrm.c: Likewise.
14371         * manual/examples/mkfsock.c: Likewise.
14372         * manual/examples/mkisock.c: Likewise.
14373         * manual/examples/mygetpass.c: Likewise.
14374         * manual/examples/pipe.c: Likewise.
14375         * manual/examples/popen.c: Likewise.
14376         * manual/examples/rprintf.c: Likewise.
14377         * manual/examples/search.c: Likewise.
14378         * manual/examples/select.c: Likewise.
14379         * manual/examples/setjmp.c: Likewise.
14380         * manual/examples/sigh1.c: Likewise.
14381         * manual/examples/sigusr.c: Likewise.
14382         * manual/examples/stpcpy.c: Likewise.
14383         * manual/examples/strdupa.c: Likewise.
14384         * manual/examples/strftim.c: Likewise.
14385         * manual/examples/strncat.c: Likewise.
14386         * manual/examples/subopt.c: Likewise.
14387         * manual/examples/swapcontext.c: Likewise.
14388         * manual/examples/termios.c: Likewise.
14389         * manual/examples/testopt.c: Likewise.
14390         * manual/examples/testpass.c: Likewise.
14391         * manual/examples/timeval_subtract.c: Likewise.
14393         [BZ #13792]
14394         * manual/time.texi (Elapsed Time): Move timeval_subtract example
14395         function to ...
14396         * manual/timeval_subtract.c.texi: ... here, new file.
14398 2012-03-02  David S. Miller  <davem@davemloft.net>
14400         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
14402 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
14404         [BZ #3976]
14405         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
14406         (__sin): Save and restore rounding mode and use round-to-nearest
14407         for all computations.
14408         (__cos): Save and restore rounding mode and use round-to-nearest
14409         for all computations.
14410         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
14411         <fenv.h>.
14412         (tan): Save and restore rounding mode and use round-to-nearest for
14413         all computations.
14414         * math/libm-test.inc (cos_test_tonearest): New function.
14415         (cos_test_towardzero): Likewise.
14416         (cos_test_downward): Likewise.
14417         (cos_test_upward): Likewise.
14418         (sin_test_tonearest): Likewise.
14419         (sin_test_towardzero): Likewise.
14420         (sin_test_downward): Likewise.
14421         (sin_test_upward): Likewise.
14422         (tan_test_tonearest): Likewise.
14423         (tan_test_towardzero): Likewise.
14424         (tan_test_downward): Likewise.
14425         (tan_test_upward): Likewise.
14426         (main): Call the new functions.
14427         * sysdeps/i386/fpu/libm-test-ulps: Update.
14428         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14430         [BZ #10135]
14431         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
14432         small n, then large n, before computing and testing k+n.
14433         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14434         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
14435         Likewise.
14436         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
14437         Likewise.
14438         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
14439         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
14440         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
14441         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
14442         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14443         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14444         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
14445         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
14446         * math/libm-test.inc (scalbn_test): Add more tests.
14447         (scalbln_test): Likewise.
14449         * manual/filesys.texi (mode_t): Describe constraints on size and
14450         signedness, not exact equivalence to a particular type.
14451         (ino_t): Likewise.
14452         (ino64_t): Likewise.
14453         (dev_t): Likewise.
14454         (nlink_t): Likewise.
14455         (blkcnt_t): Likewise.
14456         (blkcnt64_t): Likewise.
14457         * manual/llio.texi (off_t): Likewise.
14459         [BZ #3976]
14460         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
14461         (__ieee754_exp): Save and restore rounding mode and use
14462         round-to-nearest for all computations.
14463         * math/libm-test.inc (exp_test_tonearest): New function.
14464         (exp_test_towardzero): Likewise.
14465         (exp_test_downward): Likewise.
14466         (exp_test_upward): Likewise.
14467         (main): Call the new functions.
14468         * sysdeps/i386/fpu/libm-test-ulps: Update.
14469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14471 2012-03-01  Chris Demetriou  <cgd@google.com>
14473         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
14474         have predictable order.
14476 2012-03-01  David S. Miller  <davem@davemloft.net>
14478         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
14480         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
14481         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
14482         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
14483         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
14485         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
14486         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
14487         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
14488         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
14489         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
14490         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
14491         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
14492         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
14493         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
14495         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14497         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
14498         * sysdeps/sparc/fpu/libm-test-ulps: to here.
14499         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
14501         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
14502         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14503         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14504         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
14505         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
14506         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
14507         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
14508         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14509         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14510         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
14511         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
14512         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14513         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14514         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14515         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14516         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14517         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
14518         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
14519         * sysdeps/sparc/elf/configure: Regenerated.
14521 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
14523         * configure.in (AS, LD): Require binutils 2.20 or later.
14524         * configure: Regenerated.
14525         * manual/install.texi (Tools for Compilation): Give binutils 2.20
14526         as required minimum version.
14527         * INSTALL: Regenerated.
14529         [BZ #2541]
14530         [BZ #4108]
14531         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
14532         before squaring exponent.
14533         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
14534         bottom long double and 27 bits of top long double before squaring
14535         exponent.
14536         * math/libm-test.inc (erfc_test): Add more tests.
14537         * sysdeps/i386/fpu/libm-test-ulps: Update.
14538         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14541 2012-03-01  Kai Tietz  <ktietz@redhat.com>
14543         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
14544         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
14545         containing bit-fields.
14546         * soft-fp/extended.h (_FP_UNION_E): Likewise.
14547         * soft-fp/single.h (_FP_UNION_S): Likewise.
14548         * soft-fp/double.h (_FP_UNION_D): Likewise.
14550 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
14552         [BZ #13786]
14553         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
14554         not include ../strcmp.S.
14555         [USE_AS_STRNCASECMP_L]: Likewise.
14556         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
14557         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
14558         * sysdeps/i386/i686/multiarch/strncase_l-c.c
14559         (__strncasecmp_l_ia32): Define as alias to
14560         __strncasecmp_l_nonascii.
14562         [BZ #5794]
14563         * math/libm-test.inc (expm1_test): Add test for bug 5794.
14564         * sysdeps/i386/fpu/libm-test-ulps: Update.
14565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14567         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
14568         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14570 2012-02-29  Jeff Law  <law@redhat.com>
14572         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
14573         out of bounds read.
14575 2012-02-29  Marek Polacek  <polacek@redhat.com>
14577         [BZ #13706]
14578         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
14579         * elf/Makefile: Add rules to run tst-unused-dep.out.
14581 2012-02-28  David S. Miller  <davem@davemloft.net>
14583         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
14584         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
14585         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
14586         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
14587         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
14588         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
14590 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
14592         * math/libm-test.inc (llround_test): Move one test from
14593         lround_test.  Use TEST_f_L in moved test.
14594         (lround_test): Move misplaced test to llround_test.  Add testcase
14595         from bug 2561.
14597 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
14599         * sysdeps/x86_64/fpu/e_expf.S: New file.
14600         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
14602 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
14604         [BZ #13637]
14605         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
14606         of remain_len that may cause incomplete multi-byte character and
14607         false match.
14608         * posix/bug-regex33.c: New file.
14609         * posix/Makefile (tests): Add bug-regex33.
14611 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
14613         * manual/macros.texi: New file.
14614         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
14615         * manual/libc.texinfo: Include macros.texi.
14616         * manual/creatute.texi: Likewise.
14617         * manual/install.texi: Likewise.
14618         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
14619         @glibcadj{} in references to the GNU C Library.
14620         * manual/charset.texi: Likewise.
14621         * manual/conf.texi: Likewise.
14622         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
14623         when not using those macros.
14624         * manual/creature.texi: Likewise.
14625         * manual/crypt.texi: Likewise.
14626         * manual/errno.texi: Likewise.
14627         * manual/filesys.texi: Likewise.
14628         * manual/header.texi: Likewise.
14629         * manual/install.texi: Likewise.
14630         * manual/intro.texi: Likewise.
14631         * manual/io.texi: Likewise.
14632         * manual/job.texi: Likewise.
14633         * manual/lang.texi: Likewise.
14634         * manual/libc.texiinfo: Likewise.
14635         * manual/llio.texi: Likewise.
14636         * manual/locale.texi: Likewise.
14637         * manual/maint.texi: Likewise.
14638         * manual/math.texi: Likewise.
14639         * manual/memory.texi: Likewise.
14640         * manual/message.texi: Likewise.
14641         * manual/nss.texi: Likewise.
14642         * manual/pattern.texi: Likewise.
14643         * manual/process.texi: Likewise.
14644         * manual/resource.texi: Likewise.
14645         * manual/search.texi: Likewise.
14646         * manual/setjmp.texi: Likewise.
14647         * manual/signal.texi: Likewise.
14648         * manual/socket.texi: Likewise.
14649         * manual/startup.texi: Likewise.
14650         * manual/stdio.texi: Likewise.
14651         * manual/string.texi: Likewise.
14652         * manual/sysinfo.texi: Likewise.
14653         * manual/syslog.texi: Likewise.
14654         * manual/terminal.texi: Likewise.
14655         * manual/time.texi: Likewise.
14656         * manual/users.texi: Likewise.
14657         * INSTALL: Regenerated.
14658         * NOTES: Regenerated.
14659         * sysdeps/gnu/errlist.c: Regenerated.
14661 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
14663         * include/dirent.h: Include <dirstream.h> before
14664         <dirent/dirent.h>.
14666 2012-02-28  David S. Miller  <davem@davemloft.net>
14668         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
14669         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
14670         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
14671         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
14673 2012-02-27  David S. Miller  <davem@davemloft.net>
14675         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
14676         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
14677         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
14678         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
14680         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
14681         frame pointer instead of stack pointer relative arg slot.
14682         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14683         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14684         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14686 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
14688         [BZ #3992]
14689         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
14691 2012-02-27  David S. Miller  <davem@davemloft.net>
14693         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
14694         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14695         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14696         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
14697         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14698         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14699         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
14700         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
14702 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
14704         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
14705         later.  Allow versions 5-9.
14706         * configure: Regenerated.
14707         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
14708         required minimum version and 4.6 as recommended version.  Do not
14709         mention bugs in GCC 2.7 and 2.8.
14710         * INSTALL: Regenerated.
14712 2012-02-27  David S. Miller  <davem@davemloft.net>
14714         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
14715         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
14716         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
14717         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
14718         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
14719         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
14720         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
14721         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
14723         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
14724         manipulate bits before adding and subtracting TWO112[sx].
14725         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14727 2012-02-27  Roland McGrath  <roland@hack.frob.com>
14729         [BZ #13775]
14730         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
14731         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
14732         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
14733         being in POSIX, because they are in 1003.1-2008.
14735         * rt/tst-aio.c: Include <fcntl.h>.
14736         * rt/tst-aio7.c: Likewise.
14737         * rt/tst-aio64.c: Likewise.
14739         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
14741 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
14743         * manual/install.texi (--with-headers): Describe headers as
14744         interface headers, not private headers.
14745         (Specific advice for GNU/Linux systems): Describe use of headers
14746         from "make headers_install", not private headers from older
14747         kernels.
14748         * INSTALL: Regenerated.
14749         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
14750         Change to 2.6.19.
14751         * sysdeps/unix/sysv/linux/configure: Regenerated.
14753         * manual/llio.texi (fclean): Remove documentation.
14755         * manual/Makefile (libc-texi-generated): New variable.  Include
14756         version.texi.
14757         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
14758         $(libc-texi-generated), not duplicated list of files.
14759         (version.texi, stamp-version): New rules.
14760         (realclean): Remove $(libc-texi-generated), not individual files
14761         from that list.  Do not remove dir-add.texinfo.
14762         * manual/libc.texinfo: Comment out uses of edition numbers and
14763         references to printed manual.  Remove last-updated dates.
14764         (EDITION): Comment out.
14765         (ISBN): Likewise.
14766         (VERSION, UPDATED): Remove.
14767         (version.texi): Include.
14769 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
14771         * sysdeps/posix/spawni.c: Include <signal.h>.
14772         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
14773         * sysdeps/pthread/aio_fsync.c: Likewise.
14775 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
14777         * conform/Makefile (tests): Run only when not cross-compiling and
14778         when fast-check is not defined.
14780         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
14781         * conform/data/limits.h-data: Fixes for POSIX2008.
14782         * conform/run-conformtest.sh: Run all tests.
14783         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
14784         headers.
14785         * include/bits/dlfcn.h: Likewise.
14786         * include/langinfo.h: Likewise.
14787         * include/monetary.h: Likewise.
14788         * include/sys/poll.h: Likewise.
14790         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
14791         for __USE_GNU.
14792         * posix/spawn.h: Define __need_sigset_t.
14793         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
14794         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
14795         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
14796         to get sigevent_t only.
14797         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
14798         only for __USE_GNU.
14799         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14800         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14801         process_vm_writev only for __USE_GNU.
14802         * termios/termios.h: Declare tcgetsid also for POSIX2008.
14804         * conform/Makefile: For now ignore errors from run-conformtest.
14805         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
14806         POSIX to avoid namespace pollution.  Don't prepend headers.
14807         * conform/data/aio.h-data: Fixes for POSIX testing.
14808         * conform/data/fcntl.h-data: Likewise.
14809         * conform/data/glob.h-data: Likewise.
14810         * conform/data/grp.h-data: Likewise.
14811         * conform/data/pthread.h-data: Likewise.
14812         * conform/data/pwd.h-data: Likewise.
14813         * conform/data/signal.h-data: Likewise.
14814         * conform/data/spawn.h-data: Likewise.
14815         * conform/data/stdio.h-data: Likewise.
14816         * conform/data/stdlib.h-data: Likewise.
14817         * conform/data/stropts.h-data: Likewise.
14818         * conform/data/sys/mman.h-data: Likewise.
14819         * conform/data/sys/stat.h-data: Likewise.
14820         * conform/data/sys/types.h-data: Likewise.
14821         * conform/data/sys/wait.h-data: Likewise.
14822         * conform/data/time.h-data: Likewise.
14823         * conform/data/unistd.h-data: Likewise.
14824         * conform/data/utime.h-data: Likewise.
14826         * io/sys/stat.h: fchmod was always in POSIX.
14827         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
14828         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
14829         * rt/aio.h: Define __need_timespec before including <time.h>.
14830         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
14831         struct.  Add forward declaration of pthread_attr_t and use it in
14832         sigevent.
14833         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14834         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14835         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
14836         always remove CLK_TCK definition.
14838 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
14840         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
14842 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
14844         * conform/run-conformtest.sh: New file.
14845         * conform/Makefile: Run run-conformtest for tests.
14846         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
14847         support.
14849         * conform/data/uchar.h-data: New file.
14850         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
14851         * conform/data/arpa/inet.h-data: Likewise.
14852         * conform/data/assert.h-data: Likewise.
14853         * conform/data/complex.h-data: Likewise.
14854         * conform/data/cpio.h-data: Likewise.
14855         * conform/data/ctype.h-data: Likewise.
14856         * conform/data/dirent.h-data: Likewise.
14857         * conform/data/dlfcn.h-data: Likewise.
14858         * conform/data/errno.h-data: Likewise.
14859         * conform/data/fcntl.h-data: Likewise.
14860         * conform/data/float.h-data: Likewise.
14861         * conform/data/fmtmsg.h-data: Likewise.
14862         * conform/data/fnmatch.h-data: Likewise.
14863         * conform/data/ftw.h-data: Likewise.
14864         * conform/data/glob.h-data: Likewise.
14865         * conform/data/grp.h-data: Likewise.
14866         * conform/data/iconv.h-data: Likewise.
14867         * conform/data/inttypes.h-data: Likewise.
14868         * conform/data/langinfo.h-data: Likewise.
14869         * conform/data/libgen.h-data: Likewise.
14870         * conform/data/limits.h-data: Likewise.
14871         * conform/data/locale.h-data: Likewise.
14872         * conform/data/math.h-data: Likewise.
14873         * conform/data/monetary.h-data: Likewise.
14874         * conform/data/mqueue.h-data: Likewise.
14875         * conform/data/ndbm.h-data: Likewise.
14876         * conform/data/net/if.h-data: Likewise.
14877         * conform/data/netdb.h-data: Likewise.
14878         * conform/data/netinet/in.h-data: Likewise.
14879         * conform/data/nl_types.h-data: Likewise.
14880         * conform/data/poll.h-data: Likewise.
14881         * conform/data/pthread.h-data: Likewise.
14882         * conform/data/pwd.h-data: Likewise.
14883         * conform/data/regex.h-data: Likewise.
14884         * conform/data/sched.h-data: Likewise.
14885         * conform/data/search.h-data: Likewise.
14886         * conform/data/semaphore.h-data: Likewise.
14887         * conform/data/setjmp.h-data: Likewise.
14888         * conform/data/signal.h-data: Likewise.
14889         * conform/data/spawn.h-data: Likewise.
14890         * conform/data/stdarg.h-data: Likewise.
14891         * conform/data/stdio.h-data: Likewise.
14892         * conform/data/stdlib.h-data: Likewise.
14893         * conform/data/string.h-data: Likewise.
14894         * conform/data/strings.h-data: Likewise.
14895         * conform/data/stropts.h-data: Likewise.
14896         * conform/data/sys/ipc.h-data: Likewise.
14897         * conform/data/sys/mman.h-data: Likewise.
14898         * conform/data/sys/msg.h-data: Likewise.
14899         * conform/data/sys/resource.h-data: Likewise.
14900         * conform/data/sys/select.h-data: Likewise.
14901         * conform/data/sys/sem.h-data: Likewise.
14902         * conform/data/sys/shm.h-data: Likewise.
14903         * conform/data/sys/socket.h-data: Likewise.
14904         * conform/data/sys/stat.h-data: Likewise.
14905         * conform/data/sys/statvfs.h-data: Likewise.
14906         * conform/data/sys/time.h-data: Likewise.
14907         * conform/data/sys/timeb.h-data: Likewise.
14908         * conform/data/sys/times.h-data: Likewise.
14909         * conform/data/sys/types.h-data: Likewise.
14910         * conform/data/sys/uio.h-data: Likewise.
14911         * conform/data/sys/un.h-data: Likewise.
14912         * conform/data/sys/utsname.h-data: Likewise.
14913         * conform/data/sys/wait.h-data: Likewise.
14914         * conform/data/syslog.h-data: Likewise.
14915         * conform/data/tar.h-data: Likewise.
14916         * conform/data/termios.h-data: Likewise.
14917         * conform/data/utime.h-data: Likewise.
14918         * conform/data/utmpx.h-data: Likewise.
14919         * conform/data/varargs.h-data: Likewise.
14920         * conform/data/wchar.h-data: Likewise.
14921         * conform/data/wctype.h-data: Likewise.
14922         * conform/data/wordexp.h-data: Likewise.
14924         * include/stropts.h: New file.
14925         * include/uchar.h: New file.
14926         * include/aio.h: Changes to allow conformtest.pl to use the headers.
14927         * include/assert.h: Likewise.
14928         * include/ctype.h: Likewise.
14929         * include/dirent.h: Likewise.
14930         * include/dlfcn.h: Likewise.
14931         * include/fcntl.h: Likewise.
14932         * include/fnmatch.h: Likewise.
14933         * include/glob.h: Likewise.
14934         * include/grp.h: Likewise.
14935         * include/libio.h: Likewise.
14936         * include/locale.h: Likewise.
14937         * include/math.h: Likewise.
14938         * include/net/if.h: Likewise.
14939         * include/netdb.h: Likewise.
14940         * include/netinet/in.h: Likewise.
14941         * include/pthread.h: Likewise.
14942         * include/pwd.h: Likewise.
14943         * include/regex.h: Likewise.
14944         * include/sched.h: Likewise.
14945         * include/search.h: Likewise.
14946         * include/setjmp.h: Likewise.
14947         * include/signal.h: Likewise.
14948         * include/stdio.h: Likewise.
14949         * include/stdlib.h: Likewise.
14950         * include/string.h: Likewise.
14951         * include/sys/cdefs.h: Likewise.
14952         * include/sys/mman.h: Likewise.
14953         * include/sys/msg.h: Likewise.
14954         * include/sys/resource.h: Likewise.
14955         * include/sys/select.h: Likewise.
14956         * include/sys/socket.h: Likewise.
14957         * include/sys/stat.h: Likewise.
14958         * include/sys/statvfs.h: Likewise.
14959         * include/sys/time.h: Likewise.
14960         * include/sys/times.h: Likewise.
14961         * include/sys/uio.h: Likewise.
14962         * include/sys/utsname.h: Likewise.
14963         * include/sys/wait.h: Likewise.
14964         * include/termios.h: Likewise.
14965         * include/time.h: Likewise.
14966         * include/ulimit.h: Likewise.
14967         * include/unistd.h: Likewise.
14968         * include/utime.h: Likewise.
14969         * include/wchar.h: Likewise.
14970         * include/wctype.h: Likewise.
14971         * include/wordexp.h: Likewise.
14973         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
14975         * time/time.h: TIME_UTC must be a macro.
14976         Make timespec_get available for ISO C11 only as well.
14978 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
14980         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
14981         Reported by Peng Haitao <penght@cn.fujitsu.com>.
14983 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
14985         * configure.in: Use -o not -a in test for unsupported multi-arch.
14987 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
14989         * manual/texinfo.tex: Update to version 2012-01-19.16.
14991 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
14993         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
14995 2012-02-24  Roland McGrath  <roland@hack.frob.com>
14997         [BZ #13738]
14998         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
14999         * manual/fdl-1.3.texi: New file.
15000         * manual/fdl-1.1.texi: File removed.
15002         [BZ #13738]
15003         * manual/libc.texinfo (FDL_VERSION): New @set.
15004         Use it for mention of FDL in cover text.
15005         (Documentation License): Use it in @include file name.
15007 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
15008             Roland McGrath  <roland@hack.frob.com>
15010         [BZ #5461]
15011         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
15012         not LONG_LONG_MAX and LONG_LONG_MIN.
15013         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
15014         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
15015         name.
15016         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
15018 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
15020         [BZ #2547]
15021         [BZ #11365]
15022         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
15023         manipulate bits before adding and subtracting TWO23[sx].
15024         * math/libm-test.inc (nearbyint_test): Add more tests.
15026 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
15028         [BZ #2548]
15029         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
15030         bits before adding and subtracting TWO23[sx].
15031         * math/libm-test.inc (rint_test): Add more tests.
15032         (rint_test_tonearest): Likewise.
15033         (rint_test_towardzero): Likewise.
15034         (rint_test_downward): Likewise.
15035         (rint_test_upward: Likewise.
15037 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
15039         [BZ #10110]
15040         * include/stdc-predef.h: New file.  Extracted from features.h.
15041         * include/features.h: Include stdc-predef.h.
15042         * Makefile (headers): Add stdc-predef.h.
15043         * CONFORMANCE (Compiler limitations): Update.
15045 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
15047         * manual/libc.texinfo (VERSION, UPDATED): Revert.
15049 2012-02-21  David S. Miller  <davem@davemloft.net>
15051         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
15052         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15054 2012-02-20  David S. Miller  <davem@davemloft.net>
15056         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
15057         using a normal save/restore sequence, rather than allocating a
15058         dummy stack frame just to store a frame pointer and restore.
15059         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15061 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
15063         * manual/install.texi: Fix stray word in line-wrapped comment.
15065 2012-02-20  David S. Miller  <davem@davemloft.net>
15067         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
15068         both binutils and gcc support GOTDATA.
15070         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
15071         "rd %pc" in the PIC register setup sequences.
15073         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
15074         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
15075         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15076         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
15077         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15078         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15079         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15080         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15081         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
15082         (SYSCALL_ERROR_HANDLER): Likewise.
15083         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15084         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15085         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
15086         (SYSCALL_ERROR_HANDLER): Likewise.
15088         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
15089         (HAVE_GCC_GOTDATA): New.
15090         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
15091         relocation support in both binutils and gcc.
15092         * sysdeps/sparc/elf/configure: Regenerate.
15094         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
15095         * sysdeps/sparc/sparc32/elf/configure: Delete.
15096         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
15097         * sysdeps/sparc/sparc64/elf/configure: Delete.
15098         * sysdeps/sparc/elf/configure.in: New file.
15099         * sysdeps/sparc/elf/configure: Generate.
15101         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
15102         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
15103         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15104         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
15105         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
15107 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
15109         * manual/install.texi: Do not mention specific glibc version
15110         numbers.
15111         * manual/libc.texinfo (VERSION, UPDATED): Update.
15112         (@copying): Use @copyright{} and range of years.
15114 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
15116         [BZ #13695]
15117         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
15118         [crti.S not in sysdirs] (generated): Do not append.
15119         [crti.S not in sysdirs] (omit-deps): Likewise.
15120         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
15121         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
15122         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
15123         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
15124         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
15125         Likewise.
15126         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
15127         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
15128         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
15129         * csu/defs.awk: Remove file.
15130         * sysdeps/generic/initfini.c: Likewise.
15131         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
15132         variable.
15133         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
15134         Likewise.
15136 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
15138         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
15139         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
15140         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
15141         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
15142         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15143         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
15144         <bits/epoll.h>.
15145         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
15146         (__EPOLL_PACKED): Define to empty if not defined by
15147         <bits/epoll.h>.
15148         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
15149         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15150         bits/epoll.h.
15152 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
15154         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
15155         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
15156         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
15157         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
15158         <bits/timerfd.h>.
15159         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
15160         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15161         bits/timerfd.h.
15163 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
15165         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
15166         in C locale.
15167         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15168         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15169         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
15170         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15172 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
15174         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15175         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15177 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
15179         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
15180         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
15181         defined.
15182         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
15183         Likewise.
15184         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
15185         entry for 2.16.
15187 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
15189         * math/w_acos.c: Use non-signaling floating-point comparisons.
15190         * math/w_acosf.c: Likewise.
15191         * math/w_acosh.c: Likewise.
15192         * math/w_acoshf.c: Likewise.
15193         * math/w_acoshl.c: Likewise.
15194         * math/w_acosl.c: Likewise.
15195         * math/w_asin.c: Likewise.
15196         * math/w_asinf.c: Likewise.
15197         * math/w_asinl.c: Likewise.
15198         * math/w_atanh.c: Likewise.
15199         * math/w_atanhf.c: Likewise.
15200         * math/w_atanhl.c: Likewise.
15201         * math/w_exp2.c: Likewise.
15202         * math/w_exp2f.c: Likewise.
15203         * math/w_exp2l.c: Likewise.
15204         * math/w_j0.c: Likewise.
15205         * math/w_j0f.c: Likewise.
15206         * math/w_j0l.c: Likewise.
15207         * math/w_j1.c: Likewise.
15208         * math/w_j1f.c: Likewise.
15209         * math/w_j1l.c: Likewise.
15210         * math/w_jn.c: Likewise.
15211         * math/w_jnf.c: Likewise.
15212         * math/w_log.c: Likewise.
15213         * math/w_log10.c: Likewise.
15214         * math/w_log10f.c: Likewise.
15215         * math/w_log10l.c: Likewise.
15216         * math/w_log2.c: Likewise.
15217         * math/w_log2f.c: Likewise.
15218         * math/w_log2l.c: Likewise.
15219         * math/w_logf.c: Likewise.
15220         * math/w_logl.c: Likewise.
15221         * math/w_sqrt.c: Likewise.
15222         * math/w_sqrtf.c: Likewise.
15223         * math/w_sqrtl.c: Likewise.
15224         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15225         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
15226         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15227         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15228         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15230 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
15232         [BZ #9739]
15233         * manual/string.texi (strnlen): Use correct parameter name in
15234         equivalent expression.
15236 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
15238         [BZ #11174]
15239         * manual/users.texi (seteuid): Consistently use neweuid for
15240         argument name.
15242 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
15244         [BZ #13704]
15245         * manual/nss.texi (Services in the NSS configuration): Correct
15246         list of services in example configuration file.
15248 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
15250         [BZ #11322]
15251         * manual/arith.texi: Remove statements about negative zero
15252         behaving identically to zero.
15254 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
15256         [BZ #5993]
15257         * manual/install.texi: Do not document upgrading from libc5.
15259 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
15261         [BZ #4596]
15262         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
15264 2012-02-18  David S. Miller  <davem@davemloft.net>
15266         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
15267         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
15268         %o7 across the call.
15269         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
15270         instead.
15271         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
15272         SETUP_PIC_REG_LEAF.
15273         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15274         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
15275         * sysdeps/sparc/crtn.S: Likewise.
15277 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
15279         * aout/Makefile: Remove.
15281 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
15283         [BZ #13058]
15284         * manual/examples/argp-ex1.c (main): Format definition in GNU
15285         style.
15286         * manual/examples/argp-ex2.c (main): Likewise.
15287         * manual/examples/argp-ex3.c (main): Likewise.
15288         * manual/examples/argp-ex4.c (main): Likewise.
15289         * manual/examples/longopt.c (main): Use new-style prototype
15290         definition.
15291         * manual/examples/strncat.c (main): Specify return type and use
15292         (void) for arguments.
15293         * manual/examples/subopt.c (main): Use char **argv argument.
15295 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
15297         [BZ #5077]
15298         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
15299         rounding modes.
15301 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
15303         [BZ #6907]
15304         * manual/string.texi (strchr): Change when strchrnul is
15305         recommended.
15307 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
15309         [BZ #174]
15310         * manual/locale.texi (setlocale): Document LOCPATH.
15312 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
15314         [BZ #10210]
15315         * manual/process.texi (execle): Move @dots{} before last argument.
15317 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
15319         [BZ #12047]
15320         * manual/charset.texi (Generic Charset Conversion): Fix typo
15321         (LC_TYPE -> LC_CTYPE).
15323 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
15325         [BZ #5805]
15326         * manual/arith.texi (scalbn): Use @var{} on parameter names.
15327         (scalbnf): Likewise.
15328         (scalbnl): Likewise.
15329         (scalbln): Likewise.
15330         (scalblnf): Likewise.
15331         (scalblnl): Likewise.
15332         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
15333         (vwarnx): Likewise.
15334         (verr): Likewise.
15335         (verrx): Likewise.
15336         * manual/filesys.texi (telldir): Use braces around return type.
15337         * manual/llio.texi (mmap): Add space after comma.
15338         (mmap64): Likewise.
15339         * manual/math.texi (jn): Use @var{} on parameter names.
15340         (jnf): Likewise.
15341         (jnl): Likewise.
15342         (yn): Likewise.
15343         (ynf): Likewise.
15344         (ynl): Likewise.
15345         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
15346         line.
15347         * manual/resource.texi (ulimit): Use @dots{} instead of literal
15348         "...".
15349         (sched_get_priority_min): Remove semicolon on @deftypefun line.
15350         (sched_get_priority_max): Likewise.
15351         * manual/signal.texi (sigvec): Add space after comma.
15352         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
15353         names.
15354         (if_indextoname): Likewise.
15355         (if_freenameindex): Likewise.
15356         (sendto): Use ',' instead of '.' in prototype.
15357         * manual/startup.texi (syscall): Use @dots{} instead of literal
15358         "...".
15359         * manual/stdio.texi (__fpending): Separate initial words of
15360         paragraph from @deftypefun line.
15361         * manual/syslog.texi (syslog): Use @dots{} instead of literal
15362         "...".
15363         (vsyslog): Use @var{} on parameter names.
15364         * manual/terminal.texi (stty): Use @var{} on parameter names.
15365         * manual/users.texi (getutmp): Use @var{} on parameter names.
15366         (getutmpx): Likewise.
15368 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
15370         [BZ #6884]
15371         * manual/stdio.texi (fopen): Fix typos in description of
15372         ",ccs=STRING".
15374 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
15376         [BZ #4026]
15377         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
15378         get clock_id definition.
15380 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
15382         [BZ #4822]
15383         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
15384         (madvise): Cast every argument to void on its own.
15386 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
15388         [BZ #9902]
15389         * manual/startup.texi (Exit Status): Fix typo.
15391 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
15393         [BZ #10140]
15394         * manual/examples/argp-ex1.c: Include <stdlib.h>.
15395         * manual/examples/argp-ex2.c: Likewise.
15396         * manual/examples/argp-ex3.c: Likewise.
15398 2012-02-16  Richard Henderson  <rth@redhat.com>
15400         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
15401         * sysdeps/s390/s390-32/initfini.c: Remove.
15402         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
15403         * sysdeps/s390/s390-64/initfini.c: Remove.
15405 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15407         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
15408         compiler output for sysdeps/generic/initfini.c.
15409         * sysdeps/sh/elf/initfini.c: Remove file.
15411 2012-02-16  David S. Miller  <davem@davemloft.net>
15413         [BZ #11494]
15414         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
15416         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
15417         * sysdeps/sparc/crti.S: New file.
15418         * sysdeps/sparc/crtn.S: New file.
15419         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
15420         * sysdeps/sparc/sparc64/Makefile: Likewise.
15422 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
15424         [BZ #3335]
15425         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
15427 2012-02-15  Roland McGrath  <roland@hack.frob.com>
15429         [BZ #4822]
15430         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
15432         * mach/devstream.c (cookie_io_functions_t): Macro removed.
15433         (write, read, close): Likewise.
15434         Patch by Aurelien Jarno <aurelien@aurel32.net>.
15436 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
15438         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
15439         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
15440         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
15441         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
15442         <bits/signalfd.h>.
15443         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
15444         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15445         bits/signalfd.h.
15447 2012-02-14  Marek Polacek  <polacek@redhat.com>
15449         * sysdeps/x86_64/crti.S: New file.
15450         * sysdeps/x86_64/crtn.S: New file.
15451         * sysdeps/x86_64/elf/initfini.c: Remove file.
15453 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
15455         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
15456         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
15457         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
15458         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
15459         <bits/inotify.h>.
15460         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
15461         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15462         bits/inotify.h.
15464 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
15466         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
15467         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
15468         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
15469         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
15470         <bits/eventfd.h>.
15471         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
15472         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15473         bits/eventfd.h.
15475 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
15477         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
15478         __feraiseexcept instead of feraiseexcept.
15480         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
15481         nanosleep invocations.
15482         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
15483         strings, and add error checking for a nanosleep invocations.
15485 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
15487         Replace FSF snail mail address with URLs, as per GNU coding standards.
15488         Most of the snail mail addresses were wrong anyway, and omitting
15489         them makes the source code easier to maintain.  Almost all of the
15490         changes are to license notices and to locale LC_IDENTIFICATION
15491         addresses, except for this one:
15492         * manual/libc.texinfo: In "Published by", give the FSF's URL,
15493         not its snail mail address.
15495 2012-02-09  Richard Henderson  <rth@twiddle.net>
15497         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
15498         of kernel-features.h.
15500         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
15502 2012-02-08  Marek Polacek  <polacek@redhat.com>
15504         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
15505         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
15506         * sysdeps/gnu/_G_config.h: Likewise.
15507         * sysdeps/generic/_G_config.h: Likewise.
15509 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
15511         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
15512         tests.
15513         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15515         * sysdeps/powerpc/powerpc32/crti.S: New file.
15516         * sysdeps/powerpc/powerpc32/crtn.S: New file.
15517         * sysdeps/powerpc/powerpc64/crti.S: New file.
15518         * sysdeps/powerpc/powerpc64/crtn.S: New file.
15520         * Makeconfig (have-initfini): Don't set.
15521         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
15522         * configure.in (nopic_initfini): Don't substitute.
15523         * config.h.in (HAVE_INITFINI): Don't #undef.
15524         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
15525         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
15527 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
15529         Support crti.S and crtn.S provided directly by architectures.
15530         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
15531         [crti.S in sysdirs] (omit-deps): Likewise.
15532         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
15533         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
15534         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
15535         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
15536         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
15537         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
15538         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
15539         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
15540         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
15541         compiler output for sysdeps/generic/initfini.c.
15542         * sysdeps/i386/elf/Makefile: Remove file.
15543         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
15545 2012-02-07  Marek Polacek  <polacek@redhat.com>
15547         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
15548         * sysdeps/gnu/_G_config.h: Likewise.
15549         * sysdeps/mach/hurd/_G_config.h: Likewise.
15551 2012-02-07  Marek Polacek  <polacek@redhat.com>
15553         * math/Makefile (tests): Add tst-CMPLX2.
15554         * math/tst-CMPLX2.c: New file.
15556 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
15558         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15560         * math/libm-test.inc (jn_test): Add missing L suffix.
15562 2012-02-06  Marek Polacek  <polacek@redhat.com>
15564         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
15565         * sysdeps/i386/fpu/e_powf.S: Likewise.
15566         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15567         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15568         * sysdeps/i386/fpu/e_acosh.S: Likewise.
15569         * sysdeps/i386/fpu/e_pow.S: Likewise.
15570         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15571         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15572         * sysdeps/i386/fpu/s_expm1.S: Likewise.
15573         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15574         * sysdeps/i386/fpu/e_log2.S: Likewise.
15575         * sysdeps/i386/fpu/e_log2l.S: Likewise.
15576         * sysdeps/i386/fpu/e_scalb.S: Likewise.
15577         * sysdeps/i386/fpu/e_powl.S: Likewise.
15578         * sysdeps/i386/fpu/s_log1p.S: Likewise.
15579         * sysdeps/i386/fpu/e_log10f.S: Likewise.
15580         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15581         * sysdeps/i386/fpu/e_logl.S: Likewise.
15582         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15583         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
15584         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15585         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15586         * sysdeps/i386/fpu/e_log2f.S: Likewise.
15587         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15588         * sysdeps/i386/fpu/e_log.S: Likewise.
15589         * sysdeps/i386/fpu/s_cexp.S: Likewise.
15590         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15591         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
15592         * sysdeps/i386/fpu/e_logf.S: Likewise.
15593         * sysdeps/i386/fpu/e_log10l.S: Likewise.
15594         * sysdeps/i386/fpu/e_atanh.S: Likewise.
15595         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
15596         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15597         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15598         * sysdeps/i386/fpu/e_log10.S: Likewise.
15599         * sysdeps/i386/fpu/s_frexp.S: Likewise.
15600         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15601         * sysdeps/i386/fpu/s_asinh.S: Likewise.
15602         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15603         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15604         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15605         * sysdeps/i386/asm-syntax.h: Likewise.
15606         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15607         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15608         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15609         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
15610         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
15611         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15612         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15613         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15614         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15615         * sysdeps/powerpc/sysdep.h: Likewise.
15616         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
15617         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15619 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
15621         [BZ #411]
15622         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
15624 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
15626         * sysdeps/i386/sysdep.h: Include <features.h>.
15627         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
15628         version.
15630 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
15632         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
15633         Define.
15634         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
15635         LOAD_PIC_REG_STR.
15637 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
15639         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
15640         (SETUP_PIC_REG): Use GET_PC_THUNK.
15641         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
15642         macro.
15644 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
15646         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
15647         for non-PIC compilation.
15648         (SETUP_PIC_REG): Add .p2align directive.
15649         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
15650         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
15651         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15652         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15653         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15654         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15655         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
15656         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15657         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15658         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15659         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15660         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15661         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15662         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15663         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15664         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15665         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15666         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15667         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15668         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15669         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15670         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15671         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15672         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15673         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15674         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15675         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15676         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15677         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15678         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15679         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15680         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15681         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15682         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15683         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15684         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15685         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15686         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15687         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15688         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15689         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15691 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
15693         * math/tst-CMPLX.c: Include <stdio.h>.
15695 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
15697         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
15698         float.
15699         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15700         * sysdeps/sparc/bits/mathdef.h: Likewise.
15702 2012-01-31  Marek Polacek  <polacek@redhat.com>
15704         * libio/libio.h: Don't define _PARAMS.
15705         * locale/programs/config.h: Don't define PARAMS.
15706         * stdlib/strtol_l.c: Likewise.
15707         (__strtol_l): Remove PARAMS from the prototype.
15709 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
15711         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
15712         names.  Just use the correct names.  Remove unnecessary wrapper
15713         functions.
15714         * malloc/arena.c: Likewise.
15715         * malloc/hooks.c: Likewise.
15717         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
15718         ARENA_TEST says not to.  Simplify test for creation of a new arena.
15719         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
15721 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
15723         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
15724         into tail calls.
15725         (update_get_addr): New function.
15726         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
15727         GET_ADDR_MODULE parameter.
15729 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
15731         * crypt/cert.c: Remove __STDC__ conditionals.
15732         * crypt/crypt-entry.c: Likewise.
15733         * crypt/crypt_util.c: Likewise.
15734         * libio/filedoalloc.c: Likewise.
15735         * libio/fileops.c: Likewise.
15736         * libio/genops.c: Likewise.
15737         * libio/iofclose.c: Likewise.
15738         * libio/iofdopen.c: Likewise.
15739         * libio/iofopen.c: Likewise.
15740         * libio/iofopen64.c: Likewise.
15741         * libio/iogetdelim.c: Likewise.
15742         * libio/iopopen.c: Likewise.
15743         * libio/obprintf.c: Likewise.
15744         * libio/oldfileops.c: Likewise.
15745         * libio/oldiofclose.c: Likewise.
15746         * libio/oldiofdopen.c: Likewise.
15747         * libio/oldiofopen.c: Likewise.
15748         * libio/oldiopopen.c: Likewise.
15749         * libio/wfiledoalloc.c: Likewise.
15750         * libio/wgenops.c: Likewise.
15751         * locale/programs/xmalloc.c: Likewise.
15752         * misc/syslog.c: Likewise.
15753         * stdio-common/xbug.c: Likewise.
15754         * string/memchr.c: Likewise.
15755         * string/memcmp.c: Likewise.
15756         * string/memrchr.c: Likewise.
15757         * string/rawmemchr.c: Likewise.
15758         * sysdeps/posix/getcwd.c: Likewise.
15759         * time/strftime_l.c: Likewise.
15761 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
15763         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
15764         * config.make.in (config-cflags-sse2avx): Define.
15765         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
15766         Fix typo.
15768 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
15770         * scripts/config.guess: Update from upstream config git repository.
15771         * scripts/config.sub: Likewise.
15773 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
15775         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
15776         (EM_NUM): Update.
15777         (R_TILEPRO_*, R_TILEGX_*): New macros.
15779         * scripts/firstversions.awk: Fix bug in version range handling.
15781         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
15783         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
15785         * include/sys/epoll.h: New file.
15786         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
15787         libc_hidden_def.
15789 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
15791         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
15792         Avoid unnecessary __WORDSIZE == 64 test.
15793         (fmaxf): Use VEX format if possible.
15794         (fmax): Likewise.
15795         (fminf): Likewise.
15796         (fmin): Likewise.
15798         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
15799         * math/math_private.h: Remove libc_fegetround* and
15800         libc_fesetround*.
15801         * sysdeps/i386/configure.in: Check for -msse2avx.
15802         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
15803         also if SSE2AVX is defined.
15804         Remove libc_fegetround* and libc_fesetround*.
15805         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
15806         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
15807         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
15808         of HAS_YMM_USABLE.
15809         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15810         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15811         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15812         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15813         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15815         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
15817 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15819         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
15820         size is not set.
15821         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15823 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
15825         [BZ #13618]
15826         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
15827         relocation.
15828         * Makeconfig (libm): Define.
15829         * elf/Makefile: Add rules to build and run tst-relsort1.
15830         * elf/tst-relsort1.c: New file.
15831         * elf/tst-relsort1mod1.c: New file.
15832         * elf/tst-relsort1mod2.c: New file.
15834 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
15836         * math/s_ldexp.c: Remove __STDC__ conditionals.
15837         * math/s_ldexpf.c: Likewise.
15838         * math/s_ldexpl.c: Likewise.
15839         * math/s_nextafter.c: Likewise.
15840         * math/s_nexttowardf.c: Likewise.
15841         * math/s_significand.c: Likewise.
15842         * math/s_significandf.c: Likewise.
15843         * math/s_significandl.c: Likewise.
15844         * math/w_jnl.c: Likewise.
15845         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15846         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15847         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15848         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15849         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15850         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15851         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
15852         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15853         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15854         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15855         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15856         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15857         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15858         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15859         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15860         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15861         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15862         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15863         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15864         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15865         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15866         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15867         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15868         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15869         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15870         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15871         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15872         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15873         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
15874         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15875         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15876         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
15877         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15878         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
15879         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
15880         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15881         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15882         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15883         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
15884         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15885         * sysdeps/ieee754/k_standard.c: Likewise.
15886         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15887         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15888         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15889         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15890         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15891         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15892         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15893         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15894         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15895         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15896         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15897         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15898         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15899         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15900         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15901         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15902         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15903         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15904         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15905         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15906         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15907         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15908         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15909         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15910         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15911         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15912         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15913         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15914         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15915         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15916         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15917         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
15918         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15919         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15920         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15921         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15922         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
15923         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15924         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15925         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
15926         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
15927         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15928         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
15929         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
15930         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15931         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15932         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15933         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15934         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15935         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15936         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
15937         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15938         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15939         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15940         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15941         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15942         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
15943         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15944         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15945         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15946         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15947         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15948         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15949         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15950         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15951         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15952         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15953         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15954         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15955         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15956         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15957         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15958         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15959         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15960         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15961         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15962         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15963         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15964         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15965         * sysdeps/ieee754/s_matherr.c: Likewise.
15966         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15967         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15968         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15969         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15971 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
15973         * crypt/md5.h: Remove __STDC__ conditionals.
15974         * libio/libioP.h: Likewise.
15975         * locale/programs/config.h: Likewise.
15976         * sysdeps/generic/sysdep.h: Likewise.
15977         * sysdeps/i386/asm-syntax.h: Likewise.
15978         * sysdeps/s390/asm-syntax.h: Likewise.
15979         * sysdeps/unix/sysdep.h: Likewise.
15980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15983 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
15985         * libio/libio.h: Remove __STDC__ conditionals.
15986         * malloc/obstack.h: Likewise.
15987         * math/complex.h: Likewise.
15988         * math/math.h: Likewise.
15989         * sysdeps/generic/_G_config.h: Likewise.
15990         * sysdeps/gnu/_G_config.h: Likewise.
15991         * sysdeps/mach/hurd/_G_config.h: Likewise.
15992         * sysdeps/powerpc/bits/mathdef.h: Likewise.
15993         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15994         * sysdeps/sparc/bits/mathdef.h: Likewise.
15996 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
15998         [BZ #13583]
15999         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
16000         Clean up HAS_* macros.
16001         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
16002         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
16003         possible.
16004         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
16005         HAS_AVX.
16006         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16007         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16008         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16009         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16010         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16012 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
16014         * elf/tst-unique3.cc (gets): Remove declaration.
16015         * elf/tst-unique3lib.cc (gets): Likewise.
16016         * elf/tst-unique3lib2.cc (gets): Likewise.
16017         * elf/tst-unique4.cc (gets): Likewise.
16019 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
16021         * include/stdio.h: Add C++ protection.  Add gets declarations and
16022         definitions.
16023         * debug/tst-chk1.c: Don't declare gets here.
16024         * stdio-common/tst-gets.c: Likewise.
16026 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
16028         * posix/glob: Remove directory.
16030 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
16032         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
16034 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
16036         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
16037         of the non-standard EPFNOSUPPORT.
16039 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16041         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
16042         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
16043         ANYWHERE set to 1 only on KERN_NO_SPACE error.
16045 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
16047         * wcsmbs/uchar.h: Test __STDC_VERSION__.
16049 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
16051         * nscd/aicache.c (addhstaiX): Do not cache negative results of
16052         transient errors.
16053         * nscd/grpcache.c (cache_addgr): Likewise.
16054         * nscd/hstcache.c (cache_addhst): Likewise.
16055         * nscd/initgrcache.c (addinitgroupsX): Likewise.
16056         * nscd/pwdcache.c (cache_addpw): Likewise.
16057         * nscd/servicescache.c (cache_addserv): Likewise.
16059 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
16061         * malloc/malloc.c: Various cleanups.
16062         * malloc/hooks.c: Likewise.
16064         * stdlib/Makefile (tests): Add bug-fmtmsg1.
16065         * stdlib/bug-fmtmsg1.c: New file.
16067         * stdlib/fmtmsg.c (init): Add missing unlock.
16068         Patch by Peng Haitao <penght@cn.fujitsu.com>.
16070 2012-01-12  Marek Polacek  <polacek@redhat.com>
16072         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
16073         and _GNU_SOURCE.
16075 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
16077         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
16078         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
16079         macro to ensure uniqueness of label name.
16080         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16081         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16083 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
16085         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
16087         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
16088         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16089         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16090         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
16092 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
16094         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
16096         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
16097         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16098         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16100         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
16102         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
16103         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16104         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16105         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
16107         * math/bits/math-finite.h: Add ldexp support.
16109 2012-01-10  Marek Polacek  <polacek@redhat.com>
16111         * locale/programs/localedef.h (show_archive_content): Add noreturn
16112         attribute.
16114 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
16116         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
16118 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
16120         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
16122         * io/Makefile (headers): Add bits/poll2.h.
16124 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
16126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
16127         typo #include statement.
16129 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
16131         * include/sys/cdefs.h: Define __attribute_alloc_size.
16132         * catgets/gencat.c: Add alloc_size attribute and apply consistently
16133         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
16134         * elf/pldd.c: Likewise.
16135         * iconv/iconv_charmap.c: Likewise.
16136         * iconv/iconvconfig.c: Likewise.
16137         * iconv/strtab.c: Likewise.
16138         * locale/programs/locale.c: Likewise.
16139         * locale/programs/localedef.h: Likewise.
16140         * locale/programs/simple-hash.c: Likewise.
16141         * nscd/nscd.h: Likewise.
16142         * nss/makedb.c: Likewise.
16143         * sysdeps/generic/ldconfig.h: Likewise.
16144         * locale/programs/localedef.c: Remove xmalloc prototype.
16145         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
16147 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
16149         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
16150         appropriate.
16152 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
16154         * math/Makefile (tests): Add tst-CMPLX.
16155         * math/tst-CMPLX.c: New file.
16157         * math/complex.h (CMPLXL): Fix typo.
16159         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
16160         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
16161         GLIBC_2.16.
16162         * debug/tst-chk1.c: Add poll and ppoll tests.
16163         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
16164         * include/sys/poll.h: Add hidden proto for ppoll.
16165         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
16166         * sysdeps/mach/hurd/ppoll.c: Likewise.
16167         * io/ppoll.c: Likewise.
16168         * debug/poll_chk.c: New file.
16169         * debug/ppoll_chk.c: New file.
16170         * include/bits/poll2.h: New file.
16171         * io/bits/poll2.h: New file.
16173         [BZ #1350]
16174         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
16176         * configure.in: static is always set to yes.  Remove.
16177         * config.make.in: Don't set build-static.
16178         * Makeconfig: Remove use of build-static.
16179         * dlfcn/Makefile: Likewise.
16180         * elf/Makefile: Likewise.
16181         * math/Makefile: Likewise.
16182         * misc/Makefile: Likewise.
16183         * nptl/Makefile: Likewise.
16184         * sysdeps/mach/hurd/Makefile: Likewise.
16186         * configure.in: PWD_P is not used anymore.
16187         * config.make.in: Remove PWD_P entry.
16189         * configure.in: Remove last remnants of RANLIB.
16190         No need to check for signed size_t anymore.
16191         Don't set libc_commonpagesize and libc_relro_required here for Alpha
16192         and IA-64.
16193         Remove __builtin_expect test because we require at least gcc 3.4.
16194         * aclocal.m4: Likewise.
16196         * wcsmbs/mbrtoc16.c: Implement using towc function.
16197         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
16198         * wcsmbs/wcsmbsload.c: Likewise.
16199         * iconv/gconv_simple.c: Likewise.
16200         * iconv/gconv_int.h: Likewise.
16201         * iconv/gconv_builtin.h: Likewise.
16202         * iconv/iconv_prog.c: Remove CHAR16 handling.
16204         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
16206         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
16208         * configure.in: Remove --with-elf and --enable-bounded options.
16209         Dont set base_machine for ia64.  More non-ELF conditions removed.
16210         Remove testing and setting of leading underscore information.
16211         * config.make.in (build-bounded): Set to no.
16212         * config.h.in: Remove NO_UNDERSCORES entry.
16213         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
16214         them.
16215         * csu/start.c: Remove !NO_UNDERSCORE code.
16216         * locale/localeinfo.h: Likewise.
16217         * sysdeps/generic/machine-gmon.h: Likewise.
16218         * sysdeps/generic/sysdep.h: Likewise.
16219         * sysdeps/i386/sysdep.h: Likewise.
16220         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16221         * sysdeps/mach/sysdep.h: Likewise.
16222         * sysdeps/s390/s390-32/sysdep.h: Likewise.
16223         * sysdeps/s390/s390-64/sysdep.h: Likewise.
16224         * sysdeps/sh/sysdep.h: Likewise.
16225         * sysdeps/sparc/sparc32/alloca.S: Likewise.
16226         * sysdeps/unix/i386/sysdep.S: Likewise.
16227         * sysdeps/unix/sparc/start.c: Likewise.
16228         * sysdeps/unix/sparc/sysdep.S: Likewise.
16229         * sysdeps/unix/sparc/sysdep.h: Likewise.
16230         * sysdeps/unix/start.c: Likewise.
16231         * sysdeps/unix/x86_64/sysdep.S: Likewise.
16232         * sysdeps/x86_64/sysdep.h: Likewise.
16234 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
16236         [BZ #13553]
16237         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
16238         for non-gcc.
16239         * argp/argp-fmtstream.h: Use const instead __const.
16240         * argp/argp.h: Likewise.
16241         * assert/assert.h: Likewise.
16242         * bits/fenv.h: Likewise.
16243         * bits/sched.h: Likewise.
16244         * bits/sigset.h: Likewise.
16245         * bits/sigthread.h: Likewise.
16246         * catgets/nl_types.h: Likewise.
16247         * conform/data/pthread.h-data: Likewise.
16248         * crypt/crypt-private.h: Likewise.
16249         * crypt/crypt.h: Likewise.
16250         * crypt/crypt_util.c: Likewise.
16251         * ctype/ctype.h: Likewise.
16252         * debug/execinfo.h: Likewise.
16253         * debug/mbsnrtowcs_chk.c: Likewise.
16254         * debug/mbsrtowcs_chk.c: Likewise.
16255         * debug/wcsnrtombs_chk.c: Likewise.
16256         * debug/wcsrtombs_chk.c: Likewise.
16257         * debug/wcstombs_chk.c: Likewise.
16258         * dirent/dirent.h: Likewise.
16259         * dlfcn/dlfcn.h: Likewise.
16260         * elf/neededtest4.c: Likewise.
16261         * grp/grp.h: Likewise.
16262         * gshadow/gshadow.h: Likewise.
16263         * iconv/gconv.h: Likewise.
16264         * iconv/gconv_int.h: Likewise.
16265         * iconv/gconv_simple.c: Likewise.
16266         * iconv/iconv.h: Likewise.
16267         * iconv/loop.c: Likewise.
16268         * iconv/skeleton.c: Likewise.
16269         * include/aio.h: Likewise.
16270         * include/aliases.h: Likewise.
16271         * include/argz.h: Likewise.
16272         * include/arpa/inet.h: Likewise.
16273         * include/assert.h: Likewise.
16274         * include/dirent.h: Likewise.
16275         * include/dlfcn.h: Likewise.
16276         * include/execinfo.h: Likewise.
16277         * include/fcntl.h: Likewise.
16278         * include/fenv.h: Likewise.
16279         * include/glob.h: Likewise.
16280         * include/grp.h: Likewise.
16281         * include/libintl.h: Likewise.
16282         * include/mntent.h: Likewise.
16283         * include/netdb.h: Likewise.
16284         * include/pwd.h: Likewise.
16285         * include/rpc/netdb.h: Likewise.
16286         * include/sched.h: Likewise.
16287         * include/search.h: Likewise.
16288         * include/shadow.h: Likewise.
16289         * include/signal.h: Likewise.
16290         * include/stdio.h: Likewise.
16291         * include/stdlib.h: Likewise.
16292         * include/string.h: Likewise.
16293         * include/sys/socket.h: Likewise.
16294         * include/sys/stat.h: Likewise.
16295         * include/sys/statfs.h: Likewise.
16296         * include/sys/statvfs.h: Likewise.
16297         * include/sys/syslog.h: Likewise.
16298         * include/sys/time.h: Likewise.
16299         * include/sys/uio.h: Likewise.
16300         * include/time.h: Likewise.
16301         * include/unistd.h: Likewise.
16302         * include/utmp.h: Likewise.
16303         * include/wchar.h: Likewise.
16304         * include/wctype.h: Likewise.
16305         * inet/aliases.h: Likewise.
16306         * inet/arpa/inet.h: Likewise.
16307         * inet/netinet/ether.h: Likewise.
16308         * inet/netinet/in.h: Likewise.
16309         * intl/libintl.h: Likewise.
16310         * io/bits/fcntl2.h: Likewise.
16311         * io/fcntl.h: Likewise.
16312         * io/ftw.h: Likewise.
16313         * io/sys/poll.h: Likewise.
16314         * io/sys/stat.h: Likewise.
16315         * io/sys/statfs.h: Likewise.
16316         * io/sys/statvfs.h: Likewise.
16317         * io/utime.h: Likewise.
16318         * libio/bits/stdio.h: Likewise.
16319         * libio/bits/stdio2.h: Likewise.
16320         * libio/libio.h: Likewise.
16321         * libio/libioP.h: Likewise.
16322         * libio/stdio.h: Likewise.
16323         * locale/lc-ctype.c: Likewise.
16324         * locale/locale.h: Likewise.
16325         * login/utmp.h: Likewise.
16326         * malloc/arena.c: Likewise.
16327         * malloc/malloc.c: Likewise.
16328         * malloc/malloc.h: Likewise.
16329         * malloc/mcheck.c: Likewise.
16330         * malloc/mtrace.c: Likewise.
16331         * math/bits/mathcalls.h: Likewise.
16332         * math/fenv.h: Likewise.
16333         * math/math_private.h: Likewise.
16334         * misc/bits/error.h: Likewise.
16335         * misc/bits/syslog.h: Likewise.
16336         * misc/err.h: Likewise.
16337         * misc/error.h: Likewise.
16338         * misc/fstab.h: Likewise.
16339         * misc/mntent.h: Likewise.
16340         * misc/regexp.h: Likewise.
16341         * misc/search.h: Likewise.
16342         * misc/sgtty.h: Likewise.
16343         * misc/sys/mman.h: Likewise.
16344         * misc/sys/syslog.h: Likewise.
16345         * misc/sys/uio.h: Likewise.
16346         * misc/sys/xattr.h: Likewise.
16347         * misc/ttyent.h: Likewise.
16348         * nis/rpcsvc/ypclnt.h: Likewise.
16349         * nss/nss.h: Likewise.
16350         * posix/bits/unistd.h: Likewise.
16351         * posix/fnmatch.h: Likewise.
16352         * posix/glob.h: Likewise.
16353         * posix/sched.h: Likewise.
16354         * posix/spawn.h: Likewise.
16355         * posix/sys/wait.h: Likewise.
16356         * posix/unistd.h: Likewise.
16357         * posix/wordexp.h: Likewise.
16358         * pwd/pwd.h: Likewise.
16359         * resolv/netdb.h: Likewise.
16360         * resource/sys/resource.h: Likewise.
16361         * rt/aio.h: Likewise.
16362         * rt/bits/mqueue2.h: Likewise.
16363         * rt/mqueue.h: Likewise.
16364         * shadow/shadow.h: Likewise.
16365         * signal/signal.h: Likewise.
16366         * socket/send.c: Likewise.
16367         * socket/sendto.c: Likewise.
16368         * socket/sys/socket.h: Likewise.
16369         * stdio-common/printf.h: Likewise.
16370         * stdlib/bits/stdlib.h: Likewise.
16371         * stdlib/fmtmsg.h: Likewise.
16372         * stdlib/monetary.h: Likewise.
16373         * stdlib/stdlib.h: Likewise.
16374         * stdlib/ucontext.h: Likewise.
16375         * streams/stropts.h: Likewise.
16376         * string/argz.h: Likewise.
16377         * string/bits/string2.h: Likewise.
16378         * string/string.h: Likewise.
16379         * string/strings.h: Likewise.
16380         * sunrpc/rpc/auth.h: Likewise.
16381         * sunrpc/rpc/auth_des.h: Likewise.
16382         * sunrpc/rpc/clnt.h: Likewise.
16383         * sunrpc/rpc/netdb.h: Likewise.
16384         * sunrpc/rpc/pmap_clnt.h: Likewise.
16385         * sunrpc/rpc/xdr.h: Likewise.
16386         * sysdeps/generic/inttypes.h: Likewise.
16387         * sysdeps/generic/net/if.h: Likewise.
16388         * sysdeps/generic/sys/swap.h: Likewise.
16389         * sysdeps/gnu/net/if.h: Likewise.
16390         * sysdeps/gnu/utmpx.h: Likewise.
16391         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
16392         * sysdeps/i386/i486/bits/string.h: Likewise.
16393         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
16394         * sysdeps/s390/bits/string.h: Likewise.
16395         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
16396         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
16397         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
16398         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
16399         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
16400         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
16401         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
16402         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
16403         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
16404         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
16405         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
16406         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16407         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
16408         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16409         * sysdeps/unix/sysv/linux/readv.c: Likewise.
16410         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
16411         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16412         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16413         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16414         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16415         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16416         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
16417         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
16418         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
16419         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
16420         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
16421         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
16422         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16423         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
16424         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
16425         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
16426         * sysvipc/sys/ipc.h: Likewise.
16427         * sysvipc/sys/msg.h: Likewise.
16428         * sysvipc/sys/sem.h: Likewise.
16429         * sysvipc/sys/shm.h: Likewise.
16430         * termios/termios.h: Likewise.
16431         * time/sys/time.h: Likewise.
16432         * time/time.h: Likewise.
16433         * wcsmbs/bits/wchar2.h: Likewise.
16434         * wcsmbs/uchar.h: Likewise.
16435         * wcsmbs/wchar.h: Likewise.
16436         * wctype/wctype.h: Likewise.
16438         [BZ #13551]
16439         * Makeconfig: Remove all but ELF support including AIX support.
16440         * Makerules: Likewise.
16441         * config.h.in: Likewise.
16442         * config.make.in: Likewise.
16443         * configure: Likewise.
16444         * configure.in: Likewise.
16445         * csu/Makefile: Likewise.
16446         * csu/version.c: Likewise.
16447         * debug/Makefile: Likewise.
16448         * dlfcn/Makefile: Likewise.
16449         * elf/Makefile: Likewise.
16450         * extra-lib.mk: Likewise.
16451         * iconv/Makefile: Likewise.
16452         * include/libc-symbols.h: Likewise.
16453         * include/shlib-compat.h: Likewise.
16454         * resolv/Makefile: Likewise.
16455         * resolv/res_libc.c: Likewise.
16456         * rt/Makefile: Likewise.
16457         * sysdeps/i386/asm-syntax.h: Likewise.
16458         * sysdeps/i386/sysdep.h: Likewise.
16459         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16460         * sysdeps/mach/sysdep.h: Likewise.
16461         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
16462         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
16463         * sysdeps/s390/asm-syntax.h: Likewise.
16464         * sysdeps/s390/s390-32/sysdep.h: Likewise.
16465         * sysdeps/s390/s390-64/sysdep.h: Likewise.
16466         * sysdeps/sh/sysdep.h: Likewise.
16467         * sysdeps/unix/sparc/sysdep.h: Likewise.
16468         * sysdeps/wordsize-32/divdi3.c: Likewise.
16469         * sysdeps/x86_64/sysdep.h: Likewise.
16471         * argp/Versions: Remove _argp_unlock_xxx.
16473         [BZ #13559]
16474         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
16475         * abilist/libBrokenLocale.abilist: Likewise.
16476         * abilist/libanl.abilist: Likewise.
16477         * abilist/libc.abilist: Likewise.
16478         * abilist/libcrypt.abilist: Likewise.
16479         * abilist/libdl.abilist: Likewise.
16480         * abilist/libm.abilist: Likewise.
16481         * abilist/libnsl.abilist: Likewise.
16482         * abilist/libpthread.abilist: Likewise.
16483         * abilist/libresolv.abilist: Likewise.
16484         * abilist/librt.abilist: Likewise.
16485         * abilist/libthread_db.abilist: Likewise.
16486         * abilist/libutil.abilist: Likewise.
16487         * abilist/libnss_db.abilist: New file.
16489         * scripts/abilist.awk: Add support for indirect functions.
16491         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
16493         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
16495         * shlib-versions: Remove entries for ports architectures.
16497         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
16498         files in ports.
16499         * elf/stackguard-macros.h: Remove support for IA-64.
16500         * elf/tst-auditmod1.c: Likewise.
16501         * sysdeps/generic/ldsodefs.h: Likewise.
16503         * sysdeps/unix/sysv/linux/configure.in: Ports should define
16504         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
16505         configure files.
16507         [BZ #13552]
16508         * configure.in: Remove --enable-omitfp support.
16509         * FAQ.in: Adjust.
16510         * config.make.in: Likewise.
16511         * Makeconfig: Likewise.
16512         * manual/install.texi: Likewise.
16514         In case anyone cares, the IA-64 architecture could move to ports.
16515         * sysdeps/ia64/*: Removed.
16516         * sysdeps/unix/sysv/linux/ia64/*: Removed.
16517         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
16519         [BZ #13555]
16520         * configure.in: Remove entries for unsupported architectures.
16522         [BZ #13533]
16523         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
16524         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
16525         routines.
16526         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
16527         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
16528         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
16529         fall back to using wcrtomb.
16530         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
16531         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
16532         renaming.
16533         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
16534         * wcsmbs/tst-c16c32-1.c: New file.
16536         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
16537         local variable.
16539         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
16541         * elf/tst-unique3.cc: Add explicit declaration of gets.
16542         * elf/tst-unique3lib.cc: Likewise.
16543         * elf/tst-unique3lib2.cc: Likewise.
16544         * elf/tst-unique4.cc: Likewise.
16546         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
16548 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
16550         [BZ #13566]
16551         * assert/assert.h (static_assert): Don't define for C++.
16552         * libio/stdio.h (gets): Do declare for C++ <= C++11.
16553         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
16555 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
16557         * iconv/loop.c (single loop): Fix assertion in storing of
16558         remaining bytes.
16560         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
16562 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
16564         * posix/getconf.c: Update copyright year.
16565         * nss/getent.c: Likewise.
16566         * nss/makedb.c: Likewise.
16567         * iconv/iconvconfig.c: Likewise.
16568         * iconv/iconv_prog.c: Likewise.
16569         * elf/ldconfig.c: Likewise.
16570         * elf/pldd.c: Likewise.
16571         * elf/sotruss.ksh: Likewise.
16572         * catgets/gencat.c: Likewise.
16573         * csu/version.c: Likewise.
16574         * elf/ldd.bash.in: Likewise.
16575         * elf/sprof.c (print_version): Likewise.
16576         * locale/programs/locale.c: Likewise.
16577         * locale/programs/localedef.c: Likewise.
16578         * login/programs/pt_chown.c: Likewise.
16579         * nscd/nscd.c (print_version): Likewise.
16580         * debug/xtrace.sh: Likewise.
16581         * malloc/memusage.sh: Likewise.
16582         * malloc/mtrace.pl: Likewise.
16583         * debug/catchsegv.sh: Likewise.
16585 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
16587         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
16588         pure attribute.
16590 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
16592         [BZ #13533]
16593         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
16594         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
16595         transformations.
16596         * iconv/gconv_int.h: Likewise.
16597         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
16598         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
16599         from libc for GLIBC_2.16.
16600         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
16601         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
16602         * wcsmbs/uchar.h: Really define mbstate_t.
16603         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
16604         * wcsmbs/c16rtomb.c: New file.
16605         * wcsmbs/mbrtoc16.c: New file.
16606         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
16607         for C/POSIX locale.
16608         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
16609         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
16611         * wcsmbs/wchar.h: Add missing __restrict.
16613 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
16615         [BZ #13532]
16616         * time/Makefile (routines): Add timespec_get.
16617         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
16618         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
16619         timespec for ISO C11.
16620         * time/timespec_get.c: New file.
16621         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
16622         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
16624         [BZ #13531]
16625         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
16626         * stdlib/stdlib.h: Declare aligned_alloc.
16627         * Versions.def: Add GLIBC_2.16 for libc.
16628         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
16630         [BZ 13527]
16631         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
16632         ISO C11.
16634         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
16635         code.
16637         [BZ #13528]
16638         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
16640         [BZ #13529]
16641         * assert/assert.h (static_assert): Define.
16643         * version.h: Update for 2.16 development version.
16645         [BZ #13526]
16646         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
16647         _ISOC11_SOURCE.
16649         * version.h (RELEASE): Bump for 2.15 release.
16650         * include/features.h (__GLIBC_MINOR__): Bump to 15.
16652         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
16653         Patch by Marek Polacek <mpolacek@redhat.com>.
16655         * bits/byteswap.h: Protect long long constants with __extension__.
16656         * sysdeps/i386/bits/byteswap.h: Likewise.
16657         * sysdeps/ia64/bits/byteswap.h: Likewise.
16658         * sysdeps/s390/bits/byteswap.h: Likewise.
16659         * sysdeps/x86_64/bits/byteswap.h: Likewise.
16661 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16663         [BZ #13540]
16664         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
16665         destination buffer.
16666         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
16668 2011-12-23  Marek Polacek  <polacek@redhat.com>
16670         * elf/dl-addr.c (determine_info): Add inline keyword.
16671         * elf/tst-auditmod4b.c (check_avx): Likewise.
16672         * elf/tst-auditmod6b.c (check_avx): Likewise.
16673         * elf/tst-auditmod6c.c (check_avx): Likewise.
16674         * elf/tst-auditmod7b.c (check_avx): Likewise.
16676 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
16678         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
16679         !__SSE_MATH__.
16681 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16683         [BZ #13540]
16684         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
16685         processing for last bytes.
16687 2011-08-06  Bruno Haible  <bruno@clisp.org>
16689         [BZ #13061]
16690         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
16691         U+0385, not to U+1FEE.
16693         [BZ #13062]
16694         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
16695         entry for U+00A5 U+0301.
16697 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
16699         [BZ #13166]
16700         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
16701         buffer for the output is too small.
16703         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
16704         optimization.
16706         [BZ #13185]
16707         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
16708         SSE flags if possible.
16710 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16712         [BZ #13540]
16713         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
16714         processing for last bytes.
16716 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
16718         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
16719         (syscall-list-default-options, syscall-list-default-condition)
16720         (syscall-list-includes): Define.
16721         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
16722         list of ABIs and options and #if conditions for each ABI.  Do not
16723         handle common syscalls between ABIs specially.
16724         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
16725         Remove.
16726         (syscall-list-variants, syscall-list-32bit-options)
16727         (syscall-list-32bit-condition, syscall-list-64bit-options)
16728         (syscall-list-64bit-condition): Define.
16729         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
16730         (syscall-list-variants, syscall-list-32bit-options)
16731         (syscall-list-32bit-condition, syscall-list-64bit-options)
16732         (syscall-list-64bit-condition): Define.
16733         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
16734         Remove.
16735         (syscall-list-variants, syscall-list-32bit-options)
16736         (syscall-list-32bit-condition, syscall-list-64bit-options)
16737         (syscall-list-64bit-condition): Define.
16738         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
16739         Remove.
16740         (syscall-list-variants, syscall-list-32bit-options)
16741         (syscall-list-32bit-condition, syscall-list-64bit-options)
16742         (syscall-list-64bit-condition): Define.
16744 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
16746         * locale/iso-639.def: Add brx entry.
16748         [BZ #13328]
16749         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
16750         Proposed by Mariusz_Cukr <marcukr@op.pl>.
16752         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
16753         __feraiseexcept_renamed.
16755 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
16757         [BZ #13538]
16758         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
16759         EPOLLET with unsigned values.
16760         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16761         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16763         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
16764         to large cancellation.
16765         * math/s_cacoshf.c: Likewise.
16766         * math/s_cacoshl.c: Likewise.
16768 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
16770         [BZ #13305]
16771         [BZ #12786]
16772         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
16773         * math/s_cacoshf.c: Likewise.
16774         * math/s_cacoshl.c: Likewise.
16776 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
16778         [BZ #13439]
16779         * iconv/gconv.h: Define __GCONV_SWAP.
16780         * iconvdata/unicode.c: The swap bit must be stored in __flags.
16781         * iconvdata/utf-16.c: Likewise.
16782         * iconvdata/utf-32.c: Likewise.
16784 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
16786         [BZ #13524]
16787         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
16788         numerator after shifting it by one limb.
16790 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
16792         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
16793         under [__USE_EXTERN_INLINES].
16795 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
16797         [BZ #13446]
16798         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
16800 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16802         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
16803         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
16804         optimized code.
16805         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
16806         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
16807         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
16808         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
16809         for strncasecmp/strncasecmp_l compilation.
16810         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
16811         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
16813 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
16815         [BZ #13484]
16816         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
16817         of __asm__.
16819 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
16821         [BZ #13506]
16822         * time/tzfile.c (__tzfile_read): Check values from file header.
16824 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
16826         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
16827         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
16828         * powerpc/powerpc32/dl-start.S: Likewise.
16829         * powerpc/powerpc32/elf/start.S: Likewise.
16830         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16831         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
16832         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
16833         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
16834         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16835         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
16836         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
16837         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16838         * powerpc/powerpc32/fpu/s_round.S: Likewise.
16839         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16840         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16841         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16842         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
16843         * powerpc/powerpc32/memset.S: Likewise.
16844         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16845         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16846         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16847         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16848         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16849         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16850         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16851         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16852         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
16853         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
16854         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
16855         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16856         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16858 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16860         * math/libm-test.inc: Added more nearbyint tests.
16861         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
16862         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
16863         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
16864         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
16866 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
16868         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
16869         FD_CLOEXEC.
16871 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16873         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
16874         Add wcscpy-ssse3 wcscpy-c.
16875         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
16876         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
16877         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
16878         * sysdeps/x86_64/wcschr.S: New file.
16879         * sysdeps/x86_64/wcsrchr.S: New file.
16880         * string/test-strcmp.c: Remove checking of wcscmp function for
16881         wrong alignments.
16882         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
16883         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
16884         wcsrchr-sse2 wcsrchr-c.
16885         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
16886         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
16887         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
16888         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
16889         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
16890         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
16891         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
16892         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
16893         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
16894         * wcsmbc/wcschr.c (WCSCHR): New macro.
16896 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16898         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
16899         * wcsmbs/test-wcsrchr.c: New file.
16900         * string/test-strrchr.c: Add wcsrchr support.
16901         (WIDE): New macro.
16902         * wcsmbs/test-wcscpy.c: New file.
16903         * string/test-strcpy.c: Add wcscpy support.
16904         (WIDE): New macro.
16906 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
16908         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
16909         the inner loop.
16911 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
16913         [BZ #13472]
16914         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
16916 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
16918         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
16919         Minor optimizations.
16921         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
16922         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
16923         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
16925 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
16927         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
16928         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
16929         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
16930         for gcc to avoid warnings.
16931         * inet/Makefile (tests): Add tst-checks.
16932         * inet/tst-checks.c: New file.
16934         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
16935         warning.
16937         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
16938         __wmemcmp_sse2.
16940         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
16941         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
16943         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
16945 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
16947         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
16948         problem.
16950         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
16952 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
16954         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
16955         conditional on GCC version.
16956         (__arch_compare_and_exchange_val_8_acq)
16957         (__arch_compare_and_exchange_val_16_acq)
16958         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
16959         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
16960         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
16962 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
16964         * sysdeps/sh/backtrace.c: New file.
16966 2011-12-02  Andreas Schwab  <schwab@redhat.com>
16968         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
16969         parenthesis.
16971 2011-12-01  Andreas Schwab  <schwab@redhat.com>
16973         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
16974         falling back to utime.
16976 2011-11-30  Andreas Schwab  <schwab@redhat.com>
16978         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
16979         expectations for float.
16981 2011-11-29  Andreas Schwab  <schwab@redhat.com>
16983         * locale/weight.h (findidx): Add parameter len.
16984         * locale/weightwc.h (findidx): Likewise.
16985         * posix/fnmatch_loop.c (FCT): Adjust caller.
16986         * posix/regcomp.c (build_equiv_class): Likewise.
16987         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
16988         * posix/regexec.c (check_node_accept_bytes): Likewise.
16989         * string/strcoll_l.c (STRCOLL): Likewise.
16990         * string/strxfrm_l.c (STRXFRM): Likewise.
16992 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
16994         * Makefile.in: Remove CVSOPT handling.
16995         * configure.in: Remove use of AC_REVISION.
16996         * iconvdata/Makefile (distribute): No need to filter out CVS.
16997         * scripts/list-sources.sh: Remove CVS, subversion and monotone
16998         handling.
17000 2011-11-16  Andreas Schwab  <schwab@redhat.com>
17002         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
17003         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
17004         [USE_AS_STRNCASECMP_L]: Likewise.
17005         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
17006         NO_TLS_DIRECT_SEG_REFS.
17007         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
17008         Fix argument offsets for non-PIC.
17009         [USE_AS_STRNCASECMP_L]: Likewise.
17010         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
17011         NO_TLS_DIRECT_SEG_REFS.
17013 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
17015         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
17016         O_CLOEXEC.
17017         * locale/loadlocale.c (_nl_load_locale): Likewise.
17019 2011-11-15  Andreas Schwab  <schwab@redhat.com>
17021         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
17022         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
17023         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
17024         (SYSCALL_GETTIME): Set errno on error.
17026         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
17027         count references to noai6ai_cached.
17029 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
17031         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
17033         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
17034         FD_CLOEXEC for /proc/self/maps.
17036         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
17037         FD_CLOEXEC for /proc/meminfo.
17039         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
17040         gai.conf.
17042         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
17043         FD_CLOEXEC for given file.
17045         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
17047         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
17048         FD_CLOEXEC for /etc/hosts.
17049         (_gethtent): Likewise.
17051         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
17053         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
17054         cancellation and set FD_CLOEXEC for /etc/netgroup.
17056         * nss/nss_files/files-key.c (search): Don't allow cancellation when
17057         reading /etc/publickey.
17059         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
17060         allow cancellation when reading /etc/group.
17062         * nss/nss_files/files-alias.c (internal_setent): Don't allow
17063         cancellation.
17064         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
17066         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
17067         when using data file.
17069         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
17071         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
17072         (write_nis_obj): Use "c" and "e" in fopen.
17074         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
17076         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
17078         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
17080         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
17082         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
17083         locale.alias.
17085         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
17087         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
17089         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
17091         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
17092         file parsing and set FD_CLOEXEC.
17094 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
17096         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
17098 2011-11-14  Andreas Schwab  <schwab@redhat.com>
17100         * malloc/arena.c (arena_get2): Don't call reused_arena when
17101         _int_new_arena failed.
17103 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
17105         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
17106         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
17107         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
17108         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17109         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17110         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
17111         to compile strcasecmp and strncasecmp.
17112         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
17113         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
17115         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
17117 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
17119         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
17120         locale-defines.sym to gen-as-const-headers.
17121         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
17122         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
17123         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
17124         to compile strcasecmp and strncasecmp.
17125         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
17126         strcasecmp_l and strncasecmp_l.
17127         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
17128         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
17129         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
17130         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
17131         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
17132         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
17133         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
17134         * sysdeps/i386/i686/multiarch/strncase.S: New file.
17135         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
17136         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
17137         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
17139 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
17141         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
17142         result of SYSDEP_GETTIME_CPU to retval.
17143         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
17144         parameter list to macro.  Remove trailing semicolon.  Adjust users.
17146         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
17147         variable.
17149         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
17150         mantissa words.
17151         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
17153         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
17154         from unused variable.
17156         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
17157         DWARF definitions.
17158         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
17159         for assembling.
17161         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
17162         over namespaces.
17164         * sunrpc/rpc_prot.c (rejected): Fix case value.
17166         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
17167         unsigned long long int to avoid warnings in shift.
17169         * posix/regex_internal.c (re_string_reconstruct): Actually use result
17170         of use of trans.
17171         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
17172         variable tmp.
17174         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
17175         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
17176         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
17178         * nis/nis_table.c (nis_list): Use variable of correct type for
17179         result of __follow_path call.
17181 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17183         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
17184         of math functions ceil, trunc, floor, round, and sqrt, when
17185         avaliable on the platform.
17186         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
17187         name clash.
17188         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17189         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17190         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17192 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
17194         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
17195         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17197 2011-11-11  Roland McGrath  <roland@hack.frob.com>
17199         * include/unistd.h: Fix __readlink return type.
17200         Reported by Chris Metcalf <cmetcalf@tilera.com>.
17202 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
17204         * stdlib/ucontext.h: Undo last change for makecontext.
17206 2011-11-11  Andreas Schwab  <schwab@redhat.com>
17208         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
17210         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
17211         * setjmp/setjmp.h: Mark functions as non-leaf.
17212         * setjmp/bits/setjmp2.h: Likewise.
17213         * stdlib/ucontext.h: Likewise.
17215 2011-11-10  Andreas Schwab  <schwab@redhat.com>
17217         * malloc/arena.c (_int_new_arena): Don't increment narenas.
17218         (reused_arena): Don't check arena limit.
17219         (arena_get2): Atomically check arena limit.
17221 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
17223         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
17224         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
17226         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
17227         instructions.
17229 2011-11-07  Andreas Schwab  <schwab@redhat.com>
17231         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
17232         handler when locking.
17234         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17235         Fix size of allocated buffer.
17237 2011-11-04  Andreas Schwab  <schwab@redhat.com>
17239         [BZ #10103]
17240         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
17241         declarations for long double functions.
17242         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
17244         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
17246 2011-11-03  Andreas Schwab  <schwab@redhat.com>
17248         * nscd/nscd.c (main): Don't start AVC thread until credentials are
17249         installed.
17251         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
17252         is disabled.
17254 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17256         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
17258 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
17260         * include/alloca.h (stackinfo_alloca_round): Define.
17261         (extend_alloca): Use it.
17262         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
17263         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
17264         here.
17266         * scripts/check-local-headers.sh: Ignore libaudit.h.
17268         * nscd/Makefile (extra-objs): Make recursively expanded.
17270 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
17272         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
17273         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17275         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
17276         * posix/tst-rfc3484-2.c: Likewise.
17277         * posix/tst-rfc3484-3.c: Likewise.
17279         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17280         process_vm_writev.
17281         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
17282         process_vm_writev.
17283         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
17284         process_vm_writev from libc using GLIBC_2.15 version.
17286         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
17288 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
17290         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
17291         stack usage.
17293 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
17295         [BZ #13367]
17296         * nss/getent.c (initgroups_keys): Show error message in case no group
17297         names are given.
17299         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
17300         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
17301         __bump_nl_timestamp.
17302         * nscd/connections (nscd_init): When host database is served open
17303         netlink socket and request notification about configuration changes.
17304         (main_loop_poll): Track netlink file descriptor and bump timestamp
17305         in case data becomes available.
17306         (main_loop_epoll): Likewise.
17307         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
17308         (database_pers_head): Add extra_data fileds.
17309         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
17310         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
17311         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
17312         Adjust caller.
17313         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
17314         in6ai data, call __free_in6ai.
17315         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
17316         Add -DHAVE_NETLINK.
17317         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
17318         interface information.  Reuse previous data if netlink timestamp
17319         is not changed.
17320         (__bump_nl_timestamp): New function.
17321         (__free_in6ai): New function.
17323 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
17325         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
17326         close_not_cancel_no_status here.
17327         (__check_pf): Reorganize code a bit to not call close twice if OOM.
17329 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
17331         [BZ #13276]
17332         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
17333         return value.
17335         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
17336         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
17337         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
17339 2011-07-03  Andreas Jaeger  <aj@suse.de>
17341         [BZ #10709]
17342         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
17343         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
17344         * math/libm-test.inc (sin_test): Add test case.
17346 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
17348         [BZ #13337]
17349         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
17350         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17352         * elf/chroot_canon.c (chroot_canon): Cleanups.
17354         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
17356         [BZ #13335]
17357         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
17358         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17360         * string/test-strchr.c: Make usable for strchrnul testing.
17361         * string/test-strchrnul.c: New file.
17362         * string/Makefile (strop-tests): Add strchrnul.
17364         * po/it.po: Update from translation team.
17365         * po/es.po: Likewise.
17367 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
17369         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
17370         the three constants needed as parameters.  Drop the others.
17371         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
17372         __m128i_strloadu_tolower.
17373         Create and initialize variable zero and use it in all the places
17374         where _mm_setzero_si128 was used.
17376         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
17377         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
17378         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
17379         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
17380         anymore.
17381         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
17382         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
17383         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
17384         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
17385         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
17386         __mpranred, __mptan.
17387         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
17388         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
17389         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
17390         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
17391         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
17392         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
17393         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
17394         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
17395         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
17397 2011-10-28  Andreas Schwab  <schwab@redhat.com>
17399         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
17400         redefine if SHARED.
17401         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
17403         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
17404         wide char related routines to wcsmbs subdir.
17406 2011-10-27  Andreas Schwab  <schwab@redhat.com>
17408         [BZ #13344]
17409         * misc/sys/cdefs.h (__THROWNL): Define.
17410         * posix/unistd.h: Use __THREADNL instead of __THREAD
17411         for memory synchronization functions.
17413 2011-10-26  Roland McGrath  <roland@hack.frob.com>
17415         [BZ #13349]
17416         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
17417         doesn't exist.
17418         * manual/stdio.texi (Obstack Streams): Node removed.
17420 2011-10-26  Andreas Schwab  <schwab@redhat.com>
17422         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
17423         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17424         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17426         * math/math_private.h (math_force_eval): Allow non-addressable
17427         arguments.
17428         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
17430 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
17432         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
17433         file is not needed.
17435         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
17436         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
17437         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17438         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17439         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17440         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17441         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17442         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
17443         Add AVX variants.
17444         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
17445         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
17446         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
17447         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
17448         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
17449         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
17450         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
17451         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
17452         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
17453         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
17454         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
17455         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
17456         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
17457         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
17458         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
17459         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
17460         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
17461         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
17462         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
17464         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
17465         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
17467         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
17468         place.  Use VEX encoding when compiling for AVX.
17470 2011-10-25  Andreas Schwab  <schwab@redhat.com>
17472         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
17473         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17475         * string/test-strchr.c (do_test): Don't generate NUL bytes.
17477 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
17479         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
17480         useless if() expression.
17481         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17482         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17483         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17484         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17485         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17486         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17487         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17488         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17489         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17490         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17491         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17492         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17493         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17494         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17495         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17496         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17497         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17498         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17499         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17501         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
17503 2011-10-25  Andreas Schwab  <schwab@redhat.com>
17505         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
17506         condition.
17507         * elf/dl-fini.c (_dl_sort_fini): Likewise.
17509 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
17511         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
17512         .text section.  Avoid duplicate constants.
17513         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17514         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17515         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17516         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17517         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17518         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17519         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17520         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17521         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17522         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
17523         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17524         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17525         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
17526         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
17527         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
17528         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
17529         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
17530         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17531         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17532         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17533         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17534         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17535         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17536         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
17537         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
17538         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
17539         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
17540         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
17541         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
17542         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17543         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
17544         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17545         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17546         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
17547         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
17548         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17549         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17550         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
17551         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
17552         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
17553         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
17554         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
17555         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
17556         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17557         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17559 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
17561         * sysdeps/x86_64/dla.h: Move to ...
17562         * sysdeps/x86_64/fpu/dla.h: ...here.
17563         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
17564         situations.  Use __builtin_fma only for gcc 4.6 and up.
17566         * config.make.in: Add have-mfma4 entry.
17567         * configure.in: Substitute libc_cv_cc_fma4.
17568         * math/Makefile (dbl-only-routines): Add sincostab.
17569         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
17570         Use __sincostab not sincos.
17571         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
17572         name is a macro.
17573         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17574         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17575         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17576         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
17577         using __copysign.
17578         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
17579         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
17580         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
17581         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
17582         and __inv.
17583         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
17584         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
17585         __copysign.
17586         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
17587         define aliases when function name is a macro.
17588         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
17589         sysdeps/ieee754/dbl-64/sincos.tbl.
17590         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
17591         fma4-enabled routines.
17592         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
17593         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
17594         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
17595         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
17596         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
17597         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
17598         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
17599         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
17600         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
17601         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
17602         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
17603         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
17604         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
17605         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
17606         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
17607         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
17608         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
17609         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
17610         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
17611         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
17612         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
17613         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
17614         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
17615         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
17616         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
17617         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
17618         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
17619         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
17620         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
17621         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
17623         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
17624         rename.
17625         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17626         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17627         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17628         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17629         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17630         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17631         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17632         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17634 2011-10-24  Andreas Schwab  <schwab@redhat.com>
17636         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
17638 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
17640         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
17642         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
17643         prediction.
17644         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
17646         * string/strnlen.c: Don't define STRNLEN, reverse logic.
17647         Remove unused variable magic_bits.
17648         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
17650         * string/strnlen.c: Define and use STRNLEN macro.
17651         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
17652         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
17653         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
17654         * wcsmbs/wcslen.c: Define and use WCSLEN.
17655         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
17656         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
17657         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
17658         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
17659         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
17660         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
17661         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17663 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17665         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17666         strnlen-sse2-no-bsf.
17667         Rename strlen-no-bsf to strlen-sse2-no-bsf.
17668         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
17669         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
17670         Add strnlen support.
17671         (USE_AS_STRNLEN): New macro.
17672         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
17673         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
17674         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
17675         * sysdeps/x86_64/wcslen.S: New file.
17677 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
17679         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17680         XMM-moves are used for copying on small sizes.
17682 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17684         * wcsmbs/Makefile (strop-tests): Add wcschr.
17685         * wcsmbs/test-wcschr.c: New file.
17686         * string/test-strchr.c: Update.
17687         Add wcschr support.
17688         (WIDE): New macro.
17690 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17692         * wcsmbs/Makefile (strop-tests): Add wcslen.
17693         * wcsmbs/test-wcslen.c: New file.
17694         * string/test-strlen.c: Update.
17695         Add wcslen support.
17696         (WIDE): New macro.
17698 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
17700         * po/it.po: Update from translation team.
17702 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17704         * sysdeps/x86_64/wcscmp.S: Update.
17705         Fix wrong comparison semantics.
17706         wcscmp shall use signed comparison not unsigned.
17707         Don't use substraction to avoid overflow bug.
17708         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
17709         * wcsmbc/wcscmp.c: Likewise.
17710         * string/test-strcmp.c: Likewise.
17711         Add new tests to check cases with negative values.
17713 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
17715         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
17716         * sysdeps/x86_64/dla.h: ...here.  New file.
17717         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
17718         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17719         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17720         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17721         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17722         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17723         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17724         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17725         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17727 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
17729         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
17730         __ynl_finite aliases.
17732 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
17734         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17736         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
17737         define DLA_FMA.
17738         [DLA_FMA] (EMULV): Use DLA_FMA.
17739         [DLA_FMA] (MUL12): Use EMULV.
17740         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
17741         that are not needed.
17742         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17743         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17744         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17745         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17746         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17747         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17748         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17750 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
17752         * math/s_nan.c: Undef __nan.
17753         * math/s_nanf.c: Undef __nanf.
17754         * math/s_nanl.c: Undef __nanl.
17755         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
17756         "math_private.h".
17758 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
17760         * math/s_catan.c: Add branch predictions.
17761         * math/s_catanf.c: Likewise.
17762         * math/s_catanh.c: Likewise.
17763         * math/s_catanhf.c: Likewise.
17764         * math/s_catanhl.c: Likewise.
17765         * math/s_catanl.c: Likewise.
17766         * math/s_cexp.c: Likewise.
17767         * math/s_cexpf.c: Likewise.
17768         * math/s_cexpl.c: Likewise.
17769         * math/s_clog.c: Likewise.
17770         * math/s_clog10.c: Likewise.
17771         * math/s_clog10f.c: Likewise.
17772         * math/s_clog10l.c: Likewise.
17773         * math/s_clogf.c: Likewise.
17774         * math/s_clogl.c: Likewise.
17775         * math/s_csqrt.c: Likewise.
17776         * math/s_csqrtf.c: Likewise.
17777         * math/s_csqrtl.c: Likewise.
17778         * math/s_ctanf.c: Likewise.
17779         * math/s_ctanh.c: Likewise.
17780         * math/s_ctanhf.c: Likewise.
17781         * math/s_ctanhl.c: Likewise.
17782         * math/s_ctanl.c: Likewise.
17784         * math/math_private.h: Define __nan, __nanf, __nanl.
17785         * math/s_cacosh.c: Include <math_private.h>.
17786         * math/s_cacoshl.c: Likewise.
17787         * math/s_casinh.c: Likewise.
17788         * math/s_casinhf.c: Likewise.
17789         * math/s_casinhl.c: Likewise.
17790         * math/s_ccos.c: Rely entire on ccosh.
17791         * math/s_ccosf.c: Rely entire on ccoshf.
17792         * math/s_ccosl.c: Rely entirely on ccoshl.
17793         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
17794         Remove tests for FE_INVALID.
17795         * math/s_ccoshf.c: Likewise.
17796         * math/s_ccoshl.c: Likewise.
17797         * math/s_csin.c: Likewise.
17798         * math/s_csinf.c: Likewise.
17799         * math/s_csinh.c Likewise.
17800         * math/s_csinhf.c: Likewise.
17801         * math/s_csinhl.c: Likewise.
17802         * math/s_csinl.c: Likewise.
17803         * math/s_ctan.c: Likewise.
17804         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
17805         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
17806         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
17808 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
17810         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
17811         compilation problems.
17813         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
17814         __builtin_expect.
17816 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
17818         * sysdeps/i386/configure.in: Test for -mfma4 option.
17819         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
17820         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
17821         COMMON_CPUID_INDEX_80000001.
17822         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
17823         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
17824         use it if FMA3 is not supported.
17825         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
17827         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
17828         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17830 2011-10-20  Andreas Schwab  <schwab@redhat.com>
17832         [BZ #12892]
17833         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
17834         it would create a cycle with a link time dependency.
17836 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
17838         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
17839         instruction.
17840         * string/Makefile (strop-tests): Add rawmemchr.
17841         * string/test-rawmemchr.c: New file.
17843         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
17844         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
17845         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
17846         when compiling str{,n}casecmp and when AVX is available.  Hook up
17847         new optimized code in initializers.
17849 2011-10-19  Andreas Schwab  <schwab@redhat.com>
17851         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
17852         __feraiseexcept instead of feraiseexcept.
17854 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
17856         * math/math_private.h: Define defaults for libc_fetestexcept and
17857         libc_feupdateenv.
17858         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
17859         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
17860         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17861         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17862         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17863         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17864         libc_fetestexcept and libc_feupdateenv.
17866         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
17867         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
17868         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
17869         * sysdeps/x86_64/fpu/math_private.h: Define special version of
17870         libc_feholdexcept_setround.
17872         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
17873         Add s_nearbyint-c and s_nearbyintf-c.
17874         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
17875         nearbyintf inlines.
17876         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
17877         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
17878         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
17879         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
17881         * math/math_private.h: Define defaults for libc_fegetround,
17882         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
17883         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
17884         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
17885         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
17886         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
17887         standard functions.
17888         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17889         Remove comments and hacks for old compiler versions.
17890         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17891         libc_fegetround, libc_fesetround, libc_feholdexcept, and
17892         libc_feholdexceptl.
17894 2011-10-18  Andreas Schwab  <schwab@redhat.com>
17896         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
17897         (__feraiseexcept_renamed): Add __NTH.
17898         (feraiseexcept): Add __NTH.  Rename local variables to fix
17899         namespace violations.
17901 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
17903         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
17905         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
17907         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
17908         recently added interfaces.
17909         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
17911         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
17912         about macro parameter expansion.
17914         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
17915         __NO_MATH_INLINES is defined.  Cleanups.
17917         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
17918         and __floorf is target has SSE4.1.
17919         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
17920         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
17921         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
17922         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
17924         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
17925         name.
17926         (floorf): Likewise.
17928         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
17930 2011-10-17  Andreas Schwab  <schwab@redhat.com>
17932         * misc/sys/cdefs.h: Fix last change.
17934         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
17935         database lookup.
17937 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
17939         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
17941         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
17942         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17943         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17944         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17945         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17946         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17947         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17948         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17949         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17950         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
17951         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
17952         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
17953         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
17954         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
17955         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
17956         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
17957         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
17958         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
17959         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
17960         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
17961         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
17962         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
17964         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
17965         ceil, ceilf, floor, floorf.
17967         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
17968         Perform IRELATIVE relocations last.
17970         * elf/do-rel.h: Add another parameter nrelative, replacing the
17971         local variable with the same name.  Change name of the function
17972         to end in Rel or Rela (uppercase).
17973         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
17974         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
17975         elf_dynamic_do_##reloc function.
17977 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
17979         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
17980         is sufficient, at least on modern CPUs.
17982         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
17984         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
17985         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
17987         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
17988         __expl_finite.
17989         * math/bits/math-finite.h: Add entries for exp.
17990         * math/e_expl.c: Add __*_finite alias.
17991         * sysdeps/i386/fpu/e_exp.S: Likewise.
17992         * sysdeps/i386/fpu/e_expf.S: Likewise.
17993         * sysdeps/i386/fpu/e_expl.c: Likewise.
17994         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17995         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17996         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17997         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17998         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
17999         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18000         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18002         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
18003         is sufficient, at least on modern CPUs.
18005         * ctype/ctype-info.c (__ctype_init): Define.
18006         * include/ctype.h (__ctype_init): Declare.
18007         (__ctype_b_loc): The variable is always initialized.
18008         (__ctype_toupper_loc): Likewise.
18009         (__ctype_tolower_loc): Likewise.
18010         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
18011         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
18013 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
18015         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
18017         * configure.in: Also look in $cxxmachine/include for C++ system
18018         headers.
18020 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18022         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
18023         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
18024         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
18025         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
18026         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
18027         (USE_AS_WMEMCMP): New macro.
18028         Fixing indents.
18029         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
18030         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
18031         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
18032         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
18033         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18034         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
18035         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
18036         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
18037         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
18038         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
18039         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
18040         (USE_AS_WMEMCMP): New macro.
18041         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
18042         * sysdeps/string/test-memcmp.c: Update.
18043         Fix simple_wmemcmp.
18044         Add new tests.
18045         * wcsmbs/wmemcmp.c: Update.
18046         (WMEMCMP): New macro.
18047         Fix overflow bug.
18049 2011-10-12  Andreas Jaeger  <aj@suse.de>
18051         [BZ #13268]
18052         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
18054 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
18056         * libio/iofwide.c (do_length): Avoid warning.
18058         * ctype/ctype.h (__isctype_f): Add missing __THROW.
18060 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
18062         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
18064         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
18065         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
18066         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
18067         * sysdeps/i386/i686/fpu/e_log.S: New file.
18068         * sysdeps/i386/i686/fpu/e_logf.S: New file.
18069         * sysdeps/i386/i686/fpu/e_logl.S: New file.
18071         * ctype/ctype.h: Add support for inlined isXXX functions when
18072         compiling C++ code.
18074 2011-10-14  Andreas Schwab  <schwab@redhat.com>
18076         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18078         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
18080 2011-10-13  Roland McGrath  <roland@hack.frob.com>
18082         [BZ #13291]
18083         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
18085 2011-10-13  Andreas Schwab  <schwab@redhat.com>
18087         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
18088         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
18089         feraiseexcept.
18091         * sysdeps/x86_64/memrchr.S: Check for zero size.
18093         * string/stratcliff.c: Add memrchr tests.
18095 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18097         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18098         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
18099         rawmemchr-sse2 rawmemchr-sse2-bsf.
18100         * sysdeps/i386/i686/multiarch/memchr.S: New file.
18101         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
18102         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
18103         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
18104         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
18105         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
18106         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
18107         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
18108         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
18109         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
18110         * string/memrchr.c (MEMRCHR): New macro.
18112 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
18114         Add integration with gcc's -ffinite-math-only and optimize wrapper
18115         functions in libm.
18116         * Versions.def: Define GLIBC_2.15 version for libm.
18117         * math/Makefile (headers): Add bits/math-finite.h.
18118         * math/bits/math-finite.h: New file.
18119         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
18120         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
18121         * math/e_acoshl.c: Add __*_finite alias.
18122         * math/e_acosl.c: Likewise.
18123         * math/e_asinl.c: Likewise.
18124         * math/e_atan2l.c: Likewise.
18125         * math/e_atanhl.c: Likewise.
18126         * math/e_coshl.c: Likewise.
18127         * math/e_exp10.c: Likewise.
18128         * math/e_exp10f.c: Likewise.
18129         * math/e_exp10l.c: Likewise.
18130         * math/e_exp2l.c: Likewise.
18131         * math/e_fmodl.c: Likewise.
18132         * math/e_gammal_r.c: Likewise.
18133         * math/e_hypotl.c: Likewise.
18134         * math/e_j0l.c: Likewise.
18135         * math/e_j1l.c: Likewise.
18136         * math/e_jnl.c: Likewise.
18137         * math/e_lgammal_r.c: Likewise.
18138         * math/e_log10l.c: Likewise.
18139         * math/e_log2l.c: Likewise.
18140         * math/e_logl.c: Likewise.
18141         * math/e_powl.c: Likewise.
18142         * math/e_sinhl.c: Likewise.
18143         * math/e_sqrtl.c: Likewise.
18144         * math/e_scalb.c: Completely rewritten and optimized.
18145         * math/e_scalbf.c: Likewise.
18146         * math/e_scalbl.c: Likewise.
18147         * math/w_acos.c: Likewise.
18148         * math/w_acosf.c: Likewise.
18149         * math/w_acosl.c: Likewise.
18150         * math/w_acosh.c: Likewise.
18151         * math/w_acoshf.c: Likewise.
18152         * math/w_acoshl.c: Likewise.
18153         * math/w_asin.c: Likewise.
18154         * math/w_asinf.c: Likewise.
18155         * math/w_asinl.c: Likewise.
18156         * math/w_atan2.c: Likewise.
18157         * math/w_atan2f.c: Likewise.
18158         * math/w_atan2l.c: Likewise.
18159         * math/w_atanh.c: Likewise.
18160         * math/w_atanhf.c: Likewise.
18161         * math/w_atanhl.c: Likewise.
18162         * math/w_exp10.c: Likewise.
18163         * math/w_exp10f.c: Likewise.
18164         * math/w_exp10l.c: Likewise.
18165         * math/w_fmod.c: Likewise.
18166         * math/w_fmodf.c: Likewise.
18167         * math/w_fmodl.c: Likewise.
18168         * math/w_j0.c: Likewise.
18169         * math/w_j0f.c: Likewise.
18170         * math/w_j0l.c: Likewise.
18171         * math/w_j1.c: Likewise.
18172         * math/w_j1f.c: Likewise.
18173         * math/w_j1l.c: Likewise.
18174         * math/w_jn.c: Likewise.
18175         * math/w_jnf.c: Likewise.
18176         * math/w_log.c: Likewise.
18177         * math/w_logf.c: Likewise.
18178         * math/w_logl.c: Likewise.
18179         * math/w_log10.c: Likewise.
18180         * math/w_log10f.c: Likewise.
18181         * math/w_log10l.c: Likewise.
18182         * math/w_log2.c: Likewise.
18183         * math/w_log2f.c: Likewise.
18184         * math/w_log2l.c: Likewise.
18185         * math/w_pow.c: Likewise.
18186         * math/w_powf.c: Likewise.
18187         * math/w_powl.c: Likewise.
18188         * math/w_remainder.c: Likewise.
18189         * math/w_remainderf.c: Likewise.
18190         * math/w_remainderl.c: Likewise.
18191         * math/w_scalb.c: Likewise.
18192         * math/w_scalbf.c: Likewise.
18193         * math/w_scalbl.c: Likewise.
18194         * math/w_sqrt.c: Likewise.
18195         * math/w_sqrtf.c: Likewise.
18196         * math/w_sqrtl.c: Likewise.
18197         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
18198         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
18199         used.
18200         * math/math_private.h: Declare __kernel_standard_f.
18201         * math/w_cosh.c: Remove cruft and optimize a bit.
18202         * math/w_coshf.c: Likewise.
18203         * math/w_coshl.c: Likewise.
18204         * math/w_exp2.c: Likewise.
18205         * math/w_exp2f.c: Likewise.
18206         * math/w_exp2l.c: Likewise.
18207         * math/w_hypot.c: Likewise.
18208         * math/w_hypotf.c: Likewise.
18209         * math/w_hypotl.c: Likewise.
18210         * math/w_lgamma.c: Likewise.
18211         * math/w_lgamma_r.c: Likewise.
18212         * math/w_lgammaf.c: Likewise.
18213         * math/w_lgammaf_r.c: Likewise.
18214         * math/w_lgammal.c: Likewise.
18215         * math/w_lgammal_r.c: Likewise.
18216         * math/w_sinh.c: Likewise.
18217         * math/w_sinhf.c: Likewise.
18218         * math/w_sinhl.c: Likewise.
18219         * math/w_tgamma.c: Likewise.
18220         * math/w_tgammaf.c: Likewise.
18221         * math/w_tgammal.c: Likewise.
18222         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18223         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18224         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
18225         Minor optimizations.  Pretty printing.  Remove cruft.
18226         * sysdeps/i386/fpu/e_acosf.S: Likewise.
18227         * sysdeps/i386/fpu/e_acosh.S: Likewise.
18228         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18229         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18230         * sysdeps/i386/fpu/e_acosl.c: Likewise.
18231         * sysdeps/i386/fpu/e_asin.S: Likewise.
18232         * sysdeps/i386/fpu/e_asinf.S: Likewise.
18233         * sysdeps/i386/fpu/e_atan2.S: Likewise.
18234         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
18235         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
18236         * sysdeps/i386/fpu/e_atanh.S: Likewise.
18237         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18238         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18239         * sysdeps/i386/fpu/e_exp10.S: Likewise.
18240         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
18241         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
18242         * sysdeps/i386/fpu/e_exp2.S: Likewise.
18243         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
18244         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
18245         * sysdeps/i386/fpu/e_fmod.S: Likewise.
18246         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
18247         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
18248         * sysdeps/i386/fpu/e_hypot.S: Likewise.
18249         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
18250         * sysdeps/i386/fpu/e_log.S: Likewise.
18251         * sysdeps/i386/fpu/e_log10.S: Likewise.
18252         * sysdeps/i386/fpu/e_log10f.S: Likewise.
18253         * sysdeps/i386/fpu/e_log10l.S: Likewise.
18254         * sysdeps/i386/fpu/e_log2.S: Likewise.
18255         * sysdeps/i386/fpu/e_log2f.S: Likewise.
18256         * sysdeps/i386/fpu/e_log2l.S: Likewise.
18257         * sysdeps/i386/fpu/e_logf.S: Likewise.
18258         * sysdeps/i386/fpu/e_logl.S: Likewise.
18259         * sysdeps/i386/fpu/e_pow.S: Likewise.
18260         * sysdeps/i386/fpu/e_powf.S: Likewise.
18261         * sysdeps/i386/fpu/e_powl.S: Likewise.
18262         * sysdeps/i386/fpu/e_remainder.S: Likewise.
18263         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
18264         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
18265         * sysdeps/i386/fpu/e_scalb.S: Likewise.
18266         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18267         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18268         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
18269         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
18270         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
18271         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18272         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18273         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18274         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18275         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18276         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18277         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18278         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18279         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18280         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18281         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18282         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18283         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18284         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18285         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18286         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18287         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18288         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18289         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18290         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18291         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18292         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18293         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18294         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18295         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18296         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18297         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18298         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18299         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
18300         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18301         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18302         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18303         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18304         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18305         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18306         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18307         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18308         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18309         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18310         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18311         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18312         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18313         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18314         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18315         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18316         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18317         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18318         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18319         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18320         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
18321         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18322         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18323         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18324         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18325         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18326         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18327         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18328         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18329         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18330         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18331         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18332         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18333         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18334         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18335         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18336         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18337         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18338         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18339         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
18340         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18341         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18342         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18343         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18344         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18345         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18346         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18347         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
18348         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18349         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18350         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18351         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18352         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18353         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
18354         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18355         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18356         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18357         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18358         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18359         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18360         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18361         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18362         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18363         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18364         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18365         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18366         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18367         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18368         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
18369         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
18370         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
18371         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
18372         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
18373         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
18374         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
18375         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18376         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18377         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18378         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18379         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
18380         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18381         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
18382         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
18383         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
18384         (__isnanf): Likewise.
18385         (__isinf_ns): Likewise.
18386         (__isinf_nsf): Likewise.
18387         (__finite): Likewise.
18388         (__finitef): Likewise.
18389         (__ieee754_sqrt): Define as macro.
18390         (__ieee754_sqrtf): Define as macro.
18391         (__ieee754_sqrtl): Define as macro.
18392         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
18393         inlined copy.
18394         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
18395         __FINITE_MATH_ONLY__ consistent.
18396         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
18398 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
18400         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
18401         of rawmemchr.
18403         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
18405 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
18407         * po/ja.po: Update from translation team.
18409 2011-10-08  Roland McGrath  <roland@hack.frob.com>
18411         * locale/programs/locarchive.c (prepare_address_space): New function.
18412         (create_archive, enlarge_archive, open_archive): Use it.
18414         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
18415         inside [SHARED], where it is used.
18417         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
18419         * nss/getent.c (netgroup_keys): Remove unused variable.
18420         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18422 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
18424         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
18425         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
18426         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
18427         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
18428         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
18429         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
18430         * math/Makefile (libm-calls): Add s_isinf_ns.
18431         * math/divtc3.c: Use __isinf_nsl instead of isinf.
18432         * math/multc3.c: Likewise.
18433         * math/s_casin.c: Likewise.
18434         * math/s_casinf.c: Likewise.
18435         * math/s_casinl.c: Likewise.
18436         * math/s_ccos.c: Likewise.
18437         * math/s_ccosf.c: Likewise.
18438         * math/s_ccosl.c: Likewise.
18439         * math/s_ctan.c: Likewise.
18440         * math/s_ctanf.c: Likewise.
18441         * math/s_ctanh.c: Likewise.
18442         * math/s_ctanhf.c: Likewise.
18443         * math/s_ctanhl.c: Likewise.
18444         * math/s_ctanl.c: Likewise.
18445         * math/w_fmod.c: Likewise.
18446         * math/w_fmodf.c: Likewise.
18447         * math/w_fmodl.c: Likewise.
18448         * math/w_remainder.c: Likewise.
18449         * math/w_remainderf.c: Likewise.
18450         * math/w_remainderl.c: Likewise.
18451         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
18452         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
18453         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
18454         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
18455         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
18456         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
18457         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
18458         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
18460         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
18461         of the number.
18462         * stdio-common/printf_fphex.c: Likewise.
18463         * stdio-common/printf_size.c: Likewise.
18465         * math/e_exp10.c: Include math_private.h using <...> not "...".
18466         * math/e_exp10f.c: Likewise.
18467         * math/e_exp10l.c: Likewise.
18468         * math/e_exp2l.c: Likewise.
18469         * math/e_j0l.c: Likewise.
18470         * math/e_j1l.c: Likewise.
18471         * math/e_jnl.c: Likewise.
18472         * math/e_lgammal_r.c: Likewise.
18473         * math/e_rem_pio2l.c: Likewise.
18474         * math/e_scalb.c: Likewise.
18475         * math/e_scalbf.c: Likewise.
18476         * math/e_scalbl.c: Likewise.
18477         * math/k_cosl.c: Likewise.
18478         * math/k_sinl.c: Likewise.
18479         * math/k_tanl.c: Likewise.
18480         * math/s_cacoshf.c: Likewise.
18481         * math/s_catan.c: Likewise.
18482         * math/s_catanf.c: Likewise.
18483         * math/s_catanh.c: Likewise.
18484         * math/s_catanhf.c: Likewise.
18485         * math/s_catanhl.c: Likewise.
18486         * math/s_catanl.c: Likewise.
18487         * math/s_ccosh.c: Likewise.
18488         * math/s_ccoshf.c: Likewise.
18489         * math/s_ccoshl.c: Likewise.
18490         * math/s_cexp.c: Likewise.
18491         * math/s_cexpf.c: Likewise.
18492         * math/s_cexpl.c: Likewise.
18493         * math/s_clog.c: Likewise.
18494         * math/s_clog10.c: Likewise.
18495         * math/s_clog10f.c: Likewise.
18496         * math/s_clog10l.c: Likewise.
18497         * math/s_clogf.c: Likewise.
18498         * math/s_clogl.c: Likewise.
18499         * math/s_csin.c: Likewise.
18500         * math/s_csinf.c: Likewise.
18501         * math/s_csinh.c: Likewise.
18502         * math/s_csinhf.c: Likewise.
18503         * math/s_csinhl.c: Likewise.
18504         * math/s_csinl.c: Likewise.
18505         * math/s_csqrt.c: Likewise.
18506         * math/s_csqrtf.c: Likewise.
18507         * math/s_csqrtl.c: Likewise.
18508         * math/s_ctan.c: Likewise.
18509         * math/s_ctanf.c: Likewise.
18510         * math/s_ctanh.c: Likewise.
18511         * math/s_ctanhf.c: Likewise.
18512         * math/s_ctanhl.c: Likewise.
18513         * math/s_ctanl.c: Likewise.
18514         * math/s_ldexp.c: Likewise.
18515         * math/s_ldexpf.c: Likewise.
18516         * math/s_ldexpl.c: Likewise.
18517         * math/s_significand.c: Likewise.
18518         * math/s_significandf.c: Likewise.
18519         * math/s_significandl.c: Likewise.
18520         * math/w_acos.c: Likewise.
18521         * math/w_acosf.c: Likewise.
18522         * math/w_acosh.c: Likewise.
18523         * math/w_acoshf.c: Likewise.
18524         * math/w_acoshl.c: Likewise.
18525         * math/w_acosl.c: Likewise.
18526         * math/w_asin.c: Likewise.
18527         * math/w_asinf.c: Likewise.
18528         * math/w_asinl.c: Likewise.
18529         * math/w_atan2.c: Likewise.
18530         * math/w_atan2f.c: Likewise.
18531         * math/w_atan2l.c: Likewise.
18532         * math/w_atanh.c: Likewise.
18533         * math/w_atanhf.c: Likewise.
18534         * math/w_atanhl.c: Likewise.
18535         * math/w_cosh.c: Likewise.
18536         * math/w_coshf.c: Likewise.
18537         * math/w_coshl.c: Likewise.
18538         * math/w_dremf.c: Likewise.
18539         * math/w_exp10.c: Likewise.
18540         * math/w_exp10f.c: Likewise.
18541         * math/w_exp10l.c: Likewise.
18542         * math/w_exp2.c: Likewise.
18543         * math/w_exp2f.c: Likewise.
18544         * math/w_fmod.c: Likewise.
18545         * math/w_fmodf.c: Likewise.
18546         * math/w_fmodl.c: Likewise.
18547         * math/w_hypot.c: Likewise.
18548         * math/w_hypotf.c: Likewise.
18549         * math/w_hypotl.c: Likewise.
18550         * math/w_j0.c: Likewise.
18551         * math/w_j0f.c: Likewise.
18552         * math/w_j0l.c: Likewise.
18553         * math/w_j1.c: Likewise.
18554         * math/w_j1f.c: Likewise.
18555         * math/w_j1l.c: Likewise.
18556         * math/w_jn.c: Likewise.
18557         * math/w_jnf.c: Likewise.
18558         * math/w_jnl.c: Likewise.
18559         * math/w_lgamma.c: Likewise.
18560         * math/w_lgamma_r.c: Likewise.
18561         * math/w_lgammaf.c: Likewise.
18562         * math/w_lgammaf_r.c: Likewise.
18563         * math/w_lgammal.c: Likewise.
18564         * math/w_lgammal_r.c: Likewise.
18565         * math/w_log.c: Likewise.
18566         * math/w_log10.c: Likewise.
18567         * math/w_log10f.c: Likewise.
18568         * math/w_log10l.c: Likewise.
18569         * math/w_log2.c: Likewise.
18570         * math/w_log2f.c: Likewise.
18571         * math/w_log2l.c: Likewise.
18572         * math/w_logf.c: Likewise.
18573         * math/w_logl.c: Likewise.
18574         * math/w_pow.c: Likewise.
18575         * math/w_powf.c: Likewise.
18576         * math/w_powl.c: Likewise.
18577         * math/w_remainder.c: Likewise.
18578         * math/w_remainderf.c: Likewise.
18579         * math/w_remainderl.c: Likewise.
18580         * math/w_scalb.c: Likewise.
18581         * math/w_scalbf.c: Likewise.
18582         * math/w_scalbl.c: Likewise.
18583         * math/w_sinh.c: Likewise.
18584         * math/w_sinhf.c: Likewise.
18585         * math/w_sinhl.c: Likewise.
18586         * math/w_sqrt.c: Likewise.
18587         * math/w_sqrtf.c: Likewise.
18588         * math/w_sqrtl.c: Likewise.
18589         * math/w_tgamma.c: Likewise.
18590         * math/w_tgammaf.c: Likewise.
18591         * math/w_tgammal.c: Likewise.
18593         * po/ja.po: Update from translation team.
18595 2011-09-29  Andreas Jaeger  <aj@suse.de>
18597         [BZ #13179]
18598         * sunrpc/netname.c (netname2host): Fix logic.
18600         [BZ #6779]
18601         [BZ #6783]
18602         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
18603         correctly.
18604         * math/w_remainder.c (__remainder): Likewise.
18605         * math/w_remainderf.c (__remainderf): Likewise.
18606         * math/libm-test.inc (remainder_test): Add test cases.
18608 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18610         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
18611         sdiv_qrnnd.
18613 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
18615         * string/test-memcmp.c: Avoid unncessary #defines.
18616         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18618 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18620         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
18621         Use new sse2 version for core i3 - i7 as it's faster
18622         than sse42 version.
18623         (bit_Prefer_PMINUB_for_stringop): New.
18624         * sysdeps/x86_64/rawmemchr.S: Update.
18625         Replace with faster SSE2 version.
18626         * sysdeps/x86_64/memrchr.S: New file.
18627         * sysdeps/x86_64/memchr.S: Update.
18628         Replace with faster SSE2 version.
18630 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
18632         * elf/dl-load.c (lose): Add cast to avoid warning.
18634 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
18636         * po/ca.po: Update from translation team.
18638         * inet/getnetgrent_r.c: Hook up nscd.
18639         * nscd/Makefile (routines): Add nscd_netgroup.
18640         (nscd-modules): Add netgroupcache.
18641         (CFLAGS-netgroupcache.c): Define.
18642         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
18643         (cache_search): Add const to second parameter.
18644         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
18645         INNETGR.
18646         (dbs): Add netgrdb entry.
18647         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
18648         (verify_persistent_db): Handle netgrdb.
18649         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
18650         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
18651         GETFDNETGR.
18652         (netgroup_response_header): Define.
18653         (innetgroup_response_header): Define.
18654         (datahead): Add netgroup_response_header and innetgroup_response_header
18655         elements.
18656         * nscd/nscd.conf: Add entries for netgroup cache.
18657         * nscd/nscd.h (dbtype): Add netgrdb.
18658         (_PATH_NSCD_NETGROUP_DB): Define.
18659         (netgroup_iov_disabled): Declare.
18660         (xmalloc, xcalloc, xrealloc): Move declarations here.
18661         (cache_search): Adjust prototype.
18662         Add netgroup-related prototypes.
18663         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
18664         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
18665         (__nscd_innetgr): Declare.
18666         * nscd/selinux.c (perms): Use access_vector_t as element type and
18667         add netgroup-related initializers.
18668         * nscd/netgroupcache.c: New file.
18669         * nscd/nscd_netgroup.c: New file.
18670         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
18671         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
18672         For four parameters use innetgr.
18673         * nss/nss_files/files-init.c: Add definition and callback for netgr.
18674         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
18675         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
18676         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
18678         * nscd/connections.c (register_traced_file): Don't register file
18679         for disabled databases.
18681 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
18683         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
18685         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
18686         from tree and freeing node.
18688 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
18690         * nss/nsswitch.c (__nss_database_lookup): Handle
18691         nss_parse_service_list out of memory case.
18693 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
18695         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
18696         out of memory case.
18698 2011-10-04  Andreas Schwab  <schwab@redhat.com>
18700         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
18701         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
18702         pass it down.
18703         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
18704         elf_machine_rela, elf_machine_lazy_rel.
18705         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
18706         (ELF_DYNAMIC_DO_REL): Likewise.
18707         (ELF_DYNAMIC_DO_RELA): Likewise.
18708         (ELF_DYNAMIC_RELOCATE): Likewise.
18709         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
18710         to ELF_DYNAMIC_DO_REL.
18711         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
18712         (dl_main): In trace mode always set __RTLD_NOIFUNC.
18713         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
18714         elf_machine_rela.
18715         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
18716         skip_ifunc, don't call ifunc function if non-zero.
18717         (elf_machine_rela): Likewise.
18718         (elf_machine_lazy_rel): Likewise.
18719         (elf_machine_lazy_rela): Likewise.
18720         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
18721         (elf_machine_lazy_rel): Likewise.
18722         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
18723         Likewise.
18724         (elf_machine_lazy_rel): Likewise.
18725         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18726         Likewise.
18727         (elf_machine_lazy_rel): Likewise.
18728         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
18729         (elf_machine_lazy_rel): Likewise.
18730         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
18731         (elf_machine_lazy_rel): Likewise.
18732         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18733         (elf_machine_lazy_rel): Likewise.
18734         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
18735         (elf_machine_lazy_rel): Likewise.
18736         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
18737         (elf_machine_lazy_rel): Likewise.
18738         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18739         (elf_machine_lazy_rel): Likewise.
18741 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
18743         * nss/nss_files/files-init.c (_nss_files_init): Use static
18744         initialization for all the *_traced_file variables.
18746 2011-09-28  Andreas Schwab  <schwab@redhat.com>
18748         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18750 2011-09-27  Roland McGrath  <roland@hack.frob.com>
18752         [BZ #13226]
18753         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
18755 2011-09-27  Andreas Schwab  <schwab@redhat.com>
18757         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18758         Reread the line before reparsing it.
18760 2011-09-26  Andreas Schwab  <schwab@redhat.com>
18762         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
18764 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
18765             Maxim Kuvyrkov  <maxim@codesourcery.com>
18766             Joseph Myers  <joseph@codesourcery.com>
18768         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
18769         if needed for __stack_chk_guard.
18771 2011-09-19  Roland McGrath  <roland@hack.frob.com>
18773         * sysdeps/posix/spawni.c (script_execute): Always define it.
18774         It will be optimized away if unused.
18775         (maybe_script_execute): New function.
18776         (__spawni): Call it.
18778         * Makerules: Don't include tls.make.
18779         (config-tls): Always set to thread.
18780         * tls.make.c: File removed.
18782 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
18784         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
18785         * config.make.in (CPPFLAGS-config): New substituted variable.
18787 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
18789         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
18791         [BZ #13192]
18792         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
18793         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
18795 2011-09-15  Roland McGrath  <roland@hack.frob.com>
18797         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
18798         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
18799         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18800         (CALL_FAIL): Likewise.
18801         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
18802         (CALL_FAIL): Macro removed.
18803         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
18805 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
18807         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
18808         for __FINITE_MATH_ONLY__ == 1.
18810 2011-09-15  Andreas Schwab  <schwab@redhat.com>
18812         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
18813         __ieee754_sqrt instead of sqrt.
18814         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
18815         __ieee754_sqrtf instead of sqrtf.
18816         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
18817         __floorf instead of floorf.
18818         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
18819         __floorf, __truncf instead of floorf, truncf.
18821 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
18823         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
18825         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
18826         __extern_always_inline.
18827         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
18828         32-bit.
18830 2011-09-14  Andreas Schwab  <schwab@redhat.com>
18832         * elf/rtld.c (dl_main): Also relocate in dependency order when
18833         doing symbol dependency testing.
18835 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
18837         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18838         Always define `refsym'.
18840 2011-09-13  Andreas Schwab  <schwab@redhat.com>
18842         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
18843         (__FD_ELT): Renamed from __FDELT.
18844         * misc/bits/select2.h (__FD_ELT): Likewise.
18845         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
18846         __FD_MASK instead of __FDELT, __FDMASK.
18847         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18848         Likewise.
18849         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18850         Likewise.
18852         * elf/Makefile (gen-ldd): Fix pattern.
18854         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
18855         (init_tls): Likewise.
18857 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
18859         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
18861 2011-09-12  Andreas Schwab  <schwab@redhat.com>
18863         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
18864         `struct cmsghdr *' instead of `void *'.
18865         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
18866         Likewise.
18868 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
18870         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
18871         if non-absolute.
18872         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
18873         ldd_rewrite_script.
18875 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
18877         * configure.in: Remove --with-tls option.
18878         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
18879         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
18880         out in case it is missing.
18881         * sysdeps/ia64/elf/configure.in: Likewise.
18882         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
18883         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
18884         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
18885         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
18886         * sysdeps/sh/elf/configure.in: Likewise.
18887         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
18888         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18889         * sysdeps/x86_64/elf/configure.in: Likewise.
18890         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
18891         * sysdeps/mach/hurd/tls.h: Likewise.
18893         [BZ #13067]
18894         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
18896         [BZ #13090]
18897         * configure.in: Fix use of AC_INIT.
18899         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
18901 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
18903         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
18904         __set_errno.
18905         * malloc/hooks.c: Likewise.
18907         [BZ #11929]
18908         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
18909         variables statically.
18910         (narenas): Initialize.
18911         (list_lock): Initialize.
18912         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
18913         initializtion of main_arena and list_lock.  Small cleanups.
18914         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
18915         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
18916         Add initializers to main_arena and mp_.
18917         (malloc_state): Remove pagesize member.  Change all users to use
18918         GLRO(dl_pagesize).
18920         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
18921         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
18922         is always initialized.
18924         * malloc/malloc.c: Removed unused configurations and dead code.
18925         * malloc/arena.c: Likewise.
18926         * malloc/hooks.c: Likewise.
18927         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
18929         * include/tls.h: Removed.  USE___THREAD must always be defined.
18930         * bits/libc-tsd.h: Don't handle !USE___THREAD.
18931         * elf/dl-libc.c: Likewise.
18932         * elf/dl-tsd.c: Likewise.
18933         * include/errno.h: Likewise.
18934         * include/netdb.h: Likewise.
18935         * include/resolv.h: Likewise.
18936         * inet/herrno-loc.c: Likewise.
18937         * inet/herrno.c: Likewise.
18938         * malloc/arena.c: Likewise.
18939         * malloc/hooks.c: Likewise.
18940         * malloc/malloc.c: Likewise.
18941         * resolv/res-state.c: Likewise.
18942         * resolv/res_libc.c: Likewise.
18943         * sysdeps/i386/dl-machine.h: Likewise.
18944         * sysdeps/ia64/dl-machine.h: Likewise.
18945         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
18946         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18947         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18948         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18949         * sysdeps/sh/dl-machine.h: Likewise.
18950         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18951         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18952         * sysdeps/unix/i386/sysdep.S: Likewise.
18953         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18954         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
18955         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
18956         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18957         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
18958         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18959         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18960         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18961         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18962         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18963         * sysdeps/unix/x86_64/sysdep.S: Likewise.
18964         * sysdeps/x86_64/dl-machine.h: Likewise.
18965         * tls.make.c: Likewise.
18967         * configure.in: Remove --with-__thread option.  Make tests for
18968         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
18969         tls_model attribute fail if no support is available.  Remove
18970         USE_IN_LIBIO.
18971         * Makeconfig: Adjust for dropped configure option.  All features are
18972         now mandatory.
18973         * Makerules: Likewise.
18974         * Versions.def: Likewise.
18975         * argp/argp-fmtstream.c: Likewise.
18976         * argp/argp-fmtstream.h: Likewise.
18977         * argp/argp-help.c: Likewise.
18978         * assert/assert.c: Likewise.
18979         * config.h.in: Likewise.
18980         * config.make.in: Likewise.
18981         * configure: Likewise.
18982         * configure.in: Likewise.
18983         * csu/Versions: Likewise.
18984         * csu/init.c: Likewise.
18985         * elf/tst-audit2.c: Likewise.
18986         * elf/tst-tls10.c: Likewise.
18987         * elf/tst-tls10.h: Likewise.
18988         * elf/tst-tls11.c: Likewise.
18989         * elf/tst-tls12.c: Likewise.
18990         * elf/tst-tls14.c: Likewise.
18991         * elf/tst-tlsmod11.c: Likewise.
18992         * elf/tst-tlsmod12.c: Likewise.
18993         * elf/tst-tlsmod13.c: Likewise.
18994         * elf/tst-tlsmod13a.c: Likewise.
18995         * elf/tst-tlsmod14a.c: Likewise.
18996         * elf/tst-tlsmod15b.c: Likewise.
18997         * elf/tst-tlsmod16a.c: Likewise.
18998         * elf/tst-tlsmod16b.c: Likewise.
18999         * elf/tst-tlsmod7.c: Likewise.
19000         * elf/tst-tlsmod8.c: Likewise.
19001         * elf/tst-tlsmod9.c: Likewise.
19002         * gmon/gmon.c: Likewise.
19003         * grp/fgetgrent_r.c: Likewise.
19004         * grp/putgrent.c: Likewise.
19005         * hurd/fopenport.c: Likewise.
19006         * include/libc-symbols.h: Likewise.
19007         * include/tls.h: Likewise.
19008         * intl/gettextP.h: Likewise.
19009         * intl/loadinfo.h: Likewise.
19010         * locale/global-locale.c: Likewise.
19011         * locale/localeinfo.h: Likewise.
19012         * mach/devstream.c: Likewise.
19013         * malloc/arena.c: Likewise.
19014         * malloc/set-freeres.c: Likewise.
19015         * misc/err.c: Likewise.
19016         * misc/getttyent.c: Likewise.
19017         * misc/mntent_r.c: Likewise.
19018         * posix/getopt.c: Likewise.
19019         * posix/wordexp.c: Likewise.
19020         * pwd/fgetpwent_r.c: Likewise.
19021         * resolv/Versions: Likewise.
19022         * resolv/res_hconf.c: Likewise.
19023         * shadow/fgetspent_r.c: Likewise.
19024         * shadow/putspent.c: Likewise.
19025         * stdio-common/printf_fphex.c: Likewise.
19026         * stdio-common/tmpfile.c: Likewise.
19027         * stdlib/abort.c: Likewise.
19028         * stdlib/fmtmsg.c: Likewise.
19029         * sunrpc/auth_unix.c: Likewise.
19030         * sunrpc/clnt_perr.c: Likewise.
19031         * sunrpc/clnt_tcp.c: Likewise.
19032         * sunrpc/clnt_udp.c: Likewise.
19033         * sunrpc/clnt_unix.c: Likewise.
19034         * sunrpc/openchild.c: Likewise.
19035         * sunrpc/svc_simple.c: Likewise.
19036         * sunrpc/svc_tcp.c: Likewise.
19037         * sunrpc/svc_udp.c: Likewise.
19038         * sunrpc/svc_unix.c: Likewise.
19039         * sunrpc/xdr.c: Likewise.
19040         * sunrpc/xdr_array.c: Likewise.
19041         * sunrpc/xdr_rec.c: Likewise.
19042         * sunrpc/xdr_ref.c: Likewise.
19043         * sunrpc/xdr_stdio.c: Likewise.
19045 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
19047         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19049 2011-07-03  Andreas Jaeger  <aj@suse.de>
19051         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
19052         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
19053         regenerate with gen-libm-tests.pl.
19055 2010-05-12  Petr Baudis  <pasky@suse.cz>
19057         [BZ #11589]
19058         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
19059         around j0() zero points by switching to j1().
19060         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19061         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19062         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19063         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19065 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
19067         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
19068         instead of 0.
19069         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
19070         instead of 0.                              .
19071         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19072         Patch in part by Pavel Roskin <proski@gnu.org>.
19074         [BZ #13138]
19075         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
19076         realloc.
19077         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
19078         Free memory block if necessary.
19080         [BZ #12847]
19081         * libio/genops.c (INTDEF): For string streams the _lock pointer can
19082         be NULL.  Don't lock in this case.
19084 2011-09-09  Roland McGrath  <roland@hack.frob.com>
19086         * elf/elf.h (ELFOSABI_GNU): New macro.
19087         (ELFOSABI_LINUX): Define to that.
19089 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
19091         * string/strncat.c (strncat): Undef the symbol in case it has been
19092         defined in bits/string.h.
19094 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
19096         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
19098         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
19099         link map.
19101 2011-08-17  Andreas Jaeger  <aj@suse.de>
19103         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
19105 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
19106             Ian Lance Taylor  <iant@google.com>
19108         * math/libm-test.inc (lround_test): New testcase.
19109         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
19111 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
19113         * Makefile: Remove support for automatic cvs check-ins.
19114         * Makerules: Likewise.
19115         * config.make.in: Likewise.
19116         * configure.in: Likewise.
19117         * intl/Makefile: Likewise.
19118         * locale/Makefile: Likewise.
19119         * po/Makefile: Likewise.
19120         * posix/Makefile: Likewise.
19121         * sysdeps/gnu/Makefile: Likewise.
19122         * sysdeps/mach/hurd/Makefile: Likewise.
19123         * sysdeps/sparc/sparc32/Makefile: Likewise.
19125         [BZ #13118]
19126         * posix/Makefile (bug-regex32-ENV): Define.
19127         Patch by John Stanley <jpsinthemix@verizon.net>.
19129         * misc/Makefile (headers): Add bits/select2.h.
19130         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
19131         * misc/bits/select2.h: New file.
19132         * include/bits/select2.h: New file.
19133         * debug/Makefile (routines): Add fdelt_chk.
19134         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
19135         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
19136         FD_ISSET.
19137         * debug/fdelt_chk.c: New file.
19139         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
19140         * wcsmbs/test-wmemcmp.c: Likewise.
19141         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
19142         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
19144 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19146         * string/Makefile (strop-tests): Add memcmp.
19147         * string/test-wmemcmp.c: New file.
19148         * string/test-memcmp.c: Add wmemcmp support.
19150 2011-09-08  Roland McGrath  <roland@hack.frob.com>
19152         [BZ #13153]
19153         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
19154         2011-07-19 change.
19156         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
19157         garbage value in a __mach_port_mod_refs call in the cases of the
19158         task-self and thread-self ports.
19160 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19162         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
19164 2011-09-08  Andreas Schwab  <schwab@redhat.com>
19166         * elf/dl-load.c (lose): Check for non-null L.
19168 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
19170         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
19172         * elf/dl-libc.c (dlerror_run): Pass back error code from
19173         dl_catch_error.
19175         [BZ #13123]
19176         * elf/dl-load.c (lose): Free l_origin if it is valid.
19178         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
19179         names.
19180         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
19181         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19182         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19183         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19184         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
19185         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
19187 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19189         * sysdeps/powerpc/fpu/e_hypot.c: New file.
19190         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
19191         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
19192         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
19193         * sysdeps/powerpc/fpu/k_cosf.c: New file.
19194         * sysdeps/powerpc/fpu/k_sinf.c: New file.
19195         * sysdeps/powerpc/fpu/s_cosf.c: New file.
19196         * sysdeps/powerpc/fpu/s_sinf.c: New file.
19197         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
19198         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
19200 2011-08-15  Alan Modra  <amodra@gmail.com>
19202         [BZ #13092]
19203         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
19204         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
19205         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
19206         ppc_mcount to static-only-routines.
19207         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
19208         __mcount_internal.
19209         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
19210         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
19212 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
19214         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
19215         for finite and infinity parameters.
19217 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
19219         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
19220         and add nop instructions for throughput optimization.
19221         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19223 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
19225         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
19226         aligned copy for power7 with vector-scalar instructions.
19227         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
19229 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
19231         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
19232         AVX check.
19234 2011-09-07  Andreas Schwab  <schwab@redhat.com>
19236         [BZ #13144]
19237         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
19238         last change.
19240 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
19242         * sysdeps/unix/sysv/linux/x86_64/init-first.c
19243         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
19244         syscall wrapper around clock_gettime in __vdso_clock_gettime.
19245         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
19246         clock_gettime.
19248 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
19250         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
19251         Forgot to demangle the pointer.
19253         * sysdeps/i386/sysdep.h: Define atom_text_section.
19254         * sysdeps/x86_64/sysdep.h: Likewise.
19255         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
19256         section with atom_text_section.
19257         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19258         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19259         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
19260         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19261         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
19263         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
19264         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
19265         already be defined.  Change to take two parameters and don't assign
19266         result to variable.  Adjust all users.
19267         Define INTERNAL_GETTIME if not already defined.
19268         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
19269         call.
19270         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
19271         HAVE_CLOCK_GETTIME_VSYSCALL.
19272         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
19274         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
19275         gettimeofday vsyscall, just use time.
19277 2011-09-06  Andreas Schwab  <schwab@redhat.com>
19279         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
19280         <errno.h>.
19282 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
19284         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
19285         syscall on x86-64.
19286         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
19287         syscall.
19288         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
19289         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
19290         syscall if possible.
19292 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
19294         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
19295         e_ident.  Don't pass to find_mapsXX.
19296         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
19298 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19300         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19301         strchr-sse2-no-bsf strrchr-sse2-no-bsf
19302         * sysdeps/x86_64/multiarch/strchr.S: Update.
19303         Check bit_slow_BSF bit.
19304         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19305         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
19306         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
19308 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
19310         [BZ #13134]
19311         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
19312         before glibc 2.15.
19313         (tryshell): Define.
19314         (__spawni): Change last parameter to be flag.  Test
19315         SPAWN_XFLAGS_USE_PATH flag to use path or not.
19316         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
19317         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
19318         * posix/spawni.c: Likewise.
19319         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
19320         * posix/spawnp.c: Likewise.  Change normal version to use
19321         SPAWN_XFLAGS_USE_PATH.
19322         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
19323         SPAWN_XFLAGS_TRY_SHELL.
19325         [BZ #13150]
19326         * posix/glob.h: Remove gcc 1.x support.
19328         [BZ #13068]
19329         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
19331 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19333         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19334         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
19335         strrchr-sse2-bsf
19336         * sysdeps/i386/i686/multiarch/strchr.S: New file.
19337         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
19338         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
19339         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
19340         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
19341         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
19343 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19345         * sysdeps/x86_64/wcscmp.S: New file.
19347         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
19348         wcscmp-c wcscmp-sse2
19349         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
19350         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
19351         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
19352         * wcsmbs/wcscmp.c: Allow renaming.
19354 2011-09-05  David S. Miller  <davem@davemloft.net>
19356         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
19357         stack slot, rather than the struct return pointer slot.
19358         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
19359         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
19360         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
19361         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
19363 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
19365         * po/ja.po: Update from translation team.
19367         [BZ #13144]
19368         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
19369         kernel in 64-bit binaries.
19371 2011-09-01  David S. Miller  <davem@davemloft.net>
19373         * elf/elf.h (HWCAP_SPARC_*): Move to..
19374         * sysdeps/sparc/sysdep.h: this new file and add new values.
19375         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
19376         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
19377         _DL_HWCAP_COUNT to 24.
19378         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19379         entries.
19380         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
19381         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
19382         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
19383         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
19384         instead of magic constants.
19385         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19387 2011-08-31  David S. Miller  <davem@davemloft.net>
19389         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
19390         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
19391         Reimplement to do errno handling inline.
19392         (SYSCALL_ERROR_HANDLER): New macro.
19393         (__SYSCALL_STRING): Do not do errno handling in asm.
19394         (__CLONE_SYSCALL_STRING): Delete.
19395         (__INTERNAL_SYSCALL_STRING): Delete.
19396         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
19397         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
19398         (PSEUDO): Reimplement to do errno handling inline.
19399         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
19400         (SYSCALL_ERROR_HANDLER): New macro.
19401         (__SYSCALL_STRING): Do not do errno handling in asm.
19402         (__CLONE_SYSCALL_STRING): Delete.
19403         (__INTERNAL_SYSCALL_STRING): Delete.
19404         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
19405         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
19406         i386.
19407         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
19408         (inline_syscall*): Add 'err' argument.
19409         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
19410         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
19411         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
19412         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
19414         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
19415         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19417 2011-08-30  Andreas Schwab  <schwab@redhat.com>
19419         * elf/rtld.c (dl_main): Relocate objects in dependency order.
19421 2011-08-29  Jiri Olsa <jolsa@redhat.com>
19423         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
19424         directive.
19426 2011-08-24  David S. Miller  <davem@davemloft.net>
19428         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
19430 2011-08-24  Andreas Schwab  <schwab@redhat.com>
19432         * elf/Makefile: Add rules to build and run unload8 test.
19433         * elf/unload8.c: New file.
19434         * elf/unload8mod1.c: New file.
19435         * elf/unload8mod1x.c: New file.
19436         * elf/unload8mod2.c: New file.
19437         * elf/unload8mod3.c: New file.
19439         * elf/dl-close.c (_dl_close_worker): Reset private search list if
19440         it wasn't used.
19442 2011-08-23  David S. Miller  <davem@davemloft.net>
19444         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
19445         subtract stack bias.
19446         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
19447         %sp not %fp in calculations.
19448         (_JMPBUF_UNWINDS_ADJ): Likewise.
19450         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
19451         (aio_suspend): Call it to force an exception region around the
19452         AIO_MISC_WAIT() invocation.
19454 2011-08-23  Andreas Schwab  <schwab@redhat.com>
19456         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
19457         backslash.
19459 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
19461         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
19462         protection macro.
19463         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
19464         and <dl-machine.h>.
19465         (Elf64_FuncDesc): Remove.
19467 2011-08-22  David S. Miller  <davem@davemloft.net>
19469         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
19470         sigaltstack check, add missing cfi directives.
19471         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
19472         missing cfi directives, and sigaltstack handling.
19474 2011-08-16  Andreas Schwab  <schwab@redhat.com>
19476         [BZ #11724]
19477         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
19478         object is seen twice.
19479         * elf/dl-fini.c (_dl_sort_fini): Likewise.
19481         * elf/Makefile (distribute): Add tst-initorder2.c.
19482         (tests): Add tst-initorder2.
19483         (modules-names): Add tst-initorder2a tst-initorder2b
19484         tst-initorder2c tst-initorder2d.  Add rules to build them.
19485         ($(objpfx)tst-initorder2.out): New rule.
19486         * elf/tst-initorder2.c: New file.
19487         * elf/tst-initorder2.exp: New file.
19489 2011-08-22  Andreas Schwab  <schwab@redhat.com>
19491         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
19493         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
19494         dependencies back to end of function.
19496         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19497         $(elfobjdir)/ld.so.
19499 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
19501         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
19502         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
19503         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
19504         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
19505         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
19506         of __vdso_gettimeofday.
19507         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
19508         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
19509         attribute_hidden.
19510         (_libc_vdso_platform_setup): Remove initialization of
19511         __vdso_gettimeofday and __vdso_time.
19513 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
19515         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
19516         and fgetc_unlocked.
19517         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
19518         getc_unlocked.
19520         * elf/dl-open.c (add_to_global): Report additions to the global scope
19521         for LD_DEBUG=scopes.
19522         (dl_open_worker): Also print scope of newly loaded dependencies.
19523         (_dl_show_scope): Indicate if there is no scope.
19525         [BZ #13114]
19526         * stdio-common/Makefile (tests): Add bug24.
19527         * stdio-common/bug24.c: New file.
19529 2011-08-19  Andreas Jaeger  <aj@suse.de>
19531         [BZ #13114]
19532         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
19533         non-existant file when using close-on-exec mode.
19535 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
19537         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
19538         the very first instruction.
19540         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
19541         the CFI state in the end.
19542         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
19543         inclusion of dl-trampoline.h.
19544         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
19546 2011-08-19  Andreas Schwab  <schwab@redhat.com>
19548         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
19549         expectations for long double.
19551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
19552         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
19554 2011-08-14  David S. Miller  <davem@davemloft.net>
19556         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
19557         artificual limit depends upon the system page size.
19559 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
19561         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
19562         * resolv/Makefile: Define CFLAGS-libresolv.
19564 2011-08-17  Andreas Schwab  <schwab@redhat.com>
19566         * nss/makedb.c (compute_tables): Make variables used in nested
19567         function static.
19569 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
19571         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
19572         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
19573         if buffer was too small.
19575         * elf/pldd.c (main): Attach to all threads in the process.
19576         Rewrite /proc handling to use *at functions.
19578 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
19580         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
19581         specifies first scope to show.
19582         (dl_open_worker): Update callers.  Move printing scope of new
19583         object to before the relocation.
19584         * elf/rtld.c (dl_main): Update _dl_show_scope call.
19585         * sysdeps/generic/ldsodefs.h: Update declaration.
19587         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
19588         string for the scope number.
19590 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
19592         * nscd/servicescache.c (cache_addserv): Make sure written is always
19593         initialized.
19595 2011-08-14  Roland McGrath  <roland@hack.frob.com>
19597         * sysdeps/i386/i486/bits/atomic.h
19598         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
19599         statement expression, so as to suppress "set but not used" warning.
19600         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
19602         * string/strncat.c (STRNCAT): Use prototype definition.
19604         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
19605         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
19606         -Iprograms here.
19607         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
19608         (localedef-modules): Add localedef.
19609         (locale-modules): Add locale.
19611         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
19612         * elf/rtld.c (dl_main): Invert order of assignment in last change,
19613         to avoid a warning.
19615 2011-08-14  David S. Miller  <davem@davemloft.net>
19617         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
19618         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
19620 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
19622         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
19623         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
19624         * elf/rtld.c (dl_main): Set l_name of vDSO.
19625         Call _dl_show_scope when DL_DEBUG_SCOPES.
19626         (process_dl_debug): Recognize scopes flag and also set it for all.
19627         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
19628         Declare _dl_show_scope.
19630         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
19631         (do_dlopen): Pass caller_dlopen to dl_open.
19632         (__libc_dlopen_mode): Initialize caller_dlopen.
19634         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
19635         of libc.  Make tolower call locale-independent.  Optimize a bit by
19636         using isdigit instead of isalnum.
19637         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
19639 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
19641         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
19642         was a dependency or dynamically loaded.
19644 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
19646         * intl/l10nflist.c: Allow architecture-specific pop function.
19647         * sysdeps/x86_64/l10nflist.c: New file.
19649         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
19650         classification.
19652 2011-08-10  Andreas Schwab  <schwab@redhat.com>
19654         * include/dirent.h: Add libc_hidden_proto for scandirat and
19655         scandirat64.  Don't declare __scandirat64.
19656         * dirent/scandirat.c: Add libc_hidden_def.
19657         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
19658         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
19660 2011-08-10  David S. Miller  <davem@davemloft.net>
19662         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
19663         enum.
19664         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19665         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19666         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19668 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
19670         * Versions.def [libc]: Add GLIBC_2.15.
19671         * dirent/Makefile (routines): Add scandirat and scandirat64.
19672         * dirent/Versions [libc]: Export scandirat and scandirat64 for
19673         GLIBC_2.15.
19674         * dirent/dirent.h: Declare scandirat and scandirat64.
19675         * dirent/scandirat.c: New file.
19676         * dirent/scandirat64.c: New file.
19677         * sysdeps/wordsize-64/scandirat.c: New file.
19678         * sysdeps/wordsize-64/scandirat64.c: New file.
19679         * dirent/opendir.c: Define opendirat.
19680         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
19681         using scandirat.
19682         * dirent/scandir64.c: Adjust for scandir.c change.
19683         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
19684         __scandirat64, and __scandir_cancel_handler.
19685         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
19686         additional parameter and use openat instead of open (outside of ld.so).
19687         Add new __opendir as wrapper around __opendirat.
19688         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
19689         here without requiring old scandirat implementation.
19691 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
19693         * dirent/scandir.c (cancel_handler): Renamed to
19694         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
19695         defined.  Adjust users.
19696         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
19697         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
19699 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
19701         * string/test-string.h (IMPL): Use __STRING to expand name and then
19702         stringify it.
19704         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
19705         of cleanups.
19707 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19709         * string/Makefile: Update.
19710         (strop-tests): Append strncat.
19711         * string/test-wcscmp.c: New file.
19712         New comprehensive test for wcscmp.
19713         * string/test-strcmp.c: Update.
19714         (WIDE): New define.
19716 2011-07-22  Andreas Schwab  <schwab@redhat.com>
19718         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
19719         line.
19721 2011-07-26  Andreas Schwab  <schwab@redhat.com>
19723         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19724         encoding to ACE if AI_IDN.
19726 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
19728         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
19729         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
19731 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19733         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
19734         Fix overflow bug in strncat.
19735         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
19737         * string/test-strncat.c: Update.
19738         Add new tests for checking overflow bugs.
19740 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19742         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19743         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
19744         * sysdeps/i386/i686/multiarch/strcat.S: New file.
19745         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
19746         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
19747         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
19748         * sysdeps/i386/i686/multiarch/strncat.S: New file.
19749         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
19750         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
19752         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
19753         (USE_AS_STRCAT): Define.
19754         Add strcat and strncat support.
19755         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19757 2011-07-25  Andreas Schwab  <schwab@redhat.com>
19759         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
19760         __n bigger than INT_MAX+1.
19761         (__strncmp_g): Likewise.
19763 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
19765         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
19766         * libio/stido.h: Likewise.
19768         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
19769         (AF_NFC): Define.
19770         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
19771         (AF_NFC): Define.
19773         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
19774         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19775         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19776         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19777         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19779         [BZ #13021]
19780         * scripts/test-installation.pl: Don't expect libnss_test1 to be
19781         installed.
19783         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
19784         typo.
19785         (_dl_x86_64_save_sse): Likewise.
19787 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
19789         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
19790         OSXSAVE.
19791         (_dl_x86_64_save_sse): Likewise.
19793         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
19795         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
19797 2011-07-21  Andreas Schwab  <schwab@redhat.com>
19799         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
19800         change.
19801         (_dl_x86_64_save_sse): Use correct AVX check.
19803 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19805         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
19806         bug in strncpy/strncat.
19807         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
19809 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
19811         * string/tester.c (test_strcat): Add tests for different alignments
19812         of source and destination.
19813         (test_strncat): Likewise.
19815 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
19817         [BZ #12852]
19818         * posix/glob.c (glob): Check passed in values before using them in
19819         expressions to avoid some overflows.
19820         (glob_in_dir): Likewise.
19822         [BZ #13007]
19823         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
19824         check for AVX enablement so that we don't crash with old kernels and
19825         new hardware.
19826         * elf/tst-audit4.c: Add same checks here.
19827         * elf/tst-audit6.c: Likewise.
19829         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
19831 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
19833         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
19835 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
19837         * po/cs.po: Update from translation team.
19838         * po/bg.po: Likewise.
19840 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
19842         * misc/sys/cdefs.h: Add support for const attribute.
19843         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
19844         to gnu_dev_{major,minor,makedev} functions.
19846 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
19848         * intl/dcigettext.c (get_output_charset): Add missing bracket.
19850 2011-07-20  Andreas Schwab  <schwab@redhat.com>
19852         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
19853         strlen results.
19855 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19857         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
19858         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
19859         register in order to avoid conflicts with the soft frame pointer
19860         being held in r11 when necessary.
19861         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19862         (INTERNAL_VSYSCALL_NCS): Likewise.
19864 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
19866         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
19867         * elf/dl-fini.c (_dl_fini): Adjust caller.
19868         * elf/dl-close.c (_dl_close_worker): Likewise.
19869         * sysdeps/generic/ldsodefs.h: Adjust declaration.
19871 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
19873         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
19874         "aux_cache->nlibs < 0".
19876         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
19877         in the reload-count case.
19879 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19881         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19882         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
19883         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
19884         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
19885         * sysdeps/x86_64/multiarch/strcat.S: New file.
19886         * sysdeps/x86_64/multiarch/strncat.S: New file.
19887         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
19888         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
19889         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
19890         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
19891         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
19892         (USE_AS_STRCAT): Define.
19893         Add strcat and strncat support.
19894         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19895         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19896         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
19897         * string/strncat.c: Update.
19898         (USE_AS_STRNCAT): Define.
19899         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19900         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
19901         and i7.
19902         * sysdeps/x86_64/multiarch/init-arch.h
19903         (bit_Prefer_PMINUB_for_stringop): New.
19904         (index_Prefer_PMINUB_for_stringop): Likewise.
19905         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
19906         bit_Prefer_PMINUB_for_stringop.
19908 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
19910         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
19911         buffer64.
19912         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
19913         of casting of buffer.
19914         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
19915         buffer32 and buffer64.
19916         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
19917         writes instead of casting of buffer.
19918         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
19919         buffer32.
19920         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
19921         casting of buffer.
19923 2011-07-19  Andreas Schwab  <schwab@redhat.com>
19925         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
19927 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
19929         * nscd/nscd.c (termination_handler): Don't do anything for a database
19930         if it has not yet been initialized.
19932 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
19934         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19936 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
19938         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19940 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
19942         * po/nl.po: Update from translation team.
19943         * po/sv.po: Likewise.
19945 2011-07-16  Roland McGrath  <roland@hack.frob.com>
19947         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
19948         now disallowed by GCC.
19950         * configure.in (use-default-link): Default to yes if a test -shared
19951         link meets our qualifications.
19952         * configure: Regenerated.
19954         * config.make.in (output-format): New variable.
19955         * configure.in: Check for ld --print-output-format support.
19956         * configure: Regenerated.
19957         * Makerules ($(common-objpfx)format.lds)
19958         [$(output-format) != unknown]: Just use $(output-format),
19959         instead of the linker-script munging.
19961 2011-07-14  Roland McGrath  <roland@hack.frob.com>
19963         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
19964         of $(common-objpfx)shlib.lds.
19965         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
19967         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
19968         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
19970         * configure.in (-z relro check): Adjust test code to add a large
19971         writable data section after it.
19972         * configure: Regenerated.
19974 2011-07-11  Roland McGrath  <roland@hack.frob.com>
19976         * configure.in (-z relro check): Fix test code to make the variable
19977         truly const.
19978         * configure: Regenerated.
19980 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
19982         * nscd/nscd.h (struct traced_file): Define.
19983         (struct database_dyn): Remove inotify_descr, reset_res, and filename
19984         elements.  Add traced_files.
19985         (inotify_fd): Declare.
19986         (register_traced_file): Declare.
19987         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
19988         (inotify_fd): Export.
19989         (resolv_conf_descr): Remove.
19990         (nscd_init): Move inotify descriptor creation to main.
19991         Don't register files for notification here.
19992         (register_traced_file): New function.
19993         (invalidate_cache): Don't use reset_res to determine whether to call
19994         res_init, go through the list of registered files.
19995         (main_loop_poll): The inotify descriptors are now stored in the
19996         structures for the traced files.
19997         (main_loop_epoll): Likewise
19998         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
19999         to __nss_disable_nscd.
20000         * nscd/cache.c (prune_cache): There is no single inotify descriptor
20001         for a database anymore.  Check the records for all the registered
20002         files instead.
20003         * nss/Makefile (libnss_files-routines): Add files-init.
20004         (libnss_db-routines): Add db-init.
20005         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
20006         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
20007         * nss/nss_db/db-init.c: New file.
20008         * nss/nss_files/files-init.c: New file.
20009         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
20010         __nss_lookup_function.
20011         (__nss_lookup_function): Call nss_load_library.
20012         (nss_load_all_libraries): New function.
20013         (__nss_disable_nscd): Take parameter with callback function for files
20014         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
20015         used for the cached services.
20016         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
20017         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
20018         options for features to all the files in nscd.
20020         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
20022 2011-07-10  Roland McGrath  <roland@hack.frob.com>
20024         * csu/elf-init.c (__libc_csu_init): Comment typo.
20026 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
20028         * po/pl.po: Update from translation team.
20029         * po/ja.po: Likewise.
20030         * po/ru.po: Likewise.
20031         * po/ko.po: Likewise.
20032         * po/fr.po: Likewise.
20034 2011-07-09  Roland McGrath  <roland@hack.frob.com>
20036         * configure.in (.ctors/.dtors header and trailer check):
20037         Use an empirical test on a built program.
20038         * configure: Regenerated.
20040         * configure.in (-z relro check): Use an empirical test on a built DSO.
20041         Detect, but do not require, on ia64.
20042         * configure: Regenerated.
20044         * configure.in (READELF): Find it with AC_CHECK_TOOL.
20045         Update tests that use readelf to use $READELF instead.
20046         * configure: Regenerated.
20048 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
20050         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
20051         if the result is not used.
20053 2011-07-05  Andreas Jaeger  <aj@suse.de>
20055         [BZ#9696]
20056         * stdlib/tst-strtod.c: Add testcase.
20058 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
20060         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
20061         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
20062         The latter has a higher limit.  Take additional parameter to pass to
20063         the new function.
20064         (__pathconf): Pass file to __statfs_link_max.
20065         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
20066         __statfs_link_max.
20067         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
20068         __statfs_link_max.
20070         [BZ #12868]
20071         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
20072         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20073         Handle Lustre.
20074         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
20075         (__statfs_filesize_max): Likewise.
20076         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
20078 2011-07-05  Andreas Jaeger  <aj@suse.de>
20080         * resolv/res_comp.c (dn_skipname): Remove unused variable.
20082 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
20084         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
20085         `status' variable.
20086         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
20087         Likewise.
20089 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
20091         * Makefile (strop-tests): Add strncat.
20092         * string/test-strncat.c: New file.
20094 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
20096         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
20098 2011-06-21  Andreas Jaeger  <aj@suse.de>
20100         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
20101         Copy rule from iconvdata/Makefile.
20103 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
20105         [BZ #12922]
20106         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
20107         but no long options are defined, just return 'W'.
20109 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
20111         [BZ #9696]
20112         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
20114 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
20116         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
20117         netgroups to read.
20118         (innetgr): Likewise.
20120 2011-07-05  Roland McGrath  <roland@hack.frob.com>
20122         * config.make.in (install_root): Default to $(DESTDIR).
20124 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
20126         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
20128 2011-07-02  Roland McGrath  <roland@hack.frob.com>
20130         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
20132         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
20133         containing directory rather than embedding absolute directory names.
20135         * scripts/check-local-headers.sh: Rewritten using awk.
20136         Match by word, not by line.  Print error messages for matches.
20137         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
20139         * Makerules [shlib-lds-flags empty]:
20140         ($(common-objpfx)libc_pic.opts): New target.
20141         ($(common-objpfx)libc_pic.os.clean): New target.
20142         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
20144         * config.make.in (OBJCOPY): New variable.
20145         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
20146         * configure: Regenerated.
20148         * config.make.in (use-default-link): New variable.
20149         * configure.in (use_default_link): Grok --with-default-link to set it.
20150         * configure: Regenerated.
20151         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
20152         (shlib-lds, shlib-lds-flags): Define to empty.
20154         * Makerules (shlib-lds): New variable.
20155         (shlib-lds-flags): New variable.
20156         (build-shlib, build-moduile, build-module-asneeded): Use it.
20157         ($(common-objpfx)libc.so): Use $(shlib-lds).
20158         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
20159         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
20161         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
20162         DT_FLAGS/DT_FLAGS_1 with zero flags.
20164         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
20165         linker script munging.
20167 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
20169         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
20170         as 128-bit value.
20171         * crypt/sha512.c (sha512_process_block): Perform total addition using
20172         128-bit if possible.
20173         (__sha512_finish_ctx): Likewise.
20174         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
20175         as 64-bit value.
20176         * crypt/sha256.c (SWAP64): Define.
20177         (sha256_process_block): Perform total addition using 64-bit if
20178         possible.
20179         (__sha256_finish_ctx): Likewise.
20181 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
20183         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
20184         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20185         * nscd/hstcache.c (cache_addhst): Likewise.
20186         * nscd/grpcache.c (cache_addgr): Likewise.
20187         * nscd/aicache.c (addhstaiX): Likewise
20188         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
20190 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
20192         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
20193         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20194         * nscd/hstcache.c (cache_addhst): Likewise.
20195         * nscd/grpcache.c (cache_addgr): Likewise.
20196         * nscd/aicache.c (addhstaiX): Likewise
20198 2011-07-01  Andreas Schwab  <schwab@redhat.com>
20200         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
20201         domain only when needed.
20203 2011-06-30  Andreas Schwab  <schwab@redhat.com>
20205         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
20206         is always restored.
20208 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
20210         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
20211         are re-adding the entry.
20212         * nscd/servicescache.c (cache_addserv): Likewise.
20214 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
20216         * sysdeps/generic/dl-irel.h: fix protection against multiple
20217         inclusions.
20218         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
20220 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
20222         [BZ #12935]
20223         * malloc/memusage.sh: Fix quoting in message.
20224         * debug/xtrace.sh: Likewise.
20226         * configure.in: Remove support for --experimental-malloc option, make
20227         it the default.
20228         * config.make.in: Likewise.
20229         * malloc/Makefile: Likewise.
20231 2011-06-27  Andreas Schwab  <schwab@redhat.com>
20233         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
20234         two-byte characters.
20236 2011-06-27  Roland McGrath  <roland@hack.frob.com>
20238         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
20239         AC_CACHE_CHECK invocation.
20240         * configure: Regenerated.
20242         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
20244 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
20246         [BZ #12350]
20247         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
20248         bit from old_res_options.
20250         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
20252         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
20253         value type for setfct.
20255 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
20257         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20258         __gettimeofday instead of gettimeofday.
20260 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
20262         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
20264 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
20266         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
20268         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
20269         info.
20271 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
20273         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20274         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20275         strcpy-sse2-unaligned strncpy-sse2-unaligned
20276         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
20277         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
20278         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
20279         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
20280         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
20281         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
20282         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
20283         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
20284         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
20285         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
20286         (STRCPY): Support SSE2 and SSSE3 versions.
20288 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
20290         [BZ #12874]
20291         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
20292         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
20293         kernels which artificially limit size of requests.
20295 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
20297         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20298         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20299         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
20300         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
20301         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
20302         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
20303         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
20304         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
20305         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
20306         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
20307         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
20308         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
20309         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
20310         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
20311         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
20312         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20313         Enable unaligned load optimization for Intel Core i3, i5 and i7
20314         processors.
20315         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
20316         Define.
20317         (index_Fast_Unaligned_Load): Define.
20318         (HAS_FAST_UNALIGNED_LOAD): Define.
20320 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
20322         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
20324 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
20326         [BZ #12907]
20327         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
20328         until it is clear that the information is realy needed.
20329         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
20331 2011-06-22  Andreas Schwab  <schwab@redhat.com>
20333         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
20335 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
20337         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20338         /sys/devices/system/cpu/online if it is usable.
20340         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
20341         reading the information from the /proc filesystem to once a second.
20343 2011-06-21  Andreas Jaeger  <aj@suse.de>
20345         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
20346         NULL after inclusion of kernel headers.
20348 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
20350         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
20351         calls to internal_setent.
20353         [BZ #12885]
20354         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
20355         addresses using gethostbyname4_r ignore IPv4 addresses.
20357         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
20358         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
20360         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
20362 2011-06-20  David S. Miller  <davem@davemloft.net>
20364         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
20365         inclusions.
20366         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
20368         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
20369         (elf_irel): Use it.
20370         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
20371         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
20372         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
20373         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
20374         * sysdeps/x86_64/dl-irel.h: Likewise.
20376         * elf/dl-runtime.c: Use elf_ifunc_invoke.
20377         * elf/dl-sym.c: Likewise.
20379 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
20381         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
20382         need to dereference resplen2.
20384 2011-06-14  Andreas Schwab  <schwab@redhat.com>
20386         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
20388 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
20390         * Makeconfig: Define vardbdir and inst_vardbdir.
20391         * nss/Makefile: Add rules to install db-Makefile.
20393         * nss/nss_db/db-XXX.c: Cleanup.
20395         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
20396         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
20397         GLIBC_PRIVATE.
20398         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
20399         * nss/makedb.c: Implement -g option to specify that value strings
20400         are generated and should not be added to table iterated over for
20401         get*ent calls.
20402         * nss/nss_db/db-initgroups.c: New file.
20404         * nss/getent.c: Add support for initgroups lookups through getgrouplist
20405         interface.
20407         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
20408         (internal_getgrouplist): Adjust to name change.
20409         Update use_initgroups_entry if this is not the first call.
20410         * nss/databases.def: Add initgroups entry.
20412         * nss/makedb.c (compute_tables): Check result of multiple hash table
20413         sizes to minimize maximum chain length.
20415 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
20417         * Versions.def: Add entry for libnss_db.
20418         * shlib-versions: Likewise.
20419         * nss/Makefile: Add rules to build libnss_db.
20420         * nss/Versions: Add libnss_db information.  Organize libnss_files
20421         entries better.
20422         * nss/db-Makefile: Add gshadow support.  Change rules for the new
20423         makedb progra.  Some minor improvements to generate smaller files.
20424         * nss/nss_db/nss_db.h: Move NSS database header data structures to
20425         here from...
20426         * nss/makedb.c: ...here.
20427         Improve database format to be smaller and require less memory at
20428         runtime.
20429         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
20430         db anymore.
20431         * nss/nss_db/db-netgrp.c: Likewise.
20432         * nss/nss_db/db-open.c: Likewise.
20433         * nss/nss_files/flies-XXX.x: Adjust comments.
20434         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
20435         * nss/nss_files/files-grp.c: Likewise.
20436         * nss/nss_files/files-hosts.c: Likewise.
20437         * nss/nss_files/files-network.c: Likewise.
20438         * nss/nss_files/files-proto.c: Likewise.
20439         * nss/nss_files/files-pwd.c: Likewise.
20440         * nss/nss_files/files-rpc.c: Likewise.
20441         * nss/nss_files/files-service.c: Likewise.
20442         * nss/nss_files/files-sgrp.c: Likewise.
20443         * nss/nss_files/files-spwd.c: Likewise.
20444         * nss/nss_db/db-alias.c: Removed.
20445         * nss/nss_db/dummy-db.h: Removed.
20447 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
20449         * nss/makedb.c: Rewritten to not use database library.
20450         * nss/Makefile: Update to build new makedb program.
20452 2011-06-14  Andreas Jaeger  <aj@suse.de>
20454         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
20455         memset declaration.
20457 2011-06-10  Andreas Schwab  <schwab@redhat.com>
20459         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
20460         tmpbuf.
20462 2011-06-10  Roland McGrath  <roland@hack.frob.com>
20464         * Makerules (shlib.lds): Fail if the linker script comes out empty.
20465         * elf/Makefile ($(objpfx)ld.so): Likewise.
20467         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
20468         Don't list ld.so twice in dependencies.
20470         * posix/bug-regex31.c: Include <stdlib.h>.
20472         * nscd/hstcache.c (cache_addhst): Remove unused variable.
20474         * nis/nss_compat/compat-spwd.c
20475         (getspent_next_nss_netgr): Remove unused variable.
20476         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
20478         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
20479         nonmembers" output to use the right array.
20481         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
20483         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
20485         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
20486         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
20487         * catgets/gencat.c (read_input_file): Likewise.
20488         * locale/programs/locarchive.c (enlarge_archive): Likewise.
20490         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
20491         variable definition inside #if's controlling its use.
20493         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
20495         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
20497         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
20499         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
20500         unreachable code.
20502         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
20504         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
20505         * configure: Regenerated.
20507         * Makerules: Revert last change.
20508         * elf/Makefile: Likewise.
20510 2011-06-09  Roland McGrath  <roland@hack.frob.com>
20512         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
20513         * elf/Makefile ($(objpfx)librtld.os): Likewise.
20514         (reloc-link): Likewise.
20516 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
20518         * elf/Makefile: Add rules to build pldd.
20519         * elf/pldd.c: New file.
20520         * elf/pldd-xx.c: New file.
20522 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
20524         * version.h: Update for 2.15 development version.
20526 2011-06-07  David S. Miller  <davem@davemloft.net>
20528         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
20529         ifuncs.
20530         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
20531         elf_machine_lazy_rel): Likewise.
20532         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
20533         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
20534         elf_machine_lazy_rel): Likewise.
20535         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
20536         dl_hwcap via passed in argument.
20537         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
20538         Likewise.
20540 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20542         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
20544 2011-06-06  Roland McGrath  <roland@hack.frob.com>
20546         [BZ #12849]
20547         * manual/fdl-1.1.texi: New file, verbatim from:
20548         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
20549         * manual/lgpl-2.1.texi: New file, verbatim from:
20550         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
20551         * manual/Makefile (licenses): New variable, list those new file names.
20552         (texis): Use it.
20553         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
20555         * manual/fdl.texi: File removed.
20556         * manual/lesser.texi: File removed.
20557         * manual/libc.texinfo (Copying, Documentation License):
20558         Use new @include file names, put @appendix directive before @include.
20560 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
20562         [BZ #12841]
20563         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
20564         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
20565         (mq_open): Add __NTH.
20567 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
20569         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20570         Assume Intel Core i3/i5/i7 processor if AVX is available.
20572 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
20574         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20575         typo.
20577 2011-05-31  Andreas Schwab  <schwab@redhat.com>
20579         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
20580         memory.  Use alloca_account.  Fix memory leak when retrying.
20582 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
20584         * version.h (RELEASE): Bump for 2.14 release.
20585         * include/features.h (__GLIBC_MINOR__): Bump to 14.
20587         * config.make.in (RANLIB): Remove entry.
20589 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
20591         * po/Makefile (po-sed-cmd): Add ksh to extensions.
20592         (libc.pot): Work around missing support for .ksh extension in xgettext.
20594         [BZ #12684]
20595         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
20596         if both request failed.
20597         (send_dg): In case of server errors clear resplen or *resplen2.
20599         [BZ #12454]
20600         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
20601         when there are multiple maps.
20602         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
20603         (_dl_fini): Remove test here.
20605         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
20607 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
20609         [BZ #12350]
20610         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
20611         bit from old_res_options.
20612         (gaih_inet): Likewise.
20614         [BZ #11099]
20615         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
20616         as signed.
20618         * resolv/res_init.c (res_setoptions): Make the code more compact.
20620         [BZ #11558]
20621         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
20622         set RES_USEVC.
20624         [BZ #11634]
20625         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
20627         * malloc/malloc.h: Mark malloc hook variables as deprecated.
20629         [BZ #11781]
20630         * malloc/malloc.h: Declare malloc hook variables as volatile.
20632         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
20633         in last patch.
20635         [BZ #11799]
20636         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
20637         raise in the comment.
20638         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20639         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20640         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
20642 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
20644         [BZ #12811]
20645         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
20646         grow the buffers more if it already has to be sufficient.
20647         (build_wcs_upper_buffer): Likewise.
20648         * posix/regexec.c (check_matching): Likewise.
20649         (clean_state_log_if_needed): Likewise.
20650         (extend_buffers): Don't enlarge buffers beyond size of the input
20651         buffer.
20652         Patches mostly by Emil Wojak <emil@wojak.eu>.
20653         * posix/bug-regex32.c: New file.
20654         * posix/Makefile (tests): Add bug-regex32.
20656         * locale/findlocale.c (_nl_find_locale): Return right away if
20657         _nl_explode_name failed.
20658         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
20660         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
20662         * debug/xtrace.sh: Unify messages.
20663         * malloc/memusage.sh: Likewise.
20665         [BZ #12813]
20666         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
20667         time symbol from vDSO.  Substitute with vsyscall if not available.
20668         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
20669         __vdso_time.
20671         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
20672         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
20673         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
20674         Add sendmmsg and internal_sendmmsg.
20675         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
20676         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
20677         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
20679         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
20680         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
20681         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
20683 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
20685         [BZ #12813]
20686         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
20687         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
20688         available.
20689         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
20690         __vdso_getcpu.
20692         [BZ #12814]
20693         * iconvdata/Makefile (tests): Add bug-iconv9.
20694         * iconvdata/bug-iconv9.c: New file.
20696 2011-05-27  Andreas Schwab  <schwab@redhat.com>
20698         [BZ #12814]
20699         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
20701 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
20703         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20704         (struct user_regs_struct): Change intcs field back to cs.
20706 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
20708         * po/ja.po: Update from translation team.
20710 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
20712         [BZ #12795]
20713         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
20714         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
20716 2011-05-20  Andreas Schwab  <schwab@redhat.com>
20718         * stdlib/longlong.h: Update from GCC.
20720 2011-05-23  Andreas Schwab  <schwab@redhat.com>
20722         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
20723         parameter name.
20724         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
20725         Add parameter name.
20726         (__sysconf): Pass it down.
20728 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
20730         [BZ #12671]
20731         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
20732         some situations.
20733         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
20734         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
20735         add in in __libc_use_alloca calls.  Adjust callers.
20736         (glob): Use malloc in some situations.
20738         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
20739         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
20740         pltexit.
20742 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
20744         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
20745         and CLOCK_BOOTTIME_ALARM.
20747         [BZ #12782]
20748         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
20749         is returned.
20751         * string/_strerror.c (__strerror_r): Print negative errors as signed
20752         numbers.
20754         [BZ #12777]
20755         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
20756         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
20757         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
20759         * configure.in: Fix typo in redirection and correct removal of test
20760         files in two cases.
20762         [BZ #12788]
20763         * locale/setlocale.c (new_composite_name): Fix test to check for
20764         identical name of all categories.
20766         [BZ #12792]
20767         * libio/filedoalloc.c (local_isatty): New function.
20768         (_IO_file_doallocate): Use local_isatty.
20769         * stdio-common/perror.c (perror): In case a new stream is used
20770         forward the stream error.
20771         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
20772         error flag.
20774 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
20776         [BZ #11869]
20777         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
20778         alloca.
20779         * include/alloca.h (extend_alloca_account): Define.
20781         [BZ #11857]
20782         * posix/regex.h: Fix comments with documentation of user-accessible
20783         fields after compilation and describe correct free'ing of pattern
20784         after re_compile_pattern.
20785         Patch by Reuben Thomas <rrt@sc3d.org>.
20787 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
20789         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
20790         and -mno-altivec to prevent the compiler from using Altivec and/or
20791         VSX instructions when the corresponding registers are not available.
20793 2011-05-19  Andreas Schwab  <schwab@redhat.com>
20795         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
20797 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
20799         * libio/freopen.c (freopen): Use __dup2, not dup2.
20800         * libio/freopen64.c (freopen64): Likewise.
20802 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
20804         [BZ #12775]
20805         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
20806         * math/Makefile (tests): Add test-powl.
20807         (CFLAGS-test-powl.c): Define.
20808         * math/test-powl.c: New file.
20810 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20812         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
20814 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
20816         [BZ #11837]
20817         * iconvdata/gb18030.c: Update to GB18020-2005.
20819 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
20821         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
20822         RE_SYNTAX_POSIX_AWK): Update to match recent development.
20823         Patch by Aharon Robbins <arnold@skeeve.com>.
20825         [BZ #11892]
20826         * stdlib/putenv.c (putenv): Don't always create copy of the variable
20827         on the stack.
20829         [BZ #11895]
20830         * misc/pselect.c (__pselect): Handle timeout value errors hidden
20831         through underflows.
20833         [BZ #12766]
20834         * misc/error.c (error_at_line): Ensure file_name and old_file_name
20835         point to strings before performing equality test for error_one_per_line
20836         mode.
20838         [BZ #11697]
20839         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
20841         [BZ #11820]
20842         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20843         (struct user_fpregs_struct): Avoid __uint*_t types.
20845         [BZ #6420]
20846         * malloc/mtrace.c (tr_where): Add additional parameter to point to
20847         symbol info.  Use it instead of calling _dl_addr locally.
20848         (lock_and_info): New function.
20849         (tr_freehook): Call lock_and_info and pass symbol info as additional
20850         parameter to tr_where.
20851         (tr_mallochook): Likewise.
20852         (tr_reallochook): Likewise.
20853         (tr_memalignhook): Likewise.
20855         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
20856         used and couldn't be at all thread-safe.
20858 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
20860         * libio/freopen.c (freopen): Don't close old file descriptor
20861         before the new one is opened.  Instead dup the new file descriptor
20862         to the old one after the new stream is created.
20863         * libio/freopen64.c (freopen64): Likewise.
20864         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
20865         * libio/fileops.c (_IO_new_file_close_it): Handle new
20866         _IO_FLAGS2_NOCLOSE flag.
20867         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
20868         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
20869         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
20870         _IO_FLAGS2_NOCLOSE flag.
20871         * include/unistd.h: Add hidden_proto for dup3.
20872         Define __have_dup3.
20873         * io/dup3.c: Define hidden symbol.
20874         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
20876         [BZ #7101]
20877         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
20878         when an incomplete long option is used.
20879         * posix/tst-getopt_long1.c: New file.
20880         * posix/Makefile (tests): Add tst-getopt_long1.
20882         [BZ #10138]
20883         * scripts/config.guess: Update from autoconf-2.68.
20884         * scripts/config.sub: Likewise.
20886         [BZ #10157]
20887         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
20888         tests into ...
20889         (has_cpuclock): ...this.  New function.
20890         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
20891         macro here based on has_cpuclock code.
20893         [BZ #10149]
20894         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20895         First byte (not low byte) is now always NUL.
20896         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
20898         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20899         Use non-cancelable interfaces.
20901         [BZ #9809]
20902         * locale/iso-639.def: Add entry for Sorani.
20904         [BZ #11901]
20905         * include/stdlib.h: Move include protection to the right place.
20906         Define abort_msg_s.  Declare __abort_msg with it.
20907         * stdlib/abort.c (__abort_msg): Adjust type.
20908         * assert/assert.c (__assert_fail_base): New function.  Majority
20909         of code from __assert_fail.  Allocate memory for __abort_msg with
20910         mmap.
20911         (__assert_fail): Now call __assert_fail_base.
20912         * assert/assert-perr.c: Remove bulk of implementation.  Use
20913         __assert_fail_base.
20914         * include/assert.hL Declare __assert_fail_base.
20915         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
20916         mmap.
20917         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
20919 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
20921         [BZ #11952]
20922         [BZ #12453]
20923         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
20924         until all modules are registered in the DTV.
20925         * elf/Makefile: Add rules to build and run tst-tls19.
20926         * elf/tst-tls19.c: New file.
20927         * elf/tst-tls19mod1.c: New file.
20928         * elf/tst-tls19mod2.c: New file.
20929         * elf/tst-tls19mod3.c: New file.
20930         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
20932         [BZ #12083]
20933         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
20934         correctly.
20936         [BZ #12601]
20937         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
20938         two-byte sequence errors.
20939         * iconvdata/Makefile (tests): Add bug-iconv8.
20940         * iconvdata/bug-iconv8.c: New file.
20942         [BZ #12626]
20943         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
20944         buf2 definition.
20946         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
20948         [BZ #12432]
20949         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
20950         (dummy_getcfa): New function.
20951         (init): Get _Unwind_GetCFA address, use dummy if not found.
20952         (backtrace_helper): In recursion check, also check whether CFA changes.
20953         (__backtrace): Completely initialize arg.
20955         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
20956         storing incomplete byte sequence in state object.  Avoid testing for
20957         guaranteed too small input if we know there is enough data available.
20959 2011-05-11  Andreas Schwab  <schwab@redhat.com>
20961         * Makeconfig (+link-pie): Indent.
20962         * Rules (binaries-pie): Define if $(have-fpie) and
20963         $(build-shared).
20964         (binaries-shared): Also filter out $(binaries-pie).
20965         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
20966         * nscd/Makefile (others-pie): Add nscd.
20967         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
20968         ($(objpfx)nscd): Remove command override.
20969         * login/Makefile (others-pie): Add pt_chown.
20970         ($(objpfx)pt_chown): Remove command override.
20971         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
20972         remove command overrides.
20974 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
20976         * libio/tst_putwc.c: Fix error messages.
20978         [BZ #12724]
20979         * libio/fileops.c (_IO_new_file_close_it): Always flush when
20980         currently writing and seek to current position when not.
20981         * libio/Makefile (tests): Add bug-fclose1.
20982         * libio/bug-fclose1.c: New file.
20984 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
20986         [BZ #12511]
20987         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
20988         don't set DF_1_NODELETE here.
20989         (do_lookup_x): When entering new entry test for copy relocation
20990         and if necessary set DF_1_NODELETE flag.
20991         * elf/tst-unique4.cc: New file.
20992         * elf/tst-unique4.h: New file.
20993         * elf/tst-unique4lib.cc: New file.
20994         * elf/Makefile: Add rules to build and run tst-unique4.
20995         Patch by Piotr Bury <pbury@goahead.com>.
20997 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
20999         [BZ #12052]
21000         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
21002         [BZ #12625]
21003         * misc/mntent_r.c (addmntent): Flush the stream after the output
21005         [BZ #12393]
21006         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
21007         (is_trusted_path_normalize): Skip initial colon.  Append slash
21008         to empty buffer.  Duplicate is_trusted_path code but allow
21009         constructed patch to be prefix.
21010         (is_dst): Allow $ORIGIN followed by /.
21011         (_dl_dst_substitute): Correct clearing of check_for_trusted.
21012         Correct testing of result of is_trusted_path_normalize
21013         (decompose_rpath): Fix warning.
21015 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
21017         [BZ #11257]
21018         * grp/initgroups.c (internal_getgrouplist): When we found the service
21019         list through the initgroups entry in nsswitch.conf do not always
21020         continue on a successful lookup.  Don't always use the
21021         __nss_group_database value if it is set.
21022         * nss/nsswitch.conf (initgroups): Change action for successful db
21023         lookup to continue for compatibility.
21025 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
21027         [BZ #11532]
21028         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
21029         and CP774 modules.
21030         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
21031         and CP774 modules.
21032         * iconvdata/tst-tables.sh: Likewise.
21033         * iconvdata/cp770.c: New file.
21034         * iconvdata/cp771.c: New file.
21035         * iconvdata/cp772.c: New file.
21036         * iconvdata/cp773.c: New file.
21037         * iconvdata/cp774.c: New file.
21038         * iconvdata/testdata/CP770: New file.
21039         * iconvdata/testdata/CP770..UTF8: New file.
21040         * iconvdata/testdata/CP771: New file.
21041         * iconvdata/testdata/CP771..UTF8: New file.
21042         * iconvdata/testdata/CP772: New file.
21043         * iconvdata/testdata/CP772..UTF8: New file.
21044         * iconvdata/testdata/CP773: New file.
21045         * iconvdata/testdata/CP773..UTF8: New file.
21046         * iconvdata/testdata/CP774: New file.
21047         * iconvdata/testdata/CP774..UTF8: New file.
21049         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
21050         END CHARMAP line.
21051         * iconvdata/gen-8bit-gap.sh: Likewise.
21052         * iconvdata/gen-8bit.sh: Likewise.
21054         * locale/iso-639.def: Add ary entry.
21056         [BZ #11258]
21057         * locale/C-translit.h.in: Add U20A1 transliteration.
21059         [BZ #12178]
21060         * locale/iso-639.def: Add wae entry.
21061         Patch by Kevin Bortis <bortis@translate-wae.ch>.
21063         [BZ #12545]
21064         * locale/programs/localedef.c (construct_output_path): Use ssize_t
21065         for n.
21067         [BZ #12711]
21068         * locale/C-translit.h.in: Add entry for U20B9.
21069         Patch by pravin.d.s@gmail.com.
21071 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
21073         [BZ #12713]
21074         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
21075         ENAMETOOLONG use generic getcwd.
21076         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
21077         in rtld.  Use *stat64.
21078         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
21079         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
21080         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
21081         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
21082         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
21083         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
21084         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
21085         __fstatat64 macros.
21086         * include/dirent.h: Add libc_hidden_proto for rewinddir.
21087         * dirent/rewinddir.c: Add libc_hidden_def.
21088         * sysdeps/mach/hurd/rewinddir.c: Likewise.
21089         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
21091         * include/dirent.h (__alloc_dir): Add flags parameter.
21092         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
21093         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
21094         __alloc_dir.
21095         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
21096         from fdopendir if O_CLOEXEC is already set.
21098 2011-03-15  Alan Modra  <amodra@gmail.com>
21100         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
21101         l_tls_firstbyte_offset non-zero.  Save padding offset in
21102         l_tls_firstbyte_offset for later use.
21103         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
21104         freeing static tls block.
21106 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
21108         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
21109         where #ifdef was intended.  The intent is to prevent ARG_MAX from
21110         being defined by the kernel headers.
21112 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
21114         [BZ #12734]
21115         * resolv/resolv.h: Define RES_NOTLDQUERY.
21116         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
21117         no-tld-query and set RES_NOTLDQUERY.
21118         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
21119         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
21120         modern BIND to search name as TLD unless forbidden.
21122 2011-05-07  Petr Baudis  <pasky@suse.cz>
21123             Ulrich Drepper  <drepper@gmail.com>
21125         [BZ #12393]
21126         * elf/dl-load.c (fillin_rpath): Move trusted path check...
21127         (is_trusted_path): ...to here.
21128         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
21129         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
21130         using is_trusted_path_normalize() in setuid scripts.
21132 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
21134         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
21135         __BEGIN/__END_DECLS.
21137 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
21139         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
21140         NSS_STATUS_NOTFOUND if no record was found.
21142 2011-05-05  Andreas Schwab  <schwab@redhat.com>
21144         * sunrpc/Makefile (headers): Add rpc/netdb.h.
21145         (headers-not-in-tirpc): Remove rpc/netdb.h
21146         * resolv/netdb.h: Revert last change.
21148 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
21150         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
21151         circular dependency between libgcc.a and libc.a.
21153 2011-05-05  Andreas Schwab  <schwab@redhat.com>
21155         * resolv/netdb.h: Don't include <rpc/netdb.h>.
21156         * nis/Makefile: Don't install rpcsvc/*.
21157         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
21158         instead of <rpc/types.h>.
21159         (MAXHOSTNAMELEN): Define.
21161 2011-05-03  Andreas Schwab  <schwab@redhat.com>
21163         * elf/ldconfig.c (add_dir): Don't crash on empty path.
21165 2011-04-28  Maciej Babinski  <mbabinski@google.com>
21167         [BZ #12714]
21168         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
21169         gethostbyname4_r when IPv6 results are possible.
21171 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
21173         [BZ #12723]
21174         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
21175         _PC_PIPE_BUF handling.
21177 2011-04-30  Bruno Haible  <bruno@clisp.org>
21179         [BZ #12717]
21180         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
21181         * resolv/netdb.h (getnameinfo): Change type of flags parameter
21182         to 'int'.
21183         * inet/getnameinfo.c (getnameinfo): Likewise.
21185 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
21187         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
21188         to groups setting in database lookup.
21189         * nss/nsswitch.conf: Add initgroups entry.
21191 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
21193         [BZ #12685]
21194         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
21195         mode string.
21196         Patch by Eric Blake <eblake@redhat.com>.
21198 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
21200         * sunrpc/Makefile (need-export-routines): Add svc_run.
21201         (routines): Remove svc_run.
21202         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
21203         * sunrpc/clnt_perr.c (clnt_perrno): Export.
21204         * sunrpc/svc_run.c (svc_run): Likewise.
21205         * sunrpc/svc_udp.c (svcudp_create): Likewise.
21207 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
21209         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
21210         problem in reallocation in last patch.
21212 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
21214         * sunrpc/Makefile: Move inclusion of Rules.
21216 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
21218         * nss/nss_files/files-initgroups.c: New file.
21219         * nss/Makefile (libnss_files-routines): Add files-initgroups.
21220         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
21221         _nss_files_initgroups_dyn.
21223 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
21225         * elf/elf.h (R_ARM_IRELATIVE): Define.
21227 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
21229         * po/ru.po: Update from translation team.
21231 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
21233         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
21234         dependencies.
21236 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
21238         [BZ #12653]
21239         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
21240         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
21241         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21242         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21243         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21245 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
21247         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
21248         differing bytes.
21249         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21250         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21251         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21253 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
21255         [BZ #12420]
21256         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
21257         storing it.
21258         * stdlib/bug-getcontext.c: New file.
21259         * stdlib/Makefile: Add rules to build and run bug-getcontext.
21261 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21263         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
21264         instructions into .machine "z9-109".
21265         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
21266         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
21268 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21270         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
21271         between environment variables and auxiliary vector.
21273 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
21275         * Makefile: Add rules to build linkobj/libc.so.
21276         * include/libc-symbols.h: Define libc_hidden_nolink.
21277         * include/rpc/auth.h: Mark functions which are to be hidden.
21278         * include/rpc/auth_des.h: Likewise.
21279         * include/rpc/auth_unix.h: Likewise.
21280         * include/rpc/clnt.h: Likewise.
21281         * include/rpc/des_crypt.h: Likewise.
21282         * include/rpc/key_prot.h: Likewise.
21283         * include/rpc/pmap_clnt.h: Likewise.
21284         * include/rpc/pmap_prot.h: Likewise.
21285         * include/rpc/pmap_rmt.h: Likewise.
21286         * include/rpc/rpc_msg.h: Likewise.
21287         * include/rpc/svc.h: Likewise.
21288         * include/rpc/svc_auth.h: Likewise.
21289         * include/rpc/xdr.h: Likewise.
21290         * nis/Makefile: Link all DSOs against linkobj/libc.so.
21291         * nss/Makefile: Likewise.
21292         * sunrpc/Makefile: Don't install headers.  Build library with normal
21293         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
21294         * sunrpc/auth_des.c: Hide exported symbols by default, export some
21295         for the compat linking library.  Remove use of INTDEF/INTUSE.
21296         * sunrpc/auth_none.c: Likewise.
21297         * sunrpc/auth_unix.c: Likewise.
21298         * sunrpc/authdes_prot.c: Likewise.
21299         * sunrpc/authuxprot.c: Likewise.
21300         * sunrpc/clnt_gen.c: Likewise.
21301         * sunrpc/clnt_perr.c: Likewise.
21302         * sunrpc/clnt_raw.c: Likewise.
21303         * sunrpc/clnt_simp.c: Likewise.
21304         * sunrpc/clnt_tcp.c: Likewise.
21305         * sunrpc/clnt_udp.c: Likewise.
21306         * sunrpc/clnt_unix.c: Likewise.
21307         * sunrpc/des_crypt.c: Likewise.
21308         * sunrpc/des_soft.c: Likewise.
21309         * sunrpc/get_myaddr.c: Likewise.
21310         * sunrpc/key_call.c: Likewise.
21311         * sunrpc/key_prot.c: Likewise.
21312         * sunrpc/netname.c: Likewise.
21313         * sunrpc/pm_getmaps.c: Likewise.
21314         * sunrpc/pm_getport.c: Likewise.
21315         * sunrpc/pmap_clnt.c: Likewise.
21316         * sunrpc/pmap_prot.c: Likewise.
21317         * sunrpc/pmap_prot2.c: Likewise.
21318         * sunrpc/pmap_rmt.c: Likewise.
21319         * sunrpc/publickey.c: Likewise.
21320         * sunrpc/rpc_cmsg.c: Likewise.
21321         * sunrpc/rpc_common.c: Likewise.
21322         * sunrpc/rpc_dtable.c: Likewise.
21323         * sunrpc/rpc_prot.c: Likewise.
21324         * sunrpc/rpc_thread.c: Likewise.
21325         * sunrpc/rtime.c: Likewise.
21326         * sunrpc/svc.c: Likewise.
21327         * sunrpc/svc_auth.c: Likewise.
21328         * sunrpc/svc_authux.c: Likewise.
21329         * sunrpc/svc_raw.c: Likewise.
21330         * sunrpc/svc_run.c: Likewise.
21331         * sunrpc/svc_simple.c: Likewise.
21332         * sunrpc/svc_tcp.c: Likewise.
21333         * sunrpc/svc_udp.c: Likewise.
21334         * sunrpc/svc_unix.c: Likewise.
21335         * sunrpc/svcauth_des.c: Likewise.
21336         * sunrpc/xcrypt.c: Likewise.
21337         * sunrpc/xdr.c: Likewise.
21338         * sunrpc/xdr_array.c: Likewise.
21339         * sunrpc/xdr_float.c: Likewise.
21340         * sunrpc/xdr_intXX_t.c: Likewise.
21341         * sunrpc/xdr_mem.c: Likewise.
21342         * sunrpc/xdr_rec.c: Likewise.
21343         * sunrpc/xdr_ref.c: Likewise.
21344         * sunrpc/xdr_sizeof.c: Likewise.
21345         * sunrpc/xdr_stdio.c: Likewise.
21347 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
21349         [BZ #12650]
21350         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
21351         * sysdeps/ia64/dl-tls.h: Likewise.
21352         * sysdeps/powerpc/dl-tls.h: Likewise.
21353         * sysdeps/s390/dl-tls.h: Likewise.
21354         * sysdeps/sh/dl-tls.h: Likewise.
21355         * sysdeps/sparc/dl-tls.h: Likewise.
21356         * sysdeps/x86_64/dl-tls.h: Likewise.
21357         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
21359 2011-03-14  Andreas Schwab  <schwab@redhat.com>
21361         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
21362         rpath element also skip the following colon.
21363         (expand_dynamic_string_token): Add is_path parameter and pass
21364         down to DL_DST_REQUIRED and _dl_dst_substitute.
21365         (decompose_rpath): Call expand_dynamic_string_token with
21366         non-zero is_path.  Ignore empty rpaths.
21367         (_dl_map_object_from_fd): Call expand_dynamic_string_token
21368         with zero is_path.
21370 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
21372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21373         Make cancelable.
21375 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
21377         [BZ #12655]
21378         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
21379         Patch by Filipe David Manana <fdmanana@apache.org>.
21381 2011-04-07  Andreas Schwab  <schwab@redhat.com>
21383         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
21384         Maintain aligned stack.
21385         (CHECK_RSP): Remove unused macro.
21387 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
21389         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
21390         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
21392 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
21394         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
21396         * include/features.h: Mention __USE_XOPEN2K8 in comment.
21398 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
21400         [BZ #12518]
21401         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
21402         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
21403         * sysdeps/x86_64/memmove.c: New file.
21404         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
21405         (memcpy): Renamed to ...
21406         (__new_memcpy): This.
21407         (memcpy): Provide GLIBC_2_14 memcpy.
21408         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
21409         (memcpy): Provide GLIBC_2_2_5 memcpy.
21411 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
21413         [BZ #12631]
21414         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
21416 2011-03-30  Andreas Schwab  <schwab@redhat.com>
21418         * misc/syncfs.c: New file.
21419         * misc/Makefile (routines): Add syncfs.
21420         * posix/unistd.h: Declare syncfs.
21421         * sysdeps/unix/syscalls.list: Add syncfs.
21423 2011-04-01  Andreas Schwab  <schwab@redhat.com>
21425         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
21426         open_by_handle_at.
21427         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
21428         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21429         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21430         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21431         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21432         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
21433         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21435 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
21437         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
21438         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21439         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
21440         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21441         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21442         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21443         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21445         * io/Makefile: Compile fallocate.c, fallocate64.c, and
21446         sync_file_range.c with -fexceptions.
21447         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
21448         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
21449         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
21450         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
21451         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
21452         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21453         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
21454         sync_file_range as cancellation point
21455         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
21456         now a wrapper around __call_sync_file_range with cancellation handling.
21457         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
21458         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
21459         function name to __call_sync_file_range.
21460         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
21461         Add call_sync_file_range.
21463 2011-04-01  Andreas Schwab  <schwab@redhat.com>
21465         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21466         bits/timex.h.
21468 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
21470         * iconv/iconv.h: Fix typo in comment.
21471         * io/fcntl.h: Likewise.
21472         * libio/stdio.h: Likewise.
21473         * posix/spawn.h: Likewise.
21474         * posix/unistd.h: Likewise.
21475         * stdlib/stdlib.h: Likewise.
21476         * time/time.h: Likewise.
21477         * wcsmbs/wchar.h: Likewise.
21479         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
21480         open_by_handle): Add.
21481         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
21482         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
21483         Augment a few comments.
21484         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21485         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21486         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21487         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21488         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21489         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
21490         open_by_handle.
21492         * io/fcntl.h (AT_EMPTY_PATH): Define.
21494 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
21496         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
21497         * sysdeps/unix/sysv/linux/bits/time.h: New file.
21498         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
21499         to...
21500         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
21501         * Versions.def: Add GLIBC_2.14.
21502         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
21503         Export.
21505 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
21507         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
21508         round counter.
21509         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21511 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
21513         [BZ #12597]
21514         * string/test-strncmp.c (do_page_test): New function.
21515         (check2): Likewise.
21516         (test_main): Call check2.
21517         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
21519 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
21521         [BZ #12587]
21522         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
21523         Handle cache information in CPU leaf 4.
21524         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21526 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
21528         [BZ #12583]
21529         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
21530         character representation.
21531         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
21533 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
21535         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
21536         END(__isnan) to END(__isnanf) to match function entry point/label
21537         EALIGN(__isnanf,...).
21539 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
21541         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
21543 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
21545         [BZ #12510]
21546         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
21547         copy from the symbol referenced in the relocation to initialize the
21548         used variable.
21549         Patch by Piotr Bury <pbury@goahead.com>.
21550         * elf/Makefile: Add rules to build and tst-unique3.
21551         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
21552         * elf/tst-unique3.cc: New file.
21553         * elf/tst-unique3.h: New file.
21554         * elf/tst-unique3lib.cc: New file.
21555         * elf/tst-unique3lib2.cc: New file.
21557         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
21559 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
21561         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
21562         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
21563         to _start.
21565 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
21567         * elf/dl-load.c (_dl_map_object): If we are looking for the first
21568         to-be-loaded object along a path to loader is ld.so.
21570 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
21571             Ulrich Drepper  <drepper@gmail.com>
21573         * sysdeps/x86_64/memset.S: After aligning destination, code
21574         branches to different locations depending on the value of
21575         misalignment, when multiarch is enabled. Fix this.
21577 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
21579         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
21580         Set _x86_64_preferred_memory_instruction for AMD processsors.
21581         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21582         Set bit_Prefer_SSE_for_memop for AMD processors.
21584 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
21586         * libio/fmemopen.c (fmemopen): Optimize a bit.
21588 2011-03-03  Andreas Schwab  <schwab@redhat.com>
21590         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
21592 2011-03-03  Roland McGrath  <roland@redhat.com>
21594         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
21596 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
21598         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
21599         __bzero_ultra1 instead of __memset_ultra1.
21601 2011-02-23  Andreas Schwab  <schwab@redhat.com>
21602             Ulrich Drepper  <drepper@gmail.com>
21604         [BZ #12509]
21605         * include/link.h (struct link_map): Add l_orig_initfini.
21606         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
21607         returning unsuccessfully.
21608         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
21609         close of a file loaded at startup, restore the original l_initfini
21610         list.
21611         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
21612         list, store the pointer.
21613         * elf/Makefile ($(objpfx)noload-mem): New rule.
21614         (noload-ENV): Define.
21615         (tests): Add $(objpfx)noload-mem.
21616         * elf/noload.c: Include <memcheck.h>.
21617         (main): Call mtrace.  Close all opened handles.
21619 2011-02-17  Andreas Schwab  <schwab@redhat.com>
21621         [BZ #12454]
21622         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
21623         dependencies are missing.
21625 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21627         Fix __if_freereq crash: Unlike the generic version which uses free,
21628         Hurd needs munmap.
21629         * sysdeps/mach/hurd/ifreq.h: New file.
21631 2011-01-27  Petr Baudis  <pasky@suse.cz>
21632             Ulrich Drepper  <drepper@gmail.com>
21634         [BZ 12445]#
21635         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
21636         to extend_alloca().
21637         * stdio-common/bug23.c: New file.
21638         * stdio-common/Makefile (tests): Add bug23.
21640 2010-09-28  Andreas Schwab  <schwab@redhat.com>
21641             Ulrich Drepper  <drepper@gmail.com>
21643         [BZ #12489]
21644         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
21645         before performing relro protection.  At old place add assertion
21646         to make sure nothing changed.
21648 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
21649             Glauber de Oliveira Costa  <glommer@gmail.com>
21651         * elf/elf.h: Add new ARM TLS relocs.
21653 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
21655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21656         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
21657         cast from r3.
21658         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
21659         'tests' variable.
21660         * sysdeps/wordsize-64/tst-writev.c: New file.
21662 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
21664         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
21665         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
21666         insns in _dl_start to prevent a TOC reference before relocs are
21667         resolved.
21669 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
21671         [BZ #12469]
21672         * Makeconfig: Remove RANLIB definition.
21673         * Makerules: Don't use RANLIB.
21674         * aclocal.m4: Remove ranlib test.
21675         * configure.in: No need to check for ranlib.
21676         * elf/rtld-Rules: Don't use RANLIB.
21678 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21680         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
21681         protection macro.
21682         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
21683         inclusion protection macro.
21685         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
21686         SIGRTMIN and SIGRTMAX and print information in that case only when
21687         SIGRTMIN is defined.
21689 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
21691         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
21692         arginfo fn returning -1.
21694         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
21695         and thousands string is zero terminated.
21697 2011-02-03  Andreas Schwab  <schwab@redhat.com>
21699         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
21700         sysdeps/unix/sysv/linux/bits/socket.h.
21702 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21704         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
21705         (__CPU_COUNT): Remove old macros.
21706         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
21707         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
21708         (__CPU_ALLOC, __CPU_FREE): Add macros.
21709         (__sched_cpualloc, __sched_cpufree): Add declarations.
21711 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
21713         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
21714         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
21715         * nscd/aicache.c (addhstaiX): Return timeout of added value.
21716         (readdhstai): Return value of addhstaiX call.
21717         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
21718         (addgrbyX): Return value returned by cache_addgr.
21719         (readdgrbyname): Return value returned by addgrbyX.
21720         (readdgrbygid): Likewise.
21721         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
21722         (addpwbyX): Return value returned by cache_addpw.
21723         (readdpwbyname): Return value returned by addhstbyX.
21724         (readdpwbyuid): Likewise.
21725         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
21726         (addservbyX): Return value returned by cache_addserv.
21727         (readdservbyname): Return value returned by addservbyX:
21728         (readdservbyport): Likewise.
21729         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
21730         (addhstbyX): Return value returned by cache_addhst.
21731         (readdhstbyname): Return value returned by addhstbyX.
21732         (readdhstbyaddr): Likewise.
21733         (readdhstbynamev6): Likewise.
21734         (readdhstbyaddrv6): Likewise.
21735         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
21736         (readdinitgroups): Return value returned by addinitgroupsX.
21737         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
21738         (prune_cache): Keep track of timeout value of re-added entries.
21739         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
21740         * nscd/nscd.h: Adjust prototypes of readd* functions.
21742 2011-02-04  Roland McGrath  <roland@redhat.com>
21744         * nis/nis_server.c (nis_servstate): Use the right name for 0.
21745         (nis_stats): Likewise.
21746         * nis/nis_modify.c (nis_modify): Likewise.
21747         * nis/nis_remove.c (nis_remove): Likewise.
21748         * nis/nis_add.c (nis_add): Likewise.
21750         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
21752         * posix/fnmatch_loop.c: Add some consts.
21754         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
21756 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
21758         [BZ #12460]
21759         * config.make.in (config-cflags-novzeroupper): Define.
21760         * configure.in: Substitute libc_cv_cc_novzeroupper.
21761         * elf/Makefile (AVX-CFLAGS): Define.
21762         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
21763         (CFLAGS-tst-auditmod4a.c): Likewise.
21764         (CFLAGS-tst-auditmod4b.c): Likewise.
21765         (CFLAGS-tst-auditmod6b.c): Likewise.
21766         (CFLAGS-tst-auditmod6c.c): Likewise.
21767         (CFLAGS-tst-auditmod7b.c): Likewise.
21768         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
21770 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
21772         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
21773         function to the callback.
21774         Patch partly by Jiri Olsa <jolsa@redhat.com>.
21776 2011-02-02  Andreas Schwab  <schwab@redhat.com>
21778         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
21779         of errno.
21781 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
21783         [BZ #11724]
21784         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
21785         of constructors.
21786         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
21787         of destructors.
21788         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
21790         [BZ #11724]
21791         * elf/Makefile: Add rules to build and run new test.
21792         * elf/tst-initorder.c: New file.
21793         * elf/tst-initorder.exp: New file.
21794         * elf/tst-initordera1.c: New file.
21795         * elf/tst-initordera2.c: New file.
21796         * elf/tst-initordera3.c: New file.
21797         * elf/tst-initordera4.c: New file.
21798         * elf/tst-initorderb1.c: New file.
21799         * elf/tst-initorderb2.c: New file.
21800         * elf/tst-order-a1.c: New file.
21801         * elf/tst-order-a2.c: New file.
21802         * elf/tst-order-a3.c: New file.
21803         * elf/tst-order-a4.c: New file.
21804         * elf/tst-order-b1.c: New file.
21805         * elf/tst-order-b2.c: New file.
21806         * elf/tst-order-main.c: New file.
21807         New test case by George Gensure <werkt0@gmail.com>.
21809 2010-10-01  Andreas Schwab  <schwab@redhat.com>
21811         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21812         decoding ACE if AI_CANONIDN.
21814 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
21816         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
21818 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
21820         * version.h (RELEASE): Bump for 2.13 release.
21821         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
21823         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
21825         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
21826         MADV_NOHUGEPAGE.
21827         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
21828         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21829         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21830         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21831         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21832         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21834         * posix/getconf.c: Update copyright year.
21835         * catgets/gencat.c: Likewise.
21836         * csu/version.c: Likewise.
21837         * debug/catchsegv.sh: Likewise.
21838         * debug/xtrace.sh: Likewise.
21839         * elf/ldconfig.c: Likewise.
21840         * elf/ldd.bash.in: Likewise.
21841         * elf/sprof.c (print_version): Likewise.
21842         * iconv/iconv_prog.c: Likewise.
21843         * iconv/iconvconfig.c: Likewise.
21844         * locale/programs/locale.c: Likewise.
21845         * locale/programs/localedef.c: Likewise.
21846         * malloc/memusage.sh: Likewise.
21847         * malloc/mtrace.pl: Likewise.
21848         * nscd/nscd.c (print_version): Likewise.
21849         * nss/getent.c: Likewise.
21851         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
21852         PF_CAIF, and PF_ALG.
21853         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21855 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
21857         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
21858         (modules-names): Use them.
21859         (ifunc-test-modules, ifunc-pie-tests): Define.
21860         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
21861         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
21862         (test-extras): Likewise.
21863         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
21864         $(compile-command.c).
21865         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
21866         (all-built-dso): Define.
21867         (check-textrel.out, check-execstack.out): Depend on it.
21869         * configure.in: Don't override --enable-multi-arch.
21871 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
21873         [BZ #6812]
21874         * nscd/hstcache.c (tryagain): Define.
21875         (cache_addhst): Return tryagain not notfound for temporary errors.
21876         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
21877         failed.
21879 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
21881         [BZ #10563]
21882         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
21883         to make the syscall.
21884         * sysdeps/unix/sysv/linux/setgroups.c: New file.
21886         [BZ #12378]
21887         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
21888         and fall back to matching as normal character if the string ends before
21889         the matching ']' is found.  This is what POSIX requires.
21890         * posix/testfnm.c: Adjust test result.
21891         * posix/globtest.sh: Adjust test result.  Add new test.
21892         * posix/tst-fnmatch.input: Likewise.
21893         * posix/tst-fnmatch2.c: Add new test.
21895 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
21897         * elf/Makefile (check-execstack): Revert last change.  Depend on
21898         check-execstack.h.
21899         (check-execstack.h): New target.
21900         (generated): Add check-execstack.h.
21901         * elf/check-execstack.c: Include "check-execstack.h".
21902         (main): Revert last change.
21903         (handle_file): Return zero if GNU_STACK is absent and
21904         DEFAULT_STACK_PERMS doesn't include PF_X.
21906 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
21908         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
21909         in child fails because the descriptor is already closed.
21910         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
21911         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
21912         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
21914         [BZ #12397]
21915         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
21916         syscall.
21918         [BZ #10484]
21919         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
21920         temporary buffer used to handle multi lookups locally.
21921         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
21923 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
21925         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
21926         loader is ld.so.
21928 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
21930         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
21931         alignment for SSE2.
21933 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
21935         [BZ #12394]
21936         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
21937         characters.  When rounding increased number of integer digits recompute
21938         number of groups.
21939         * stdio-common/tst-grouping.c: New file.
21940         * stdio-common/Makefile: Add rules to build and run tst-grouping.
21942 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
21944         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
21945         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
21947         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
21948         void.
21949         * bits/select.h: Likewise.
21951 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
21953         * po/ja.po: Update from translation team.
21955 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
21957         [BZ #11155]
21958         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
21959         implementation just like for lxstat, fxstatat, et al.
21961 2010-12-27  Jim Meyering  <meyering@redhat.com>
21963         [BZ #12348]
21964         * posix/regexec.c (build_trtable): Return failure indication upon
21965         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
21967 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
21969         [BZ #12201]
21970         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
21971         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
21972         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
21973         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
21975         [BZ #12207]
21976         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
21978         [BZ #12204]
21979         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
21980         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
21982 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
21984         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
21985         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
21986         script has SORT_BY_INIT_PRIORITY.
21987         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
21988         NO_CTORS_DTORS_SECTIONS is defined.
21989         * elf/soinit.c: Likewise.
21990         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
21991         NO_CTORS_DTORS_SECTIONS is defined.
21992         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
21993         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
21994         * sysdeps/sh/init-first.c: Likewise.
21995         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
21997 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
21999         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
22000         always use the slow path.
22002 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
22004         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
22005         similar rule which adds the sysdep directories to the header search in
22006         order to pick up the correct platform stackinfo.h.
22007         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
22008         perform test if it is, otherwise return successfully without testing.
22009         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
22010         DEFAULT_STACK_PERMS define in stackinfo.h.
22011         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
22012         defined in stackinfo.h.
22013         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
22014         DEFAULT_STACK_PERMS defined in stackinfo.h.
22015         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
22016         * sysdeps/ia64/stackinfo.h: Likewise.
22017         * sysdeps/s390/stackinfo.h: Likewise.
22018         * sysdeps/sh/stackinfo.h: Likewise.
22019         * sysdeps/sparc/stackinfo.h: Likewise.
22020         * sysdeps/x86_64/stackinfo.h: Likewise.
22021         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
22022         PF_X for powerpc64.  Retain PF_X for powerpc32.
22024 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
22026         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
22027         accurately.
22028         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
22029         GETDENTS_64BIT_ALIGNED.
22031 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
22033         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
22035 2010-12-10  Andreas Schwab  <schwab@redhat.com>
22037         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
22038         _GNU_SOURCE.
22040         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
22041         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
22042         Remove __restrict.
22043         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
22044         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
22046 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
22048         [BZ #11655]
22049         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
22050         are initialized.
22052 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
22054         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
22056 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
22058         * po/it.po: Update from translation team.
22060 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
22062         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
22063         unused codes.
22065 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
22067         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
22069 2010-11-24  Andreas Schwab  <schwab@redhat.com>
22071         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
22072         specially.
22073         (gaih_getanswer_slice): Likewise.
22075 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
22077         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
22079 2010-05-31  Petr Baudis  <pasky@suse.cz>
22081         [BZ #11149]
22082         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
22083         silently even in the chroot mode.
22085 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
22087         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
22088         last patch a bit.  Pretty printing
22090 2010-05-31  Petr Baudis <pasky@suse.cz>
22092         [BZ #10085]
22093         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
22094         initialization of skip_initgroups_dyn.
22096 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
22098         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
22099         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22101 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
22103         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
22105 2010-11-11  Andreas Schwab  <schwab@redhat.com>
22107         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
22108         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
22109         (tst-fnmatch-ENV): Set MALLOC_TRACE.
22110         ($(objpfx)tst-fnmatch-mem): New rule.
22111         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
22112         * posix/tst-fnmatch.c (main): Call mtrace.
22114 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
22116         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22117         Support Intel processor model 6 and model 0x2c.
22119 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
22121         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
22122           signed comparison.
22124 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
22126         [BZ #12205]
22127         * string/test-strncasecmp.c (check_result): New function.
22128         (do_one_test): Use it.
22129         (check1): New function.
22130         (test_main): Use it.
22131         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
22132         Support strcasecmp and strncasecmp.
22134 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
22136         [BZ #12194]
22137         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
22138         * sysdeps/x86_64/bits/byteswap.h: Likewise.
22140 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
22142         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
22143         IFUNC support.
22144         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22145         memset-x86-64.
22146         * sysdeps/x86_64/multiarch/bzero.S: New file.
22147         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
22148         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
22149         * sysdeps/x86_64/multiarch/memset.S: New file.
22150         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
22151         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22152         Set bit_Prefer_SSE_for_memop for Intel processors.
22153         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
22154         Define.
22155         (index_Prefer_SSE_for_memop): Define.
22156         (HAS_PREFER_SSE_FOR_MEMOP): Define.
22158 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
22160         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
22161         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
22163 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
22165         [BZ #12191]
22166         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22167         (__x86_64_raw_data_cache_size_half): Likewise.
22168         (__x86_64_raw_shared_cache_size): Likewise.
22169         (__x86_64_raw_shared_cache_size_half): Likewise.
22171         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22172         (__x86_64_raw_data_cache_size_half): Likewise.
22173         (__x86_64_raw_shared_cache_size): Likewise.
22174         (__x86_64_raw_shared_cache_size_half): Likewise.
22175         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
22176         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
22177         and __x86_64_raw_shared_cache_size_half.  Round
22178         __x86_64_data_cache_size_half, __x86_64_data_cache_size
22179         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
22180         to multiple of 256 bytes.
22182 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
22184         [BZ #12167]
22185         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
22186         of inacessible symlinks.  Verify result of symlink before returning it.
22187         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22188         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
22190 2010-10-28  Erich Ritz  <erichritz@gmail.com>
22192         * math/math.h (isinf): Fix typo in comment.
22194 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
22196         * po/da.po: Update from translation team.
22198 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
22200         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
22201         is added to the list.
22203 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22204             Ulrich Drepper  <drepper@gmail.com>
22206         * elf/dl-object.c (_dl_new_object): Don't append the new object to
22207         the global list here.  Move code to...
22208         (_dl_add_to_namespace_list): ...here.  New function.
22209         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
22210         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
22211         * elf/dl-load.c (lose): Don't remove the element from the list.
22212         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
22213         (_dl_map_object): Likewise.
22215 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
22217         [BZ #12159]
22218         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
22219         into all bytes of SSE register.
22220         Patch by Richard Li <richardpku@gmail.com>.
22222 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
22224         [BZ #12140]
22225         * malloc/malloc.c (_int_free): Fill correct number of bytes when
22226         perturbing.
22228 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
22230         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
22231         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
22232         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
22233         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
22234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
22235         submachine.
22236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
22238 2010-10-22  Andreas Schwab  <schwab@redhat.com>
22240         * include/dlfcn.h (__RTLD_SECURE): Define.
22241         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
22242         mode & __RTLD_SECURE instead.
22243         (open_path): Rename preloaded parameter to secure.
22244         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
22245         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
22246         * elf/dl-deps.c (openaux): Likewise.
22247         * elf/rtld.c (struct map_args): Remove is_preloaded.
22248         (map_doit): Don't use it.
22249         (dl_main): Likewise.
22250         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
22251         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
22253 2010-09-09  Andreas Schwab  <schwab@redhat.com>
22255         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
22256         (sysd-rules-targets): Remove duplicates.
22257         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
22258         rtld-%.$o dependency.
22260 2010-10-18  Andreas Schwab  <schwab@redhat.com>
22262         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
22263         _dl_map_object do it.
22265 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
22267         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
22268         fast fma builtins, define the macros in the C99 standard.
22269         (FP_FAST_FMAF): Likewise.
22270         (FP_FAST_FMAL): Likewise.
22271         * sysdeps/x86_64/bits/mathdef.h: Likewise.
22273         * bits/mathdef.h: Update copyright year.
22274         * sysdeps/powerpc/bits/mathdef.h: Likewise.
22276 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
22278         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
22279         builtins, define the macros in the C99 standard.
22280         (FP_FAST_FMAF): Likewise.
22281         (FP_FAST_FMAL): Likewise.
22282         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
22283         multiply/add.
22284         (FP_FAST_FMAF): Likewise.
22286 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
22288         [BZ #3268]
22289         * math/libm-test.inc (fma_test): Some new testcases.
22290         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
22291         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
22292         y and infinite z.  Do multiplication by C already in long double.
22293         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
22294         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
22295         y and infinite z.  Do bitwise or of inexact bit into u.d.
22296         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
22297         * sysdeps/i386/fpu/s_fmaf.S: Removed.
22298         * sysdeps/i386/fpu/s_fma.S: Removed.
22299         * sysdeps/i386/fpu/s_fmal.S: Removed.
22301 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
22303         [BZ #3268]
22304         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
22305         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
22306         computation is not scheduled after fetestexcept.  Fix value
22307         of minimum denormal long double.
22309 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
22311         [BZ #3268]
22312         * math/libm-test.inc (fma_test): Add some more tests.
22313         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
22314         correctly.
22316 2010-10-15  Andreas Schwab  <schwab@redhat.com>
22318         * scripts/data/localplt-s390-linux-gnu.data: New file.
22319         * scripts/data/localplt-s390x-linux-gnu.data: New file.
22321 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
22323         [BZ #3268]
22324         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
22325         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
22326         instead of dbl-64.
22327         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
22328         inlines.
22329         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
22330         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
22331         if one of x and y is very large and the other is subnormal.
22332         * sysdeps/s390/fpu/s_fmaf.c: New file.
22333         * sysdeps/s390/fpu/s_fma.c: New file.
22334         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
22335         * sysdeps/powerpc/fpu/s_fma.S: New file.
22336         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
22337         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
22338         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
22340 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
22342         [BZ #3268]
22343         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
22344         fma tests.
22345         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
22346         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
22347         * sysdeps/i386/i686/multiarch/s_fma.c: Include
22348         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
22349         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
22350         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
22351         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
22353 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
22355         [BZ #12078]
22356         * posix/regcomp.c (parse_branch): One more memory leak plugged.
22357         * posix/bug-regex31.input: Add test case.
22359 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
22361         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
22362         * posix/bug-regex31.input: New file.
22364         [BZ #12078]
22365         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
22366         (parse_sub_exp): Fix last change, use postorder.
22368         * posix/bug-regex31.c: New file.
22369         * posix/Makefile: Add rules to build and run bug-regex31.
22371         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
22373         [BZ #12078]
22374         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
22376         [BZ #12108]
22377         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
22378         to have entries in sys_siglist.
22380         [BZ #12093]
22381         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
22382         be NULL.
22384 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
22386         [BZ #3268]
22387         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
22388         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
22389         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22390         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
22391         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22392         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
22393         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
22394         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
22395         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
22396         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
22397         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
22398         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
22399         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22400         * math/ftestexcept.c (fetestexcept): Likewise.
22401         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
22402         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
22403         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
22404         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
22405         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
22406         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
22407         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22409 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
22411         [BZ #12107]
22412         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
22413         newline.
22415 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
22417         * string/bug-strstr1.c: New file.
22418         * string/Makefile: Add rules to build and run bug-strstr1.
22420 2010-10-05  Eric Blake  <eblake@redhat.com>
22422         [BZ #12092]
22423         * string/str-two-way.h (two_way_long_needle): Always clear memory
22424         when skipping input due to the shift table.
22426 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
22428         [BZ #12005]
22429         * malloc/mcheck.c: Handle large requests.
22431         [BZ #12077]
22432         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
22433         for strncmp and strncasecmp.
22434         * string/stratcliff.c: Add tests for strcmp and strncmp.
22435         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
22437 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
22439         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
22440         __set_fpscr.
22442 2010-09-30  Andreas Jaeger  <aj@suse.de>
22444         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
22445         (CGROUP_SUPER_MAGIC): Define.
22446         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22447         Handle btrfs and cgroup file systems.
22448         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22449         Likewise.
22451 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
22453         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
22454         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
22456 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22458         [BZ #12067]
22459         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
22460         trying to locate the ELF header.
22462 2010-09-27  Andreas Schwab  <schwab@redhat.com>
22464         [BZ #11611]
22465         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
22466         Mask out sign-bit copies when constructing f_fsid.
22468 2010-09-24  Petr Baudis <pasky@suse.cz>
22470         * debug/stack_chk_fail_local.c: Add missing licence exception.
22471         * debug/warning-nop.c: Likewise.
22473 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
22475         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
22476         implementing getdents64 using getdents syscall, set d_type if
22477         __ASSUME_GETDENTS32_D_TYPE.
22479 2010-09-16  Andreas Schwab  <schwab@redhat.com>
22481         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
22482         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
22484 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
22486         [BZ #12037]
22487         * posix/unistd.h: Undo change of feature selection for ftruncate from
22488         2010-01-11.
22490 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
22492         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
22493         detection.
22495 2010-09-20  Andreas Schwab  <schwab@redhat.com>
22497         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
22498         fanotify_mark.
22499         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22501 2010-09-14  Andreas Schwab  <schwab@redhat.com>
22503         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
22504         variables after CHECK_SP call.
22505         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
22507 2010-09-13  Andreas Schwab  <schwab@redhat.com>
22508             Ulrich Drepper  <drepper@redhat.com>
22510         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
22511         re-relocationg ld.so.
22512         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
22513         _dl_init_paths call.
22514         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
22515         here anymore.
22517 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
22519         * resolv/res_init.c (__res_vinit): Count the default server we added.
22521 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
22522             Ulrich Drepper  <drepper@redhat.com>
22524         [BZ #11968]
22525         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22526         (____longjmp_chk): Use %ebx for saving value across system call.
22527         Add unwind info.
22529 2010-09-06  Andreas Schwab  <schwab@redhat.com>
22531         * manual/Makefile: Don't mix pattern rules with normal rules.
22533 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
22535         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
22536         operation.
22537         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
22538         * libio/iofopncook.c (_IO_cookie_init): Likewise.
22539         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
22540         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22541         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22542         Likewise.
22544 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
22546         [BZ #11979]
22547         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
22548         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
22550 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
22552         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
22553         * sysdeps/x86_64/addmul_1.S: Likewise.
22554         * sysdeps/x86_64/lshift.S: Likewise.
22555         * sysdeps/x86_64/mul_1.S: Likewise.
22556         * sysdeps/x86_64/rshift.S: Likewise.
22557         * sysdeps/x86_64/sub_n.S: Likewise.
22558         * sysdeps/x86_64/submul_1.S: Likewise.
22560 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22562         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
22563         Define __sched_param instead of SCHED_* and sched_param when
22564         <bits/sched.h> is included with __need_schedparam defined.
22565         * bits/sched.h [__need_schedparam]
22566         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
22567         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
22568         (__defined_schedparam): Define to 1.
22569         (__sched_param): New structure, identical to sched_param.
22570         (__need_schedparam): Undefine.
22572 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
22574         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
22575         (epoll_create1): Declare.
22577         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
22579 2010-08-31  Andreas Schwab  <schwab@redhat.com>
22581         [BZ #7066]
22582         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
22583         shifting retval into place.
22585 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
22587         * nis/rpcsvc/nis.h: Update copyright notice.
22588         * nis/rpcsvc/nis.x: Likewise.
22589         * nis/rpcsvc/nis_callback.h: Likewise.
22590         * nis/rpcsvc/nis_callback.x: Likewise.
22591         * nis/rpcsvc/nis_object.x: Likewise.
22592         * nis/rpcsvc/nis_tags.h: Likewise.
22593         * nis/rpcsvc/yp.h: Likewise.
22594         * nis/rpcsvc/yp.x: Likewise.
22595         * nis/rpcsvc/ypupd.h: Likewise.
22596         * nis/yp_xdr.c: Likewise.
22597         * nis/ypupdate_xdr.c: Likewise.
22599         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
22600         mainly the body of pmap_getport.  Add parameters to specify timeouts.
22601         (pmap_getport): Use __libc_rpc_getport.
22602         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
22603         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
22604         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
22606 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
22608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
22609         fanotify_mark.
22611 2010-08-27  Roland McGrath  <roland@redhat.com>
22613         * sysdeps/i386/i686/multiarch/Makefile
22614         (CFLAGS-varshift.c): New variable.
22616 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
22618         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
22619         * sysdeps/i386/i686/multiarch/varshift.c: New file.
22621         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
22623         * sysdeps/x86_64/strlen.S: Minimal code improvement.
22625 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
22627         * sysdeps/x86_64/strlen.S: Unroll the loop.
22628         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22629         strlen-sse2 strlen-sse2-bsf.
22630         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
22631         __strlen_no_bsf if bit_Slow_BSF is set.
22632         (__strlen_sse42): Removed.
22633         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
22634         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
22636 2010-08-25  Roland McGrath  <roland@redhat.com>
22638         * sysdeps/x86_64/multiarch/varshift.S: File removed.
22639         * sysdeps/x86_64/multiarch/varshift.c: New file.
22640         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
22641         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
22642         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
22643         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22645 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
22647         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22648         strlen-sse2 strlen-sse2-bsf.
22649         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
22650         __strlen_sse2_bsf if bit_Slow_BSF is unset.
22651         (__strlen_sse2): Removed.
22652         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
22653         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
22654         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22655         bit_Slow_BSF for Atom.
22656         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
22657         (index_Slow_BSF): Define.
22658         (HAS_SLOW_BSF): Define.
22660 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
22662         [BZ #10851]
22663         * resolv/res_init.c (__res_vinit): When no server address at all
22664         is given default to loopback.
22666 2010-08-24  Roland McGrath  <roland@redhat.com>
22668         * configure.in: Remove config-name.h generation.
22669         * configure: Regenerated.
22670         * config-name.in: File removed.
22671         * scripts/config-uname.sh: New file.
22672         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
22673         ($(objdir)config-name.h): New target.
22675         * sunrpc/rpc_parse.h: Avoid nested comment.
22677 2010-08-24  Richard Henderson  <rth@redhat.com>
22678             Ulrich Drepper  <drepper@redhat.com>
22679             H.J. Lu  <hongjiu.lu@intel.com>
22681         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
22682         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
22683         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
22684         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
22685         _mm_alignr_epi8 with _mm_loadu_si128.
22686         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
22687         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
22688         (__m128i_shift_right): Removed.
22689         * sysdeps/i386/i686/multiarch/varshift.h: New file.
22690         * sysdeps/i386/i686/multiarch/varshift.S: New file.
22691         * sysdeps/x86_64/multiarch/varshift.h: New file.
22692         * sysdeps/x86_64/multiarch/varshift.S: New file.
22694 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
22696         * configure.in: Move assembler checks to before sysdep dir checking.
22698 2010-08-20  Petr Baudis  <pasky@suse.cz>
22700         * LICENSES: Sync the sunrpc license.
22702 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
22704         * sunrpc/auth_des.c: Update copyright notice once again.
22705         * sunrpc/auth_none.c: Likewise.
22706         * sunrpc/auth_unix.c: Likewise.
22707         * sunrpc/authdes_prot.c: Likewise.
22708         * sunrpc/authuxprot.c: Likewise.
22709         * sunrpc/bindrsvprt.c: Likewise.
22710         * sunrpc/clnt_gen.c: Likewise.
22711         * sunrpc/clnt_perr.c: Likewise.
22712         * sunrpc/clnt_raw.c: Likewise.
22713         * sunrpc/clnt_simp.c: Likewise.
22714         * sunrpc/clnt_tcp.c: Likewise.
22715         * sunrpc/clnt_udp.c: Likewise.
22716         * sunrpc/clnt_unix.c: Likewise.
22717         * sunrpc/des_crypt.c: Likewise.
22718         * sunrpc/des_soft.c: Likewise.
22719         * sunrpc/get_myaddr.c: Likewise.
22720         * sunrpc/getrpcport.c: Likewise.
22721         * sunrpc/key_call.c: Likewise.
22722         * sunrpc/key_prot.c: Likewise.
22723         * sunrpc/openchild.c: Likewise.
22724         * sunrpc/pm_getmaps.c: Likewise.
22725         * sunrpc/pm_getport.c: Likewise.
22726         * sunrpc/pmap_clnt.c: Likewise.
22727         * sunrpc/pmap_prot.c: Likewise.
22728         * sunrpc/pmap_prot2.c: Likewise.
22729         * sunrpc/pmap_rmt.c: Likewise.
22730         * sunrpc/rpc/auth.h: Likewise.
22731         * sunrpc/rpc/auth_unix.h: Likewise.
22732         * sunrpc/rpc/clnt.h: Likewise.
22733         * sunrpc/rpc/des_crypt.h: Likewise.
22734         * sunrpc/rpc/key_prot.h: Likewise.
22735         * sunrpc/rpc/netdb.h: Likewise.
22736         * sunrpc/rpc/pmap_clnt.h: Likewise.
22737         * sunrpc/rpc/pmap_prot.h: Likewise.
22738         * sunrpc/rpc/pmap_rmt.h: Likewise.
22739         * sunrpc/rpc/rpc.h: Likewise.
22740         * sunrpc/rpc/rpc_des.h: Likewise.
22741         * sunrpc/rpc/rpc_msg.h: Likewise.
22742         * sunrpc/rpc/svc.h: Likewise.
22743         * sunrpc/rpc/svc_auth.h: Likewise.
22744         * sunrpc/rpc/types.h: Likewise.
22745         * sunrpc/rpc/xdr.h: Likewise.
22746         * sunrpc/rpc_clntout.c: Likewise.
22747         * sunrpc/rpc_cmsg.c: Likewise.
22748         * sunrpc/rpc_common.c: Likewise.
22749         * sunrpc/rpc_cout.c: Likewise.
22750         * sunrpc/rpc_dtable.c: Likewise.
22751         * sunrpc/rpc_hout.c: Likewise.
22752         * sunrpc/rpc_main.c: Likewise.
22753         * sunrpc/rpc_parse.c: Likewise.
22754         * sunrpc/rpc_parse.h: Likewise.
22755         * sunrpc/rpc_prot.c: Likewise.
22756         * sunrpc/rpc_sample.c: Likewise.
22757         * sunrpc/rpc_scan.c: Likewise.
22758         * sunrpc/rpc_scan.h: Likewise.
22759         * sunrpc/rpc_svcout.c: Likewise.
22760         * sunrpc/rpc_tblout.c: Likewise.
22761         * sunrpc/rpc_util.c: Likewise.
22762         * sunrpc/rpc_util.h: Likewise.
22763         * sunrpc/rpcinfo.c: Likewise.
22764         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
22765         * sunrpc/rpcsvc/key_prot.x: Likewise.
22766         * sunrpc/rpcsvc/klm_prot.x: Likewise.
22767         * sunrpc/rpcsvc/mount.x: Likewise.
22768         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
22769         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
22770         * sunrpc/rpcsvc/rex.x: Likewise.
22771         * sunrpc/rpcsvc/rstat.x: Likewise.
22772         * sunrpc/rpcsvc/rusers.x: Likewise.
22773         * sunrpc/rpcsvc/sm_inter.x: Likewise.
22774         * sunrpc/rpcsvc/spray.x: Likewise.
22775         * sunrpc/rpcsvc/yppasswd.x: Likewise.
22776         * sunrpc/rtime.c: Likewise.
22777         * sunrpc/svc.c: Likewise.
22778         * sunrpc/svc_auth.c: Likewise.
22779         * sunrpc/svc_authux.c: Likewise.
22780         * sunrpc/svc_raw.c: Likewise.
22781         * sunrpc/svc_run.c: Likewise.
22782         * sunrpc/svc_simple.c: Likewise.
22783         * sunrpc/svc_tcp.c: Likewise.
22784         * sunrpc/svc_udp.c: Likewise.
22785         * sunrpc/svc_unix.c: Likewise.
22786         * sunrpc/svcauth_des.c: Likewise.
22787         * sunrpc/xcrypt.c: Likewise.
22788         * sunrpc/xdr.c: Likewise.
22789         * sunrpc/xdr_array.c: Likewise.
22790         * sunrpc/xdr_float.c: Likewise.
22791         * sunrpc/xdr_mem.c: Likewise.
22792         * sunrpc/xdr_rec.c: Likewise.
22793         * sunrpc/xdr_ref.c: Likewise.
22794         * sunrpc/xdr_sizeof.c: Likewise.
22795         * sunrpc/xdr_stdio.c: Likewise.
22797         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
22798         handling.
22800 2010-08-19  Andreas Schwab  <schwab@redhat.com>
22802         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
22804 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
22806         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
22807         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
22808         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
22809         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
22810         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
22811         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
22812         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
22813         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
22814         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
22815         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
22816         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
22817         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
22818         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
22819         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
22821 2010-07-26  Anton Blanchard  <anton@samba.org>
22823         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
22824         * malloc/arena.c (heap_trim): Likewise.
22826 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
22828         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
22829         here.  Not...
22830         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
22831         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
22833 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
22835         * sysdeps/i386/elf/Makefile: New file.
22837 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
22839         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
22840         from fanotify_init.
22841         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
22842         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22844 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
22846         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
22847         of strncasecmp_l.
22848         * sysdeps/multiarch/strcmp.S: Likewise.
22850 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
22852         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22853         strncase_l-nonascii.
22854         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22855         Add strncase_l-ssse3.
22856         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
22857         * sysdeps/x86_64/strcmp.S: Likewise.
22858         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
22859         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
22860         * sysdeps/x86_64/strncase.S: New file.
22861         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
22862         * sysdeps/x86_64/strncase_l.S: New file.
22863         * string/Makefile (strop-tests): Add strncasecmp.
22864         * string/test-strncasecmp.c: New file.
22866         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
22867         warning.
22869         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
22870         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
22872 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
22874         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
22876 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
22878         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
22879         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
22880         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
22882 2010-05-01  Alan Modra  <amodra@gmail.com>
22884         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
22885         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
22886         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
22887         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
22888         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
22889         tidying.  Don't tail-call __sigjmp_save for static lib.
22890         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
22891         save location.
22892         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
22893         (CALL_MCOUNT): Add eh info, and nop after bl.
22894         (TAIL_CALL_SYSCALL_ERROR): New macro.
22895         (PSEUDO_RET): Use it.
22896         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22897         Correct save location of integer regs and cr.
22898         (_dl_profile_resolve): Correct cr save location.  Delete nops
22899         after bl when SHARED.  Reduce cfi size a little by better
22900         placement of cfi directives.
22901         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
22902         make a stack frame.  Instead use parm save area as a temp.
22903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
22904         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
22905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22906         Don't make a stack frame for parent, use parm save area.
22907         Increase child stack frame to 112 bytes.  Don't save unused reg,
22908         and adjust reg usage.  Set up cfi on error recovery and
22909         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
22910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22911         (__makecontext): Add dummy nop after jump to exit.
22912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
22913         Use correct parm save area and cr save, reduce stack frame.
22914         Correct cfi for possible PSEUDO_RET frame setup.
22915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
22916         Branch to local label emitted by PSEUDO_RET rather than
22917         __syscall_error.
22919 2010-08-12  Andreas Schwab  <schwab@redhat.com>
22921         [BZ #11904]
22922         * locale/programs/locale.c (print_assignment): New function.
22923         (show_locale_vars): Use it.
22925 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
22927         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
22928         field.
22929         (struct statfs64): Likewise.
22930         (_STATFS_F_FLAGS): Define.
22931         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
22932         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22933         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
22934         (ST_VALID): Define locally.
22935         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
22936         __statvfs_getflags, use the provided value.
22937         * sysdeps/unix/sysv/linux/kernel-features.h: Define
22938         __ASSUME_STATFS_F_FLAGS.
22940         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
22942         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
22943         Add sys/fanotify.h.
22944         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
22945         fanotify_mask for GLIBC_2.13.
22946         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
22947         fanotify_init and fanotify_mark.
22948         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22949         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
22951         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
22952         Add prlimit.
22953         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
22954         prlimit64 for GLIBC_2.13.
22955         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
22956         prlimit64.
22957         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
22958         syscall.
22959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
22960         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22961         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
22962         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
22963         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
22964         add prlimit alias.
22965         * sysdeps/unix/sysv/linux/prlimit.c: New file.
22967         [BZ #11903]
22968         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
22969         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
22971         * nss/Makefile: Add rules to build and run tst-nss-test1.
22972         * shlib-versions: Add entry for libnss_test1.
22973         * nss/nss_test1.c: New file.
22974         * nss/tst-nss-test1.c: New file.
22976         * nss/nsswitch.c (__nss_database_custom): Define new variable.
22977         (__nss_configure_lookup): Set appropriate entry in
22978         __nss_configure_lookup to true.
22979         * nss/nsswitch.h: Define enum with indeces of databases in
22980         databases and __nss_database_custom arrays.  Declare
22981         __nss_database_custom.
22982         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
22983         to avoid using nscd when custom rules are installed.
22984         * nss/getXXbyYY_r.c: Likewise.
22985         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22987         * nss/nss_files/files-parse.c: Whitespace fixes.
22989 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
22991         [BZ #11883]
22992         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
22993         * posix/fnmatch_loop.c: Likewise.
22995 2010-07-17  Andi Kleen  <ak@linux.intel.com>
22997         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
22998         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
22999         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
23000         * Versions.def [GLIBC_2.13]: Add.
23002 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
23004         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23005         Also fail if tpwd after pwuid call is NULL.
23007 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23009         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
23010         when converting to ms.
23012 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23014         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
23015         EOPNOTSUPP errors with ENOTTY.
23016         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
23017         EOPNOTSUPP errors with ENOTTY.
23019 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
23021         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23022         Add strcasecmp_l-ssse3.
23023         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
23024         strcasecmp.
23025         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
23026         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
23027         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
23029 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
23031         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
23033         * string/Makefile (strop-tests): Add strcasecmp.
23034         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23035         strcasecmp_l-nonascii.
23036         (gen-as-const-headers): Add locale-defines.sym.
23037         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
23038         * sysdeps/x86_64/strcasecmp.S: New file.
23039         * sysdeps/x86_64/strcasecmp_l.S: New file.
23040         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
23041         * sysdeps/x86_64/locale-defines.sym: New file.
23042         * string/test-strcasecmp.c: New file.
23044         * string/test-strcasestr.c: Test both ends of the range of characters.
23045         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
23047 2010-07-29  Roland McGrath  <roland@redhat.com>
23049         [BZ #11856]
23050         * manual/locale.texi (Yes-or-No Questions): Fix example code.
23052 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
23054         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
23055         for ld.so.
23057 2010-07-27  Andreas Schwab  <schwab@redhat.com>
23059         * manual/memory.texi (Malloc Tunable Parameters): Document
23060         M_PERTURB.
23062 2010-07-26  Roland McGrath  <roland@redhat.com>
23064         [BZ #11840]
23065         * configure.in (-fgnu89-inline check): Set and substitute
23066         gnu89_inline, not libc_cv_gnu89_inline.
23067         * configure: Regenerated.
23068         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
23070 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
23072         * string/test-strnlen.c: New file.
23073         * string/Makefile (strop-tests): Add strnlen.
23074         * string/tester.c (test_strnlen): Add a few more test cases.
23075         * string/tst-strlen.c: Better error reporting.
23077         * sysdeps/x86_64/strnlen.S: New file.
23079 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
23081         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
23082         lower-latency instructions.
23084 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
23086         * string/test-strcasestr.c: New file.
23087         * string/test-strstr.c: New file.
23088         * string/Makefile (strop-tests): Add strstr and strcasestr.
23089         * string/str-two-way.h: Don't undefine MAX.
23090         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
23092 2010-07-21  Andreas Schwab  <schwab@redhat.com>
23094         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23095         strcasestr-nonascii.
23096         (CFLAGS-strcasestr-nonascii.c): Define.
23097         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
23098         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
23099         Remove unused attribute.
23101 2010-07-20  Roland McGrath  <roland@redhat.com>
23103         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
23104         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
23105         ld.so.cache was broken.  With it, there is no way to disable dsocaps
23106         like LD_HWCAP_MASK can disable hwcaps.
23108 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
23110         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
23112 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
23114         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
23115         call in strcasestr.
23116         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
23117         __strcasestr_sse42_nonascii.
23118         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
23119         strcasestr-nonascii.c.
23120         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
23122 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
23124         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
23125         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
23126         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
23127         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
23129 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
23131         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
23132         fcntl.
23134 2010-07-06  Andreas Schwab  <schwab@redhat.com>
23136         [BZ #11577]
23137         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
23138         dl_signal_cerror.
23140 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
23142         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
23143         _PC_PIPE_BUF using F_GETPIPE_SZ.
23145 2010-07-05  Roland McGrath  <roland@redhat.com>
23147         * manual/arith.texi (Rounding Functions): Fix rint description
23148         implicit in round description.
23150 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
23152         * elf/Makefile: Fix linking for a few tests to make recent linker
23153         happy.
23155 2010-06-30  Andreas Schwab  <schwab@redhat.com>
23157         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23158         $(common-objpfx)libc_nonshared.a.
23160 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
23162         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
23163         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
23164         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23165         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23166         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
23167         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
23168         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23169         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
23171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
23172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
23173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
23175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
23177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
23178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
23179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
23180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
23182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
23184         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
23185         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
23186         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
23187         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
23188         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
23189         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
23190         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
23191         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
23192         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
23193         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
23194         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
23195         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
23196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
23197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
23198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
23199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
23200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
23201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
23202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
23203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
23204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
23205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
23206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
23207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
23208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
23209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
23211 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
23213         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
23214         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
23215         * string/memmove.c (memmove): Renamed to ...
23216         (MEMMOVE): ...this.  Default to memmove.
23217         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
23218         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
23219         (END_CHK): Define.
23220         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23221         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
23222         mempcpy-ssse3-back memmove-ssse3-back.
23223         * sysdeps/x86_64/multiarch/bcopy.S: New file .
23224         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
23225         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
23226         * sysdeps/x86_64/multiarch/memcpy.S: New file.
23227         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
23228         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
23229         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
23230         * sysdeps/x86_64/multiarch/memmove.c: New file.
23231         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
23232         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
23233         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
23234         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
23235         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
23236         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
23237         Define.
23238         (index_Fast_Copy_Backward): Define.
23239         (HAS_ARCH_FEATURE): Define.
23240         (HAS_FAST_REP_STRING): Define.
23241         (HAS_FAST_COPY_BACKWARD): Define.
23243 2010-06-21  Andreas Schwab  <schwab@redhat.com>
23245         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23246         Restore proper fallback handling.
23248 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
23250         [BZ #11701]
23251         * posix/group_member.c (__group_member): Correct checking loop.
23253         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
23254         OOM in getpwuid_r correctly.  Return error number when the caller
23255         should return, otherwise -1.
23256         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
23257         call returning > 0 value.
23258         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
23260 2010-06-07  Andreas Schwab  <schwab@redhat.com>
23262         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
23263         libc_nonshared.a from targets in modules-names.
23265 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
23267         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
23268         requires it.
23270 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
23272         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
23273         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
23274         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
23275         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
23277 2010-06-02  Andreas Schwab  <schwab@redhat.com>
23279         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
23281 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
23283         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
23284         and F_GETPIPE_SZ.
23285         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23286         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23287         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23288         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23289         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23290         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
23292 2010-06-14  Roland McGrath  <roland@redhat.com>
23294         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
23296 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
23298         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
23299         __REDIRECT followed by __THROW.
23300         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
23301         * posix/getopt.h (getopt): Likewise.
23303 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
23305         * hurd/lookup-at.c (__file_name_lookup_at): Accept
23306         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
23307         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
23308         in AT_FLAGS.
23309         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
23310         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
23312 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
23314         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
23316 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
23318         [BZ #11640]
23319         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23320         Properly check family and model.
23322 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
23324         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
23326 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
23328         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
23330 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
23332         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
23333         symbol reference.
23335 2010-05-19  Andreas Schwab  <schwab@redhat.com>
23337         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
23338         symbol reference.
23340 2010-05-21  Andreas Schwab  <schwab@redhat.com>
23342         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
23343         and internal_recvmmsg.
23344         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
23345         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
23346         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
23347         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
23349         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
23350         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23351         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23353 2010-05-20  Andreas Schwab  <schwab@redhat.com>
23355         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
23357 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
23359         POWER7 optimizations.
23360         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
23361         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
23363 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
23365         * version.h: Update for 2.13 development version.
23367 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
23369         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
23370         exceptions.  Return 0.
23372 2010-05-07  Roland McGrath  <roland@redhat.com>
23374         * elf/ldconfig.c (main): Add a const.
23376 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
23378         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
23379         (args_options): Add no-idn option.
23380         (ahosts_keys_int): Add idn_flags to ai_flags.
23381         (parse_option): Handle 'i' option to clear idn_flags.
23383         * malloc/malloc.c (_int_free): Possible race in the most recently
23384         added check.  Only act on the data if no current modification
23385         happened.
23387 See ChangeLog.17 for earlier changes.